if you have make and verilator you can simulate the src-old version by
make vlold
make wavesold # to view the waves
zybo directory has the wip vivado project for the src-old implementation. src-old will be converted to singlecycle non pipelined version.
new src is in src folder which is still wip
- rv32ui v2.1
- 5 stage pipeline
- 2/4 way set associative cache
- cleanup and have a singlecycle non pipelined rv32ui core @lohan
- finish implementation of 5 stage pipelined rv32ui core @thuvasooriya
- look into rv32ui test suite and corresponding integration @prabath
32 32-bit registers, x0-x31, x0 is hardwired to 0, one additional unpredvileged mode register, pc.
There is no dedicated stack pointer or subroutine return address link register in the Base Integer ISA; the instruction encoding allows any x register to be used for these purposes. However, the standard software calling convention uses register x1 to hold the return address for a call, with register x5 available as an alternate link register. The standard calling convention uses register x2 as the stack pointer.
https://lf-riscv.atlassian.net/wiki/spaces/HOME/pages/16154769/RISC-V+Technical+Specifications