计算机工程与应用 ›› 2020, Vol. 56 ›› Issue (20): 52-58.DOI: 10.3778/j.issn.1002-8331.1911-0331

• 理论与研发 • 上一篇    下一篇

基于AHB总线的RISC-V微处理器设计与实现

郝振和,焦继业,李雨倩   

  1. 1.西安邮电大学 计算机学院,西安 710121
    2.西安邮电大学 电子工程学院,西安 710121
  • 出版日期:2020-10-15 发布日期:2020-10-13

Design and Implementation of RISC-V Microprocessor Based on AHB Bus

HAO Zhenhe, JIAO Jiye, LI Yuqian   

  1. 1.School of Computer Science & Technology, Xi’an University of Posts & Telecommunications, Xi’an 710121, China
    2.School of Electronic Engineering, Xi’an University of Posts & Telecommunications, Xi’an 710121, China
  • Online:2020-10-15 Published:2020-10-13

摘要:

在嵌入式应用中,为了满足小面积低功耗的设计需求,设计了一种支持RISC-V指令集架构的微处理器,系统采用2级流水结构,实现了RV32IMAC指令集。处理器采用AHB总线作为片上互连总线,可方便调用外部IP核进行功能拓展。在VCS环境下验证了该微处理器的逻辑功能,仿真结果表明该微处理器能够正常稳定运行。在面积、功耗和性能等方面与蜂鸟E203处理器以及ARM Cortex-M系列处理器进行了对比,该设计比蜂鸟E203处理器面积小了6%,功耗和性能上与Cortex-M0处理器相当。分析结果表明该处理器较适合在小面积、低功耗的嵌入式应用领域进行开发。

关键词: 嵌入式微处理器, RISC-V, AHB总线, IP核

Abstract:

In embedded applications, in order to meet the design requirements of small area and low power consumption, a microprocessor supporting RISC-V instruction set architecture is designed. The system adopts a 2-level pipelined architecture and implements the RV32IMAC instruction set. The processor uses AHB bus as the on-chip interconnection bus, which can conveniently call external IP cores for function expansion. The logic function of the microprocessor is verified in VCS environment. The simulation results show that the microprocessor can run normally and stably. Then it is compared with the hummingbird E203 processor and ARM Cortex-M series processor in terms of area, power consumption and performance. The design is 6% smaller than the hummingbird E203 processor, and its power consumption and performance are equivalent to Cortex-M0 processor. The analysis results show that the processor is suitable for development in embedded application fields with small area and low power consumption.

Key words: embedded microprocessor, RISC-V, AHB bus, IP core