Claims
- 1. An apparatus for initializing a parameter of a queue, comprising:a first storage element configured to present a predetermined default value for said parameter; and a second storage element configured to store a programmable default value for said parameter, wherein the predetermined default value is used to initialize said parameter of said queue when no programmable default value is stored in said second storage element.
- 2. The apparatus according to claim 1, wherein said apparatus further comprises an initialization logic block configured to initialize said programmable default value for said parameter.
- 3. The apparatus according to claim 1, wherein said first storage element stores a default depth value.
- 4. The apparatus according to claim 1, wherein said second storage element stores a programmable default depth value.
- 5. The apparatus according to claim 1, further comprising:a queue configuration status storage element.
- 6. The apparatus according to claim 1, wherein said second storage element comprises a queue pointer storage element.
- 7. The apparatus according to claim 1, wherein said second storage element comprises a plurality of storage elements.
- 8. The apparatus according to claim 7, wherein each of said plurality of storage elements is configured to store a particular parameter of said queue.
- 9. The apparatus according to claim 1, further comprising:a queue logic configured to present a control signal in response to said second storage element containing a programmable default value for said parameter.
- 10. The apparatus according to claim 9, wherein said queue logic comprises a queue depth score-card logic.
- 11. The apparatus according to claim 9, wherein said queue logic is configured to control a multiplexer.
- 12. The apparatus according to claim 1, further comprising a logic block configured to control selection of said predetermined default value and said programmable default value.
- 13. The apparatus according to claim 12, wherein said logic comprises a configuration logic block.
- 14. The apparatus according to claim 1, wherein said parameter comprises one or more of a depth of said queue, a length of said queue, a head pointer address of said queue and a tail pointer address of said queue.
- 15. An apparatus for initializing a default value of a queue comprising:means for storing a predetermined default value for said queue without writing to a memory; and means for storing a programmable default value for said queue, wherein said queue is initialized with said predetermined default value when no programmable default value is stored.
- 16. A method for initializing a default value of a queue, comprising the steps of:(A) providing a predetermined default value for said queue without writing to a memory; and (B) providing storage for a programmable default value for said queue, wherein said queue is initialized with said predetermined default value when no programmable default value is stored.
- 17. The method according to claim 16, wherein step (A) comprises hardwiring a predetermined default depth value.
- 18. The method according to claim 16, wherein said predetermined default value and said programmable default value are multiplexed in response to one or more control signals.
- 19. The method according to claim 16, wherein step (A) further comprises:providing a maximum depth of said queue.
- 20. The method according to claim 16, wherein step (B) further comprises:minimizing a depth value of said queue.
CROSS REFERENCE TO RELATED APPLICATIONS
The present application may relate to co-pending application Ser. No. 09/676,171, filed Sep. 29, 2000, Ser. No. 09/676,706, filed Sep. 29, 2000, Ser. No. 09/676,705, filed Sep. 29, 2000, Ser. No. 09/676,170, filed Sep. 29, 2000, Ser. No. 09/676,169, filed Sep. 20, 2000, which are each hereby incorporated by reference in their entirety.
US Referenced Citations (6)
Non-Patent Literature Citations (6)
Entry |
Algorithm for Managing Multiple First-In, First-Out Queues From a Single Shared Random-Access Memory, IBM Technical Disclosure Bulletin, Aug. 1989, pp. 488-492.* |
S. Babar Raza et al., “Architecture for Implementing Virtual Multiqueue Fifos”, U.S. Ser. No. 09/676,704, filed Sep. 29, 2000. |
S. Babar Raza, et al., “Logic for Providing Arbitration for Synchronous Dual-Port Memory”, U.S. Ser. No. 09/676,169, Filed Sep. 29, 2000. |
S. Babar Raza et al., “Method and Logic for Initializing the Forward-Pointer Memory During Normal Operation of the Device as a Background Process”, U.S. Ser. No. 09/676,170, Filed Sep. 29, 2000. |
S. Babar Raza et al., “Logic for Generating Multicast/Unicast Address(es)”, U.S. Ser. No. 09/676,706, Filed Sep. 29, 2000. |
S. Babar Raza et al., “Method for Logic for Storing and Extracting In-Band Multicast Port Information Stored Along with the Data in a Single Memory Without Memory Read Cycle Overhead”, U.S. Ser. No. 09/676,171. filed Sep. 29, 2000. |