aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-gates.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-21 16:18:53 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-21 16:18:53 +0200
commitc1a00497e2357f5518c7f89c682dc6f25cd48101 (patch)
tree31b653cc3393e5501f7499dd8494be49ba0f7ddf /src/synth/netlists-gates.ads
parentace42254549d3d47cdb897e95c45cbb3ff966da0 (diff)
downloadghdl-c1a00497e2357f5518c7f89c682dc6f25cd48101.tar.gz
ghdl-c1a00497e2357f5518c7f89c682dc6f25cd48101.tar.bz2
ghdl-c1a00497e2357f5518c7f89c682dc6f25cd48101.zip
synth: use constant for constant values.
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 7f3012063..e1de55289 100644
--- a/src/synth/netlists-gates.ads
+++ b/src/synth/netlists-gates.ads
@@ -169,5 +169,7 @@ package Netlists.Gates is
Id_Const_Bit : constant Module_Id := 104;
Id_Const_Log : constant Module_Id := 105;
+ subtype Constant_Module_Id is Module_Id range Id_Const_UB32 .. Id_Const_Log;
+
-- Id 128 is the first user id.
end Netlists.Gates;