Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

DSL3:01 3:0 88 DS[7:4] B[3:0] KEY 13:21 C[1:0 Figure 1: Top-level view of the CA

ID: 2082056 • Letter: D

Question

DSL3:01 3:0 88 DS[7:4] B[3:0] KEY 13:21 C[1:0 Figure 1: Top-level view of the CALCULATOR circuit Design Specification The top-level schematic of the CALCULATOR circuit is shown in Figure 1. It has a 2-bit opcode Cand two 4-bit operands A and B that represent two's generated according to the following function table: Key 3 (C1) Key2 (CO) Operation Pressed Pressed Display A+B Pressed Unpressed Display A-B Unpressed Pressed Display the absolute value of B Unpressed Unpressed Display the absolute value of A Table 1: Calculator operations

Explanation / Answer

Module Display( A, B, C, F)

input [3:0] A;

input [3:0] B;

input [1:0] C;

output [7:0] F;

always@ ( C )

case (C)

endcase

endmodule