File: t_past_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 (19 lines) | stat: -rw-r--r-- 1,135 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%Error: t/t_past_bad.v:16:20: Expecting expression to be constant, but variable isn't const: 'num'
                            : ... note: In instance 't'
   16 |       if ($past(d, num)) $stop;   
      |                    ^~~
%Error: t/t_past_bad.v:16:11: $past tick value must be constant (IEEE 1800-2023 16.9.3)
                            : ... note: In instance 't'
   16 |       if ($past(d, num)) $stop;   
      |           ^~~~~
%Error: t/t_past_bad.v:17:20: $past tick value must be >= 1 (IEEE 1800-2023 16.9.3)
                            : ... note: In instance 't'
   17 |       if ($past(d, 0)) $stop;   
      |                    ^
%Warning-TICKCOUNT: t/t_past_bad.v:18:20: $past tick value of 10000 may have a large performance cost
                                        : ... note: In instance 't'
   18 |       if ($past(d, 10000)) $stop;   
      |                    ^~~~~
                    ... For warning description see https://verilator.org/warn/TICKCOUNT?v=latest
                    ... Use "/* verilator lint_off TICKCOUNT */" and lint_on around source to disable this message.
%Error: Exiting due to