Professional Documents
Culture Documents
Introduction To VHDL: by BODDU Lokesh
Introduction To VHDL: by BODDU Lokesh
Introduction To VHDL: by BODDU Lokesh
By
BODDU Lokesh
VHDL Development
• US DoD initiated in 80’s
• Very High Speed ASIC Description
Language
Shortly About the VHDL
• VHDL is an acronym of VHSIC Hardware
Description Language
• VHSIC is an acronym of Very High Speed
Integrated Circuits
Synthesize
Gate-level
Model Simulate Test Bench
Timing
Model Simulate
Modularity
• Every component in VHDL is referred to as an
entity and has a clear interface
• The interface is called an entity declaration
• The “internals” of the component are referred
to as the architecture declaration
• There can be multiple architectures at even
different levels of abstraction associated with
the same entity
Basic Structure of a VHDL File
• Entity
– Entity declaration:
interface to outside
world; defines input and
output signals
– Architecture: describes
the entity, contains
processes, components
operating concurrently
Modeling Interfaces
• Entity declaration
– describes the input/output ports of a module
entity reg4 is
port ( d0, d1, d2, d3, en, clk : in bit;
q0, q1, q2, q3 : out bit ); punctuation
end entity reg4;
begin
-- Statements
end architecture_name;
VHDL Description: AND gate
entity AND2 is
a
port (a, b: in bit ;
AND c
c : out bit);
end AND2; b
A Series of
Test
Refined
Vectors
Models
Final Chip
Model
Test Benches
• Testing a design by simulation
• Use a test bench model
– an architecture body that includes an instance
of the design under test
– applies sequences of test values to inputs
– monitors values on output signals
• either using simulator
• or with a process that verifies correct operation
Synthesis
• Translates register-transfer-level (RTL)
design into gate-level netlist
• Restrictions on coding style for RTL model
• Tool dependent
– see lab notes