aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-gates.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-01-01 18:05:00 +0100
committerTristan Gingold <tgingold@free.fr>2021-01-01 18:05:00 +0100
commite84f35edb1c36d07a15f8f15873b4990b55d9aaf (patch)
tree6476b548c6bf2311fa2b0a704196341e3ab90c54 /src/synth/netlists-gates.ads
parent28a81b3a60952607c03191b8f71e11588047c721 (diff)
downloadghdl-e84f35edb1c36d07a15f8f15873b4990b55d9aaf.tar.gz
ghdl-e84f35edb1c36d07a15f8f15873b4990b55d9aaf.tar.bz2
ghdl-e84f35edb1c36d07a15f8f15873b4990b55d9aaf.zip
netlists-inference: handle multiple dff with the same clock. Fix #1563
Diffstat (limited to 'src/synth/netlists-gates.ads')
-rw-r--r--src/synth/netlists-gates.ads2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/netlists-gates.ads b/src/synth/netlists-gates.ads
index 4acf9f6b4..c20cddf74 100644
--- a/src/synth/netlists-gates.ads
+++ b/src/synth/netlists-gates.ads
@@ -186,6 +186,8 @@ package Netlists.Gates is
-- Output: 0: Q
Id_Iadff : constant Module_Id := 67;
+ subtype Dff_Module_Id is Module_Id range Id_Dff .. Id_Iadff;
+
-- Multi clock dff. ELSE is the output of the next DFF.
-- Inputs: 0: CLK
-- 1: D