Altera_Forum
Honored Contributor
14 years agoMultiply and Accumlate MF. Clearing the Accumulator
Hi, I am trying to take the dot product of a matrix row using the Multiply and Accumulate (MAC) megafunction. The problem is, even though I toggle the async_clear port at the end of every row, my accumulator never clears. I haven't tried holding it for a few clock cycles or using the accum_sload ports, but those paths don't seem to lead to a solution after re-reading the data sheets.
So basically, my question is, how do I clear the accumulator portion of a MAC block? Thanks Matt