Forum Discussion
ARitt4
New Contributor
5 years agoALTMULT_ADD subtract direction
I'm trying to figure out one detail of the Quartus ALTMULT_ADD megafunction. It is set up with two pairs of inputs, dataa_0, datab_0, dataa_1 and datab_1. I understand that it multiplies dataa_0 * da...
CheepinC_altera
Regular Contributor
5 years agoHi,
As I understand it, you have some inquiries related to the subtraction of the altmult_add. For your information, as I tested with simulation, the following should be the right operation:
(dataa_1 * datab_1) - (dataa_0 * datab_0)
You may run a Modelsim simulation with your design to verify as well. Thank you.