File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ extensions:
63
63
REPORT_ENCODING_IN_MTVAL_ON_ILLEGAL_INSTRUCTION :
64
64
schema :
65
65
const : true
66
- M_MODE_ENDIANESS :
66
+ M_MODE_ENDIANNESS :
67
67
schema :
68
68
const : little
69
69
# TODO: Uncomment when GitHub issue # is fixed.
@@ -76,7 +76,7 @@ extensions:
76
76
# version: "=1.1.0"
77
77
# then:
78
78
# enum: [little, big]
79
- XLEN :
79
+ MXLEN :
80
80
schema :
81
81
const : 64
82
82
CONFIG_PTR_ADDRESS :
Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ description:
44
44
normative: false
45
45
text: |
46
46
Since the CPU does not support big endian in VS-mode, this is hardwired to 0.
47
- when(): return VS_MODE_ENDIANESS == "little";
47
+ when(): return VS_MODE_ENDIANNESS == "little";
48
48
49
49
- id: csr-hstatus-vgein-big-endian
50
50
normative: false
51
51
text: |
52
52
Since the CPU does not support little endian in VS-mode, this is hardwired to 1.
53
- when(): return VS_MODE_ENDIANESS == "big";
53
+ when(): return VS_MODE_ENDIANNESS == "big";
54
54
```
55
55
56
56
== ID conventions
Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ class RequirementGroup
98
98
# @param data [Hash<String, Object>] Data from yaml
99
99
# @param arch [Architecture] Architecture standards
100
100
def initialize ( data , arch )
101
- raise ArgumentError , "Bad data" unless data . is_a? ( Hash ) unless data . is_a? ( Hash )
102
- raise ArgumentError , "Need Architecture class but it's a #{ arch . class } " unless arch . is_a? ( Architecture )
101
+ raise ArgumentError , "data is a #{ data . class } class containing ' #{ data } ' but needs to be a Hash" unless data . is_a? ( Hash )
102
+ raise ArgumentError , "arch is a #{ arch . class } class but needs to be an Architecture class " unless arch . is_a? ( Architecture )
103
103
104
104
@data = data
105
105
@arch = arch
You can’t perform that action at this time.
0 commit comments