From 5e0168c830d2a85cbe7641d6a9b53db8c680445c Mon Sep 17 00:00:00 2001 From: skfwe Date: Wed, 30 Apr 2025 11:56:08 +0800 Subject: [PATCH] fixed assignment2.md --- Exercises/assignment2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +```