From 1a1f529099d7108e26e5598b1879b2b8183e4ec7 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 1 Apr 2022 12:07:15 +0200 Subject: [PATCH] Preserve internal wires for external nets --- frontends/verific/verific.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2