Systems architecture

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

1/37

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:11 AM on 4/1/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

38 Terms

1
New cards

What is the Accumulator (ACC) in Von Neumann Architecture?

stores results of any calculations that have taken place in the ALU

2
New cards

CPU (Central Processing Unit)

Processes data and information by constantly repeating the fetch-decode-execute cycle

3
New cards

CU(Control Unit)

Decodes instructions and sends signals to control how data moves around the CPU

Control signals and timing signals are sent to the ALU and other components such as RAM

4
New cards

ALU(Arithmetic Logic Unit)

performs mathematical calculations and logical operations

5
New cards

Register

extremely small, fast memory located in the CPU

Each register has its own specific purpose

6
New cards

What is the purpose of cache memory?

Stores frequently accessed instructions by the CPU

To provide quick access to frequently used instructions and data

7
New cards

How does cache size affect CPU performance?

  • faster to transfer to and from cache than transferring to and from RAM because cache is closer to CPU

  • The more cache there is, the more data can be stored, which speeds up CPU performance.

  • Data is transferred faster, CPU is more efficient

8
New cards

What does cache memory prevent the CPU from doing?

It prevents the CPU from having to repeatedly fetch frequently used instructions from RAM.

9
New cards

What is the Von Neumann Architecture?

A computer architecture that stores both program instructions and data in the same memory (RAM) and in the same format (binary).

The processor can access the instructions and data in the main memory as required to execute the program. It does this by using dedicated connections called buses:

  • an address bus is used to identify the addressed location

  • a data bus is used to transfer the contents to/from that location

This means that the same address and data buses are used in the process of transferring instructions and data between main memory and the processor. A third bus, the control bus, is used to synchronise and control operations.

10
New cards

What is Harvard Architecture?

A computer system that stores instructions and data in separate memories.

The processor accesses these memories using separate data and address buses; the processor is connected to the ‘instructions memory’ using a dedicated set of address and data buses, and is connected to the ‘data memory’ using a different set of address and data buses. The Harvard architecture is used extensively in embedded systems, for example in digital signal processing (DSP) systems.

Many microcontroller devices use a Harvard-like architecture. Some types of smartphones use a modified Harvard architecture — although distinctions between modern processors are difficult to categorise in relation to such 'pure' theoretical models.

<p>A computer system that stores instructions and data in separate memories. </p><p>The processor accesses these memories <strong>using separate data and address buses</strong>; the processor is connected to the ‘instructions memory’ using a dedicated set of address and data buses, and is connected to the ‘data memory’ using a <strong>different</strong> set of address and data buses. The Harvard architecture is used extensively in embedded systems, for example in digital signal processing (DSP) systems.</p><p>Many microcontroller devices use a Harvard-like architecture. Some types of smartphones use a modified Harvard architecture — although distinctions between modern processors are difficult to categorise in relation to such 'pure' theoretical models.</p><p></p>
11
New cards

What are the key CPU components in Von Neumann Architecture?

Control unit, ALU, registers, cache memory.

Also includes secondary storage for saving/backing up data

<p>Control unit, ALU, registers, cache memory.</p><p>Also includes secondary storage for saving/backing up data</p>
12
New cards

What is the Program Counter (PC) in Von Neumann Architecture?

  • Stores the address of the next instruction to be fetched from memory

  • Increments during each fetch-execute cycle

13
New cards

What is the Memory Access Register (MAR) in Von Neumann Architecture?

Stores the address of the data to be fetched from or the address where the data is to be stored

14
New cards

What is the Memory Data Register (MDR) in Von Neumann Architecture?

stores data/instruction which has been fetched from memory

15
New cards

opcode

An operation code or instructions used in assembly language.

16
New cards

What is an instruction?

An instruction is an action to perform.

17
New cards

operand

One of the values on which an operator operates.

18
New cards

Fetch-Decode-Execute Cycle

the cycle that the CPU runs through billions of times per second to make a computer work.

19
New cards

