VHDL

Using Arithmetic Operations & Types



In VHDL, constants, signals, variables, functions, and parameters can be declared with a type that defines and restricts their characteristics. Each object can hold or return values of these types. Each type has a set of values and a set of operations. When objects are assigned to a type, they are restricted to the values and operations for that type.

Altera® recommends using the following types:

NOTE Altera does not recommend using both BIT and STD_LOGIC types in the same VHDL Design File (.vhd). Doing so will require you to add conversion functions, which could lead to unnecessary confusion and coding.

This section includes the following topics:

For more information, see "Section 3: Types" in the IEEE Std 1076-1993 IEEE Standard VHDL Language Reference Manual.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.