Computer and Memory Organization Flashcards

1
Q

What are the 3 main components of a computer system?

A
  • CPU (central processing unit)
  • Main memory
  • I/O Devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is included in the system bus?

A
  • Address bus
  • Data bus
  • Control bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the size of the address bus determine determine?

A
  • The width of the address bus determines how many bytes the processor can access
  • Arm has 32-bit address bus
  • The amount of physical memory that the processor can addresss is 232 bytes (4GB)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the width of the data bus determine?

A

The width determines the size of data transferried between process / memory

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

What is the control bus and what does it do?

A
  • the control bus consists of a set of control signals
  • These signals indicate what type of action is taking place on the system bus
    • read/ write
    • interrupt request
    • interrupt acklnowledge
    • bus request
    • bus grant
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is bus congestion?

A
  • If the processor and I/O wants to access the memroy at the same time
  • only one device can access the memory and the other access request must be suspended until the cycle is completed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the program counter?

A

A special register which saves the address of the first instruction

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

What are the different levels of memory organization and which is the fastest?

A
  1. CPPU regusters
  2. Cache memory
  3. Main memory
  4. Secondary storage

1 ->4 most expensive to least expensive

1-> 4 fastest processing to slowest processing

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

What is byte addressable memory?

A

Each byte can be identified by its sequene number starting with zero

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

How many bits do the ARM Addresses require?

A

32 addresses x 8 bits = 256bits required for the addresses.

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

Hows does the number of address lines impact the size of memory?

A

Each word in the memory is assigned an identification number, the selection of a specific word inside memory is done by applying the k-bit address to the address lines.

1024 (210 or 1K) words requires 10 address bits

4G (232) words requires 32 address bits

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

What operations does the memory unit support?

A

Read and write, bitch!

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

What two metrics are used to categorize memory?

A
  1. Access time: the amount of time required to retreive the addressed location
  2. Memory cycle time: the minimum time between succesive memory operations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the 5 steps of a read cycle?

A
  1. Place the address of the location to be written on the address bus
  2. Place the data to be written on the data bus
  3. Activate the memory write control signal on the control bus
  4. Wait for the memory to store the data
  5. Stop the memory write control signal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the 5 steps of the write cycle?

A
  1. Place the address to be written to on the address bus
  2. Place the data to be written on the data bus
  3. Activate the memory write control signal on the control bus
  4. Wait for the memory to store the data at the addressed llocation
  5. Stop the memory write signal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is SRAM

A

Static RAM

Holds data as long as the source of power is applied

17
Q

What is DRAM?

A

Dynamic RAM

Complex memory device that uses a capacitor to store a bit. Leaks, so it must be refreshed periodically to charge.

Reading DRAM derstroys the charges on the cells, which makes it a destructive read memory

18
Q

What is little endian

A

The LSB corresponds to the lowest address number (will be used for this course)

19
Q

What is big endian

A

The MSB is stored with the lowest address number

20
Q

What are process registers?

A
  • Small memories within the CPU
  • The fastest memory type
  • The registers are referenced directly by specific instructions or by encoding a register number within a computer instruction
21
Q

What types of process registers are there?

A
  • General Purpose
  • Special purpose
    • Reserved For System
    • Accessible to user programs
      *
22
Q

What is the instruction execute cycle?

A
  • Fetch (read instruction from memory)
  • Decode
  • Execute
23
Q

What happens during the fetch cycle?

A
  • Program counter contents > adress bus
  • Activate memory read > control bus
  • Access time ( wait time during which the memory is read)
  • Instruction is placed > data bus
  • Processor reads the instruction when it is on the data bus
24
Q

What happens during decoding?

A
  • Segments of the instruction are identified and interpretted
  • After decoding the correct control signals are activated
    *
25
Q

What happens during the execute cycle?

A
  • The ALU performs the arithmetic or logical operations on the operands stored in the ALU registers
  • The results are then stored
  • Then the Fetch process begins again
26
Q
A