Forum Discussion
Altera_Forum
Honored Contributor
17 years agosigned/unsigned multipliers
I can't seem to find a way to instantiate a multiplier that will dynamically select between signed and unsigned multiplication. This is on a Cyclone II, but applies to other parts as well. Read...
Altera_Forum
Honored Contributor
17 years agoConsider the case for 8 bit values
Bitwise inversion of x is equivalent to 255-x Negation of x is equivalent to 0-x Ignoring any carry/borrow, 0-x is equivalent 256-x = (255-x)+1 = 255-(x-1) i.e Negation (2's complement) can be done as "invert then increment" or "decrement then invert"