Skip to content

Repository for USTC-ComputerArchitecture 2021spring labs

License

Notifications You must be signed in to change notification settings

isaacveg/USTC-CA2021spring-LAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USTC-CA2021spring-LAB

Repository for USTC-ComputerArchitecture 2021spring labs.
If this repository did help, PLEASE Star this to support me! Thanks.

Lab 1

Answer the questions and fix bugs in given graph.

Lab 2

  1. Create normal CPU srcs based on given files.
  2. Obtain harzard unit.
  3. Add CSR instructions.
  4. 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.

Lab 3

  1. Implement FIFO and LRU cache based on given cache.sv
  2. Connect to CPU in LAB2 without CSR
  3. Add Lab Report.

Lab 4

  1. Implement BTB on Lab3 Cache CPU
  2. Implement BHT based on step 1
  3. Add counter (may not be the best way to count).

Lab 5

  1. Finish Tomasulo simulator part
  2. Finish Cache consistency simulator part.

Enjoy it!

About

Repository for USTC-ComputerArchitecture 2021spring labs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published