Skip to content

Commit bb2e3bf

Browse files
change mcontrol6.hit0/1 comment
1 parent c8a0156 commit bb2e3bf

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

model/riscv_sys_regs.sail

+9-2
Original file line numberDiff line numberDiff line change
@@ -726,13 +726,20 @@ register tdata3 : xlenbits
726726
bitfield MatchControlType6 : bits(27) = {
727727
/* Trigger perfectly satisfied or not */
728728
uncertain : 26,
729-
/* Sets when mcontrol6 fire after the instruction retires */
729+
/* This field combine with hit0 */
730730
hit1 : 25,
731731
/* Enable Mcontrol6 trigger in VS-mode */
732732
vs : 24,
733733
/* Enable Mcontrol6 trigger in VU-mode */
734734
vu : 23,
735-
/* Sets when mcontrol6 fire before the instruction retires */
735+
/* 0: Trigger did not fire
736+
* 1: Trigger fired before the instruction retires
737+
* 2: Trigger fired after the instruction that
738+
* triggered and at least one additional instruction were
739+
* retired.
740+
* 3: Trigger fired just after the instruction that
741+
* triggered it was retired, but before any subsequent
742+
* instructions were executed */
736743
hit0 : 22,
737744
/* 0: address match, 1: data match */
738745
select : 21,

0 commit comments

Comments
 (0)