未验证 提交 21aac058 编写于 作者: Y Yinan Xu 提交者: GitHub

Merge pull request #235 from RISCVERS/fix-ds

difftest: pass DisambiguationState to nemu
......@@ -204,7 +204,7 @@ int difftest_step(DiffState *s) {
ds.exceptionNo = s->cause;
ds.mtval = s->reg_scala[DIFFTEST_MTVAL];
ds.stval = s->reg_scala[DIFFTEST_STVAL];
ref_disambiguate_exec(&s->cause);
ref_disambiguate_exec(&ds);
}else{
ref_difftest_exec(1);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册