From 61a1b78d739068a78b3dfad41789e669e1b6b271 Mon Sep 17 00:00:00 2001 From: Ondrej Ille Date: Sat, 27 Mar 2021 11:52:16 +0100 Subject: src: Handle also Equal Repeat and Goto repeat sequences. Keep TODO about check of simple combinatorial expression/ --- src/vhdl/vhdl-sem_psl.adb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/vhdl/vhdl-sem_psl.adb b/src/vhdl/vhdl-sem_psl.adb index 32d6e7b8b..7e1f805eb 100644 --- a/src/vhdl/vhdl-sem_psl.adb +++ b/src/vhdl/vhdl-sem_psl.adb @@ -435,17 +435,17 @@ package body Vhdl.Sem_Psl is Set_Right (Seq, R); return Seq; when N_Star_Repeat_Seq - | N_Plus_Repeat_Seq => + | N_Plus_Repeat_Seq + | N_Equal_Repeat_Seq + | N_Goto_Repeat_Seq => Res := Get_Sequence (Seq); if Res /= Null_PSL_Node then Res := Sem_Sequence (Get_Sequence (Seq)); Set_Sequence (Seq, Res); end if; + -- TODO: Fix here if SERE is not of boolean type for + -- Equal Repeat and goto repeat!! return Seq; - when N_Equal_Repeat_Seq - | N_Goto_Repeat_Seq => - -- TODO: Fix here if SERE is not of boolean type!! - Error_Kind ("psl.sem_sequence.hdl", Res); when N_And_Bool | N_Or_Bool | N_Not_Bool => -- cgit v1.2.3