| # Copyright lowRISC contributors. |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| # SPDX-License-Identifier: Apache-2.0 |
| '''Permitted values of the CMD register.''' |
| '''Permitted values of the STATUS register.''' |
| BUSY_SEC_WIPE_DMEM = 0x02 |
| BUSY_SEC_WIPE_IMEM = 0x03 |
| '''A copy of the list of bits in the ERR_BITS register.''' |
| IMEM_INTG_VIOLATION = 1 << 16 |
| DMEM_INTG_VIOLATION = 1 << 17 |
| REG_INTG_VIOLATION = 1 << 18 |
| BUS_INTG_VIOLATION = 1 << 19 |
| ILLEGAL_BUS_ACCESS = 1 << 20 |
| LIFECYCLE_ESCALATION = 1 << 21 |