assign
举一反三
- 下列语句书写是合法的,并且描述了一个四路选通器。assign Mux = (S = = 0)? A : bz;assign Mux = (S = = 1)? B : bz;assign Mux = (S = = 2)? C : bz;assign Mux = (S = = 3)? D : bz;
- 编写三人表决器设计,根据少数服从多数原则,以下代码设计合理的是( )。注:1-赞成/通过 0-反对/否决 A: assign result=d0+d1+d2; assign u=(result>=2)?1’b1:1’b0; B: assign result=d0+d1+d2; assign u=(result>=2)?1’b0:1’b1; C: assign u=((d0+d1+d2)>2)?1’b0:1’b1; D: assign u=((d0+d1+d2)>2)?1’b1:1’b0;
- 下列采用持续赋值语句描述表达式[img=102x37]17e437577964a35.png[/img]正确的是( ) A: assign m = ~((a&b)|( ~c&d)); B: assign m = ~((a*b)+(~(c*d))); C: assign m = ~((a&b)|(~(c&d))); D: assign m = (~(a*b)+(~(c*d)));
- The manager is _____ the work to several clerks. (assign)
- Today I have an ____(assign) for you.