Simulating digital circuits in Racket
A RISC-V core in Racket
Guillaume SavatonLet’s try to simulate a non-trivial circuit in Racket using the techniques proposed in the previous post.
Vermicel is a 32-bit RISC processor core that supports most of the base instruction set of the RISC-V specification (RV32I). It was initially designed and implemented in VHDL to serve as an illustration for the digital electronics course that I teach. The VHDL source code is not publicly available yet but you can get an overview of what Vermicel is by using its web-based simulator emulsiV and reading its documentation.
Read more…