I am trying to integrate my own DDR2 controller into a Microblaze processor. I have created a board support package file with the ports defined and have added an IOTYPE attribute of XIL_MEMORY_V1. However when I run the bsb it thinks that I want to use the Xilinx MPMC. Maybe I shouldnt be adding this attribute, but I need EDK to know that this is a memory controller so that it will let me change the memory type in the generate linker script dialog. Thanks Jon --------------------------------------- Posted through http://www.FPGARelated.com
Microblaze and DDR2
Started by ●April 17, 2010
Reply by ●April 17, 20102010-04-17
On Apr 17, 9:48=A0am, "maxascent" <maxascent@n_o_s_p_a_m.n_o_s_p_a_m.yahoo.co.uk> wrote:> I am trying to integrate my own DDR2 controller into a Microblaze > processor. I have created a board support package file with the ports > defined and have added an IOTYPE attribute of XIL_MEMORY_V1. However when=I> run the bsb it thinks that I want to use the Xilinx MPMC. Maybe I shouldn=t> be adding this attribute, but I need EDK to know that this is a memory > controller so that it will let me change the memory type in the generate > linker script dialog. > > Thanks > > Jon =A0 =A0 =A0 =A0 > > --------------------------------------- =A0 =A0 =A0 =A0 > Posted throughhttp://www.FPGARelated.comYou do not need to specify the IOTYPE as XIL_MEMORY_V1. I set it to something else in our XBD file. In the MPD file for your memory controller, you want to add: OPTION IP_GROUP =3D Memory Controller See psf_rm.pdf in the doc directory of the EDK install for more information on its syntax. Regards, John McCaskill www.FasterTechnology.com
Reply by ●April 17, 20102010-04-17
Thanks John that worked although I had to add ADDR_TYPE = MEMORY to the C_BASEADDR and C_HIGHADDR parameters. Jon --------------------------------------- Posted through http://www.FPGARelated.com