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

What does the following code segment indicate? initial clk = 1’b0; always #5 clk = ~clk;

10/21

What does the following code segment indicate?

initial clk = 1’b0;

always #5 clk = ~clk;

Raising edges of the clock will appear at times 5, 15, 25, 35, …

Raising edges of the clock will appear at times 5, 10, 15, 20, …

None of the above

Raising edges of the clock will appear at times 10, 20, 30, 40, …

Giải thích

Chọn đáp án A.