The lab materials heavily follow the design from Dr. Zonghui Wang, who provides generous help to develop sample code as well.
1.  | Learn the operation of the SWORD board and the usage of Xilinx Vivado. |
2.  | Understand the principle of the pipelined CPU and RISC-V instructions. |
3.  | Design the pipelined CPU that can execute RV32I instructions correctly on the SWORD board step by step according to the lab tutorial. |
4.  | Enhance the pipelined CPU with various caching and scheduling techniques. |
Lab 01          |
Review & warmup the experiment environment of the course of Computer Organization: SWORD board, Xilinx Vivado environment; Implement a 5-staged pipelined CPU with forwarding and predicted-not-taken to support RV32I instructions. |
Lab 02      | Implement handling of interrupt and exception on the pipelined CPU from Lab 01. |
Lab 03      | Implement a two-way associative cache through simulation. |
Lab 04      | Incorporate the two-way associative cache from Lab 03 to the pipelined CPU from Lab 02. |
Lab 05      | Extend the pipelined CPU from Lab 02 to support multi-cycle operations, out-of-order execution, and hazard detection. |
Lab 06       |
Extend the pipelined CPU from Lab 05 to support dynamic scheduling such as Scoreboarding or Tomasulo.   |
Lab 01     | Lab 02     | Lab 03     | Lab 04     | Lab 05     | Lab 06     |
6%     | 4%     | 3%     | 4%     | 7%     | 8%     |
Notes: A demo of the experiment result is required during the lab session; a report should be submitted per instructions.
  | Demo | Report |
Lab 01     | 2022.10.12     | 2022.10.19 |
Lab 02     | 2022.10.26 | 2022.11.02 |
Lab 03     | 2022.11.09 | 2022.11.16 |
Lab 04     | 2022.11.16 | 2022.11.23 |
Lab 05     | 2022.12.07 | 2022.12.14 |
Lab 06     | 2022.12.28 | 2023.01.02 |
TBD