1
0
mirror of https://github.com/espressif/esp-idf synced 2025-03-31 20:00:09 -04:00
2024-03-01 10:16:14 +08:00

1411 lines
51 KiB
C

/**
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/** Group: Control and configuration registers */
/** Type of l1_cache_ctrl register
* L1 data Cache(L1-Cache) control register
*/
typedef union {
struct {
/** l1_cache_shut_bus0 : R/W; bitpos: [0]; default: 0;
* The bit is used to disable core0 bus0 access L1-Cache, 0: enable, 1: disable
*/
uint32_t l1_cache_shut_bus0:1;
/** l1_cache_shut_bus1 : R/W; bitpos: [1]; default: 0;
* The bit is used to disable core0 bus1 access L1-Cache, 0: enable, 1: disable
*/
uint32_t l1_cache_shut_bus1:1;
/** l1_cache_shut_dbus2 : R/W; bitpos: [2]; default: 0;
* Reserved
*/
uint32_t l1_cache_shut_dbus2:1;
/** l1_cache_shut_dbus3 : R/W; bitpos: [3]; default: 0;
* Reserved
*/
uint32_t l1_cache_shut_dbus3:1;
uint32_t reserved_4:28;
};
uint32_t val;
} cache_l1_cache_ctrl_reg_t;
/** Group: Wrap Mode Control and configuration registers */
/** Type of l1_cache_wrap_around_ctrl register
* Cache wrap around control register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_wrap : R/W; bitpos: [4]; default: 0;
* Set this bit as 1 to enable L1-DCache wrap around mode.
*/
uint32_t l1_cache_wrap:1;
uint32_t reserved_5:27;
};
uint32_t val;
} cache_l1_cache_wrap_around_ctrl_reg_t;
/** Group: Cache Tag Memory Power Control registers */
/** Type of l1_cache_tag_mem_power_ctrl register
* Cache tag memory power control register
*/
typedef union {
struct {
uint32_t reserved_0:16;
/** l1_cache_tag_mem_force_on : R/W; bitpos: [16]; default: 1;
* The bit is used to close clock gating of L1-Cache tag memory. 1: close gating, 0:
* open clock gating.
*/
uint32_t l1_cache_tag_mem_force_on:1;
/** l1_cache_tag_mem_force_pd : R/W; bitpos: [17]; default: 0;
* The bit is used to power L1-Cache tag memory down. 0: follow rtc_lslp, 1: power down
*/
uint32_t l1_cache_tag_mem_force_pd:1;
/** l1_cache_tag_mem_force_pu : R/W; bitpos: [18]; default: 1;
* The bit is used to power L1-Cache tag memory up. 0: follow rtc_lslp, 1: power up
*/
uint32_t l1_cache_tag_mem_force_pu:1;
uint32_t reserved_19:13;
};
uint32_t val;
} cache_l1_cache_tag_mem_power_ctrl_reg_t;
/** Group: Cache Data Memory Power Control registers */
/** Type of l1_cache_data_mem_power_ctrl register
* Cache data memory power control register
*/
typedef union {
struct {
uint32_t reserved_0:16;
/** l1_cache_data_mem_force_on : R/W; bitpos: [16]; default: 1;
* The bit is used to close clock gating of L1-Cache data memory. 1: close gating, 0:
* open clock gating.
*/
uint32_t l1_cache_data_mem_force_on:1;
/** l1_cache_data_mem_force_pd : R/W; bitpos: [17]; default: 0;
* The bit is used to power L1-Cache data memory down. 0: follow rtc_lslp, 1: power
* down
*/
uint32_t l1_cache_data_mem_force_pd:1;
/** l1_cache_data_mem_force_pu : R/W; bitpos: [18]; default: 1;
* The bit is used to power L1-Cache data memory up. 0: follow rtc_lslp, 1: power up
*/
uint32_t l1_cache_data_mem_force_pu:1;
uint32_t reserved_19:13;
};
uint32_t val;
} cache_l1_cache_data_mem_power_ctrl_reg_t;
/** Group: Cache Freeze Control registers */
/** Type of l1_cache_freeze_ctrl register
* Cache Freeze control register
*/
typedef union {
struct {
uint32_t reserved_0:16;
/** l1_cache_freeze_en : R/W; bitpos: [16]; default: 0;
* The bit is used to enable freeze operation on L1-Cache. It can be cleared by
* software.
*/
uint32_t l1_cache_freeze_en:1;
/** l1_cache_freeze_mode : R/W; bitpos: [17]; default: 0;
* The bit is used to configure mode of freeze operation L1-Cache. 0: a miss-access
* will not stuck. 1: a miss-access will stuck.
*/
uint32_t l1_cache_freeze_mode:1;
/** l1_cache_freeze_done : RO; bitpos: [18]; default: 0;
* The bit is used to indicate whether freeze operation on L1-Cache is finished or
* not. 0: not finished. 1: finished.
*/
uint32_t l1_cache_freeze_done:1;
uint32_t reserved_19:13;
};
uint32_t val;
} cache_l1_cache_freeze_ctrl_reg_t;
/** Group: Cache Data Memory Access Control and Configuration registers */
/** Type of l1_cache_data_mem_acs_conf register
* Cache data memory access configure register
*/
typedef union {
struct {
uint32_t reserved_0:16;
/** l1_cache_data_mem_rd_en : R/W; bitpos: [16]; default: 1;
* The bit is used to enable config-bus read L1-Cache data memoryory. 0: disable, 1:
* enable.
*/
uint32_t l1_cache_data_mem_rd_en:1;
/** l1_cache_data_mem_wr_en : R/W; bitpos: [17]; default: 1;
* The bit is used to enable config-bus write L1-Cache data memoryory. 0: disable, 1:
* enable.
*/
uint32_t l1_cache_data_mem_wr_en:1;
uint32_t reserved_18:14;
};
uint32_t val;
} cache_l1_cache_data_mem_acs_conf_reg_t;
/** Group: Cache Tag Memory Access Control and Configuration registers */
/** Type of l1_cache_tag_mem_acs_conf register
* Cache tag memory access configure register
*/
typedef union {
struct {
uint32_t reserved_0:16;
/** l1_cache_tag_mem_rd_en : R/W; bitpos: [16]; default: 1;
* The bit is used to enable config-bus read L1-Cache tag memoryory. 0: disable, 1:
* enable.
*/
uint32_t l1_cache_tag_mem_rd_en:1;
/** l1_cache_tag_mem_wr_en : R/W; bitpos: [17]; default: 1;
* The bit is used to enable config-bus write L1-Cache tag memoryory. 0: disable, 1:
* enable.
*/
uint32_t l1_cache_tag_mem_wr_en:1;
uint32_t reserved_18:14;
};
uint32_t val;
} cache_l1_cache_tag_mem_acs_conf_reg_t;
/** Group: Prelock Control and configuration registers */
/** Type of l1_cache_prelock_conf register
* L1 Cache prelock configure register
*/
typedef union {
struct {
/** l1_cache_prelock_sct0_en : R/W; bitpos: [0]; default: 0;
* The bit is used to enable the first section of prelock function on L1-Cache.
*/
uint32_t l1_cache_prelock_sct0_en:1;
/** l1_cache_prelock_sct1_en : R/W; bitpos: [1]; default: 0;
* The bit is used to enable the second section of prelock function on L1-Cache.
*/
uint32_t l1_cache_prelock_sct1_en:1;
/** l1_cache_prelock_rgid : HRO; bitpos: [5:2]; default: 0;
* The bit is used to set the gid of l1 cache prelock.
*/
uint32_t l1_cache_prelock_rgid:4;
uint32_t reserved_6:26;
};
uint32_t val;
} cache_l1_cache_prelock_conf_reg_t;
/** Type of l1_cache_prelock_sct0_addr register
* L1 Cache prelock section0 address configure register
*/
typedef union {
struct {
/** l1_cache_prelock_sct0_addr : R/W; bitpos: [31:0]; default: 0;
* Those bits are used to configure the start virtual address of the first section of
* prelock on L1-Cache, which should be used together with
* L1_CACHE_PRELOCK_SCT0_SIZE_REG
*/
uint32_t l1_cache_prelock_sct0_addr:32;
};
uint32_t val;
} cache_l1_cache_prelock_sct0_addr_reg_t;
/** Type of l1_dcache_prelock_sct1_addr register
* L1 Cache prelock section1 address configure register
*/
typedef union {
struct {
/** l1_cache_prelock_sct1_addr : R/W; bitpos: [31:0]; default: 0;
* Those bits are used to configure the start virtual address of the second section of
* prelock on L1-Cache, which should be used together with
* L1_CACHE_PRELOCK_SCT1_SIZE_REG
*/
uint32_t l1_cache_prelock_sct1_addr:32;
};
uint32_t val;
} cache_l1_dcache_prelock_sct1_addr_reg_t;
/** Type of l1_dcache_prelock_sct_size register
* L1 Cache prelock section size configure register
*/
typedef union {
struct {
/** l1_cache_prelock_sct0_size : R/W; bitpos: [13:0]; default: 16383;
* Those bits are used to configure the size of the first section of prelock on
* L1-Cache, which should be used together with L1_CACHE_PRELOCK_SCT0_ADDR_REG
*/
uint32_t l1_cache_prelock_sct0_size:14;
uint32_t reserved_14:2;
/** l1_cache_prelock_sct1_size : R/W; bitpos: [29:16]; default: 16383;
* Those bits are used to configure the size of the second section of prelock on
* L1-Cache, which should be used together with L1_CACHE_PRELOCK_SCT1_ADDR_REG
*/
uint32_t l1_cache_prelock_sct1_size:14;
uint32_t reserved_30:2;
};
uint32_t val;
} cache_l1_dcache_prelock_sct_size_reg_t;
/** Group: Lock Control and configuration registers */
/** Type of lock_ctrl register
* Lock-class (manual lock) operation control register
*/
typedef union {
struct {
/** lock_ena : R/W/SC; bitpos: [0]; default: 0;
* The bit is used to enable lock operation. It will be cleared by hardware after lock
* operation done
*/
uint32_t lock_ena:1;
/** unlock_ena : R/W/SC; bitpos: [1]; default: 0;
* The bit is used to enable unlock operation. It will be cleared by hardware after
* unlock operation done
*/
uint32_t unlock_ena:1;
/** lock_done : RO; bitpos: [2]; default: 1;
* The bit is used to indicate whether unlock/lock operation is finished or not. 0:
* not finished. 1: finished.
*/
uint32_t lock_done:1;
/** lock_rgid : HRO; bitpos: [6:3]; default: 0;
* The bit is used to set the gid of cache lock/unlock.
*/
uint32_t lock_rgid:4;
uint32_t reserved_7:25;
};
uint32_t val;
} cache_lock_ctrl_reg_t;
/** Type of lock_map register
* Lock (manual lock) map configure register
*/
typedef union {
struct {
/** lock_map : R/W; bitpos: [5:0]; default: 0;
* Those bits are used to indicate which caches in the two-level cache structure will
* apply this lock/unlock operation. [4]: L1-Cache
*/
uint32_t lock_map:6;
uint32_t reserved_6:26;
};
uint32_t val;
} cache_lock_map_reg_t;
/** Type of lock_addr register
* Lock (manual lock) address configure register
*/
typedef union {
struct {
/** lock_addr : R/W; bitpos: [31:0]; default: 0;
* Those bits are used to configure the start virtual address of the lock/unlock
* operation, which should be used together with CACHE_LOCK_SIZE_REG
*/
uint32_t lock_addr:32;
};
uint32_t val;
} cache_lock_addr_reg_t;
/** Type of lock_size register
* Lock (manual lock) size configure register
*/
typedef union {
struct {
/** lock_size : R/W; bitpos: [15:0]; default: 0;
* Those bits are used to configure the size of the lock/unlock operation, which
* should be used together with CACHE_LOCK_ADDR_REG
*/
uint32_t lock_size:16;
uint32_t reserved_16:16;
};
uint32_t val;
} cache_lock_size_reg_t;
/** Group: Sync Control and configuration registers */
/** Type of sync_ctrl register
* Sync-class operation control register
*/
typedef union {
struct {
/** invalidate_ena : R/W/SC; bitpos: [0]; default: 1;
* The bit is used to enable invalidate operation. It will be cleared by hardware
* after invalidate operation done. Note that this bit and the other sync-bits
* (clean_ena, writeback_ena, writeback_invalidate_ena) are mutually exclusive, that
* is, those bits can not be set to 1 at the same time.
*/
uint32_t invalidate_ena:1;
/** clean_ena : R/W/SC; bitpos: [1]; default: 0;
* The bit is used to enable clean operation. It will be cleared by hardware after
* clean operation done. Note that this bit and the other sync-bits (invalidate_ena,
* writeback_ena, writeback_invalidate_ena) are mutually exclusive, that is, those
* bits can not be set to 1 at the same time.
*/
uint32_t clean_ena:1;
/** writeback_ena : R/W/SC; bitpos: [2]; default: 0;
* The bit is used to enable writeback operation. It will be cleared by hardware after
* writeback operation done. Note that this bit and the other sync-bits
* (invalidate_ena, clean_ena, writeback_invalidate_ena) are mutually exclusive, that
* is, those bits can not be set to 1 at the same time.
*/
uint32_t writeback_ena:1;
/** writeback_invalidate_ena : R/W/SC; bitpos: [3]; default: 0;
* The bit is used to enable writeback-invalidate operation. It will be cleared by
* hardware after writeback-invalidate operation done. Note that this bit and the
* other sync-bits (invalidate_ena, clean_ena, writeback_ena) are mutually exclusive,
* that is, those bits can not be set to 1 at the same time.
*/
uint32_t writeback_invalidate_ena:1;
/** sync_done : RO; bitpos: [4]; default: 0;
* The bit is used to indicate whether sync operation (invalidate, clean, writeback,
* writeback_invalidate) is finished or not. 0: not finished. 1: finished.
*/
uint32_t sync_done:1;
/** sync_rgid : HRO; bitpos: [8:5]; default: 0;
* The bit is used to set the gid of cache sync operation (invalidate, clean,
* writeback, writeback_invalidate)
*/
uint32_t sync_rgid:4;
uint32_t reserved_9:23;
};
uint32_t val;
} cache_sync_ctrl_reg_t;
/** Type of sync_map register
* Sync map configure register
*/
typedef union {
struct {
/** sync_map : R/W; bitpos: [5:0]; default: 63;
* Those bits are used to indicate which caches in the two-level cache structure will
* apply the sync operation. [4]: L1-Cache
*/
uint32_t sync_map:6;
uint32_t reserved_6:26;
};
uint32_t val;
} cache_sync_map_reg_t;
/** Type of sync_addr register
* Sync address configure register
*/
typedef union {
struct {
/** sync_addr : R/W; bitpos: [31:0]; default: 0;
* Those bits are used to configure the start virtual address of the sync operation,
* which should be used together with CACHE_SYNC_SIZE_REG
*/
uint32_t sync_addr:32;
};
uint32_t val;
} cache_sync_addr_reg_t;
/** Type of sync_size register
* Sync size configure register
*/
typedef union {
struct {
/** sync_size : R/W; bitpos: [23:0]; default: 0;
* Those bits are used to configure the size of the sync operation, which should be
* used together with CACHE_SYNC_ADDR_REG
*/
uint32_t sync_size:24;
uint32_t reserved_24:8;
};
uint32_t val;
} cache_sync_size_reg_t;
/** Group: Preload Control and configuration registers */
/** Type of l1_cache_preload_ctrl register
* L1 Cache preload-operation control register
*/
typedef union {
struct {
/** l1_cache_preload_ena : R/W/SC; bitpos: [0]; default: 0;
* The bit is used to enable preload operation on L1-Cache. It will be cleared by
* hardware automatically after preload operation is done.
*/
uint32_t l1_cache_preload_ena:1;
/** l1_cache_preload_done : RO; bitpos: [1]; default: 1;
* The bit is used to indicate whether preload operation is finished or not. 0: not
* finished. 1: finished.
*/
uint32_t l1_cache_preload_done:1;
/** l1_cache_preload_order : R/W; bitpos: [2]; default: 0;
* The bit is used to configure the direction of preload operation. 0: ascending, 1:
* descending.
*/
uint32_t l1_cache_preload_order:1;
/** l1_cache_preload_rgid : HRO; bitpos: [6:3]; default: 0;
* The bit is used to set the gid of l1 cache preload.
*/
uint32_t l1_cache_preload_rgid:4;
uint32_t reserved_7:25;
};
uint32_t val;
} cache_l1_cache_preload_ctrl_reg_t;
/** Type of l1_dcache_preload_addr register
* L1 Cache preload address configure register
*/
typedef union {
struct {
/** l1_cache_preload_addr : R/W; bitpos: [31:0]; default: 0;
* Those bits are used to configure the start virtual address of preload on L1-Cache,
* which should be used together with L1_CACHE_PRELOAD_SIZE_REG
*/
uint32_t l1_cache_preload_addr:32;
};
uint32_t val;
} cache_l1_dcache_preload_addr_reg_t;
/** Type of l1_dcache_preload_size register
* L1 Cache preload size configure register
*/
typedef union {
struct {
/** l1_cache_preload_size : R/W; bitpos: [13:0]; default: 0;
* Those bits are used to configure the size of the first section of prelock on
* L1-Cache, which should be used together with L1_CACHE_PRELOAD_ADDR_REG
*/
uint32_t l1_cache_preload_size:14;
uint32_t reserved_14:18;
};
uint32_t val;
} cache_l1_dcache_preload_size_reg_t;
/** Group: Autoload Control and configuration registers */
/** Type of l1_cache_autoload_ctrl register
* L1 Cache autoload-operation control register
*/
typedef union {
struct {
/** l1_cache_autoload_ena : R/W; bitpos: [0]; default: 0;
* The bit is used to enable and disable autoload operation on L1-Cache. 1: enable,
* 0: disable.
*/
uint32_t l1_cache_autoload_ena:1;
/** l1_cache_autoload_done : RO; bitpos: [1]; default: 1;
* The bit is used to indicate whether autoload operation on L1-Cache is finished or
* not. 0: not finished. 1: finished.
*/
uint32_t l1_cache_autoload_done:1;
/** l1_cache_autoload_order : R/W; bitpos: [2]; default: 0;
* The bit is used to configure the direction of autoload operation on L1-Cache. 0:
* ascending. 1: descending.
*/
uint32_t l1_cache_autoload_order:1;
/** l1_cache_autoload_trigger_mode : R/W; bitpos: [4:3]; default: 0;
* The field is used to configure trigger mode of autoload operation on L1-Cache. 0/3:
* miss-trigger, 1: hit-trigger, 2: miss-hit-trigger.
*/
uint32_t l1_cache_autoload_trigger_mode:2;
uint32_t reserved_5:3;
/** l1_cache_autoload_sct0_ena : R/W; bitpos: [8]; default: 0;
* The bit is used to enable the first section for autoload operation on L1-Cache.
*/
uint32_t l1_cache_autoload_sct0_ena:1;
/** l1_cache_autoload_sct1_ena : R/W; bitpos: [9]; default: 0;
* The bit is used to enable the second section for autoload operation on L1-Cache.
*/
uint32_t l1_cache_autoload_sct1_ena:1;
uint32_t reserved_10:22;
};
uint32_t val;
} cache_l1_cache_autoload_ctrl_reg_t;
/** Type of l1_cache_autoload_sct0_addr register
* L1 Cache autoload section 0 address configure register
*/
typedef union {
struct {
/** l1_cache_autoload_sct0_addr : R/W; bitpos: [31:0]; default: 0;
* Those bits are used to configure the start virtual address of the first section for
* autoload operation on L1-Cache. Note that it should be used together with
* L1_CACHE_AUTOLOAD_SCT0_SIZE and L1_CACHE_AUTOLOAD_SCT0_ENA.
*/
uint32_t l1_cache_autoload_sct0_addr:32;
};
uint32_t val;
} cache_l1_cache_autoload_sct0_addr_reg_t;
/** Type of l1_cache_autoload_sct0_size register
* L1 Cache autoload section 0 size configure register
*/
typedef union {
struct {
/** l1_cache_autoload_sct0_size : R/W; bitpos: [23:0]; default: 0;
* Those bits are used to configure the size of the first section for autoload
* operation on L1-Cache. Note that it should be used together with
* L1_CACHE_AUTOLOAD_SCT0_ADDR and L1_CACHE_AUTOLOAD_SCT0_ENA.
*/
uint32_t l1_cache_autoload_sct0_size:24;
uint32_t reserved_24:8;
};
uint32_t val;
} cache_l1_cache_autoload_sct0_size_reg_t;
/** Type of l1_cache_autoload_sct1_addr register
* L1 Cache autoload section 1 address configure register
*/
typedef union {
struct {
/** l1_cache_autoload_sct1_addr : R/W; bitpos: [31:0]; default: 0;
* Those bits are used to configure the start virtual address of the second section
* for autoload operation on L1-Cache. Note that it should be used together with
* L1_CACHE_AUTOLOAD_SCT1_SIZE and L1_CACHE_AUTOLOAD_SCT1_ENA.
*/
uint32_t l1_cache_autoload_sct1_addr:32;
};
uint32_t val;
} cache_l1_cache_autoload_sct1_addr_reg_t;
/** Type of l1_cache_autoload_sct1_size register
* L1 Cache autoload section 1 size configure register
*/
typedef union {
struct {
/** l1_cache_autoload_sct1_size : R/W; bitpos: [23:0]; default: 0;
* Those bits are used to configure the size of the second section for autoload
* operation on L1-Cache. Note that it should be used together with
* L1_CACHE_AUTOLOAD_SCT1_ADDR and L1_CACHE_AUTOLOAD_SCT1_ENA.
*/
uint32_t l1_cache_autoload_sct1_size:24;
uint32_t reserved_24:8;
};
uint32_t val;
} cache_l1_cache_autoload_sct1_size_reg_t;
/** Group: Interrupt registers */
/** Type of l1_cache_acs_cnt_int_ena register
* Cache Access Counter Interrupt enable register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_bus0_ovf_int_ena : R/W; bitpos: [4]; default: 0;
* The bit is used to enable interrupt of one of counters overflow that occurs in
* L1-DCache due to bus0 accesses L1-DCache.
*/
uint32_t l1_bus0_ovf_int_ena:1;
/** l1_bus1_ovf_int_ena : R/W; bitpos: [5]; default: 0;
* The bit is used to enable interrupt of one of counters overflow that occurs in
* L1-DCache due to bus1 accesses L1-DCache.
*/
uint32_t l1_bus1_ovf_int_ena:1;
uint32_t reserved_6:26;
};
uint32_t val;
} cache_l1_cache_acs_cnt_int_ena_reg_t;
/** Type of l1_cache_acs_cnt_int_clr register
* Cache Access Counter Interrupt clear register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_bus0_ovf_int_clr : WT; bitpos: [4]; default: 0;
* The bit is used to clear counters overflow interrupt and counters in L1-DCache due
* to bus0 accesses L1-DCache.
*/
uint32_t l1_bus0_ovf_int_clr:1;
/** l1_bus1_ovf_int_clr : WT; bitpos: [5]; default: 0;
* The bit is used to clear counters overflow interrupt and counters in L1-DCache due
* to bus1 accesses L1-DCache.
*/
uint32_t l1_bus1_ovf_int_clr:1;
uint32_t reserved_6:26;
};
uint32_t val;
} cache_l1_cache_acs_cnt_int_clr_reg_t;
/** Type of l1_cache_acs_cnt_int_raw register
* Cache Access Counter Interrupt raw register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_bus0_ovf_int_raw : R/WTC/SS; bitpos: [4]; default: 0;
* The raw bit of the interrupt of one of counters overflow that occurs in L1-DCache
* due to bus0 accesses L1-DCache.
*/
uint32_t l1_bus0_ovf_int_raw:1;
/** l1_bus1_ovf_int_raw : R/WTC/SS; bitpos: [5]; default: 0;
* The raw bit of the interrupt of one of counters overflow that occurs in L1-DCache
* due to bus1 accesses L1-DCache.
*/
uint32_t l1_bus1_ovf_int_raw:1;
uint32_t reserved_6:26;
};
uint32_t val;
} cache_l1_cache_acs_cnt_int_raw_reg_t;
/** Type of l1_cache_acs_cnt_int_st register
* Cache Access Counter Interrupt status register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_bus0_ovf_int_st : RO; bitpos: [4]; default: 0;
* The bit indicates the interrupt status of one of counters overflow that occurs in
* L1-DCache due to bus0 accesses L1-DCache.
*/
uint32_t l1_bus0_ovf_int_st:1;
/** l1_bus1_ovf_int_st : RO; bitpos: [5]; default: 0;
* The bit indicates the interrupt status of one of counters overflow that occurs in
* L1-DCache due to bus1 accesses L1-DCache.
*/
uint32_t l1_bus1_ovf_int_st:1;
uint32_t reserved_6:26;
};
uint32_t val;
} cache_l1_cache_acs_cnt_int_st_reg_t;
/** Type of l1_cache_acs_fail_int_ena register
* Cache Access Fail Interrupt enable register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_fail_int_ena : R/W; bitpos: [4]; default: 0;
* The bit is used to enable interrupt of access fail that occurs in L1-DCache due to
* cpu accesses L1-DCache.
*/
uint32_t l1_cache_fail_int_ena:1;
uint32_t reserved_5:27;
};
uint32_t val;
} cache_l1_cache_acs_fail_int_ena_reg_t;
/** Type of l1_cache_acs_fail_int_clr register
* L1-Cache Access Fail Interrupt clear register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_fail_int_clr : WT; bitpos: [4]; default: 0;
* The bit is used to clear interrupt of access fail that occurs in L1-DCache due to
* cpu accesses L1-DCache.
*/
uint32_t l1_cache_fail_int_clr:1;
uint32_t reserved_5:27;
};
uint32_t val;
} cache_l1_cache_acs_fail_int_clr_reg_t;
/** Type of l1_cache_acs_fail_int_raw register
* Cache Access Fail Interrupt raw register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_fail_int_raw : R/WTC/SS; bitpos: [4]; default: 0;
* The raw bit of the interrupt of access fail that occurs in L1-DCache.
*/
uint32_t l1_cache_fail_int_raw:1;
uint32_t reserved_5:27;
};
uint32_t val;
} cache_l1_cache_acs_fail_int_raw_reg_t;
/** Type of l1_cache_acs_fail_int_st register
* Cache Access Fail Interrupt status register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_fail_int_st : RO; bitpos: [4]; default: 0;
* The bit indicates the interrupt status of access fail that occurs in L1-DCache due
* to cpu accesses L1-DCache.
*/
uint32_t l1_cache_fail_int_st:1;
uint32_t reserved_5:27;
};
uint32_t val;
} cache_l1_cache_acs_fail_int_st_reg_t;
/** Type of sync_l1_cache_preload_int_ena register
* L1-Cache Access Fail Interrupt enable register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_pld_done_int_ena : R/W; bitpos: [4]; default: 0;
* The bit is used to enable interrupt of L1-Cache preload-operation. If preload
* operation is done, interrupt occurs.
*/
uint32_t l1_cache_pld_done_int_ena:1;
uint32_t reserved_5:1;
/** sync_done_int_ena : R/W; bitpos: [6]; default: 0;
* The bit is used to enable interrupt of Cache sync-operation done.
*/
uint32_t sync_done_int_ena:1;
uint32_t reserved_7:4;
/** l1_cache_pld_err_int_ena : R/W; bitpos: [11]; default: 0;
* The bit is used to enable interrupt of L1-Cache preload-operation error.
*/
uint32_t l1_cache_pld_err_int_ena:1;
uint32_t reserved_12:1;
/** sync_err_int_ena : R/W; bitpos: [13]; default: 0;
* The bit is used to enable interrupt of Cache sync-operation error.
*/
uint32_t sync_err_int_ena:1;
uint32_t reserved_14:18;
};
uint32_t val;
} cache_sync_l1_cache_preload_int_ena_reg_t;
/** Type of sync_l1_cache_preload_int_clr register
* Sync Preload operation Interrupt clear register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_pld_done_int_clr : WT; bitpos: [4]; default: 0;
* The bit is used to clear interrupt that occurs only when L1-Cache preload-operation
* is done.
*/
uint32_t l1_cache_pld_done_int_clr:1;
uint32_t reserved_5:1;
/** sync_done_int_clr : WT; bitpos: [6]; default: 0;
* The bit is used to clear interrupt that occurs only when Cache sync-operation is
* done.
*/
uint32_t sync_done_int_clr:1;
uint32_t reserved_7:4;
/** l1_cache_pld_err_int_clr : WT; bitpos: [11]; default: 0;
* The bit is used to clear interrupt of L1-Cache preload-operation error.
*/
uint32_t l1_cache_pld_err_int_clr:1;
uint32_t reserved_12:1;
/** sync_err_int_clr : WT; bitpos: [13]; default: 0;
* The bit is used to clear interrupt of Cache sync-operation error.
*/
uint32_t sync_err_int_clr:1;
uint32_t reserved_14:18;
};
uint32_t val;
} cache_sync_l1_cache_preload_int_clr_reg_t;
/** Type of sync_l1_cache_preload_int_raw register
* Sync Preload operation Interrupt raw register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_pld_done_int_raw : R/WTC/SS; bitpos: [4]; default: 0;
* The raw bit of the interrupt that occurs only when L1-Cache preload-operation is
* done.
*/
uint32_t l1_cache_pld_done_int_raw:1;
uint32_t reserved_5:1;
/** sync_done_int_raw : R/WTC/SS; bitpos: [6]; default: 0;
* The raw bit of the interrupt that occurs only when Cache sync-operation is done.
*/
uint32_t sync_done_int_raw:1;
uint32_t reserved_7:4;
/** l1_cache_pld_err_int_raw : R/WTC/SS; bitpos: [11]; default: 0;
* The raw bit of the interrupt that occurs only when L1-Cache preload-operation error
* occurs.
*/
uint32_t l1_cache_pld_err_int_raw:1;
uint32_t reserved_12:1;
/** sync_err_int_raw : R/WTC/SS; bitpos: [13]; default: 0;
* The raw bit of the interrupt that occurs only when Cache sync-operation error
* occurs.
*/
uint32_t sync_err_int_raw:1;
uint32_t reserved_14:18;
};
uint32_t val;
} cache_sync_l1_cache_preload_int_raw_reg_t;
/** Type of sync_l1_cache_preload_int_st register
* L1-Cache Access Fail Interrupt status register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_pld_done_int_st : RO; bitpos: [4]; default: 0;
* The bit indicates the status of the interrupt that occurs only when L1-Cache
* preload-operation is done.
*/
uint32_t l1_cache_pld_done_int_st:1;
uint32_t reserved_5:1;
/** sync_done_int_st : RO; bitpos: [6]; default: 0;
* The bit indicates the status of the interrupt that occurs only when Cache
* sync-operation is done.
*/
uint32_t sync_done_int_st:1;
uint32_t reserved_7:4;
/** l1_cache_pld_err_int_st : RO; bitpos: [11]; default: 0;
* The bit indicates the status of the interrupt of L1-Cache preload-operation error.
*/
uint32_t l1_cache_pld_err_int_st:1;
uint32_t reserved_12:1;
/** sync_err_int_st : RO; bitpos: [13]; default: 0;
* The bit indicates the status of the interrupt of Cache sync-operation error.
*/
uint32_t sync_err_int_st:1;
uint32_t reserved_14:18;
};
uint32_t val;
} cache_sync_l1_cache_preload_int_st_reg_t;
/** Group: Cache Access Fail Configuration register */
/** Type of l1_cache_acs_fail_ctrl register
* Cache Access Fail Configuration register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_acs_fail_check_mode : R/W; bitpos: [4]; default: 0;
* The bit is used to configure l1 cache access fail check mode. 0: the access fail is
* not propagated to the request, 1: the access fail is propagated to the request
*/
uint32_t l1_cache_acs_fail_check_mode:1;
uint32_t reserved_5:27;
};
uint32_t val;
} cache_l1_cache_acs_fail_ctrl_reg_t;
/** Group: Access Statistics registers */
/** Type of l1_cache_acs_cnt_ctrl register
* Cache Access Counter enable and clear register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_bus0_cnt_ena : R/W; bitpos: [4]; default: 0;
* The bit is used to enable dbus0 counter in L1-DCache.
*/
uint32_t l1_bus0_cnt_ena:1;
/** l1_bus1_cnt_ena : R/W; bitpos: [5]; default: 0;
* The bit is used to enable dbus1 counter in L1-DCache.
*/
uint32_t l1_bus1_cnt_ena:1;
uint32_t reserved_6:14;
/** l1_bus0_cnt_clr : WT; bitpos: [20]; default: 0;
* The bit is used to clear dbus0 counter in L1-DCache.
*/
uint32_t l1_bus0_cnt_clr:1;
/** l1_bus1_cnt_clr : WT; bitpos: [21]; default: 0;
* The bit is used to clear dbus1 counter in L1-DCache.
*/
uint32_t l1_bus1_cnt_clr:1;
uint32_t reserved_22:10;
};
uint32_t val;
} cache_l1_cache_acs_cnt_ctrl_reg_t;
/** Type of l1_bus0_acs_hit_cnt register
* L1-Cache bus0 Hit-Access Counter register
*/
typedef union {
struct {
/** l1_bus0_hit_cnt : RO; bitpos: [31:0]; default: 0;
* The register records the number of hits when bus0 accesses L1-Cache.
*/
uint32_t l1_bus0_hit_cnt:32;
};
uint32_t val;
} cache_l1_bus0_acs_hit_cnt_reg_t;
/** Type of l1_bus0_acs_miss_cnt register
* L1-Cache bus0 Miss-Access Counter register
*/
typedef union {
struct {
/** l1_bus0_miss_cnt : RO; bitpos: [31:0]; default: 0;
* The register records the number of missing when bus0 accesses L1-Cache.
*/
uint32_t l1_bus0_miss_cnt:32;
};
uint32_t val;
} cache_l1_bus0_acs_miss_cnt_reg_t;
/** Type of l1_bus0_acs_conflict_cnt register
* L1-Cache bus0 Conflict-Access Counter register
*/
typedef union {
struct {
/** l1_bus0_conflict_rd_cnt : RO; bitpos: [31:0]; default: 0;
* The register records the number of access-conflicts when bus0 accesses L1-Cache.
*/
uint32_t l1_bus0_conflict_rd_cnt:32;
};
uint32_t val;
} cache_l1_bus0_acs_conflict_cnt_reg_t;
/** Type of l1_dbus0_acs_nxtlvl_rd_cnt register
* L1-Cache bus0 Next-Level-Access Counter register
*/
typedef union {
struct {
/** l1_bus0_nxtlvl_rd_cnt : RO; bitpos: [31:0]; default: 0;
* The register records the number of times that L1-Cache accesses L2-Cache due to
* bus0 accessing L1-Cache.
*/
uint32_t l1_bus0_nxtlvl_rd_cnt:32;
};
uint32_t val;
} cache_l1_dbus0_acs_nxtlvl_rd_cnt_reg_t;
/** Type of l1_dbus0_acs_nxtlvl_wr_cnt register
* L1-DCache bus0 WB-Access Counter register
*/
typedef union {
struct {
/** l1_bus0_nxtlvl_wr_cnt : RO; bitpos: [31:0]; default: 0;
* The register records the number of write back when bus0 accesses L1-Cache.
*/
uint32_t l1_bus0_nxtlvl_wr_cnt:32;
};
uint32_t val;
} cache_l1_dbus0_acs_nxtlvl_wr_cnt_reg_t;
/** Type of l1_bus1_acs_hit_cnt register
* L1-Cache bus1 Hit-Access Counter register
*/
typedef union {
struct {
/** l1_bus1_hit_cnt : RO; bitpos: [31:0]; default: 0;
* The register records the number of hits when bus1 accesses L1-Cache.
*/
uint32_t l1_bus1_hit_cnt:32;
};
uint32_t val;
} cache_l1_bus1_acs_hit_cnt_reg_t;
/** Type of l1_bus1_acs_miss_cnt register
* L1-Cache bus1 Miss-Access Counter register
*/
typedef union {
struct {
/** l1_bus1_miss_cnt : RO; bitpos: [31:0]; default: 0;
* The register records the number of missing when bus1 accesses L1-Cache.
*/
uint32_t l1_bus1_miss_cnt:32;
};
uint32_t val;
} cache_l1_bus1_acs_miss_cnt_reg_t;
/** Type of l1_bus1_acs_conflict_cnt register
* L1-Cache bus1 Conflict-Access Counter register
*/
typedef union {
struct {
/** l1_bus1_conflict_cnt : RO; bitpos: [31:0]; default: 0;
* The register records the number of access-conflicts when bus1 accesses L1-Cache.
*/
uint32_t l1_bus1_conflict_cnt:32;
};
uint32_t val;
} cache_l1_bus1_acs_conflict_cnt_reg_t;
/** Type of l1_dbus1_acs_nxtlvl_rd_cnt register
* L1-DCache bus1 Next-Level-Access Counter register
*/
typedef union {
struct {
/** l1_dbus1_nxtlvl_rd_cnt : RO; bitpos: [31:0]; default: 0;
* The register records the number of times that L1-Cache accesses L2-Cache due to
* bus1 accessing L1-Cache.
*/
uint32_t l1_dbus1_nxtlvl_rd_cnt:32;
};
uint32_t val;
} cache_l1_dbus1_acs_nxtlvl_rd_cnt_reg_t;
/** Type of l1_dbus1_acs_nxtlvl_wr_cnt register
* L1-DCache bus1 WB-Access Counter register
*/
typedef union {
struct {
/** l1_dbus1_nxtlvl_wr_cnt : RO; bitpos: [31:0]; default: 0;
* The register records the number of write back when bus1 accesses L1-Cache.
*/
uint32_t l1_dbus1_nxtlvl_wr_cnt:32;
};
uint32_t val;
} cache_l1_dbus1_acs_nxtlvl_wr_cnt_reg_t;
/** Group: Access Fail Debug registers */
/** Type of l1_icache0_acs_fail_id_attr register
* L1-ICache0 Access Fail ID/attribution information register
*/
typedef union {
struct {
/** l1_icache0_fail_id : RO; bitpos: [15:0]; default: 0;
* The register records the ID of fail-access when cache0 accesses L1-ICache.
*/
uint32_t l1_icache0_fail_id:16;
/** l1_icache0_fail_attr : RO; bitpos: [31:16]; default: 0;
* The register records the attribution of fail-access when cache0 accesses L1-ICache.
*/
uint32_t l1_icache0_fail_attr:16;
};
uint32_t val;
} cache_l1_icache0_acs_fail_id_attr_reg_t;
/** Type of l1_icache0_acs_fail_addr register
* L1-ICache0 Access Fail Address information register
*/
typedef union {
struct {
/** l1_icache0_fail_addr : RO; bitpos: [31:0]; default: 0;
* The register records the address of fail-access when cache0 accesses L1-ICache.
*/
uint32_t l1_icache0_fail_addr:32;
};
uint32_t val;
} cache_l1_icache0_acs_fail_addr_reg_t;
/** Type of l1_icache1_acs_fail_id_attr register
* L1-ICache0 Access Fail ID/attribution information register
*/
typedef union {
struct {
/** l1_icache1_fail_id : RO; bitpos: [15:0]; default: 0;
* The register records the ID of fail-access when cache1 accesses L1-ICache.
*/
uint32_t l1_icache1_fail_id:16;
/** l1_icache1_fail_attr : RO; bitpos: [31:16]; default: 0;
* The register records the attribution of fail-access when cache1 accesses L1-ICache.
*/
uint32_t l1_icache1_fail_attr:16;
};
uint32_t val;
} cache_l1_icache1_acs_fail_id_attr_reg_t;
/** Type of l1_icache1_acs_fail_addr register
* L1-ICache0 Access Fail Address information register
*/
typedef union {
struct {
/** l1_icache1_fail_addr : RO; bitpos: [31:0]; default: 0;
* The register records the address of fail-access when cache1 accesses L1-ICache.
*/
uint32_t l1_icache1_fail_addr:32;
};
uint32_t val;
} cache_l1_icache1_acs_fail_addr_reg_t;
/** Type of l1_dcache_acs_fail_id_attr register
* L1-Cache Access Fail ID/attribution information register
*/
typedef union {
struct {
/** l1_cache_fail_id : RO; bitpos: [15:0]; default: 0;
* The register records the ID of fail-access when cache accesses L1-Cache.
*/
uint32_t l1_cache_fail_id:16;
/** l1_cache_fail_attr : RO; bitpos: [31:16]; default: 0;
* The register records the attribution of fail-access when cache accesses L1-Cache.
*/
uint32_t l1_cache_fail_attr:16;
};
uint32_t val;
} cache_l1_dcache_acs_fail_id_attr_reg_t;
/** Type of l1_dcache_acs_fail_addr register
* L1-Cache Access Fail Address information register
*/
typedef union {
struct {
/** l1_cache_fail_addr : RO; bitpos: [31:0]; default: 0;
* The register records the address of fail-access when cache accesses L1-Cache.
*/
uint32_t l1_cache_fail_addr:32;
};
uint32_t val;
} cache_l1_dcache_acs_fail_addr_reg_t;
/** Group: Operation Exception registers */
/** Type of sync_l1_cache_preload_exception register
* Cache Sync/Preload Operation exception register
*/
typedef union {
struct {
uint32_t reserved_0:8;
/** l1_cache_pld_err_code : RO; bitpos: [9:8]; default: 0;
* The value 2 is Only available which means preload size is error in L1-Cache.
*/
uint32_t l1_cache_pld_err_code:2;
uint32_t reserved_10:2;
/** sync_err_code : RO; bitpos: [13:12]; default: 0;
* The values 0-2 are available which means sync map, command conflict and size are
* error in Cache System.
*/
uint32_t sync_err_code:2;
uint32_t reserved_14:18;
};
uint32_t val;
} cache_sync_l1_cache_preload_exception_reg_t;
/** Group: Sync Reset control and configuration registers */
/** Type of l1_cache_sync_rst_ctrl register
* Cache Sync Reset control register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_sync_rst : R/W; bitpos: [4]; default: 0;
* set this bit to reset sync-logic inside L1-Cache. Recommend that this should only
* be used to initialize sync-logic when some fatal error of sync-logic occurs.
*/
uint32_t l1_cache_sync_rst:1;
uint32_t reserved_5:27;
};
uint32_t val;
} cache_l1_cache_sync_rst_ctrl_reg_t;
/** Group: Preload Reset control and configuration registers */
/** Type of l1_cache_preload_rst_ctrl register
* Cache Preload Reset control register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_pld_rst : R/W; bitpos: [4]; default: 0;
* set this bit to reset preload-logic inside L1-Cache. Recommend that this should
* only be used to initialize preload-logic when some fatal error of preload-logic
* occurs.
*/
uint32_t l1_cache_pld_rst:1;
uint32_t reserved_5:27;
};
uint32_t val;
} cache_l1_cache_preload_rst_ctrl_reg_t;
/** Group: Autoload buffer clear control and configuration registers */
/** Type of l1_cache_autoload_buf_clr_ctrl register
* Cache Autoload buffer clear control register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_ald_buf_clr : R/W; bitpos: [4]; default: 0;
* set this bit to clear autoload-buffer inside L1-Cache. If this bit is active,
* autoload will not work in L1-Cache. This bit should not be active when autoload
* works in L1-Cache.
*/
uint32_t l1_cache_ald_buf_clr:1;
uint32_t reserved_5:27;
};
uint32_t val;
} cache_l1_cache_autoload_buf_clr_ctrl_reg_t;
/** Group: Unallocate request buffer clear registers */
/** Type of l1_unallocate_buffer_clear register
* Unallocate request buffer clear registers
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_unalloc_clr : R/W; bitpos: [4]; default: 0;
* The bit is used to clear the unallocate request buffer of l1 cache where the
* unallocate request is responsed but not completed.
*/
uint32_t l1_cache_unalloc_clr:1;
uint32_t reserved_5:27;
};
uint32_t val;
} cache_l1_unallocate_buffer_clear_reg_t;
/** Group: Tag and Data Memory Access Control and configuration register */
/** Type of l1_cache_object_ctrl register
* Cache Tag and Data memory Object control register
*/
typedef union {
struct {
uint32_t reserved_0:4;
/** l1_cache_tag_object : R/W; bitpos: [4]; default: 0;
* Set this bit to set L1-Cache tag memory as object. This bit should be onehot with
* the others fields inside this register.
*/
uint32_t l1_cache_tag_object:1;
uint32_t reserved_5:5;
/** l1_cache_mem_object : R/W; bitpos: [10]; default: 0;
* Set this bit to set L1-Cache data memory as object. This bit should be onehot with
* the others fields inside this register.
*/
uint32_t l1_cache_mem_object:1;
uint32_t reserved_11:21;
};
uint32_t val;
} cache_l1_cache_object_ctrl_reg_t;
/** Type of l1_cache_way_object register
* Cache Tag and Data memory way register
*/
typedef union {
struct {
/** l1_cache_way_object : R/W; bitpos: [2:0]; default: 0;
* Set this bits to select which way of the tag-object will be accessed. 0: way0, 1:
* way1, 2: way2, 3: way3, ?, 7: way7.
*/
uint32_t l1_cache_way_object:3;
uint32_t reserved_3:29;
};
uint32_t val;
} cache_l1_cache_way_object_reg_t;
/** Type of l1_cache_vaddr register
* Cache Vaddr register
*/
typedef union {
struct {
/** l1_cache_vaddr : R/W; bitpos: [31:0]; default: 1073741824;
* Those bits stores the virtual address which will decide where inside the specified
* tag memory object will be accessed.
*/
uint32_t l1_cache_vaddr:32;
};
uint32_t val;
} cache_l1_cache_vaddr_reg_t;
/** Type of l1_cache_debug_bus register
* Cache Tag/data memory content register
*/
typedef union {
struct {
/** l1_cache_debug_bus : R/W; bitpos: [31:0]; default: 616;
* This is a constant place where we can write data to or read data from the tag/data
* memory on the specified cache.
*/
uint32_t l1_cache_debug_bus:32;
};
uint32_t val;
} cache_l1_cache_debug_bus_reg_t;
/** Group: Version register */
/** Type of date register
* Version control register
*/
typedef union {
struct {
/** date : R/W; bitpos: [27:0]; default: 36716800;
* version control register. Note that this default value stored is the latest date
* when the hardware logic was updated.
*/
uint32_t date:28;
uint32_t reserved_28:4;
};
uint32_t val;
} cache_date_reg_t;
typedef struct cache_dev_t {
uint32_t reserved_000;
volatile cache_l1_cache_ctrl_reg_t l1_cache_ctrl;
uint32_t reserved_008[6];
volatile cache_l1_cache_wrap_around_ctrl_reg_t l1_cache_wrap_around_ctrl;
volatile cache_l1_cache_tag_mem_power_ctrl_reg_t l1_cache_tag_mem_power_ctrl;
volatile cache_l1_cache_data_mem_power_ctrl_reg_t l1_cache_data_mem_power_ctrl;
volatile cache_l1_cache_freeze_ctrl_reg_t l1_cache_freeze_ctrl;
volatile cache_l1_cache_data_mem_acs_conf_reg_t l1_cache_data_mem_acs_conf;
volatile cache_l1_cache_tag_mem_acs_conf_reg_t l1_cache_tag_mem_acs_conf;
uint32_t reserved_038[16];
volatile cache_l1_cache_prelock_conf_reg_t l1_cache_prelock_conf;
volatile cache_l1_cache_prelock_sct0_addr_reg_t l1_cache_prelock_sct0_addr;
volatile cache_l1_dcache_prelock_sct1_addr_reg_t l1_dcache_prelock_sct1_addr;
volatile cache_l1_dcache_prelock_sct_size_reg_t l1_dcache_prelock_sct_size;
volatile cache_lock_ctrl_reg_t lock_ctrl;
volatile cache_lock_map_reg_t lock_map;
volatile cache_lock_addr_reg_t lock_addr;
volatile cache_lock_size_reg_t lock_size;
volatile cache_sync_ctrl_reg_t sync_ctrl;
volatile cache_sync_map_reg_t sync_map;
volatile cache_sync_addr_reg_t sync_addr;
volatile cache_sync_size_reg_t sync_size;
uint32_t reserved_0a8[12];
volatile cache_l1_cache_preload_ctrl_reg_t l1_cache_preload_ctrl;
volatile cache_l1_dcache_preload_addr_reg_t l1_dcache_preload_addr;
volatile cache_l1_dcache_preload_size_reg_t l1_dcache_preload_size;
uint32_t reserved_0e4[20];
volatile cache_l1_cache_autoload_ctrl_reg_t l1_cache_autoload_ctrl;
volatile cache_l1_cache_autoload_sct0_addr_reg_t l1_cache_autoload_sct0_addr;
volatile cache_l1_cache_autoload_sct0_size_reg_t l1_cache_autoload_sct0_size;
volatile cache_l1_cache_autoload_sct1_addr_reg_t l1_cache_autoload_sct1_addr;
volatile cache_l1_cache_autoload_sct1_size_reg_t l1_cache_autoload_sct1_size;
uint32_t reserved_148[4];
volatile cache_l1_cache_acs_cnt_int_ena_reg_t l1_cache_acs_cnt_int_ena;
volatile cache_l1_cache_acs_cnt_int_clr_reg_t l1_cache_acs_cnt_int_clr;
volatile cache_l1_cache_acs_cnt_int_raw_reg_t l1_cache_acs_cnt_int_raw;
volatile cache_l1_cache_acs_cnt_int_st_reg_t l1_cache_acs_cnt_int_st;
volatile cache_l1_cache_acs_fail_ctrl_reg_t l1_cache_acs_fail_ctrl;
volatile cache_l1_cache_acs_fail_int_ena_reg_t l1_cache_acs_fail_int_ena;
volatile cache_l1_cache_acs_fail_int_clr_reg_t l1_cache_acs_fail_int_clr;
volatile cache_l1_cache_acs_fail_int_raw_reg_t l1_cache_acs_fail_int_raw;
volatile cache_l1_cache_acs_fail_int_st_reg_t l1_cache_acs_fail_int_st;
volatile cache_l1_cache_acs_cnt_ctrl_reg_t l1_cache_acs_cnt_ctrl;
uint32_t reserved_180[16];
volatile cache_l1_bus0_acs_hit_cnt_reg_t l1_bus0_acs_hit_cnt;
volatile cache_l1_bus0_acs_miss_cnt_reg_t l1_bus0_acs_miss_cnt;
volatile cache_l1_bus0_acs_conflict_cnt_reg_t l1_bus0_acs_conflict_cnt;
volatile cache_l1_dbus0_acs_nxtlvl_rd_cnt_reg_t l1_dbus0_acs_nxtlvl_rd_cnt;
volatile cache_l1_dbus0_acs_nxtlvl_wr_cnt_reg_t l1_dbus0_acs_nxtlvl_wr_cnt;
volatile cache_l1_bus1_acs_hit_cnt_reg_t l1_bus1_acs_hit_cnt;
volatile cache_l1_bus1_acs_miss_cnt_reg_t l1_bus1_acs_miss_cnt;
volatile cache_l1_bus1_acs_conflict_cnt_reg_t l1_bus1_acs_conflict_cnt;
volatile cache_l1_dbus1_acs_nxtlvl_rd_cnt_reg_t l1_dbus1_acs_nxtlvl_rd_cnt;
volatile cache_l1_dbus1_acs_nxtlvl_wr_cnt_reg_t l1_dbus1_acs_nxtlvl_wr_cnt;
uint32_t reserved_1e8[10];
volatile cache_l1_icache0_acs_fail_id_attr_reg_t l1_icache0_acs_fail_id_attr;
volatile cache_l1_icache0_acs_fail_addr_reg_t l1_icache0_acs_fail_addr;
volatile cache_l1_icache1_acs_fail_id_attr_reg_t l1_icache1_acs_fail_id_attr;
volatile cache_l1_icache1_acs_fail_addr_reg_t l1_icache1_acs_fail_addr;
uint32_t reserved_220[4];
volatile cache_l1_dcache_acs_fail_id_attr_reg_t l1_dcache_acs_fail_id_attr;
volatile cache_l1_dcache_acs_fail_addr_reg_t l1_dcache_acs_fail_addr;
volatile cache_sync_l1_cache_preload_int_ena_reg_t sync_l1_cache_preload_int_ena;
volatile cache_sync_l1_cache_preload_int_clr_reg_t sync_l1_cache_preload_int_clr;
volatile cache_sync_l1_cache_preload_int_raw_reg_t sync_l1_cache_preload_int_raw;
volatile cache_sync_l1_cache_preload_int_st_reg_t sync_l1_cache_preload_int_st;
volatile cache_sync_l1_cache_preload_exception_reg_t sync_l1_cache_preload_exception;
volatile cache_l1_cache_sync_rst_ctrl_reg_t l1_cache_sync_rst_ctrl;
volatile cache_l1_cache_preload_rst_ctrl_reg_t l1_cache_preload_rst_ctrl;
volatile cache_l1_cache_autoload_buf_clr_ctrl_reg_t l1_cache_autoload_buf_clr_ctrl;
volatile cache_l1_unallocate_buffer_clear_reg_t l1_unallocate_buffer_clear;
volatile cache_l1_cache_object_ctrl_reg_t l1_cache_object_ctrl;
volatile cache_l1_cache_way_object_reg_t l1_cache_way_object;
volatile cache_l1_cache_vaddr_reg_t l1_cache_vaddr;
volatile cache_l1_cache_debug_bus_reg_t l1_cache_debug_bus;
uint32_t reserved_26c[100];
volatile cache_date_reg_t date;
} cache_dev_t;
extern cache_dev_t CACHE;
#ifndef __cplusplus
_Static_assert(sizeof(cache_dev_t) == 0x400, "Invalid size of cache_dev_t structure");
#endif
#ifdef __cplusplus
}
#endif