Forum Discussion
Altera_Forum
Honored Contributor
14 years agoVHDL Code-Multiplication
I am new to this site. I have to work on a project which needs vhdl coding and I am new to it too. i just need to multiply two elements . so i do that by entering a*b. but i get this error " fo...
Altera_Forum
Honored Contributor
14 years agoYou need to use the signed/unsigned types that are in the numeric_std package.
And don't use std_logic_arith. resut <= std_logic_vector(unsigned(a) * unsigned(b));