3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-22 13:41:27 +00:00

icell_liberty: simplify

This commit is contained in:
Emil J. Tywoniak 2025-11-14 13:37:19 +01:00
parent 6846168db3
commit 9a5465bc83

View file

@ -185,7 +185,6 @@ struct IcellLiberty : Pass {
pool<RTLIL::IdString> done;
LibertyStubber stubber = {};
if (liberty_file)
stubber.liberty_prefix(*liberty_file);
for (auto module : d->selected_modules()) {
@ -201,10 +200,8 @@ struct IcellLiberty : Pass {
}
}
if (liberty_file) {
stubber.liberty_suffix(*liberty_file);
}
}
} IcellLiberty;
PRIVATE_NAMESPACE_END