07-14-2011 12:30 AM
Hi everyone,
I am implementing an accumalator which implements X = X + Y where X and Y are memories of length say 5. Initially I write 5 values into X and Y using a for loop. Then I perform the addition inside a single cycle timed loop and store the results in a temporary buffer(another memory) again of length 5. In another single cycle timed loop, I copy the data from the temporary buffer to memory X.
I changed the arbitration option to never arbitrate for X, but I get a code generation error because of arbitration. Could anybody please tell how to solve this problem.
Regards,
Prashant
Solved! Go to Solution.
07-14-2011 12:32 AM
Hi Prashant,
Can you post your code?
Regards,
Nitzz
07-15-2011 12:13 PM
Hi NitzZ
I figured out a way to solve the problem. I chose the "Never Arbitrate" option for all memories and replaced the for loop with a timed loop. Now there are no errors.
Thanks,
Prashant