Issue 326 September: EQ Questions

Review these four Test Your EQ problems that appeared in Circuit Cellar September (326). Test your knowledge. Answers appear in the October issue (327)

.

Question 1

Asynchronous (dual-clock) FIFOs are important functions in high-speed digital design, especially when data needs to be transferred between two clock domains. Let’s talk about the implementation of such a FIFO, and the nuances of some of the details.

eq0691_fig1

One of the central elements in the design is the “true dual port” RAM block. Describe the essential features of this block.

Question 2

In order to implement a FIFO, a write address counter and a read address counter are required. Each counter wraps back to zero when it reaches its maximum count.

— ADVERTISMENT—

Advertise Here

In order to determine the number of words currently in the FIFO, the values of the two counters must be subtracted. However, the two counters are in two different clock domains, which means that the value of each one needs to be transferred to the other clock domain. Why is Gray code used for this purpose?

Question 3

Given that it takes a significant number of clocks to transfer a counter value from one clock domain to the other, what does this imply about the overall data latency through the FIFO?

Question 4

What about the input side of the FIFO? Does the synchronization delay create any danger that it will overwrite old data before it can be read?

Keep up-to-date with our FREE Weekly Newsletter!

Don't miss out on upcoming issues of Circuit Cellar.


Note: We’ve made the May 2020 issue of Circuit Cellar available as a free sample issue. In it, you’ll find a rich variety of the kinds of articles and information that exemplify a typical issue of the current magazine.

Would you like to write for Circuit Cellar? We are always accepting articles/posts from the technical community. Get in touch with us and let's discuss your ideas.

Sponsor this Article
Website | + posts

Circuit Cellar's editorial team comprises professional engineers, technical editors, and digital media specialists. You can reach the Editorial Department at editorial@circuitcellar.com, @circuitcellar, and facebook.com/circuitcellar

Supporting Companies

Upcoming Events


Copyright © KCK Media Corp.
All Rights Reserved

Copyright © 2023 KCK Media Corp.

Issue 326 September: EQ Questions

by Circuit Cellar Staff time to read: 1 min