ADVANCED VLSI CHAP6-4

Embed Size (px)

Citation preview

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    1/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Topics

    Buses and networks-on-chips. Networks-on-chips. Data paths. Subsystems as IP.

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    2/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Bus-based systems

    A bus is a common connection:

    box1 box2 box3

    ctrldata

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    3/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Bus circuits

    Cannot support full connectivity betweenall data path elements must choosenumber of transfers per cycle allowed.

    A bus circuit is a specialized multiplexer circuit.

    Two major choices: pseudo-nMOS, precharged.

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    4/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Pseudo-nMOS bus circuit

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    5/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Precharged bus circuit

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    6/48

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    7/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Asynchronous timing constraints

    Must satisfy setup, hold times.

    adrs

    Setup timeHold time

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    8/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Bus system design

    Requirements: Imposed by the other side of the system.

    Constraints: Imposed by this side of the system.

    a b

    requirements

    constraints

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    9/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    ba

    Views of the bus

    Hardware:

    D Q D Q

    Combinationallogic

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    10/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Views of bus system, contd.

    Timing diagram:

    ba

    D Q D Q

    Combinationallogic

    x

    y

    x y

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    11/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Bus protocols

    Basic transaction: four-cycle handshake.

    a

    b

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    12/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Handshake machine

    Each side is an FSM (possiblyasynchronous):

    a b0 1

    Go

    ack ack

    enq

    0 1

    enq

    ack

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    13/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Basic protocols

    Handshake transmits data:

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    14/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Box 1 logic

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    15/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Box 2 logic

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    16/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Bus timing

    td1 = d stable

    td2 = d not stable

    tc1 = c rises

    tc2 = c falls

    tack1 = ack rises

    t1 = t c1 - td1 >= t r

    t2 = t ack1 - tc1 >= t h

    t3 = t c2 - tack1 >= t h

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    17/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Busses and systems

    Microprocessor systems often have several busses running at different rates:

    CPU

    bridge

    mem

    I/O

    High-speed

    Low-speed

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    18/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Basic signals in a bus

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    19/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Bus characteristics

    Physical Connector size, etc.

    Electrical Voltages, currents, timing.

    Protocol Sequence of events.

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    20/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Advanced transactions

    Multi-cycle transfers: Several values on one handshake.

    May use implicit addressing.

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    21/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    PCI bus

    Used for box-level system interconnect. Two versions:

    33 MHz. 66 MHz.

    Supports advanced transactions.

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    22/48

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    23/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Multi-rate systems

    Logic blocksrunning at different

    clock rates maycommunicate:

    Multi-chip.

    Single-chip. Slow bus connects

    to fast logic.

    Logic 1 Logic 2

    100 MHz 33 MHz

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    24/48

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    25/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Resynchronization

    Use cascaded registers to minimize thechance of using a metastable value.

    D Q D Qd dout

    f

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    26/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Networks-on-chips

    NoC is an on-chip interconnectionnetwork.

    Bus is simplest case. Many NoCs have multiple stages.

    Packet-based NoCs: Nodes connected by links. Packet may be divided into flits (flits are

    always of equal size, packets may not be).

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    27/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Bus electrical model

    core i

    Length 1

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    28/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Bus delay

    Major components of delay: Drivers.

    Bus backbone. Sink capacitive loads.

    Delay formula:

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    29/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Crossbar

    Crossbar allows anycombination of

    connections. Allows arbitrary

    multicasting.

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    30/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Switch-based crossbar

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    31/48

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    32/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Crossbar delay

    Switch-based crossbar dominated by buffered transmission line:

    Multiplexer-based crossbar delay:

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    33/48

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    34/48

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    35/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Data path logical organization

    Register file s h

    i f t e r

    memory

    constant

    addresses Shift control

    ALU op

    carryout

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    36/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Register file porting

    Register file is an SRAM. Additional ports add area, increase access

    time. But additional ports also reduce number of

    cycles required for an operation.

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    37/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Operand fetch from register file

    +

    1 port

    First cycle

    Second cycle

    Third cycle

    2 portsFirst cycle

    First cycle

    Second cycle

    3 portsFirst cycle

    First cycle

    First cycle

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    38/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Register file tradeoffs

    SRAM delay grows approximately linearlyin number of ports.

    Driver area grows considerably with added ports.

    At least two ports makes sense for data

    path through put.

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    39/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Data path clocking

    Major signals:f 1f 2

    precharge s f 1 adrs s f 2

    data v f 2

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    40/48

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    41/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Typical data path structure

    Slice includes one bit of function units,connected by busses:

    registers shift ALU bus

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    42/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Bit-slice structure

    Many arithmetic and logical functions can be defined recursively on bits of word.

    A bit-slice is a one-bit (or n-bit) segmentof an operation of minimum size to ensureregularity.

    Regular logical structure allows regular physical structure.

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    43/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Abutting and pitch-matching

    Cells in bit-slice may be abuttedtogether requires matching positions on

    terminals. Pitch-matching is designing cells to ensure

    that pins are at proper positions for

    abutting.

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    44/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Data path floorplan

    m u x

    l a t c h

    l a t c h

    m u x

    c o n s

    t a n t

    R e g

    i s t e r f i

    l e

    s h i f t e r

    A L U

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    45/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Data path color plan

    cell

    VDD

    VSS

    result

    Shifter input

    Register file

    control

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    46/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Subsystems as IP

    Standards for subsystems are morecomplex:

    More variations. More parameters.

    Open Core Protocol (OCP) defines socket

    for plug-and-play operation. SPIRIT defines standard documentation

    for subsystem IP.

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    47/48

    Modern VLSI Design 4e: Chapter 6 Copyright 2008 Wayne Wolf

    Wishbone standard

    Basic unit is master-slave interface. Defines handshake.

    Interface defines CLK, ADRS, DATA,WE, STB, ACK, CYC, RST.

    Three types of bus transfers: single

    read/write, block read/write,read/modify/write.

  • 7/28/2019 ADVANCED VLSI CHAP6-4

    48/48

    Functional verification

    Particularlyimportant for soft IP,

    but performed evenfor hard IP.

    Compare designmodule against

    known good design. QIP metric standard

    defines verificationstandards.

    goldenreference

    IPmodule

    -inputvectors