aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/simulate/simul-execution.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-12-19 18:13:02 +0100
committerTristan Gingold <tgingold@free.fr>2017-12-21 07:36:47 +0100
commitae571344c5b6fe65c5a469251afeeee3d8f315b2 (patch)
tree6ffe31bb395d117470d4f774c110e414eabe5719 /src/vhdl/simulate/simul-execution.adb
parent8bb2635ccecde036d92b242b2d43efd4372793a8 (diff)
downloadghdl-ae571344c5b6fe65c5a469251afeeee3d8f315b2.tar.gz
ghdl-ae571344c5b6fe65c5a469251afeeee3d8f315b2.tar.bz2
ghdl-ae571344c5b6fe65c5a469251afeeee3d8f315b2.zip
simul: handle psl endpoints (and adjust issue45).
Diffstat (limited to 'src/vhdl/simulate/simul-execution.adb')
-rw-r--r--src/vhdl/simulate/simul-execution.adb6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vhdl/simulate/simul-execution.adb b/src/vhdl/simulate/simul-execution.adb
index 1edcd4da8..ff4887baa 100644
--- a/src/vhdl/simulate/simul-execution.adb
+++ b/src/vhdl/simulate/simul-execution.adb
@@ -2663,7 +2663,8 @@ package body Simul.Execution is
| Iir_Kind_Attribute_Value
| Iir_Kind_Iterator_Declaration
| Iir_Kind_Terminal_Declaration
- | Iir_Kinds_Quantity_Declaration =>
+ | Iir_Kinds_Quantity_Declaration
+ | Iir_Kind_Psl_Endpoint_Declaration =>
if Base /= null then
Res := Base;
else
@@ -2957,7 +2958,8 @@ package body Simul.Execution is
| Iir_Kind_Slice_Name
| Iir_Kind_Selected_Element
| Iir_Kind_Dereference
- | Iir_Kind_Implicit_Dereference =>
+ | Iir_Kind_Implicit_Dereference
+ | Iir_Kind_Psl_Endpoint_Declaration =>
return Execute_Name (Block, Expr);
when Iir_Kinds_Denoting_Name