aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-types.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-26 04:32:07 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-26 04:32:07 +0200
commit2075f8cf5995bc83a8edc07456331b5b0f5b6be1 (patch)
tree114477245057faf8957c9790b18c61d78f62605e /src/synth/synth-types.ads
parent1aa373bd730caa2a558cc02f3f6a0fb269316a16 (diff)
downloadghdl-2075f8cf5995bc83a8edc07456331b5b0f5b6be1.tar.gz
ghdl-2075f8cf5995bc83a8edc07456331b5b0f5b6be1.tar.bz2
ghdl-2075f8cf5995bc83a8edc07456331b5b0f5b6be1.zip
synth: preliminary support of integer subtypes.
Diffstat (limited to 'src/synth/synth-types.ads')
-rw-r--r--src/synth/synth-types.ads7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/synth/synth-types.ads b/src/synth/synth-types.ads
index 15b12767d..e82ece9bd 100644
--- a/src/synth/synth-types.ads
+++ b/src/synth/synth-types.ads
@@ -19,7 +19,7 @@
-- MA 02110-1301, USA.
with Netlists; use Netlists;
-with Synth.Context; use Synth.Context;
+with Synth.Values; use Synth.Values;
with Vhdl.Nodes; use Vhdl.Nodes;
package Synth.Types is
@@ -28,6 +28,7 @@ package Synth.Types is
function Is_Vector_Type (Atype : Node) return Boolean;
- function Get_Width (Syn_Inst : Synth_Instance_Acc; Atype : Node)
- return Width;
+ -- Number of bits for RNG.
+ function Get_Range_Width (Rng : Value_Range_Type) return Width;
+
end Synth.Types;