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.adb5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/synth/netlists-disp_vhdl.adb b/src/synth/netlists-disp_vhdl.adb
index 0b2eb9110..82f8abfc7 100644
--- a/src/synth/netlists-disp_vhdl.adb
+++ b/src/synth/netlists-disp_vhdl.adb
@@ -1056,7 +1056,10 @@ package body Netlists.Disp_Vhdl is
" if \ei0 then" & NL &
" \o0 <= \i1;" & NL &
" end if;" & NL &
- " end process;" & NL, Inst);
+ " end process;" & NL, Inst);
+ when Id_Dlatch =>
+ Disp_Template
+ (" \o0 <= \i0 when \fi1 = '1' else \o0;" & NL, Inst);
when Id_Mux2 =>
Disp_Template
(" \o0 <= \i1 when \fi0 = '0' else \i2;" & NL, Inst);