SlideShare a Scribd company logo
VHDL
Dr. Vandana Malode
1Source : open source free internet
Content
• VLSI Design flow
• Level of abstraction
• Types of HDL
• Compare VHDL and Verilog
2Source : open source free internet
3Source : open source free internet
Simulation Vs Synthesis
4
Front End Procedure Back end procedure
Correctness of program(code) Concentration on Chip Design
Functionality of Description
Apply I/P o/p
Ex. Full Adder (2HA+1OR )
Not check
Power,Delay,Performance,Size
Size,Power,Delay , performance
Tools: Modelsim, Questasim,
Front end Mentor graphics
Tools: Xilinx , cadence, Synopsis,
Backend Mentor graphics
Source : open source free internet
Logic Simulation
• A simulator interprets the HDL description and produces a
readable output, such as a timing diagram, that predicts
how the hardware will behave before its is actually
fabricated.
• Simulation allows the detection of functional errors in a
design without having to physically create the circuit.
5Source : open source free internet
Motivation
• The benefits of integrating analogue circuitry with digital
logic include:
• Higher performance
• Lower power consumption
• Less mass
• Reduced costs
• Improved reliability
• Greater levels of reusability
• Enhanced system testing and quality
• All of these benefits contribute to the spirit of “Faster,
Better, Cheaper”!
• All of these offer the potential to advance mixed-signal
microelectronics for space applications
6Source : open source free internet
View by Chip Technology
7
ARTIX7
KINTEX7
VIRTEX7
ZYNQ
SPARTAN-6
Source : open source free internet
Concept of module or chip
8Source : open source free internet
9
Levels of Abstraction
1970 1980 1990 2000+
Abstraction
Circuit Level
Gate Level
RTL
RT Level
(Module)
RTL SW
System Level
Source : open source free internet
10Source : open source free internet
Types of VHDL
• VHDL : VHSIC –HDL
VHSIC: Very High Speed Integrated Circuit- Hardware Description
Language.
It is a Hardware Description Language used in electronic design
automation to describe digital and mixed-signal systems.
VHDL is a description and simulation language like ada , panda, pascal
• Verilog HDL: Verilog Hardware Description Language.(like ‘C’
language)
HDL: Designed by IBM, Texas Instruments, and Intermetrics for
united states Air force .VHSIC program launched in 1980.
Standardized by the IEEE in 1987: IEEE 1076-1987
• TOOLS: Xilinx, Atmel, Altera, Mentor Graphics, Cadence
11Source : open source free internet
Compare VHDL and VERILOG
12
VHDL VERILOG
Entity, Multiple architecture
description
Only Module Declaration
Ada based constructs , not case
sensitive language
C language, case-sensitive
Harder to learn and use Easy to learn and use , Fast simulation
VHDL is strongly type language Verilog is weakly type language
User-defined, physical, enumeration
or pointer types is available and
required 9-valued logic
User-defined, physical, enumeration
or pointer types is not available and
required 4-valued logic
Very good FPGA library support. Better availability of ASIC library
support
Gate level , data flow and Behavioral
modeling
Gate level , data flow and Behavioral
modeling
Source : open source free internet
So Choose language (HDL) based on Trend and area of work
13Source : open source free internet
IEEE STANDARD 1164
To use standard logic data types place at top of source file
– LIBRARY ieee; -- library
– USE ieee.std_logic_1164.ALL; -- package
• Provides a standard data type
(std_logic) in VHDL - nine values
– U unitialized(Default value)
– ‘X’ strong drive , unknown logic
value
– ‘0’ strong drive, logic 0
– ‘1’ forcing, logic 1
– Z high impedance ( For tri-state
logic)
– ‘W’ weak unknown logic value
– ‘L’ weak drive, logic 0
– ‘H’ weak drive, logic 1
– ‘-’ don’t care
• Provides a standard data type
(std_logic) in Verilog - Four
values
– X forcing unknown
– 0 forcing logic 0
– 1 forcing logic 1
– Z high impedance
14Source : open source free internet
Entity
• The entity defines the external view of the component. It provides
system’s interface specification as seen from the outside.
• PORTS are the communication links between entities or connections to
the device pins
Syntax For Entity
entity EntityName is
port (port list Input and output);
end EntityName;
 Note the use of libraries before entity description
