mirror of https://github.com/YosysHQ/yosys.git
respect noblackbox attribute in verific
This commit is contained in:
parent
5d893c4b03
commit
b867dee241
|
@ -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…
Reference in New Issue