08-31-2012 05:49 AM
I was wondering if it possible to change the number of reads a FSL peripheral does during run-time. For example, if the computation the peripheral does depends on the amount of data the Microblaze sends it, can you change this through the nr_of_reads variable, or is it hard coded when the peripheral is created.
An example operation is:
Peripheral created to take in 4 inputs and output 1.
Microblaze sends peripheral 2 data then a contol signal telling the perihperal there's only 2: peripheral should process these two and return the result.
Microblaze send peripheral 4 data then control signal telling peripheral there's 4 pieces of data: peripherla should proces all 4 and return result.
Im trying to make this happen by modifying the nr_of_reads variable but when I do this the peripheral still takes in the maximum number of inputs.
Anyone know if this is this possible?