Architecture & Components Flashcards

Week 1, 5-10 (33 cards)

1
Q

define architecture

A

attributes of a system, direct impact on logical execution

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

define organisation

A

how the architecture is implemented

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

define structural

A

the way the components relate to each other - hierachical

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

define function

A

operation of individual components

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

name the main 5 components of a computer

A
  1. CPU
  2. main memory
  3. I/O
  4. system bus
  5. co-processors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

name the 4 main components of the CPU

A
  1. control unit
  2. ALU
  3. registers
  4. interconnection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what does the CPU do

A

controls operation, FDE cycle

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

what does the control unit do

A

controls operation of CPU

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

what does main memory do

A

stores data and program instructions

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

what does I/O allow

A

allows machines to gain information and interact with the users and other devices

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

what is the cache

A

smaller, faster, located closer to the CPU, stores frequently used instructions & data

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

3 components of a multicore

A
  1. CPU
  2. Core - individual processing unit
  3. processor - contains one or more cores
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what are switches & how are they used in computers

A
  • two states, easy to map logical states
  • allows for boolean logic to be performed
  • binary arithmetic
  • storage of data in binary form
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what is von nuemann architecture

A
  • data & instructions stored in same single read-memory
  • content of this memory are addressable by location
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

name the 7 main registers

A
  1. MAR
  2. MDR
  3. CIR/IR
  4. PC
  5. MBR
  6. AC & MQ (Multiplier Quotient)
  7. IBR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what does the MBR do

A

contains a word to be stored in memory or sent to the I/O unit OR is used to receive a word from memory or form I/O unit

17
Q

what does the IBR do

A

temporarily hold the right hand instruction from a word memory

18
Q

what is the opcode

A

code for instruction to perform

19
Q

what is the operand

A

data to perform instruction or address to use

20
Q

3 instruction types

A
  1. data handling
  2. arithmetic & logic
  3. control flow
21
Q

describe the FDE cycle

A
  1. Fetch
    - opcode of the next instruction is loaded in to IR
    - address portion is loaded into the MAR
    - data portion is loaded into the MDR
  2. Decode
    - decodes instruction
  3. Execute
    - interprets opcode as control signals
    - sends out control signals to cause data to be moved or an operation to be performed by ALU
22
Q

describe the von neumann bottleneck

A
  • shares memory bus for data and program instructions
  • single bus limits throughput between CPU and memory
  • CPU must wait for data to be moved to or from memory
23
Q

mitigations for the von neumann bottleneck

A
  • cache between CPU & main memory
  • seperate caches or seperate access paths for data & instructions
  • on-chip scratchpad memory to reduce memory access
  • implementing the CPU & memory hierarchy as a system on chip - greater locality of reference = v latency
24
Q

define harvard architecture

A
  • difference = 2 buses = memory & data
  • ADV: CPU recieves instruction & data concurrently
  • DIS: programs cannot be stored in same memory as data
  • uses: microcontrollers, digital signal process
25
name the 2 computer building blocks
1. logic gates - implements a single boolean or logical function 2. memory cell - store one bit of data, can be in one of two states at any time
26
define transistors
- fundmanental building blocks of gates & memory cells - semiconductor - conductive or nonconductive - discrete component = self-contained
27
define integrated circuits
- each chip consists of many gates and/or memory cells plus I/O attachment points - used to contain thousands of transistors
28
define moore's law
every 18 months, the amount of transistors on an IC doubles
29
consequences of moore's law
- v cost of computer logic & memory circuitry - ^ operation speed as v eletrical path length - v computer size - v power & cooling requirement
30
what are general purpose registers used for
data & addressing
31
what is a program status word register
stores a set of bits, typically including condition codes like - zero flag - carry - overflow - interrupt enable/disable - interrupt flags
32
what are the HACK computer registers
1. Address (A) - specifies the address in memory of the word to be written from or read two OR can be used as a data register 2. Data (D) - contains a word to be stored in memory or sent to the ALU 3. Program counter - contains the address of the next instruction pair to be fetched from memory
33
FDE cycle in the HACK computer
1. Instruction decoding - determines if the instruction is an A-instruction or C-instruction 2. Instruction execution - instruction fields are routed to various parts of the architercture 3. Fetch Next Instruction - as a result of the previous instruction the CPU outputs the address of the next instruction to execute using the program counter