From df6bad81d527e42c1201244e812ab238f510d7d7 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 26 Aug 2021 19:15:25 +0200 Subject: netlists-disp_verilog: fix handling of unconnected port --- src/synth/netlists-disp_verilog.adb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/synth/netlists-disp_verilog.adb b/src/synth/netlists-disp_verilog.adb index 26c511480..28d473a89 100644 --- a/src/synth/netlists-disp_verilog.adb +++ b/src/synth/netlists-disp_verilog.adb @@ -236,9 +236,7 @@ package body Netlists.Disp_Verilog is I : Input; begin I := Get_First_Sink (O); - if I = No_Input then - Put ("open"); - else + if I /= No_Input then Disp_Net_Name (O); end if; end; -- cgit v1.2.3