You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,8 +163,8 @@ CSR Definition Encoding:
163
163
- Use `csr_definitions` entries for CSRs, with `reg-name` (single CSR) or `reg-names` (multiple CSRs).
164
164
- Every CSR/field entry must include `type` with one of:
165
165
- `LegalEnum` - Standard defines legal values and implementation supports a subset that doesn't use all possible bit encodings (e.g., 10 values in a 4-bit field). Implementation's config file provides:
166
-
- A list of supported legal write values
167
-
- An indication of whether illegal write values are ignored or map to one specified legal value
166
+
- A list of supported legal write values. An empty list indicates the CSR/field is treated as read-only zero.
167
+
- An indication of whether illegal write values are ignored or how they map to legal values
168
168
- `VarWidth`- CSR/field is variable width and the `width-parameter` property provides the name of the parameter that provides its value.
169
169
- `ConstMask` - CSR/field allows implementation to treat some bits as constant values. Writes are ignored and reads return the constant value. Implementation's config file provides:
170
170
- mask: A bit mask (1 = constant, 0 = variable) of constant bits
0 commit comments