aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2023-01-11 07:00:51 +0100
committerTristan Gingold <tgingold@free.fr>2023-01-11 07:00:51 +0100
commite7dba34e2b1f38f920cef3c4faed449921200668 (patch)
tree3c104447fcfacbdb0deddd70c9e0842d47994ced
parent467acc26b864bd0d4e531b1095cef067ba83cf3b (diff)
downloadghdl-e7dba34e2b1f38f920cef3c4faed449921200668.tar.gz
ghdl-e7dba34e2b1f38f920cef3c4faed449921200668.tar.bz2
ghdl-e7dba34e2b1f38f920cef3c4faed449921200668.zip
synth: improve support of PSL endpoints
-rw-r--r--src/simul/simul-vhdl_elab.adb3
-rw-r--r--src/synth/elab-vhdl_debug.adb3
-rw-r--r--src/synth/elab-vhdl_insts.adb3
-rw-r--r--src/synth/elab-vhdl_stmts.adb3
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