File: t_func_const2_bad.out

package info (click to toggle)
verilator 4.038-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 29,596 kB
  • sloc: cpp: 90,585; perl: 15,101; ansic: 8,573; yacc: 3,626; lex: 1,616; makefile: 1,101; sh: 175; python: 145
file content (15 lines) | stat: -rw-r--r-- 860 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%Warning-USERFATAL: "f_add = 15"
                    ... Use "/* verilator lint_off USERFATAL */" and lint_on around source to disable this message.
%Error: t/t_func_const2_bad.v:22:23: Expecting expression to be constant, but can't determine constant for FUNCREF 'f_add2'
                                   : ... In instance t.b8_a7.c9
        t/t_func_const2_bad.v:10:6: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing
        t/t_func_const2_bad.v:15:13: ... Called from f_add() with parameters:
           a = 32'h7
           b = 32'h8
        t/t_func_const2_bad.v:22:23: ... Called from f_add2() with parameters:
           a = ?32?h7
           b = ?32?h8
           c = ?32?h9
   22 |    localparam SOMEP = f_add2(A, B, 9);
      |                       ^~~~~~
%Error: Exiting due to