diff options
Diffstat (limited to 'src/synth/synth-expr.ads')
-rw-r--r-- | src/synth/synth-expr.ads | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/synth/synth-expr.ads b/src/synth/synth-expr.ads index 9292ab105..adcf96885 100644 --- a/src/synth/synth-expr.ads +++ b/src/synth/synth-expr.ads @@ -29,7 +29,6 @@ with Synth.Context; use Synth.Context; with Vhdl.Nodes; use Vhdl.Nodes; package Synth.Expr is - function Is_Const (Val : Value_Acc) return Boolean; function Get_Width (Val : Value_Acc) return Uns32; procedure Set_Location (N : Net; Loc : Node); @@ -76,6 +75,11 @@ package Synth.Expr is function Synth_Float_Range_Expression (Syn_Inst : Synth_Instance_Acc; Rng : Node) return Float_Range_Type; + procedure Synth_Discrete_Range (Syn_Inst : Synth_Instance_Acc; + Bound : Node; + Rng : out Discrete_Range_Type; + W : out Width); + -- Convert index IDX in PFX to an offset. LOC is used in case of error. function Index_To_Offset (Bnd : Bound_Type; Idx : Int64; Loc : Node) return Uns32; |