1
0
mirror of synced 2026-01-21 02:18:17 +00:00
Gary Wong 9770ece187 Accept (and ignore) SystemVerilog unique/priority if.
Add support to the "read_verilog -sv" parser to validate the
"unique", "unique0", and "priority" keywords in contexts where
they're legal according to 1800-2012 12.4.2.

This affects only the grammar accepted; the behaviour of conditionals
is not changed.  (But accepting this syntax will provide scope for
possible optimisations as future work.)

Three test cases ("unique_if", "unique_if_else", and
"unique_if_else_begin") verify that the keywords are accepted where
legal and rejected where illegal, as described in the final paragraph
of 12.4.2.
2025-05-22 19:28:28 -06:00
..
2023-10-30 10:34:30 +13:00
2024-10-15 07:24:14 +13:00
2025-01-24 12:38:03 +01:00
2025-04-08 11:58:05 +12:00
2025-04-15 09:57:14 +01:00
2023-12-13 10:15:51 +13:00
2024-10-15 07:37:20 +13:00
2025-05-06 07:45:16 +02:00
2025-01-06 11:08:00 +13:00
2024-11-05 13:48:48 +13:00
2022-11-15 12:55:22 +01:00
2024-10-15 07:24:14 +13:00