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

1) Using only two D flip-flops, two full-adders, and additional combinational st

ID: 3598618 • Letter: 1

Question

1) Using only two D flip-flops, two full-adders, and additional combinational structures and gates, design the least-significant two bits of a register with the following functionality: Control Inputs Operation Status Outputs | 0 | 0 | 1 | 1 | X | 0 | 1 | 0 | 1 | X | YA (Load) | Y Y x 2 (Multiply by 2) | Y Y + 1 (increment) | Y -Y-1 (Decrement) | Y 0 (Clear) 0 1 if next operation will cause overflow (asynchronous) OVER 0 0 Note: There are multiple solutions, but solutions using more adders or D flip-flops will be penalized. Use a minimal number of muxes and gates for full credit. The output, OVER, should assume unsigned binary operations (always zero for Load operations). A B A B Cin OVER

Explanation / Answer

register bank: 1 write port, 2 read ports
ALU : add
T register (temp reg)
32-bit bus
PC (program counter) with +1 op.
memory interface
MAR (mem address reg)
MBR (mem buffer reg)
IR (instruction reg)