aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/simulate
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-01-17 15:12:12 +0100
committerTristan Gingold <tgingold@free.fr>2015-01-17 15:12:12 +0100
commit8eba238aea9b2bffb6fa8372c0d7442c1d99871c (patch)
tree2375c98af38f1c5a56e9b96e371e60debdd0c4c4 /src/vhdl/simulate
parent8976998d628e1af5300d9e4156e3cb8800b5150e (diff)
downloadghdl-8eba238aea9b2bffb6fa8372c0d7442c1d99871c.tar.gz
ghdl-8eba238aea9b2bffb6fa8372c0d7442c1d99871c.tar.bz2
ghdl-8eba238aea9b2bffb6fa8372c0d7442c1d99871c.zip
ghdlsimul: adjust after use of name for block_specification.
Diffstat (limited to 'src/vhdl/simulate')
-rw-r--r--src/vhdl/simulate/elaboration.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/simulate/elaboration.adb b/src/vhdl/simulate/elaboration.adb
index d3e157d70..93998df81 100644
--- a/src/vhdl/simulate/elaboration.adb
+++ b/src/vhdl/simulate/elaboration.adb
@@ -2526,7 +2526,8 @@ package body Elaboration is
Conf_Unit := Get_Default_Configuration_Declaration (Unit);
when Iir_Kind_Configuration_Declaration =>
Conf_Unit := Design;
- Arch := Get_Block_Specification (Get_Block_Configuration (Unit));
+ Arch := Get_Named_Entity
+ (Get_Block_Specification (Get_Block_Configuration (Unit)));
Elaborate_Dependence (Design);
when others =>
Error_Kind ("elaborate_design", Unit);