@@ -91,17 +91,17 @@ fields:
9191 Controls the endianness of data M-mode (0 = little, 1 = big).
9292 Instructions are always little endian, regardless of the data setting.
9393
94- [when,"M_MODE_ENDIANESS == little"]
94+ [when,"M_MODE_ENDIANNESS == little"]
9595 Since the CPU does not support big endian, this is hardwired to 0.
9696
97- [when,"M_MODE_ENDIANESS == big"]
97+ [when,"M_MODE_ENDIANNESS == big"]
9898 Since the CPU does not support little endian, this is hardwired to 1.
9999 type() : |
100- return (M_MODE_ENDIANESS == "dynamic") ? CsrFieldType::RW : CsrFieldType::RO;
100+ return (M_MODE_ENDIANNESS == "dynamic") ? CsrFieldType::RW : CsrFieldType::RO;
101101
102102 # if endianness is mutable, MBE comes out of reset in little-endian mode
103103 reset_value() : |
104- return (M_MODE_ENDIANESS == "big") ? 1 : 0;
104+ return (M_MODE_ENDIANNESS == "big") ? 1 : 0;
105105
106106 SBE :
107107 location : 36
@@ -113,19 +113,19 @@ fields:
113113 Controls the endianness of S-mode (0 = little, 1 = big).
114114 Instructions are always little endian, regardless of the data setting.
115115
116- [when,"S_MODE_ENDIANESS == little"]
116+ [when,"S_MODE_ENDIANNESS == little"]
117117 Since the CPU does not support big endian, this is hardwired to 0.
118118
119- [when,"S_MODE_ENDIANESS == big"]
119+ [when,"S_MODE_ENDIANNESS == big"]
120120 Since the CPU does not support little endian, this is hardwired to 1.
121121 type() : |
122- return (S_MODE_ENDIANESS == "dynamic") ? CsrFieldType::RW : CsrFieldType::RO;
122+ return (S_MODE_ENDIANNESS == "dynamic") ? CsrFieldType::RW : CsrFieldType::RO;
123123
124124 # if endianness is mutable, MBE comes out of reset in little-endian mode
125125 reset_value() : |
126- if (S_MODE_ENDIANESS == "little") {
126+ if (S_MODE_ENDIANNESS == "little") {
127127 return 0;
128- } else if (S_MODE_ENDIANESS == "big") {
128+ } else if (S_MODE_ENDIANNESS == "big") {
129129 return 1;
130130 } else {
131131 return UNDEFINED_LEGAL;
@@ -532,18 +532,18 @@ fields:
532532 Controls the endianness of U-mode (0 = little, 1 = big).
533533 Instructions are always little endian, regardless of the data setting.
534534
535- [when,"U_MODE_ENDIANESS == 'little'"]
535+ [when,"U_MODE_ENDIANNESS == 'little'"]
536536 Since the CPU does not support big endian in U-mode, this is hardwired to 0.
537537
538- [when,"U_MODE_ENDIANESS == 'big'"]
538+ [when,"U_MODE_ENDIANNESS == 'big'"]
539539 Since the CPU does not support little endian in U-mode, this is hardwired to 1.
540540 type() : |
541- return (U_MODE_ENDIANESS == "dynamic") ? CsrFieldType::RW : CsrFieldType::RO;
541+ return (U_MODE_ENDIANNESS == "dynamic") ? CsrFieldType::RW : CsrFieldType::RO;
542542
543543 reset_value() : |
544- if (U_MODE_ENDIANESS == "little") {
544+ if (U_MODE_ENDIANNESS == "little") {
545545 return 0;
546- } else if (U_MODE_ENDIANESS == "big") {
546+ } else if (U_MODE_ENDIANNESS == "big") {
547547 return 1;
548548 } else {
549549 return UNDEFINED_LEGAL;
0 commit comments