@@ -364,8 +364,8 @@ function legalize_medeleg(o : Medeleg, v : xlenbits) -> Medeleg = {
364
364
/* M-EnvCalls delegation is not supported */
365
365
let m = Mk_Medeleg(v);
366
366
let m = [m with MEnvCall = 0b0];
367
- /* medeleg[3] <-> Breakpoint Exception is hard-wire to 0 for second solution
368
- of re-enterancy problem */
367
+ /* medeleg[3] <-> Breakpoint Exception is hard-wired to 0 for second solution
368
+ of reentrancy problem */
369
369
if (sys_reent_opt1()) then { let m = [m with Breakpoint = bool_bits(not(sys_reent_opt1()))]; m } else { m }
370
370
}
371
371
@@ -694,7 +694,7 @@ register tselect : xlenbits
694
694
/* Legalize TSELECT */
695
695
function legalize_tselect(o : xlenbits, v : xlenbits) -> xlenbits = {
696
696
let t : xlenbits = o;
697
- // TODO: Avoid hardcode value
697
+ // TODO: Avoid hardcoded value
698
698
if (unsigned(v) <= (sizeof(N_TRIGGERS) - 1)) then { v } else { t }
699
699
}
700
700
@@ -742,7 +742,7 @@ bitfield MatchControlType6 : bits(27) = {
742
742
size : 18 .. 16,
743
743
/* Trigger Action */
744
744
action : 15 .. 12,
745
- /* trigger chaning */
745
+ /* trigger chaining */
746
746
chain : 11,
747
747
/* Trigger match options */
748
748
match_opt : 10 .. 7,
@@ -754,13 +754,13 @@ bitfield MatchControlType6 : bits(27) = {
754
754
s : 4,
755
755
/* Enable Mcontrol6 trigger in U-mode */
756
756
u : 3,
757
- /* Trigger fires on the virtual address or opcode WARL
757
+ /* Trigger fires on the virtual address or opcode
758
758
of an instruction that is executed */
759
759
execute : 2,
760
- /* Trigger fires on the virtual address or data of WARL
760
+ /* Trigger fires on the virtual address or data of
761
761
any store */
762
762
store : 1,
763
- /* Trigger fires on the virtual address or data of WARL
763
+ /* Trigger fires on the virtual address or data of
764
764
any load */
765
765
load : 0
766
766
}
0 commit comments