memory structure and addressing

Post on 20-Aug-2015

414 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

On Memory

A Different View

• Instead of RAMs and ROMs

• Writability and Data Permanence

Basic Form

ROM & Comb. Function

EPROM

(contrasted to OTP ROM)

EEPROM

• Erased using higher than normal voltage• Erased in seconds vis a vis minutes for

EPROMs• Can be erased by words and not in entirety• In circuit programmable e.g. in telephones

to store commonly dialed numbers• Read tens of nanosec – Write tens of

micosec.

Flash Memory

• Uses same floating gate principle

• Large blocks can be written/erased at a time

• Digital camera/Set top boxes/cell phones etc.

• Writing a single word is slower

•Search for optimized density, power, fast readability, nonvolatility

•Uses single transistor for a bit

–EEPROM employs two transistors

•Electrical erasability and writability

•A flash memory cell is 30% smaller than a DRAM cell however write time is significantly higher compared to DRAM

•Tunnel Oxide technology Intel ETOX

Flash (contd.)

RAM Internals

SRAM and DRAM

Modern RAMs

• PSRAM (Pseudo Static RAM)– DRAM with refreshing circuit built in

– A bit slow compared to SRAM but a good optimization

• NVRAM– Battery backed SRAM (10 yrs)

– Writes done in nanosec.

– More susceptible to bit changes due to noise

– Another form uses Flash/EEPROM to store the contents of SRAM

Composing Memory

Effect of Cache on System Performance

Let us assume that we are designing a small 2 Kbyte cache for our processor. With this cache, we have measured the miss rate to be 15%, meaning 15 out of every 100 accesses to the cache result in a miss on the average. The cost of going to main memory (i.e., the cost of memory access when there is a miss) is 20 cycles. Doubling the cache size improves the hit ratio to 93.5% and additional cycle to access the cache.Doubling further results in 94.4% hit rate.

Effect??

Basic DRAM Architecture

Fast Page Mode DRAM (FP DRAM)

A row is selected and the col. addresses are sequenced. A row is considered a page, consisting of multiple words.

Each word has a sep. col. address.

The sense amplifier buffers a page.

EDO DRAM (Extended Data Out DRAM)

-- Extra output latch between the sense ampl. and output buffer

-- allows overlap bet. Col. Select and previous data out

-- saves one cycle over FP DRAM

•FPM and EDO RAM controlled asynchronously by the processor or the memory controller.

•A synchronous DRAM interface will eliminate a small amount of time (thus latency) that is needed by the DRAM to detect the ras/cas and rd/wr signals. DRAM latches information to and from the controller on the active edge of the clock signal

•In addition to a lower latency I/O, after a proper page and column setup, an SDRAM may store the starting address internally and output new data on each active edge of the clock signal, as long as the requested data are consecutive memory locations. This is accomplished by adding a column address counter to the base DRAM architecture. This counter is seeded with a starting column address strobed in by the processor (or memory controller) and is thereafter incremented internally by the DRAM on each clock cycle.

SDRAM

SDRAM Timing

top related