OUTLINE SYSTEM-ON-CHIP DESIGN. GETTING STARTED WITH VHDL August 31, 2015 GAJSKI S Y-CHART (1983) TOP-DOWN DESIGN (1)



Similar documents
Active Directory Service

VMware Horizon FLEX Administration Guide

VMware Horizon FLEX Administration Guide

CS 316: Gates and Logic

- DAY 1 - Website Design and Project Planning

Words Symbols Diagram. abcde. a + b + c + d + e

Architecture and Data Flows Reference Guide

KEY SKILLS INFORMATION TECHNOLOGY Level 3. Question Paper. 29 January 9 February 2001

Student Access to Virtual Desktops from personally owned Windows computers

Printer Disk. Modem. Computer. Mouse. Tape. Display. I/O Devices. Keyboard

Data Security 1. 1 What is the function of the Jump instruction? 2 What are the main parts of the virus code? 3 What is the last act of the virus?

Engineer-to-Engineer Note

Arc-Consistency for Non-Binary Dynamic CSPs

SE3BB4: Software Design III Concurrent System Design. Sample Solutions to Assignment 1

McAfee Network Security Platform

JCM TRAINING OVERVIEW Multi-Download Module 2

1. Definition, Basic concepts, Types 2. Addition and Subtraction of Matrices 3. Scalar Multiplication 4. Assignment and answer key 5.

How To Organize A Meeting On Gotomeeting

Section 5.2, Commands for Configuring ISDN Protocols. Section 5.3, Configuring ISDN Signaling. Section 5.4, Configuring ISDN LAPD and Call Control

Enterprise Digital Signage Create a New Sign

Qualmark Licence Agreement

Ratio and Proportion

Module 5. Three-phase AC Circuits. Version 2 EE IIT, Kharagpur

Calculating Principal Strains using a Rectangular Strain Gage Rosette

European Convention on Products Liability in regard to Personal Injury and Death

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Friday 16 th May Time: 14:00 16:00

Chapter. Contents: A Constructing decimal numbers

Quick Guide to Lisp Implementation

Welch Allyn CardioPerfect Workstation Installation Guide

CS99S Laboratory 2 Preparation Copyright W. J. Dally 2001 October 1, 2001

SECTION 7-2 Law of Cosines

Introductory Information. Setup Guide. Introduction. Space Required for Installation. Overview of Setup. The Manuals Supplied with This Printer ENG

Revised products from the Medicare Learning Network (MLN) ICD-10-CM/PCS Myths and Facts, Fact Sheet, ICN , downloadable.

How To Balance Power In A Distribution System

BUSINESS PROCESS MODEL TRANSFORMATION ISSUES The top 7 adversaries encountered at defining model transformations

Radius of the Earth - Radii Used in Geodesy James R. Clynch Naval Postgraduate School, 2002

Towards Zero-Overhead Static and Adaptive Indexing in Hadoop

FAULT TREES AND RELIABILITY BLOCK DIAGRAMS. Harry G. Kwatny. Department of Mechanical Engineering & Mechanics Drexel University

OxCORT v4 Quick Guide Revision Class Reports

Homework 3 Solutions

End-to-end development solutions

Start Here. Quick Setup Guide. the machine and check the components. NOTE Not all models are available in all countries.

2. Use of Internet attacks in terrorist activities is termed as a. Internet-attack b. National attack c. Cyberterrorism d.

Engineer-to-Engineer Note

Reasoning to Solve Equations and Inequalities

1 Fractions from an advanced point of view

Inter-domain Routing

Outline of the Lecture. Software Testing. Unit & Integration Testing. Components. Lecture Notes 3 (of 4)

BEC TESTS Gli ascolti sono disponibili all indirizzo

c b N/m 2 (0.120 m m 3 ), = J. W total = W a b + W b c 2.00

GENERAL OPERATING PRINCIPLES

Hillsborough Township Public Schools Mathematics Department Computer Programming 1

APPLICATION NOTE Revision 3.0 MTD/PS-0534 August 13, 2008 KODAK IMAGE SENDORS COLOR CORRECTION FOR IMAGE SENSORS

Summary of ALL Key-Pad entries

Radial blowers with AC motor

