diff options
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/translate/trans-chap9.adb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/vhdl/translate/trans-chap9.adb b/src/vhdl/translate/trans-chap9.adb index f9d8f5054..4a41c26aa 100644 --- a/src/vhdl/translate/trans-chap9.adb +++ b/src/vhdl/translate/trans-chap9.adb @@ -718,16 +718,16 @@ package body Trans.Chap9 is New_Lit (Ghdl_Index_1))); Close_Temp; Finish_If_Stmt (S_Blk); - end if; - -- Check "started" flag, increment started count if set - Start_If_Stmt (S_Blk, New_Value (New_Obj (Var_SFlag))); - New_Assign_Stmt - (Get_Var (Info.Psl_Start_Count_Var), - New_Dyadic_Op (ON_Add_Ov, - New_Value (Get_Var (Info.Psl_Start_Count_Var)), - New_Lit (Ghdl_Index_1))); - Finish_If_Stmt (S_Blk); + -- Check "started" flag, increment started count if set + Start_If_Stmt (S_Blk, New_Value (New_Obj (Var_SFlag))); + New_Assign_Stmt + (Get_Var (Info.Psl_Start_Count_Var), + New_Dyadic_Op (ON_Add_Ov, + New_Value (Get_Var (Info.Psl_Start_Count_Var)), + New_Lit (Ghdl_Index_1))); + Finish_If_Stmt (S_Blk); + end if; -- Assign state vector. Start_Declare_Stmt; |