Homework 3 Computer Organization
Due: Friday, 2/13/04
1) Draw a 4-bit register that is able to perform the following operations:
- parallel read/output of all bits
- parallel write/input of all bits
- circular shift left (value shifted out of most-significant bit is shifted into the least-significant bit)
- circular shift right (value shifted out of least-significant bit is shifted into the most-significant bit)
- arithmetic shift right (sign-extend the most-significant bit)
Hint: For each D-flip flop, use the output of a MUX as the D-input. You can draw block-diagrams for flip-flops and MUXs without showing their internal gate implementations.
2) Use the handout on the register file to draw a complete (not just a one-bit slice) register file that has:
- 4 registers
- 3-bits per register
- one write-port
- two read-ports
You can draw block-diagrams for flip-flops, decoders, and MUXs without showing their gate implementations.
3) Chapter 16 Exercise 16-4.