vlsi clc design.ppt

Upload: mai-xuan-hoa

Post on 14-Apr-2018

253 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 VLSI CLC Design.ppt

    1/35

    9/25/13

    1

    VLSI Combinational Circuit Design

    Dr.LeDungHanoi University of Science and Technology

    Dr. Le Dung Hanoi University of Science and Technology

    Alargedigitallogiccircuit

    canbeimplementedby

    SSI, MSI and LSI

    off-the-shelf partsVLSI Application-specific

    integrated circuit (ASIC)

    SingleICMul:pleICs

  • 7/29/2019 VLSI CLC Design.ppt

    2/35

    9/25/13

    2

    Dr. Le Dung Hanoi University of Science and Technology

    An example of the off-the-shelf parts design

    Dr. Le Dung Hanoi University of Science and Technology

    Designing with off-the-shelf parts

    Theoff-the-shelfparts=CommercialSSI,MSIandLSImodularlogicintegratedcircuits(74xxx,4xxx)

    QuicklyassemblingacircuitboardThenumberofpartsandthecostpergatecanbecomeunacceptablylarge

  • 7/29/2019 VLSI CLC Design.ppt

    3/35

    9/25/13

    3

    Dr. Le Dung Hanoi University of Science and Technology

    VLSI ASIC design

    UsingsingleVLSIIC+ReducePCBspaceandpowerrequirements

    +Reducetotalcost

    Usinghardwaredescrip:onlanguageandCADtoolsfordesigning

    Designingapproaches+Full-customdesign

    +Semi-customdesign

    Dr. Le Dung Hanoi University of Science and Technology

    Full-custom design (1)

    Gatebygatedesigningwiththephysicallayoutofeachindividualtransistorandtheinterconnec:onsbetweenthem.

    Eachtransistorandeachconnec:onisdesignedindividuallyas

    asetofrectangles

  • 7/29/2019 VLSI CLC Design.ppt

    4/35

    9/25/13

    4

    Dr. Le Dung Hanoi University of Science and Technology

    Full-custom design (2)

    +Boththecircuitperformanceandthesiliconareacan

    beop:mized(usingECADtools)

    -Extremelylabor-intensivetoimplement

    -Highcostofmasksets

    -Increasingmanufacturinganddesign:me

    Time-to-marketcompe::on

    Dr. Le Dung Hanoi University of Science and Technology

    Semi-custom design

    Semi-customdevice+haspredesignedparts

    Semi-customdesignapproachesStandardcellbaseddesign

    GatearraybaseddesignProgrammabledevicesbaseddesign

  • 7/29/2019 VLSI CLC Design.ppt

    5/35

    9/25/13

    5

    Dr. Le Dung Hanoi University of Science and Technology

    Standard cell based design (1)

    Libraryofstandardcells+Eachcellisagate

    +Sameheight,variablewidth,interleavedbyrou:ngchannels

    +Allinputsatthetop,alloutputsatthebo]om

    Adesignerselectscellsfromadesignlibarary,specifyingwheretheyshouldbeplacedontheICandthen

    dicta:nghowtheyshouldbeinterconnected.

    Fasterdesignofmorecomplexbuildingblocks Siliconfoundriesdesignandsellsuchop:mizedlibraries

    fortheirprocessingtechnology

    Dr. Le Dung Hanoi University of Science and Technology

    Basic process standard cell based design

    Technology

    mapping

  • 7/29/2019 VLSI CLC Design.ppt

    6/35

    9/25/13

    6

    Dr. Le Dung Hanoi University of Science and Technology

    HardwareDescrip:onLanguage Synthesis

    Translate HDL descriptions into logic gate networks in a particular library

    Dr. Le Dung Hanoi University of Science and Technology

    LogicSynthesisPhases

    Logic optimization transforms current gate-levelnetwork into an equivalent gate-level network moresuitable for technology mapping.

    Technology mapping transforms the gate-levelnetwork into a netlist of gates (from library) which

    minimizes total cost.

  • 7/29/2019 VLSI CLC Design.ppt

    7/35

    9/25/13

    7

    Libraryofstandardcell

    INVERTER 2 1

    NAND2 3 1.4

    NAND3 4 1.8

    NAND4 5 2.2

    AOI21 4 1.8

    CELLS COST DELAY SYMBOLPATTERN

    Dr. Le Dung Hanoi University of Science and Technology

    CMOS AND-OR-Invert Gate

    Anexampleofstandardcelltechnologymapping(1)

    Dr. Le Dung Hanoi University of Science and Technology

  • 7/29/2019 VLSI CLC Design.ppt

    8/35

    9/25/13

    8

    Anexampleofstandardcelltechnologymapping(2)

    Synthesis

    Dr. Le Dung Hanoi University of Science and Technology

    Netlist of gates (from library)

    which minimizes total cost.

    Phasesofsynthesis(1/3)

    1. Independenttransformaons(opmizaon)

    Dr. Le Dung Hanoi University of Science and Technology

  • 7/29/2019 VLSI CLC Design.ppt

    9/35

    9/25/13

    9

    Phasesofsynthesis(1/3)

    Dr. Le Dung Hanoi University of Science and Technology

    1. Independenttransformaons(opmizaon)

    Phasesofsynthesis(1/3)

    Dr. Le Dung Hanoi University of Science and Technology

    1. Independenttransformaons(opmizaon)

  • 7/29/2019 VLSI CLC Design.ppt

    10/35

    9/25/13

    10

    Phasesofsynthesis(1/3)

    Dr. Le Dung Hanoi University of Science and Technology

    1. Independenttransformaons(opmizaon)

    Phasesofsynthesis(1/3)

    Dr. Le Dung Hanoi University of Science and Technology

    1. Independenttransformaons(opmizaon)

  • 7/29/2019 VLSI CLC Design.ppt

    11/35

    9/25/13

    11

    Phasesofsynthesis(1/3)

    da

    c

    b

    efg

    h

    Dr. Le Dung Hanoi University of Science and Technology

    1. Independenttransformaons(opmizaon)

    Original netlist

    Phasesofsynthesis(2/3)

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    da

    c

    b

    efgh

    Dr. Le Dung Hanoi University of Science and Technology

    Original netlist

  • 7/29/2019 VLSI CLC Design.ppt

    12/35

    9/25/13

    12

    Phasesofsynthesis(2/3)

    da

    c

    b

    efgh

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    Dr. Le Dung Hanoi University of Science and Technology

    Phasesofsynthesis(2/3)

    da

    c

    b

    efgh

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    Dr. Le Dung Hanoi University of Science and Technology

  • 7/29/2019 VLSI CLC Design.ppt

    13/35

    9/25/13

    13

    Phasesofsynthesis(2/3)

    da

    c

    b

    efgh

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    Dr. Le Dung Hanoi University of Science and Technology

    Phasesofsynthesis(2/3)

    da

    c

    b

    efgh

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    Dr. Le Dung Hanoi University of Science and Technology

  • 7/29/2019 VLSI CLC Design.ppt

    14/35

    9/25/13

    14

    Phasesofsynthesis(2/3)

    d

    a

    c

    b

    efgh

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    Dr. Le Dung Hanoi University of Science and Technology

    Phasesofsynthesis(2/3)

    d

    a

    c

    b

    efgh

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    Dr. Le Dung Hanoi University of Science and Technology

  • 7/29/2019 VLSI CLC Design.ppt

    15/35

    9/25/13

    15

    Phasesofsynthesis(2/3)

    d

    a

    c

    b

    efgh

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    Dr. Le Dung Hanoi University of Science and Technology

    Phasesofsynthesis(2/3)

    d

    a

    c

    b

    efgh

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    Dr. Le Dung Hanoi University of Science and Technology

  • 7/29/2019 VLSI CLC Design.ppt

    16/35

    9/25/13

    16

    Phasesofsynthesis(2/3)

    d

    a

    c

    b

    efgh

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    Dr. Le Dung Hanoi University of Science and Technology

    Phasesofsynthesis(2/3)

    d

    a

    c

    b

    efgh

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    Dr. Le Dung Hanoi University of Science and Technology

  • 7/29/2019 VLSI CLC Design.ppt

    17/35

    9/25/13

    17

    Phasesofsynthesis(2/3)

    d

    a

    c

    b

    efgh

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    Dr. Le Dung Hanoi University of Science and Technology

    Phasesofsynthesis(2/3)

    d

    a

    c

    b

    efgh

    Decomposionusingbasefuncons DecomposetoanetworkNAND2/NOT

    Dr. Le Dung Hanoi University of Science and Technology

    Subject Graph

  • 7/29/2019 VLSI CLC Design.ppt

    18/35

    9/25/13

    18

    Whatistechnologymapping?

    Technologymappingistheproblemofopmisinganetworkforareaordelay,usingonlylibrarycells.

    Mapping

    library

    rule

    Dr. Le Dung Hanoi University of Science and Technology

    Netlist of gates (from library)

    which minimizes total cost.

    Original netlist

    Phasesofsynthesis(3/3)

    d

    a

    c

    b

    efgh

    TechnologymappingGreedyalgorithmGreedysearch

    Dr. Le Dung Hanoi University of Science and Technology

    Subject Graph

  • 7/29/2019 VLSI CLC Design.ppt

    19/35

    9/25/13

    19

    Phasesofsynthesis(3/3)

    d

    a

    c

    b

    efgh

    Technologymapping Greedysearch

    Dr. Le Dung Hanoi University of Science and Technology

    Subject Graph

    Phasesofsynthesis(3/3)

    d

    a

    c

    b

    efgh

    Technologymapping-Greedysearch

    Dr. Le Dung Hanoi University of Science and Technology

    Subject Graph

  • 7/29/2019 VLSI CLC Design.ppt

    20/35

    9/25/13

    20

    Technologymapping Usingprincipleofop:mality

    Phasesofsynthesis(3/3)

    d

    a

    c

    b

    efgh

    15

    Dr. Le Dung Hanoi University of Science and Technology

    Subject Graph

    Phasesofsynthesis(3/3)

    d

    a

    c

    b

    efgh

    15 9

    Technologymapping Usingprincipleofop:mality

    Dr. Le Dung Hanoi University of Science and Technology

    Subject Graph

  • 7/29/2019 VLSI CLC Design.ppt

    21/35

    9/25/13

    21

    Phasesofsynthesis(3/3)

    d

    a

    c

    b

    efgh

    Technologymapping Usingprincipleofop:mality

    Dr. Le Dung Hanoi University of Science and Technology

    Subject Graph

    Sea of gates

    Cell I/O buffer

    Fixed transistorlayer

    Customized

    metal layer for

    connecting gate

    Dr. Le Dung Hanoi University of Science and Technology

    Gatearraybaseddesign+ A gate array or uncommitted logic array (ULA) circuit is prefabricatedwith a number of unconnected logic gates (cells).

    + CMOS transistors with fixed length and width are placed at regularpredefined positions and manufactured on a wafer, usually called a

    master slice ( sea of gates).+ Creation of a circuit with a specified function is accomplished by

    adding a final surface layer or layers of metal interconnects to the chips

    on the master slice late in the manufacturing process, joining theseelements to allow the function of the chip to be customized as desired

    reducing the designing time reducing the mask costs

    + Disadvantages

    - slow clock speed- wasted chip area

  • 7/29/2019 VLSI CLC Design.ppt

    22/35

    9/25/13

    22

    Dr. Le Dung Hanoi University of Science and Technology

    Gatearraybaseddesignflow

    Designentry

    Placement

    Rou:ng

    Simula:on

    Timingsimula:on

    Fabrica:on(metal1mask) Tes:ng

    Library of cellsTechnologymapping

    Dr. Le Dung Hanoi University of Science and Technology

    ProgrammableDeviceBasedDesign

    Based on programmable devices:The interconnection layers are personalized by electronic means for a

    specific application. This work usually can be done by end-users.

    F0 = AB+ AC

    F1 = B + AC

    F2 = AB+ BCF3 = AC + B

  • 7/29/2019 VLSI CLC Design.ppt

    23/35

    9/25/13

    23

    Dr. Le Dung Hanoi University of Science and Technology

    ProgrammableElements

    + Fuse

    + Antifuse

    + Switch+ Volatile

    + Non-volatile

    + One Time Programmable

    + Reprogrammable (Memory-based)

    Dr. Le Dung Hanoi University of Science and Technology

    ProgrammableDevices

    Simple Programmable Logic Device:+ Programmable read only memory (PROM)

    + Field Programmable logic array (FPLA or PLA)

    + Programmable array logic (PAL)

    + Generic array logic (GAL)

    Complex programmable logic device (CPLD)Field programmable gate array (FPGA)Field programmable interconnect (FPIC)

  • 7/29/2019 VLSI CLC Design.ppt

    24/35

    9/25/13

    24

    Dr. Le Dung Hanoi University of Science and Technology

    BasicSPLDorganiza:on

    AND

    array

    OR

    arrayOutput

    options

    Product

    terms

    Sum

    terms

    Feedback terms

    Inputs Outputs

    Dr. Le Dung Hanoi University of Science and Technology

    Fuse-basedprogrammableANDORArray

  • 7/29/2019 VLSI CLC Design.ppt

    25/35

    9/25/13

    25

    Dr. Le Dung Hanoi University of Science and Technology

    OutputPolarityOp:ons

    Dr. Le Dung Hanoi University of Science and Technology

    Bidirec:onalPinsandFeedbackline

  • 7/29/2019 VLSI CLC Design.ppt

    26/35

    9/25/13

    26

    Dr. Le Dung Hanoi University of Science and Technology

    PLDDesignProcess

    Dr. Le Dung Hanoi University of Science and Technology

    Combina:onalCircuitisimplementedonSPLD

  • 7/29/2019 VLSI CLC Design.ppt

    27/35

    9/25/13

    27

    Dr. Le Dung Hanoi University of Science and Technology

    PROM=Read-Only-Memory

    Dr. Le Dung Hanoi University of Science and Technology

    PROM=PLDwithfixedANDarray

  • 7/29/2019 VLSI CLC Design.ppt

    28/35

    9/25/13

    28

    Dr. Le Dung Hanoi University of Science and Technology

    Full-adderonPROM

    Dr. Le Dung Hanoi University of Science and Technology

    PAL

  • 7/29/2019 VLSI CLC Design.ppt

    29/35

    9/25/13

    29

    Dr. Le Dung Hanoi University of Science and Technology

    Combina:onalCircuitisimplementedPAL

    Dr. Le Dung Hanoi University of Science and Technology

    FPLA

    Programmable

    OR arrayProgrammable

    AND array

  • 7/29/2019 VLSI CLC Design.ppt

    30/35

    9/25/13

    30

    Dr. Le Dung Hanoi University of Science and Technology

    Combina:onalCircuitisimplementedonFPLA(1)

    Minimizeeachfunc:onseparately

    8productterms

    F1=bd+bc+ab

    F2=c+abd

    F3=bc+abc+abd

    Mul:ple-OutputOp:miza:on

    5productterms

    F1=abd+abd+abc+bc

    F2=abd+bc+bc

    F3=abd+abc+bc

    Dr. Le Dung Hanoi University of Science and Technology

    Combina:onalCircuitisimplementedonFPLA(2)

    F1=abd+abd+abc+bc

    F2=abd+bc+bc

    F3=abd+abc+bc

  • 7/29/2019 VLSI CLC Design.ppt

    31/35

    9/25/13

    31

    Dr. Le Dung Hanoi University of Science and Technology

    Exercise

    Implement the twofunctions with PLA

    PLA

    Dr. Le Dung Hanoi University of Science and Technology

    GenericArrayLogicarchitecture

    Output logic macrocell (OLMC)

  • 7/29/2019 VLSI CLC Design.ppt

    32/35

    9/25/13

    32

    Dr. Le Dung Hanoi University of Science and Technology

    CPLDarchitecture

    AND-OR

    Plane

    O I/O

    Switch matrix

    I/O O

    AND-OR

    Plane

    AND-OR

    Plane

    O I/O I/O

    AND-OR

    Plane

    O

    Dr. Le Dung Hanoi University of Science and Technology

    FPGAarchitecture(1)

  • 7/29/2019 VLSI CLC Design.ppt

    33/35

    9/25/13

    33

    Dr. Le Dung Hanoi University of Science and Technology

    FPGAarchitecture(2)

    Dr. Le Dung Hanoi University of Science and Technology

    FPGAarchitecture(3)

    Switch Matrix and interconnection

    Long lines :

    -Across whole chip-High fan-out, low skew-Suitable for global signals (CLK) and buses-2 tri-states per CLB for busses

  • 7/29/2019 VLSI CLC Design.ppt

    34/35

    9/25/13

    34

    Dr. Le Dung Hanoi University of Science and Technology

    FPGAarchitecture(4)Configurable Logic Block (CLB)

    5 logic inputs

    Data input (DI)Clock (K)

    Clock enable (EC)Direct reset (RD)

    2 outputs (X,Y)

    Dr. Le Dung Hanoi University of Science and Technology

    FPGAarchitecture(5)

    I/O Block (IOB)

  • 7/29/2019 VLSI CLC Design.ppt

    35/35

    9/25/13

    Dr. Le Dung Hanoi University of Science and Technology

    FPGAdevelopmenttoolkit