Claims
- 1. A method of managing a circular buffer comprising:writing data into said circular buffer at an address pointed to by a write pointer; writing into said address a first number that increments modulo a predetermined number greater than one each time said circular buffer is traversed by the write pointer; associating a second with a read pointer for said circular buffer, said second number incrementing modulo said predetermined value greater than one each time said circular buffer is traversed by the read pointer; comparing said second number with said first number when said data is read out of said buffer; and declaring a “no underrun” condition when said first and second numbers are the same, a first type of underrun condition when the difference between the first and second numbers is equal to one and a second type of underrun condition when the difference between said first arid second numbers is greater than one.
- 2. A method as claimed in claim 1, wherein said first and second numbers appear as extensions of the respective write and read pointers.
- 3. A method as claimed in claim 2, wherein aid first and second numbers appear a most significant bit extension of said write and read pointers.
- 4. A method as claimed in claim 2, wherein said first and second numbers consist of two extra bits.
- 5. A method as claimed in claim 4, wherein said two extra bits are the most significant bits.
- 6. A method as claimed in claim 1, wherein said first type of underrun condition is a “simple” underrun condition and said second type of underrun condition is a “permanent” underrun condition.
- 7. A method as claimed in claim 1, wherein said data is time sensitive traffic carried over an ATM network.
- 8. A method as claimed claim 1, wherein said data is time voice traffic carried using Internet Protocol.
- 9. A circular buffer arrangement comprising:a plurality of address locations for storing data; a write pointer for pointing to an address in said circular buffer where incoming data is to be written, said write pointer being associated with a first number that increments modulo a predetermined number greater than one each time said circular buffer is traversed by said write pointer; a read pointer for pointing to an address in said circular buffer from where data is to be read out, said read pointer being associated with a second number that increments modulo said predetermined number greater than one each time said circular buffer is traversed by said read pointer; cach of said buffers address locations including a register portion storing said first number; and a comparator for comparing said second number with said first number stored in an address location during a read operation and declaring a “no underrun” condition when said first and second numbers are the same, a first type of underrun condition when the difference between the first and second numbers is equal to one, and a second type of underrun condition when the difference between said first and second numbers is greater than one.
- 10. A circular buffer arrangement as claimed in claim 9, wherein said first number is an extension of each said address location storing said data.
- 11. A circular buffer arrangement as claimed claim 9, which forms part of an ATM RX_SAR device for time sensitive traffic.
- 12. A circular buffer arrangement as claimed claim 9, which forms part of an Voice over Internet Protocol conversion device.
- 13. A circular buffer arrangement as claimed in claim 9, wherein said first type of underrun condition is a “simple” underrun condition and said second type of underrun condition is a permanent underrun condition.
Priority Claims (1)
Number |
Date |
Country |
Kind |
0022802 |
Sep 2000 |
GB |
|
CROSS REFERENCE TO RELATED APPLICATIONS
This application claims the benefit under 35 USC 119(e) from prior U.S. provisional application No. 60/236,160 filed Sep. 29, 2000.
US Referenced Citations (9)
Foreign Referenced Citations (1)
Number |
Date |
Country |
9411800 |
May 1994 |
WO |
Non-Patent Literature Citations (1)
Entry |
MT90500, Multi-Channel ATM AAL1 SAR. |
Provisional Applications (1)
|
Number |
Date |
Country |
|
60/236160 |
Sep 2000 |
US |