Docsity

Memory Performance Parameters - Computer Architecture - Lecture Slides, Slides of Computer Architecture and Organization

Partial preview of the text

Download Memory Performance Parameters - Computer Architecture - Lecture Slides and more Slides Computer Architecture and Organization in PDF only on Docsity!

CPU to memory interface

CPU

m

Main memory

Dat a bus Address bus

s Address 0 1 2 3

2 m^ – 1

A 0 – Am– 1 D 0 – Db– 1

R/W

REQUEST

COMPLETE

MDR

Regist er file

Control signals

m

w

w

MAR

b

Some memory properties

Symbol Definition Intel Intel PowerPC 8088 8086 601

w CPU word size 16 bits 16 bits 64 bits m Bits in a logical memory address 20 bits 20 bits 32 bits s Bits in smallest addressable unit 8 bits 8 bits 8 bits b Data bus size 8 bits 16 bits 64 bits 2 m^ Memory word capacity, s-sized wds 2 20 words 2 20 words 2 32 words 2 m^ xs Memory bit capacity 2 20 x 8 bits 2 20 x 8 bits 2 32 x 8 bits

Memory performance

parameters

Symbol Definition Units Meaning t (^) a Access time time Time to access a memory word t (^) c Cycle time time Time from start of access to start of next access k Block size words Number of words per block ω Bandwidth words/time Word transmission rate t (^) l Latency time Time to access first word of a sequence of words t (^) bl = Block time Time to access an entire block of words t (^) l + k/ ω access time

Select

DataIn DataOut

R/W

A typical memory cell

1x8 Memory Cell Array (1D)

Select DataIn DataOut R/W

d 0

Select

R/W

d 1 d 2 d 3 d 4 d 5 d 6 d 7

D

D D D D D D D D

4x8 Memory Cell Array (2D)

2-bit address

d 0

R/W

d 1 d 2 d 3 d 4 d 5 d 6 d 7

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

de^2 c–o^ d^4 er A 1 A 0

A 16 K x 4 SRAM Chip

64 eac h

4 64 –^1 muxes 4 1 – 64 demux es

4

Ro w a dd r e ss: A 0 – A 7 8 – r o^2 w^56 d ec oder

4 64 × 256

cell ar r ay s

Column addr ess: A 8 – A 13

R/W CS

  • This chip requires 24 pins

including power and ground.

  • It will require a 24-pin package.
  • Package size and pin count can

dominate chip cost.

d e c o d e r

3-to-8 line tree decoder constructed from 2-input gates. 4-to-16 line matrix decoder

 - m - m - m - m - m - m - m - m - x 2 x - m - m - m 1 - m 1 - m 1 - m 1 - m 1 - m 1 - x - x - 2 – 
  • x - m - m - m - m - m
    • x 2 x
      • m
        • m
        • m
  • x

A Typical SRAM cell

SRAM Write operation

Memory address

Read/write

CS

Data

tw

Dynamic RAM Cell Structure

Read

Address line selected

  • transistor turns on

Charge from capacitor fed via bit line to sense amplifier

  • Compares with reference value to determine 0 or 1

Capacitor charge must be restored

Dynamic RAM

Cell organization and operation

bi

R/W (^) R W

C soelluemctn (fro amdd croelsusmn decoder)

CS

S seennssee/ warnitde aammpplilfifyi edras (^) t—a on Read o, (^) nd rwivreit (^) ebi and bi

Additional cells

t c

C chaapragcei tfoorr sato 1 re,s n ao 0 charge for

Word line wj

di

S awcitccehs tso t coo cnetrllol Single bit line