HDL Module 3
HDL Module 3
end DATAFLOW;
architecture Dataflow of Decoder is
begin
case bcd is
when "00" => S <= "0001"
end case;
led <= S;
end if;
end process;
end behave;
(1) Scalar types (values of these types have no elements),
(2) Composite types (values of these types consist of element values),
(3) Access types (provide access to objects of a given type)
(4) Files (provide access to objects that contain a sequence of values of a
given type)
(5) Array Types
(6) Record Types
(7) Predefined VHDL Data Types
(8) Unsupported Data Types
(9) Subtypes
(10) Physical Type
Scalar type is a type whose values have no elements. The scalar type values
cannot contain any composite elements. The Syntax of Scalar Type is :
An object of a composite type is a collection of other objects, called
elements. The Syntax of Composite type is,
Access type allows to manipulate data, which are created dynamically
during simulation.The syntax of access type is :
The array is a composite object, which elements are of the same
subtype. The Syntax of Array Type is,
A physical type allows defining measurement units for some physical quantity, like
length, time, pressure, capacity, etc. The Syntax of Physical Type is :
Subtype declarations are used to define subsets of a type. The Syntax of Subtype is :
VHDL describes specific packages which contain standard set of types and operations.