Skip to content

Commit

Permalink
verific - import attributes for net buses as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Jun 24, 2020
1 parent 0835a86 commit f993d18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontends/verific/verific.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f993d18

Please sign in to comment.