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

What will the following code segment generate on synthesis, assuming that the four variables data0, data1, data2 and data3 map into four latches/flip-flops? always @(posedge clock) begin data

15/21

What will the following code segment generate on synthesis, assuming that the four variables data0, data1, data2 and data3 map into four latches/flip-flops?

always @(posedge clock)

begin

data3 = din;

data2 = data3;

data1 = data2;

data0 = data1;

end

If A = 4b001x and B = 4b1011, then result of A + B will be

110x

1100

xxxx

None of the above

Giải thích

Chọn đáp án C.