diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-08-26 19:15:25 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-08-26 19:15:25 +0200 |
commit | df6bad81d527e42c1201244e812ab238f510d7d7 (patch) | |
tree | 6f2c6faa52dd4895042d1336ef2b8ab977b14218 /src | |
parent | f37008ca4cccf44c77a72dd6602fd389e488d95a (diff) | |
download | ghdl-df6bad81d527e42c1201244e812ab238f510d7d7.tar.gz ghdl-df6bad81d527e42c1201244e812ab238f510d7d7.tar.bz2 ghdl-df6bad81d527e42c1201244e812ab238f510d7d7.zip |
netlists-disp_verilog: fix handling of unconnected port
Diffstat (limited to 'src')
-rw-r--r-- | src/synth/netlists-disp_verilog.adb | 4 |
1 files changed, 1 insertions, 3 deletions
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; |