VHDL Structured Logic Design School of Electrical Engineering University of Belgrade Department of Computer Engineering Ivan Dugic Veljko.

Slides:



Advertisements
Similar presentations
Digital System Design Subject Name : Digital System Design Course Code : IT-314.
Advertisements

ENEL111 Digital Electronics
COE 405 VHDL Basics Dr. Aiman H. El-Maleh Computer Engineering Department King Fahd University of Petroleum & Minerals Dr. Aiman H. El-Maleh Computer Engineering.
Give qualifications of instructors: DAP
Digital Design with VHDL Presented by: Amir Masoud Gharehbaghi
© Dr. Alaaeldin Amin 1 Hardware Modeling & Synthesis Using VHDL Very High Speed Integrated Circuits Start Of VHDL Development First Publication.
02/02/20091 Logic devices can be classified into two broad categories Fixed Programmable Programmable Logic Device Introduction Lecture Notes – Lab 2.
1 Hardware description languages: introduction intellectual property (IP) introduction to VHDL and Verilog entities and architectural bodies behavioral,
VHDL Quick Start Peter J. Ashenden The University of Adelaide.
VHDL Intro What does VHDL stand for? VHSIC Hardware Description Language VHSIC = Very High Speed Integrated Circuit Developed in 1982 by Govt. to standardize.
1/31/20081 Logic devices can be classified into two broad categories Fixed Programmable Programmable Logic Device Introduction Lecture Notes – Lab 2.
Digital System Design Verilog ® HDL Maziar Goudarzi.
O VERVIEW OF DIGITAL SYSTEMS Hardware Description Language 1.
(1) Introduction © Sudhakar Yalamanchili, Georgia Institute of Technology, 2006.
GOOD MORNING.
Introduction to VHDL By Mr. Fazrul Faiz Zakaria School of Computer and Communication Engineering UniMAP.
CSET 4650 Field Programmable Logic Devices
1 VERILOG Fundamentals Workshop סמסטר א ' תשע " ה מרצה : משה דורון הפקולטה להנדסה Workshop Objectives: Gain basic understanding of the essential concepts.
Chap. 1 Overview of Digital Design with Verilog. 2 Overview of Digital Design with Verilog HDL Evolution of computer aided digital circuit design Emergence.
IAY 0600 Digitaalsüsteemide disain Event-Driven Simulation Alexander Sudnitson Tallinn University of Technology.
1 Digital System Design Subject Name : Digital System Design Course Code : IT- 308 Instructor : Amit Prakash Singh Home page :
1 H ardware D escription L anguages Modeling Digital Systems.
Tutorial 1 Combinational Logic Synthesis. Introduction to VHDL VHDL = Very high speed Hardware Description Language VHDL and Verilog are the industry.
COE 405 Design and Modeling of Digital Systems
VHDL IE- CSE. What do you understand by VHDL??  VHDL stands for VHSIC (Very High Speed Integrated Circuits) Hardware Description Language.
Structured Logic Design With VHDL Ivan Dugic Veljko Milutinovic School of Electrical Engineering University of Belgrade.
Languages for HW and SW Development Ondrej Cevan.
Language Concepts Ver 1.1, Copyright 1997 TS, Inc. VHDL L a n g u a g e C o n c e p t s Page 1.
Chapter 0 deSiGn conCepTs EKT 221 / 4 DIGITAL ELECTRONICS II.
Introduction to VHDL Spring EENG 2920 Digital Systems Design Introduction VHDL – VHSIC (Very high speed integrated circuit) Hardware Description.
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.
Introduction to VLSI Design – Lec01. Chapter 1 Introduction to VLSI Design Lecture # 11 High Desecration Language- Based Design.
HARDWARE DESCRIPTION LANGUAGE (HDL). What is HDL? A type of programming language for sampling and modeling of electronic & logic circuit designs It can.
An Overview of Hardware Design Methodology Ian Mitchelle De Vera.
M. Balakrishnan Dept of Computer Science & Engg. I.I.T. Delhi
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.
Introduction to VHDL Simulation … Synthesis …. The digital design process… Initial specification Block diagram Final product Circuit equations Logic design.
Hardware Description Languages Digital Logic Design Instructor: Kasım Sinan YILDIRIM.
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
04/26/20031 ECE 551: Digital System Design & Synthesis Lecture Set : Introduction to VHDL 12.2: VHDL versus Verilog (Separate File)
5-1 Logic System Design I VHDL Design Principles ECGR2181 Reading: Chapter 5.0, 5.1, 5.3 port ( I: in STD_LOGIC_VECTOR (1 to 9); EVEN, ODD: out STD_LOGIC.
EE121 John Wakerly Lecture #17
VHDL Discussion Subprograms IAY 0600 Digital Systems Design Alexander Sudnitson Tallinn University of Technology 1.
Digital Design Using VHDL and PLDs ECOM 4311 Digital System Design Chapter 1.
IAY 0600 Digital Systems Design Event-Driven Simulation VHDL Discussion Alexander Sudnitson Tallinn University of Technology.
EECE 320 L8: Combinational Logic design Principles 1Chehab, AUB, 2003 EECE 320 Digital Systems Design Lecture 8: Combinational Logic Design Principles.
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.
Combinational Logic Design
Basic Language Concepts
IAY 0600 Digitaalsüsteemide disain
Behavioral Style Combinational Design with VHDL
Introduction Introduction to VHDL Entities Signals Data & Scalar Types
Behavioral Style Combinational Design with VHDL
Peter J. Ashenden The University of Adelaide
332:437 Lecture 7 Verilog Hardware Description Language Basics
IAS 0600 Digital Systems Design
Lecture 1.3 Hardware Description Languages (HDLs)
332:437 Lecture 7 Verilog Hardware Description Language Basics
VHDL Introduction.
HIGH LEVEL SYNTHESIS.
332:437 Lecture 7 Verilog Hardware Description Language Basics
Hardware Modeling & Synthesis Using VHDL
THE ECE 554 XILINX DESIGN PROCESS
Digital Designs – What does it take
THE ECE 554 XILINX DESIGN PROCESS
EEL4712 Digital Design (VHDL Tutorial).
VHDL - Introduction.
Presentation transcript:

VHDL Structured Logic Design School of Electrical Engineering University of Belgrade Department of Computer Engineering Ivan Dugic Veljko Milutinovic

Ivan Dugic 2/29 Table of contents  HDL Introduction  Structured Design Concepts  Basic Features of VHDL  Design Process Highlights

Ivan Dugic 3/29 HDL Introduction

Ivan Dugic 4/29 Modern chip design aspects  Modern chips became too complex  The number of transistors in a modern chip is over a 100 M  Transistor count per chip and chip speed rise up to 50% per year  Estimated time needed for manual implementation (100 M transistor, 10 sec/transistor) – years!!! HDL Introduction

Ivan Dugic 5/29 Modern ASIC design approach  ASIC – Application Specific Integrated Circuit  Modeling system should be designed and described in the highest abstraction level possible  Simulation and testing at high abstraction level  Conversion of the modeled system into the low abstraction level model (gate, circuit, silicon level) using sophisticated synthesis tools  Key point – CAD (Computer Aided Design) HDL Introduction

Ivan Dugic 6/29 Modern ASIC design approach  HDLs (Hardware Description Languages) are used for system description at the high abstraction level HDL Introduction Design DescriptionSimulation & Testing Gate Level Model Conversion RTL Model HIGH ABSTRACTION LEVEL LOW ABSTRACTION LEVEL

Ivan Dugic 7/29 VHDL  VHDL - VHSIC Hardware Description Language  VHSIC - Very High Speed Integrated Circuit  Development of VHDL began in 1983, sponsored by Department of defense, further developed by the IEEE and released as IEEE Standard 1076 in 1987  Today it is De facto industry standard for hardware description languages HDL Introduction

Ivan Dugic 8/29 Structural Design Concepts

Ivan Dugic 9/29 The abstraction hierarchy  The abstraction hierarchy can be expressed in two domains: structural domain, behavioral domain  Structural domain – component model is described in terms of an interconnection of more primitive components  Behavioral domain – component model is described by defining its input/output response  VHDL is used for both structural and behavioral description  Six abstraction hierarchy levels of detail commonly used in design: silicon, circuit, gate, register, chip and system Structural Design Concepts

Ivan Dugic 10/29 Design process  The design cycle consists of a series of transformations, synthesis steps: (1) Transformation from English to an algorithmic representation, natural language synthesis (2) Translation from an algorithmic representation to a data flow representation, algorithmic synthesis (3) Translation from data flow representation to a structural logic gate representation, logic synthesis (4) Translation from logic gate to layout and circuit representation, layout synthesis Structural Design Concepts

Ivan Dugic 11/29 Design process  The design cycle steps can be carried out automatically in all stages except the first that is currently an active area of research  VHDL tools are used for algorithmic synthesis Structural Design Concepts

Ivan Dugic 12/29 Design tools  Editors – textual (circuit level – SPICE gate, register, chip – VHDL) or graphic (used at all levels)  Simulators – stochastic (system level) or deterministic (all levels above the silicon level)  Checkers and Analyzers – employed at all levels, used for example (1) to insure that the circuit layout can be fabricated reliably (rule checkers), (2) to check for the longest path through a logic circuit or system (timing analyzers)  Synthesizers and Optimizers – improving a form of the design representation Structural Design Concepts

Ivan Dugic 13/29 Basic Features of VHDL

Ivan Dugic 14/29 Design entities  In VHDL a logic circuit is represented as a design entity  A design entity consists of two different VHDL types of description: (1) Interface description (reserved word is entity) (2) One or more architectural bodies (reserved word is architecture) Basic Features of VHDL D Q D FF R CLK Designed digital device entity D_FF defining D FF interface (ports) architecture of D_FF specifying the behavior of the entity VHDL representation

Ivan Dugic 15/29 Entity  The entity part provides system’s interface specification as seen from the outside and is generally comprised of: (1) Parameters (such as bus width or max clock frequency) (2) Connections (system input and output ports) entity DesignEntityName is -- parameters … -- connections port (ports); end entity DesignEntityName; Basic Features of VHDL

Ivan Dugic 16/29 Architectural bodies  Architectural bodies are specifying the behavior of the entity architecture ArchitectureName of DesignEntityName is -- signal declarations begin -- concurrent statements end architecture ArchitectureName;  There are two types of architectural bodies: algorithmic, structural  Algorithmic - at the beginning of the design process, designers usually would like to check the accuracy of the algorithm without specifying the detailed implementation  Structural - the logic design stage, detailed implementation, entity as a set of interrelated components Basic Features of VHDL

Ivan Dugic 17/29 Processes  Process is another major modeling element in VHDL: ProcessLabel: ProcessName (sensitivity_list_of_signals) is begin -- sequential statements; end process;  Processes are used inside architectural bodies, specifying entity behavioral in algorithmic way  Whenever a signal in sensitivity list changes, the process is activated  Process execution is similar to program execution, barring one important difference: a process generally repeats indefinitely Basic Features of VHDL

Ivan Dugic 18/29 Sequential and parallel processing  The statements within process are performed sequentially  The statements within architectural body are performed concurrent  Sequential and concurrent combination is called VHDL duality and it presents powerful mechanism for descriptionof complex systems Basic Features of VHDL

Ivan Dugic 19/29 Variables and signals  VHDL variable concept in many ways correspondents to a variable inherited from traditional sequential programming  Signals are the basic vehicle for information transmission in electronic systems  Signals model real devices’ wires and buses  Variable assignment is different from signal assignment  Main difference between variables and signals is that signal changes are visible only after process termination Basic Features of VHDL

Ivan Dugic 20/29 Design Process Highlights

Ivan Dugic 21/29 MAC (Multiply Accumulator) unit  Incoming part is based on MAC unit design and synthesis as part of Computer VLSI Systems, subject lectured by Dr. Veljko Milutinovic  Basic specification elements of MAC unit: (1) purpose – hardware support for numerous succeeding multiplication (2) Wishbone compatible (3) structural elements: FIFO, sequential multiplier, accumulator  MAC units are used as special CPU resource for digital signal processing Design Process Highlights

Ivan Dugic 22/29 MAC (Multiply Accumulator) unit  MAC unit conceptual scheme: Design Process Highlights FIFOSequential MultiplierAccumulator Wishbone Interface data flow control data flow MAC unit

Ivan Dugic 23/29 MAC (Multiply Accumulator) unit  MAC unit detailed scheme – synthesis outcome: Design Process Highlights

Ivan Dugic 24/29 MAC: Lessons Learned  Testing is extremely important aspect of device design  In the component design process it is essential to test all structure components of top-level entity separately, and after that top-level entity itself  While projecting MAC unit so called Regression Testing is used  Regression Testing includes testing both structural and behavioral architecture of every entity simultaneously Design Process Highlights

Ivan Dugic 25/29 MAC: Lessons Learned  An example of regressive testing: entity TestBench is end entity TestBench; architecture Regression of TestBench is -- signal declaration begin BehModel: entity myModel (beh) port map (…); StructModel:entity myModel (struct) port map (…); stimulus: process is begin -- stimulation end process stimulus; Design Process Highlights

Ivan Dugic 26/29 MAC: Lessons Learned verify: process (…) is begin assert behOutSignal_i= structOutSignal_i and behOutSignal_j = structOutSignal_j report “Implementation Error!” severity error; end process verify; end architecture Regression; Design Process Highlights

Ivan Dugic 27/29 MAC: Lessons Learned  Special problem in hardware component design: accommodation of VHDL source code with tool for synthesis  It is possible that VHDL code can be compiled regularly but synthesis tool registers errors  The solution of the problem: VHDL coding concerning synthesis tool requirements  It is necessary that VHDL code describes designed device as close as possible to the particular hardware elements which synthesis tool recognizes and synthesizes easily Design Process Highlights

Ivan Dugic 28/29 References  James R. Armstrong, F. Gail Gray, Structured Logic Design with VHDL  Peter J. Ashenden, The Designer’s Guide to VHDL  Milutinovic Veljko, Surviving the Design of a 200 MHz RISC Microprocessor: Lessons Learned

Ivan Dugic 29/29 Authors  Ivan Dugic,  Dr. Veljko Milutinovic,