You can find all the information about this CPU and it's main module codes in the 7th chapter of the book "Digital Design and Computer Architecture: ARM Edition" by Sarah L. Harris (Author), David Harris (Author).
├── Benchmarks # contains the test codes for the 3 versions of the CPU
├── BM V1
├── BM V2
└── BM V3
├── Design CPU V1 # first CPU version (no pipeline, no hazard unit control)
├── Hex BM
├── Module Sources
└── Simulation Sources
├── Design CPU V2 # second CPU version (with pipeline, no hazard unit control)
├── Hex BM
├── Module Sources
└── Simulation Sources
├── Design CPU V3 # third CPU version (with pipeline and with hazard unit control)
├── Hex BM
├── Module Sources
└── Simulation Sources
└── README.md
- Clone the repository
- Open Vivado
- Create a new project with the board "XC7A100TCSG324-1"
- Add the modules,
add sources -> add or create design sources -> add Directories
select theModule Sources
from the version you want to use thenfinish
- Add the test bench,
add sources -> add or create simulation sources -> add Directories
select theSimulation Sources
from the same version you used before, thenfinish
- Add the Hex BenchMark,
add sources -> add or create design sources -> add Files
select the file.mem
from the same version you used before, thenfinish
- Now you are ready to Run Simulation or Synthesis