aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vhdl/sem.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/sem.adb b/src/vhdl/sem.adb
index 7408d05e7..ecb6377af 100644
--- a/src/vhdl/sem.adb
+++ b/src/vhdl/sem.adb
@@ -204,7 +204,10 @@ package body Sem is
if Vhdl_Std = Vhdl_02 then
Open_Declarative_Region;
end if;
+
+ Current_Psl_Default_Clock := Null_Iir;
Sem_Block (Arch);
+
if Vhdl_Std = Vhdl_02 then
Close_Declarative_Region;
end if;