izumizawa / mc851

Projeto com objetivo de desenvolver um sistema computacional contendo, ao menos, um processador e seus componentes periféricos.
5 stars 0 forks source link

addi instruction to CPU, bash scripts to assemble and disassemble #9

Closed paulopacitti closed 10 months ago

paulopacitti commented 10 months ago

Add addi instruction to the CPU, so we are ready to run the first RISC-V program!

  1. Renamed and adjusted some imports to make tests work as expected.
  2. Add bash scripts to assemble and disassemble RISC-V assembly code. Unfortunately, the riscv-gnu-toolchain it's needed to make these scripts work. Since it's a heavy package, my opnion is that not everyone needs to install this and we should ask member who have installed them to run it for. Later, to fix this issue, we can make a Dockerfile with the RISC-V toolchain.
  3. I fixed these known issues #8
guilhermeShima commented 10 months ago

Um lembrete, o que acha de alterar a linha 22 do arquivo register_file para utilizar <= na atribuição?

paulopacitti commented 10 months ago

Um lembrete, o que acha de alterar a linha 22 do arquivo register_file para utilizar <= na atribuição?

É que não tem register_file nesse diff, podemos fazer um bugfix só pra isso