VHDL Data Types:Scalar Types (cont.)-- Notes Page -- |
The physical data type is used for values which have associated
units. The designer first declares the name and range of the data
type and then specifies the units of the type. Notice there is no
semicolon separating the end of the TYPE statement and the UNITS
statement. The line after the UNITS line states the base unit of of
the type. The units after the base unit statement may be in terms of
the base unit or another already defined unit.
The only predefined physical type in VHDL is time.