File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 44
55``` verilog
66// 触发异常
7- `DIFFTEST_MOD_DECL(ArchEvent) (
7+ module DifftestInstrCommit (
88 input clock, // 时钟
99 input [ 7:0] coreid, // cpu id,单核时固定为0
1010 input [31:0] intrNO, // 中断号
1414);
1515
1616// 提交指令
17- `DIFFTEST_MOD_DECL(InstrCommit) (
17+ module DifftestArchIntRegState (
1818 input clock,
1919 input [ 7:0] coreid,
2020 input [ 7:0] index,
3030);
3131
3232// Trap事件,用于告知difftest程序执行结束
33- `DIFFTEST_MOD_DECL(TrapEvent) (
33+ module DifftestTrapEvent (
3434 input clock,
3535 input [ 7:0] coreid,
3636 input valid, // 执行结束
4141);
4242
4343// 提交CSR寄存器
44- `DIFFTEST_MOD_DECL(CSRState) (
44+ module DifftestCSRState (
4545 input clock,
4646 input [ 7:0] coreid,
4747 input [ 1:0] priviledgeMode,// 特权模式
6565);
6666
6767// 提交通用寄存器
68- `DIFFTEST_MOD_DECL(ArchIntRegState) (
68+ module DifftestArchFpRegState (
6969 input clock,
7070 input [ 7:0] coreid,
7171 input [63:0] gpr_0,
You can’t perform that action at this time.
0 commit comments