Design and Implementation of a Width-Adjustable Asynchronous FIFO for Cross-Clock Domain Data Transmission

Authors

  • Suyu Cheng

DOI:

https://doi.org/10.61173/zweazt33

Keywords:

Asynchronous fifo, Metastable state, Gray code

Abstract

Existing research shows that asynchronous FIFO has been widely used in a variety of complex system designs, such as FPGA-based image processing systems, USB communication systems, and so on. To make the designed asynchronous FIFO more programmable and flexible, so that it can adapt to various application scenarios more quickly, this paper studies and designs an asynchronous FIFO with adjustable input and output bit width. In this study, according to the relationship between 24-bit input data and 32-bit storage space, four 24-bit data are selected to fill three RAM storage spaces at one time. According to the multiple relationships between 32-bit storage space and 128-bit output data, the reading pointer is enlarged by 4 times to realize the function of reading four 32-bit data at one time. This whole process realizes the conversion of data bit width through data splicing. Finally, the 24-bit RGB888 image data is successfully converted into 128-bit data and transmitted to the bus, which successfully solves the problem of data width mismatch.

References

demand, so that the system has stronger adjustability and [1] Chen Tingting, Lu Feng, Wan Shuqin, et al. Design adaptability, and can quickly adapt to different application of a Controllable Delay Asynchronous FIFO Circuit [J]. scenarios. Microelectronics, 2022,52 (1) : 42-46. DOI : 10.13911 / To improve performance and resource utilization, we can j.cnki.1004-3365.210280.

[2] Sun Yuan, Ren Yiqun, Fan Yuyang. Design of AFIFO anti- Realization of Asynchronous FIFO Based on Gray Code [J]. SEU [J].Modern electronic technology, 2023,46 (11) : 160-164. Computer and Digital Engineering, 2007,35 (01) : 141-144. DOI : 10.16652 / j.issn.1004-373x.2023.11.029. [8] Wang Qishuang, Huang Zhenchun, Pu Haifeng. Designs and [3] Zhan Yongzheng, Li Tuo, Hu Qingsheng, et al. A High- Performance Study for Asynchronous FIFO Based on FPGA [J]. Speed Asynchronous FIFO for 100 Gbit/s Ethernet PCS [J]. Journal of Missiles and Rockets and Guidance, 2014,34 (6) : Microelectronics, 2022, 52 (5) : 886-892. DOI : 10.13911 / 185-189. DOI : 10.3969 / j.issn.1673-9728.2014.047. j.cnki.1004-3365.210404. [9] Wang Luyuan. Metastable state and mitigation measures in [4] Shui Ying. Frame-level asynchronous FIFO design based on FPGA design [J]. Electronic Technology Applications, 2012,38 FPGA [J].Acoustic and electronic engineering, 2020 (2) : 32-34. (8) : 13-15,19. DOI : 10.3969 / j.issn.0258-7998.2012.08.004. [5] Wu Xiuying, Huang Songren. Research and design of [10] Yang Yanyan, Si Qianran, Ma Xianying et al. Research on asynchronous FIFO in floating-point DSP [J]. Electronic World, Metastability and Its Mitigation Methods in FPGA Design [J]. 2018,0 (1) : 145-146. Journal of Aircraft Measurement and Control, 2014,33 (03) : [6] Cong Hongyan, Liu Ying, Wan Qing. Optimization and 208-213. Implementation Based Gray Code and Depth Configurable [11] Zhu Yu, Dong Guantao, Zhang Shuo.Research on Asynchronous FIFO [J].Electronics and Packaging, 2014 (5) : metastable processing technology of FPGA software [J].China 33-36. Inspection and Testing, 2020,28 (3) : 14-17. DOI : 10.16428 / [7] Wu Kun, Huang Kun, Fu Yong, et al. A Design and j.cnki.cn10-1469 / tb.2020.03.004.

Downloads

Published

2024-10-29