RTM Flashcards
(4 cards)
1
Q
what is a register file?
A
an array of registers
2
Q
what does the register file circuit do?
A
- contains the array of registers
- each register holds a word (a binary number)
- enables to specify an address and read out that register
- enables to specify another address and load a data value into that register
3
Q
how does demux work?
A
The operation is determined by the control signals ld, d, sa, sb
- The data input is x, and there are two data outputs a,b
We need a way to take a destination register number (e.g. R0 or R1 for a register file with 2 registers)
and tell just that register to perform a load
- This is done with a demultiplexer– R0 and R1 each need an individual load control
– The register selected by d gets a load control of 1
– The register not selected by d gets a load control of 0
4
Q
A