diff options
-rw-r--r-- | src/synth/synth-decls.adb | 6 | ||||
-rw-r--r-- | src/synth/synth-expr.adb | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/synth/synth-decls.adb b/src/synth/synth-decls.adb index 81d8a20c9..c53b4159c 100644 --- a/src/synth/synth-decls.adb +++ b/src/synth/synth-decls.adb @@ -893,6 +893,9 @@ package body Synth.Decls is null; when Iir_Kind_Configuration_Specification => null; + when Iir_Kind_Signal_Attribute_Declaration => + -- Not supported by synthesis. + null; when others => Vhdl.Errors.Error_Kind ("synth_declaration", Decl); end case; @@ -1016,6 +1019,9 @@ package body Synth.Decls is when Iir_Kind_Psl_Default_Clock => -- Ignored; directly used by PSL directives. null; + when Iir_Kind_Signal_Attribute_Declaration => + -- Not supported by synthesis. + null; when others => Vhdl.Errors.Error_Kind ("finalize_declaration", Decl); end case; 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; |