Lecture 4 - Memory Flashcards

1
Q

What is the general understanding of Read Only Memory (ROM)?

A
  • Will keep its contents when power is off
  • Contents cannot be changed
  • Used for system boot
  • Types: ROM, PROM, EPROM, EEPROM/Flash
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is ROM?

A
  • ROM - Read Only Memory
  • Mask (data) supplied by customer
  • Mass production
  • Can never be changed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is PROM?

A
  • PROM Programmable ROM
  • programmable ROM
  • comes “empty” (E.g. all bits are 1)
  • can be programmed (“burned”) by supplying certain voltages to a specific pin
  • “Burning” of fuses (wires) within chip, setting individual bits to 0
  • Once a bit is flipped, it can never be changed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is EPROM?

A
  • EPROM Erasable Programmable ROM
  • Original state can be restored, ~ 20mins UV exposure
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is EEPROM?

A
  • EEPROM (Flash) Electronically Erasable Programmable ROM
  • Can be electrically programmed/erased many times (~ 10,000)
  • “In circuit programming” (e.g. for system parameters in computer system)
  • Alternative solution: static RAM + battery backup → runs out after some time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is ROM implemented?

A

REFER TO SLIDES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Random Access Memory (RAM)?

A
  • Will lose its contents when power is off
  • Contents can be changed any time
  • Can store programs or data
  • Writing data to a location (“address”) overwrites old data contents
  • Types: Static, Dynamic
    Static RAM
    – Static RAM keeps data as long as power is on
    Dynamic RAM
    – Dynamic RAM “leaks” memory contents over short time period, needs periodic “refresh” → periodical read/write all cells
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How is RAM implemented - DRAM AND SRAM

A

REFER TO SLIDES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the memory for RAM?

A

Mem = 1 cell = 1 bit (=1 flip-flop)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does 1 Byte equate to?

A

8 bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does 8 data lines equate to?

A

1 Data Bus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What happens if there is 2 bytes?

A
  • 2 Outputs coming together on the same line!
  • Only one device is allowed to send data at a time
    ➢ Enable/disable mechanism via tri-state gates required

REFER TO SLIDES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How is memory controlled?

A

REEFER TO SLIDES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are some of the main memeory sizes?

A

kilobyte (KB = 2^10 Bytes = 1’024 Bytes),
megabyte (MB = 2^10 KB = 2^20 Bytes),
gigabyte (GB = 2^10 MB = 2^30 Bytes)
terabyte (TB = 2^10 GB = 2^40 Bytes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How is memory size calculated?

A

size = number of cells * cell size

EX: A Memory module has 2M cells with 16bits per cell.
What is its size in MB? -> 2M * 2 Bytes = 4MB (as 16 bits is 2 bytes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is address space?

A
  • The number of cells in a memory module determines the number of address lines required.
  • Memory module sizes are always powers of 2
  • The number of bits in a memory cell determines the number of data lines required.
  • One data line is required per bit
  • Typical memory cell sizes are 4, 8, 16, 32, 64

EX:
* How many address lines has a 4M * 1Byte memory module?
4M = 2^2 *2^20 = 2^22 → 22
* How many data lines has this module?
1Byte = 8 bits