mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
cutpoint: Add $scopeinfo cell
Also adds "blackbox" as a valid TYPE.
This commit is contained in:
parent
583771ef5b
commit
ca57df8927
2 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue