The basic arithmetic function provided by STD_LOGIC_ARITH is for ______ data type.

The basic arithmetic function provided by STD_LOGIC_ARITH is for ______ data type.
A. STD_LOGIC_VECTOR
B. STD_LOGIC
C. INTEGER
D. CHARACTER
 
Answer: a
Explanation: STD_LOGIC_ARITH basically contain arithmetic functions to enable calculations and comparisons based on the types STD_ULOGIC_VECTOR and STD_LOGIC_VECTOR. So, calculations related to vector types of STD_LOGIC_1164 are in STD_LOGIC_ARITH package.
 

Tìm kiếm

Back
Top