Skip to content

Commit 4ea225f

Browse files
Merge pull request #419 from riscv-software-src/dev/kbroch/fix-min-max-addr-in-csr-schema
change to correct range specifiers for an integer type
2 parents 5bd3d72 + 5cc3dcf commit 4ea225f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

schemas/csr_schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@
226226
},
227227
"address": {
228228
"type": "integer",
229-
"minValue": 0,
230-
"maxValue": 4095,
229+
"minimum": 0,
230+
"maximum": 4095,
231231
"description": "Address of the CSR, as given to the CSR access instructions of the `Zicsr` extension"
232232
},
233233
"indirect_address": {

0 commit comments

Comments
 (0)