cc_mux5.v
707 Bytes
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module: cc_mux5
// description: 5 bit 2->1 mux for color combine unit.
//
// designer: Phil Gossett
// date: 6/25/94
//
////////////////////////////////////////////////////////////////////////
module cc_mux5 (s, i0i, i1i, z);
input s;
input [4:0] i0i;
input [4:0] i1i;
output [4:0] z;
mx21d1h mx5b0 (.s(s), .i0(i0i[0]), .i1(i1i[0]), .z(z[0]));
mx21d1h mx5b1 (.s(s), .i0(i0i[1]), .i1(i1i[1]), .z(z[1]));
mx21d1h mx5b2 (.s(s), .i0(i0i[2]), .i1(i1i[2]), .z(z[2]));
mx21d1h mx5b3 (.s(s), .i0(i0i[3]), .i1(i1i[3]), .z(z[3]));
mx21d1h mx5b4 (.s(s), .i0(i0i[4]), .i1(i1i[4]), .z(z[4]));
endmodule // cc_mux5