Skip to content

Commit 25a202b

Browse files
authored
Add minimal syntax highlighting for IDL; fix up issues with RV32 (#7)
* Add minimal syntax highlighting for IDL; fix up issues with RV32 * Split ArchDef into config dependend/independent parts
1 parent 4109d1c commit 25a202b

Some content is hidden

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

93 files changed

+4362
-933
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
.venv
99
gen
1010
node_modules
11+
_site

arch/csr/I/pmpaddr0.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ pmpaddr0:
1313
definedBy: I
1414
fields:
1515
ADDR:
16-
location: 63-0
16+
location_rv32: 31-0
17+
location_rv64: 63-0
1718
description: |
1819
Bits <%= PHYS_ADDR_WIDTH-1 %>:2 of the address specifier for PMP entry 0
1920
(or, if `pmp1cfg.A` == TOR, for PMP entry 1).

arch/csr/I/pmpaddr1.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ pmpaddr1:
1313
definedBy: I
1414
fields:
1515
ADDR:
16-
location: 63-0
16+
location_rv32: 31-0
17+
location_rv64: 63-0
1718
description: |
1819
Bits <%= PHYS_ADDR_WIDTH-1 %>:2 of the address specifier for PMP entry 1
1920
(or, if `pmp2cfg.A` == TOR, for PMP entry 2).

arch/csr/I/pmpaddr10.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ pmpaddr10:
1313
definedBy: I
1414
fields:
1515
ADDR:
16-
location: 63-0
16+
location_rv32: 31-0
17+
location_rv64: 63-0
1718
description: |
1819
Bits <%= PHYS_ADDR_WIDTH-1 %>:2 of the address specifier for PMP entry 10
1920
(or, if `pmp11cfg.A` == TOR, for PMP entry 11).

arch/csr/I/pmpaddr11.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ pmpaddr11:
1313
definedBy: I
1414
fields:
1515
ADDR:
16-
location: 63-0
16+
location_rv32: 31-0
17+
location_rv64: 63-0
1718
description: |
1819
Bits <%= PHYS_ADDR_WIDTH-1 %>:2 of the address specifier for PMP entry 11
1920
(or, if `pmp12cfg.A` == TOR, for PMP entry 12).

arch/csr/I/pmpaddr12.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ pmpaddr12:
1313
definedBy: I
1414
fields:
1515
ADDR:
16-
location: 63-0
16+
location_rv32: 31-0
17+
location_rv64: 63-0
1718
description: |
1819
Bits <%= PHYS_ADDR_WIDTH-1 %>:2 of the address specifier for PMP entry 12
1920
(or, if `pmp13cfg.A` == TOR, for PMP entry 13).

arch/csr/I/pmpaddr13.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ pmpaddr13:
1313
definedBy: I
1414
fields:
1515
ADDR:
16-
location: 63-0
16+
location_rv32: 31-0
17+
location_rv64: 63-0
1718
description: |
1819
Bits <%= PHYS_ADDR_WIDTH-1 %>:2 of the address specifier for PMP entry 13
1920
(or, if `pmp14cfg.A` == TOR, for PMP entry 14).

arch/csr/I/pmpaddr14.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ pmpaddr14:
1313
definedBy: I
1414
fields:
1515
ADDR:
16-
location: 63-0
16+
location_rv32: 31-0
17+
location_rv64: 63-0
1718
description: |
1819
Bits <%= PHYS_ADDR_WIDTH-1 %>:2 of the address specifier for PMP entry 14
1920
(or, if `pmp15cfg.A` == TOR, for PMP entry 15).

arch/csr/I/pmpaddr15.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ pmpaddr15:
1313
definedBy: I
1414
fields:
1515
ADDR:
16-
location: 63-0
16+
location_rv32: 31-0
17+
location_rv64: 63-0
1718
description: |
1819
Bits <%= PHYS_ADDR_WIDTH-1 %>:2 of the address specifier for PMP entry 15
1920
(or, if `pmp16cfg.A` == TOR, for PMP entry 16).

arch/csr/I/pmpaddr16.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ pmpaddr16:
1313
definedBy: I
1414
fields:
1515
ADDR:
16-
location: 63-0
16+
location_rv32: 31-0
17+
location_rv64: 63-0
1718
description: |
1819
Bits <%= PHYS_ADDR_WIDTH-1 %>:2 of the address specifier for PMP entry 16
1920
(or, if `pmp17cfg.A` == TOR, for PMP entry 17).

0 commit comments

Comments
 (0)