Designing with VHDL and FPGA

Similar documents
Lecture #12 Structural VHDL Modeling

Designing with VHDL and FPGA

Hardware Design Environments. Dr. Mahdi Abbasi Computer Engineering Department Bu-Ali Sina University

RTL Coding General Concepts

Chapter 1 Overview of Digital Systems Design

COE 561 Digital System Design & Synthesis Introduction

FPGA Based Digital Design Using Verilog HDL

Programmable Logic Devices II

EEL 4783: Hardware/Software Co-design with FPGAs

Hardware Description Languages. Introduction to VHDL

FPGA Design Flow 1. All About FPGA

Evolution of CAD Tools & Verilog HDL Definition

Verilog. What is Verilog? VHDL vs. Verilog. Hardware description language: Two major languages. Many EDA tools support HDL-based design

Hardware Modeling using Verilog Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Overview of Digital Design with Verilog HDL 1

DESIGN STRATEGIES & TOOLS UTILIZED

VHDL. Chapter 1 Introduction to VHDL. Course Objectives Affected. Outline

CMSC 611: Advanced Computer Architecture

Advanced Digital Design Using FPGA. Dr. Shahrokh Abadi

Fundamental Design Concepts. Fundamental Concepts. Modeling Domains. Basic Definitions. New terminology and overloaded use of common words

Tutorial on VHDL and Verilog Applications

ECE U530 Digital Hardware Synthesis. Programming Assignments

Design Issues in Hardware/Software Co-Design

Lecture 3 Introduction to VHDL

01 1 Electronic Design Automation (EDA) the correctness, testability, and compliance of a design is checked by software

Chapter 5: ASICs Vs. PLDs

Overview of Digital Design Methodologies

System Design and Methodology/ Embedded Systems Design (Modeling and Design of Embedded Systems)

Multi Cycle Implementation Scheme for 8 bit Microprocessor by VHDL

VLSI Design Automation. Maurizio Palesi

Digital System Design Lecture 2: Design. Amir Masoud Gharehbaghi

Digital Design Using VHDL Using Xilinx s Tool for Synthesis and ModelSim for Verification

VHDL Essentials Simulation & Synthesis

What is Verilog HDL? Lecture 1: Verilog HDL Introduction. Basic Design Methodology. What is VHDL? Requirements

Trend in microelectronics The design process and tasks Different design paradigms Basic terminology The test problems

Intro to High Level Design with SystemC

For a long time, programming languages such as FORTRAN, PASCAL, and C Were being used to describe computer programs that were

Lab. Course Goals. Topics. What is VLSI design? What is an integrated circuit? VLSI Design Cycle. VLSI Design Automation

Digital System Design

INTRODUCTION TO VHDL. Lecture 5 & 6 Dr. Tayab Din Memon Assistant Professor Department of Electronic Engineering, MUET

ECE 3220 Digital Design with VHDL. Course Information. Lecture 1

Digital Design Methodology

Digital Electronics 27. Digital System Design using PLDs

Digital Design Methodology (Revisited) Design Methodology: Big Picture

Contemporary Design. Traditional Hardware Design. Traditional Hardware Design. HDL Based Hardware Design User Inputs. Requirements.

Functional Programming in Hardware Design

Lab 3 Verilog Simulation Mapping

Unit 5. Hardware description languages

01-1 Electronic Design Automation (EDA) The use of software to automate electronic (digital and analog) design.

System Synthesis of Digital Systems

Hardware description languages

Hardware Description Language VHDL (1) Introduction

EE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 4 Introduction to VHDL

Hardware Software Codesign of Embedded Systems

Hardware Description Languages (HDLs) Verilog

Hardware-Software Codesign. 1. Introduction

LSN 6 Programmable Logic Devices

DIGITAL DESIGN TECHNOLOGY & TECHNIQUES

EE595. Part VIII Overall Concept on VHDL. EE 595 EDA / ASIC Design Lab

תכן חומרה בשפת VERILOG הפקולטה להנדסה

EE 466/586 VLSI Design. Partha Pande School of EECS Washington State University

Programmable Logic Devices HDL-Based Design Flows CMPE 415

FPGA for Software Engineers

Lecture 2 Hardware Description Language (HDL): VHSIC HDL (VHDL)

Introduction. Why Use HDL? Simulation output. Explanation

EE 434 ASIC & Digital Systems

Register Transfer Methodology II

Outline. Register Transfer Methodology II. 1. One shot pulse generator. Refined block diagram of FSMD

Verilog. Reminder: Lab #1 due tonight! Fall 2008 Lecture 3

