Comments (2)
The above situation seems to occur during nested exceptions. I tested a standalone illegal instruction exception, and it worked fine.
- [446] commit pc 00000000800006f8 inst 2110206f wen 1 dst 00 data 0000000000000000 idx 000 j pc + 0x2a10
- [447] commit pc 0000000080003108 inst 00000013 wen 1 dst 00 data 0000000000000000 idx 000 nop
- [448] exception pc 000000008000310c inst 00000000 cause 0000000000000002 c.unimp
- [449] commit pc 0000000080002000 inst 0400006f wen 1 dst 00 data 0000000000000000 idx 000 j pc + 0x40
- [450] commit pc 0000000080002040 inst ff878793 wen 1 dst 15 data 0000000080016cf0 idx 000 addi a5, a5, -8
- pc: 0x0000000080016d04 mstatus: 0x0000000a00001800 mcause: 0x0000000000000002 mepc: 0x000000008000310c
- sstatus: 0x0000000200000000 scause: 0xaa75e257df5869e5 sepc: 0x0000006f10958978
- satp: 0x0000000000000000
- mip: 0x0000000000000220 mie: 0x0000000000000000 mscratch: 0x6410e61c5e18874a sscratch: 0x6410e61c5e18874a
- mideleg: 0x0000000000000000 medeleg: 0x0000000000000000
- mtval: 0x0000000000000000 stval: 0xfffffff9ba1e5c49 mtvec: 0x0000000080002001 stvec: 0x00000000314fc1c8
- privilege mode:3
- priviledgeMode: 3
- Core 0: ABORT at pc = 0x80016d00
The mepc matches.
from difftest.
Difftest does not sync registers upon exceptions. What it does it to compare the states of REF with the states of DUT. mepc
of Spike is never affected by the DUT.
From your logs, Spike raises an illegal instruction exception on 0x00000000800020bc with mtval of zero. Please check your workloads and Spike logs to see why Spike sees this.
from difftest.
Related Issues (20)
- Snapshot timestamp t not updated in while loop for simulation HOT 2
- 请问XiangShan上怎么enable smp-difftest? HOT 2
- Difftest is not compatible with Chisel Definition/Instance
- 请问difftest中的DiffTestState 的定义在哪 我没有找到它 HOT 3
- AbstractRefProxy 声明了与reference model 不相同的函数原型 HOT 3
- 覆盖率导向模糊测试相关流程使用 HOT 7
- 请问怎么把difftest的打印信息输出到log?有相关功能吗,应该怎么修改代码?
- Difftest环境移植问题 HOT 2
- move指令消除问题 HOT 4
- How can the Rocket example provided by Difftest support extended instructions? HOT 8
- Rocket-chip difftest框架使用 HOT 1
- Links for Difftest docs HOT 1
- clock/timescale and reset in the generated waveform HOT 2
- Difftest中的波形功能应该如何开启? HOT 2
- 请问如何能重新make的时候增量编译,即不再重新执行.scala->.v的步骤 HOT 1
- do_store_check的逻辑有bug,if(proxy->store_commit)分支表示的store比对成功,mismatch的打印应该放在else分支中 HOT 1
- Difftest::Difftest内部没有完成对包括difftest_core_state_t dut在内的对象的初始化 HOT 1
- RefProxy void (*memcpy)的调用传参错误 HOT 1
- Difftest::step()中实际上没有完成比较,proxy->regcpy(ref_regs_ptr, REF_TO_DUT)将NEMU的reg val全部copy到DUT,二者永远相等 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from difftest.