Libray ieee;
USE ieee.std_logic_1164.all;
ENTITY andgate IS
PORT (a, b : IN std_logic;
y : OUT std_logic);
END andgate;
15Source : open source free internet
Architecture
• The Architecture defines the function or behavior or structure of
the ENTITY
• Consists of
– concurrent statements
– Sequential statements
• An entity may have several architectures Multiple Architecture
Syntax For Architecture
Architecture ArchitectureName of EntityName is
begin
-- signal declarations
-- concurrent statements
end ArchitectureName;
16
Entity
A B C
Architecture behavior OF andgate is
Begin
y <= a and b;
END behavior;
Source : open source free internet
Complete VHDL Code for AND Gate
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
Entity andgate is
Port (a, b : IN std_logic;
y : OUT std_logic);
End andgate;
Architecture behavior OF andgate is
Begin
Y<= a and b;
End behaviour;
• Architecture behavior END behavior;
17Source : open source free internet
Entity and Architecture
Example: a 2-input multiplexer
18Source : open source free internet
Data objects
19
Elements
Identifiers
Data
objects
Constants
(Global)
Signals
(Global)
Variables
(Local)
Data types
Objects are used to represent and store the data in the system being described in VHDL.
Example- SIGNAL COUNT: INTEGER
Class
Object
Data Type
Source : open source free internet
CLASS: Each object belong to one of following class:
 Constant: Hold values that cannot be changed within a
design.
Syntax: Constant constant name: Data Type := Value;
Example: 1] constant width: integer :=8;
2] constant Clk_Period: Time := 15 ns;
Continue 20
• Constant
• Signals
• Variables
Source : open source free internet
CLASS
• Variable: A variable is an object with single value.
• Values can be change during simulation through the variable
assignment statements.
• A variable declaration include one or more identifiers.
• Variable used in Process not in architecture.
• Internal representation used by programmers; do not exist
physically.
• Syntax: variable identifier_list: type [range_expr] [:=expression];
Example: 1] variable A,B: Std_logic;
2] Variable sum : std_logic-vector( 0 to 7);
21
Variable name
Source : open source free internet
CLASS
 Signal: To represent wire connections within circuit.
Signal is an object within past history of values.
Signal have multiple drivers each with a current value and
projected future value. Signal Describing H/W sytsem.
Syntax: Signal identifier_list: type [range_expr] [:=expression];
Example: 1] signal count: STD_LOGIC_VECTOR (3 downto 0);
2] signal Gate-Delay: Time:=10ns;
-- count means 4 wires; they are count(3),count(2), count(1), count(0).
22Source : open source free internet

More Related Content

PPTX
Introduction to VHDL
Mohamed Samy
 
PPTX
Verilog
Mohamed Rayan
 
PPT
VHDL-PRESENTATION.ppt
Dr.YNM
 
PDF
Basic structures in vhdl
Raj Mohan
 
PDF
Verilog tutorial
Abhiraj Bohra
 
PDF
VHDL-Behavioral-Programs-Structure of VHDL
Revathi Subramaniam
 
PPTX
Hardware description languages
Akhila Rahul
 
PPTX
vhdl
NAGASAI547
 
Introduction to VHDL
Mohamed Samy
 
Verilog
Mohamed Rayan
 
VHDL-PRESENTATION.ppt
Dr.YNM
 
Basic structures in vhdl
Raj Mohan
 
Verilog tutorial
Abhiraj Bohra
 
VHDL-Behavioral-Programs-Structure of VHDL
Revathi Subramaniam
 
Hardware description languages
Akhila Rahul
 

What's hot (20)

PPTX
Hardware Description Language
Prachi Pandey
 
PPTX
Encoder
Mahmudul Hasan
 
PPTX
Verilog Tutorial - Verilog HDL Tutorial with Examples
E2MATRIX
 
PDF
Verilog VHDL code Decoder and Encoder
Bharti Airtel Ltd.
 
PDF
Verilog lab manual (ECAD and VLSI Lab)
Dr. Swaminathan Kathirvel
 
