IP Library Granted Patent US 7,636,834
Granted Patent B2
US 7,636,834 · App. 10/302,489 · Granted Dec 22, 2009

Method and apparatus for resetting a gray code counter

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,636,834
App. No.
10/302,489
Granted
Dec 22, 2009
Kind
B2
Abstract

Aspects of the invention may include gradually decrementing or incrementing a write pointer ( 370 ) associated with a data buffer such as the FIFO buffer ( 310 ) until a reset value of the write pointer ( 370 ) is reached in response to an indication that a data buffer controlled by the gray code counter is empty. Additionally, a read pointer ( 380 ) associated with the data buffer ( 310 ) may be gradually incremented or decremented until a reset value of the read pointer ( 380 ) is reached in response to an indication that the data buffer controlled by the gray code counter is full. The data buffer may be a first-in-first-out (FIFO) buffer such as FIFO buffer 310 , which may be asynchronously clocked. The data buffer may be adapted to buffer any one or a combination of video, voice and data.

Claims (34)

1. A method for altering 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 in which a current line of video data is completely written or reached, gradually decrementing or incrementing a write pointer associated with said data buffer until said write pointer reaches a starting write state from which said write pointer started; 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 in which the current line of video data is completely read or reached, gradually decrementing or incrementing a read pointer associated with said data buffer until said read pointer reaches a starting read state from which said read pointer started.

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 one or both of voice data and/or 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 gradually decrementing and incrementing are not immediate.

7. A method for altering 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 in which a current line of video data is completely written or reached, gradually decrementing or incrementing a write pointer associated with a data buffer until said write pointer reaches a starting write state from which said write pointer started, and disabling any attempt to write to said data buffer until said starting write state 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 in which the current line of video data is completely read or reached, gradually decrementing or incrementing a read pointer associated with said data buffer until said read pointer reaches a starting read state from which said read pointer started, and disabling any attempt to read from said data buffer until said starting read state 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 one or both of: voice data and/or 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 starting write state 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 starting read state is reached.

13. The method according to claim 7 , wherein said plurality of specified states comprises full, empty, and a predefined level.

14. The method according to claim 7 , wherein said gradually decrementing and incrementing are not immediate.

15. A system for altering a gray code counter, the system comprising:

a decrementer for gradually decrementing a read pointer or a write pointer associated with a data buffer until a starting value of said read pointer or 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 in which a current line of video data is completely written or read; and

an incrementer for gradually incrementing the read pointer or the write pointer associated with said data buffer until the starting value of said read pointer or said write 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 in which the current line of video data is completely written or read.

16. The system according to claim 15 , wherein said data buffer is a first-in-first-out (FIFO) buffer.

17. The system according to claim 16 , wherein said first-in-first-out (FIFO) buffer is an asynchronous first-in-first-out buffer.

18. The system according to claim 17 , wherein said data buffer is adapted to buffer one or both of: voice data and/or video data.

19. The system according to claim 15 , 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.

20. The method according to claim 15 , wherein said plurality of specified states comprises full, empty, and a predefined level.

21. The system according to claim 15 , wherein said gradually decrementing and said gradually incrementing are not immediate.

22. A machine-readable storage, having stored thereon a computer program having at least one code section for altering a gray code counter, the at least one code section executable by a machine for causing the machine to perform the steps comprising:

gradually decrementing or incrementing a write pointer associated with a data buffer until said write pointer reaches a starting write state from which said write pointer started; and

gradually decrementing or incrementing a read pointer associated with said data buffer until said read pointer reaches a starting read state from which said read pointer started.

23. The machine-readable storage according to claim 22 , wherein said at least one code section controls a first-in-first-out (FIFO) buffer.

24. The machine-readable storage according to claim 23 , wherein said at least one code section controls an asynchronous first-in-first-out buffer.

25. The machine-readable storage according to claim 22 , wherein said at least one code section controls a buffering of one or both of: voice data and/or video data in said data buffer.

26. The machine-readable storage according to claim 22 , wherein said gradually decrementing and incrementing are not immediate.

Assignments (4)
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS Recorded Feb 3, 2017
From: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
To: BROADCOM CORPORATION
Reel/Frame 041712/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 1, 2017
From: BROADCOM CORPORATION
To: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
Reel/Frame 041706/0001 →
PATENT SECURITY AGREEMENT Recorded Feb 11, 2016
From: BROADCOM CORPORATION
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 037806/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 21, 2003
From: TANG, CHENGFUH JEFFREY; CHEN, JIANN-TSUEN
To: BROADCOM CORPORATION
Reel/Frame 013671/0456 →