3. WHAT WE WILL LEARN IN THIS LECTURE
Memory technologies
Hierarchal organization
Principle of locality
Analysis of hierarchy
Simple case organizations
7. Read Only Memory (ROM)
• Permanent storage
• Nonvolatile
• Microprogramming (see later)
• Library subroutines
• Systems programs (BIOS)
• Function tables
8. Types of ROM
• Written during manufacture
• Very expensive for small runs
• Programmable (once)
• PROM
• Needs special equipment to program
• Read “mostly”
• Erasable Programmable (EPROM)
• Erased by UV
• Electrically Erasable (EEPROM)
• Takes much longer to write than read
• Flash memory
• Erase whole memory electrically, no byte-level erase
• But much faster write
9. Memory Organization Designs
• Physical arrangement is same as logical
• A 16Mbit chip is organized as 1M of 16 bit words
• One bit per chip system
• 16 instances of 1Mbit chips, with bit 1 of each word in chip 1 and so on
• A 16Mbit chip can be organised as a 2048 x 2048 x 4bit
array
• 16M = 224 = 211 * 211 * 4
• Reduces number of address pins
• Multiplex row address and column address
• 11 pins to address (211=2048)
• Adding one more pin doubles range of values so x4 capacity (because
each dimension of the square array is doubled)
15. PRINCIPLE OF LOCALITY
Temporal locality
References repeated in time
The concept that a resource that is referenced at one point in time will be referenced again sometime in
the near future.
Spatial locality
Reference repeated in space
Special case: sequential locality
The concept that likelihood of referencing a resource is higher if a resource near it was just referenced.