PPTX
Ch 6 randomization
Team-VLSI-ITMU
 
PPT
Verilog tutorial
Maryala Srinivas
 
PDF
Vhdl
SHRUTI MURGAI
 
PPT
Data Flow Modeling
Padmanaban Kalyanaraman
 
PPTX
HDL (hardware description language) presentation
Digital Marketing Evangelist
 
PPTX
Complex Programmable Logic Device (CPLD) Architecture and Its Applications
elprocus
 
PDF
TTL(Transistor Transistor Logic)
Army Public School and College -Faisal
 
PDF
Verilog Tasks & Functions
anand hd
 
PPT
E.s unit 6
Sneha Chopra
 
PDF
Registers and counters
Deepak John
 
PPT
Degital 1
hnaita
 
PDF
Digital system design lab manual
Santhosh Poralu
 
PPTX
Programmable logic devices
ISMT College
 
PPTX
Flip flop conversions
uma jangaman
 
PPT
VHDL - Part 2
Abhilash Nair
 
Hardware Description Language
Prachi Pandey
 
Verilog Tutorial - Verilog HDL Tutorial with Examples
E2MATRIX
 
Verilog VHDL code Decoder and Encoder
Bharti Airtel Ltd.
 
Verilog lab manual (ECAD and VLSI Lab)
Dr. Swaminathan Kathirvel
 
Ch 6 randomization
Team-VLSI-ITMU
 
Verilog tutorial
Maryala Srinivas
 
Data Flow Modeling
Padmanaban Kalyanaraman
 
HDL (hardware description language) presentation
Digital Marketing Evangelist
 
Complex Programmable Logic Device (CPLD) Architecture and Its Applications
elprocus
 
TTL(Transistor Transistor Logic)
Army Public School and College -Faisal
 
Verilog Tasks & Functions
anand hd
 
E.s unit 6
Sneha Chopra
 
Registers and counters
Deepak John
 
Degital 1
hnaita
 
Digital system design lab manual
Santhosh Poralu
 
Programmable logic devices
ISMT College
 
Flip flop conversions
uma jangaman
 
VHDL - Part 2
Abhilash Nair
 
Ad

Similar to Vhdl (20)

PPTX
Vhdl
AAQIB PARREY
 
PDF
Chapter 5 introduction to VHDL
SSE_AndyLi
 
PPTX
VHDL for beginners in Printed Circuit Board designing
merlynsheena
 
PPTX
Digital principle and computer design Presentation (1).pptx
MalligaarjunanN
 
DOCX
Prilimanary Concepts of VHDL by Dr.R.Prakash Rao
rachurivlsi
 
PPTX
UNIT-I.pptx of subject in engineering bla bla bla
SEN150VAIBHAVWAKHARE
 
DOCX
OVERVIEW OF HARDWARE DESCRIPTION LANGUAGES (HDLs)
Dr.YNM
 
PPTX
the-vhsic-.pptx
jpradha86
 
PDF
Session1pdf
GamalSaied2
 
PPTX
Dica ii chapter slides
SIVA NAGENDRA REDDY
 
PDF
Ece iv-fundamentals of hdl [10 ec45]-notes
siddu kadiwal
 
DOCX
Project
Jayendra Yadav
 
PPTX
VHDL summer training (ppt)
HoneyKumar34
 
PDF
Vhdl 1 ppg
Akshay Nagpurkar
 
PPTX
VHDL_VIKAS.pptx
ABHISHEKJHA176786
 
PDF
DLD5.pdf
Shashi738182
 
PDF
Verilog HDL 0001.pdf
MONEERTHAMEER
 
PDF
Vhdl introduction
Dhaval Shukla
 
PPTX
vhdlTutorial VHDL notes, introductions and Basic concepts
AnilNaik42
 
Chapter 5 introduction to VHDL
SSE_AndyLi
 
VHDL for beginners in Printed Circuit Board designing
merlynsheena
 
Digital principle and computer design Presentation (1).pptx
MalligaarjunanN
 
Prilimanary Concepts of VHDL by Dr.R.Prakash Rao
rachurivlsi
 
