Forum Discussion
Altera_Forum
Honored Contributor
15 years agoVHDL multiplication operator
Hi all, I am new to coding in VHDL and using FPGAs. I keep getting this error when I go to complie my code. Error (10327): VHDL error : can't determine definiton of operator "*"--found 0 ...
Altera_Forum
Honored Contributor
15 years agoyou need to multiply by signed (or unsigned). You can just add a cast to std_logic i.e.
result <= std_logic_vector(signed(input)*constant);