File: t_func_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 (29 lines) | stat: -rw-r--r-- 1,482 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
27
28
29
%Error: t/t_func_bad.v:9:11: Missing argument on non-defaulted argument 'from2' in function call to FUNC 'add'
                           : ... In instance t
    9 |       if (add(3'd1) != 0) $stop;   
      |           ^~~
%Error: t/t_func_bad.v:10:27: Too many arguments in function call to FUNC 'add'
                            : ... In instance t
   10 |       if (add(3'd1, 3'd2, 3'd3) != 0) $stop;     
      |                           ^~~~
%Error: t/t_func_bad.v:11:7: Missing argument on non-defaulted argument 'y' in function call to TASK 'x'
                           : ... In instance t
   11 |       x;  
      |       ^
%Error-UNSUPPORTED: t/t_func_bad.v:11:7: Unsupported: Function output argument 'y' requires 1 bits, but connection's CONST '?32?h0' generates 32 bits.
                                       : ... In instance t
   11 |       x;  
      |       ^
%Error: t/t_func_bad.v:14:17: No such argument 'no_such' in function call to FUNC 'f'
                            : ... In instance t
   14 |       f(.j(1), .no_such(2));  
      |                 ^~~~~~~
%Error: t/t_func_bad.v:15:19: Duplicate argument 'dup' in function call to FUNC 'f'
                            : ... In instance t
   15 |       f(.dup(1), .dup(3));  
      |                   ^~~
%Error: t/t_func_bad.v:16:13: Too many arguments in function call to FUNC 'f'
                            : ... In instance t
   16 |       f(1,2,3);  
      |             ^
%Error: Exiting due to