summaryrefslogtreecommitdiff
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold2015-01-17 15:12:12 +0100
committerTristan Gingold2015-01-17 15:12:12 +0100
commit8eba238aea9b2bffb6fa8372c0d7442c1d99871c (patch)
tree2375c98af38f1c5a56e9b96e371e60debdd0c4c4 /src/ghdldrv
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/ghdldrv')
-rw-r--r--src/ghdldrv/ghdlsimul.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ghdldrv/ghdlsimul.adb b/src/ghdldrv/ghdlsimul.adb
index 17cece7..bf886e0 100644
--- a/src/ghdldrv/ghdlsimul.adb
+++ b/src/ghdldrv/ghdlsimul.adb
@@ -108,8 +108,8 @@ package body Ghdlsimul is
-- hierarchy.
declare
Conf_Unit : constant Iir := Get_Library_Unit (Top_Conf);
- Arch : constant Iir :=
- Get_Block_Specification (Get_Block_Configuration (Conf_Unit));
+ Arch : constant Iir := Get_Named_Entity
+ (Get_Block_Specification (Get_Block_Configuration (Conf_Unit)));
Entity : constant Iir := Iirs_Utils.Get_Entity (Arch);
begin
Configuration.Check_Entity_Declaration_Top (Entity);