diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-09-30 20:10:18 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-09-30 20:10:18 +0200 |
commit | 1e17ca0e0d9fcdc9ba29c82b40c841d87e5b86a3 (patch) | |
tree | cb135394ce7ce8ceec52a3cc79791e4c72a5f33e /src/synth/synth-context.ads | |
parent | 1f62927ba89abc0fd43b1fceaa3c960252b05a26 (diff) | |
download | ghdl-1e17ca0e0d9fcdc9ba29c82b40c841d87e5b86a3.tar.gz ghdl-1e17ca0e0d9fcdc9ba29c82b40c841d87e5b86a3.tar.bz2 ghdl-1e17ca0e0d9fcdc9ba29c82b40c841d87e5b86a3.zip |
synth: renaming and minor refactoring.
Diffstat (limited to 'src/synth/synth-context.ads')
-rw-r--r-- | src/synth/synth-context.ads | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/synth/synth-context.ads b/src/synth/synth-context.ads index a652e9ba3..182cfa5d5 100644 --- a/src/synth/synth-context.ads +++ b/src/synth/synth-context.ads @@ -73,30 +73,30 @@ package Synth.Context is procedure Set_Instance_Const (Inst : Synth_Instance_Acc; Val : Boolean); procedure Create_Object - (Syn_Inst : Synth_Instance_Acc; Decl : Iir; Val : Value_Acc); + (Syn_Inst : Synth_Instance_Acc; Decl : Node; Val : Value_Acc); procedure Create_Package_Object - (Syn_Inst : Synth_Instance_Acc; Decl : Iir; Val : Value_Acc); + (Syn_Inst : Synth_Instance_Acc; Decl : Node; Val : Value_Acc); -- Force the value of DECL, without checking for elaboration order. -- It is for deferred constants. procedure Create_Object_Force - (Syn_Inst : Synth_Instance_Acc; Decl : Iir; Val : Value_Acc); + (Syn_Inst : Synth_Instance_Acc; Decl : Node; Val : Value_Acc); procedure Destroy_Object - (Syn_Inst : Synth_Instance_Acc; Decl : Iir); + (Syn_Inst : Synth_Instance_Acc; Decl : Node); -- Build the value for object OBJ. -- KIND must be Wire_Variable or Wire_Signal. - procedure Make_Object (Syn_Inst : Synth_Instance_Acc; - Kind : Wire_Kind; - Obj : Iir); + procedure Create_Wire_Object (Syn_Inst : Synth_Instance_Acc; + Kind : Wire_Kind; + Obj : Node); -- Get the value of OBJ. - function Get_Value (Syn_Inst : Synth_Instance_Acc; Obj : Iir) + function Get_Value (Syn_Inst : Synth_Instance_Acc; Obj : Node) return Value_Acc; -- Wrapper around Get_Value for types. - function Get_Value_Type (Syn_Inst : Synth_Instance_Acc; Atype : Iir) + function Get_Value_Type (Syn_Inst : Synth_Instance_Acc; Atype : Node) return Type_Acc; -- Get a net from a scalar/vector value. This will automatically create |