Câu hỏi:

29/09/2025 16 Lưu

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

A.

110x

B.

1100

C.

xxxx

D.

None of the above

Quảng cáo

Trả lời:

verified Giải bởi Vietjack

Chọn đáp án C.

CÂU HỎI HOT CÙNG CHỦ ĐỀ

Câu 1

A.

None of the above

B.

Suspend simulation

C.

End simulation

D.

Exit simulator

Lời giải

Chọn đáp án D.

Câu 2

A.

9

B.

Invalid expression

C.

6

D.

27

Lời giải

Chọn đáp án D.

Câu 3

A.

It cannot be determined exactly how many times the value of ‘x’ will be printed

B.

The simulation will print the current value of ‘x’ 15-times

C.

The simulation will print the current value of ‘x’ 13-times

D.

The simulation will always display 15 as the value of ‘x’

Lời giải

Bạn cần đăng ký gói VIP ( giá chỉ từ 199K ) để làm bài, xem đáp án và lời giải chi tiết không giới hạn.

Nâng cấp VIP

Lời giải

Bạn cần đăng ký gói VIP ( giá chỉ từ 199K ) để làm bài, xem đáp án và lời giải chi tiết không giới hạn.

Nâng cấp VIP

Lời giải

Bạn cần đăng ký gói VIP ( giá chỉ từ 199K ) để làm bài, xem đáp án và lời giải chi tiết không giới hạn.

Nâng cấp VIP

Câu 6

A.

All of the above

B.

A variable index used at the RHS of an “assign” statement generates a multiplexer whereas usage of it at the LHS results in a decoder

C.

The “assign” statement can be used to implement both combinational as well as sequential circuits

D.

The use of conditional operator in an “assign” statement always results in a multiplexer

Lời giải

Bạn cần đăng ký gói VIP ( giá chỉ từ 199K ) để làm bài, xem đáp án và lời giải chi tiết không giới hạn.

Nâng cấp VIP

Câu 7

A.

100ns/110ps

B.

1ns/1ps

C.

100ns/100ps

D.

10ns/1ps

Lời giải

Bạn cần đăng ký gói VIP ( giá chỉ từ 199K ) để làm bài, xem đáp án và lời giải chi tiết không giới hạn.

Nâng cấp VIP