kelvin_sg
Advanced Member level 4
vhdl tricks
Another VHDL arithmetic question!
Another VHDL arithmetic question!
Regarding signed multiplication C = A*B;
Syntax-wize NC = NA + NB, with 1 extra bit just to take care of CMAX = (-2^(NA-1))*(-2^(NB-1))?
In Verilog we use NC = NA + NB - 1 with (-AMAX)*(-BMAX) tied to CMAX-1.