[FPGA]

[Altera SoC] 외부 메모리 공유방법 및 예제

Neo Park 2018. 5. 9. 11:15


1. Target device : Cyclone V SoC
2. External Memory :  DDR3 1Gb

The design leverages the ability for users to send Avalon® Memory Mapped commands over JTAG. The Avalon-MM commands are routed to a JTAG to Avalon Master Bridge, which is tied to the FPGA To HPS AXI™ Bridge on the HPS. From there the data is directed into the L3 Interconnect where it is routed based on the destination address. A command with the appropriate destination address is routed to the SDRAM Controller Subsystem where it will ultimately be executed. 


Figure 1. Design Example Block diagram


The 1GB of memory is partitioned using two rules. The first rule sets the access region for the MPU. The MPU is granted access from 0MB to 512MB. The second rule sets the access region for the L3 Interconnect. The L3 Interconnect has access from 319MB to 1,024MB. The overlap of these two rules results in a "Shared" region which both the MPU and L3 interconnect can access.


Figure 2. Design Example Memory Partitions



Using This Design Example

Download the Cyclone V Memory Partition design example (.zip file)

Download the Cyclone V Memory Partition design example readme (.txt file)



https://www.altera.com/support/support-resources/design-examples/soc/shared-memory-partition.html