File: autoinst_rogoff.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 (52 lines) | stat: -rw-r--r-- 1,099 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
50
51
52
module  testmux();
   # (parameter WIDTH = 32)
   (
    input wire [2:0]    /* synopsys enum cur_info */ sel,
    input wire [WIDTH-1:0] a,
    output reg [WIDTH-1:0] out
    );
endmodule

module  top_test();

   /*AUTOWIRE*/

   /*AUTO_LISP(setq verilog-auto-inst-param-value nil)*/

   /* testmux AUTO_TEMPLATE "testmux_\(.*\)" (
    .a (@_a_symbolic[]),
    .out (@_out_symbolic[]),
    );
    */

   testmux #(.WIDTH(  16  )) testmux_boo
     (/*AUTOINST*/);

   testmux  testmux_defaultwidth
     (/*AUTOINST*/);

   //======================================================================

   /*AUTO_LISP(setq verilog-auto-inst-param-value t)*/

   /* testmux AUTO_TEMPLATE "testmux_\(.*\)" (
    .a (@_a_value[]),
    .out (@_out_value[]),
    );
    */

   testmux #(.IGNORE((1)),
	     .WIDTH(  16  ),
	     .IGNORE2(2))
     testmux_boo
       (/*AUTOINST*/);

   //======================================================================

   testmux #(.IGNORE((1)),
	     .WIDTH(WIDTH),   // Make sure we don't recurse!
	     .IGNORE2(2))
     testmux_boo
       (/*AUTOINST*/);

endmodule