Math Tricks
Math Tricks
Chapter 16
S. Dandamudi
Outline
• Introduction • Building larger memories
• A simple memory block • Mapping memory
∗ Memory design with D flip ∗ Full mapping
flops ∗ Partial mapping
∗ Problems with the design • Alignment of data
• Techniques to connect to a • Interleaved memories
bus ∗ Synchronized access
∗ Using multiplexers organization
∗ Using open collector ∗ Independent access
outputs organization
∗ Using tri-state buffers ∗ Number of banks
• Building a memory block
2003 S. Dandamudi Chapter 16: Page 2
To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer, 2003.
Introduction
• To store a single bit, we can use
∗ Flip flops or latches
• Larger memories can be built by
∗ Using a 2D array of these 1-bit devices
» “Horizontal” expansion to increase word size
» “Vertical” expansion to increase number of words
• Dynamic RAMs use a tiny capacitor to store a bit
• Design concepts are mostly independent of the
actual technique used to store a bit of data
A 4 X 3 memory design
using D flip-flops
• Issues involved
∗ Selection of a memory chip
» Example: To design a 64M X 32 memory, we could use
– Eight 64M X 4 in 1 X 8 array (i.e., single row)
– Eight 32M X 8 in 2 X 4 array
– Eight 16M X 16 in 4 X 2 array
• Designing M X N memory with D X W chips
∗ Number of chips = M.N/D.W
∗ Number of rows = M/D
∗ Number of columns = N/W
Interleaved
memory allows
pipelined access
to memory