UNIT-I.pptx of subject in engineering bla bla bla
SEN150VAIBHAVWAKHARE
 
OVERVIEW OF HARDWARE DESCRIPTION LANGUAGES (HDLs)
Dr.YNM
 
the-vhsic-.pptx
jpradha86
 
Session1pdf
GamalSaied2
 
Dica ii chapter slides
SIVA NAGENDRA REDDY
 
Ece iv-fundamentals of hdl [10 ec45]-notes
siddu kadiwal
 
VHDL summer training (ppt)
HoneyKumar34
 
Vhdl 1 ppg
Akshay Nagpurkar
 
VHDL_VIKAS.pptx
ABHISHEKJHA176786
 
DLD5.pdf
Shashi738182
 
Verilog HDL 0001.pdf
MONEERTHAMEER
 
Vhdl introduction
Dhaval Shukla
 
vhdlTutorial VHDL notes, introductions and Basic concepts
AnilNaik42
 
Ad

Recently uploaded (20)

PDF
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PPTX
MULTI LEVEL DATA TRACKING USING COOJA.pptx
dollysharma12ab
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
PPTX
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PDF
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
PDF
Zero Carbon Building Performance standard
BassemOsman1
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
PPTX
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
PDF
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
PPTX
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
PDF
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
PDF
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
PDF
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
PPTX
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
PPTX
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
PDF
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
MULTI LEVEL DATA TRACKING USING COOJA.pptx
dollysharma12ab
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
Zero Carbon Building Performance standard
BassemOsman1
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 

