Skip to content

Commit 7fe47f5

Browse files
authored
Merge pull request #153 from riscv-software-src/v
Add V skeleton
2 parents 6f39295 + aba4306 commit 7fe47f5

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

arch/ext/V.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# yaml-language-server: $schema=../../schemas/ext_schema.json
2+
3+
V:
4+
type: unprivileged
5+
long_name: Variable-length vector
6+
versions:
7+
- version: "1.0.0"
8+
state: ratified
9+
ratification_date: null
10+
description: |
11+
TODO
12+
params:
13+
MUTABLE_MISA_V:
14+
description: |
15+
Indicates whether or not the `V` extension can be disabled with the `misa.V` bit.
16+
schema:
17+
type: boolean

cfgs/generic_rv64/implemented_exts.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ implemented_extensions:
1414
- [Smhpm, "1.12.0"]
1515
- [Smpmp, "1.12.0"]
1616
- [U, "1.12.0"]
17+
- [V, "1.0.0"]
1718
- [Zicntr, "2.0.0"]
1819
- [Zicsr, "2.0.0"]
1920
- [Zihpm, "2.0.0"]

cfgs/generic_rv64/params.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,10 @@ params:
372372
# the extension can be disabled in the `misa.U` bit.
373373
MUTABLE_MISA_U: false
374374

375+
# when the V extensions is supported, indicates whether or not
376+
# the extension can be disabled in the `misa.V` bit.
377+
MUTABLE_MISA_V: false
378+
375379
# size of a cache block, in bytes
376380
CACHE_BLOCK_SIZE: 64
377381

0 commit comments

Comments
 (0)