Update frontends/verific/verific.cc

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Akash Levy 2026-04-30 14:15:25 -07:00 committed by GitHub
parent 4d110a96bf
commit 89a8250ae8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -2823,7 +2823,12 @@ struct VerificExtNets
Net *new_net = new Net(name.c_str());
nl->Add(new_net);
if (!port->IsInput())
if (port->IsInput())
log_warning("Localizing external package/global net reference '%s.%s' on %s.%s; "
"reads from the package/global object will return an undriven (floating) value.\n",
get_full_netlist_name(net->Owner()).c_str(), net->Name(),
get_full_netlist_name(nl).c_str(), port->Name());
else
log_warning("Localizing external package/global net reference '%s.%s' on %s.%s; "
"writes to the package/global object are not propagated.\n",
get_full_netlist_name(net->Owner()).c_str(), net->Name(),