Claims
- 1. A circuit for generating an output flag representing the fullness of a FIFO buffer, said apparatus comprising:
- a state machine having a first input receiving a look-ahead signal clock, a second input receiving a free running write clock, a third input receiving a read clock, a fourth input receiving said free running write clock, a fifth input receiving an enabled write clock and a sixth input receiving said read clock, said state machine manipulating said inputs to produce an output that is at a one logic state when said FIFO is half-full and is at another logic state when said FIFO is not half-full.
- 2. The circuit according to claim 1 wherein said read clock is an enabled read clock.
- 3. An apparatus for generating an output flag representing the fullness of a buffer, said apparatus comprising:
- a first state machine having a first input receiving a write clock, a second input receiving a read clock and a third input receiving a first look-ahead signal, said first state machine manipulating said inputs to produce a first output signal that is either at a first logic state or at a second logic state;
- a second state machine having a first input receiving said write clock, a second input receiving said read clock and a third input receiving a second look-ahead signal, said second state machine manipulating said inputs to produce a second output signal that is either at a first logic state or at a second logic state; and
- latch means for holding said first and second output signals in mutually exclusive states.
- 4. The circuit according to claim 3 wherein said latch means comprises:
- a first input receiving said first output signal, a second input receiving said second output signal, a third output signal equal to said first output signal and a fourth output signal equal to said second output signal, said latch for holding said third and fourth output signals until said first and second output signals change logic states, said fourth output signal representing an output flag that is at one logic state when said FIFO is empty and is at another logic state when said FIFO is not empty.
- 5. The circuit according to claim 3 further comprising:
- reset means having a reset input receiving said first output signal and an output for resetting said first and second state machines.
- 6. The circuit according to claim 3 wherein said buffer is a FIFO buffer.
- 7. The circuit according to claim 3 wherein said buffer is a synchronous FIFO buffer.
- 8. The apparatus according to claim 3 wherein said read clock is an enabled free-running read clock.
- 9. The apparatus according to claim 3 wherein said write clock is a free-running write clock.
- 10. The apparatus according to claim 3 further comprising delay means having an input receiving said read clock and an output being presented to said second input of said first state machine, said delay means provides a predetermined delay to said second input of said first state machine producing a tSKEW delay at said output signal.
- 11. The apparatus according to claim 10 wherein said predetermined delay is determined during fabrication.
- 12. The apparatus according to claim 10 wherein said predetermined delay is programmable.
- 13. A method for indicating the fullness of a buffer comprising the steps of:
- generating a first output in response to a write clock, a first read clock and a look-ahead signal;
- generating a second output in response to a non look-ahead signal, a second read clock and said write clock; and
- generating a third output in response to a change of state in said first and second outputs, wherein said third output is at one logic state when said buffer is half-full and is at another logic state when said buffer is not half-full.
- 14. The method according to claim 13 further comprising the step of:
- prior to said step of generating said first output, delaying said write clock to produce a tSKEW delay.
- 15. The method according to claim 13 wherein said buffer is a synchronous FIFO.
- 16. The method according to claim 13 wherein said first read clock is an enabled read clock.
- 17. The method according to claim 13 wherein said write clock is a free-running write clock.
- 18. The method according to claim 14 wherein said step of delaying said write clock produces a predetermined tSKEW delay determined during fabrication.
- 19. The method according to claim 14 wherein said step of delaying said write clock produces a predetermined tSKEW delay that is programmable.
- 20. The method according to claim 14 wherein said step of delaying said write clock produces a predetermined tSKEW delay that is programmable in response to an electronically generated signal.
Parent Case Info
This is a continuation-in-part of U.S. patent application Ser. No. 08/572,623, filed Dec. 14, 1995, U.S. Pat. No. 5,627,797.
US Referenced Citations (28)
Foreign Referenced Citations (2)
Number |
Date |
Country |
0113996 |
Aug 1989 |
JPX |
0676559 |
Jun 1994 |
JPX |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
572623 |
Dec 1995 |
|