aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/verific
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2022-04-01 12:07:15 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2022-04-01 12:07:15 +0200
commit1a1f529099d7108e26e5598b1879b2b8183e4ec7 (patch)
treebb15a933fc7636a616f7fd98edf94e663e682225 /frontends/verific
parent2b115d858da8839d2182f12b7cb076c9143cf0e6 (diff)
downloadyosys-1a1f529099d7108e26e5598b1879b2b8183e4ec7.tar.gz
yosys-1a1f529099d7108e26e5598b1879b2b8183e4ec7.tar.bz2
yosys-1a1f529099d7108e26e5598b1879b2b8183e4ec7.zip
Preserve internal wires for external nets
Diffstat (limited to 'frontends/verific')
-rw-r--r--frontends/verific/verific.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verific/verific.cc b/frontends/verific/verific.cc
index b30a5baa0..44196a310 100644
--- a/frontends/verific/verific.cc
+++ b/frontends/verific/verific.cc
@@ -2041,7 +2041,7 @@ struct VerificExtNets
string name = stringf("___extnets_%d", portname_cnt++);
Port *new_port = new Port(name.c_str(), drive_up ? DIR_OUT : DIR_IN);
nl->Add(new_port);
- net->Connect(new_port);
+ nl->Buf(net)->Connect(new_port);
// create new Net in up Netlist
Net *new_net = final_net;