Communications Data Flow: Inside The Multi-Queue

April 12, 2004
As Figure A shows, data is written into the device using the data inputs (Din), write clock (WCLK), and write enable (WEN). A queue is selected using the write address bus (WRADD), the rising...

As Figure A shows, data is written into the device using the data inputs (Din), write clock (WCLK), and write enable (WEN). A queue is selected using the write address bus (WRADD), the rising edge of the WCLK, and write address enable (WADEN). Each queue is selected on a single WCLK cycle. Because the write port is designed to achieve 100% bus usage, data can be written into the device on every WCLK rising edge, including the cycle that a new queue is addressing.

Once a queue is selected, all subsequent writes are written to that queue until a new queue is selected. A minimum of three clock cycles must occur between queue selections on the write port. On the next WCLK rising edge, the write port discrete full flag will update to display the full status of the newly selected queue. On the second rising edge of WCLK, data present on the data input bus (Din) can be written into the newly selected queue as long as WEN is Low and the new queue isn’t full. If the newly selected queue is full, the device will prevent writes to that queue.

Refer to Figure B for read operations. Each queue is read from a common read port using the data outputs (Qout), read clock (RCLK), and read enable (REN). A queue is selected using the read address bus (RDADD), the rising edge of RCLK, and read address enable (RADEN). A queue is selected for reading in a single cycle; all following reads will be read from the selected queue until a new queue is selected.

A minimum of three RCLK cycles must occur between queue selections on the read port. Data can still be read from the previously selected queue on the same RCLK rising edge that the new queue is selected if REN is Low active and the previous queue isn’t empty. A fall-through operation directs the device to read a word from the previously selected queue, regardless of REN, on the following rising edge of RCLK. Once a queue is selected on the read port, the next word available in that queue will fall through to the output register as long as the queue isn’t empty.

Sponsored Recommendations

Highly Integrated 20A Digital Power Module for High Current Applications

March 20, 2024
Renesas latest power module delivers the highest efficiency (up to 94% peak) and fast time-to-market solution in an extremely small footprint. The RRM12120 is ideal for space...

Empowering Innovation: Your Power Partner for Tomorrow's Challenges

March 20, 2024
Discover how innovation, quality, and reliability are embedded into every aspect of Renesas' power products.

Article: Meeting the challenges of power conversion in e-bikes

March 18, 2024
Managing electrical noise in a compact and lightweight vehicle is a perpetual obstacle

Power modules provide high-efficiency conversion between 400V and 800V systems for electric vehicles

March 18, 2024
Porsche, Hyundai and GMC all are converting 400 – 800V today in very different ways. Learn more about how power modules stack up to these discrete designs.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!