File: t_class_extern_args_bad.out

package info (click to toggle)
verilator 5.040-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 164,628 kB
  • sloc: cpp: 145,372; python: 21,412; ansic: 10,559; yacc: 6,085; lex: 1,931; makefile: 1,264; sh: 494; perl: 282; fortran: 22
file content (75 lines) | stat: -rw-r--r-- 5,672 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:8:15: In prototype for 'func_bad', return data type does not match out-of-block declaration data-type (IEEE 1800-2023 8.24)
                                                     : ... note: In instance 't'
                                                     : ... Prototype data type: 'VOIDDTYPE'
                                                     : ... Declaration data type: 'bit'
    8 |   extern task func_bad();   
      |               ^~~~~~~~
                     t/t_class_extern_args_bad.v:19:10: ... Location of out-of-block declaration
   19 | function bit Cls::func_bad();
      |          ^~~
                     ... For error description see https://verilator.org/warn/PROTOTYPEMIS?v=latest
%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:9:19: In prototype for 'f1_bad', return data type does not match out-of-block declaration data-type (IEEE 1800-2023 8.24)
                                                     : ... note: In instance 't'
                                                     : ... Prototype data type: 'int'
                                                     : ... Declaration data type: 'bit'
    9 |   extern function int f1_bad();   
      |                   ^~~
                     t/t_class_extern_args_bad.v:22:10: ... Location of out-of-block declaration
   22 | function bit Cls::f1_bad();
      |          ^~~
%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:10:19: In prototype for 'f2_bad', return data type does not match out-of-block declaration data-type (IEEE 1800-2023 8.24)
                                                      : ... note: In instance 't'
                                                      : ... Prototype data type: 'int'
                                                      : ... Declaration data type: 'VOIDDTYPE'
   10 |   extern function int f2_bad();   
      |                   ^~~
                     t/t_class_extern_args_bad.v:24:15: ... Location of out-of-block declaration
   24 | function void Cls::f2_bad();
      |               ^~~
%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:11:24: In prototype for 'f3_bad', return data type does not match out-of-block declaration data-type (IEEE 1800-2023 8.24)
                                                      : ... note: In instance 't'
                                                      : ... Prototype data type: 'VOIDDTYPE'
                                                      : ... Declaration data type: 'bit'
   11 |   extern function void f3_bad();   
      |                        ^~~~~~
                     t/t_class_extern_args_bad.v:26:10: ... Location of out-of-block declaration
   26 | function bit Cls::f3_bad();
      |          ^~~
%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:12:34: In prototype for 'f1bit_bad', argument 'a' data-type does not match out-of-block declaration's data-type (IEEE 1800-2023 8.24)
                                                      : ... note: In instance 't'
                                                      : ... Prototype data type: 'int'
                                                      : ... Declaration data type: 'bit'
   12 |   extern function void f1bit_bad(int a);   
      |                                  ^~~
                     t/t_class_extern_args_bad.v:29:30: ... Location of out-of-block declaration
   29 | function void Cls::f1bit_bad(bit a);
      |                              ^~~
%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:13:24: In prototype for 'f2args1_bad', the argumement counts do not match the out-of-block declaration (IEEE 1800-2023 8.24)
                                                      : ... note: In instance 't'
   13 |   extern function void f2args1_bad(bit a);   
      |                        ^~~~~~~~~~~
                     t/t_class_extern_args_bad.v:32:15: ... Location of out-of-block declaration
   32 | function void Cls::f2args1_bad(bit a, bit b);
      |               ^~~
%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:14:24: In prototype for 'f2args2', the argumement counts do not match the out-of-block declaration (IEEE 1800-2023 8.24)
                                                      : ... note: In instance 't'
   14 |   extern function void f2args2(bit a);   
      |                        ^~~~~~~
                     t/t_class_extern_args_bad.v:35:15: ... Location of out-of-block declaration
   35 | function void Cls::f2args2(bit a, bit b);
      |               ^~~
%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:15:24: In prototype for 'f2args3_bad', the argumement counts do not match the out-of-block declaration (IEEE 1800-2023 8.24)
                                                      : ... note: In instance 't'
   15 |   extern function void f2args3_bad(bit a, bit b, bit c);   
      |                        ^~~~~~~~~~~
                     t/t_class_extern_args_bad.v:38:15: ... Location of out-of-block declaration
   38 | function void Cls::f2args3_bad(bit a, bit b);
      |               ^~~
%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:16:38: In prototype for 'farg_name_bad', argument 1 named 'declnamebad' mismatches out-of-block argument name 'declname'  (IEEE 1800-2023 8.24)
                                                      : ... note: In instance 't'
   16 |   extern function void farg_name_bad(bit declnamebad);   
      |                                      ^~~
                     t/t_class_extern_args_bad.v:41:34: ... Location of out-of-block declaration
   41 | function void Cls::farg_name_bad(bit declname);
      |                                  ^~~
%Error: Exiting due to