diff --git a/net_link.cc b/net_link.cc index 2ed0588b1..0d99acd90 100644 --- a/net_link.cc +++ b/net_link.cc @@ -278,7 +278,7 @@ bool Nexus::assign_lval() const if (net == 0) continue; - if (net->peek_lref()) + if (net->peek_lref() > 0) return true; } diff --git a/scripts/devel-stub.conf b/scripts/devel-stub.conf index 01009dc3d..5982f4988 100644 --- a/scripts/devel-stub.conf +++ b/scripts/devel-stub.conf @@ -20,6 +20,7 @@ debug:elaborate debug:elab_pexpr debug:scopes debug:synth2 +debug:optimizer out:a.out ivlpp:./ivlpp/ivlpp -D__ICARUS__ -L -Pfoo.pp sys_func:scripts/devel-stub.sft