Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Hard emi, Cyclone V SX, max speed

Hello. Who used Hard External Memory Interface on Cyclone V SX(Arrow SocKit board)? I can't get speed more than 140mbit/s via HPS2FPGA bridge with hard emi. With softcontroller I get a speed of around 240mbit for write. "Maximum frequency for MPFE is one-half of the interface frequency" (c) Functional Description Hard Memory Interface, but If i set speed over 50MHz, software write this errors. h2f bridge and Avalon MM burst length - 32bit

writes 0x10000 byte 1000 times:

SoftController

Memory Clock 300MHz:

root@socfpga:~# time ./memclock 0 0xc0000000 0x10000 1000

real 0m9.194s

user 0m9.180s

sys 0m0.000s

Memory Clock 400MHz:

root@socfpga:~# time ./memclock 0 0xc0000000 0x10000 1000

real 0m8.535s

user 0m8.520s

sys 0m0.000s

hard EMI

Memory Clock 300MHz,fifo 50MHz

root@socfpga:~# time ./memclock 0 0xc0000000 0x10000 1000

real 0m14.442s

user 0m14.430s

sys 0m0.000s

How I can configure it for max speed?
No RepliesBe the first to reply