mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #2192 from YosysHQ/verific_netbus_attr
verific - import attributes for net buses
This commit is contained in:
commit
7d795d6fc7
|
@ -1109,7 +1109,11 @@ 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);
|
||||
break;
|
||||
}
|
||||
|
||||
RTLIL::Const initval = Const(State::Sx, GetSize(wire));
|
||||
bool initval_valid = false;
|
||||
|
|
Loading…
Reference in New Issue