File: t_split_var_1_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 (83 lines) | stat: -rw-r--r-- 7,131 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
76
77
78
79
80
81
82
83
%Warning-SPLITVAR: t/t_split_var_1_bad.v:7:13: 'should_show_warning_global0' has split_var metacomment, but will not be split because it is not declared in a module.
    7 | logic [7:0] should_show_warning_global0 /*verilator split_var*/ ;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                   ... For warning description see https://verilator.org/warn/SPLITVAR?v=latest
                   ... Use "/* verilator lint_off SPLITVAR */" and lint_on around source to disable this message.
%Warning-SPLITVAR: t/t_split_var_1_bad.v:8:13: 'should_show_warning_global1' has split_var metacomment, but will not be split because it is not declared in a module.
    8 | logic [7:0] should_show_warning_global1 [1:0] /*verilator split_var*/ ;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:11:16: 'should_show_warning_ifs0' has split_var metacomment, but will not be split because it is not declared in a module.
   11 |    logic [7:0] should_show_warning_ifs0 /*verilator split_var*/ ;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:12:16: 'should_show_warning_ifs1' has split_var metacomment, but will not be split because it is not declared in a module.
   12 |    logic [7:0] should_show_warning_ifs1 [1:0] /*verilator split_var*/ ;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:40:14: 'cannot_split1' has split_var metacomment but will not be split because it is accessed from another module via a dot.
   40 |       i_sub0.cannot_split1[0] = 0;
      |              ^~~~~~~~~~~~~
%Warning-SELRANGE: t/t_split_var_1_bad.v:90:33: Selection index out of range: 13 outside 12:10
                                              : ... note: In instance 't.i_sub3'
   90 |    assign outwires[12] = inwires[13];   
      |                                 ^
                   ... For warning description see https://verilator.org/warn/SELRANGE?v=latest
                   ... Use "/* verilator lint_off SELRANGE */" and lint_on around source to disable this message.
%Warning-WIDTHTRUNC: t/t_split_var_1_bad.v:41:31: Operator ASSIGN expects 8 bits on the Assign RHS, but Assign RHS's FUNCREF 'bad_func' generates 32 bits.
                                                : ... note: In instance 't'
   41 |       i_sub0.cannot_split1[1] = bad_func(addr, rd_data0);
      |                               ^
                     ... For warning description see https://verilator.org/warn/WIDTHTRUNC?v=latest
                     ... Use "/* verilator lint_off WIDTHTRUNC */" and lint_on around source to disable this message.
%Error: t/t_split_var_1_bad.v:79:16: Illegal assignment of constant to unpacked array
                                   : ... note: In instance 't.i_sub2'
   79 |    assign b = a[0];   
      |                ^
        ... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
%Warning-SPLITVAR: t/t_split_var_1_bad.v:56:31: 'cannot_split0' has split_var metacomment but will not be split because index cannot be determined statically.
                                              : ... note: In instance 't.i_sub0'
   56 |       rd_data = cannot_split0[addr];
      |                               ^~~~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:90:34: 'inwires' has split_var metacomment but will not be split because index is out of range.
                                              : ... note: In instance 't.i_sub3'
   90 |    assign outwires[12] = inwires[13];   
      |                                  ^~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:17:9: 'should_show_warning0' has split_var metacomment but will not be split because it is not an aggregate type of bit nor logic.
                                             : ... note: In instance 't'
   17 |    real should_show_warning0                  /*verilator split_var*/ ;
      |         ^~~~~~~~~~~~~~~~~~~~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:18:11: 'should_show_warning1' has split_var metacomment but will not be split because it is not an aggregate type of bit nor logic.
                                              : ... note: In instance 't'
   18 |    string should_show_warning1                /*verilator split_var*/ ;
      |           ^~~~~~~~~~~~~~~~~~~~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:19:11: 'should_show_warning2' has split_var metacomment but will not be split because its bitwidth is 1.
                                              : ... note: In instance 't'
   19 |    wire   should_show_warning2                /*verilator split_var*/ ;
      |           ^~~~~~~~~~~~~~~~~~~~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:23:16: 'public_signal' has split_var metacomment but will not be split because it is public.
                                              : ... note: In instance 't'
   23 |    logic [1:0] public_signal /*verilator public*/  /*verilator split_var*/ ;
      |                ^~~~~~~~~~~~~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:31:44: 'inout_port' has split_var metacomment but will not be split because it is an inout port.
                                              : ... note: In instance 't'
   31 |    function int bad_func(inout logic [3:0] inout_port /*verilator split_var*/ ,
      |                                            ^~~~~~~~~~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:32:42: 'ref_port' has split_var metacomment but will not be split because it is a ref argument.
                                              : ... note: In instance 't'
   32 |                          ref logic [7:0] ref_port /*verilator split_var*/ );
      |                                          ^~~~~~~~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:37:19: 'loop_idx' has split_var metacomment but will not be split because it is used as a loop variable.
                                              : ... note: In instance 't'
   37 |       logic [7:0] loop_idx /*verilator split_var*/ ;
      |                   ^~~~~~~~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:62:11: 'cannot_split_genvar' has split_var metacomment but will not be split because it is not an aggregate type of bit nor logic.
                                              : ... note: In instance 't.i_sub1'
   62 |    genvar cannot_split_genvar /*verilator split_var*/ ;
      |           ^~~~~~~~~~~~~~~~~~~
%Warning-SPLITVAR: t/t_split_var_1_bad.v:65:65: 'cannot_split' has split_var metacomment but will not be split because its bit range cannot be determined statically.
                                              : ... note: In instance 't.i_sub1'
   65 |       logic [8:0] rd_tmp /*verilator split_var*/  = cannot_split[addr];
      |                                                                 ^
%Warning-SPLITVAR: t/t_split_var_1_bad.v:66:23: 'rd_tmp' has split_var metacomment but will not be split because its bit range cannot be determined statically.
                                              : ... note: In instance 't.i_sub1'
   66 |       rd_data = rd_tmp[{3'b0, addr[0]}+:8];
      |                       ^
%Error: Exiting due to