| Register file: implementing | |||||||||||||||||||
| What device to use? | |||||||||||||||||||
| 2 bits of input (register number) | |||||||||||||||||||
| 4 bits of output, of which exactly one should have the value 1 | |||||||||||||||||||
| (tri-state buffer control) | |||||||||||||||||||
| 2-4 decoder |
|
||||||||||||||||||
| 2 bits of input (UB) | |||||||||||||||||||
| 1 bit of output | |||||||||||||||||||
| What about destination register? | |||||||||||||||||||