mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-09 23:53:26 +00:00
Merge pull request #3588 from YosysHQ/noblackbox
respect noblackbox attribute in verific
This commit is contained in:
commit
76de4455e6
1 changed files with 6 additions and 0 deletions
|
@ -1125,6 +1125,12 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::ma
|
||||||
NetBus *netbus;
|
NetBus *netbus;
|
||||||
Instance *inst;
|
Instance *inst;
|
||||||
PortRef *pr;
|
PortRef *pr;
|
||||||
|
Att *attr;
|
||||||
|
|
||||||
|
FOREACH_ATTRIBUTE(nl, mi, attr) {
|
||||||
|
if (!strcmp(attr->Key(), "noblackbox"))
|
||||||
|
module->set_bool_attribute(ID::blackbox, false);
|
||||||
|
}
|
||||||
|
|
||||||
FOREACH_PORT_OF_NETLIST(nl, mi, port)
|
FOREACH_PORT_OF_NETLIST(nl, mi, port)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue