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 agoI think Tricky's workaround is not far off, except that the multiplier should be specified as having signed inputs. Then either sign- or zero-extend each input (by 1 bit, say) based on whether it is a signed or unsigned value, which is trivial. That way, any unsigned value will always become a positive signed value, and a signed value will retain its sign.
I still don't understand why signa and signb aren't available though.