File: t_dpi_2exparg_bad.out

package info (click to toggle)
verilator 5.032-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 93,932 kB
  • sloc: cpp: 131,288; python: 19,365; ansic: 10,234; yacc: 5,733; lex: 1,905; makefile: 1,229; sh: 489; perl: 282; fortran: 22
file content (18 lines) | stat: -rw-r--r-- 1,499 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
%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