verific - import attributes for net buses as well

This commit is contained in:
Miodrag Milanovic 2020-06-24 11:01:06 +02:00
parent 0835a86e30
commit f993d18755
1 changed files with 4 additions and 1 deletions

View File

@ -1109,7 +1109,10 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::se
RTLIL::Wire *wire = module->addWire(wire_name, netbus->Size());
wire->start_offset = min(netbus->LeftIndex(), netbus->RightIndex());
import_attributes(wire->attributes, netbus, nl);
MapIter mibus;
FOREACH_NET_OF_NETBUS(netbus, mibus, net) {
import_attributes(wire->attributes, net, nl);
}
RTLIL::Const initval = Const(State::Sx, GetSize(wire));
bool initval_valid = false;