126.96.36.199. External Memory
If the component accesses memory outside of the component, the compiler creates a hardware interface through which the datapath accesses this external memory. The interface is described using a pointer or Avalon® memory-mapped host interface as a function argument to the component. One interface is created for every pointer or memory-mapped host interface component argument.
The code snippet in Component Memory shows an external memory described with an Avalon® memory-mapped host interface and its accesses within the component.
Unlike component memory, the compiler does not define the structure of the external memory. The compiler instantiates a specialized LSU for each access site based on the type of interface and the memory access patterns.
The compiler also tries various strategies to maximize the efficient use of the available memory interface bandwidth such as eliminating unnecessary accesses and statically coalescing contiguous accesses.
Did you find the information on this page useful?