From e7dba34e2b1f38f920cef3c4faed449921200668 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 11 Jan 2023 07:00:51 +0100 Subject: synth: improve support of PSL endpoints --- src/simul/simul-vhdl_elab.adb | 3 ++- src/synth/elab-vhdl_debug.adb | 3 ++- src/synth/elab-vhdl_insts.adb | 3 ++- src/synth/elab-vhdl_stmts.adb | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/simul/simul-vhdl_elab.adb b/src/simul/simul-vhdl_elab.adb index 4948152cc..3e5acc3d8 100644 --- a/src/simul/simul-vhdl_elab.adb +++ b/src/simul/simul-vhdl_elab.adb @@ -902,7 +902,8 @@ package body Simul.Vhdl_Elab is pragma Assert (Is_Expr_Pool_Empty); Gather_Process_Sensitivity (Inst, Stmt, Processes_Table.Last); when Iir_Kind_Psl_Default_Clock - | Iir_Kind_Psl_Declaration => + | Iir_Kind_Psl_Declaration + | Iir_Kind_Psl_Endpoint_Declaration => null; when Iir_Kind_Psl_Assert_Directive | Iir_Kind_Psl_Assume_Directive diff --git a/src/synth/elab-vhdl_debug.adb b/src/synth/elab-vhdl_debug.adb index d9b14f75f..a523a8e5c 100644 --- a/src/synth/elab-vhdl_debug.adb +++ b/src/synth/elab-vhdl_debug.adb @@ -561,7 +561,8 @@ package body Elab.Vhdl_Debug is | Iir_Kind_Simple_Simultaneous_Statement => null; when Iir_Kind_Psl_Default_Clock - | Iir_Kind_Psl_Assert_Directive => + | Iir_Kind_Psl_Assert_Directive + | Iir_Kind_Psl_Endpoint_Declaration => null; when Iir_Kinds_Process_Statement => -- Note: processes are not elaborated. diff --git a/src/synth/elab-vhdl_insts.adb b/src/synth/elab-vhdl_insts.adb index 26763a5c6..e3a215bff 100644 --- a/src/synth/elab-vhdl_insts.adb +++ b/src/synth/elab-vhdl_insts.adb @@ -617,10 +617,11 @@ package body Elab.Vhdl_Insts is | Iir_Kind_Psl_Assume_Directive | Iir_Kind_Psl_Cover_Directive | Iir_Kind_Psl_Assert_Directive + | Iir_Kind_Psl_Endpoint_Declaration | Iir_Kind_Concurrent_Assertion_Statement => null; when others => - Error_Kind ("elab_recurse_instantiations_Statement", Stmt); + Error_Kind ("elab_recurse_instantiations_statement", Stmt); end case; end Elab_Recurse_Instantiations_Statement; diff --git a/src/synth/elab-vhdl_stmts.adb b/src/synth/elab-vhdl_stmts.adb index 0609e971a..6f0339534 100644 --- a/src/synth/elab-vhdl_stmts.adb +++ b/src/synth/elab-vhdl_stmts.adb @@ -281,7 +281,8 @@ package body Elab.Vhdl_Stmts is | Iir_Kind_Psl_Assume_Directive | Iir_Kind_Psl_Assert_Directive | Iir_Kind_Psl_Cover_Directive - | Iir_Kind_Psl_Declaration => + | Iir_Kind_Psl_Declaration + | Iir_Kind_Psl_Endpoint_Declaration => null; when Iir_Kind_Component_Instantiation_Statement => if Is_Component_Instantiation (Stmt) then -- cgit v1.2.3