File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,13 +104,13 @@ fields:
104104 When `hcounteren.CY` && `scounteren.CY` are both set, `cycle` is futher accessible to VU-mode.
105105 <%%- end -%>
106106 type(): |
107- if (MCOUNTENABLE_EN[2 ]) {
107+ if (MCOUNTENABLE_EN[0 ]) {
108108 return CsrFieldType::RW;
109109 } else {
110110 return CsrFieldType::RO;
111111 }
112112 reset_value(): |
113- if (MCOUNTENABLE_EN[2 ]) {
113+ if (MCOUNTENABLE_EN[0 ]) {
114114 return UNDEFINED_LEGAL;
115115 } else {
116116 return 0;
Original file line number Diff line number Diff line change @@ -107,13 +107,13 @@ fields:
107107 When `hcounteren.CY` && `scounteren.CY` are both set, `cycle` is futher accessible to VU-mode.
108108 <%- end - % >
109109 type() : |
110- if (MCOUNTENABLE_EN[2 ]) {
110+ if (MCOUNTENABLE_EN[0 ]) {
111111 return CsrFieldType::RW;
112112 } else {
113113 return CsrFieldType::RO;
114114 }
115115 reset_value() : |
116- if (MCOUNTENABLE_EN[2 ]) {
116+ if (MCOUNTENABLE_EN[0 ]) {
117117 return UNDEFINED_LEGAL;
118118 } else {
119119 return 0;
You can’t perform that action at this time.
0 commit comments