diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-01-15 18:22:51 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-01-15 18:22:51 +0100 |
commit | 8eb0cb2c842801e76a543aeeb0e0a2b7bb331a1a (patch) | |
tree | 30d48e4abe4cd6e2792afe0a145e215ce9cd6bc0 /src/vhdl | |
parent | 4c61775cde12ee8169af73b6d023e02c948b0239 (diff) | |
download | ghdl-8eb0cb2c842801e76a543aeeb0e0a2b7bb331a1a.tar.gz ghdl-8eb0cb2c842801e76a543aeeb0e0a2b7bb331a1a.tar.bz2 ghdl-8eb0cb2c842801e76a543aeeb0e0a2b7bb331a1a.zip |
canon: handle all signal attributes in canon_extract_sensitivity.
For #256
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/canon.adb | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/vhdl/canon.adb b/src/vhdl/canon.adb index 8f23bf2d9..595faaeb7 100644 --- a/src/vhdl/canon.adb +++ b/src/vhdl/canon.adb @@ -212,25 +212,17 @@ package body Canon is when Iir_Kinds_Type_Attribute => null; - when Iir_Kind_Event_Attribute - | Iir_Kind_Active_Attribute => + when Iir_Kinds_Signal_Value_Attribute => -- LRM 8.1 -- An attribute name: [...]; otherwise, apply this rule to the -- prefix of the attribute name. Canon_Extract_Sensitivity (Get_Prefix (Expr), Sensitivity_List, False); - - when Iir_Kind_Last_Value_Attribute => - null; - when Iir_Kind_Interface_Signal_Declaration | Iir_Kind_Signal_Declaration | Iir_Kind_Guard_Signal_Declaration - | Iir_Kind_Stable_Attribute - | Iir_Kind_Delayed_Attribute - | Iir_Kind_Quiet_Attribute - | Iir_Kind_Transaction_Attribute => + | Iir_Kinds_Signal_Attribute => -- LRM 8.1 -- A simple name that denotes a signal, add the longuest static -- prefix of the name to the sensitivity set; |