2022-11-05 15:40:34 +00:00
|
|
|
%Error: t/t_select_bad_range4.v:17:8: Width of bit range is huge; vector of over 1 billion bits: 0x20000001
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
17 | reg [1<<29 : 0] hugerange;
|
|
|
|
| ^
|
|
|
|
%Error: t/t_select_bad_range4.v:20:16: Width of :+ or :- is < 0: 32'hffffffff
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
20 | sel2 = mi[44 +: -1];
|
|
|
|
| ^
|
2024-04-30 22:38:37 +00:00
|
|
|
%Error: t/t_select_bad_range4.v:20:16: Width of bit extract must be positive (IEEE 1800-2023 11.5.1)
|
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
20 | sel2 = mi[44 +: -1];
|
|
|
|
| ^
|
2024-04-30 22:38:37 +00:00
|
|
|
%Warning-WIDTHEXPAND: t/t_select_bad_range4.v:20:12: Operator ASSIGN expects 4 bits on the Assign RHS, but Assign RHS's SEL generates 1 bits.
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
20 | sel2 = mi[44 +: -1];
|
|
|
|
| ^
|
2024-04-30 22:38:37 +00:00
|
|
|
... For warning description see https://verilator.org/warn/WIDTHEXPAND?v=latest
|
2023-02-02 23:25:25 +00:00
|
|
|
... Use "/* verilator lint_off WIDTHEXPAND */" and lint_on around source to disable this message.
|
2022-11-05 15:40:34 +00:00
|
|
|
%Error: t/t_select_bad_range4.v:21:16: Width of :+ or :- is huge; vector of over 1 billion bits: 32'h20000000
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
21 | sel2 = mi[44 +: 1<<29];
|
|
|
|
| ^
|
|
|
|
%Warning-SELRANGE: t/t_select_bad_range4.v:21:16: Extracting 20000000 bits from only 6 bit number
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
21 | sel2 = mi[44 +: 1<<29];
|
|
|
|
| ^
|
|
|
|
%Warning-SELRANGE: t/t_select_bad_range4.v:21:16: Selection index out of range: 20000003:4 outside 2d:28
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
21 | sel2 = mi[44 +: 1<<29];
|
|
|
|
| ^
|
2023-02-02 23:25:25 +00:00
|
|
|
%Warning-WIDTHTRUNC: t/t_select_bad_range4.v:21:12: Operator ASSIGN expects 4 bits on the Assign RHS, but Assign RHS's SEL generates 20000000 bits.
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
21 | sel2 = mi[44 +: 1<<29];
|
|
|
|
| ^
|
|
|
|
%Error: t/t_select_bad_range4.v:22:23: Expecting expression to be constant, but variable isn't const: 'nonconst'
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
22 | sel2 = mi[44 +: nonconst];
|
|
|
|
| ^~~~~~~~
|
2023-03-21 00:44:11 +00:00
|
|
|
%Error: t/t_select_bad_range4.v:22:23: Width of :+ or :- bit slice range isn't a constant
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
22 | sel2 = mi[44 +: nonconst];
|
|
|
|
| ^~~~~~~~
|
2023-02-02 23:25:25 +00:00
|
|
|
%Warning-WIDTHEXPAND: t/t_select_bad_range4.v:22:12: Operator ASSIGN expects 4 bits on the Assign RHS, but Assign RHS's SEL generates 1 bits.
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
22 | sel2 = mi[44 +: nonconst];
|
|
|
|
| ^
|
2023-02-02 23:25:25 +00:00
|
|
|
%Warning-WIDTHEXPAND: t/t_select_bad_range4.v:23:17: Operator SUB expects 20 or 6 bits on the LHS, but LHS's VARREF 'nonconst' generates 1 bits.
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
23 | sel2 = mi[nonconst];
|
|
|
|
| ^~~~~~~~
|
2023-02-02 23:25:25 +00:00
|
|
|
%Warning-WIDTHEXPAND: t/t_select_bad_range4.v:23:12: Operator ASSIGN expects 4 bits on the Assign RHS, but Assign RHS's SEL generates 1 bits.
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
23 | sel2 = mi[nonconst];
|
|
|
|
| ^
|
|
|
|
%Error: t/t_select_bad_range4.v:24:17: First value of [a:b] isn't a constant, maybe you want +: or -:
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
24 | sel2 = mi[nonconst : nonconst];
|
|
|
|
| ^~~~~~~~
|
|
|
|
%Error: t/t_select_bad_range4.v:24:28: Second value of [a:b] isn't a constant, maybe you want +: or -:
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
24 | sel2 = mi[nonconst : nonconst];
|
|
|
|
| ^~~~~~~~
|
2023-02-02 23:25:25 +00:00
|
|
|
%Warning-WIDTHEXPAND: t/t_select_bad_range4.v:24:12: Operator ASSIGN expects 4 bits on the Assign RHS, but Assign RHS's SEL generates 1 bits.
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
24 | sel2 = mi[nonconst : nonconst];
|
|
|
|
| ^
|
|
|
|
%Warning-SELRANGE: t/t_select_bad_range4.v:25:16: Extracting 20000001 bits from only 6 bit number
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
25 | sel2 = mi[1<<29 : 0];
|
|
|
|
| ^
|
|
|
|
%Warning-SELRANGE: t/t_select_bad_range4.v:25:16: Selection index out of range: 1fffffd8:ffffffd8 outside 2d:28
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
25 | sel2 = mi[1<<29 : 0];
|
|
|
|
| ^
|
2023-02-02 23:25:25 +00:00
|
|
|
%Warning-WIDTHTRUNC: t/t_select_bad_range4.v:25:12: Operator ASSIGN expects 4 bits on the Assign RHS, but Assign RHS's SEL generates 20000001 bits.
|
2023-09-23 12:52:50 +00:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 15:40:34 +00:00
|
|
|
25 | sel2 = mi[1<<29 : 0];
|
|
|
|
| ^
|
|
|
|
%Error: Exiting due to
|