Skip to content

Commit fcbde54

Browse files
Merge remote-tracking branch 'origin/main' into issue-276-retire-MC-1-Google-Doc
2 parents ff3d021 + 5fda047 commit fcbde54

File tree

135 files changed

+696
-679
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+696
-679
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
66
rev: v5.0.0
77
hooks:
8+
- id: check-ast
9+
- id: check-builtin-literals
10+
- id: check-case-conflict
11+
- id: check-docstring-first
812
- id: check-symlinks
913
- id: end-of-file-fixer
1014
- id: trailing-whitespace
@@ -17,14 +21,14 @@ repos:
1721
- id: check-yaml
1822

1923
- repo: https://github.com/rbubley/mirrors-prettier
20-
rev: v3.3.3
24+
rev: v3.4.2
2125
hooks:
2226
- id: prettier
2327
files: \.(json|yml|yaml)$
2428
exclude: schemas/json-schema-draft-07.json
2529

2630
- repo: https://github.com/python-jsonschema/check-jsonschema
27-
rev: 0.29.4
31+
rev: 0.30.0
2832
hooks:
2933
- id: check-jsonschema
3034
alias: check-jsonschema-inst

arch/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Each extension/instruction/CSR has its own file.
6262
| v
6363
| +---------------------------------+
6464
| | {s} Implementation-specific |
65-
| | Archiecture Spec |
65+
| | Architecture Spec |
6666
| | (gen/resolved_arch/NAME/*.yaml) |
6767
| +---------------------------------+
6868
| |

arch/csr/H/hcounteren.layout

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fields:
2424
the `cycle` CSR (an alias of `mcycle`) is accessible to VS-mode.
2525

2626
When `hcounteren.CY` is clear and `mcounteren.CY` is set, then any access to `cycle` in
27-
VU-mode or VS-mode causes a VirtualInstruction execption.
27+
VU-mode or VS-mode causes a VirtualInstruction exception.
2828

2929
Summary:
3030

@@ -62,7 +62,7 @@ fields:
6262
the `time` CSR (an alias of `mtime`) is accessible to VS-mode.
6363

6464
When `hcounteren.TM` is clear and `mcounteren.TM` is set, then any access to `time` in
65-
VU-mode or VS-mode causes a VirtualInstruction execption.
65+
VU-mode or VS-mode causes a VirtualInstruction exception.
6666

6767
Summary:
6868

@@ -100,7 +100,7 @@ fields:
100100
the `instret` CSR (an alias of `minstret`) is accessible to VS-mode.
101101

102102
When `hcounteren.IR` is clear and `mcounteren.IR` is set, then any access to `instret` in
103-
VU-mode or VS-mode causes a VirtualInstruction execption.
103+
VU-mode or VS-mode causes a VirtualInstruction exception.
104104

105105
Summary:
106106

@@ -138,7 +138,7 @@ fields:
138138
the `hpmcounter<%= hpm_num %>` CSR (an alias of `mhpmcounter<%= hpm_num %>`) is accessible to VS-mode.
139139

140140
When `hcounteren.HPM<%= hpm_num %>` is clear and `mcounteren.HPM<%= hpm_num %>` is set, then any access to `hpmcounter<%= hpm_num %>` in
141-
VU-mode or VS-mode causes a VirtualInstruction execption.
141+
VU-mode or VS-mode causes a VirtualInstruction exception.
142142

143143
Summary:
144144

arch/csr/H/hcounteren.yaml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fields:
2525
the `cycle` CSR (an alias of `mcycle`) is accessible to VS-mode.
2626
2727
When `hcounteren.CY` is clear and `mcounteren.CY` is set, then any access to `cycle` in
28-
VU-mode or VS-mode causes a VirtualInstruction execption.
28+
VU-mode or VS-mode causes a VirtualInstruction exception.
2929
3030
Summary:
3131
@@ -63,7 +63,7 @@ fields:
6363
the `time` CSR (an alias of `mtime`) is accessible to VS-mode.
6464
6565
When `hcounteren.TM` is clear and `mcounteren.TM` is set, then any access to `time` in
66-
VU-mode or VS-mode causes a VirtualInstruction execption.
66+
VU-mode or VS-mode causes a VirtualInstruction exception.
6767
6868
Summary:
6969
@@ -101,7 +101,7 @@ fields:
101101
the `instret` CSR (an alias of `minstret`) is accessible to VS-mode.
102102
103103
When `hcounteren.IR` is clear and `mcounteren.IR` is set, then any access to `instret` in
104-
VU-mode or VS-mode causes a VirtualInstruction execption.
104+
VU-mode or VS-mode causes a VirtualInstruction exception.
105105
106106
Summary:
107107
@@ -138,7 +138,7 @@ fields:
138138
the `hpmcounter3` CSR (an alias of `mhpmcounter3`) is accessible to VS-mode.
139139
140140
When `hcounteren.HPM3` is clear and `mcounteren.HPM3` is set, then any access to `hpmcounter3` in
141-
VU-mode or VS-mode causes a VirtualInstruction execption.
141+
VU-mode or VS-mode causes a VirtualInstruction exception.
142142
143143
Summary:
144144
@@ -175,7 +175,7 @@ fields:
175175
the `hpmcounter4` CSR (an alias of `mhpmcounter4`) is accessible to VS-mode.
176176
177177
When `hcounteren.HPM4` is clear and `mcounteren.HPM4` is set, then any access to `hpmcounter4` in
178-
VU-mode or VS-mode causes a VirtualInstruction execption.
178+
VU-mode or VS-mode causes a VirtualInstruction exception.
179179
180180
Summary:
181181
@@ -212,7 +212,7 @@ fields:
212212
the `hpmcounter5` CSR (an alias of `mhpmcounter5`) is accessible to VS-mode.
213213
214214
When `hcounteren.HPM5` is clear and `mcounteren.HPM5` is set, then any access to `hpmcounter5` in
215-
VU-mode or VS-mode causes a VirtualInstruction execption.
215+
VU-mode or VS-mode causes a VirtualInstruction exception.
216216
217217
Summary:
218218
@@ -249,7 +249,7 @@ fields:
249249
the `hpmcounter6` CSR (an alias of `mhpmcounter6`) is accessible to VS-mode.
250250
251251
When `hcounteren.HPM6` is clear and `mcounteren.HPM6` is set, then any access to `hpmcounter6` in
252-
VU-mode or VS-mode causes a VirtualInstruction execption.
252+
VU-mode or VS-mode causes a VirtualInstruction exception.
253253
254254
Summary:
255255
@@ -286,7 +286,7 @@ fields:
286286
the `hpmcounter7` CSR (an alias of `mhpmcounter7`) is accessible to VS-mode.
287287
288288
When `hcounteren.HPM7` is clear and `mcounteren.HPM7` is set, then any access to `hpmcounter7` in
289-
VU-mode or VS-mode causes a VirtualInstruction execption.
289+
VU-mode or VS-mode causes a VirtualInstruction exception.
290290
291291
Summary:
292292
@@ -323,7 +323,7 @@ fields:
323323
the `hpmcounter8` CSR (an alias of `mhpmcounter8`) is accessible to VS-mode.
324324
325325
When `hcounteren.HPM8` is clear and `mcounteren.HPM8` is set, then any access to `hpmcounter8` in
326-
VU-mode or VS-mode causes a VirtualInstruction execption.
326+
VU-mode or VS-mode causes a VirtualInstruction exception.
327327
328328
Summary:
329329
@@ -360,7 +360,7 @@ fields:
360360
the `hpmcounter9` CSR (an alias of `mhpmcounter9`) is accessible to VS-mode.
361361
362362
When `hcounteren.HPM9` is clear and `mcounteren.HPM9` is set, then any access to `hpmcounter9` in
363-
VU-mode or VS-mode causes a VirtualInstruction execption.
363+
VU-mode or VS-mode causes a VirtualInstruction exception.
364364
365365
Summary:
366366
@@ -397,7 +397,7 @@ fields:
397397
the `hpmcounter10` CSR (an alias of `mhpmcounter10`) is accessible to VS-mode.
398398
399399
When `hcounteren.HPM10` is clear and `mcounteren.HPM10` is set, then any access to `hpmcounter10` in
400-
VU-mode or VS-mode causes a VirtualInstruction execption.
400+
VU-mode or VS-mode causes a VirtualInstruction exception.
401401
402402
Summary:
403403
@@ -434,7 +434,7 @@ fields:
434434
the `hpmcounter11` CSR (an alias of `mhpmcounter11`) is accessible to VS-mode.
435435
436436
When `hcounteren.HPM11` is clear and `mcounteren.HPM11` is set, then any access to `hpmcounter11` in
437-
VU-mode or VS-mode causes a VirtualInstruction execption.
437+
VU-mode or VS-mode causes a VirtualInstruction exception.
438438
439439
Summary:
440440
@@ -471,7 +471,7 @@ fields:
471471
the `hpmcounter12` CSR (an alias of `mhpmcounter12`) is accessible to VS-mode.
472472
473473
When `hcounteren.HPM12` is clear and `mcounteren.HPM12` is set, then any access to `hpmcounter12` in
474-
VU-mode or VS-mode causes a VirtualInstruction execption.
474+
VU-mode or VS-mode causes a VirtualInstruction exception.
475475
476476
Summary:
477477
@@ -508,7 +508,7 @@ fields:
508508
the `hpmcounter13` CSR (an alias of `mhpmcounter13`) is accessible to VS-mode.
509509
510510
When `hcounteren.HPM13` is clear and `mcounteren.HPM13` is set, then any access to `hpmcounter13` in
511-
VU-mode or VS-mode causes a VirtualInstruction execption.
511+
VU-mode or VS-mode causes a VirtualInstruction exception.
512512
513513
Summary:
514514
@@ -545,7 +545,7 @@ fields:
545545
the `hpmcounter14` CSR (an alias of `mhpmcounter14`) is accessible to VS-mode.
546546
547547
When `hcounteren.HPM14` is clear and `mcounteren.HPM14` is set, then any access to `hpmcounter14` in
548-
VU-mode or VS-mode causes a VirtualInstruction execption.
548+
VU-mode or VS-mode causes a VirtualInstruction exception.
549549
550550
Summary:
551551
@@ -582,7 +582,7 @@ fields:
582582
the `hpmcounter15` CSR (an alias of `mhpmcounter15`) is accessible to VS-mode.
583583
584584
When `hcounteren.HPM15` is clear and `mcounteren.HPM15` is set, then any access to `hpmcounter15` in
585-
VU-mode or VS-mode causes a VirtualInstruction execption.
585+
VU-mode or VS-mode causes a VirtualInstruction exception.
586586
587587
Summary:
588588
@@ -619,7 +619,7 @@ fields:
619619
the `hpmcounter16` CSR (an alias of `mhpmcounter16`) is accessible to VS-mode.
620620
621621
When `hcounteren.HPM16` is clear and `mcounteren.HPM16` is set, then any access to `hpmcounter16` in
622-
VU-mode or VS-mode causes a VirtualInstruction execption.
622+
VU-mode or VS-mode causes a VirtualInstruction exception.
623623
624624
Summary:
625625
@@ -656,7 +656,7 @@ fields:
656656
the `hpmcounter17` CSR (an alias of `mhpmcounter17`) is accessible to VS-mode.
657657
658658
When `hcounteren.HPM17` is clear and `mcounteren.HPM17` is set, then any access to `hpmcounter17` in
659-
VU-mode or VS-mode causes a VirtualInstruction execption.
659+
VU-mode or VS-mode causes a VirtualInstruction exception.
660660
661661
Summary:
662662
@@ -693,7 +693,7 @@ fields:
693693
the `hpmcounter18` CSR (an alias of `mhpmcounter18`) is accessible to VS-mode.
694694
695695
When `hcounteren.HPM18` is clear and `mcounteren.HPM18` is set, then any access to `hpmcounter18` in
696-
VU-mode or VS-mode causes a VirtualInstruction execption.
696+
VU-mode or VS-mode causes a VirtualInstruction exception.
697697
698698
Summary:
699699
@@ -730,7 +730,7 @@ fields:
730730
the `hpmcounter19` CSR (an alias of `mhpmcounter19`) is accessible to VS-mode.
731731
732732
When `hcounteren.HPM19` is clear and `mcounteren.HPM19` is set, then any access to `hpmcounter19` in
733-
VU-mode or VS-mode causes a VirtualInstruction execption.
733+
VU-mode or VS-mode causes a VirtualInstruction exception.
734734
735735
Summary:
736736
@@ -767,7 +767,7 @@ fields:
767767
the `hpmcounter20` CSR (an alias of `mhpmcounter20`) is accessible to VS-mode.
768768
769769
When `hcounteren.HPM20` is clear and `mcounteren.HPM20` is set, then any access to `hpmcounter20` in
770-
VU-mode or VS-mode causes a VirtualInstruction execption.
770+
VU-mode or VS-mode causes a VirtualInstruction exception.
771771
772772
Summary:
773773
@@ -804,7 +804,7 @@ fields:
804804
the `hpmcounter21` CSR (an alias of `mhpmcounter21`) is accessible to VS-mode.
805805
806806
When `hcounteren.HPM21` is clear and `mcounteren.HPM21` is set, then any access to `hpmcounter21` in
807-
VU-mode or VS-mode causes a VirtualInstruction execption.
807+
VU-mode or VS-mode causes a VirtualInstruction exception.
808808
809809
Summary:
810810
@@ -841,7 +841,7 @@ fields:
841841
the `hpmcounter22` CSR (an alias of `mhpmcounter22`) is accessible to VS-mode.
842842
843843
When `hcounteren.HPM22` is clear and `mcounteren.HPM22` is set, then any access to `hpmcounter22` in
844-
VU-mode or VS-mode causes a VirtualInstruction execption.
844+
VU-mode or VS-mode causes a VirtualInstruction exception.
845845
846846
Summary:
847847
@@ -878,7 +878,7 @@ fields:
878878
the `hpmcounter23` CSR (an alias of `mhpmcounter23`) is accessible to VS-mode.
879879
880880
When `hcounteren.HPM23` is clear and `mcounteren.HPM23` is set, then any access to `hpmcounter23` in
881-
VU-mode or VS-mode causes a VirtualInstruction execption.
881+
VU-mode or VS-mode causes a VirtualInstruction exception.
882882
883883
Summary:
884884
@@ -915,7 +915,7 @@ fields:
915915
the `hpmcounter24` CSR (an alias of `mhpmcounter24`) is accessible to VS-mode.
916916
917917
When `hcounteren.HPM24` is clear and `mcounteren.HPM24` is set, then any access to `hpmcounter24` in
918-
VU-mode or VS-mode causes a VirtualInstruction execption.
918+
VU-mode or VS-mode causes a VirtualInstruction exception.
919919
920920
Summary:
921921
@@ -952,7 +952,7 @@ fields:
952952
the `hpmcounter25` CSR (an alias of `mhpmcounter25`) is accessible to VS-mode.
953953
954954
When `hcounteren.HPM25` is clear and `mcounteren.HPM25` is set, then any access to `hpmcounter25` in
955-
VU-mode or VS-mode causes a VirtualInstruction execption.
955+
VU-mode or VS-mode causes a VirtualInstruction exception.
956956
957957
Summary:
958958
@@ -989,7 +989,7 @@ fields:
989989
the `hpmcounter26` CSR (an alias of `mhpmcounter26`) is accessible to VS-mode.
990990
991991
When `hcounteren.HPM26` is clear and `mcounteren.HPM26` is set, then any access to `hpmcounter26` in
992-
VU-mode or VS-mode causes a VirtualInstruction execption.
992+
VU-mode or VS-mode causes a VirtualInstruction exception.
993993
994994
Summary:
995995
@@ -1026,7 +1026,7 @@ fields:
10261026
the `hpmcounter27` CSR (an alias of `mhpmcounter27`) is accessible to VS-mode.
10271027
10281028
When `hcounteren.HPM27` is clear and `mcounteren.HPM27` is set, then any access to `hpmcounter27` in
1029-
VU-mode or VS-mode causes a VirtualInstruction execption.
1029+
VU-mode or VS-mode causes a VirtualInstruction exception.
10301030
10311031
Summary:
10321032
@@ -1063,7 +1063,7 @@ fields:
10631063
the `hpmcounter28` CSR (an alias of `mhpmcounter28`) is accessible to VS-mode.
10641064
10651065
When `hcounteren.HPM28` is clear and `mcounteren.HPM28` is set, then any access to `hpmcounter28` in
1066-
VU-mode or VS-mode causes a VirtualInstruction execption.
1066+
VU-mode or VS-mode causes a VirtualInstruction exception.
10671067
10681068
Summary:
10691069
@@ -1100,7 +1100,7 @@ fields:
11001100
the `hpmcounter29` CSR (an alias of `mhpmcounter29`) is accessible to VS-mode.
11011101
11021102
When `hcounteren.HPM29` is clear and `mcounteren.HPM29` is set, then any access to `hpmcounter29` in
1103-
VU-mode or VS-mode causes a VirtualInstruction execption.
1103+
VU-mode or VS-mode causes a VirtualInstruction exception.
11041104
11051105
Summary:
11061106
@@ -1137,7 +1137,7 @@ fields:
11371137
the `hpmcounter30` CSR (an alias of `mhpmcounter30`) is accessible to VS-mode.
11381138
11391139
When `hcounteren.HPM30` is clear and `mcounteren.HPM30` is set, then any access to `hpmcounter30` in
1140-
VU-mode or VS-mode causes a VirtualInstruction execption.
1140+
VU-mode or VS-mode causes a VirtualInstruction exception.
11411141
11421142
Summary:
11431143
@@ -1174,7 +1174,7 @@ fields:
11741174
the `hpmcounter31` CSR (an alias of `mhpmcounter31`) is accessible to VS-mode.
11751175
11761176
When `hcounteren.HPM31` is clear and `mcounteren.HPM31` is set, then any access to `hpmcounter31` in
1177-
VU-mode or VS-mode causes a VirtualInstruction execption.
1177+
VU-mode or VS-mode causes a VirtualInstruction exception.
11781178
11791179
Summary:
11801180

0 commit comments

Comments
 (0)