Unsupported function with inline inputs
Summary
Unsupported syntax
Describe your setup
fastrich
TMRG Version
REPRODUCED_121
Steps to reproduce
module test;
function automatic logic mux (logic a, logic b);
return 1'b1;
endfunction
endmodule
What is the current bug behavior?
$ tmrg utils/tmrg/test/systemverilog/function_automatic1.sv
[ERROR ] Error in file 'utils/tmrg/test/systemverilog/function_automatic1.sv' around line '2'.
[ERROR ]
[ERROR ] function automatic logic mux (logic a, logic b);
[ERROR ] ^
[ERROR ] Expected module, found 'function' (at char 15), (line:2, col:3)
[ERROR ] Error during parsing
What is the expected correct behavior?
correctly parsed
Possible fixes
To be investigated