aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-gates.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-02 04:34:01 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-02 04:34:01 +0200
commit82bb81caf07783f3b7d11276f971a7acb2e86fc3 (patch)
treed37d866d09ad188d3acb2c66a68ea2159a809f84 /src/synth/netlists-gates.ads
parent8cd28ef3318a735820aeac438e21f66bc3784694 (diff)
downloadghdl-82bb81caf07783f3b7d11276f971a7acb2e86fc3.tar.gz
ghdl-82bb81caf07783f3b7d11276f971a7acb2e86fc3.tar.bz2
ghdl-82bb81caf07783f3b7d11276f971a7acb2e86fc3.zip
netlists-disp_vhdl: handle Const_Log, add comments, fix assertion.
Diffstat (limited to 'src/synth/netlists-gates.ads')
-rw-r--r--src/synth/netlists-gates.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/netlists-gates.ads b/src/synth/netlists-gates.ads
index 9e9260808..1379c038d 100644
--- a/src/synth/netlists-gates.ads
+++ b/src/synth/netlists-gates.ads
@@ -179,6 +179,9 @@ package Netlists.Gates is
pragma Unreferenced (Id_Const_UB64, Id_Const_UL64);
-- Large width.
+ -- For Const_Bit: param N is for bits 32*N .. 32*N+31
+ -- For Const_Log: param 2*N is for 0/1 of bits 32*N .. 32*N+31
+ -- param 2*N+1 is for Z/X of bits 32*N .. 32*N+31
Id_Const_Bit : constant Module_Id := 104;
Id_Const_Log : constant Module_Id := 105;