C
Chris
Guest
Hi All
I have belatedly switched to the IEEE.NUMERIC_STD package after years of
using STD_LOGIC_ARITH and STD_LOGIC_UNSIGNED. In the past, I would implement
a counter using the following method:
count <= UNSIGNED(count) + '1';
where count is type std_logic_vector.
However, the NUMERIC_STD package produces an error message when compiling
with Modelsim PE:
No feasible entries for infix operator "+".
What syntax should I use to perform a std_logic_vector add with NUMERIC_STD?
Thanks,
Chris
I have belatedly switched to the IEEE.NUMERIC_STD package after years of
using STD_LOGIC_ARITH and STD_LOGIC_UNSIGNED. In the past, I would implement
a counter using the following method:
count <= UNSIGNED(count) + '1';
where count is type std_logic_vector.
However, the NUMERIC_STD package produces an error message when compiling
with Modelsim PE:
No feasible entries for infix operator "+".
What syntax should I use to perform a std_logic_vector add with NUMERIC_STD?
Thanks,
Chris