Unsupported system function in localparam
Summary
Unsupported syntax
Describe your setup
Fastrich toolkit
TMRG Version
REPRODUCED_111
Steps to reproduce
module test #(
parameter int BITS = 'd32,
localparam int BITS_DDR_ADDR = $clog2(BITS / 2)
) ();
endmodule
What is the current bug behavior?
$ tmrg test.sv
[ERROR ] Error in file 'test.sv' around line '1'.
[ERROR ]
[ERROR ] module test #(
[ERROR ] ^
[ERROR ] Expected module, found '#' (at char 12), (line:1, col:13)
[ERROR ] Error during parsing
What is the expected correct behavior?
triplication working
Possible fixes
To be investigated