中国半导体行业协会封装分会会刊

中国电子学会电子制造与封装技术分会会刊

导航

电子与封装 ›› 2024, Vol. 24 ›› Issue (9): 090302 . doi: 10.16257/j.cnki.1681-1070.2024.0122

• 电路与系统 • 上一篇    下一篇

基于Chisel语言的异步FIFO设计及验证

蒋文成;黄嵩人   

  1. 湘潭大学物理与光电工程学院,湖南 湘潭? 411105
  • 收稿日期:2024-03-27 出版日期:2024-09-25 发布日期:2024-09-25
  • 作者简介:蒋文成(2000—),男,湖南衡阳人,硕士研究生,主要研究方向为数字IC验证。

Asynchronous FIFO Design and Verification Based on Chisel Language

JIANG Wencheng, HUANG Songren   

  1. School of Physics and Optoelectronics, Xiangtan University, Xiangtan, 411105, China
  • Received:2024-03-27 Online:2024-09-25 Published:2024-09-25

摘要: 采用敏捷硬件开发语言Chisel,对数字系统设计中经常使用的异步先进先出(FIFO)进行设计,使用Chisel语言特性提高了设计效率和质量。使用ChiselTest框架对所设计的异步FIFO进行基本功能仿真验证,使用通用验证方法学(UVM)进行更加完备的功能仿真验证,再使用Quartus Ⅱ软件进行逻辑综合。对比使用Chisel语言与使用传统硬件描述语言(HDL)设计的异步FIFO综合结果,结果表明,使用传统HDL语言设计的异步FIFO消耗了50个组合逻辑单元,而使用Chisel语言设计的异步FIFO,综合后仅消耗了39个组合逻辑单元。

关键词: Chisel语言, 异步FIFO, UVM, 逻辑综合

Abstract: Using Chisel, an agile hardware development language, the asynchronous first in first out (FIFO) commonly used in digital system design is designed, and language features of Chisel are used to improve the efficiency and quality of the design. The basic functional simulation verification of the designed asynchronous FIFO is carried out using the ChiselTest framework, the more complete functional simulation verification is carried out using the universal verification methodology (UVM), and the logic synthesis is carried out using the Quartus Ⅱ software. The synthesis results of asynchronous FIFOs designed with Chisel language and traditional hardware description language (HDL) are compared. The results show that the asynchronous FIFO designed with traditional HDL language consumes 50 combinational logic units, while the asynchronous FIFO designed with Chisel language consumes only 39 combinational logic units after synthesis.

Key words: Chisel language, asynchronous FIFO, UVM, logic synthesis

中图分类号: