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 53 54 55 56 57 58 59 60 61 62 63 64
|
module io1_sub(
/*AUTOARG*/
// Outputs
sec_out,
// Inouts
sec_io,
// Inputs
sec_ina
);
/*AUTOINPUT("^s")*/
// Beginning of automatic inputs (from unused autoinst inputs)
input sec_ina; // To instio of instio.v
// End of automatics
/*AUTOINOUT("^s")*/
// Beginning of automatic inouts (from unused autoinst inouts)
inout sec_io; // To/From instio of instio.v
// End of automatics
/*AUTOOUTPUT("^s")*/
// Beginning of automatic outputs (from unused autoinst outputs)
output sec_out; // From instio of instio.v
// End of automatics
/* inst AUTO_TEMPLATE (
.lower_inb (1'b1),
)*/
instio instio (/*AUTOINST*/
// Outputs
.lower_out (lower_out),
.sec_out (sec_out),
// Inouts
.lower_io (lower_io),
.sec_io (sec_io),
// Inputs
.lower_ina (lower_ina),
.sec_ina (sec_ina));
endmodule
module instio (/*AUTOARG*/
// Outputs
lower_out, sec_out,
// Inouts
lower_io, sec_io,
// Inputs
lower_ina, sec_ina
);
input lower_ina;
inout lower_io;
output lower_out;
input sec_ina;
inout sec_io;
output sec_out;
wire lower_out = lower_ina | lower_io;
wire sec_out = sec_ina | sec_io;
endmodule
|