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 agoyou have to sign extend the inputs to the length of the output.
so for 2 4 bits inputs you get an 8 bit result. The sign extension has to go on for the full 8 bits (ie. treat the inputs as 8 bits)