From 42a6039733c0bd897d5b8d185704e8aee2e14e41 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 4 Oct 2019 20:09:45 +0200 Subject: netlists-disp_vhdl: handle id_neg --- src/synth/netlists-disp_vhdl.adb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); -- cgit v1.2.3