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

14/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

None of these

A 4-bit parallel-in parallel-out register

A 4-bit shift register

Four D flip-flops all fed with the data “din”

Giải thích

Chọn đáp án C.