Application Note AC389
March 2016 1
© 2016 Microsemi Corporation
SmartFusion2 SoC FPGA - Cache Controller
Configuration - Libero SoC v11.7
Table of Contents
Purpose
This application note explains the cache controller features and how to configure the cache controller for
various cacheable memories in the SmartFusion
®
2 system-on-chip (SoC) FPGA devices.
References
The following are the references:
• AC390: SmartFusion2 SoC FPGA – Remapping eNVM, eSRAM, and DDR/SDR SDRAM
Memories Application Note
• SmartFusion2 MSS ARM Cortex-M3 Configuration Guide
• UG0451: SmartFusion2 and IGLOO2 Programming User Guide
• UG0450: SmartFusion2 SoC and IGLOO2 FPGA System Controller User Guide
• UG0331: SmartFusion2 Microcontroller Subsystem User Guide
• Configuring Serial Terminal Emulation Programs
Introduction
The SmartFusion2 devices integrate an 8 kb instruction cache. The following memories are cacheable:
• Embedded non-volatile memory (eNVM)
• Low power double data rate (LPDDR)
Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Design Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
SmartFusion2 Cache Controller Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Cacheable Memory Regions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
SmartFusion2 Cache Controller Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Design Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Hardware Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Software Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Running the Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Board Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Steps to Run the Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Appendix: Design and Programming Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
List of Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17