Computer Memory (Internal)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/70

flashcard set

Earn XP

Description and Tags

Computer Organization and Architecture

Last updated 1:21 PM on 5/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

71 Terms

1
New cards

Key Characteristics of Computer Memory Systems

L - internal & external

C - # of words and bytes

UoT - word or block

AM - sequential, direct, random, associative

P - access time, cycle time, transfer rate

PT - semiconductor, magnetic, optical, magneto-optical

PC - volatile/nonvolatile, erasable/nonerasable

O - memory modules

Location

Capacity

Unit of Transfer

Access Method

Performance

Physical Type

Physical Characteristics

Organization

2
New cards

Relationship between the length in bits A of an address and the number N of addressable units is

2A = N

3
New cards

Information decays naturally or is lost when electrical power is switched off

Volatile Memory

4
New cards

No electrical power is needed to retain information

Nonvolatile Memory

5
New cards

Cache is another form of

Internal memory

6
New cards

the natural unit of memory organization

Word Size

7
New cards

is usually governed by data bus width: 8 bits, 64 bits, 128 bits, 256 bits, etc.

Unit of Transfer

8
New cards

Memory is organized into units of data called records

Sequential access

9
New cards

Involves a shared read-write mechanism

Direct access

10
New cards

Each addressable location in memory has a unique, physically wired-in addressing mechanism

Random access

11
New cards

A word is retrieved based on a portion of its contents rather than its address

Associative

12
New cards

What are the three performance parameters used?

Access Time, Memory Cycle Time, Transfer Rate

13
New cards

refers to electronic data storage devices that use semiconductor technology to store digital data (RAM)

Semiconductor memory

14
New cards

magnetized media

Magnetic-surface memory

15
New cards

class of data storage systems that use light to read or write data to an underlying optical media

Optical memory

16
New cards

This memory cannot be altered, except by destroying the storage unit

Nonerasable memory

17
New cards

physical arrangement of bits to form words

Organization

18
New cards

faster access time

greater cost per bit

19
New cards

greater capacity

smaller cost per bit & slower access time

20
New cards

tendency of a processor to access the same set of memory locations repetitively over a short period of time

Locality of Reference (Principle of Locality)

21
New cards

the reuse of specific data and/or resources within a relatively small time duration

temporal locality

22
New cards

the use of data elements within relatively close storage locations

spatial locality

23
New cards

occurs when data elements are arranged and accessed linearly, such as traversing the elemtns in a one-dimensional array

sequential locality

24
New cards

also referred to as secondary memory or auxiliary memory

External, nonvolatile memory

25
New cards

a portion of main memory can be used as a buffer to hold data temporarily that is to be read out to disk

Disk cache

26
New cards

Draw an illustration of a Memory Cell Operation

Write: ← Data in

Read: → Sense

<p>Write: ← Data in</p><p>Read: → Sense</p>
27
New cards

RAM

Random-Access Memory

28
New cards

ROM

Read-Only Memory

29
New cards

PROM

Programmable Read-Only Memory

30
New cards

EPROM

Erasable Programmable Read-Only Memory

31
New cards

EEPROM

Electrically Erasable Programmable Read-Only Memory

32
New cards

SRAM

Static Random-Access Memory

33
New cards

DRAM

Dynamic Random-Access Memory

34
New cards

made with cells that store data as charge on capacitors

DRAM

35
New cards

it is activated when the bit value from this cell is to be read or written

Address line

36
New cards

when does the transistor turns on and the charge stored on the capacitor is fed out onto a bit line and to a sense amplifier.

When the address line is selected

37
New cards

digital device that uses the same logic elements used in the processor

SRAM

38
New cards

Contains a permanent pattern of data that cannot be changed or added to

Read-Only Memory (ROM)

39
New cards

Intermediate between EPROM and EEPROM in both cost and functionality

Flash Memory

40
New cards

Composed of a collection of DRAM chips

Interleaved memory

41
New cards

Simplest of the error-correcting codes.
devised by Richard Hamming at Bell Laboratories

Hamming Code

42
New cards

Used both for internal memory and external memory applications

Flash memory

43
New cards

A very high-speed semiconductor memory which can speed up CPU

Cache Memory

44
New cards

Draw an illustration of a single cache

CPU, Cache, Main Memory

<p>CPU, Cache, Main Memory</p>
45
New cards

Draw an illustration of a three-level cache organization

CPU, L1 cache, L2 cache, L3 cache, Main memory

<p>CPU, L1 cache, L2 cache, L3 cache, Main memory</p>
46
New cards

if the request corresponds to an element that is currently residing in the cache, it is called?

a cache hit

47
New cards

if the request corresponds to an element that is not currently in the cache, it is called?

cache miss

48
New cards

Flowchart of a Cache Read Operation

knowt flashcard image
49
New cards

Typical Cache Organization

knowt flashcard image
50
New cards

Elements of Cache Design:

CA - logical, physical

CS -

MF - direct, associative, set associative

RA - LRU, FIFO, LFU, Random

WP - write through, write back

LS -

NoC - single or two level, unified or split

Cache Address

Cache Size

Mapping Function

Replacement Algorithm

Write Policy

Line Size

Number of Caches

51
New cards

also known as virtual cache, stores data using virtual addresses

logical cache

52
New cards

stores data using main memory physical addresses

physical cache

53
New cards

One of the three techniques in mapping function.
The simplest technique, maps each block of main memory into only one possible cache line

Direct

54
New cards

One of the three techniques in mapping function.

Permits each main memory block to be loaded into any line of the cache

Associative

55
New cards

One of the three techniques in mapping function.

A compromise that exhibits the strengths of both the direct and associative approaches while reducing their disadvantages.

Set Associative

56
New cards

originally proposed as an approach to reduce the conflict misses of direct mapped caches without affecting its fast access time

Victim cache

57
New cards

It is where a main memory block can be placed in any available line of cache or cache block

Associative Mapping

58
New cards

uniquely identifies the block of memory while residing in the cache

tag field

59
New cards

identifies the element within the block that is requested by the processor

word field

60
New cards

interprets the address issued by the processor by dividing it into two fields

MMU

61
New cards

Replacement algorithm where it replaces that block in the set that has been in the cache longest with no reference to it

Least Recently Used (LRU)

62
New cards

Replacement algorithm where it replaces that block in the set that has been in the cache longest

First-In-First-Out(FIFO)

63
New cards

Replacement algorithm where it replaces that block in the set that has experience the fewest references

Least Frequently Used (LFU)

64
New cards

Replacement algorithm where it picks a line at random from among the candidate lines

Random

65
New cards

the main disadvantage of this technique is that it generates substantial memory traffic and may create a bottleneck

Write through

66
New cards

Portions of main memory are invalid and hence accesses by I/O modules can be allowed only through the cache

Write back

67
New cards

designated as level 1 cache

Internal cache

68
New cards

designated as level 2 cache

External cache

69
New cards

complicates all of the design issues related to caches, including size, replacement algorithm, and write policy

use of multilevel caches

70
New cards
  • advantages of what type of cache?

    Higher hit rate

  • Balances load of instruction and data fetches automatically

  • Only one cache needs to be designed and implemented

unified cache

71
New cards

advantages of what type of cache?

  • Eliminates cache contention between instruction fetch/decode unit and execution unit

  • important in pipelining

split cache