-
Notifications
You must be signed in to change notification settings - Fork 244
Open
Labels
rejects-valid syntaxIf the parser wrongly rejects syntactically valid code (according to SV-2017).If the parser wrongly rejects syntactically valid code (according to SV-2017).
Description
Describe the bug
Parser seems to reject multi-clocked SVA. Other parsers/tools work fine on this code.
Short summary.
To Reproduce
verible-verilog-syntax file.sv
// Test case (preferably reduced) that illustrates the problem.
module reardyack;
timeunit 1ns; timeprecision 100ps;
bit clk, req, rdy, ack;
XXXap_reqrdyack_bad: assert property(@ (posedge clk) (req ##1 rdy) |-> @ (posedge clk) @ (posedge clk) ack);
endmodule
Actual behavior:
v.sv:4:75: syntax error at token "@"
Did it reject valid code? or crash?
Rejects valid code.
Metadata
Metadata
Assignees
Labels
rejects-valid syntaxIf the parser wrongly rejects syntactically valid code (according to SV-2017).If the parser wrongly rejects syntactically valid code (according to SV-2017).