Apparatus and method to switch a FIFO between strobe sources
View Patent ↗A first-in, first-out (FIFO) unit switches between strobe sources. The FIFO uses a multiplexer to switch between two or more strobes so that different data strobes may be used with the FIFO to strobe in the data. In one implementation, the FIFO uses four data latches to strobe in data bits and output a pair of data bits onto the internal bus each half clock cycle.
1. An apparatus comprising:
means for latching data from a data source based on at least a first strobe signal having a first strobe rate or a second strobe signal having a second strobe rate, where the strobe rates are based on a bit transfer rate of the data source, and the data to be latched for transfer as pairs of bits onto a data bus is based on a timing of the data bus, in which the data bus has different timing than the first or second strobe rate; and
means for selecting between the first and second strobe signals based on the bit transfer rate of the data source.
2. The apparatus of claim 1 , wherein the means for selecting multiplexes the first and second strobe signals to select between the first and second strobe signals.
3. The apparatus of claim 1 wherein the means for selecting uses a value stored in a register to determine selection of the first or second strobe signal.
4. The apparatus of claim 1 further comprising means for storing to store a programmable value used to determine selection of the first or second strobe signal.
5. The apparatus of claim 1 further comprising means for delaying to introduce delay in a data path of the data prior to the means for latching to maintain a phase relationship between the incoming data and the first or second strobe selected.
6. An apparatus comprising:
a first-in, first-out buffer (FIFO) to latch data from a data source based on at least a first strobe signal having a first strobe rate or a second strobe signal having a second strobe rate, where the strobe rates are based on a bit transfer rate of the data source, and the data to be output from the FIFO for transfer as pairs of bits onto a data bus is based on a timing of the data bus, in which the data bus has different timing than the first or second strobe rate; and
a select circuit to select between the first and second strobe signals based on the bit transfer rate of the data source.
7. The apparatus of claim 6 , wherein the select circuit includes a multiplexer to select between the first and second strobe signals.
8. The apparatus of claim 6 wherein the select circuit uses a value stored in a register to determine selection of the first or second strobe signal.
9. The apparatus of claim 6 further comprising a register to store a programmable value used to determine selection of the first or second strobe signal.
10. The apparatus of claim 6 further comprising a delaying device to introduce delay in a data path of the data prior to the FIFO to maintain a phase relationship between the incoming data and the first or second strobe selected.