aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-insts.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-19 07:42:25 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-19 07:42:25 +0200
commitd6b32617528f485274ebadc92494ea8ec7a43c3a (patch)
tree85b6394140410c8ff114ea54718fecb5f6e41008 /src/synth/synth-insts.ads
parent11329df0dfab970daff9900075d5cadd7bfba2ea (diff)
downloadghdl-d6b32617528f485274ebadc92494ea8ec7a43c3a.tar.gz
ghdl-d6b32617528f485274ebadc92494ea8ec7a43c3a.tar.bz2
ghdl-d6b32617528f485274ebadc92494ea8ec7a43c3a.zip
synth: refactoring to reduce global variables.
Diffstat (limited to 'src/synth/synth-insts.ads')
-rw-r--r--src/synth/synth-insts.ads6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/synth/synth-insts.ads b/src/synth/synth-insts.ads
index fdd66baa2..e4ac187f2 100644
--- a/src/synth/synth-insts.ads
+++ b/src/synth/synth-insts.ads
@@ -26,8 +26,10 @@ package Synth.Insts is
procedure Init;
procedure Synth_All_Instances;
- procedure Synth_Top_Entity
- (Arch : Node; Config : Node; Inst : out Synth_Instance_Acc);
+ procedure Synth_Top_Entity (Global_Instance : Synth_Instance_Acc;
+ Arch : Node;
+ Config : Node;
+ Inst : out Synth_Instance_Acc);
-- Apply block configuration CFG to BLK.
-- Must be done before synthesis of BLK.