Digital System Design Lecture 2: Design - ce.sharif.educe.sharif.edu/~gharehbaghi/DSD/2-...

30
Digital System Design Lecture 2: Design Amir Masoud Gharehbaghi [email protected]

Transcript of Digital System Design Lecture 2: Design - ce.sharif.educe.sharif.edu/~gharehbaghi/DSD/2-...

Digital System DesignLecture 2: Design

Amir Masoud [email protected]

Sharif University of Technology 2

Table of Contents

Design MethodologiesOverview of IC Design FlowHardware Description LanguagesBrief History of HDLs

Sharif University of Technology 3

Design Methodologies

Ad-hoc

StructuredTop-DownBottom-UpMixed

Sharif University of Technology 4

Ad-hoc DesignSmall Scale Designs

Come up with a block diagramPlace chips on boardWire parts and componentsHope or Pray it works

Large Scale DesignsPartition DesignDevelop LibraryConfigure DesignTest Partial DesignDevelop More LibrariesConfigure More Designs. . .Complete Design

Sharif University of Technology 5

Why Structured Design?

Over a million-transistor designs cannot be done easily

Today’s designs require better toolsToday’s designs require better planningToday’s designs require better strategy

How to manageStep-by-step designUse of SimulationUse of Synthesis

Sharif University of Technology 6

Design Methodologies (cont.)

Top-DownRefine Specification successivelyDecompose each component into small componentsLowest-level primitive componentsOver-sold methodology - only works with plenty of experience

Sharif University of Technology 7

Design Methodologies (cont.)

Bottom-UpBuild-up from primitive componentsCombined to form more complex componentsRisk wrong interpretation of specifications

Sharif University of Technology 8

Design Methodologies (cont.)

MixedMostly top-down, but also bits of bottom-upReality: need to know both top level and bottom level constraints

Sharif University of Technology 9

Overview of IC Design

From Concept to Silicon

Verification must bedone at each phase

Concept

Algorithm Design

Architecture Design

Logic/Circuit Design

Physical Design

Tape-out

Sharif University of Technology 10

Overview of IC Design (cont.)

ConceptNovel Idea or Product Concept

Algorithm DesignProving IdeaBehavior AnalysisAlgorithm Optimization & Transformations

Sharif University of Technology 11

Overview of IC Design (cont.)Architecture Design

Design of Hardware ComponentsOptimization for Minimum Resource

Logic/Circuit DesignDesign of Hardware ComponentsTradeoffs among Area/Delay/PowerFurther Improvements from logic-level to circuit level

Sharif University of Technology 12

Overview of IC Design (cont.)

Physical DesignTarget to a Foundry ProcessLayout according to Routing LayersRC Model for TransistorsInitial Floorplan

Estimate Die SizeEstimate Routing Complexity

Finial Floorplan

Sharif University of Technology 13

Overview of IC Design (cont.)

Tape-outFabrication Period

Gate ArrayRouting Layers and Contacts are required

Full-Custom or Cell-BasedAll Masks must be designed

A lot of test after manufacturing is needed before design is ready for market

Sharif University of Technology 14

Overview of IC Design (cont.)Verification

Validation of Design in each PhaseFormalSimulation

Equivalence Checking between two phasesPhysical Design Verification

DRC: Design Rule CheckERC: Electrical Rule CheckLVS: Layout vs. Schematic

Sharif University of Technology 15

Hardware Description Languages (HDLs)

Describe Hardware at different levels of abstractionStructural

Netlist of modules (hierarchical)Textual replacement of Schematic

Behavioral/FunctionalDescribe what module does, not howUse Synthesis to generate Hardware

Sharif University of Technology 16

HDLs Specifications

TimingConcurrency

Simulation Semantics

Sharif University of Technology 17

Why Using HDLs?

Very difficult to design directly on hardwareExploring different design options

EasierCheaper

Lower time and cost than prototypingCAD support from concept to silicon

Sharif University of Technology 18

Key Features of HDLs

HDLs have high-level programming language constructsHDLs allow designers to describe their designs at different levels of abstractionHDLs allow designers to describe functionality as well as timingHDLs are concurrent languages in nature

Sharif University of Technology 19

A Brief History of HDLs

Sharif University of Technology 20

CDL

Computer Design LanguageDeveloped in 1965

Simulator in 1975Features:

Some high-level statements, conditionSimple logical and arithmetic operationsAcademic language (not industrial)Data-flow level (no hierarchy support)

Sharif University of Technology 21

ISPS

Instruction Set Processor SpecificationFirst Idea in 1971

ISPL in 1976ISPS in 1981

Single level of abstractionUpper than data-flowProcessor instruction set

No hierarchy support

Sharif University of Technology 22

AHPL

A Hardware Programming LanguageThree versions:

AHPL-I: 1970AHPL-II: 1978AHPL-III: 1979

Features:Data-flow and structural levelFull EDA tool supportUnfamiliar syntax

Sharif University of Technology 23

VHDL

VHSIC HDL: Very High Speed Integrated Circuit Hardware Description LanguageInitiated by DARPA (research center of DoD) in a workshop in 1981DARPA documentation released in 1983VHDL 7.2 released in 1985

ITAR restrictions were lifted from VHDL

Sharif University of Technology 24

VHDL (cont.)

IEEE Standard in 1987IEEE Std-1076-1987

ANSI Standard in 1988Added Support for RTL Design

VITAL: VHDL Initiative Towards ASIC Library

Revised version in 1993IEEE Std-1076-1993

Final review added mixed-signal support to VHDL in 2001 -> VHDL-AMS

IEEE Std-1076.1-2001

Sharif University of Technology 25

Verilog

Verifying LogicPhil Moorby from Gateway Design Automation in 1984 to 1987

Absorbed by CadenceVerilog-XL simulator from GDA in 1986Synopsis Synthesis Tool in 1988In 1990 became open language

OVI: Open Verilog International

Sharif University of Technology 26

Verilog (cont.)

IEEE Standard in 1995IEEE Std-1364-1995

Last revision in 2001IEEE Std-1364-2001

Ongoing work for addingMixed-signal constructs: Verilog-AMSSystem-level constructs: SystemVerilog

Sharif University of Technology 27

VHDL vs. Verilog

All abstraction levelsDesigned for documentationADA based constructsNO PLI (Programming Language Interface)

All Abstraction LevelsDesigned for hardware designC and ADA based constructsPowerful PLI

Sharif University of Technology 28

VHDL vs. Verilog (cont.)

Complex GrammarHard to learn for beginnersDescribe a system (everything)Lots of data typesHigh-level data types

PointerAlias

Easy LanguageEasy to learn for beginnersDescribe digital systemsFew data typesHardware related types

Wireregister

Sharif University of Technology 29

VHDL vs. Verilog (cont.)

User-defined package and libraryReuse code from packageFull design parameterizationMore easier to handle large designs

No user-defined packagesReuse using includeSimple parameterizationNo language construct for design file handling

Sharif University of Technology 30

VHDL vs. Verilog (cont.)