Forum Discussion
Altera_Forum
Honored Contributor
11 years agoError appending bits to std_logic_vector
I'm trying to do a very simple multiply by shifting and some adds. Here are the arrays i am using. type pixel_array is array(8 downto 0) of std_logic_vector(7 downto 0); signal gaussianPixel...
Altera_Forum
Honored Contributor
11 years agoYou cannot do arithmatic on the std_ logic vector type. You need to include the numeric std library and use the unsigned and signed types. You should probably declare your arrays using then to.