20+ câu trắc nghiệm Thiết kế hệ thống số dùng HDL có đáp án

Which of the following is true for the module given below? module mydesign (a,b,c); input

11/21

Which of the following is true for the module given below?
module mydesign (a,b,c);
input c;
output reg a, b;
always @(c)
begin
if (c == 1’b0)
begin
b <= ~a;
a <= ~(c | b);
end
else if (c == 1’b1)
a <= ~(b ^ c);
end
endmodule
(multiple choices)

The synthesis tool will give an error

A pure combinational circuit using NOT, NOR, and XNOR logic gates will be implemented

A latch with enable signal c will be generated for the output

A 2-to-1 multiplexer will be generated

Giải thích

Chọn đáp án B.