1%Warning-USERFATAL: "boom" 2 ... For warning description see https://verilator.org/warn/USERFATAL?v=latest 3 ... Use "/* verilator lint_off USERFATAL */" and lint_on around source to disable this message. 4%Error: t/t_generate_fatal_bad.v:13:29: Expecting expression to be constant, but can't determine constant for FUNCREF 'get_baz' 5 : ... In instance t.nested_loop[10].foo2_inst.foo2_loop[1].foo_in_foo2_inst 6 t/t_generate_fatal_bad.v:9:4: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing 7 t/t_generate_fatal_bad.v:13:29: ... Called from get_baz() with parameters: 8 bar = ?32?h0 9 13 | localparam integer BAZ = get_baz(BAR); 10 | ^~~~~~~ 11%Error: t/t_generate_fatal_bad.v:13:29: Expecting expression to be constant, but can't determine constant for FUNCREF 'get_baz' 12 : ... In instance t.genloop[1].foo_inst 13 t/t_generate_fatal_bad.v:9:4: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing 14 t/t_generate_fatal_bad.v:13:29: ... Called from get_baz() with parameters: 15 bar = ?32?h1 16 13 | localparam integer BAZ = get_baz(BAR); 17 | ^~~~~~~ 18%Error: t/t_generate_fatal_bad.v:13:29: Expecting expression to be constant, but can't determine constant for FUNCREF 'get_baz' 19 : ... In instance t.gen_l1[2].gen_l2[0].foo_inst2 20 t/t_generate_fatal_bad.v:9:4: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing 21 t/t_generate_fatal_bad.v:13:29: ... Called from get_baz() with parameters: 22 bar = 32'h2 23 13 | localparam integer BAZ = get_baz(BAR); 24 | ^~~~~~~ 25%Error: t/t_generate_fatal_bad.v:13:29: Expecting expression to be constant, but can't determine constant for FUNCREF 'get_baz' 26 : ... In instance t.gen_l1[2].gen_l2[1].foo_inst2 27 t/t_generate_fatal_bad.v:9:4: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing 28 t/t_generate_fatal_bad.v:13:29: ... Called from get_baz() with parameters: 29 bar = 32'h4 30 13 | localparam integer BAZ = get_baz(BAR); 31 | ^~~~~~~ 32%Error: t/t_generate_fatal_bad.v:13:29: Expecting expression to be constant, but can't determine constant for FUNCREF 'get_baz' 33 : ... In instance t.gen_l1[3].gen_l2[0].foo_inst2 34 t/t_generate_fatal_bad.v:9:4: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing 35 t/t_generate_fatal_bad.v:13:29: ... Called from get_baz() with parameters: 36 bar = 32'h3 37 13 | localparam integer BAZ = get_baz(BAR); 38 | ^~~~~~~ 39%Error: t/t_generate_fatal_bad.v:13:29: Expecting expression to be constant, but can't determine constant for FUNCREF 'get_baz' 40 : ... In instance t.gen_l1[3].gen_l2[1].foo_inst2 41 t/t_generate_fatal_bad.v:9:4: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing 42 t/t_generate_fatal_bad.v:13:29: ... Called from get_baz() with parameters: 43 bar = 32'h5 44 13 | localparam integer BAZ = get_baz(BAR); 45 | ^~~~~~~ 46%Error: t/t_generate_fatal_bad.v:13:29: Expecting expression to be constant, but can't determine constant for FUNCREF 'get_baz' 47 : ... In instance t.cond_true.foo_inst3 48 t/t_generate_fatal_bad.v:9:4: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing 49 t/t_generate_fatal_bad.v:13:29: ... Called from get_baz() with parameters: 50 bar = ?32?h6 51 13 | localparam integer BAZ = get_baz(BAR); 52 | ^~~~~~~ 53%Error: t/t_generate_fatal_bad.v:13:29: Expecting expression to be constant, but can't determine constant for FUNCREF 'get_baz' 54 : ... In instance t.genblk4.foo_inst4 55 t/t_generate_fatal_bad.v:9:4: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing 56 t/t_generate_fatal_bad.v:13:29: ... Called from get_baz() with parameters: 57 bar = ?32?h7 58 13 | localparam integer BAZ = get_baz(BAR); 59 | ^~~~~~~ 60%Error: t/t_generate_fatal_bad.v:13:29: Expecting expression to be constant, but can't determine constant for FUNCREF 'get_baz' 61 : ... In instance t.nested_loop[8].foo2_inst.foo2_loop[0].foo_in_foo2_inst 62 t/t_generate_fatal_bad.v:9:4: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing 63 t/t_generate_fatal_bad.v:13:29: ... Called from get_baz() with parameters: 64 bar = 32'h8 65 13 | localparam integer BAZ = get_baz(BAR); 66 | ^~~~~~~ 67%Error: t/t_generate_fatal_bad.v:13:29: Expecting expression to be constant, but can't determine constant for FUNCREF 'get_baz' 68 : ... In instance t.nested_loop[8].foo2_inst.foo2_loop[1].foo_in_foo2_inst 69 t/t_generate_fatal_bad.v:9:4: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing 70 t/t_generate_fatal_bad.v:13:29: ... Called from get_baz() with parameters: 71 bar = 32'h9 72 13 | localparam integer BAZ = get_baz(BAR); 73 | ^~~~~~~ 74%Error: t/t_generate_fatal_bad.v:13:29: Expecting expression to be constant, but can't determine constant for FUNCREF 'get_baz' 75 : ... In instance t.nested_loop[10].foo2_inst.foo2_loop[0].foo_in_foo2_inst 76 t/t_generate_fatal_bad.v:9:4: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing 77 t/t_generate_fatal_bad.v:13:29: ... Called from get_baz() with parameters: 78 bar = 32'ha 79 13 | localparam integer BAZ = get_baz(BAR); 80 | ^~~~~~~ 81%Error: t/t_generate_fatal_bad.v:13:29: Expecting expression to be constant, but can't determine constant for FUNCREF 'get_baz' 82 : ... In instance t.nested_loop[10].foo2_inst.foo2_loop[1].foo_in_foo2_inst 83 t/t_generate_fatal_bad.v:9:4: ... Location of non-constant STOP: $stop executed during function constification; maybe indicates assertion firing 84 t/t_generate_fatal_bad.v:13:29: ... Called from get_baz() with parameters: 85 bar = 32'hb 86 13 | localparam integer BAZ = get_baz(BAR); 87 | ^~~~~~~ 88%Error: Exiting due to 89