aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-08-30 04:16:46 +0200
committerTristan Gingold <tgingold@free.fr>2019-08-30 04:16:46 +0200
commitd159fdfb9bc4491a73c534d480fc7d2061a426dc (patch)
treee27511f4b63be0b2ad5219f11166667390e8dd27 /src/synth
parentebbd18fca4fd5b3dd2583271392f2a53911712a9 (diff)
downloadghdl-d159fdfb9bc4491a73c534d480fc7d2061a426dc.tar.gz
ghdl-d159fdfb9bc4491a73c534d480fc7d2061a426dc.tar.bz2
ghdl-d159fdfb9bc4491a73c534d480fc7d2061a426dc.zip
synth: remove unused const gates.
Diffstat (limited to 'src/synth')
-rw-r--r--src/synth/ghdlsynth_gates.h9
-rw-r--r--src/synth/netlists-gates.ads9
2 files changed, 5 insertions, 13 deletions
diff --git a/src/synth/ghdlsynth_gates.h b/src/synth/ghdlsynth_gates.h
index a8dfe2a7f..bef7a7d97 100644
--- a/src/synth/ghdlsynth_gates.h
+++ b/src/synth/ghdlsynth_gates.h
@@ -1,4 +1,5 @@
-/* This file is automatically generated by build_header.sh - DO NOT MODIFY */
+/* DO NOT MODIFY
+ This file is automatically generated by Makefile. */
enum Module_Id {
Id_None = 0,
Id_Free = 1,
@@ -57,12 +58,8 @@ enum Module_Id {
Id_Assume = 57,
Id_Const_UB32 = 64,
Id_Const_UL32 = 70,
- Id_Const_SB32 = 65,
Id_Const_UB64 = 66,
- Id_Const_SB64 = 67,
- Id_Const_UB128 = 68,
- Id_Const_SB128 = 69,
- Id_Const_SL32 = 71,
+ Id_Const_UL64 = 67,
Id_Const_Z = 72,
Id_Const_0 = 73,
Id_Const_Bit = 74,
diff --git a/src/synth/netlists-gates.ads b/src/synth/netlists-gates.ads
index 649503796..da72811e0 100644
--- a/src/synth/netlists-gates.ads
+++ b/src/synth/netlists-gates.ads
@@ -144,16 +144,11 @@ package Netlists.Gates is
-- Constants are gates with only one constant output. There are multiple
-- kind of constant gates: for small width, the value is stored as a
- -- parameter, possibly signed or unsigned extended. For large width
- -- (> 128), the value is stored in a table.
+ -- parameter, possibly signed or unsigned extended.
Id_Const_UB32 : constant Module_Id := 64;
Id_Const_UL32 : constant Module_Id := 70;
- Id_Const_SB32 : constant Module_Id := 65;
Id_Const_UB64 : constant Module_Id := 66;
- Id_Const_SB64 : constant Module_Id := 67;
- Id_Const_UB128 : constant Module_Id := 68;
- Id_Const_SB128 : constant Module_Id := 69;
- Id_Const_SL32 : constant Module_Id := 71;
+ Id_Const_UL64 : constant Module_Id := 67;
Id_Const_Z : constant Module_Id := 72;
Id_Const_0 : constant Module_Id := 73;