Skip to content

Commit 19c6ae3

Browse files
committed
Set port_id for Verific bus ports
1 parent 37875fd commit 19c6ae3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontends/verific/verific.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,6 +1570,7 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::ma
15701570
RTLIL::Wire *wire = module->addWire(RTLIL::escape_id(portbus->Name()), portbus->Size());
15711571
wire->start_offset = min(portbus->LeftIndex(), portbus->RightIndex());
15721572
wire->upto = portbus->IsUp();
1573+
wire->port_id = nl->IndexOf(portbus) + 1;
15731574
import_attributes(wire->attributes, portbus, nl, portbus->Size());
15741575
if (portbus->Size() == 1)
15751576
wire->set_bool_attribute(ID::single_bit_vector);

0 commit comments

Comments
 (0)