Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To implement #1

Open
25 of 48 tasks
gustavonmartins opened this issue Oct 28, 2021 · 0 comments
Open
25 of 48 tasks

To implement #1

gustavonmartins opened this issue Oct 28, 2021 · 0 comments

Comments

@gustavonmartins
Copy link
Owner

gustavonmartins commented Oct 28, 2021

  • U lui
  • U auipc
  • J jal
  • I jalr
  • B beq
  • B bne
  • B blt
  • B bge
  • B bltu
  • B bgeu
  • I lb
  • I lh
  • I lw
  • I lbu
  • I lhu
  • S sb
  • S sh
  • S sw
  • I addi
  • I slti
  • I sltiu
  • I xori
  • I ori
  • I andi
  • I slli
  • I srli
  • I srai
  • R add
  • R sub
  • R sll
  • R slt
  • R sltu
  • R xor
  • R srl
  • R sra
  • R or
  • R and
  • I fence
  • I fence.i
  • I ecall
  • I ebreak
  • I csrrw
  • I csrrs
  • I csrrc
  • I csrrwi
  • I csrrsi
  • I csrrci

Currently, the memory of FPGA is not being used. The SoC is using LUTs as its memory, so more LUTs are being used than avaiable. It is needed to start using FPGA memory. For this to be done properly, I have to stop reading and writing memory on the same clock cycle: I will have to use one cycle to read and another to write. This implies that I will have to execute each instruction across many cycles, so a finite state machine is needed.

  • Implement instructions to be done in multi-cycles using a FSM so that the SoC memory really uses FPGA's memory instead of LUTs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant