verilator/test_regress/t/t_dynarray_method_bad.out

37 lines
2.7 KiB
Plaintext
Raw Normal View History

2026-03-08 23:26:40 +01:00
%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'
2026-03-08 23:26:40 +01:00
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.
2026-03-08 23:26:40 +01:00
%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'
2026-03-08 23:26:40 +01:00
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'
2026-03-08 23:26:40 +01:00
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'
2026-03-08 23:26:40 +01:00
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'
2026-03-08 23:26:40 +01:00
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'
2026-03-08 23:26:40 +01:00
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'
2025-05-17 04:32:25 +02:00
: ... note: In instance 't'
2026-03-08 23:26:40 +01:00
34 | b = s.unknown_bad;
| ^~~~~~~~~~~
2025-05-17 04:32:25 +02:00
... For error description see https://verilator.org/warn/UNSUPPORTED?v=latest
2026-03-08 23:26:40 +01:00
%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.
2025-05-17 04:32:25 +02:00
: ... note: In instance 't'
2026-03-08 23:26:40 +01:00
34 | b = s.unknown_bad;
| ^
%Error: Exiting due to