aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-disp_verilog.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/netlists-disp_verilog.adb')
-rw-r--r--src/synth/netlists-disp_verilog.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/netlists-disp_verilog.adb b/src/synth/netlists-disp_verilog.adb
index 8eb76d332..b2461bf2f 100644
--- a/src/synth/netlists-disp_verilog.adb
+++ b/src/synth/netlists-disp_verilog.adb
@@ -1150,7 +1150,8 @@ package body Netlists.Disp_Verilog is
and then Id in Edge_Module_Id
and then not Need_Edge (Inst))
or else (not Flag_Null_Wires
- or else Get_Width (Get_Output (Inst, 0)) = 0)
+ and then Get_Nbr_Outputs (Inst) = 1
+ and then Get_Width (Get_Output (Inst, 0)) = 0)
then
-- Not displayed.
null;