Vhdl

  • 1. VHDL Dr. Vandana Malode 1Source : open source free internet
  • 2. Content • VLSI Design flow • Level of abstraction • Types of HDL • Compare VHDL and Verilog 2Source : open source free internet
  • 3. 3Source : open source free internet
  • 4. Simulation Vs Synthesis 4 Front End Procedure Back end procedure Correctness of program(code) Concentration on Chip Design Functionality of Description Apply I/P o/p Ex. Full Adder (2HA+1OR ) Not check Power,Delay,Performance,Size Size,Power,Delay , performance Tools: Modelsim, Questasim, Front end Mentor graphics Tools: Xilinx , cadence, Synopsis, Backend Mentor graphics Source : open source free internet
  • 5. Logic Simulation • A simulator interprets the HDL description and produces a readable output, such as a timing diagram, that predicts how the hardware will behave before its is actually fabricated. • Simulation allows the detection of functional errors in a design without having to physically create the circuit. 5Source : open source free internet
  • 6. Motivation • The benefits of integrating analogue circuitry with digital logic include: • Higher performance • Lower power consumption • Less mass • Reduced costs • Improved reliability • Greater levels of reusability • Enhanced system testing and quality • All of these benefits contribute to the spirit of “Faster, Better, Cheaper”! • All of these offer the potential to advance mixed-signal microelectronics for space applications 6Source : open source free internet
  • 7. View by Chip Technology 7 ARTIX7 KINTEX7 VIRTEX7 ZYNQ SPARTAN-6 Source : open source free internet
  • 8. Concept of module or chip 8Source : open source free internet
  • 9. 9 Levels of Abstraction 1970 1980 1990 2000+ Abstraction Circuit Level Gate Level RTL RT Level (Module) RTL SW System Level Source : open source free internet
  • 10. 10Source : open source free internet
  • 11. Types of VHDL • VHDL : VHSIC –HDL VHSIC: Very High Speed Integrated Circuit- Hardware Description Language. It is a Hardware Description Language used in electronic design automation to describe digital and mixed-signal systems. VHDL is a description and simulation language like ada , panda, pascal • Verilog HDL: Verilog Hardware Description Language.(like ‘C’ language) HDL: Designed by IBM, Texas Instruments, and Intermetrics for united states Air force .VHSIC program launched in 1980. Standardized by the IEEE in 1987: IEEE 1076-1987 • TOOLS: Xilinx, Atmel, Altera, Mentor Graphics, Cadence 11Source : open source free internet
  • 12. Compare VHDL and VERILOG 12 VHDL VERILOG Entity, Multiple architecture description Only Module Declaration Ada based constructs , not case sensitive language C language, case-sensitive Harder to learn and use Easy to learn and use , Fast simulation VHDL is strongly type language Verilog is weakly type language User-defined, physical, enumeration or pointer types is available and required 9-valued logic User-defined, physical, enumeration or pointer types is not available and required 4-valued logic Very good FPGA library support. Better availability of ASIC library support Gate level , data flow and Behavioral modeling Gate level , data flow and Behavioral modeling Source : open source free internet
  • 13. So Choose language (HDL) based on Trend and area of work 13Source : open source free internet
  • 14. IEEE STANDARD 1164 To use standard logic data types place at top of source file – LIBRARY ieee; -- library – USE ieee.std_logic_1164.ALL; -- package • Provides a standard data type (std_logic) in VHDL - nine values – U unitialized(Default value) – ‘X’ strong drive , unknown logic value – ‘0’ strong drive, logic 0 – ‘1’ forcing, logic 1 – Z high impedance ( For tri-state logic) – ‘W’ weak unknown logic value – ‘L’ weak drive, logic 0 – ‘H’ weak drive, logic 1 – ‘-’ don’t care • Provides a standard data type (std_logic) in Verilog - Four values – X forcing unknown – 0 forcing logic 0 – 1 forcing logic 1 – Z high impedance 14Source : open source free internet
  • 15. Entity • The entity defines the external view of the component. It provides system’s interface specification as seen from the outside. • PORTS are the communication links between entities or connections to the device pins Syntax For Entity entity EntityName is port (port list Input and output); end EntityName;  Note the use of libraries before entity description Libray ieee; USE ieee.std_logic_1164.all; ENTITY andgate IS PORT (a, b : IN std_logic; y : OUT std_logic); END andgate; 15Source : open source free internet
  • 16. Architecture • The Architecture defines the function or behavior or structure of the ENTITY • Consists of – concurrent statements – Sequential statements • An entity may have several architectures Multiple Architecture Syntax For Architecture Architecture ArchitectureName of EntityName is begin -- signal declarations -- concurrent statements end ArchitectureName; 16 Entity A B C Architecture behavior OF andgate is Begin y <= a and b; END behavior; Source : open source free internet
  • 17. Complete VHDL Code for AND Gate LIBRARY ieee; USE ieee.std_logic_1164.ALL; Entity andgate is Port (a, b : IN std_logic; y : OUT std_logic); End andgate; Architecture behavior OF andgate is Begin Y<= a and b; End behaviour; • Architecture behavior END behavior; 17Source : open source free internet
  • 18. Entity and Architecture Example: a 2-input multiplexer 18Source : open source free internet
  • 19. Data objects 19 Elements Identifiers Data objects Constants (Global) Signals (Global) Variables (Local) Data types Objects are used to represent and store the data in the system being described in VHDL. Example- SIGNAL COUNT: INTEGER Class Object Data Type Source : open source free internet
  • 20. CLASS: Each object belong to one of following class:  Constant: Hold values that cannot be changed within a design. Syntax: Constant constant name: Data Type := Value; Example: 1] constant width: integer :=8; 2] constant Clk_Period: Time := 15 ns; Continue 20 • Constant • Signals • Variables Source : open source free internet
  • 21. CLASS • Variable: A variable is an object with single value. • Values can be change during simulation through the variable assignment statements. • A variable declaration include one or more identifiers. • Variable used in Process not in architecture. • Internal representation used by programmers; do not exist physically. • Syntax: variable identifier_list: type [range_expr] [:=expression]; Example: 1] variable A,B: Std_logic; 2] Variable sum : std_logic-vector( 0 to 7); 21 Variable name Source : open source free internet
  • 22. CLASS  Signal: To represent wire connections within circuit. Signal is an object within past history of values. Signal have multiple drivers each with a current value and projected future value. Signal Describing H/W sytsem. Syntax: Signal identifier_list: type [range_expr] [:=expression]; Example: 1] signal count: STD_LOGIC_VECTOR (3 downto 0); 2] signal Gate-Delay: Time:=10ns; -- count means 4 wires; they are count(3),count(2), count(1), count(0). 22Source : open source free internet