Describe what happens during the fetch-execute cycle

Data/instructions are fetched from memory, decoded and executed

20
New cards

What happens in the fetch stage of the FDE cycle?

1) The PC keeps the address of the next instruction to be executed. The contents of the PC are copied into the MAR. The PC is incremented by 1 and now holds the address of the next instruction to be fetched. The processor sends a signal along the address bus to the memory address held in the MAR

2)Once the address of the instruction is on the address bus, the control unit instructs a memory read operation to allow the contents of the memory location to be transferred to the processor. The instruction that is stored at that address is transferred using the data bus from the main memory to the processor, and is saved in the memory buffer register (MBR)/memory data register (MDR).

3)The contents of the memory buffer register (MBR)/memory data register (MDR) are copied to the current instruction register (CIR) as shown in Figure 4. This ensures that the current instruction is kept safe so that the memory buffer register (MBR)/memory data register (MDR) can be used during the execute stage, in order to store additional data that is needed.

21
New cards

What happens in the decode stage of the FDE cycle?

1) the control unit decodes the instruction in the CIR

2)this involves splitting the the instruction into operand and opcode to determine what type of instruction needs to be carried out

3)If the operand specifies a memory location, the decode stage might include the initiation of the process to fetch the data needed for the execution of the instruction.

4)Internal register or flags may need to be set up or initialised based on the instruction being executed.

5)The control unit generates specific control signals based on the decoded instruction. These control signals instruct various components of the processor to execute the instruction

22
New cards

What happens in the execute stage of the FDE cycle?

1)The instruction is executed. The exact sequence of operations depends on the type of instruction that is being executed. For example, for an arithmetic instruction, any required data are fetched from the main memory, then the calculation is executed by the ALU, and the result of the instruction is stored in the ACC, a general-purpose register, or back into main memory.

In case the program requires a non sequential instruction to be executed, for example if the current instruction is a branch at this stage, the address of the next instruction to be executed is determined and loaded to the program counter.

Depending on the type of instruction, executing an instruction can involve the ALU and the general-purpose registers, the accumulator, or the main memory.

At the end of a cycle for each instruction, the processor checks the status register to see if an error, exception, or interrupt needs to be handled. For example, if an interrupt is indicated, the control might be transferred to the corresponding interrupt service routine.

23
New cards

FDE cycle

  1. The Program Counter (PC) register displays the address in RAM of the next instruction to be processed.
    This value is copied into the Memory Address Register (MAR).

  1. The PC register is increased by 1.
    This prepares the CPU for the next instruction to be fetched.

  1. The CPU checks the address in RAM which matches the address held in the MAR.

  1. The instruction in RAM is transferred to the Memory Data Register (MDR).

  1. The instruction is decoded by the control unit which splits the instruction into an opcode (an action) and an operand (data or address).

  1. The instruction is executed (run).
    Any result of an execution is stored in the Accumulator (ACC) register, such as calculations made by the ALU.

24
New cards

what 3 factors affect CPU performance?

Clock speed, Cache size, Number of cores

25
New cards

What is cache?

Very small, very fast memory located in the CPU. Split into different levels

26
New cards

How does cache memory improve performance?

Closer to the CPU than RAM, meaning that it can provide data and instructions to the CPU at a faster rate.

A computer with more cache memory should have a faster performance because repeatedly used instructions can be stored and accessed faster (prevents CPU from repeatedly having to fetch frequently used instructions from RAM).

27
New cards

What is the limitation of cache memory?

Costly, so most computers mostly have a small cache

28
New cards

What is clock speed?

The measure (in Hertz) of how many FDE cycles can be completed in one second.

29
New cards

How does clock speed affect CPU performance?

Higher clock speed means that computer performs FDE cycle faster generally leading to improved performance because more instructions can be processed each second.

30
New cards

Overclocking

When the computer’s clock speed is increased higher than the recommended rate. This will make the computer perform faster, but can lead to overheating and could damage the machine.

31
New cards

