cc_mxca.v 2.2 KB
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module:	cc_mxca
// description:	9 bit 8->1 mux for color combine unit.
//
// designer:	Phil Gossett
// date:	6/25/94
//
////////////////////////////////////////////////////////////////////////

module cc_mxca (s, i0i, i1i, i2i, i3i, i4i, i5i, i6i, i7i, z);

input [2:0] s;
input [8:0] i0i;
input [8:0] i1i;
input [8:0] i2i;
input [8:0] i3i;
input [8:0] i4i;
input [8:0] i5i;
input [8:0] i6i;
input [8:0] i7i;

output [8:0] z;

mx81d1h mx9b0 (.s0(s[0]), .s1(s[1]), .s2(s[2]),
	       .i0(i0i[0]), .i1(i1i[0]), .i2(i2i[0]), .i3(i3i[0]), 
	       .i4(i4i[0]), .i5(i5i[0]), .i6(i6i[0]), .i7(i7i[0]), 
	       .z(z[0]));
mx81d1h mx9b1 (.s0(s[0]), .s1(s[1]), .s2(s[2]),
	       .i0(i0i[1]), .i1(i1i[1]), .i2(i2i[1]), .i3(i3i[1]), 
	       .i4(i4i[1]), .i5(i5i[1]), .i6(i6i[1]), .i7(i7i[1]), 
	       .z(z[1]));
mx81d1h mx9b2 (.s0(s[0]), .s1(s[1]), .s2(s[2]),
	       .i0(i0i[2]), .i1(i1i[2]), .i2(i2i[2]), .i3(i3i[2]), 
	       .i4(i4i[2]), .i5(i5i[2]), .i6(i6i[2]), .i7(i7i[2]), 
	       .z(z[2]));
mx81d1h mx9b3 (.s0(s[0]), .s1(s[1]), .s2(s[2]),
	       .i0(i0i[3]), .i1(i1i[3]), .i2(i2i[3]), .i3(i3i[3]), 
	       .i4(i4i[3]), .i5(i5i[3]), .i6(i6i[3]), .i7(i7i[3]), 
	       .z(z[3]));
mx81d1h mx9b4 (.s0(s[0]), .s1(s[1]), .s2(s[2]),
	       .i0(i0i[4]), .i1(i1i[4]), .i2(i2i[4]), .i3(i3i[4]), 
	       .i4(i4i[4]), .i5(i5i[4]), .i6(i6i[4]), .i7(i7i[4]), 
	       .z(z[4]));
mx81d1h mx9b5 (.s0(s[0]), .s1(s[1]), .s2(s[2]),
	       .i0(i0i[5]), .i1(i1i[5]), .i2(i2i[5]), .i3(i3i[5]), 
	       .i4(i4i[5]), .i5(i5i[5]), .i6(i6i[5]), .i7(i7i[5]), 
	       .z(z[5]));
mx81d1h mx9b6 (.s0(s[0]), .s1(s[1]), .s2(s[2]),
	       .i0(i0i[6]), .i1(i1i[6]), .i2(i2i[6]), .i3(i3i[6]), 
	       .i4(i4i[6]), .i5(i5i[6]), .i6(i6i[6]), .i7(i7i[6]), 
	       .z(z[6]));
mx81d1h mx9b7 (.s0(s[0]), .s1(s[1]), .s2(s[2]),
	       .i0(i0i[7]), .i1(i1i[7]), .i2(i2i[7]), .i3(i3i[7]), 
	       .i4(i4i[7]), .i5(i5i[7]), .i6(i6i[7]), .i7(i7i[7]), 
	       .z(z[7]));
mx81d1h mx9b8 (.s0(s[0]), .s1(s[1]), .s2(s[2]),
	       .i0(i0i[8]), .i1(i1i[8]), .i2(i2i[8]), .i3(i3i[8]), 
	       .i4(i4i[8]), .i5(i5i[8]), .i6(i6i[8]), .i7(i7i[8]), 
	       .z(z[8]));

endmodule // cc_mxca