10-08-2007 03:23 PM
10-08-2007 04:44 PM
10-08-2007 04:49 PM
First, I'm assuming this is inside some sort of loop. Second, I would recommend cleaning up the code a bit so the feedback node is not overhanging the edge of the case structure. It's unclear as to what is wired to what. Third, I would recommend using shift registers instead of the feedback node.
Fourth, and the main thing is that you are currently initializing a 64 element 1-D array and appending it to your array on every iteration with the build array.
If you want to use the replace array subset. Initialize the array to the size you want outside of the loop. Feed it into the left hand shift register. Replace each row (or column) with your new data. You will need to track the iterations, and possibly add special code to shift the array, or enlarge the array in the event you have more data come in then the original size of your array.