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 6685d71ae..ee9bf13f0 100644
--- a/src/synth/netlists-disp_vhdl.adb
+++ b/src/synth/netlists-disp_vhdl.adb
@@ -499,6 +499,9 @@ 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_X =>
+ Disp_Template ("(\n0 downto 0 => 'X')",
+ Inst, (0 => Get_Width (O) - 1));
when Id_Const_Bit =>
Disp_Const_Bit (Inst);
when Id_Const_Log =>
@@ -605,7 +608,8 @@ package body Netlists.Disp_Vhdl is
end;
when Id_Const_UB32
| Id_Const_UL32
- | Id_Const_Z =>
+ | Id_Const_Z
+ | Id_Const_X =>
Disp_Template (" \o0 <= ", Inst);
Disp_Constant_Inline (Inst);
Put_Line (";");