aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-gates.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-02-17 18:37:09 +0100
committerTristan Gingold <tgingold@free.fr>2020-02-17 18:37:09 +0100
commit5b9ccf680b139a94bd164bd0fba57b1e4a5535d3 (patch)
tree8acf2ea3071bbd873c358f5a51752d6d229de358 /src/synth/netlists-gates.ads
parent4284956d63b11db7e6b003f9c5ca81ea6eb234ff (diff)
downloadghdl-5b9ccf680b139a94bd164bd0fba57b1e4a5535d3.tar.gz
ghdl-5b9ccf680b139a94bd164bd0fba57b1e4a5535d3.tar.bz2
ghdl-5b9ccf680b139a94bd164bd0fba57b1e4a5535d3.zip
synth: add mdff.
Diffstat (limited to 'src/synth/netlists-gates.ads')
-rw-r--r--src/synth/netlists-gates.ads8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/synth/netlists-gates.ads b/src/synth/netlists-gates.ads
index bb5e64204..848c7a10f 100644
--- a/src/synth/netlists-gates.ads
+++ b/src/synth/netlists-gates.ads
@@ -141,6 +141,7 @@ package Netlists.Gates is
-- 2: INIT (initial value)
-- Output: 0: Q
Id_Idff : constant Module_Id := 52;
+
-- A DFF with an asynchronous reset and an initial value.
-- Inputs: 0: CLK
-- 1: D
@@ -150,6 +151,13 @@ package Netlists.Gates is
-- Output: 0: Q
Id_Iadff : constant Module_Id := 53;
+ -- Multi clock dff. ELSE is the output of the next DFF.
+ -- Inputs: 0: CLK
+ -- 1: D
+ -- 2: ELSE
+ -- Output: 0: Q
+ Id_Mdff : constant Module_Id := 54;
+
-- Width change: truncate or extend. Sign is know in order to possibly
-- detect loss of value.
Id_Utrunc : constant Module_Id := 64;