aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_expr.adb
diff options
context:
space:
mode:
authortmeissner <programming@goodcleanfun.de>2020-06-06 13:29:57 +0200
committertgingold <tgingold@users.noreply.github.com>2020-06-06 16:49:30 +0200
commit2416376cabc3dd03413a5038ce59ccfab569414c (patch)
treef36d87d5cbce058f8f1f36104582d07746c79c25 /src/vhdl/vhdl-sem_expr.adb
parent350f710818732d7e3c2d1c56d50b503bf07ac024 (diff)
downloadghdl-2416376cabc3dd03413a5038ce59ccfab569414c.tar.gz
ghdl-2416376cabc3dd03413a5038ce59ccfab569414c.tar.bz2
ghdl-2416376cabc3dd03413a5038ce59ccfab569414c.zip
Synthesis of PSL built-in rose() function.
Diffstat (limited to 'src/vhdl/vhdl-sem_expr.adb')
-rw-r--r--src/vhdl/vhdl-sem_expr.adb6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-sem_expr.adb b/src/vhdl/vhdl-sem_expr.adb
index c9cc2bae6..491d9873c 100644
--- a/src/vhdl/vhdl-sem_expr.adb
+++ b/src/vhdl/vhdl-sem_expr.adb
@@ -416,7 +416,8 @@ package body Vhdl.Sem_Expr is
| Iir_Kind_Function_Call =>
return Expr;
when Iir_Kind_Psl_Endpoint_Declaration
- | Iir_Kind_Psl_Stable =>
+ | Iir_Kind_Psl_Stable
+ | Iir_Kind_Psl_Rose =>
return Expr;
when Iir_Kind_Simple_Name
| Iir_Kind_Parenthesis_Name
@@ -4832,6 +4833,9 @@ package body Vhdl.Sem_Expr is
when Iir_Kind_Psl_Stable =>
return Sem_Psl.Sem_Stable_Builtin (Expr);
+ when Iir_Kind_Psl_Rose =>
+ return Sem_Psl.Sem_Rose_Builtin (Expr);
+
when Iir_Kind_Error =>
-- Always ok.
-- Use the error as a type.