mirror of https://github.com/YosysHQ/yosys.git
verific - import attributes for net buses as well
This commit is contained in:
parent
0835a86e30
commit
f993d18755
|
@ -1109,7 +1109,10 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::se
|
||||||
|
|
||||||
RTLIL::Wire *wire = module->addWire(wire_name, netbus->Size());
|
RTLIL::Wire *wire = module->addWire(wire_name, netbus->Size());
|
||||||
wire->start_offset = min(netbus->LeftIndex(), netbus->RightIndex());
|
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));
|
RTLIL::Const initval = Const(State::Sx, GetSize(wire));
|
||||||
bool initval_valid = false;
|
bool initval_valid = false;
|
||||||
|
|
Loading…
Reference in New Issue