1.1.1 Structure and function of the processor

24 Karteikartenvon Sabs2023E → E
Diese Karteikarten lernenKostenlos · Spaced Repetition · iPhone, Android, Mac & Web

Alle Karten

1
Three main things which affect a CPU's SPEED:
- Cache size
- Clock speed
- Number of cores
2
Control Unit?
Coordinates all actions in the CPU and directs the flow of data by sending control signals and decodes instructions.
3
Program Counter (PC)?
Holds address of next instruction to be executed.
4
Memory address register (MAR)?
-Holds address of the memory location from which data/instructions are to be fetched from
-Copies address from PC
5
Memory data register (MDR)?
-Temporarily stores data from memory.
-All data from and to memory must go through this.
6
Current instruction register
Holds current instruction being executed which is split into opcode + operand
7
Arithmetic logic unit (ALU)
Performs arithmetic and logic operations on data
8
Accumulator?
Holds calculation results from ALU
9
What is a bus?
Wires that transport data between components
10
Three buses we need to know?
- Address bus
- Data bus
- Control bus
11
Address bus?
-Transports memory address that identifies where data needs to be read from or written to
-Unidirection from processor to memory
12
Data bus?
- Transports instructions/data between components
- Bidirection
13
Control bus
-Carries control signals between internal and external components
-Bidirection
14
Fetch steps?
1) PC is checked as it holds address of next instruction to be executed.
2) MAR copies address in PC
3) Address is sent through address bus to main memory and waits for signal from control bus
4) CU sends read signal through control bus to main memory
5) Data from memory is sent through data bus to MDR
6) Data is copied to CIR (as we are currently fetching an instruction)
7) PC is incremented (we have now fetched instruction)
15
Decode steps?
CU decodes instruction (lets say opcode says to LDA memory location 0101 into accumulator.)
16
Execute steps?
1) Send memory address (0101) to MAR
2) Address is sent through address bus to main memory
3) CU sends a read signal through control bus to main memory
4) Contents stored in memory address 0101 is sent through data bus to MDR
5) Contents in MDR is copied to accumulator
17
Whats pipelining?
The process of doing the Fetch,Decode,Execute cycles of 3 instructions simultaneously, preventing registers being idle.
18
Types of pipelining?
-Instruction
-Arithmetic
19
Instruction pipelining?
separating out the instruction into fetching, decoding, and executing.
20
Arithmetic pipelining?
Breaking down arithmetic operations and overlapping them as they are performed
21
What is flushing in pipelining?
Whenever instructions are being FDE but due to a branch they aren't needed and so are removed. Can slow down processor.
22
Von neumann architecture?
- Memory space is shared between instructions and data
- Instructions/data stored in same format(RW etc)
- Single CU follows linear FDE cycle
- One system bus
23
Harvard architecture?
- Instructions and data are stored in two different memory spaces
- Instructions and data can be in different formats
- Reading/writing data can be done at same time as fetching instructions(parallel processing)
- Two system buses
24
Contemporary processing?
Modern processing combining both harvard and von neumann processing
Alle 24 Karten kostenlos lernen

Mehr Karteikarten: Informatik

A+ Core 1 Domain 2 Acronyms68 KartenInformatik · EnglischatalnagiCNIT242 Exam 357 KartenInformatik · EnglischAydenSection 3.1: Cables and Adapters46 KartenInformatik · EnglischpzxliCS 159 Lab 440 KartenInformatik · EnglischRustycomputer science 34 KartenInformatik · EnglischKayinLesson 3.3 Geoprocessing Tools29 KartenInformatik · EnglischDekano1.2.2 application generation22 KartenInformatik · EnglischSabs2023c programming18 KartenInformatik · EnglischHaseeb1968computer shahaan13 KartenInformatik · EnglischIsmatDirectory Services and Attributes177 KartenInformatik · EnglischAydenIntro to IT - WGU129 KartenInformatik · EnglischSamSection 2: Networking93 KartenInformatik · Englischpzxli

Alle Decks: Informatik

Lerne diese Decks in der App

Kostenlos auf iPhone, Android, Mac und im Web. Füge jedes Deck mit einem Tipp zu deinem Konto hinzu.

Laden im App StoreJetzt bei Google Play
Alle 24 Karten kostenlos lernen