different approach to defining your own data type is called as Enumeration. Why do you think this is true? What would be an example?
Answers
Explanation:
The synthesis standard allows us to use the following data types:
•
enumeration types, including the predefined types boolean, bit and character
•
integer types, including the predefined type integer and the subtypes natural and positive
•
arrays of scalar elements, including the predefined types bit_vector and string
•
std_ulogic, std_ulogic_vector, std_logic and std_logic_vector, defined in package std_logic_1164
•
unsigned and signed, defined in package numeric_bit
•
unsigned and signed, defined in package numeric_std
The synthesis standard allows us to use these types for constants, signals, and variables. When we declare a constant, we must include an initial value expression to give the constant a value. We cannot declare a deferred constant in a package. The synthesis standard specifies that any initial value expression in a signal or variable declaration is ignored. This makes sense in some circuits, such as ASICs, where the initial value of a storage location is indeterminate. In FPGAs, however, the storage can be initialized to specified values. Tools for synthesizing to FPGAs may allow an initial value expression in a signal or variable declaration for this purpose.