Underclocking

When the computer’s clock speed is decreased lower than the recommended rate. This will make the computer perform slower but will increase the lifespan of the machine.

32
New cards

What is a core?

A core is a complete set of CPU components (CU, ALU and registers). Each core is able to perform its own FDE cycle. Multiple core processors mean they have multiple separate processing units that can fetch, decode and execute instructions at the same time. Multi-core processors can run more powerful programs with greater ease.

33
New cards

How do the number of cores affect CPU performance?

In theory, a single-core processor can execute one instruction at a time, a dual-core processor can execute 2 instructions at a time, etc.

Therefore, a computer with more cores will have a higher performance because it can process more instructions at once.

They increase the performance of the CPU by working with clock speed

E.g. a quad core CPU(4 cores) running at a clock speed of 3GHz:

  • 4 cores x 3GHz

  • 4 × 3 billion instructions

  • 12 billion instructions per second

34
New cards

What are the limitations of having more cores?

If one core is waiting for another core to finish processing, performance may not increase at all.

Some software is not written to make use of multiple cores, so it will not run any quicker on a multi-core computer.

35
New cards

What is an embedded system?

An embedded system is computer system built into a larger device to provide a means of control (they monitor and control machinery to achieve the desired result e.g. in a dishwasher the embedded system could control the water pump and water release mechanisms, manage the various dishwasher cycles and control the thermostat to keep the water at an appropriate temperature). Perform specific pre programmed task which is stored in ROM.

36
New cards

Properties of an embedded system

  • small in size

  • Perform only specific tasks

  • Use less power than a general purpose computer

  • Lower cost

  • Small amount of storage

37
New cards

What makes a system an example of an embedded system

  • Has a specific purpose / it only

performs one task

• Built within a larger device

Dedicated/its own hardware / sensors

• Has a microprocessor

• Built-in operating

system

• operation does not/is hard to change

• It is a control system / it is

automated

38
New cards

Examples of embedded systems

  • heating thermostats

  • Dishwashers

  • Washing machines

  • Traffic lights

  • Factory equipment

  • Satellite navigation systems

Explore top notes

note
Classic Literature
Updated 1342d ago
0.0(0)
note
Chapter 25: The Basics of Credit
Updated 1345d ago
0.0(0)
note
parcial teórico
Updated 322d ago
0.0(0)
note
Endosymbiosis
Updated 1216d ago
0.0(0)
note
Classic Literature
Updated 1342d ago
0.0(0)
note
Chapter 25: The Basics of Credit
Updated 1345d ago
0.0(0)
note
parcial teórico
Updated 322d ago
0.0(0)
note
Endosymbiosis
Updated 1216d ago
0.0(0)

Explore top flashcards

flashcards
11.3 Arbeidsvoorwaarden
46
Updated 832d ago
0.0(0)
flashcards
OMAM VOCAB
20
Updated 1176d ago
0.0(0)
flashcards
Fiction Review
20
Updated 1159d ago
0.0(0)
flashcards
Physical Geography Exam #1
104
Updated 1141d ago
0.0(0)
flashcards
Lit Term Quiz #3 (65-84)
23
Updated 860d ago
0.0(0)
flashcards
MODULE 2
41
Updated 177d ago
0.0(0)
flashcards
Unit 5 (AP WH)
65
Updated 112d ago
0.0(0)
flashcards
11.3 Arbeidsvoorwaarden
46
Updated 832d ago
0.0(0)
flashcards
OMAM VOCAB
20
Updated 1176d ago
0.0(0)
flashcards
Fiction Review
20
Updated 1159d ago
0.0(0)
flashcards
Physical Geography Exam #1
104
Updated 1141d ago
0.0(0)
flashcards
Lit Term Quiz #3 (65-84)
23
Updated 860d ago
0.0(0)
flashcards
MODULE 2
41
Updated 177d ago
0.0(0)
flashcards
Unit 5 (AP WH)
65
Updated 112d ago
0.0(0)