File: t_mod_dup_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 (17 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%Warning-MODDUP: t/t_mod_dup_bad.v:14:8: Duplicate declaration of module: 'a'
   14 | module a();
      |        ^
                 t/t_mod_dup_bad.v:7:8: ... Location of original declaration
    7 | module a();
      |        ^
                 ... For warning description see https://verilator.org/warn/MODDUP?v=latest
                 ... Use "/* verilator lint_off MODDUP */" and lint_on around source to disable this message.
%Warning-MULTITOP: t/t_mod_dup_bad.v:17:8: Multiple top level modules
                                         : ... Suggest see manual; fix the duplicates, or use --top-module to select top.
                                         : ... Top module 'test'
   10 | module test();
      |        ^~~~
                                         : ... Top module 'b'
   17 | module b();
      |        ^
%Error: Exiting due to