How to resolve this error ? :: ** Error: (vcom-11) Could not find work.std_arith.
First few lines of code:
library IEEE;
use IEEE.std_logic_1164.all;
use work.std_arith.all;
Tried replacing work library with
use IEEE.numeric_std;
(but looks like many functions (including +) are not able to execute using this library)
the errors with numeric_std library are:
-No feasible entries for infix operator "+".
-Type error resolving infix expression "+" as type ieee.std_logic_1164.STD_LOGIC_VECTOR.