ECE 448 Lecture 15. Overview of Embedded SoC Systems

FPGA for Complex System Implementation. National Chiao Tung University Chun-Jen Tsai 04/14/2011

Design of DMA Controller Using VHDL

Introduction to VHDL. Module #5 Digilent Inc. Course

FPGA Design Challenge :Techkriti 14 Digital Design using Verilog Part 1

Don t expect to be able to write and debug your code during the lab session.

The SOCks Design Platform. Johannes Grad

Design Progression With VHDL Helps Accelerate The Digital System Designs

Synthesis of Combinational and Sequential Circuits with Verilog

Prof. Steven Nowick. Chair, Computer Engineering Program

Revision: August 30, Overview

Design Entry: Schematic Capture and VHDL ENG241: Digital Design Week #4

Lecture 1: Introduction Course arrangements Recap of basic digital design concepts EDA tool demonstration

A VARIETY OF ICS ARE POSSIBLE DESIGNING FPGAS & ASICS. APPLICATIONS MAY USE STANDARD ICs or FPGAs/ASICs FAB FOUNDRIES COST BILLIONS

Hardware/Software Co-design

Lecture 3: Modeling in VHDL. EE 3610 Digital Systems

Two HDLs used today VHDL. Why VHDL? Introduction to Structured VLSI Design

Hardware Modelling. Design Flow Overview. ECS Group, TU Wien

ELEC 2200 Digital Logic Circuits

1 Design Process HOME CONTENTS INDEX. For further assistance, or call your local support center

Implementing MATLAB Algorithms in FPGAs and ASICs By Alexander Schreiber Senior Application Engineer MathWorks

Advanced Synthesis Techniques

HW/SW Co-design. Design of Embedded Systems Jaap Hofstede Version 3, September 1999

HIERARCHICAL DESIGN. RTL Hardware Design by P. Chu. Chapter 13 1

Outline HIERARCHICAL DESIGN. 1. Introduction. Benefits of hierarchical design

EEL 4783: HDL in Digital System Design

101-1 Under-Graduate Project Digital IC Design Flow

Hardware Software Codesign of Embedded System

VHDL Sample Slides Rev Sample Slides from the 2-day and 4-day VHDL Training Courses

C-Based Hardware Design

Introduction to Verilog HDL

Transcription:

Designing with VHDL and FPGA Instructor: Dr. Ahmad El-Banna lab# 1 1

Agenda Course Instructor Course Contents Course References Overview of Digital Design Intro. to VHDL language and FPGA technology IDE tool Overview 2

Course Instructor Dr. Ahmad EL-Banna B.Sc. in Telecommunications and Electronics, Fac. of Eng. at Shoubra, Benha Univ. 2005. 9-month Diploma in Embedded Systems, ITI, 2008. M.Sc. in Telecommunications and Electronics, Fac. of Eng. at Shoubra, Benha Univ. 2011. PhD. in Telecommunications and Electronics, E_JUST Univ., 2014. Visiting Researcher, Wireless Communications Lab, Osaka University, 2013-2014. Find more at www.bu.edu.eg/staff/ahmad.elbanna 3

Your turn! About You Graduation Year Univ. 4

Course Contents Introduction to VHDL language and FPGA technology Overview of digital design paradigms VHDL language constructs IDE tool Overview Data flow and Behavioral Implementation Statements (if, when-else, case,...etc) Sequential Statements, Process and Variables Test benches Structural Implementation Designing various projects 5

Course References RTL Hardware Design Using VHDL, P. Chu,2006. The VHDL Cookbook, Peter J. Ashenden, 1 st edition, 1990. VHDL Tutorial: Learn by Example by Weijun Zhang http://esd.cs.ucr.edu/labs/tutorial/ 6

OVERVIEW OF DIGITAL DESIGN 7

Many Design Tasks System specification (functionality and requirements) Hardware/software trade-offs Architecture selection and exploration Analysis and simulation Synthesis and optimization Implementation Testing and design for testability Verification and validation (V-cycle!) Design management: cooperation between tools, design flow, etc. 8

Design Objectives Unit cost: the cost of manufacturing each copy of the system, excluding NRE cost. NRE cost (Non-Recurring Engineering cost): The one-time cost of designing the system. Size: the physical space required by the system. Performance: the execution time or throughput. Power: the amount of power consumed by the system. Testability: the easiness of testing the system to make sure that it works correctly. Flexibility: the ability to change the functionality of the system without incurring heavy NRE cost. Correctness, safety, etc. 9

