Circuit having plurality of carry/sum adders having read count, write count, and offset inputs to generate an output flag in response to FIFO fullness
Abstract
The present invention provides an efficient design that can be used to generate a programmable almost empty or programmable almost full flags. The present invention accomplishes this by efficiently evaluating the read count minus write count plus a user programmed offset being greater than or equal to zero for the programmable almost empty flag generation. Similarly, evaluating write count minus the read count plus the user programmed offset minus the size of the FIFO is greater than or equal to zero for the programmable almost full flag generation. The counters in the FIFO count from 0 to twice the size of the FIFO minus one and the user programmed offset can be between 0 to the size of the FIFO minus one. The offset has one less bit than the read and write counters. The processing block masks out the higher order bits of the Offset input based on the size of the FIFO. The first stage performs the bit wise addition of the offset, read counter and write counter inputs without any carry chain propagation. From the sum and carry outputs of the first stage bitwise addition, bits with equal weights are united and the overall carry out of this addition is generated very efficiency. The
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 39 · Forward citations: 15.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A circuit for generating an output flag indicating the fullness of a FIFO buffer, said circuit comprising: an adder circuit configured to generate a sum output and a carry output in response to (i) a read count signal and (ii) a write count signal; a generator circuit configured to generate an output flag in response to (i) said sum output and (ii) said carry output, wherein said output flag is at a first logic state when a FIFO is almost full and is at a second logic state when said FIFO is not almost full; and a plurality of carry/sum adders each having a first input receiving said read
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 15 total)
References Cited — Backward Prior Art (39)
Non-Patent Literature (5)
- Andrew Hawkins et al., U.S.S.N. 08/567,893 State Machine Design for Generating Empty and Full Flags in an Asynchronous FIFO, filed Dec. 6, 1995.
- Andrew Hawkins et al., U.S.S.N. 08/567,918 State Machine Design for Generating Half Full and Half Empty Flags in an Synchronous FIFO, filed Dec. 6, 1995.
- Andrew Hawkins et al., U.S.S.N. 08/567,918 State Machine Design for Generating Half-Full and Half-Empty Flags in an Synchronous FIFO, filed Dec. 6, 1995.
- Andrew Hawkins et al., U.S.S.N. 08/578,209 Programmable Read Write Word Line Equality Signal Generation for FIFOs, filed Dec. 29, 1995.
- Andrew Hawkins et al., U.S.S.N. 08/578,209 Programmable Read-Write Word Line Equality Signal Generation for FIFOs, filed Dec. 29, 1995.