FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-19-2007, 01:19 PM
Pablo
Guest
 
Posts: n/a
Default Could I use the opencore ddr_sdr core (for SDRAM) in Xilinx Platform Studio (C code)?

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?

Reply With Quote
  #2 (permalink)  
Old 06-19-2007, 01:46 PM
Antti
Guest
 
Posts: n/a
Default Re: Could I use the opencore ddr_sdr core (for SDRAM) in Xilinx Platform Studio (C code)?

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

Reply With Quote
  #3 (permalink)  
Old 06-19-2007, 05:26 PM
Pablo
Guest
 
Posts: n/a
Default Re: Could I use the opencore ddr_sdr core (for SDRAM) in Xilinx Platform Studio (C code)?

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

Reply With Quote
  #4 (permalink)  
Old 06-19-2007, 08:17 PM
Guest
 
Posts: n/a
Default Re: Could I use the opencore ddr_sdr core (for SDRAM) in Xilinx Platform Studio (C code)?

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



Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
xilinx platform studio 7.1i chriskoh FPGA 0 09-13-2006 05:02 PM
Internal Signals in OPB EMC In XIlinx PLatform studio [email protected] FPGA 4 03-08-2006 02:13 PM
Easy Xilinx Platform Studio Question Brad Smallridge FPGA 7 11-08-2005 05:36 PM
problem with xilinx platform studio 6.2i Ram FPGA 2 02-08-2005 07:44 AM
Xilinx Platform Studio- I don't get C source code error messages. Naren FPGA 2 10-31-2004 04:06 AM


All times are GMT +1. The time now is 11:58 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved