mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 17:44:09 +00:00
Merge pull request #3262 from YosysHQ/micko/verific_hiernet
Preserve internal wires for external nets
This commit is contained in:
commit
2ec4af56e6
|
@ -2041,7 +2041,7 @@ struct VerificExtNets
|
||||||
string name = stringf("___extnets_%d", portname_cnt++);
|
string name = stringf("___extnets_%d", portname_cnt++);
|
||||||
Port *new_port = new Port(name.c_str(), drive_up ? DIR_OUT : DIR_IN);
|
Port *new_port = new Port(name.c_str(), drive_up ? DIR_OUT : DIR_IN);
|
||||||
nl->Add(new_port);
|
nl->Add(new_port);
|
||||||
net->Connect(new_port);
|
nl->Buf(net)->Connect(new_port);
|
||||||
|
|
||||||
// create new Net in up Netlist
|
// create new Net in up Netlist
|
||||||
Net *new_net = final_net;
|
Net *new_net = final_net;
|
||||||
|
|
Loading…
Reference in a new issue