diff --git a/Exercises/assignment2.md b/Exercises/assignment2.md index 38a29fc..4a252c8 100644 --- a/Exercises/assignment2.md +++ b/Exercises/assignment2.md @@ -35,8 +35,8 @@ Next, you need to add logic to expose these counters in the CSR. In [VX_csr_data `VX_DCR_MPM_CLASS_3: begin case (read_addr) // Add your custom counters here for Class 3: - `CSR_READ_64(`VX_CSR_MPM_TOTAL_ISSUED_WARPS, read_data_ro_w, pipeline_perf_if.sched.total_issued_warps); - `CSR_READ_64(`VX_CSR_MPM_TOTAL_ACTIVE_THREADS, read_data_ro_w, pipeline_perf_if.sched.total_active_threads); + `CSR_READ_64(`VX_CSR_MPM_TOTAL_ISSUED_WARPS, read_data_ro_w, pipeline_perf.sched.total_issued_warps); + `CSR_READ_64(`VX_CSR_MPM_TOTAL_ACTIVE_THREADS, read_data_ro_w, pipeline_perf.sched.total_active_threads); default:; endcase end @@ -167,4 +167,4 @@ You can run the demo application with a different input size to observe how the ./ci/blackbox.sh --cores=4 --app=demo --perf=3 --driver=rtlsim --args="-n32" ./ci/blackbox.sh --cores=4 --app=demo --perf=3 --driver=rtlsim --args="-n64" ./ci/blackbox.sh --cores=4 --app=demo --perf=3 --driver=rtlsim --args="-n128" -``` \ No newline at end of file +```