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,7 +185,6 @@ 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()) {
|
||||||
|
|
@ -201,10 +200,8 @@ struct IcellLiberty : Pass {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (liberty_file) {
|
|
||||||
stubber.liberty_suffix(*liberty_file);
|
stubber.liberty_suffix(*liberty_file);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
} IcellLiberty;
|
} IcellLiberty;
|
||||||
|
|
||||||
PRIVATE_NAMESPACE_END
|
PRIVATE_NAMESPACE_END
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue