File: t_func_recurse_param_bad.out

package info (click to toggle)
verilator 5.032-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 93,932 kB
  • sloc: cpp: 131,288; python: 19,365; ansic: 10,234; yacc: 5,733; lex: 1,905; makefile: 1,229; sh: 489; perl: 282; fortran: 22
file content (6 lines) | stat: -rw-r--r-- 468 bytes parent folder | download
1
2
3
4
5
6
%Error: t/t_func_recurse_param_bad.v:15:26: Expecting expression to be constant, but can't determine constant for FUNCREF 'recurse_self'
                                          : ... note: In instance 't'
        t/t_func_recurse_param_bad.v:9:27: ... Location of non-constant FUNC 'recurse_self': Unsupported: Recursive constant functions
   15 |    localparam int HUGE = recurse_self(10000);   
      |                          ^~~~~~~~~~~~
%Error: Exiting due to