From 9343f9eaf79e405c7876361e9e456b796eb3ea56 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 4 Sep 2019 20:09:17 +0200 Subject: synth: handle const_bit in disp_constant_inline. --- src/synth/netlists-disp_vhdl.adb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/synth') diff --git a/src/synth/netlists-disp_vhdl.adb b/src/synth/netlists-disp_vhdl.adb index 4d0780d3c..e131469d5 100644 --- a/src/synth/netlists-disp_vhdl.adb +++ b/src/synth/netlists-disp_vhdl.adb @@ -499,6 +499,10 @@ package body Netlists.Disp_Vhdl is when Id_Const_Z => Disp_Template ("(\n0 downto 0 => 'Z')", Inst, (0 => Get_Width (O) - 1)); + when Id_Const_Bit => + Disp_Const_Bit (Inst); + when Id_Const_Log => + raise Internal_Error; when others => raise Internal_Error; end case; -- cgit v1.2.3