mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-07 14:43:23 +00:00
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. |
||
---|---|---|
.. | ||
.gitignore | ||
const2ast.cc | ||
Makefile.inc | ||
preproc.cc | ||
preproc.h | ||
verilog_frontend.cc | ||
verilog_frontend.h | ||
verilog_lexer.l | ||
verilog_parser.y |