Académique Documents
Professionnel Documents
Culture Documents
1
Basic Memory Operations Basic Memory Operations…Contd
Memory operations require the following: Read Memory --This operations are used to read a
Data ─ data written to, or read from, memory as required by data value stored in memory
the operation.
This action does not change the current value of memory
Address ─ used to specify a range of indices the memory is
to operate on. The address lines carry this information to Write Memory -- This operations are used to write a
the memory. Typically: N bits specify locations of 2N words. data value to memory:
An operation ─ Information sent to the memory and This action replaces current value of memory with the value
interpreted as control information which specifies the type of on input lines
operation to be performed. Typical operations are READ
DATA, and WRITE DATA. Others are READ followed by Sometimes the read or write enable line is defined as
WRITE and a variety of new operations associated with a clock with precise timing information (e.g. Read
delivering block of data.
Clock, Write Strobe)
2
Types of Memory Static RAM (SRAM) features
Types of memory SRAM consist of latches to store information
SRAM (Static Random Access Memory)
Consists of latches to store information
SRAM holds data without external refresh
DRAM (Dynamic Random Access Memory) It contrasts with DRAM which requires refresh to
Consists of a transistor and capacitor retain data
FRAM (Fast Random Access Memory) SRAMs are implemented with latches and
Same as SRAM but more compact and fast
MRAM (Magneto resistive Random Access Memory)
hence are faster than DRAMs
Advanced RAMs of the future. Use magnetic films to store SRAMs require large amount of logic for
data
implementation and hence are costly
RAM integrated circuits are built using arrays of 1-bit
RAM cells
3
Comparison between SRAM and DRAM RAM Integrated Circuits
SRAM DRAM RAM IC’s are specified by
Implemented with latches (6- Capacitor based storage.
Transistor / 4-Transistor) number of words and
Require more area due to Requires very small area number of bits in each word
more logic
Example: A 1K x 16 RAM is a memory with a
Fast data access Slow data access than SRAM
Low power consumption Consume large amount of
capacity of 1K words of 16bits each
power due to periodic “refresh” Total memory size is 1K( = 210 bits) x 16(=24 bits)
Not widely used due to its Used widely due to its high = 214 bits.
bulky nature density and level of integration
What is the size of the memory expressed in KB
214/210 = 24 K bits = 2 K bytes (since 23 bits = 1 byte)
For more information on different memory types
refer to the eRAMs presentation on course
webpage
4
Cell Arrays and Coincident Selection RAM ICs with > 1 Bit/Word
Memory arrays can be very large Word length can be quite high.
Large decoders
To better balance the number of words and
Large fanouts for the bit lines
word length, use ICs with > 1 bit/word
The decoder size and fanouts can be reduced to
approximately n by using a coincident selection in a See Figure 6-11 for example
2-dimensional array 2 Data input bits
Uses two decoders, one for words and one for bits 2 Data output bits
Word select becomes Row select
Row select selects 4 rows
Bit select becomes Column select
Column select selects 2 pairs of columns
See Figure 6-10 for example
A3 and A2 used for Row select
A1 and A0 for Column select