Professional Documents
Culture Documents
4 VHDL Geral
4 VHDL Geral
Version 2.02
All rights reserved. This information is copyrighted by the RASSP E&F Program
and may only be used for non-commercial educational purposes. Any other use of
this information without the express written permission of the RASSP E&F Program
is prohibited. All information contained herein may be duplicated for non-
commercial educational use provided this copyright notice is included. No warranty
of any kind is provided or implied, nor is any liability accepted regardless of use.
FEEDBACK:
The RASSP E&F Program welcomes and encourages any feedback that you may have including
any changes that you may make to improve or update the material. You can contact us at
feedback@rassp.scra.org or
http://rassp.scra.org/module-request/FEEDBACK/feedback-on-modules.html
Module Goals RASSP E&F
SCRA GT UVA Raytheon
UCinc EIT ADL
Introduction
VHDL Design Example
VHDL Model Components
Entity Declarations
Architecture Descriptions
Timing Model
Examples
Summary
Introduction
VHDL Design Example
Examples
Summary
Package
Concurrent Process
Concurrent
Statements
Statements
Copyright 1995-1998 RASSP E&F
Sequential Statements
Module Outline RASSP E&F
SCRA GT UVA Raytheon
UCinc EIT ADL
Introduction
Examples
Summary
x
carry
y Half Adder
result
enable
ENTITY half_adder IS
END half_adder;
x
Half carry
y
Adder result
enable
x
y carry
enable
result
COMPONENT and2
PORT (in0, in1 : IN BIT;
out0 : OUT BIT);
END COMPONENT;
COMPONENT and3
PORT (in0, in1, in2 : IN BIT;
out0 : OUT BIT);
END COMPONENT;
COMPONENT xor2
PORT (in0, in1 : IN BIT;
out0 : OUT BIT);
END COMPONENT;
BEGIN
END half_adder_c;
Introduction
Examples
Summary
PORT clause declares the interface signals of the object to the outside
world
Note port signals (i.e. ‘ports’) of the same mode and type or subtype may be
declared on the same line