From 1d622ed329ba0dfb6a23f4dd487c08e8bb2544db Mon Sep 17 00:00:00 2001
From: Tristan Gingold <tgingold@free.fr>
Date: Sat, 29 Feb 2020 21:36:09 +0100
Subject: synth-insts: add comments, minor refactoring.

---
 src/synth/synth-insts.ads | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'src/synth/synth-insts.ads')

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.
-- 
cgit v1.2.3