diff options
Diffstat (limited to 'src/synth/synth-types.ads')
-rw-r--r-- | src/synth/synth-types.ads | 7 |
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; |