06-21-2012 08:55 AM - edited 06-21-2012 08:56 AM
When using the read/write control in a rt application to write to a fixed fpga array is it require to match the array sizes perfectly? I am assuming that you can write an array that is smaller or equal to the fixed fpga array size without any penalty.
Solved! Go to Solution.
06-21-2012 09:15 AM
My experience says that writing straight to an array on an FPGA from a host is just a bad idea. It uses up resources and hogs up some of your bandwidth. Do have a DMA available to pass the data down? That's what I would recommend if you have an extra.
06-21-2012 11:52 AM
You can write any size array to the FPGA IO node; it will be resized to the correct length. If you write a shorter array, though, I don't know whether the remaining elements will be filled with 0 or something else.