aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-disp_vhdl.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/netlists-disp_vhdl.adb')
-rw-r--r--src/synth/netlists-disp_vhdl.adb6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/synth/netlists-disp_vhdl.adb b/src/synth/netlists-disp_vhdl.adb
index 139b2c0d0..5525d54ee 100644
--- a/src/synth/netlists-disp_vhdl.adb
+++ b/src/synth/netlists-disp_vhdl.adb
@@ -480,6 +480,9 @@ package body Netlists.Disp_Vhdl is
Disp_Binary_Lit (Get_Param_Uns32 (Inst, 0),
Get_Param_Uns32 (Inst, 1),
Get_Width (O));
+ when Id_Const_Z =>
+ Disp_Template ("(\n0 downto 0 => 'Z')",
+ Inst, (0 => Get_Width (O) - 1));
when others =>
raise Internal_Error;
end case;
@@ -550,7 +553,8 @@ package body Netlists.Disp_Vhdl is
Inst, (0 => Iw - 1));
end;
when Id_Const_UB32
- | Id_Const_UL32 =>
+ | Id_Const_UL32
+ | Id_Const_Z =>
Disp_Template (" \o0 <= ", Inst);
Disp_Constant_Inline (Inst);
Put_Line (";");