aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-expr.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-04-22 19:01:40 +0200
committerTristan Gingold <tgingold@free.fr>2020-04-22 21:31:27 +0200
commit9b40ca4a65f7ffbb2186393ed6db5b054ba7a494 (patch)
tree8f9da6e7a247cc7ceb96c3a4477553261539899f /src/synth/synth-expr.adb
parent1cea5c116af6f659ac635a4ff9f26c857f86e455 (diff)
downloadghdl-9b40ca4a65f7ffbb2186393ed6db5b054ba7a494.tar.gz
ghdl-9b40ca4a65f7ffbb2186393ed6db5b054ba7a494.tar.bz2
ghdl-9b40ca4a65f7ffbb2186393ed6db5b054ba7a494.zip
synth: ignore signal attribute.
Diffstat (limited to 'src/synth/synth-expr.adb')
-rw-r--r--src/synth/synth-expr.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb
index 87f3c4ac1..49901c3db 100644
--- a/src/synth/synth-expr.adb
+++ b/src/synth/synth-expr.adb
@@ -2036,6 +2036,9 @@ package body Synth.Expr is
Acc := Allocate_By_Value (V);
return Create_Value_Access (Acc, Expr_Type);
end;
+ when Iir_Kind_Stable_Attribute =>
+ Error_Msg_Synth (+Expr, "signal attribute not supported");
+ return No_Valtyp;
when Iir_Kind_Overflow_Literal =>
Error_Msg_Synth (+Expr, "out of bound expression");
return No_Valtyp;