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 agoor, in VHDL, do the following:
signal ina, inb : unsigned(8 downto 0);
signal mult : unsigned(17 downto 0);
begin
process(clk)
begin
if rising_edge(clk) then
mult <= ina * inb;
end if;
end process;
its far far easier :) (try not to mix signed/unsigned logic)