Example of implementation of a single-CYCLE RISC-V processor core using Altera Quartus II Cad

Capa

Citar

Texto integral

Acesso aberto Acesso aberto
Acesso é fechado Acesso está concedido
Acesso é fechado Acesso é pago ou somente para assinantes

Resumo

One of the areas of work in the field of creating projects based on the RISC-V architecture is the development of prototypes of processors on the FPGA platform. The article considers an example of the implementation of a single-cycle RISC-V processor core on the Cyclone V FPGA basis using the Altera Quartus II CAD system.

Texto integral

Acesso é fechado

Sobre autores

A. Strogonov

Воронежский государственный технический университет

Autor responsável pela correspondência
Email: andreistrogonov@mail.ru

доктор технических наук, профессор кафедры твердотельной электроники

Rússia, 394006, Воронеж

A. Vinokurov

Воронежский государственный технический университет

Email: andreistrogonov@mail.ru
Rússia, 394006, Воронеж

A. Strogonov

Воронежский государственный университет

Email: andreistrogonov@mail.ru

факультет компьютерных наук, кафедра программирования и информационных технологий, ассистент

Rússia, Воронеж

Bibliografia

  1. Строгонов А.В., Бордюжа О.Л., Строгонов А.И. Эффективный подход в разработке управляющих автоматов микропроцессорных ядер // ЭЛЕКТРОНИКА: Наука, Технология, Бизнес. 2024. № 1. С. 78–86.
  2. Харрис С.Л., Харрис Д. Цифровая схемотехника и архитектура компьютера RISC-V / Пер. с англ. В.С. Яценкова, А.Ю. Романова; под ред. А.Ю. Романова. М.: ДМК Пресс, 2021. 810 с.
  3. Harris S.L., Harris D. Digital Design and Computer Architecture RISC-V Edition. 2022. ISBN: 978-0-12-820064-3.
  4. Intel Quartus Prime Pro Edition User Guide. Design Recommendations. UG-20131. ID: 683082. Version: 2021.10.04.
  5. XST User Guide. 10.1. ROMs Using Block RAM Resources HDL Coding Techniques // www.xilinx.com.
  6. https://pastebin.com/ew0SACWy.
  7. https://luplab.gitlab.io/rvcodecjs/#q=00C00193&abi=false& isa=AUTO.

Arquivos suplementares

Arquivos suplementares
Ação
1. JATS XML
2. Fig. 1. Structural diagram of a single-cycle RISC-V processor core

Baixar (168KB)
3. Fig. 2. Functional diagram of a single-cycle RISC-V processor core

Baixar (133KB)
4. Fig. 3. Assembler and machine codes (far right column – ROM firmware, text file riscvtest.txt)

Baixar (317KB)
5. Fig. 4. The top level of the hierarchy of a single-cycle RISC-V processor core in the Quartus II CAD system

Baixar (508KB)
6. Fig. 5. Data path of a single-cycle RISC-V processor core in Quartus II CAD system

Baixar (1MB)
7. Fig. 6. Error compiling the VHDL code of the ROM from example 7.14 of [1]

Baixar (217KB)
8. Fig. 7. Example 1: VHDL code for a ROM that compiles without errors in Quartus II, but generates an “empty” mif file.

Baixar (196KB)
9. Fig. 8. Example 2: fragment of generated “empty” mif-file from VHDL-code of ROM

Baixar (215KB)
10. Fig. 9. Example 3: fragment of generated mif file from SystemVerilog ROM code

Baixar (188KB)
11. Fig. 10. RTL representation from SystemVerilog ROM code

Baixar (262KB)
12. Fig. 11. Example 4: ROM initialization directly from HDL code

Baixar (214KB)
13. Fig. 12. RTL representation from VHDL code of ROM (Example 4)

Baixar (383KB)
14. Fig. 13. Example 5: fragment of the generated mif file when initializing the ROM directly in the HDL code

Baixar (188KB)
15. Fig. 14. Example 6: fragment of VHDL code of data RAM (example 7.15, works [1, 2])

Baixar (89KB)
16. Fig. 15. Example 7: VHDL code fragment of data RAM with one process operator for writing and reading

Baixar (155KB)
17. Fig. 16. Example 8: ALU code with SLT instruction support

Baixar (186KB)
18. Fig. 17. Time diagram of successful completion of the test shown in Fig. 3

Baixar (1MB)
19. Fig. 18. Window of the online program "RISC-V Command Encoder/Decoder", which allows you to translate machine code into assembler code with the selection of command fields in binary code

Baixar (142KB)

Declaração de direitos autorais © Strogonov A.V., Vinokurov A., Strogonov A.I., 2024