cc_mux8.v 884 Bytes
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module:	cc_mux8
// description:	8 bit 2->1 mux for color combine unit.
//
// designer:	Phil Gossett
// date:	6/25/94
//
////////////////////////////////////////////////////////////////////////

module cc_mux8 (s, i0i, i1i, z);

input s;
input [7:0] i0i;
input [7:0] i1i;

output [7:0] z;

mx21d1h mx8b0 (.s(s), .i0(i0i[0]), .i1(i1i[0]), .z(z[0]));
mx21d1h mx8b1 (.s(s), .i0(i0i[1]), .i1(i1i[1]), .z(z[1]));
mx21d1h mx8b2 (.s(s), .i0(i0i[2]), .i1(i1i[2]), .z(z[2]));
mx21d1h mx8b3 (.s(s), .i0(i0i[3]), .i1(i1i[3]), .z(z[3]));
mx21d1h mx8b4 (.s(s), .i0(i0i[4]), .i1(i1i[4]), .z(z[4]));
mx21d1h mx8b5 (.s(s), .i0(i0i[5]), .i1(i1i[5]), .z(z[5]));
mx21d1h mx8b6 (.s(s), .i0(i0i[6]), .i1(i1i[6]), .z(z[6]));
mx21d1h mx8b7 (.s(s), .i0(i0i[7]), .i1(i1i[7]), .z(z[7]));

endmodule // cc_mux8