cutpoint: Add $scopeinfo cell
Also adds "blackbox" as a valid TYPE.
This commit is contained in:
@@ -90,6 +90,8 @@ struct CutpointPass : public Pass {
|
||||
if (module->get_blackbox_attribute()) {
|
||||
module->set_bool_attribute(ID::blackbox, false);
|
||||
module->set_bool_attribute(ID::whitebox, false);
|
||||
auto scopeinfo = module->addCell(NEW_ID, ID($scopeinfo));
|
||||
scopeinfo->setParam(ID::TYPE, RTLIL::Const("blackbox"));
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user