diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-02-29 21:36:09 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-02-29 21:36:42 +0100 |
commit | 1d622ed329ba0dfb6a23f4dd487c08e8bb2544db (patch) | |
tree | b001df70786ff749b0230bbec85d9b088dad191c /src/synth/synth-insts.ads | |
parent | d6f06fcd8eadbfa7f7065e29b4650093570c80b6 (diff) | |
download | ghdl-1d622ed329ba0dfb6a23f4dd487c08e8bb2544db.tar.gz ghdl-1d622ed329ba0dfb6a23f4dd487c08e8bb2544db.tar.bz2 ghdl-1d622ed329ba0dfb6a23f4dd487c08e8bb2544db.zip |
synth-insts: add comments, minor refactoring.
Diffstat (limited to 'src/synth/synth-insts.ads')
-rw-r--r-- | src/synth/synth-insts.ads | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/synth/synth-insts.ads b/src/synth/synth-insts.ads index e4ac187f2..91608ff62 100644 --- a/src/synth/synth-insts.ads +++ b/src/synth/synth-insts.ads @@ -23,14 +23,15 @@ with Vhdl.Nodes; use Vhdl.Nodes; with Synth.Context; use Synth.Context; package Synth.Insts is - procedure Init; - procedure Synth_All_Instances; - + -- Create the declaration of the top entity. procedure Synth_Top_Entity (Global_Instance : Synth_Instance_Acc; Arch : Node; Config : Node; Inst : out Synth_Instance_Acc); + -- Synthesize the top entity and all the sub-modules. + procedure Synth_All_Instances; + -- Apply block configuration CFG to BLK. -- Must be done before synthesis of BLK. -- The synthesis of BLK will clear all configuration of it. |