Memory Flashcards

1
Q

Name the three Embedded system’s functionality aspects.

A

P rocessing
• processors
• transformation of data

Storage
• memory
• retention of data

Communication
• buses
• transfer of data

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

In memory what dose m x n refer to?

A

m x n: m words of n bits each
• word: group of bits handled as a unit by processor
• k = log2(m) address input signals (m = 2^k words)

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

What should an ideal Memory have as characteristics?

A

Ideal Menory should be written from inside the system, FAST, have a unlimited rewritability and store words for ever.

Write ability: Manner and speed a memory can
be written
Storage permanence: ability of memory to hold
stored bits after they are written

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

What is ROM and what are the characteristics?

A

“Read-Only” Memory
• Nonvolatile memory
• Can be read from but not always written to,
by a processor in embedded system
• Traditionally written to (programmed) before
inserting to embedded system
• Access times are often slower than RAM:
roughly 1.5 times that of DRAM

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

What dose a Decoder do?

A

Converts its binary input into a one-hot output
• One-hot output: Exactly one of output lines is given a 1 at a time
▪ Decoder with n outputs and log2 n inputs is called a
log2 n x n decoder

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

What is Mask-programmed ROM? What are advantges/disadvantege? what are they used for?

A

Connections “programmed” at fabrication
• set of masks

Lowest write ability, only once

Highest storage permanence, bits never change unless damaged

Typically used for final design of high-volume systems
• spread out NRE cost for a low unit cost

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

What is OTP ROM? What are advantges and what are they used for?

A

One-time programmable ROM

Connections “programmed” after manufacture by user with special device, ROM programmer blows fuses where connections should not exist

Very low write ability, written only once and requires ROM programmer device

Very high storage permanence, bits don’t change unless reconnected to programmer and more fuses blown

Commonly used in final products
• cheaper, harder to inadvertently modify

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

What is EPROM? What are advantges and what are they used for?

A

Erasable programmable ROM
• Transistor has “floating” gate surrounded by an insulator
• Programmed using higher voltage
• EPROM is erased in their entirety
• Ultraviolet light (UV) is used for erasing (takes 5 to 30 minutes)

Better write ability
• can be erased and reprogrammed thousands of times
▪ Reading is much faster than writing
▪ Reduced storage permanence
• Data lasts about 10 years but is susceptible
to radiation and electric noise

Typically used during development,
limited usage in productions parts
(window covered)

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

What is EEPROM? What are advantges and what are they used for?

A

Electrically EPROM, Electrically erasable programmable ROM

can program and erase individual words

▪ Better write ability
• in-system programmable with built-in memory controller
• writes very slow due to erasing and programming

Similar storage permanence to EP ROM (≈ 10 years)
• Far more convenient than EP ROMs, but more expensive

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

What is Flash Memory? What are advantges and what are they used for?

A

Extension of EEPROM

Same floating gate principle
• Same write ability and storage permanence
• Block operation only, typically several kilo bytes

Fast erase
Writes to single words may be slower than EEP ROM

Most microcontrollers use Flash as program memory
▪ Embedded systems: Storage for large data items in nonvolatile memory

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

What is SRAM? What are advantges?

A

Static Random-access”/read-write memory

Memory cell uses flip-flop to store bit

Holds data as long as power supplied, no refresh required

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

What is DRAM? What are advantges?

A

Dynamic Random-access”/read-write memory

Memory cell uses MOS transistor and capacitor to store bit
• “Refresh” required due to capacitor leak
• typical refresh rate 15.625 µs
• Slower to access than SRAM, but cheaper than SRAM

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

What is NVRAM? What are advantges?

A

Nonvolatile “Random-access”/read-write memory

Holds data after external power removed

Battery-backed RAM
• SRAM with own permanently connected battery
• Write cycles as fast as read cycles (nanoseconds)
• No limit on number of writes unlike nonvolatile ROM-based memory

SRAM with EEP ROM or flash of same size
• Stores complete RAM contents on EEPROM or flash before power turned off

fast but Expensive
unlimited erase cycles

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

What types of Composing memory exist and what is the use?

A
  1. Connect side-by-side to increase width of words
  2. Connect top to bottom to increase number of words
  3. Combine techniques to increase number and width of words
How well did you know this?
1
Not at all
2
3
4
5
Perfectly