主权项 |
1. A method of linked list management in a dynamic queue system, comprising:
logically dividing an uninitialized common memory pool into first and second sub-pools of equal size, each sub-pool configured to store a queue entry and perform a queue operation on the queue entry; tracking unallocated memory locations in the first and second sub-pools using first and second free lists, respectively, the first and second free lists stored on separate first and second single port memories; and alternating storing the queue entries in the first and second sub-pools, such that performing a queue operation on the queue entry in either the first or second sub-pool comprises accessing the first free list and the second free list in one clock cycle by performing, in the one clock cycle, both a first memory transaction at the first single port memory and a second memory transaction at the second single port memory, wherein each of the queue operation, the first memory transaction, and the second memory transaction comprises a read or a write operation. |