0% found this document useful (0 votes)
89 views21 pages

VHDL Lecture Series-I

This content is intended to the recipients and learners of VHDL HDL. The content covered in this lecture series requires a prerequisite of Digital design fundamentals. This introductory Tutorial will cover System design approach with HDLs, Why VHDL, Simulation Fundamentals, Hardware Modeling. After this the Basics of the language is being discussed which includes basic building blocks as well as design libraries and units.The learner is supposed to attend the online class associated and scheduled with this tutorial to grasp the practical understanding of the concepts deep into your minds.

Uploaded by

Parag Parandkar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views21 pages

VHDL Lecture Series-I

This content is intended to the recipients and learners of VHDL HDL. The content covered in this lecture series requires a prerequisite of Digital design fundamentals. This introductory Tutorial will cover System design approach with HDLs, Why VHDL, Simulation Fundamentals, Hardware Modeling. After this the Basics of the language is being discussed which includes basic building blocks as well as design libraries and units.The learner is supposed to attend the online class associated and scheduled with this tutorial to grasp the practical understanding of the concepts deep into your minds.

Uploaded by

Parag Parandkar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 21

VERY HIGH SPEED INTEGRATED CIRCUIT

HARDWARE DESCRIPTION LANGUAGE


LECTURE - I

Presented By :
Parag Parandkar
Assistant Professor,
Chameli Devi School of Engg., Khandwa
Road, Indore (M.P.), India – 452020
Email: [email protected],
[email protected]
Contact: +919826139931
ACKNOWLEDGEMENT
The Presenter would like to thank and
acknowledge the power point presentation slides
of VHDL – A Comprehensive tutorial by
anonymous.
CONTENTS COVERAGE
 Introduction
System design approach with HDLs
History of VHDL
Why VHDL ?
 Simulation Fundamentals
Simulation Cycle
Digital Simulator
 Modeling of Hardware
 Language Basics
Building Blocks in VHDL
Design Units and Libraries
INTRODUCTION
System Design Approach with HDLs
HDL is mostly related to the front end part of the
design flow where a system is described with
programming language constructs.
A complex system can be easily decomposed into
smaller pieces : improves modularity
Allows a design to be simulated and synthesized
before being manufactured.
Eliminates hardware prototyping expenses

Reduces design time

Increases design reliability at lower costs/time

req.
INTRODUCTION(CONTD.)
Typical Design flow
Algorithm

Level of
HDL Description (Behavioral) abstraction
Register Transfer Level

simulation and
verification

Synthesizer

Structural Description
Technology mapping (with ready-made primitives)
+ Floor Planning
Physical Layout
INTRODUCTION(CONTD.)
 Why
VHDL ?
Public Availability
Developed initiated under Government Contract
Now is an IEEE standard

Design Methodology and Design Technology


Support
Technology and Process Independent
Wide Range of Descriptive capabilities
Digital System (e.g. box) level to gate level
Capability of mixing descriptions

Design Exchange
Large Scale Design and Design re-use
WHAT’S VHDL
 Very High Speed Integrated Circuit Hardware
Description Language
 Can be used to
Describing,
Modeling, and
Designing digital systems
 For the goals of
Requirement specification
Documentation
Testing using simulation
Verification
Synthesizing digital circuits
SIMULATION FUNDAMENTALS
 Purpose of simulation is to verify the behavior of
a system by applying stimulation at the inputs
and monitoring the response of the system over a
period of time.
 There are three types of simulators :
 Purely analog simulator.
 A simulator with both digital and analog simulation capabilities.
 Purely digital simulator.
 In digital simulation only logic level of the
measured quantity is determined; no precise
value is required.
 In analog simulation the precise values of the
measured quantities are determined
SIMULATION
FUNDAMENTALS(CONTD.)
 The system is described with a Hardware
Description Language (HDL). The design
contains a number of concurrently operating
blocks connected with each other by signals.
 Maintains node values at logic level.
 Maintains a time wheel to model propagation of
