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

Consider the following Verilog code segment: wire [5:0] A, B; wire

21/21

Consider the following Verilog code segment:
wire [5:0] A, B;
wire C;
assign C=^A;
If the values of A and B are 5’b10011 and 5’b01110 respectively, what will be the value of {A[3:1], 2{C}, B[2:0]}?

00100110

00111110

01111110

None of these

Giải thích

Chọn đáp án B.