diff options
Diffstat (limited to 'src/synth/synth-context.ads')
-rw-r--r-- | src/synth/synth-context.ads | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/synth/synth-context.ads b/src/synth/synth-context.ads index 874962260..2f9c93ee0 100644 --- a/src/synth/synth-context.ads +++ b/src/synth/synth-context.ads @@ -89,10 +89,13 @@ package Synth.Context is -- Get the value of OBJ. function Get_Value (Syn_Inst : Synth_Instance_Acc; Obj : Iir) return Value_Acc; + -- Wrapper around Get_Value for types. + function Get_Value_Type (Syn_Inst : Synth_Instance_Acc; Atype : Iir) + return Type_Acc; -- Get a net from a scalar/vector value. This will automatically create -- a net for literals. - function Get_Net (Val : Value_Acc; Vtype : Node) return Net; + function Get_Net (Val : Value_Acc) return Net; function Create_Value_Instance (Inst : Synth_Instance_Acc) return Value_Acc; |