diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-09-19 07:42:25 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-09-19 07:42:25 +0200 |
commit | d6b32617528f485274ebadc92494ea8ec7a43c3a (patch) | |
tree | 85b6394140410c8ff114ea54718fecb5f6e41008 /src/synth/synth-insts.ads | |
parent | 11329df0dfab970daff9900075d5cadd7bfba2ea (diff) | |
download | ghdl-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.ads | 6 |
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. |