Altera_Forum
Honored Contributor
9 years ago(CycloneV) Writing 128bits to FPGA at once using linux kernel module
Hi,
I'm trying to write a kernel module that writes 128bits of data to the FPGA using the HPS-to-FPGA bridge. The bridge width is configured as 128 Bits in Qsys and I'm using memcpy_toio() to write data onto the bus. Using the SignalTap anaylzer I can see that the transfer happens in 32bit chunks every 10 cycles or so. What am I doing wrong? Is there a way to write 128bits at once and thereby increase the throughput? Thanks in advance for your help! EDIT: Some additional information: I'm working with a De0-Nano-SoC Development board using a Linux 4.1 kernel and an Angström rootfs.