Repository for USTC-ComputerArchitecture 2021spring labs.
If this repository did help, PLEASE Star this to support me! Thanks.
Answer the questions and fix bugs in given graph.
- Create normal CPU srcs based on given files.
- Obtain harzard unit.
- Add CSR instructions.
- Add Lab Report.
warning: you can definitely implement CSR in EX stage! So you don't need to implement too many forwardings like this one. Another way is to get another independent ALU specifically for CSR instructions.
- Implement FIFO and LRU cache based on given cache.sv
- Connect to CPU in LAB2 without CSR
- Add Lab Report.
- Implement BTB on Lab3 Cache CPU
- Implement BHT based on step 1
- Add counter (may not be the best way to count).
- Finish Tomasulo simulator part
- Finish Cache consistency simulator part.
Enjoy it!