| { | |
| "license": { | |
| "copyright": "Copyright (c) 2010-2025 Arm Limited or its affiliates. All rights reserved.", | |
| "info": "This document is Non-confidential and licensed under the BSD 3-clause license." | |
| }, | |
| "additionalProperties": false, | |
| "examples": [ | |
| { | |
| "_type": "ExpressionRange", | |
| "expression": "((n * 2)+18):(x)" | |
| } | |
| ], | |
| "info": [ | |
| "Defines a varying range, described by an expression. Expressions are of the form:", | |
| [ | |
| " - `n + 2`: A single bit range.", | |
| " - `(n + 2):(n)`: A multiple bit range (3 in this case)." | |
| ] | |
| ], | |
| "properties": { | |
| "_meta": { | |
| "$ref": "Meta.json" | |
| }, | |
| "_type": { | |
| "enum": [ | |
| "ExpressionRange" | |
| ] | |
| }, | |
| "expression": { | |
| "info": [ | |
| "The expression string this range is represented by." | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "expression" | |
| ], | |
| "title": "ExpressionRange", | |
| "type": "object", | |
| "$schema": "http://json-schema.org/draft-04/schema#" | |
| } |