diff options
| -rw-r--r-- | src/ghdldrv/ghdlsynth.adb | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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 | 
