mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-22 13:41:27 +00:00
icell_liberty: simplify
This commit is contained in:
parent
6846168db3
commit
9a5465bc83
1 changed files with 2 additions and 5 deletions
|
|
@ -185,8 +185,7 @@ struct IcellLiberty : Pass {
|
||||||
pool<RTLIL::IdString> done;
|
pool<RTLIL::IdString> done;
|
||||||
LibertyStubber stubber = {};
|
LibertyStubber stubber = {};
|
||||||
|
|
||||||
if (liberty_file)
|
stubber.liberty_prefix(*liberty_file);
|
||||||
stubber.liberty_prefix(*liberty_file);
|
|
||||||
|
|
||||||
for (auto module : d->selected_modules()) {
|
for (auto module : d->selected_modules()) {
|
||||||
for (auto cell : module->selected_cells()) {
|
for (auto cell : module->selected_cells()) {
|
||||||
|
|
@ -201,9 +200,7 @@ struct IcellLiberty : Pass {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (liberty_file) {
|
stubber.liberty_suffix(*liberty_file);
|
||||||
stubber.liberty_suffix(*liberty_file);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} IcellLiberty;
|
} IcellLiberty;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue