verilator/test_regress/t/t_dpi_2exparg_bad.out
2023-09-23 08:52:50 -04:00

19 lines
1.5 KiB
Plaintext

%Warning-WIDTHEXPAND: t/t_dpi_2exparg_bad.v:19:56: Operator NOT expects 64 bits on the LHS, but LHS's VARREF 'i' generates 32 bits.
: ... note: In instance 't.b'
19 | task dpix_twice(input int i, output [63:0] o); o = ~i; endtask
| ^
... For warning description see https://verilator.org/warn/WIDTHEXPAND?v=latest
... Use "/* verilator lint_off WIDTHEXPAND */" and lint_on around source to disable this message.
%Warning-WIDTHTRUNC: t/t_dpi_2exparg_bad.v:12:53: Operator ASSIGN expects 3 bits on the Assign RHS, but Assign RHS's NOT generates 32 bits.
: ... note: In instance 't.a'
12 | task dpix_twice(input int i, output [2:0] o); o = ~i; endtask
| ^
%Error: t/t_dpi_2exparg_bad.v:19:9: Duplicate declaration of DPI function with different signature: 'dpix_twice'
19 | task dpix_twice(input int i, output [63:0] o); o = ~i; endtask
| ^~~~~~~~~~
: ... New signature: void dpix_twice (int, svLogicVecVal* /* logic[63:0] */ )
t/t_dpi_2exparg_bad.v:12:9: ... Original signature: void dpix_twice (int, svLogicVecVal* /* logic[2:0] */ )
12 | task dpix_twice(input int i, output [2:0] o); o = ~i; endtask
| ^~~~~~~~~~
%Error: Exiting due to