Showing posts with label 电路. Show all posts
Showing posts with label 电路. Show all posts

Wednesday, March 3, 2010

异步FIFO设计

很多人在论坛上发过Peter Alfke 的那篇

Simulation and Synthesis Techniques for Asynchronous FIFO Design with Asynchronous Pointer Comparisons

但是具体设计却没什么人提及,可能是由于技术的保留吧,这里送一份schematcis 吧, verilog嘛,因为是公司项目的一部分,所以就不便透露了.

 

fifo

read_ptr和write_ptr都没什么特别的,一个4位的k-walk gray counter.

n0(V)是指针比较.

dir1,dir0 给出quadrant 结果.

然后进行empty,full evaluation.

剩下就是指针控制了.

enjoy~