35 #ifndef __ALT_SOCAL_NOC_FW_TCU_SCR_H__
36 #define __ALT_SOCAL_NOC_FW_TCU_SCR_H__
81 #define ALT_NOC_FW_TCU_SCR_TCU_MPU_LSB 0
83 #define ALT_NOC_FW_TCU_SCR_TCU_MPU_MSB 0
85 #define ALT_NOC_FW_TCU_SCR_TCU_MPU_WIDTH 1
87 #define ALT_NOC_FW_TCU_SCR_TCU_MPU_SET_MSK 0x00000001
89 #define ALT_NOC_FW_TCU_SCR_TCU_MPU_CLR_MSK 0xfffffffe
91 #define ALT_NOC_FW_TCU_SCR_TCU_MPU_RESET 0x0
93 #define ALT_NOC_FW_TCU_SCR_TCU_MPU_GET(value) (((value) & 0x00000001) >> 0)
95 #define ALT_NOC_FW_TCU_SCR_TCU_MPU_SET(value) (((value) << 0) & 0x00000001)
108 #define ALT_NOC_FW_TCU_SCR_TCU_FPGA2SOC_LSB 16
110 #define ALT_NOC_FW_TCU_SCR_TCU_FPGA2SOC_MSB 16
112 #define ALT_NOC_FW_TCU_SCR_TCU_FPGA2SOC_WIDTH 1
114 #define ALT_NOC_FW_TCU_SCR_TCU_FPGA2SOC_SET_MSK 0x00010000
116 #define ALT_NOC_FW_TCU_SCR_TCU_FPGA2SOC_CLR_MSK 0xfffeffff
118 #define ALT_NOC_FW_TCU_SCR_TCU_FPGA2SOC_RESET 0x0
120 #define ALT_NOC_FW_TCU_SCR_TCU_FPGA2SOC_GET(value) (((value) & 0x00010000) >> 16)
122 #define ALT_NOC_FW_TCU_SCR_TCU_FPGA2SOC_SET(value) (((value) << 16) & 0x00010000)
135 #define ALT_NOC_FW_TCU_SCR_TCU_AXI_AP_LSB 24
137 #define ALT_NOC_FW_TCU_SCR_TCU_AXI_AP_MSB 24
139 #define ALT_NOC_FW_TCU_SCR_TCU_AXI_AP_WIDTH 1
141 #define ALT_NOC_FW_TCU_SCR_TCU_AXI_AP_SET_MSK 0x01000000
143 #define ALT_NOC_FW_TCU_SCR_TCU_AXI_AP_CLR_MSK 0xfeffffff
145 #define ALT_NOC_FW_TCU_SCR_TCU_AXI_AP_RESET 0x0
147 #define ALT_NOC_FW_TCU_SCR_TCU_AXI_AP_GET(value) (((value) & 0x01000000) >> 24)
149 #define ALT_NOC_FW_TCU_SCR_TCU_AXI_AP_SET(value) (((value) << 24) & 0x01000000)
163 struct ALT_NOC_FW_TCU_SCR_TCU_s
165 volatile uint32_t mpu : 1;
167 volatile uint32_t fpga2soc : 1;
169 volatile uint32_t axi_ap : 1;
174 typedef struct ALT_NOC_FW_TCU_SCR_TCU_s ALT_NOC_FW_TCU_SCR_TCU_t;
178 #define ALT_NOC_FW_TCU_SCR_TCU_RESET 0x00000000
180 #define ALT_NOC_FW_TCU_SCR_TCU_OFST 0x0
194 struct ALT_NOC_FW_TCU_SCR_s
196 volatile ALT_NOC_FW_TCU_SCR_TCU_t tcu;
197 volatile uint32_t _pad_0x4_0x100[63];
201 typedef struct ALT_NOC_FW_TCU_SCR_s ALT_NOC_FW_TCU_SCR_t;
203 struct ALT_NOC_FW_TCU_SCR_raw_s
205 volatile uint32_t tcu;
206 volatile uint32_t _pad_0x4_0x100[63];
210 typedef struct ALT_NOC_FW_TCU_SCR_raw_s ALT_NOC_FW_TCU_SCR_raw_t;