Вы находитесь на странице: 1из 22

VLSI Design

Lecture 19: Memory and Data


path

Shaahin Hessabi
Department of Computer Engineering
Sharif University of Technology
Adapted, with modifications, from lecture notes
prepared by the author (from Prentice Hall PTR)
Topics
™ Memories:
¾ ROM;
¾ SRAM;
¾ DRAM.
™ Datapaths.
™ PLAs.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 2 of 22


High-density memory architecture
™ Address is divided into
row, column.
¾ Row may contain full word
or more than one word.
™ Selected row
drives/senses bit lines in
columns.
™ Amplifiers/drivers
read/write bit lines.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 3 of 22


Read-only memory (ROM)
™ ROM core is organized as NOR gates
¾ pulldown transistors of NOR determine programming.
™ Erasable ROMs require special processing that
is not typically available.
™ ROMs on digital ICs are generally mask-
programmed
¾ placement of pulldowns determines ROM contents.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 4 of 22


ROM core circuit

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 5 of 22


Static RAM (SRAM)
™ Core cell uses six-transistor circuit to store
value.
™ Value is stored symmetrically: both true and
complement are stored on cross-coupled
transistors.
™ SRAM retains value as long as power is applied
to circuit.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 6 of 22


SRAM core cell

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 7 of 22


SRAM core operation
™ Read:
¾ precharge bit and bit’ high (the two PMOS transistors
for precharge not shown: source=VDD, drain=bit/bit’,
gate=precharge’);
¾ set select line high from row decoder;
¾ one bit line will be pulled down.
™ Write:
¾ set bit/bit’ to desired (complementary) values;
¾ set select line high;
¾ drive on bit lines will flip state (charge sharing) if
necessary.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 8 of 22


SRAM sense amplifier
™ Differential pair: takes
advantage of complementarity
of bit lines.
™ When one bit line goes low,
that arm of differential pair
reduces its current, causing
compensating increase in
current in other arm.
™ Sense amplifier can be cross-coupled to increase
speed.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 9 of 22


3-Transistor Dynamic RAM (DRAM)
™ First form of DRAM
¾ modern commercial
DRAMs use one-transistor
cell (requires poly-poly).
™ 3-transistor cell can easily
be made with a digital
process.
™ Dynamic RAM loses
value due to charge
leakage
¾ must be refreshed.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 10 of 22


3-T DRAM operation
™ Value is stored on gate capacitance
of t1.
™ Read:
¾ read = 1, write = 0, read_data’ is
precharged;
¾ t1 will pull down read_data’ if 1 is stored.
™ Write:
¾ read = 0, write = 1, write_data = value;
¾ guard transistor writes value onto gate
capacitance.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 11 of 22


Data paths
™ A data path is a logical and a physical structure:
¾ bitwise logical organization;
¾ bitwise physical design.
™ Datapath often has ALU, registers, some other
function units.
™ Data is generally passed via busses.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 12 of 22


Typical data path structure
Slice includes one bit of function units, connected
by busses:

bus
registers shift ALU

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 13 of 22


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) segment of an
operation of minimum size to ensure regularity.
™ Regular logical structure allows regular physical
structure.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 14 of 22


Abutting and pitch-matching
™ Cells in bit-slice may be abutted together
¾ requires matching positions on terminals.
™ Pitch-matching is designing cells to ensure that
pins are at proper positions for abutting.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 15 of 22


Wiring plans
™ A wiring plan shows layer assignments and
directions for major signals.
™ Put most important signals on lowest-impedance
accessible layers.

VDD

VSS
cell1 cell2 cell3

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 16 of 22


Bus circuits
™ Cannot support full connectivity between all data
path elements
¾ must choose number of transfers per cycle allowed.
™ A bus circuit is a specialized multiplexer circuit.
™ Two major choices:
¾ pseudo-nMOS,
¾ precharged.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 17 of 22


Pseudo-nMOS bus circuit

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 18 of 22


Precharged bus circuit

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 19 of 22


Programmable logic array (PLA)
™ Used to implement specialized logic functions.
™ A PLA decodes only some addresses (input
values); a ROM decodes all addresses.
™ PLA not as common in CMOS as in NMOS, but
is used for some logic functions.

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 20 of 22


PLA organization and structure
™ AND plane, OR plane, inverters together form
complete two-level logic functions.
™ Both AND and OR planes p1
are implemented as NOR p2
circuits. AND plane p3 OR plane
™ Pulldown transistors form p4
programming (personality)
of PLA. Transistors may
i0 i0’ i1 i1’ f0 f1
be referred to as
programming tabs. product term

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 21 of 22


PLA AND/OR cell

input 1 input 2
programming
output 1 tab

output 2
no tab

VSS

Sharif University of Technology Modern VLSI Design 3e: Chapter 6 Page 22 of 22

Вам также может понравиться