File: t_dpi_dup_bad.out

package info (click to toggle)
verilator 4.038-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 29,596 kB
  • sloc: cpp: 90,585; perl: 15,101; ansic: 8,573; yacc: 3,626; lex: 1,616; makefile: 1,101; sh: 175; python: 145
file content (8 lines) | stat: -rw-r--r-- 621 bytes parent folder | download
1
2
3
4
5
6
7
8
%Error: t/t_dpi_dup_bad.v:13:51: Duplicate declaration of DPI function with different formal arguments: 't.oth_f_int2'
   13 |    import "DPI-C" pure dpii_fa_bit = function int oth_f_int2(input int i, input int bad);
      |                                                   ^~~~~~~~~~
                               : ... New prototype:      pure int dpii_fa_bit (int, int)
        t/t_dpi_dup_bad.v:12:47: ... Original prototype: int dpii_fa_bit (int)
   12 |    import "DPI-C" dpii_fa_bit =  function int oth_f_int1(input int i);
      |                                               ^~~~~~~~~~
%Error: Exiting due to