Research Article

Research and analysis of FIFO related working principles

Yiting Gao*
Xidian University & Heriot-Watt University

* Corresponding author: [email protected]

Abstract

An asynchronous FIFO is a classic circuit device used for caching data and accommodating the frequency of asynchronous signals. With the continuous improvement of technology, the advantages of this device in real-time transmission, multi-core processing, and data acquisition have become more apparent. As a result, the original structure has been optimized and extended using algorithm and design techniques to achieve greater efficiency and applicability in various academic and industrial applications. This article discusses several methods for optimizing FIFO in different aspects and examines how an unlocked FIFO queue is applied in a CAN bus data acquisition system, as well as its use in data hybrid framing technology. The findings show that FIFO performs exceptionally well as a cache structure, particularly in situations involving large amounts of data acquisition and real-time procession. The various optimization techniques discussed in this article include using pipeline registers, implementing a dual-clock FIFO, and employing Gray-code-based pointers. These techniques can increase the speed and reduce the power consumption of FIFO, thereby improving its overall efficiency. In addition, the article introduces the unlocked FIFO queue, which provides more flexibility than conventional locked FIFOs. Unlocked FIFO queues allow multiple cores to access the buffer simultaneously, which makes them ideal for high-performance systems. Finally, the article explores the application of FIFO in CAN bus data acquisition systems, where it is utilized as a buffer between the bus and other devices. Additionally, the use of FIFO in data hybrid framing technology is discussed, where it is essential for maintaining the integrity of the data stream.

Keywords: FIFO; CAN; gray codes
Published: October 23, 2023
DOI: 10.54254/2755-2721/14/20230770
Volume: ACE Vol.14
pp. 96-102
Download PDF

References

  1. Attar H, Khosravi M R, Igorovich S S, et al. Review and performance evaluation of FIFO, PQ, CQ, FQ, and WFQ algorithms in multimedia wireless sensor networks[J]. International Journal of Distributed Sensor Networks, 2020, 16(6): 1550147720913233.
  2. Wieder A, Brandenburg B B. On spin locks in AUTOSAR: Blocking analysis of FIFO, unordered, and priority-ordered spin locks[C]//2013 IEEE 34th Real-Time Systems Symposium. IEEE, 2013: 45-56.
  3. Bouajjani A, Habermehl P. Symbolic reachability analysis of FIFO-channel systems with nonregular sets of configurations[J]. Theoretical Computer Science, 1999, 221(1-2): 211-250.
  4. Strano A, Ludovici D, Bertozzi D. A library of dual-clock FIFOs for cost-effective and flexible MPSoC design[C]//2010 International Conference on Embedded Computer Systems: Architectures, Modeling and Simulation. IEEE, 2010: 20-27.
  5. Martin J. FIFO rosters and workers’ health and safety: a case study of the impacts of extended shift rosters on electrical workers in construction in the resources sector[J]. Labour & Industry: a journal of the social and economic relations of work, 2020, 30(4): 378-400.
  6. Yoon D H, Erez M. Flexible cache error protection using an ECC FIFO[C]//Proceedings of the Conference on High Performance Computing Networking, Storage and Analysis. 2009: 1-12.
  7. Bouajjani A, Habermehl P. Symbolic reachability analysis of FIFO-channel systems with nonregular sets of configurations[C]//ICALP. 1997, 1256: 560-570.
  8. Immich P K, Bhagavatula R S, Pendse R. Performance analysis of five interprocess communication mechanisms across UNIX operating systems[J]. Journal of Systems and Software, 2003, 68(1): 27-43.
  9. Khan M A, Ansari A Q. n-Bit multiple read and write FIFO memory model for network-on-chip[C]//2011 World Congress on Information and Communication Technologies. IEEE, 2011: 1322-1327.
  10. Krom P, Ahmad R, Mustafa S A, et al. Implementation of kanban-based FIFO system to minimize lead time at automated optical inspection operation-a case study in semiconductor industry[C]//Advances in Mechatronics, Manufacturing, and Mechanical Engineering: Selected articles from MUCET 2019. Springer Singapore, 2021: 97-108.\
  11. Shurman M M, Al-Rashdan R M, Al-Bataineh M K. Comparison study of FIFO and MDRR queuing mechanisms On 5G cellular network[C]//2018 9th International Conference on Information and Communication Systems (ICICS). IEEE, 2018: 61-65.
  12. Kesselman A, Kogan K, Segal M. Packet mode and QoS algorithms for buffered crossbar switches with FIFO queuing[C]//Proceedings of the twenty-seventh ACM symposium on Principles of distributed computing. 2008: 335-344.
  13. Dittman C K, Henriquez A, Roxburgh N. When a non-resident worker is a non-resident parent: investigating the family impact of Fly-In, Fly-Out work practices in Australia[J]. Journal of Child and Family Studies, 2016, 25: 2778-2796.
  14. Kogan K, López-Ortiz A, Nikolenko S I, et al. A taxonomy of semi-FIFO policies[C]//2012 IEEE 31st International Performance Computing and Communications Conference (IPCCC). IEEE, 2012: 295-304.
  15. Bahaweres R B, Fauzi A, Alaydrus M. Comparative analysis of LLQ traffic scheduler to FIFO and CBWFQ on IP phone-based applications (VoIP) using Opnet (Riverbed)[C]//2015 1st International Conference on Wireless and Telematics (ICWT). IEEE, 2015: 1-5.