File: autoinout_moller.v

package info (click to toggle)
verilog-mode 20161124.fd230e6-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 3,764 kB
  • ctags: 5,143
  • sloc: lisp: 12,430; perl: 293; makefile: 146; sh: 35; fortran: 2
file content (49 lines) | stat: -rw-r--r-- 825 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
module a ( /*AUTOARG*/
   // Outputs
   o1,
   // Inouts
   io1,
   // Inputs
   i1
   ) ;

   /*AUTOINPUT*/
   // Beginning of automatic inputs (from unused autoinst inputs)
   input		i1;			// To b of b.v
   // End of automatics

   /*AUTOOUTPUT*/
   // Beginning of automatic outputs (from unused autoinst outputs)
   output		o1;			// From b of b.v
   // End of automatics

   /*AUTOINOUT*/
   // Beginning of automatic inouts (from unused autoinst inouts)
   inout		io1;			// To/From b of b.v
   // End of automatics

   b b
     (/*AUTOINST*/
      // Outputs
      .o1				(o1),
      // Inouts
      .io1				(io1),
      // Inputs
      .i1				(i1));

endmodule // a

module b (/*AUTOARG*/
   // Outputs
   o1,
   // Inouts
   io1,
   // Inputs
   i1
   ) ;

   input i1 ;
   output o1 ;
   inout  io1 ;

endmodule // b