CEC 220 Digital Circuit Design Introduction to VHDL Wed, Oct 14 CEC 220 Digital Circuit Design Slide 1 of 19.

Slides:



Advertisements
Similar presentations
©2004 Brooks/Cole FIGURES FOR CHAPTER 10 INTRODUCTION TO VHDL Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
Advertisements

ENEL111 Digital Electronics
OBJECTIVES Learn the history of HDL Development. Learn how the HDL module is structured. Learn the use of operators in HDL module. Learn the different.
Verilog Overview. University of Jordan Computer Engineering Department CPE 439: Computer Design Lab.
Verilog Intro: Part 1.
Combinational Logic with Verilog Materials taken from: Digital Design and Computer Architecture by David and Sarah Harris & The Essentials of Computer.
SYEN 3330 Digital SystemsJung H. Kim Chapter SYEN 3330 Digital Systems Chapters 4 – Part3: Verilog – Part 1.
Digital Design with VHDL Presented by: Amir Masoud Gharehbaghi
 HDLs – Verilog and Very High Speed Integrated Circuit (VHSIC) HDL  „ Widely used in logic design  „ Describe hardware  „ Document logic functions.
VHDL ELEC 418 Advanced Digital Systems Dr. Ron Hayne Images Courtesy of Thomson Engineering.
Introduction to VHDL (Lecture #5) ECE 331 – Digital System Design The slides included herein were taken from the materials accompanying Fundamentals of.
Combinational Logic Design Sections 3-1, 3-2 Mano/Kime.
Introduction to VHDL CSCE 496/896: Embedded Systems Witawas Srisa-an.
VHDL. What is VHDL? VHDL: VHSIC Hardware Description Language  VHSIC: Very High Speed Integrated Circuit 7/2/ R.H.Khade.
Computer Organization Lecture Set – 03 Introduction to Verilog Huei-Yung Lin.
Chapter 6. Dataflow Modeling. Continuous Assignments The left hand side always be a scalar or vector net or a concatenation of scalar and vector nets.
ECE 2372 Modern Digital System Design
VHDL – Dataflow and Structural Modeling and Testbenches ENGIN 341 – Advanced Digital Design University of Massachusetts Boston Department of Engineering.
A VHDL Tutorial ENG2410. ENG241/VHDL Tutorial2 Goals Introduce the students to the following: –VHDL as Hardware description language. –How to describe.
VHDL Introduction. V- VHSIC Very High Speed Integrated Circuit H- Hardware D- Description L- Language.
陳慶瀚 機器智慧與自動化技術 (MIAT) 實驗室 國立中央大學資工系 2009 年 10 月 8 日 ESD-04 VHDL 硬體描述語言概論 VHDL Hardware Description Language.
L12 – VHDL Overview. VHDL Overview  HDL history and background  HDL CAD systems  HDL view of design  Low level HDL examples  Ref: text Unit 10, 17,
Fall 2004EE 3563 Digital Systems Design EE 3563 VHDL – Basic Language Elements  Identifiers: –basic identifier: composed of a sequence of one or more.
Introduction to VHDL Spring EENG 2920 Digital Systems Design Introduction VHDL – VHSIC (Very high speed integrated circuit) Hardware Description.
COE 202 Introduction to Verilog Computer Engineering Department College of Computer Sciences and Engineering King Fahd University of Petroleum and Minerals.
Lecture #8 Page 1 Lecture #8 Agenda 1.VHDL : Operators 2.VHDL : Signal Assignments Announcements 1.HW #4 assigned ECE 4110– Digital Logic Design.
Fall 2004EE 3563 Digital Systems Design EE 3563 VHSIC Hardware Description Language  Required Reading: –These Slides –VHDL Tutorial  Very High Speed.
Design Methodology Based on VHDL Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University.
Electrical and Computer Engineering University of Cyprus LAB 1: VHDL.
HARDWARE DESCRIPTION LANGUAGE (HDL). What is HDL? A type of programming language for sampling and modeling of electronic & logic circuit designs It can.
1 Hardware Description Languages: a Comparison of AHPL and VHDL By Tamas Kasza AHPL&VHDL Digital System Design 1 (ECE 5571) Spring 2003 A presentation.
1 Hardware description languages: introduction intellectual property (IP) introduction to VHDL and Verilog entities and architectural bodies behavioral,
1/8/ L2 VHDL Introcution© Copyright Joanne DeGroat, ECE, OSU1 Introduction to VHDL.
Chapter 5 Introduction to VHDL. 2 Hardware Description Language A computer language used to design circuits with text-based descriptions of the circuits.
CEC 220 Digital Circuit Design More VHDL Fri, February 27 CEC 220 Digital Circuit Design Slide 1 of 15.
CEC 220 Digital Circuit Design Introduction to VHDL Wed, February 25 CEC 220 Digital Circuit Design Slide 1 of 19.
George Mason University Data Flow Modeling in VHDL ECE 545 Lecture 7.
ELEE 4303 Digital II Introduction to Verilog. ELEE 4303 Digital II Learning Objectives Get familiar with background of HDLs Basic concepts of Verilog.
Introduction to ASIC flow and Verilog HDL
Basic VHDL RASSP Education & Facilitation Module 10 Version 2.02 Copyright  RASSP E&F All rights reserved. This information is copyrighted by.
Data Flow Modeling in VHDL
VHDL Programming Fundamentals Presented By Dr. Pradyut Kumar Biswal Department of Electronics, IIIT Bhubaneswar.
Apr. 3, 2000Systems Architecture I1 Introduction to VHDL (CS 570) Jeremy R. Johnson Wed. Nov. 8, 2000.
CEC 220 Digital Circuit Design Introduction to VHDL Friday, February 21 CEC 220 Digital Circuit Design Slide 1 of 10.
Introduction to Verilog
COE 202 Introduction to Verilog Computer Engineering Department College of Computer Sciences and Engineering King Fahd University of Petroleum and Minerals.
Lecture #8 Page 1 Lecture #8 Agenda 1.VHDL : Operators 2.VHDL : Signal Assignments Announcements 1.HW #4 assigned ECE 4110– Sequential Logic Design.
Verilog Intro: Part 1. Hardware Description Languages A Hardware Description Language (HDL) is a language used to describe a digital system, for example,
1 Lecture 1: Verilog HDL Introduction. 2 What is Verilog HDL? Verilog Hardware Description Language(HDL)? –A high-level computer language can model, represent.
1 A hardware description language is a computer language that is used to describe hardware. Two HDLs are widely used Verilog HDL VHDL (Very High Speed.
Introduction to Verilog COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals.
Introduction To VHDL 홍 원 의.
Design Entry: Schematic Capture and VHDL
Chapter 2. Introduction To VHDL
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Hardware Descriptive Languages these notes are taken from Mano’s book
Behavioral Modeling in Verilog
CHAPTER 10 Introduction to VHDL
OPERATORS and CONCURRENT STATEMENTS
Introduction to Verilog
CPE 528: Lecture #4 Department of Electrical and Computer Engineering University of Alabama in Huntsville.
ECE 434 Advanced Digital System L10
Hardware Descriptive Languages these notes are taken from Mano’s book
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
© Copyright Joanne DeGroat, ECE, OSU
Chapter 10 Introduction to VHDL
COE 202 Introduction to Verilog
EEL4712 Digital Design (VHDL Tutorial).
VHDL - Introduction.
Presentation transcript:

CEC 220 Digital Circuit Design Introduction to VHDL Wed, Oct 14 CEC 220 Digital Circuit Design Slide 1 of 19

Lecture Outline Wed, Oct 14 CEC 220 Digital Circuit Design Introduction to VHDL  VHDL - (VHSIC) Hardware Description Language o VHSIC - Very High Speed Integrated Circuit Slide 2 of 19

Introduction to VHDL Wed, Oct 14 CEC 220 Digital Circuit Design Large digital systems are unwieldy to design manually  E.g., design a h.264 video transcoder Hardware Description Languages (HDL) allow for design automation  Design  Simulation  Synthesis  Verification RTL: Register Transfer Level ESL: Electronic Sys Level Slide 3 of 19

Introduction to VHDL Wed, Oct 14 CEC 220 Digital Circuit Design History of VHDL  In December 1987, VHDL became IEEE Standard  In September 1993, VHDL was restandardized to clarify and enhance the language (IEEE Standard )  In February 2008 VHDL 2008 (i.e., VHDL 4.0) was approved and IEEE was published in January VHDL is an international standard specification language for describing digital hardware used by industry worldwide VHDL enables hardware modelling from gates to system-level Slide 4 of 19

Introduction to VHDL Wed, Oct 14 CEC 220 Digital Circuit Design VHDL can describe a digital system at  The Behavioral level,  The Structural level, or  The Data-Flow level. Example of a full adder:  Behavioral level: o A functional description: C <= A + B; » A, B, and C may be integers and ‘+’ an arithmetic operator – No implementation details – A high-level description Slide 5 of 19

Introduction to VHDL Wed, Oct 14 CEC 220 Digital Circuit Design  Structural level: o Schematic with gates:  Data-Flow level : o Logic equations: – Sum <= A xor … ; – Cout <= (A and B) or … ; VHDL leads naturally to a top-down design methodology Slide 6 of 19

Introduction to VHDL VHDL Description of Combinational Logic Circuits Wed, Oct 14 CEC 220 Digital Circuit Design Basic example: E <= D or (A and B); Signal_Name <= Expression; Behavioral Description Slide 7 of 19 Assignment operator

Introduction to VHDL VHDL Description of Combinational Logic Circuits Wed, Oct 14 CEC 220 Digital Circuit Design Basic example Assignment operator Concurrent statements Evaluated anytime variables changes If a delay time is not specified then the default is used Dataflow Description Slide 8 of 19

Introduction to VHDL VHDL Description of Combinational Logic Circuits Wed, Oct 14 CEC 220 Digital Circuit Design A Second Example: CLK <= not CLK after 10 ns; A concurrent statement nsec Slide 9 of 19

Introduction to VHDL VHDL Description of Combinational Logic Circuits Wed, Oct 14 CEC 220 Digital Circuit Design Consequences of a concurrent statement Slide 10 of 19

Introduction to VHDL VHDL Description of Combinational Logic Circuits Wed, Oct 14 CEC 220 Digital Circuit Design VHDL Syntax:  Signal names and other VHDL identifiers may contain letters, numbers, and the underscore character (_).  An identifier must start with a letter, and it cannot end with an underscore. VHDL is mostly case insensitive.  Thus, C123 and ab_23 are legal identifiers, but 1ABC and ABC_ are not.  Every VHDL statement must be terminated with a semicolon. White space is ignored.  In VHDL double dash (--) precedes a comment.  Words such as and, or, and after are reserved words with special meanings. Slide 11 of 19

Introduction to VHDL VHDL Description of Combinational Logic Circuits Wed, Oct 14 CEC 220 Digital Circuit Design VHDL Operators:  Binary Logical Operators: and, or, nand, nor, xor, xnor  Relational Operators: =, /=,, >=  Shift Operators: sll, srl, sla, sra, rol, ror  Arithmetic Operators: +, -, &, *, /, mod, rem concatenation Slide 12 of 19

Introduction to VHDL Precedence of VHDL Operators Wed, Oct 14 CEC 220 Digital Circuit Design Slide 13 of 19

Introduction to VHDL Precedence of VHDL Operators Wed, Oct 14 CEC 220 Digital Circuit Design Highest precedence first, then left to right within same precedence group,  Use parenthesis to control order.  Unary operators take an operand on the right. Slide 14 of 19 E <= D or A and B; E <= (D or A) and B; E <= D or (A and B); Which (if any) of these are the same?

Introduction to VHDL VHDL Description of Combinational Logic Circuits Wed, Oct 14 CEC 220 Digital Circuit Design Vector Operations Vector Notation: Slide 15 of 19

Introduction to VHDL VHDL Description of Combinational Logic Circuits Wed, Oct 14 CEC 220 Digital Circuit Design VHDL Models for Multiplexers sel <= A & B; -- select signal with sel select F <= I0 when “00”, I1 when “01”, I2 when “10”, I3 when “11”; F <= I0 when (A = ‘0’) else I1; Conditional assignment Selective assignment Slide 16 of 19

Introduction to VHDL VHDL Description of Combinational Logic Circuits Wed, Oct 14 CEC 220 Digital Circuit Design Examples:  Implement the following VHDL conditional statement using two 2:1 MUXs: o F <= A when D=‘1’ else (B when E = ‘1’ else C);  Given that A <= “01101” and B <= “11100”, what is the value of: o F<= (not B & ‘1’ or A & ‘1’) and ‘1’ & A; ( or ) and (011111) and Slide 17 of 19 F D A E B C

Introduction to VHDL VHDL Description of Combinational Logic Circuits Wed, Oct 14 CEC 220 Digital Circuit Design F <= X nand Y after 4 ns; X <= A nand B after 4 ns; Y <= C nand D after 4 ns; Slide 18 of 19

Next Lecture Wed, Oct 14 CEC 220 Digital Circuit Design More VHDL  Entity, architecture, modules, arrays, … Slide 19 of 19