aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-disp_vhdl.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-04 20:09:45 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-04 20:09:45 +0200
commit42a6039733c0bd897d5b8d185704e8aee2e14e41 (patch)
tree0705cfa5729bc33751d23a9c2d3fe381ad12e7a7 /src/synth/netlists-disp_vhdl.adb
parent42ae82d6cb7f7850dc6487cf8908a5d2af6d3c67 (diff)
downloadghdl-42a6039733c0bd897d5b8d185704e8aee2e14e41.tar.gz
ghdl-42a6039733c0bd897d5b8d185704e8aee2e14e41.tar.bz2
ghdl-42a6039733c0bd897d5b8d185704e8aee2e14e41.zip
netlists-disp_vhdl: handle id_neg
Diffstat (limited to 'src/synth/netlists-disp_vhdl.adb')
-rw-r--r--src/synth/netlists-disp_vhdl.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/netlists-disp_vhdl.adb b/src/synth/netlists-disp_vhdl.adb
index 883f181cf..9464eba5d 100644
--- a/src/synth/netlists-disp_vhdl.adb
+++ b/src/synth/netlists-disp_vhdl.adb
@@ -582,6 +582,8 @@ package body Netlists.Disp_Vhdl is
null;
when Id_Not =>
Disp_Template (" \o0 <= not \i0;" & NL, Inst);
+ when Id_Neg =>
+ Disp_Template (" \o0 <= std_logic_vector(-\si0);" & NL, Inst);
when Id_Extract =>
Disp_Template (" \o0 <= ", Inst);
Disp_Extract (Inst);