File: autoinst_atregexp.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 (35 lines) | stat: -rw-r--r-- 1,477 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
module ex;
   
   /* autoinst_paramover_sub AUTO_TEMPLATE "u_\(.*\)" (
    .a(inA_@[]),
    .b(outA_@[]),
    );*/
   
   autoinst_paramover_sub u_foo(/*AUTOINST*/
                                // Inouts
                                .a              (inA_foo[bitsa:0]), // Templated
                                .b              (outA_foo[bitsb:0])); // Templated
   autoinst_paramover_sub u_bar(/*AUTOINST*/
                                // Inouts
                                .a              (inA_bar[bitsa:0]), // Templated
                                .b              (outA_bar[bitsb:0])); // Templated
   autoinst_paramover_sub u_baz(/*AUTOINST*/
                                // Inouts
                                .a              (inA_baz[bitsa:0]), // Templated
                                .b              (outA_baz[bitsb:0])); // Templated
   
   /* autoinst_paramover_sub AUTO_TEMPLATE (
    .a(inN_@[]),
    .b(outN_@[]),
    );*/
   
   autoinst_paramover_sub u_0_2(/*AUTOINST*/
                                // Inouts
                                .a              (inN_0[bitsa:0]), // Templated
                                .b              (outN_0[bitsb:0])); // Templated
   autoinst_paramover_sub u_1_3(/*AUTOINST*/
                                // Inouts
                                .a              (inN_1[bitsa:0]), // Templated
                                .b              (outN_1[bitsb:0])); // Templated
   
endmodule