• 2022-06-08 问题

    下面哪种代码执行后是与其他结果不一样的? A: module mux2_1(a,b,sel,out); input a,b,sel; output out; assign out=(sel==1)?a:b; endmodule B: module mux2_1(a,b,sel,out); input a,b,sel; output out; reg out; always@(a or b or sel) begin case(sel) 0: out=a; 1: out=b; endcase end endmodule C: module mux2_1(a,b,sel,out); input a,b,sel; output out; reg out; always@(*) if(sel==0) out=a; else out=b; endmodule

    下面哪种代码执行后是与其他结果不一样的? A: module mux2_1(a,b,sel,out); input a,b,sel; output out; assign out=(sel==1)?a:b; endmodule B: module mux2_1(a,b,sel,out); input a,b,sel; output out; reg out; always@(a or b or sel) begin case(sel) 0: out=a; 1: out=b; endcase end endmodule C: module mux2_1(a,b,sel,out); input a,b,sel; output out; reg out; always@(*) if(sel==0) out=a; else out=b; endmodule

  • 2022-06-04 问题

    SEL-321保护接地距离元件的特性可选()。

    SEL-321保护接地距离元件的特性可选()。

  • 2022-06-12 问题

    在Excel工作表的单元格中输入文本型数据321,下列输入中正确的是______。 A: '321' B: "321 C: '321 D: "321"

    在Excel工作表的单元格中输入文本型数据321,下列输入中正确的是______。 A: '321' B: "321 C: '321 D: "321"

  • 2022-06-16 问题

    celebrate/ˈselɪbreɪt/

    celebrate/ˈselɪbreɪt/

  • 2021-04-14 问题

    中国大学MOOC: 在语句assign Y = sel ? 0 : 1;中,当sel=0时,Y的值为( )

    中国大学MOOC: 在语句assign Y = sel ? 0 : 1;中,当sel=0时,Y的值为( )

  • 2021-04-14 问题

    在语句assign Y = sel ? 0 : 1;中,当sel=0时,Y的值为( )? z|x|0|1

    在语句assign Y = sel ? 0 : 1;中,当sel=0时,Y的值为( )? z|x|0|1

  • 2021-04-14 问题

    语句“SEL<= B&A”的作用是(      )

    语句“SEL<= B&A”的作用是(      )

  • 2021-04-14 问题

    321

    321

  • 2021-04-14 问题

    语句组“PROCESS(SEL) ...END PROCESS”的作用(     )

    语句组“PROCESS(SEL) ...END PROCESS”的作用(     )

  • 2022-06-26 问题

    以下语言是数据流建模方式吗? A: xor x1(a,b,c): B: assign adder_out = mult_out + out; C: always @ (a or b or sel) begin if (sel) c = a; else c = b;?end D: and a1(out,in1,in2);

    以下语言是数据流建模方式吗? A: xor x1(a,b,c): B: assign adder_out = mult_out + out; C: always @ (a or b or sel) begin if (sel) c = a; else c = b;?end D: and a1(out,in1,in2);

  • 1 2 3 4 5 6 7 8 9 10