37 lines
2.7 KiB
Plaintext
37 lines
2.7 KiB
Plaintext
%Warning-WIDTHTRUNC: t/t_dynarray_method_bad.v:21:7: Operator ASSIGN expects 32 bits on the Assign RHS, but Assign RHS's CMETHODHARD 'r_sum' generates 64 bits.
|
|
: ... note: In instance 't'
|
|
21 | i = s.sum with (item.len);
|
|
| ^
|
|
... 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.
|
|
%Warning-WIDTHTRUNC: t/t_dynarray_method_bad.v:23:7: Operator ASSIGN expects 32 bits on the Assign RHS, but Assign RHS's CMETHODHARD 'r_product' generates 64 bits.
|
|
: ... note: In instance 't'
|
|
23 | i = s.product with (item.len);
|
|
| ^
|
|
%Warning-WIDTHTRUNC: t/t_dynarray_method_bad.v:25:7: Operator ASSIGN expects 1 bits on the Assign RHS, but Assign RHS's CMETHODHARD 'r_sum' generates 64 bits.
|
|
: ... note: In instance 't'
|
|
25 | b = s.sum with (item == "hello");
|
|
| ^
|
|
%Warning-WIDTHTRUNC: t/t_dynarray_method_bad.v:27:7: Operator ASSIGN expects 1 bits on the Assign RHS, but Assign RHS's CMETHODHARD 'r_sum' generates 64 bits.
|
|
: ... note: In instance 't'
|
|
27 | b = s.sum with (item == "");
|
|
| ^
|
|
%Warning-WIDTHTRUNC: t/t_dynarray_method_bad.v:29:7: Operator ASSIGN expects 1 bits on the Assign RHS, but Assign RHS's CMETHODHARD 'r_product' generates 64 bits.
|
|
: ... note: In instance 't'
|
|
29 | b = s.product with (item inside {"hello", "sad"});
|
|
| ^
|
|
%Warning-WIDTHTRUNC: t/t_dynarray_method_bad.v:31:7: Operator ASSIGN expects 1 bits on the Assign RHS, but Assign RHS's CMETHODHARD 'r_product' generates 64 bits.
|
|
: ... note: In instance 't'
|
|
31 | b = s.product with (item inside {"hello", "sad", "world"});
|
|
| ^
|
|
%Error-UNSUPPORTED: t/t_dynarray_method_bad.v:34:11: Unsupported/unknown built-in dynamic array method 'unknown_bad'
|
|
: ... note: In instance 't'
|
|
34 | b = s.unknown_bad;
|
|
| ^~~~~~~~~~~
|
|
... For error description see https://verilator.org/warn/UNSUPPORTED?v=latest
|
|
%Warning-WIDTHTRUNC: t/t_dynarray_method_bad.v:34:7: Operator ASSIGN expects 1 bits on the Assign RHS, but Assign RHS's METHODCALL 'unknown_bad' generates 64 bits.
|
|
: ... note: In instance 't'
|
|
34 | b = s.unknown_bad;
|
|
| ^
|
|
%Error: Exiting due to
|