单项选择题
下面的代码,会生成级联电路。module test(SEL,A,B,C,D,Y);input [1:0] SEL;input A,B,C,D;output Y;reg Y;always@(SEL,A,B,C,D) beginif(SEL==2'b00) Y=A;else if(SEL==2'b01) Y=B;else if(SEL==2'b10) Y=C;else Y=D;endendmodule( )
A.对B.错
点击查看答案
相关考题
