File size: 344 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 | module top (clk,
in1,
out1);
input clk;
input in1;
output out1;
wire sub_out;
BUF_X4 load (.A(sub_out),
.Z(out1));
SUBMOD sub_inst (.in(in1),
.out(sub_out));
endmodule
module SUBMOD (in,
out);
input in;
output out;
wire net1;
BUF_X2 buf (.A(in),
.Z(net1));
BUF_X1 load0 (.A(net1),
.Z(out));
endmodule
|