`endmodule` label is not supported
Problem to solve
A label after the keyword is not supported by the tool and leads to failure. The tool should be updated to allow it.
Target audience
Further details
A code example is provided (will be added to the testing list in a dedicated MR).
module dff(d,c,q);
input d,c;
output q;
reg q;
// tmrg default triplicate
wire dVoted=d;
always @(posedge c)
q<=dVoted;
endmodule : dff
The tool returns:
>> tmrg dff.v
[ERROR ] Error in file 'dff.v' around line '8'.
[ERROR ]
[ERROR ] endmodule: dff
[ERROR ] ^
[ERROR ] Expected end of text (at char 146), (line:9, col:10)
[ERROR ] Error during parsing
Proposal
-
Add this module to the list of tests (failure expected) -
Modify the tool to add the support for this code snippet.
What does success look like, and how can we measure that?
- Newly added test passes.
Edited by Matteo Lupi