That core is not an example of what you want to do. It provides a
simple interface for
FPGA logic to interface with SDRAM. It does not
provide an interface to the PLB or OPB, so you would not be able to
connect it up to the Power PC without creating another IP core to act
as an interface layer.
If you are using EDK, I'm assuming you have a board with a Xilinx part
on it. If not, why are you using EDK? I don't quite understand how
having a DDR core for a non-Xilinx board affects anything. EDK comes
with DDR cores that connect directly to the PLB or OPB. This is what
you need.
Based upon your post, I'm going to assume that you have a non Xilinx
board with a Virtex2 or 4 on it. You have an example with this board
that utilizes the Opencores DDR controller, but it uses an ISE project
flow and does not utilize a PPC or Microblaze. Is this correct? If so,
you need to get or create an XBD file (Xilinx Board Definition) that
essentially defines the pinout for the
FPGA on your board. Using an
existing Xilinx board example will not work unless your board has the
same pinout for the
FPGA (unlikely). Once you have a good XBD, you can
create a project that includes a PPC, a DDR memory controller, and
other peripherals. Your best bet is probably to adapt one of the
existing reference designs to your board.
On Jun 19, 12:26 pm, Pablo <
[email protected]> wrote:
> On 19 jun, 14:46, Antti <[email protected]> wrote:
>
> > On 19 Jun., 14:19, Pablo <[email protected]> wrote:
>
> > > If I download ddr_sdr core from Opencore, how could I use it with
> > > PowerPC or Microblaze to access memory with C code. Is it enough to
> > > load this core in c:\EDK\hw\XilinxProcessorIPLib\pcores? But I need to
> > > create mpd and pao files.
>
> > > Must I implement C functions to access to it or it is enough to create
> > > a pointer to the memory direction?
>
> > there are things you can do, and thing you should not.
> > "using opencores DDR with EDK" is something you should not do.
>
> > Antti
>
> That core is an example about what I want to do. I have a ddr core for
> a non Xilinx Board so I must use this core, but I want to do a PowerPC
> model and the unique method I know is about using Xilinx Platform
> Studio. I have to use C code so I need PowerPC and the interface
> between C code and the core.
>
> I hope this could respond to your advice.
>
> Regards
>
> Pablo