Lecture 1.3 Hardware Description Languages (HDLs)

Slides:



Advertisements
Similar presentations
UNIT 8: Synthesis Basics
Advertisements

Chapter 3 Gate-Level Minimization
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.
VHDL - I 1 Digital Systems. 2 «The designer’s guide to VHDL» Peter J. Andersen Morgan Kaufman Publisher Bring laptop with installed Xilinx.
CPEN Digital System Design
16/04/20151 Hardware Descriptive Languages these notes are taken from Mano’s book It can represent: Truth Table Boolean Expression Diagrams of gates and.
CSE 341 Verilog HDL An Introduction. Hardware Specification Languages Verilog  Similar syntax to C  Commonly used in  Industry (USA & Japan) VHDL 
Digital Design with VHDL Presented by: Amir Masoud Gharehbaghi
Evolution and History of Programming Languages Software/Hardware/System.

DON’T CARE CONDITIONS Functions that have unspecified output for some input combinations are called incompletely specified functions. Unspecified minterms.
ECE 353 Computer Systems Lab I Verilog Hardware Description Language.
Silicon Programming--Intro. to HDLs1 Hardware description languages: introduction intellectual property (IP) introduction to VHDL and Verilog entities.
Hardware Description Language HDL. 2 Hardware Description Language HDL  Describes circuits and systems in text. −As a software program.  Can be processed.
ECE 331 – Digital System Design Course Introduction and VHDL Fundamentals (Lecture #1)
O VERVIEW OF DIGITAL SYSTEMS Hardware Description Language 1.
Lecture 7 Verilog Additional references Structural constructs
CSET 4650 Field Programmable Logic Devices
CENG 241 Digital Design 1 Lecture 5 Amirali Baniasadi
CPEN Digital System Design
Chapter 0 deSiGn conCepTs EKT 221 / 4 DIGITAL ELECTRONICS II.
Fall 2004EE 3563 Digital Systems Design EE 3563 VHSIC Hardware Description Language  Required Reading: –These Slides –VHDL Tutorial  Very High Speed.
Electrical and Computer Engineering University of Cyprus LAB 1: VHDL.
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.
CEC 220 Digital Circuit Design Introduction to VHDL Wed, February 25 CEC 220 Digital Circuit Design Slide 1 of 19.
LECTURE III INTRODUCTION TO HDL/VERILOG. HDL: Hardware Description Languages (Verilog for this class) are a way in which digital circuits can be described.
ELEE 4303 Digital II Introduction to Verilog. ELEE 4303 Digital II Learning Objectives Get familiar with background of HDLs Basic concepts of Verilog.
CSCI-365 Computer Organization Lecture Note: Some slides and/or pictures in the following are adapted from: Computer Organization and Design, Patterson.
Introduction to ASIC flow and Verilog HDL
Lecture 1 – Overview (rSp06) ©2008 Joanne DeGroat, ECE, OSU -1- Functional Verification of Hardware Designs EE764 – Functional Verification of Hardware.
COE 202 Introduction to Verilog Computer Engineering Department College of Computer Sciences and Engineering King Fahd University of Petroleum and Minerals.
Verilog Intro: Part 1. Hardware Description Languages A Hardware Description Language (HDL) is a language used to describe a digital system, for example,
CEC 220 Digital Circuit Design Introduction to VHDL Wed, Oct 14 CEC 220 Digital Circuit Design Slide 1 of 19.
VHDL From Ch. 5 Hardware Description Languages. History 1980’s Schematics 1990’s Hardware Description Languages –Increased due to the use of Programming.
EECE 320 L8: Combinational Logic design Principles 1Chehab, AUB, 2003 EECE 320 Digital Systems Design Lecture 8: Combinational Logic Design Principles.
An Overview CS341 Digital Logic and Computer Organization F2003.
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.
SUBJECT : DIGITAL ELECTRONICS CLASS : SEM 3(B) TOPIC : INTRODUCTION OF VHDL.
Introduction to Verilog COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals.
EMT 351/4 DIGITAL IC DESIGN Week # 1 EDA & HDL.
Hardware Description Language
Combinational Logic Design
Systems Architecture Lab: Introduction to VHDL
Subject Name: FUNDAMENTALS OF HDL Subject Code: 10EC45
Discussion 2: More to discuss
Verilog-HDL-1 by Dr. Amin Danial Asham.
Topics Modeling with hardware description languages (HDLs).
ECE 551: Digital System Design & Synthesis
Topics The logic design process..
Topics Modeling with hardware description languages (HDLs).
Hardware Descriptive Languages these notes are taken from Mano’s book
Hardware Description Language
Hardware Description Language
Introduction to Verilog
ECNG 1014: Digital Electronics Lecture 1: Course Overview
Hardware Descriptive Languages these notes are taken from Mano’s book
HDL Hardware Description Language
VHDL Introduction.
Hardware Description Language
مدار منطقی به نام یگانه مهندس هستی مهدی قدیری
Hardware Description Language
CS 153 Logic Design Lab Professor Ian G. Harris
Hardware Description Language
The Verilog Hardware Description Language
Digital Designs – What does it take
Introduction to Digital IC Design
Chapter 10 Introduction to VHDL
COE 202 Introduction to Verilog
VHDL - Introduction.
Presentation transcript:

Lecture 1.3 Hardware Description Languages (HDLs) VLSI System Design Lecture 1.3 Hardware Description Languages (HDLs) Engr. Anees ul Husnain ( anees.buzdar@gmail.com ) Department of Computer Systems Engineering, College of Engineering & Technology, IUB

In this Lecture Design steps Designing through HDLs Introduction HDLs What and why HDL Verilog HDL Modelling a simple circuit. Delays Stimulus

Advance Digital Design/ Digital Electronics Design Steps in an IC DESIGNING CHIPS THROUGH HDLs Advance Digital Design/ Digital Electronics + VLSI System Design

Design Steps in an IC + Design Description Optimization Simulation Synthesis + Physical design Critical sub-systems Enhancing speeds through design Floor planning n so on…

Design Steps in an IC An industrial level overview

Hardware Description Language (HDL) Basic idea is a programming language to describe hardware Initial purpose was to allow abstract design and simulation Design could be verified then implemented in hardware Now Synthesis tools allow direct implementation from HDL code. Large improvement in designer productivity

HDL HDL allows write-run-debug cycle for hardware development. Similar to programming software Much, much faster than design-implement-debug Combined with modern Field Programmable Gate Array chips large complex circuits (100000s of gates) can be implemented.

HDLs There are many different HDLs VHDL is the most common Verilog HDL ABEL – Advance Boolean Expressions Language VHDL VHDL is the most common Large standard developed by US DoD VHDL = VHSIC HDL VHSIC = Very High Speed Integrated Circuit

Verilog HDL Verilog HDL is second most common History Easier to use in many ways = better for teaching C - like syntax History Developed as proprietry language in 1985 Opened as public domain spec in 1990 Due to losing market share to VHDL Became IEEE standard in 1995

Verilog HDL Verilog constructs are use defined keywords Examples: and, or, wire, input output One important construct is the module Modules have inputs and outputs Modules can be built up of Verilog primatives or of user defined submodules.

Example: Simple Circuit Diagram

Example: Simple Circuit HDL module smpl_circuit(A,B,C,x,y); input A,B,C; output x,y; wire e; and g1(e,A,B); not g2(y, C); or g3(x,e,y); endmodule

Simple Circuit Notes The module starts with module keyword and finishes with endmodule. Internal signals are named with wire. Comments follow // input and output are ports. These are placed at the start of the module definition. Each statement ends with a semicolon, except endmodule.

Circuit to code module smpl_circuit(A,B,C,x,y); input A,B,C; output x,y; wire e; and g1(e,A,B); not g2(y, C); or g3(x,e,y); endmodule

Adding Delays To simulate a circuits real world behaviour it is important that propagation delays are included. The units of time for the simulation can be specified with timescale. Default is 1ns with precision of 100ps Component delays are specified as #(delay)

Simple Circuit with Delay module circuit_with_delay (A,B,C,x,y); input A,B,C; output x,y; wire e; and #(30) g1(e,A,B); or #(20) g3(x,e,y); not #(10) g2(y,C); endmodule

Effect of delay Time (ns) Input A B C Output y e x <0 0 0 0 1 0 1 1 1 1 10 0 0 1 20 30 0 1 0 40 50 0 1 1

Input signals In order to simulate a circuit the input signals need to be known so as to generate an output signal. The input signals are often called the circuit stimulus. An HDL module is written to provide the circuit stimulus. This is known as a testbench.

Testbench The testbench module includes the module to be tested. There are no input or output ports for the testbench. The inputs to the test circuit are defined with reg and the outputs with wire. The input values are specified with the keyword initial A sequence of values can be specified between begin and end.

Signal Notation In Verilog signals are generalised to support multi-bit values (e.g. for buses) The notation A = 1’b0; means signal A is one bit with value zero. The end of the simulation is specified with $finish.

Stimulus module for simple circuit module stimcrct; reg A,B,C; wire x,y; circuit_with_delay cwd(A,B,C,x,y); initial begin A = 1'b0; B = 1'b0; C = 1'b0; #100 A = 1'b1; B = 1'b1; C = 1'b1; #100 $finish; end endmodule

Tools you’re equipped with… Xilinx ISE ISE Simulator

Language what you need Verilog… Syntax & Structure (at Lab hours)