I have generated my own SDRAM controller using PLB_IPIF. However, when I use the Generate Linker Script option in EDK, unlike memories such as PLB BRAM and OCM memory, my SDRAM does not appear in the pull-down selection. Therefore, I cannot allocate code sections to it.
What can I do to make my memory controller visible to the tool as a memory type?
Use the following attributes in the MPD file:
PARAMETER c_baseaddr = 0xffffffff, DT = std_logic_vector, BUS = SOPB, CACHEABLE = TRUE, ADDR_TYPE = MEMORY
PARAMETER c_highaddr = 0x00000000, DT = std_logic_vector, BUS = SOPB
Refer to the "Defining Memory Size" section in the MPD chapter of the Platform Specification Format Reference Manual.