Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int Mux_32_1(int s0, int s1, int s2, int s3, int s4, int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7,
- int i8, int i9, int i10, int i11, int i12,int i13, int i14, int i15, int i16, int i17, int i18, int i19,
- int i20, int i21, int i22, int i23, int i24, int i25, int i26, int i27, int i28, int i29, int i30,
- int i31)
- {
- int y[11];
- y[0] = Mux_4_1(i0,i1,i2,i3,s0,s1);
- y[1] = Mux_4_1(i4,i5,i6,i7,s0,s1);
- y[2] = Mux_4_1(i8,i9,i10,i11,s0,s1);
- y[3] = Mux_4_1(i12,i13,i14,i15,s0,s1);
- y[4] = Mux_4_1(i16,i17,i18,i19,s0,s1);
- y[5] = Mux_4_1(i20,i21,i22,i23,s0,s1);
- y[6] = Mux_4_1(i24,i25,i26,i27,s0,s1);
- y[7] = Mux_4_1(i28,i29,i30,i31,s0,s1);
- y[8] = Mux_4_1(y[0],y[1],y[2],y[3],s2,s3);
- y[9] = Mux_4_1(y[4],y[5],y[6],y[7],s2,s3);
- y[10]= Mux_2_1(y[8],y[9],s4);
- return y[10];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement