aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-gates.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-07-12 08:03:53 +0200
committerTristan Gingold <tgingold@free.fr>2022-07-12 21:00:03 +0200
commit9e6785615586ef208c5643e4bd8880aacf98fe99 (patch)
treeb5199e93c2317edf4fd8cf4f6423defab5648339 /src/synth/netlists-gates.ads
parent1541c5d742f5860dfff92c12de11415b94ee0709 (diff)
downloadghdl-9e6785615586ef208c5643e4bd8880aacf98fe99.tar.gz
ghdl-9e6785615586ef208c5643e4bd8880aacf98fe99.tar.bz2
ghdl-9e6785615586ef208c5643e4bd8880aacf98fe99.zip
netlists: add d-latch
Diffstat (limited to 'src/synth/netlists-gates.ads')
-rw-r--r--src/synth/netlists-gates.ads7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/synth/netlists-gates.ads b/src/synth/netlists-gates.ads
index 305bd5158..5f09ccafa 100644
--- a/src/synth/netlists-gates.ads
+++ b/src/synth/netlists-gates.ads
@@ -201,8 +201,11 @@ package Netlists.Gates is
-- Output: 0: Q
Id_Midff : constant Module_Id := 69;
- -- Reserved.
- Id_Latch : constant Module_Id := 70;
+ -- Gated D Latch
+ -- Inputs: 0: D
+ -- 1: EN
+ -- Outputs: 0: Q
+ Id_Dlatch : constant Module_Id := 70;
-- Tri state buffer.
-- Inputs: 0: D