aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-insts.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-01 09:22:40 +0100
committerTristan Gingold <tgingold@free.fr>2020-03-01 09:22:40 +0100
commit7548c7a4993da02b6be717c0c129c4d25803cfed (patch)
treeb7b0da7d9ca22ec4a1578740dd17fda7ad235c59 /src/synth/synth-insts.ads
parent1d622ed329ba0dfb6a23f4dd487c08e8bb2544db (diff)
downloadghdl-7548c7a4993da02b6be717c0c129c4d25803cfed.tar.gz
ghdl-7548c7a4993da02b6be717c0c129c4d25803cfed.tar.bz2
ghdl-7548c7a4993da02b6be717c0c129c4d25803cfed.zip
synth: top entity name is not anymore hashed by default.
Use --top-name=hash to get the previous behaviour.
Diffstat (limited to 'src/synth/synth-insts.ads')
-rw-r--r--src/synth/synth-insts.ads2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-insts.ads b/src/synth/synth-insts.ads
index 91608ff62..d90df3183 100644
--- a/src/synth/synth-insts.ads
+++ b/src/synth/synth-insts.ads
@@ -21,12 +21,14 @@
with Vhdl.Nodes; use Vhdl.Nodes;
with Synth.Context; use Synth.Context;
+with Synth.Flags; use Synth.Flags;
package Synth.Insts is
-- Create the declaration of the top entity.
procedure Synth_Top_Entity (Global_Instance : Synth_Instance_Acc;
Arch : Node;
Config : Node;
+ Encoding : Name_Encoding;
Inst : out Synth_Instance_Acc);
-- Synthesize the top entity and all the sub-modules.