mirror of https://github.com/YosysHQ/yosys.git
abc9_ops -prep_dff cope with lack of holes module
This commit is contained in:
parent
a367f703ea
commit
f1bf44ae8f
|
@ -137,8 +137,7 @@ void prep_dff(RTLIL::Module *module)
|
|||
}
|
||||
|
||||
RTLIL::Module *holes_module = design->module(stringf("%s$holes", module->name.c_str()));
|
||||
log_assert(holes_module);
|
||||
|
||||
if (holes_module) {
|
||||
dict<SigSig, SigSig> replace;
|
||||
for (auto it = holes_module->cells_.begin(); it != holes_module->cells_.end(); ) {
|
||||
auto cell = it->second;
|
||||
|
@ -180,6 +179,7 @@ void prep_dff(RTLIL::Module *module)
|
|||
conn = it->second;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void prep_holes(RTLIL::Module *module)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue