Design and analysis of FIFO system based on basic circuit functions
Abstract
Due to the insufficient data acquisition rate and high power consumption of sensors, this article focuses on addressing the issue of clock cycle interaction error resulting from the excessive amount of data on integrated circuit chips. Specifically, a FIFO design is proposed to achieve the transmission and transformation of data under different clock cycles. The technical challenges associated with creating an asynchronous FIFO, reducing the probability of encountering semi-stable states, and achieving delay control are analyzed in this paper. To tackle the semi-stable error, a Gray code converter and two-stage synchronizer are employed. The designed FIFO also leverages the difference and phase difference of read and write pointers to achieve high-accuracy delay control. The experiments demonstrate that the designed FIFO can successfully facilitate correct writing and reading operations. Through Modelsim simulation tests, the waveform is more precise than before, and the operation of the designed FIFO is realized.
References
- Pan, Bo. Theoretical Study and Circuit Design of Ultra-low Metastable High-speed Pipelined-SAR ADC. University of Electronic Science and Technology, (2021).
- Yang, CX., Zhang, C., Wang, ZQ., Wang, ZJ., Xie, X., Jiang, HJ. Design of Elastic Buffer of PCS Layer Based on 10 Gbase-KR Protocol. Microelectronics and Computer 35(03),14-18(2018).
- Xu, Y., Lin, Y., Yang, HG. The FPGA Dual-port Memory Mapping Optimization Algorithm. Journal of Electronics and Informatics 42 (10),2549-2556(2020).
- Li, ZN., Li, JJ., Wang, AX., Zhong, SD. Design of High-speed Data Communication Interface Across Clock Domain. SCM and embedded system application 18(03), 13-18(2018).
- You, BX., Liao, YF., Ren, WL., Ma, J. FPGA in Data Rearrangements. Fire Control Radar Technology 50(03), 59-6(2021).
- Li, ZN., Li, JJ., Wang, J., Jin, SW. Asynchronous On-Chip Network Communication Mechanism for Dual Mode Fusion. Small Microcomputer system 40(10), 2241-2246(2019).
- Zhu, Yu., Dong, GT., Zhang, S. Research on The Metastable Processing Technology of FPGA Software. China Inspection and Testing 28(03), 14-17(2020).
- Tian, Y., Fan, YY., Li,ZW., Liu, WH., Xue, QN. Measurement of Metastable Parameters Based on FPGA. Microelectronics and Computer 33(10), 46-49(2016).
- Ding, H. Integration of A 32K-16 MHz Low-power, High-precision Clock Generator on A CMOS Chip. Huazhong University of Science and Technology, (2020).
- Chen, TT., Lu, F., Wan, SQ. et al. A Delay-controllable Asynchronous FIFO Circuit Design. Microelectronics 52(1), 42-46(2022).
- Lei, W., Li, JY. Design of A Broadband Signal Acquisition System Based on Alternating Sampling of Four-way ADC Chips. Electronics Technology 34(09), 30-35(2021).