aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-gates.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-07 16:35:53 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-07 16:35:53 +0200
commitcb3468002497ab2090bef31d559e2eaf4747b90a (patch)
treed4849b2d661408cd154ca98e7cb36c6aa95e7f5e /src/synth/netlists-gates.ads
parent1c29fa09e1f71e7fb389f451afab3bd2fb1264ab (diff)
downloadghdl-cb3468002497ab2090bef31d559e2eaf4747b90a.tar.gz
ghdl-cb3468002497ab2090bef31d559e2eaf4747b90a.tar.bz2
ghdl-cb3468002497ab2090bef31d559e2eaf4747b90a.zip
synth: add const_sb32, add smul/umul.
Diffstat (limited to 'src/synth/netlists-gates.ads')
-rw-r--r--src/synth/netlists-gates.ads6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/synth/netlists-gates.ads b/src/synth/netlists-gates.ads
index 57f2fd500..162ef0a6f 100644
--- a/src/synth/netlists-gates.ads
+++ b/src/synth/netlists-gates.ads
@@ -29,9 +29,10 @@ package Netlists.Gates is
Id_Add : constant Module_Id := 9;
Id_Sub : constant Module_Id := 10;
- Id_Mul : constant Module_Id := 11;
+ Id_Umul : constant Module_Id := 11;
+ Id_Smul : constant Module_Id := 12;
- subtype Dyadic_Module_Id is Module_Id range Id_And .. Id_Mul;
+ subtype Dyadic_Module_Id is Module_Id range Id_And .. Id_Smul;
Id_Buf : constant Module_Id := 13;
Id_Not : constant Module_Id := 14;
@@ -139,6 +140,7 @@ package Netlists.Gates is
-- kind of constant gates: for small width, the value is stored as a
-- parameter, possibly signed or unsigned extended.
Id_Const_UB32 : constant Module_Id := 64;
+ Id_Const_SB32 : constant Module_Id := 65;
Id_Const_UL32 : constant Module_Id := 70;
Id_Const_UB64 : constant Module_Id := 66;
Id_Const_UL64 : constant Module_Id := 67;