aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/synth/netlists-disp_vhdl.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/netlists-disp_vhdl.adb b/src/synth/netlists-disp_vhdl.adb
index 6e12f4876..6e2628384 100644
--- a/src/synth/netlists-disp_vhdl.adb
+++ b/src/synth/netlists-disp_vhdl.adb
@@ -773,6 +773,9 @@ package body Netlists.Disp_Vhdl is
(" \o0 <= \i1; -- reduce and" & NL, Inst);
end if;
end;
+ when Id_Edge =>
+ Disp_Template
+ (" \o0 <= '1' when rising_edge (\i0) else '0';" & NL, Inst);
when Id_Assert =>
Disp_Template
(" \l0: assert \i0 = '1' severity error;" & NL, Inst);