From 2d7e1ad06f2ff9bf6f6c3ce7d9197e1e7a76df62 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 5 Apr 2021 16:24:49 +0200 Subject: ghdlsynth.adb: fix a previous commit --- src/ghdldrv/ghdlsynth.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb index 0954d3f8e..b0c85ba26 100644 --- a/src/ghdldrv/ghdlsynth.adb +++ b/src/ghdldrv/ghdlsynth.adb @@ -379,7 +379,7 @@ package body Ghdlsynth is Vhdl.Configuration.Add_Verification_Units; - if Get_Kind (Config) = Iir_Kind_Configuration_Declaration then + if Get_Kind (Config) = Iir_Kind_Design_Unit then -- Check (and possibly abandon) if entity can be at the top of the -- hierarchy. declare -- cgit v1.2.3