
SmartFusion2 SoC FPGA - Cache Controller Configuration - Libero SoC v11.7
Revision 10 5
Refer to "Appendix: Design and Programming Files" on page 16 for eNVM as cacheable region design
files and follow "Running the Design" on page 11 for executing the reference design.
Remapping of External RAM as Cacheable Region
Remap the LPDDR memory address to the bottom (0×0000_0000) of the Cortex-M3 processor code
region by using the DDR_CR system register. Any portion of the mapped memory can be made
cacheable. The cacheable region can be configured to 128 MB, 256 MB or 512 MB dynamically by using
the CC_REGION_CR system register. Ensure that the stack and data/heap sections of the application
are out of the cacheable memory region. Refer to the AC390: Remapping eNVM, eSRAM, and LPDDR
Memories Application Note, for more information on remapping techniques and linker script file
generation.
Table 2 • Memory Map of eNVM to Cortex-M3 Processor Code Region
Data/Code Region Space Address Range
M3 Data Region
RESERVED 0×E000_0000 to 0×FFFF_FFFF
DDR _SPACE 3 (256 MB) 0×D000_0000 to 0×DFFF_FFFF
DDR _SPACE 2 (256 MB) 0×C000_0000 to 0×CFFF_FFFF
DDR_ SPACE 1 (256 MB) 0×B000_0000 to 0×BFFF_FFFF
DDR _SPACE 0 (256 MB) 0×A000_0000 to 0×AFFF_FFFF
eNVM SFR, Remap Area etc (1 GB) 0×6000_0000 to 0×9FFF_FFFF
Peripheral [SPI, UART, CAN, Fabric etc] (0.5 GB) 0×4000_0000 to 0×5FFF_FFFF
RESERVED 0×2001_0000 to 0×3FFF_FFFF
eSRAM-1 (32 KB) 0×2000_8000 to 0×2000_FFFF
eSRAM-0 (32 KB) 0×2000_0000 to 0×2000_7FFF
M3 Code Region
RESERVED 0×0008_0000 to 0×1FFF_FFFF
eNVM (Virtual View) [512 KB] 0×0000_0000 to 0×0007_FFFF
Table 3 • Memory Map of External RAM to Cortex-M3 Processor Code Region
Data/Code Region Space Address Range
M3 Data Region
RESERVED 0×E000_0000 to 0×FFFF_FFFF
DDR _SPACE 3 (256 MB) 0×D000_0000 to 0×DFFF_FFFF
DDR _SPACE 2 (256 MB) 0×C000_0000 to 0×CFFF_FFFF
DDR_ SPACE 1 (256 MB) 0×B000_0000 to 0×BFFF_FFFF
DDR _SPACE 0 (256 MB) 0×A000_0000 to 0×AFFF_FF×FF
eNVM SFR, Remap Area etc (1 GB) 0×6000_0000 to 0×9FFF_FFFF
Peripheral [SPI, UART, CAN, Fabric etc] (0.5 GB) 0×4000_0000 to 0×5FFF_FFFF
RESERVED 0×2001_0000 to 0×3FFF_FFFF
eSRAM-1 (32 KB) 0×2000_8000 to 0×2000_FFFF
eSRAM-0 (32 KB) 0×2000_0000 to 0×2000_7FFF
M3 Code Region
DDR _SPACE 1 (256 MB) 0×1000_0000 to 0×1FFF_FFFF
DDR _SPACE 0 (256 MB) 0×0000_0000 to 0×0FFF_FFFF