INSTALLATION, OPERATION & MAINTENANCE

Vectors Recap of vectors

Regular Sets and Expressions

and thus, they are similar. If k = 3 then the Jordan form of both matrices is

9.3. The Scalar Product. Introduction. Prerequisites. Learning Outcomes

PLWAP Sequential Mining: Open Source Code

Binary Representation of Numbers Autar Kaw

Digital Systems Design! Lecture 1 - Introduction!!

AntiSpyware Enterprise Module 8.5

1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall Final Exam

Start Here. Quick Setup Guide. the machine and check the components DCP-9020CDW

Lectures 8 and 9 1 Rectangular waveguides

Quick Reference Guide: Reset Password

SOLVING QUADRATIC EQUATIONS BY FACTORING

Would your business survive a crisis? A guide to business continuity planning.

License Manager Installation and Setup

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.

Quick Reference Guide: One-time Account Update

MATH 150 HOMEWORK 4 SOLUTIONS

1 Boolean Logic. Such simple things, And we make of them something so complex it defeats us, Almost. John Ashbery (b. 1927), American poet

JaERM Software-as-a-Solution Package

THE LONGITUDINAL FIELD IN THE GTEM 1750 AND THE NATURE OF THE TERMINATION.

SOLVING EQUATIONS BY FACTORING

Concept Formation Using Graph Grammars

Learning Subregular Classes of Languages with Factored Deterministic Automata

Advanced Baseline and Release Management. Ed Taekema

Bayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Vectors Summary. Projection vector AC = ( Shortest distance from B to line A C D [OR = where m1. and m

The art of Paperarchitecture (PA). MANUAL

A System Context-Aware Approach for Battery Lifetime Prediction in Smart Phones

A Language-Neutral Representation of Temporal Information

Density Curve. Continuous Distributions. Continuous Distribution. Density Curve. Meaning of Area Under Curve. Meaning of Area Under Curve

PROGRAMOWANIE STRUKTUR CYFROWYCH

Transcription:

August 31, 2015 GETTING STARTED WITH VHDL 2 Top-down design VHDL history Min elements of VHDL Entities nd rhitetures Signls nd proesses Dt types Configurtions Simultor sis The testenh onept OUTLINE 3 GAJSKI S Y-CHART (193) 4 TOP-DOWN DESIGN (1) BEHAVIORAL DOMAIN STRUCTURAL DOMAIN BEHAVIORAL DOMAIN STRUCTURAL DOMAIN Systems Algorithms Register trnsfers Logi Trnsfer funtions Trnsistor lyout Cell lyout Module lyout Proessors ALUs, RAMs, et. Gtes, flipflops, et. Trnsistors Top-down struturl deomposition + ottom-up lyout onstrution Floorpln PHYSICAL DOMAIN PHYSICAL DOMAIN

5 6 TOP-DOWN DESIGN (2) VHDL HISTORY d e f Struturl deomposition Communition does not hnge! d e f Inititive of the US Deprtment of Defense, prt of the Very High Speed Integrted Ciruit (VHSIC) progrmme running in the 0s, with gol of setting stndrd. VHDL = VHSIC Hrdwre Desription Lnguge Designed y group of experts Expliit support for multiple views: Seprtion of entity from rhiteture Stndrdized severl times y IEEE: Most importnt stndrds: 197, 1993 (used here!), 200. Grdully gined wide eptne (together with rivl lnguge Verilog) 7 EXAMPLE HARDWARE: siso ENTITY AND ARCHITECTURE lk reset dt_in siso dt_out req redy Seril in, seril out -it dt Environment provides new dt_in when req is high Environment should ollet dt_out when redy is high. req, redy, nd dt_out re updted on rising edge of lk. dt_in is onsumed (nd should e stle) on rising edge of lk. VHDL diretly supports the onept of one ommunition interfe for lok with multiple desriptions of its ontents. Entity: delrtion of ommunition Arhiteture: delrtion of ontent: ehvior, struture or mix One entity n hve multiple rhitetures. Chek files: siso_ent.vhd siso_opy_rh.vhd siso_gd_rh.vhd

9 10 LIBRARIES, PACKAGES, SIGNALS AND PROCESSES Points of ttention: Lirry: preompiled design informtion, grouped y lirry nme. Pkge: design informtion of generl nture to e used in more speifi designs. Exmple: olletion of dt types nd funtions tht operte on them. Signl: rrier of vlues tht hnge in time, normlly ssoited to wire or wire undle in hrdwre. Proess: desription of how signls hnge their vlues. Multiple proesses model prllelism. COMBINATIONAL AND SEQUENTIAL LOGIC Points of ttention: Proesses n model logi with or without internl memory, sequentil resp. omintionl logi. Sensitivity list Coding style for synhronous sequentil logi with synhronous reset. 11 12 SIMULATOR BASICS The simultion engine of VHDL is so-lled event-driven simultor. Events re signl hnges. An event triggers new events fter some dely. Events tke ple t some time. The simultor hndles events in the order of their tivtion time. In VHDL proesses re tivted for events on signls in their sensitivity lists. Proess tivtion generlly retes new events. Even when no dely is speified in the VHDL ode, the simultor will introdue n infinitesiml dely, so-lled delt dely. SIGNALS AND VARIABLES (1) A signl in VHDL is the equivlent of physil wire. Proesses ommunite vi signl hnges. Signls re lwys delred outside proess. Signl ssignments re indited y <= nd re never immedite, tke t lest delt dely. Signl ssignments n our outside proesses: onurrent ssignment, proess on its own.

13 SIGNALS AND VARIABLES (2) A signl ssignment orresponds to hrdwre: the omintion of signls t the right-hnd side produes the signl t the lefthnd side. <= g(, ) <= f1( ) <= h(, ) Multiple ssignments to the sme signls is like shorting two outputs: it is not llowed unless the signl is resolved. 14 SIGNALS AND VARIABLES (3) Proesses n lso hve lol vriles: Delred inside proess Not visile to other proesses Vrile ssignment is indited y := nd is immedite. It is therefore llowed to perform multiple ssignments to vrile without dvning simultion time: This does not hve hrdwre equivlent. Avoid the use of vriles in the hrdwre tht you design! <= f1( ) <= f2( )?? 15 DATA TYPES IN VHDL Few uilt-in dt types: integers, hrters, strings, time. Mehnism to define new dt types y enumertion, rrys, reords. Very ommon non-ntive dt type: std_logi, defined in stndrdized pkge std_logi_1164, ompiled in lirry ieee (inluding funtions suh s Boolen opertors). Atully n enumertion of 9 hrters: 0, 1, Z, U, X, -, et. Assoited vetor type std_logi_vetor, with onstnts written s strings, e.g. 00101. std_logi is resolved type, i.e. resolution funtion omputes signl vlue in the se of multiple drivers. 16 NUMERIC DATA TYPES A sequene of its n e interpreted s numer. Multiple interprettions exist. The pkge numeri_std, stndrdized y the IEEE, ville in lirry ieee defines two interprettions for std_logi vetors: signed: signed numer enoded s 2 s omplement unsigned: positive inry numers. VHDL hs strong typing: ssignments from std_logi_vetor to signed/unsigned require type sting.

17 1 TESTBENCH (1) TESTBENCH (2) Simultion is the most ommon method to verify the orretness of design, the design under verifition (DUV). In order to simulte design, speifi signl ptterns need to e supplied to the inputs. It is onvenient to use universl HDL to desrie this signl genertion, in this se VHDL. It is lso onvenient to monitor the outputs of the DUV; sometimes input signls n e generted depending on the reeived outputs. This results in test-vetor ontroller (TVC) with opposite I/O ptterns to the DUV. DUV + TVC = testenh (TB) The testenh does not hve ny I/O signls! Chek files: t_siso.vhd Note: TB hs struturl rhiteture. t_siso tv_siso dt_in req lk siso reset dt_out redy 19 CONFIGURATIONS A VHDL simultor is supposed to store ompiled versions of ll rhitetures of n entity simultneously. Question: how does one indite whih of the rhitetures should e simulted? Answer: VHDL onfigurtions define whih rhitetures to use for eh entity ll the wy down the hierrhy. Chek files: onf_t_siso_opy.vhd onf_t_siso_gd.vhd