yantavares / RISC-V-unicycle

Repository for RISC-V Unicycle Processor Implementation in VHDL and Course Material for 'Organization and Architecture of Computers' at UnB (2023/2)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OAC [ en ]

GitHub stars License: GPLv3

Repository for RISC-V Unicycle Processor Implementation in VHDL and Course Material for 'Organization and Architecture of Computers' at UnB (2023/2)

The course is based on the RISC-V architecture, and the projects are done in Assembly, Python, and VHDL.

Note: If this repository helped you, please leave a ⭐ on the repo :)

Projects

Detailed explanations of the projects and their implementations can be found in the READMEs of each project's folder (in English).

Project 1: Implementation of the IDEA algorithm (Assembly)

To simulate Project 1, I recommend using RARS. To install, just download the .jar file and execute it with the command java -jar rars.jar or by double-clicking the file.

Project 2 -> Python;

For Project 2, you only need to have Python installed on your machine. To execute the project, just run the simulator.py file.

Project 3, etc. -> VHDL

Starting from Project 3, all were done in VHDL. To simulate the projects, I recommend using GHDL and GTKWave. Installation instructions can be found in their respective repositories.

OAC [ pt ]

GitHub stars License: GPLv3

Repositório destinado à implementação de Processador Uniciclo RISC-V em VHDL e Material do Curso 'Organização e Arquitetura de Computadores' na UnB (2023/2)

A disciplina se baseia na arquitetura RISC-V, e os projetos são feitos em Assembly, Python e VHDL.

Obs.: Se esse repositório te ajudou, por favor deixe uma ⭐ no repo :)

Projetos

Explicações detalhadas dos projetos e suas implementações podem ser encontradas nos READMEs da pasta de cada projeto (em inglês).

Projeto 1: Implementação do algoritmo IDEA (Assembly)

Para simular o projeto 1, recomendo o uso do RARS. Para instalar, basta baixar o arquivo .jar e executá-lo com o comando java -jar rars.jar ou clicando duas vezes no arquivo.

Projeto 2 -> Python;

Para o projeto 2, é apenas necessário ter o Python e Numpy instalados na máquina.

Você pode instalar o Numpy com o pip:

pip install numpy

ou

pip3 install numpy

Para executar o projeto, basta executar o arquivo simulador.py.

Projeto 3, etc. -> VHDL

A partir do projeto 3, todos foram feitos em VHDL. Para simular os projetos, recomendo o uso do GHDL e do GTKWave. Instruções de instalação podem ser encontradas nos respectivos repositórios.

About

Repository for RISC-V Unicycle Processor Implementation in VHDL and Course Material for 'Organization and Architecture of Computers' at UnB (2023/2)

License:GNU General Public License v3.0


Languages

Language:VHDL 60.6%Language:Python 19.1%Language:Assembly 17.4%Language:C 1.6%Language:Makefile 1.3%