[an error occurred while processing this directive]
|
module Test(A,B,C,D, SEL, Y);
input [7:0] A,B,C,D;
input [11:0]SEL;
output wor [7:0] M;
assign Y=(SEL==10'b10100000000)? M : 8'ZZZZZZZZ;
assign M=(SEL==2'b00)? A : 8'd0;
assign M=(SEL==2'b01)? B : 8'd0;
assign M=(SEL==2'b10)? C : 8'd0;
assign M=(SEL==2'b11)? D : 8'd0;
endmodule
E-mail: info@telesys.ru