aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-context.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-27 11:38:19 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-28 20:27:57 +0200
commitb2ce3ad7385a6d3c3ddb4017f1418b60c83042c4 (patch)
tree584ce3fa3295d14dcacab94bab7f7ae0e22f49ce /src/synth/synth-context.ads
parentfc5ed4cb9c73414eeb821aa5183954cee1866251 (diff)
downloadghdl-b2ce3ad7385a6d3c3ddb4017f1418b60c83042c4.tar.gz
ghdl-b2ce3ad7385a6d3c3ddb4017f1418b60c83042c4.tar.bz2
ghdl-b2ce3ad7385a6d3c3ddb4017f1418b60c83042c4.zip
synth: preliminary support of dynamic indexing.
Diffstat (limited to 'src/synth/synth-context.ads')
-rw-r--r--src/synth/synth-context.ads5
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;