Hardware experiment of computer system integration courses at Zhejiang University
Warning : For reference only, please do not copy
The system integration course will gradually implement a RISC-V five-level pipeline CPU, and implement exception handling, branch prediction, cache, MMU and other functions, and run a simple kernel written by yourself on it.
This repo records the experimental progress through branches, tags, etc. and preserves the results of each stage.
In class, we used vivado and the Nexys A7-100T FPGA development board for experiments.
For the convenience of development/simulation on non-Windows platforms, Icarus Verilog and GTKWave are used for simulation.
A Makefile is used to integrate compilation, simulation and other operations:
make : compile, simulate, and open GTKWave to view the waveformmake compile : Compilemake simulate : Simulate and open GTKWave to view the waveform The path of GTKWAVE needs to be specified through GTKWAVE=/path/to/your/gtkwave .
I haven't learned verilog seriously, and I've written it very much. Anyway, I can just run, and I'm too lazy to change it when I run. For reference only, the reference value may not be that great (x, then it is for recording only (✓
All of them are written entirely based on the starter code, so just use a MIT license.