aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/translate/trans-chap12.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-14 07:04:56 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-14 08:31:58 +0200
commit1b78b16bd6ffde3cf5ab83f5e3cb65d9dfc09b85 (patch)
treedb2d7a81c84945a532acc09481df9451b885fa53 /src/vhdl/translate/trans-chap12.adb
parente837a3899bb7d2bd8dc4d99ae0cb10ae0d4a1a75 (diff)
downloadghdl-1b78b16bd6ffde3cf5ab83f5e3cb65d9dfc09b85.tar.gz
ghdl-1b78b16bd6ffde3cf5ab83f5e3cb65d9dfc09b85.tar.bz2
ghdl-1b78b16bd6ffde3cf5ab83f5e3cb65d9dfc09b85.zip
ghdlsynth: check top entity can be a top entity.
Diffstat (limited to 'src/vhdl/translate/trans-chap12.adb')
-rw-r--r--src/vhdl/translate/trans-chap12.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/translate/trans-chap12.adb b/src/vhdl/translate/trans-chap12.adb
index 9fda541a8..f153251f6 100644
--- a/src/vhdl/translate/trans-chap12.adb
+++ b/src/vhdl/translate/trans-chap12.adb
@@ -544,7 +544,7 @@ package body Trans.Chap12 is
(Get_Block_Specification (Get_Block_Configuration (Config_Lib)));
-- Be sure the entity can be at the top of a design.
- Check_Entity_Declaration_Top (Entity);
+ Check_Entity_Declaration_Top (Entity, True);
-- If all design units are loaded, late semantic checks can be
-- performed.