We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed9670 commit 95567b0Copy full SHA for 95567b0
doc/difftest_api.md
@@ -4,17 +4,17 @@
4
5
```verilog
6
// 触发异常
7
-module DifftestInstrCommit (
+module DifftestArchEvent (
8
input clock, // 时钟
9
input [ 7:0] coreid, // cpu id,单核时固定为0
10
- input [31:0] intrNO, // 中断号
11
- input [31:0] cause, // 异常号
+ input [31:0] intrNO, // 中断号,非0时产生中断。产生中断的时钟周期中,DifftestInstrCommit提交的valid需为0
+ input [31:0] cause, // 异常号,ecall时不需要考虑
12
input [63:0] exceptionPC, // 产生异常时的PC
13
input [31:0] exceptionInst // 产生异常时的指令
14
);
15
16
// 提交指令
17
-module DifftestArchIntRegState (
+module DifftestInstrCommit (
18
input clock,
19
input [ 7:0] coreid,
20
input [ 7:0] index,
0 commit comments