riscv-perf-model icon indicating copy to clipboard operation
riscv-perf-model copied to clipboard

SYS instructions flushing from ROB do not prevent further retires in same cycle causing program order assertion

Open rajatbhatia1 opened this issue 7 months ago • 1 comments

I have identified a bug in the model where SYS instructions flushing from ROB do not prevent further retires in same cycle causing program order assertion

Here is the test case sys_flush_test.json

Command line: ./olympia --arch ../arches/big_core.yaml ./sys_flush_test.json

Exception while running ex_inst.getProgramID() == expected_program_id_: Unexpected program ID when retiring instruction (suggests wrong program order) expected: 15 received: 11 UID: 235 incr: 1 inst uid:98 RETIRED 0 pid:11 uopid:0 'csrrs 18,0' : in file: '/work/rbhatia2/repos/olympia/github-riscv-software-src-riscv-perf-model/core/ROB.cpp', on line: 153

rajatbhatia1 avatar Apr 30 '25 22:04 rajatbhatia1

I have the solution for this issue. Please assign to me

rajatbhatia1 avatar Apr 30 '25 22:04 rajatbhatia1