time.
 Evaluates circuit behavior at intervals of time.
The interval is chosen as the smallest unit of time
after which a node can change its state.
MODELING HARDWARE
The VHDL Language
 A language for describing digital and analog
systems.
 Makes no assumptions about the technology.
 Multiple levels of abstraction for modeling
Behavioral
Structural
Dataflow
Mixed
 Behavioral model, timing model and structural
model are integrated.
 A VHDL process models a block and a VHDL
signal models the connection between different
blocks.
STRUCTURAL MODEL
 Digitalcircuits consist of components and
interconnection between them.
 A component can in turn be composed of sub-
components and their interconnections.
 A component interacts with other components
through pins.
 Component is modeled as entity.
 Component pins are modeled as ports.
 Interconnections between components are
modeled as signals.
BEHAVIORAL MODEL
 The behavior of a component is modeled inside
an architecture body of the entity
 It may be described using a collection of
concurrently executing statements
 A concurrent statement is sensitive to a set of
input signals and is executed whenever any of its
sensitive signal changes its value
 A concurrent statement called process statement
can contain one or more sequential statements
 A set of sequential statements can be clubbed
together in a subprogram
DATAFLOW MODEL
 The flow of data through the entity is modelled
primarily using concurrent signal assignment
statements.
 The structure of the entity is not explicitly
specified but it can be implicitly deduced.
 Architecture MYARCH of MYENT is
 begin
 SUM <= A xor B after 8ns;
 end MYARCH;
A SIMPLE EXAMPLE
entity Xor_gate is
port (in1, in2 : in bit; Out1 : out bit);
end Xor_gate ;
architecture behavioral of Xor_gate is
begin
process
begin
Out1 <= In1 xor In2;
wait on In1, in2;
end process;
end behavioral;
VHDL LIBRARIES DESIGN UNITS
 A VHDL library is a host dependent storage facility for
intermediate-form representations of analyzed design
units
 A design unit is a VHDL construction that can be
independently analyzed and stored in a design library. A
design unit may be a primary or a secondary one.
 Primary design unit
 entity decl, package decl and configuration decl
 Secondary design unit
 architecture body and package body
 In a library, there can be only one primary unit of same
name but there can be multiple secondary units by same
name
 A secondary unit can have name same as primary unit
BUILDING BLOCKS IN VHDL
 EntityDeclaration
 generic, port, declarations, statements
 Architecture Body
 declarations, statements
 Subprogram Declaration
 parameter - list
 Subprogram Specification
 declarations statements
 Package Declarations
 declarations
 Package Bodies
 declarations, subprogram body
ENTITY
 provides a name to the component
 contains the port definitions in the interface
list
 can contain some generic definitions which can
be used to override default values
 entity identifier is
 generic interface_list;
 port interface_list;
 declarations
 begin
 statements
end [entity] [identifier];
EXAMPLE
entity Adder is

port ( A : in Bit; A Sum


B : in Bit; B Adder Cout
Sum : out Bit;
Cout : out Bit );

end Adder;
ARCHITECTURE
 encapsulates the behavior and timing information
 contains a number of concurrent statements
 there can be multiple architecture bodies for a
given entity

architecture identifier of entity_name is


 declarations
begin

 statements
end [architecture] [identifier];
EXAMPLE-1

architecture Behavioral_Desc of Adder is


begin
process (A, B)
Sum <= A or B;
Cout <= A and B;
end process;
end Behavioral_Desc
EXAMPLE-2
architecture Struct_Desc of Adder is
-- declarations
component Or_Comp
port ( X : in Bit; Y : in Bit; Out : out Bit);
end component;
component And_Comp
port ( X : in Bit; Y : in Bit; Out : out Bit);
end component;
begin
-- component instantiations
A1 : Or_Comp port_map ( X => A, y =>B, Out => SUM);
B1 : And_Comp port_map ( X => A, y =>B, Out => Cout);
end Struct_Desc;

You might also like