Sign in

username:

password:



Not a member?

Search Comp.Arch.FPGA



Search tips

fpga by Keywords

Altera | ASIC | CPLD | Cyclone | DCM | DDR | DSP | Ethernet | ISE | JTAG | Linux | LVDS | Microblaze | ML310 | Modelsim | NIOS | OPB | PCI | Quartus | RocketIO | SDRAM | Spartan | Spartan3 | SRAM | Stratix | Verilog | VHDL | Virtex | Virtex-4 | Virtex-II | Xilinx | XST

Ads

See Also

DSPEmbedded SystemsElectronics

Comp.Arch.FPGA | how to speed up the program running in ddr sdram


There are 4 messages in this thread.

You are currently looking at messages 0 to 4.

how to speed up the program running in ddr sdram - Athena - 2006-01-09 10:02:00

Hi all,

At present, I am using Xilinx SPARTAN XC3S1500 FPGA with Micro MT46V16M16 to do some projects. As my programme is very
large, there is not enough space to put them in the bram, so I have to put them in the ddr sdram. However, I found that
when the programme is in the ddr sdram, the speed is 20 times lower than in the bram. I couldn't endure it.

Who knows how to speed up the programming in the ddr sdram?

Please help me. Thank you very much!

Athena
______________________________
Newest Blog by Chris Felton: "The Spartans". Click here to read.



Re: how to speed up the program running in ddr sdram - Athena - 2006-01-09 10:03:00

Micron MT46V16M16 is the ddr sdram that I am using.

Athena
______________________________
Newest Blog by Chris Felton: "The Spartans". Click here to read.

Re: how to speed up the program running in ddr sdram - Antti Lukats - 2006-01-09 10:22:00

"Athena" <l...@emails.bjut.edu.cn> schrieb im Newsbeitrag 
news:ee938f6.-1...@webx.sUN8CHnE...
> Hi all,
>
> At present, I am using Xilinx SPARTAN XC3S1500 FPGA with Micro MT46V16M16 
> to do some projects. As my programme is very large, there is not enough 
> space to put them in the bram, so I have to put them in the ddr sdram. 
> However, I found that when the programme is in the ddr sdram, the speed is 
> 20 times lower than in the bram. I couldn't endure it.
>
> Who knows how to speed up the programming in the ddr sdram?
>
> Please help me. Thank you very much!
>
> Athena

enable microblaze caches and try again, if you are not using EDK then you 
need to implement caches yourself

a poorly designed or badly coupled SDRAM controller can bring very large 
slowdown into the system,

-- 
Antti Lukats
http://www.xilant.com 



Re: how to speed up the program running in ddr sdram - John Williams - 2006-01-11 02:00:00

Athena wrote:

> Hi all,
> 
> At present, I am using Xilinx SPARTAN XC3S1500 FPGA with Micro MT46V16M16 to do some projects. As my programme is
very large, there is not enough space to put them in the bram, so I have to put them in the ddr sdram. However, I found
that when the programme is in the ddr sdram, the speed is 20 times lower than in the bram. I couldn't endure it.
> 
> Who knows how to speed up the programming in the ddr sdram?

In addition to Antti's suggestion of enabling caches (absolutely
essential), try using Xilinx's new mch_opb_ddr controller, and the
CacheLink interfaces.  These bypass the OPB bus for CPU memory accesses,
and also allow wider cachelines than OPB transactions.  We see an
instant 2X speedup in real terms on uClinux systems with the MCH caches.

All the info is in the MicroBlaze reference guide.  CacheLink is also
supported in Base System Builder, I beleive.

There were some issues with the mch_opb_ddr controller in EDK7.1, no
doubt fixed in 8.1 but hopefully Xilinx will also release a tactical
patch to allow support for 7.1 for the late-adopters - hint hint!

John
______________________________
Newest Blog by Chris Felton: "The Spartans". Click here to read.