File size: 394 Bytes
f61bac1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
module top (clk,
    in1,
    out1,
    out2);
 input clk;
 input in1;
 output out1;
 output out2;

 wire net1;
 wire net2;

 BUF_X1 drvr (.A(in1),
    .Z(net1));
 BUF_X2 buf (.A(net1),
    .Z(net2));
 BUF_X4 load (.A(net2),
    .Z(out1));
 SUBMOD sub_inst (.in(net2),
    .out(out2));
endmodule

module SUBMOD (in,
    out);
 input in;
 output out;

 BUF_X1 load0 (.A(in), .Z(out));
endmodule