Claims
- 1. A method for resetting a gray code counter, the method comprising:
in response to an indication that a data buffer controlled by the gray code counter has attained one of a plurality specified states, altering gradually, a write pointer associated with said data buffer until a reset value of said write pointer is reached; and in response to an indication that said data buffer controlled by the gray code counter has attained one of said plurality of specified states, altering gradually, a read pointer associated with said data buffer until a reset value of said read pointer is reached.
- 2. The method according to claim 1, wherein said data buffer is a first-in-first-out (FIFO) buffer.
- 3. The method according to claim 2, wherein said first-in-first-out (FIFO) buffer is an asynchronous first-in-first-out buffer.
- 4. The method according to claim 1, wherein said data buffer is adapted to buffer at least one of voice data and video data.
- 5. The method according to claim 1, wherein said plurality of specified states comprises full, empty, and a predefined level.
- 6. The method according to claim 1, wherein said altering gradually said write pointer and said read pointer further comprises one of decrementing and incrementing one of said write pointer and said read pointer.
- 7. A method for resetting a gray code counter, the method comprising:
in response to an indication that a data buffer controlled by the gray code counter has attained one of a plurality specified states, disabling any attempt to write to said data buffer until a reset value of a write pointer controlling said data buffer is reached; and in response to an indication that said data buffer controlled by the gray code counter has attained said one of said plurality of specified states, disabling any attempt to read from said data buffer until a reset value of a read pointer controlling said data buffer is reached.
- 8. The method according to claim 7, wherein said data buffer is a first-in-first-out (FIFO) buffer.
- 9. The method according to claim 8, wherein said first-in-first-out (FIFO) buffer is an asynchronous first-in-first-out buffer.
- 10. The method according to claim 7, wherein said data buffer is adapted to buffer at least one of voice data and video data.
- 11. The method according to claim 7, wherein said disabling any attempt to write to said data buffer further comprises disabling generation of at least one flag until said reset value of said write pointer controlling said data buffer is reached.
- 12. The method according to claim 7, wherein said disabling any attempt to read from said data buffer further comprises disabling generation of at least one flag until said reset value of said read pointer controlling said data buffer is reached.
- 13. The method according to claim 7, wherein said plurality of specified states comprises full, empty, and a predefined level.
- 14. A system for resetting a gray code counter, the system comprising:
a decrementer for gradually decrementing one of a read pointer and a write pointer associated with said data buffer until a reset value of one of said read pointer and said write pointer is reached in response to an indication that a data buffer controlled by the gray code counter has attained one of a plurality specified states; and an incrementer for gradually incrementing one of a read pointer and a write pointer associated with said data buffer until a reset value of said one of said read pointer and said write pointer is reached in response to an indication that said data buffer controlled by the gray code counter is has attained one of said plurality of specified states.
- 15. The system according to claim 14, wherein said data buffer is a first-in-first-out (FIFO) buffer.
- 16. The system according to claim 15, wherein said first-in-first-out (FIFO) buffer is an asynchronous first-in-first-out buffer.
- 17. The system according to claim 16, wherein said data buffer is adapted to buffer at least one of voice data and video data.
- 18. The system according to claim 14, further comprising a flag generator for comparing an output of a write gray code counter associated with said write pointer and an output of a read gray code counter associated with said read pointer.
- 19. The method according to claim 14, wherein said plurality of specified comprises full, empty, and a predefined level.
- 20. A machine-readable storage, having stored thereon a computer program having a at least one code section for resetting a gray code counter, the at least one code section executable by a machine for causing the machine to perform the steps comprising:
gradually altering a write pointer associated with a data buffer until a reset value of said write pointer is reached in response to an indication that said data buffer controlled by the gray code counter has attained one of a plurality specified states; and gradually altering a read pointer associated with said data buffer until a reset value of said read pointer is reached in response to an indication that said data buffer controlled by the gray code counter has attained one of said plurality of specified states.
- 21. The machine-readable storage according to claim 20, wherein said at least one code section controls a first-in-first-out (FIFO) buffer.
- 22. The machine-readable storage according to claim 21, wherein said at least one code section controls an asynchronous first-in-first-out buffer.
- 23. The machine-readable storage according to claim 20, wherein said at least one code section controls a buffering of at least one of voice data and video data in said data buffer.
- 24. The machine-readable storage according to claim 20, wherein said plurality of specified states comprises full, empty, and a predefined level.
- 25. The machine-readable storage according to claim 20, wherein said at least one code section for altering gradually said write pointer and said read pointer further comprises code for decrementing and incrementing one of said write pointer and said read pointer.
Parent Case Info
[0001] This application makes reference to, claims priority to and claims the benefit of U.S. Provisional Patent Application Serial No. 60/361,163 filed on Mar. 1, 2002.
[0002] The above stated application is incorporated herein by reference in its entirety.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60361163 |
Mar 2002 |
US |