|
Pavona Software APIs
|
Top-specific Definitions. More...
Go to the source code of this file.
Macros | |
| #define | TOP_SCAFI_DEPRECATED_UART0_BASE_ADDR 0x40000000u |
| Peripheral base address for uart0 in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_UART0_SIZE_BYTES 0x40u |
| Peripheral size for uart0 in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_UART1_BASE_ADDR 0x40010000u |
| Peripheral base address for uart1 in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_UART1_SIZE_BYTES 0x40u |
| Peripheral size for uart1 in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_GPIO_BASE_ADDR 0x40040000u |
| Peripheral base address for gpio in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_GPIO_SIZE_BYTES 0x80u |
| Peripheral size for gpio in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_SPI_DEVICE_BASE_ADDR 0x40050000u |
| Peripheral base address for spi_device in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_SPI_DEVICE_SIZE_BYTES 0x2000u |
| Peripheral size for spi_device in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_SPI_HOST0_BASE_ADDR 0x40060000u |
| Peripheral base address for spi_host0 in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_SPI_HOST0_SIZE_BYTES 0x40u |
| Peripheral size for spi_host0 in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_RV_TIMER_BASE_ADDR 0x40100000u |
| Peripheral base address for rv_timer in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_RV_TIMER_SIZE_BYTES 0x200u |
| Peripheral size for rv_timer in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_USBDEV_BASE_ADDR 0x40320000u |
| Peripheral base address for usbdev in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_USBDEV_SIZE_BYTES 0x1000u |
| Peripheral size for usbdev in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_PWRMGR_AON_BASE_ADDR 0x40400000u |
| Peripheral base address for pwrmgr_aon in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_PWRMGR_AON_SIZE_BYTES 0x80u |
| Peripheral size for pwrmgr_aon in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_RSTMGR_AON_BASE_ADDR 0x40410000u |
| Peripheral base address for rstmgr_aon in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_RSTMGR_AON_SIZE_BYTES 0x40u |
| Peripheral size for rstmgr_aon in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_CLKMGR_AON_BASE_ADDR 0x40420000u |
| Peripheral base address for clkmgr_aon in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_CLKMGR_AON_SIZE_BYTES 0x80u |
| Peripheral size for clkmgr_aon in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_PINMUX_AON_BASE_ADDR 0x40460000u |
| Peripheral base address for pinmux_aon in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_PINMUX_AON_SIZE_BYTES 0x1000u |
| Peripheral size for pinmux_aon in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_AON_TIMER_AON_BASE_ADDR 0x40470000u |
| Peripheral base address for aon_timer_aon in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_AON_TIMER_AON_SIZE_BYTES 0x40u |
| Peripheral size for aon_timer_aon in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_AST_BASE_ADDR 0x40480000u |
| Peripheral base address for ast in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_AST_SIZE_BYTES 0x400u |
| Peripheral size for ast in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_FLASH_CTRL_CORE_BASE_ADDR 0x41000000u |
| Peripheral base address for core device on flash_ctrl in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_FLASH_CTRL_CORE_SIZE_BYTES 0x200u |
| Peripheral size for core device on flash_ctrl in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_FLASH_MACRO_WRAPPER_BASE_ADDR 0x41008000u |
| Peripheral base address for flash_macro_wrapper in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_FLASH_MACRO_WRAPPER_SIZE_BYTES 0x80u |
| Peripheral size for flash_macro_wrapper in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_RV_PLIC_BASE_ADDR 0x48000000u |
| Peripheral base address for rv_plic in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_RV_PLIC_SIZE_BYTES 0x8000000u |
| Peripheral size for rv_plic in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_AES_BASE_ADDR 0x41100000u |
| Peripheral base address for aes in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_AES_SIZE_BYTES 0x100u |
| Peripheral size for aes in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x411C0000u |
| Peripheral base address for regs device on sram_ctrl_main in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40u |
| Peripheral size for regs device on sram_ctrl_main in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_ROM_CTRL_REGS_BASE_ADDR 0x411E0000u |
| Peripheral base address for regs device on rom_ctrl in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_ROM_CTRL_REGS_SIZE_BYTES 0x80u |
| Peripheral size for regs device on rom_ctrl in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_RV_CORE_IBEX_CFG_BASE_ADDR 0x411F0000u |
| Peripheral base address for cfg device on rv_core_ibex in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_RV_CORE_IBEX_CFG_SIZE_BYTES 0x100u |
| Peripheral size for cfg device on rv_core_ibex in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_FLASH_CTRL_MEM_BASE_ADDR 0x20000000u |
| Memory base address for mem memory on flash_ctrl in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_FLASH_CTRL_MEM_SIZE_BYTES 0x10000u |
| Memory size for mem memory on flash_ctrl in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000u |
| Memory base address for ram memory on sram_ctrl_main in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x20000u |
| Memory size for ram memory on sram_ctrl_main in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_ROM_CTRL_ROM_BASE_ADDR 0x8000u |
| Memory base address for rom memory on rom_ctrl in top scafi_deprecated. | |
| #define | TOP_SCAFI_DEPRECATED_ROM_CTRL_ROM_SIZE_BYTES 0x8000u |
| Memory size for rom memory on rom_ctrl in top scafi_deprecated. | |
| #define | PINMUX_MIO_PERIPH_INSEL_IDX_OFFSET 2 |
| #define | NUM_MIO_PADS 47 |
| #define | NUM_DIO_PADS 14 |
| #define | PINMUX_PERIPH_OUTSEL_IDX_OFFSET 3 |
| #define | TOP_SCAFI_DEPRECATED_MMIO_BASE_ADDR 0x40000000u |
| MMIO Region. | |
| #define | TOP_SCAFI_DEPRECATED_MMIO_SIZE_BYTES 0x10000000u |
Typedefs | |
| typedef enum top_scafi_deprecated_plic_peripheral | top_scafi_deprecated_plic_peripheral_t |
| PLIC Interrupt Source Peripheral. | |
| typedef enum top_scafi_deprecated_plic_irq_id | top_scafi_deprecated_plic_irq_id_t |
| PLIC Interrupt Source. | |
| typedef enum top_scafi_deprecated_plic_target | top_scafi_deprecated_plic_target_t |
| PLIC Interrupt Target. | |
| typedef enum top_scafi_deprecated_pinmux_peripheral_in | top_scafi_deprecated_pinmux_peripheral_in_t |
| Pinmux Peripheral Input. | |
| typedef enum top_scafi_deprecated_pinmux_insel | top_scafi_deprecated_pinmux_insel_t |
| Pinmux MIO Input Selector. | |
| typedef enum top_scafi_deprecated_pinmux_mio_out | top_scafi_deprecated_pinmux_mio_out_t |
| Pinmux MIO Output. | |
| typedef enum top_scafi_deprecated_pinmux_outsel | top_scafi_deprecated_pinmux_outsel_t |
| Pinmux Peripheral Output Selector. | |
| typedef enum top_scafi_deprecated_direct_pads | top_scafi_deprecated_direct_pads_t |
| Dedicated Pad Selects. | |
| typedef enum top_scafi_deprecated_muxed_pads | top_scafi_deprecated_muxed_pads_t |
| Muxed Pad Selects. | |
| typedef enum top_scafi_deprecated_power_manager_wake_ups | top_scafi_deprecated_power_manager_wake_ups_t |
| Power Manager Wakeup Signals. | |
| typedef enum top_scafi_deprecated_reset_manager_sw_resets | top_scafi_deprecated_reset_manager_sw_resets_t |
| Reset Manager Software Controlled Resets. | |
| typedef enum top_scafi_deprecated_power_manager_reset_requests | top_scafi_deprecated_power_manager_reset_requests_t |
| Power Manager Reset Request Signals. | |
| typedef enum top_scafi_deprecated_gateable_clocks | top_scafi_deprecated_gateable_clocks_t |
| Clock Manager Software-Controlled ("Gated") Clocks. | |
| typedef enum top_scafi_deprecated_hintable_clocks | top_scafi_deprecated_hintable_clocks_t |
| Clock Manager Software-Hinted Clocks. | |
Variables | |
| const top_scafi_deprecated_plic_peripheral_t | top_scafi_deprecated_plic_interrupt_for_peripheral [88] |
| PLIC Interrupt Source to Peripheral Map. | |
Top-specific Definitions.
This file contains preprocessor and type definitions for use within the device C/C++ codebase.
These definitions are for information that depends on the top-specific chip configuration, which includes:
Definition in file top_scafi_deprecated.h.
| #define NUM_DIO_PADS 14 |
Definition at line 567 of file top_scafi_deprecated.h.
| #define NUM_MIO_PADS 47 |
Definition at line 566 of file top_scafi_deprecated.h.
| #define PINMUX_MIO_PERIPH_INSEL_IDX_OFFSET 2 |
Definition at line 562 of file top_scafi_deprecated.h.
| #define PINMUX_PERIPH_OUTSEL_IDX_OFFSET 3 |
Definition at line 569 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_AES_BASE_ADDR 0x41100000u |
Peripheral base address for aes in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 325 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_AES_SIZE_BYTES 0x100u |
Peripheral size for aes in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_AES_BASE_ADDR and TOP_SCAFI_DEPRECATED_AES_BASE_ADDR + TOP_SCAFI_DEPRECATED_AES_SIZE_BYTES.
Definition at line 335 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_AON_TIMER_AON_BASE_ADDR 0x40470000u |
Peripheral base address for aon_timer_aon in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 235 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_AON_TIMER_AON_SIZE_BYTES 0x40u |
Peripheral size for aon_timer_aon in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_AON_TIMER_AON_BASE_ADDR and TOP_SCAFI_DEPRECATED_AON_TIMER_AON_BASE_ADDR + TOP_SCAFI_DEPRECATED_AON_TIMER_AON_SIZE_BYTES.
Definition at line 245 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_AST_BASE_ADDR 0x40480000u |
Peripheral base address for ast in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 253 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_AST_SIZE_BYTES 0x400u |
Peripheral size for ast in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_AST_BASE_ADDR and TOP_SCAFI_DEPRECATED_AST_BASE_ADDR + TOP_SCAFI_DEPRECATED_AST_SIZE_BYTES.
Definition at line 263 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_CLKMGR_AON_BASE_ADDR 0x40420000u |
Peripheral base address for clkmgr_aon in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 199 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_CLKMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for clkmgr_aon in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_CLKMGR_AON_BASE_ADDR and TOP_SCAFI_DEPRECATED_CLKMGR_AON_BASE_ADDR + TOP_SCAFI_DEPRECATED_CLKMGR_AON_SIZE_BYTES.
Definition at line 209 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_FLASH_CTRL_CORE_BASE_ADDR 0x41000000u |
Peripheral base address for core device on flash_ctrl in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 271 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_FLASH_CTRL_CORE_SIZE_BYTES 0x200u |
Peripheral size for core device on flash_ctrl in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_FLASH_CTRL_CORE_BASE_ADDR and TOP_SCAFI_DEPRECATED_FLASH_CTRL_CORE_BASE_ADDR + TOP_SCAFI_DEPRECATED_FLASH_CTRL_CORE_SIZE_BYTES.
Definition at line 281 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_FLASH_CTRL_MEM_BASE_ADDR 0x20000000u |
Memory base address for mem memory on flash_ctrl in top scafi_deprecated.
Definition at line 395 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_FLASH_CTRL_MEM_SIZE_BYTES 0x10000u |
Memory size for mem memory on flash_ctrl in top scafi_deprecated.
Definition at line 400 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_FLASH_MACRO_WRAPPER_BASE_ADDR 0x41008000u |
Peripheral base address for flash_macro_wrapper in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 289 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_FLASH_MACRO_WRAPPER_SIZE_BYTES 0x80u |
Peripheral size for flash_macro_wrapper in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_FLASH_MACRO_WRAPPER_BASE_ADDR and TOP_SCAFI_DEPRECATED_FLASH_MACRO_WRAPPER_BASE_ADDR + TOP_SCAFI_DEPRECATED_FLASH_MACRO_WRAPPER_SIZE_BYTES.
Definition at line 299 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_GPIO_BASE_ADDR 0x40040000u |
Peripheral base address for gpio in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 73 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_GPIO_SIZE_BYTES 0x80u |
Peripheral size for gpio in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_GPIO_BASE_ADDR and TOP_SCAFI_DEPRECATED_GPIO_BASE_ADDR + TOP_SCAFI_DEPRECATED_GPIO_SIZE_BYTES.
Definition at line 83 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_MMIO_BASE_ADDR 0x40000000u |
MMIO Region.
MMIO region excludes any memory that is separate from the module configuration space, i.e. ROM, main SRAM, and flash are excluded but retention SRAM, spi_device memory, or usbdev memory are included.
Definition at line 901 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_MMIO_SIZE_BYTES 0x10000000u |
Definition at line 902 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_PINMUX_AON_BASE_ADDR 0x40460000u |
Peripheral base address for pinmux_aon in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 217 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_PINMUX_AON_SIZE_BYTES 0x1000u |
Peripheral size for pinmux_aon in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_PINMUX_AON_BASE_ADDR and TOP_SCAFI_DEPRECATED_PINMUX_AON_BASE_ADDR + TOP_SCAFI_DEPRECATED_PINMUX_AON_SIZE_BYTES.
Definition at line 227 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_PWRMGR_AON_BASE_ADDR 0x40400000u |
Peripheral base address for pwrmgr_aon in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 163 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_PWRMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for pwrmgr_aon in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_PWRMGR_AON_BASE_ADDR and TOP_SCAFI_DEPRECATED_PWRMGR_AON_BASE_ADDR + TOP_SCAFI_DEPRECATED_PWRMGR_AON_SIZE_BYTES.
Definition at line 173 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_ROM_CTRL_REGS_BASE_ADDR 0x411E0000u |
Peripheral base address for regs device on rom_ctrl in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 361 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_ROM_CTRL_REGS_SIZE_BYTES 0x80u |
Peripheral size for regs device on rom_ctrl in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_ROM_CTRL_REGS_BASE_ADDR and TOP_SCAFI_DEPRECATED_ROM_CTRL_REGS_BASE_ADDR + TOP_SCAFI_DEPRECATED_ROM_CTRL_REGS_SIZE_BYTES.
Definition at line 371 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_ROM_CTRL_ROM_BASE_ADDR 0x8000u |
Memory base address for rom memory on rom_ctrl in top scafi_deprecated.
Definition at line 415 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_ROM_CTRL_ROM_SIZE_BYTES 0x8000u |
Memory size for rom memory on rom_ctrl in top scafi_deprecated.
Definition at line 420 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_RSTMGR_AON_BASE_ADDR 0x40410000u |
Peripheral base address for rstmgr_aon in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 181 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_RSTMGR_AON_SIZE_BYTES 0x40u |
Peripheral size for rstmgr_aon in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_RSTMGR_AON_BASE_ADDR and TOP_SCAFI_DEPRECATED_RSTMGR_AON_BASE_ADDR + TOP_SCAFI_DEPRECATED_RSTMGR_AON_SIZE_BYTES.
Definition at line 191 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_RV_CORE_IBEX_CFG_BASE_ADDR 0x411F0000u |
Peripheral base address for cfg device on rv_core_ibex in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 379 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_RV_CORE_IBEX_CFG_SIZE_BYTES 0x100u |
Peripheral size for cfg device on rv_core_ibex in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_RV_CORE_IBEX_CFG_BASE_ADDR and TOP_SCAFI_DEPRECATED_RV_CORE_IBEX_CFG_BASE_ADDR + TOP_SCAFI_DEPRECATED_RV_CORE_IBEX_CFG_SIZE_BYTES.
Definition at line 389 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_RV_PLIC_BASE_ADDR 0x48000000u |
Peripheral base address for rv_plic in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 307 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_RV_PLIC_SIZE_BYTES 0x8000000u |
Peripheral size for rv_plic in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_RV_PLIC_BASE_ADDR and TOP_SCAFI_DEPRECATED_RV_PLIC_BASE_ADDR + TOP_SCAFI_DEPRECATED_RV_PLIC_SIZE_BYTES.
Definition at line 317 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_RV_TIMER_BASE_ADDR 0x40100000u |
Peripheral base address for rv_timer in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 127 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_RV_TIMER_SIZE_BYTES 0x200u |
Peripheral size for rv_timer in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_RV_TIMER_BASE_ADDR and TOP_SCAFI_DEPRECATED_RV_TIMER_BASE_ADDR + TOP_SCAFI_DEPRECATED_RV_TIMER_SIZE_BYTES.
Definition at line 137 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_SPI_DEVICE_BASE_ADDR 0x40050000u |
Peripheral base address for spi_device in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 91 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_SPI_DEVICE_SIZE_BYTES 0x2000u |
Peripheral size for spi_device in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_SPI_DEVICE_BASE_ADDR and TOP_SCAFI_DEPRECATED_SPI_DEVICE_BASE_ADDR + TOP_SCAFI_DEPRECATED_SPI_DEVICE_SIZE_BYTES.
Definition at line 101 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_SPI_HOST0_BASE_ADDR 0x40060000u |
Peripheral base address for spi_host0 in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 109 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_SPI_HOST0_SIZE_BYTES 0x40u |
Peripheral size for spi_host0 in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_SPI_HOST0_BASE_ADDR and TOP_SCAFI_DEPRECATED_SPI_HOST0_BASE_ADDR + TOP_SCAFI_DEPRECATED_SPI_HOST0_SIZE_BYTES.
Definition at line 119 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000u |
Memory base address for ram memory on sram_ctrl_main in top scafi_deprecated.
Definition at line 405 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x20000u |
Memory size for ram memory on sram_ctrl_main in top scafi_deprecated.
Definition at line 410 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x411C0000u |
Peripheral base address for regs device on sram_ctrl_main in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 343 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40u |
Peripheral size for regs device on sram_ctrl_main in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_SRAM_CTRL_MAIN_REGS_BASE_ADDR and TOP_SCAFI_DEPRECATED_SRAM_CTRL_MAIN_REGS_BASE_ADDR + TOP_SCAFI_DEPRECATED_SRAM_CTRL_MAIN_REGS_SIZE_BYTES.
Definition at line 353 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_UART0_BASE_ADDR 0x40000000u |
Peripheral base address for uart0 in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 37 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_UART0_SIZE_BYTES 0x40u |
Peripheral size for uart0 in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_UART0_BASE_ADDR and TOP_SCAFI_DEPRECATED_UART0_BASE_ADDR + TOP_SCAFI_DEPRECATED_UART0_SIZE_BYTES.
Definition at line 47 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_UART1_BASE_ADDR 0x40010000u |
Peripheral base address for uart1 in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 55 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_UART1_SIZE_BYTES 0x40u |
Peripheral size for uart1 in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_UART1_BASE_ADDR and TOP_SCAFI_DEPRECATED_UART1_BASE_ADDR + TOP_SCAFI_DEPRECATED_UART1_SIZE_BYTES.
Definition at line 65 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_USBDEV_BASE_ADDR 0x40320000u |
Peripheral base address for usbdev in top scafi_deprecated.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 145 of file top_scafi_deprecated.h.
| #define TOP_SCAFI_DEPRECATED_USBDEV_SIZE_BYTES 0x1000u |
Peripheral size for usbdev in top scafi_deprecated.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_SCAFI_DEPRECATED_USBDEV_BASE_ADDR and TOP_SCAFI_DEPRECATED_USBDEV_BASE_ADDR + TOP_SCAFI_DEPRECATED_USBDEV_SIZE_BYTES.
Definition at line 155 of file top_scafi_deprecated.h.
Clock Manager Software-Controlled ("Gated") Clocks.
The Software has full control over these clocks.
Clock Manager Software-Hinted Clocks.
The Software has partial control over these clocks. It can ask them to stop, but the clock manager is in control of whether the clock actually is stopped.
PLIC Interrupt Source.
Enumeration of all PLIC interrupt sources. The interrupt sources belonging to the same peripheral are guaranteed to be consecutive.
PLIC Interrupt Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding interrupt.
PLIC Interrupt Target.
Enumeration used to determine which set of IE, CC, threshold registers to access for a given interrupt target.
Dedicated Pad Selects.
Definition at line 770 of file top_scafi_deprecated.h.
Clock Manager Software-Controlled ("Gated") Clocks.
The Software has full control over these clocks.
Definition at line 875 of file top_scafi_deprecated.h.
Clock Manager Software-Hinted Clocks.
The Software has partial control over these clocks. It can ask them to stop, but the clock manager is in control of whether the clock actually is stopped.
| Enumerator | |
|---|---|
| kTopScafiDeprecatedHintableClocksMainAes | Clock clk_main_aes in group trans. |
Definition at line 889 of file top_scafi_deprecated.h.
Muxed Pad Selects.
Definition at line 791 of file top_scafi_deprecated.h.
Pinmux MIO Input Selector.
Definition at line 616 of file top_scafi_deprecated.h.
Pinmux MIO Output.
Definition at line 672 of file top_scafi_deprecated.h.
Pinmux Peripheral Output Selector.
Definition at line 726 of file top_scafi_deprecated.h.
Pinmux Peripheral Input.
Definition at line 574 of file top_scafi_deprecated.h.
PLIC Interrupt Source.
Enumeration of all PLIC interrupt sources. The interrupt sources belonging to the same peripheral are guaranteed to be consecutive.
Definition at line 449 of file top_scafi_deprecated.h.
PLIC Interrupt Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding interrupt.
Definition at line 429 of file top_scafi_deprecated.h.
PLIC Interrupt Target.
Enumeration used to determine which set of IE, CC, threshold registers to access for a given interrupt target.
| Enumerator | |
|---|---|
| kTopScafiDeprecatedPlicTargetIbex0 | Ibex Core 0. |
Definition at line 556 of file top_scafi_deprecated.h.
Power Manager Reset Request Signals.
Definition at line 865 of file top_scafi_deprecated.h.
Power Manager Wakeup Signals.
Definition at line 845 of file top_scafi_deprecated.h.
Reset Manager Software Controlled Resets.
Definition at line 855 of file top_scafi_deprecated.h.
|
extern |
PLIC Interrupt Source to Peripheral Map.
This array is a mapping from top_scafi_deprecated_plic_irq_id_t to top_scafi_deprecated_plic_peripheral_t.
Definition at line 18 of file top_scafi_deprecated.c.