File: t_timing_func_bad.out

package info (click to toggle)
verilator 5.038-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 162,552 kB
  • sloc: cpp: 139,204; python: 20,931; ansic: 10,222; yacc: 6,000; lex: 1,925; makefile: 1,260; sh: 494; perl: 282; fortran: 22
file content (26 lines) | stat: -rw-r--r-- 1,474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
%Error: t/t_timing_func_bad.v:10:7: Delays are not legal in functions. Suggest use a task (IEEE 1800-2023 13.4.4)
                                  : ... note: In instance 't'
   10 |       #1 $stop;
      |       ^
        ... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
%Error: t/t_timing_func_bad.v:15:12: Timing controls are not legal in functions. Suggest use a task (IEEE 1800-2023 13.4.4)
                                   : ... note: In instance 't'
   15 |       f2 = #5 0; $stop;
      |            ^
%Error: t/t_timing_func_bad.v:20:7: Event controls are not legal in functions. Suggest use a task (IEEE 1800-2023 13.4.4)
                                  : ... note: In instance 't'
   20 |       @e $stop;
      |       ^
%Error: t/t_timing_func_bad.v:25:12: Timing controls are not legal in functions. Suggest use a task (IEEE 1800-2023 13.4.4)
                                   : ... note: In instance 't'
   25 |       f4 = @e 0; $stop;
      |            ^
%Error: t/t_timing_func_bad.v:31:7: Wait statements are not legal in functions. Suggest use a task (IEEE 1800-2023 13.4.4)
                                  : ... note: In instance 't'
   31 |       wait(i == 0) $stop;
      |       ^~~~
%Error: t/t_timing_func_bad.v:42:7: Delays are not legal in final blocks (IEEE 1800-2023 9.2.3)
                                  : ... note: In instance 't'
   42 |       #1;
      |       ^
%Error: Exiting due to