1.1 Systems Architecture Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a Computer?
What are two critical components that you can see when you lift the lid of a computer?

A

Computer - An electronic device which takes input, processes data, and delivers output. To process data a computer follows a set of instructions called a computer program.

  • If we take the lid off a computer we can identify two critical components:
  • Memory e.g. RAM
  • CPU - Central Processing Unit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does a computer carry out an instruction?

A

The computer carries out it’s instruction by fetching, decoding and executing them.

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

What happens during Fetch stage?

A

Fetch:

  • Fetching the next instruction from the main memory (RAM)
  • Brings the instruction back into the CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What happens during the Decode stage?

A

Inspects the instruction and works out what needs to be done.

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

What happens during Execute stage?

A

Carries out the instruction

This could be things such as:

  • Going back to main memory and grabbing some data
  • Performing a calculation
  • Storing back into main memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the four parts the CPU is made of and what do they do?

A

ACRC

  • *Control Unit**
  • Sends Signal to control how data moves around the CPU and co-ordinates the CPU’s operations.
  • *Arithmetic Logic Unit**
  • Carries out Arithmetic calculations
  • Makes logical decision
  • *Cache**
  • Provides fast access to frequently used instruction and data. It is very fast.
  • *Registers**
  • These are super fast pieces of onboard memory inside the CPU. Each has a specific purpose:
  • Accumulator
  • Memory Address Register(MAR)
  • Program Counter(PC)
  • Memory Data Register(MDR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a Fixed Program Computer?
What is a Stored Program Computer?

A

Fixed program computers had fixed programs. e.g. Calculator

Stored programs computers is one that has changeable programs

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

What are the key characteristics of Von Neumann Architecture?

What does the internal clock do?

A
  • Central Processing Unit(CPU)
  • Single Control Unit(CU)
  • Arithmetic Log Unit(ALU)
  • Onboard cache - Small amounts of highspeed memory that helps the control of instructions.
  • Internal Clock - Which provides a pulse at a constant rate to synchronise components.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the purpose of the Program Counter(PC)?

A

Holds the address of the next instruction to be executed in memory

Whilst we fetch this address. We increment its contents by 1 so it points to the next instruction.v

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

What is the purpose of the Memory Address Register(MAR)?

A

MAR Holds the address of where data is to be fetched or stored.

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

What is the purpose of the Purpose of the Memory Data
Register?

A

MDR Holds the data fetched from, or to be written to memory.

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

What is the purpose of the Accumulator?

A

Holds the results of calculations in ALU

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

Show me what a typical Fetch/Execute cycle looks like?

A
  1. The program counter is checked as it holds the address of the next instruction to be executed.
  2. This address is used by the MAR in order to fetch the instruction needed from Main Memory (RAM) and bring it into Memory Data Register (MDR).
  3. The address in PC is then incremented to point to the next instruction.
  4. Now the instruction is in the CPU the CU decodes the instruction to see what has to be done.
  5. Now we know what to do we can execute the instruction.

What we actually do depends on the instruction is e.g.

  • We could be asked to head back to Main Memory(RAM) and fetch some data and add it to the accumulator.
  • We could be asked to jump to another instruction
  • We could be asked to writer data held in the accumulator back into Main Memory(RAM)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the factors that affect the Speed of the CPU?

What might be problems of having multiple cores?

A
  • Clock Speed
  • Measured in Hertz(Hz)
  • Number of cycles per second
  • Modern Processors operate at billions of Cycles per second,(GHz)
  • 3.2 GHz = 3.2 Billion instructions Fetched per second.
  • Cache Size
  • Temporary Storage of Data and instructions being read to and written from
  • Located on the board or very near CPU
  • Stores copies of recent data and instructions
  • Much quicker getting items from the cache than from main memory(RAM)
  • Trying to avoid going and getting instructions and data from memory if we don’t need to as it costs time.
  • Number of Cores:
  • A core is a complete copy of a CPU
  • So a quad-core processor would have 4 separate processing units, each with its own:
    Registers
    ALU
    Accumulator
    CU
  • Doubling the number of cores doesn’t simply double the overall speed
  • CPU Cores have to communicate with each other and this takes time.
  • Many programs are not designed to make use of multiple cores.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an embedded system?

A

An embedded system is a computer with a dedicated function within a larger mechanical system.

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

What are the typical properties of an embedded system?

A

Typical Properties of an embedded system Include:

  • Low Power Consumption
  • Small Size
  • Low cost per unit
17
Q

Give Examples of an Embedded system?

A

Examples include:

  • Traffic Lights
  • Domestic Appliances
  • Factory equipment
  • Engine Management Systems
  • Hospital Equipment
18
Q

What is the GPUs?

Why will to little RAM slow down the PC?

A

GPUs are specialised circuits for handling graphics and image processing. They relieve the processing load on the CPU, freeing it to do other things.
They improve graphic performance e.g. 2080 ti

Too little RAM will slow down the PC because it lead to the use of virtual memory which is slow.

19
Q

What is a computer?
Why are embedded systems easier to design?

A

A computer system consists of hardware and software.

Embedded Systems are easier to design and manufacture as they are dedicated.

20
Q

What are the three types of buses in a CPU?

A

Buses
A bus is a high-speed internal connection. Buses are used to send control signals and data between the processor and other components.

Three types of bus are used:

  • Address bus - carries memory addresses from the processor to other components such as primary memory and input/output devices.
  • Data bus - carries the actual data between the processor and other components.
  • Control bus - carries control signals from the processor to other components. The control bus also carries the clock’s pulses.
21
Q

What are the features of an embedded system?

A
  • Embedded devices are not usually programmable by a user – the programming is usually done beforehand by the manufacturer. However, it is often possible to upgrade the software on an embedded device.
  • Their limited number of functions means they are cheaper to design and build.
  • They do not need much processing power. They can be built using cheaper, less powerful processors.

Examples of embedded systems include:

  • central heating systems
  • engine management systems in vehicles
  • domestic appliances, such as dishwashers, TVs and digital phones
  • digital watches
  • electronic calculators
  • GPS systems
  • fitness trackers