The Main Challenges System complexity Increasing functionality and diversity Increasing performance Stringent design requirements Low cost and low power Dependability: reliability, safety and security Testability and flexibility Technology challenges for cost-efficient implementation Deep submicron effects (e.g., cross talk and soft errors) Possible Solutions: Powerful design methodology and CAD tools. Advanced architecture (modularity). Extensive design reuse. 10

DESIGN PARADIGMS 11

Capture and Simulate The detailed design is captured in a model. The model is simulated. The results are used to guide the improvement of the design. All design decisions are made by the designers. 12

Abstraction Hierarchy Layout/silicon level : The physical layout of the integrated circuits is described. Circuit level : The detailed circuits of transistors, resistors, and capacitors are described. Logic (gate) level : The design is given as gates and their interconnections. Register-transfer level (RTL) : Operations are described as transfers of values between registers. Algorithmic level : A system is described as a set of usually concurrent algorithms. System level : A system is described as a set of processors and communication channels. 13

Describe and Synthesize Paradigm Description of a design in terms of behavioral specification. Refinement of the design towards an implementation by adding structural details. Evaluation of the design in terms of a cost function and the design is optimized w.r.t. the cost function. 14

Other Paradigms Y-Chart Behavioral, structure & physical domain Core-based Design Reuse of IP blocks e.g. CPU, DSP, Platform-based Design Customized embedded processors or software 15

INTRODUCTION TO FPGA 16

History of Programmable Logic SPLD: Simple Programmable Logic Devices 17

History of Programmable Logic 18

History of Programmable Logic 19

History of Programmable Logic 20

History of Programmable Logic 21

Why FPGAs? Ideal for customized designs Product differentiation in a fast-changing market Offer the advantages of high integration High complexity, density, reliability Low cost, power consumption, small physical size Avoid the problems of ASICs high NRE cost, long delay in design and testing increasingly demanding electrical issues Fast Time-to-Market, fast response to market changes 22

FPGA Advantages Very fast custom logic massively parallel operation Faster than microcontrollers and microprocessors much faster than DSP engines More flexible than dedicated chipsets allows unlimited product differentiation More affordable and less risky than ASICs no NRE, minimum order size, or inventory risk Reprogrammable at any time in design, in manufacturing, after installation 23

VHDL BASICS 24

VHDL Hardware description languages (HDL) Language to describe hardware Two popular languages VHDL: Very High Speed Integrated Circuits Hardware Description Language Developed by US DOD from 1983 IEEE Standard 1076-1987/1993/200x Based on the ADA language Verilog IEEE Standard 1364-1995/2001/2005 Based on the C language Applications of HDL: Model and document digital systems Different levels of abstraction Behavioral, structural, etc. Verify design Synthesize circuits Convert from higher abstraction levels to lower abstraction levels 25

Modeling Digital Systems VHDL is for coding models of a digital system... Reasons for modeling requirements specification documentation testing using simulation formal verification synthesis Goal most reliable design process, with minimum cost and time avoid design errors! 26

Basic VHDL Concepts Main Terms Interfaces -- i.e. ports Behavior Structure Test Benches Analysis, simulation Synthesis VHDL is a programming language that allows one to model and develop complex digital systems in a dynamic environment. Object Oriented methodology -- modules can be used and reused. Allows you to designate in/out ports (bits) and specify behavior or response of the system. But VHDL is NOT C... There are some similarities, as with any programming language, but syntax and logic are quite different. 27

3 ways to DO IT -- the VHDL way Dataflow Behavioral Structural 28

Modeling the Dataflow way uses statements that defines the actual flow of data... such as, x <= y -- this is NOT less than equal to -- told you its not C this assigns the boolean signal x to the value of boolean signal y... i.e. x = y this will occur whenever y changes... 29

Jumping right in to a Model lets look at an and gate model -- doing it the dataflow way... ignore the extra junk for now entity and_gate is port ( a,b: in bit; c: out bit); end and_gate; architecture dataflow of and_gate is begin c<= a and b; end dataflow; 30

A FIRST LOOK ON THE IDE 31

ISE Design Suite 14.2 32

Build a vhdl module step1: Construct a new source 33

Build a vhdl module step2: Define the entity (i/o) 34

Build a vhdl module step3: Define the architecture 35

For more details, refer to: VHDL Tutorial: Learn by Example by Weijun Zhang http://esd.cs.ucr.edu/labs/tutorial/ Introduction to VHDL presentation by Dr. Adnan Shaout, The University of Michigan-Dearborn The VHDL Cookbook, Peter J. Ashenden, 1 st edition, 1990. For inquires, send to: ahmad.elbanna@feng.bu.edu.eg 36