Module 4 Flashcards

1
Q

What is a datapath

A

The set of functional units that carry out operations on a processor. These make up the CPU along with the ALUs and CUs.

The 1st pass of the datapath stores data and selects what components are used for the next set of instructions.

The 2nd pass gets data to the FU inputs and gets the old results from the FU outputs.

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

What are the ALU and CU

A

Arithmetic Logic Unit
- Does mathematics and floating point operations. Has inputs for data and the operands required.

Control Unit
- Directs the working of the CPU and tells which parts of the computer to respond during tasks

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

What is the ISA

A

The Instruction Set Architecture is the lowest level representation of the instructions available on some processor architecture. This decides the datapath and the control.

The ISA has the storage resources (instruction and data memory) and the datapaths required to execute them.

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

What are the two main Architecture Types

A

Harvard
- The storage of instructions and data are in separate areas
Von Neumann
- The storage of instructions and data are in the same place.

Harvard is preferred for ES use as it is a more robust and secure option.

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

What is the Decoder

A

Converts m-bit input to one of the 2^m bit outputs. This is used to decode instructions and chip select what is needed.

Basically sets the relevant outputs for some instruction to be carried out.

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

What is the Register

A

Stores values in a D Flip Flop. This is SRAM as the power has to remain on for instructions to be processed and the memory to be maintained.

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

What is the Multiplexer

A

Takes multiple inputs 2^m and connects it to the output line. Basically a slide switch that connects one of many input lines to a single output line. This is done based on which select line (or combination) is chosen.

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

What is the PCP?

A

The Peripheral Control Processor provides a means to transfer data across ports. It interfaces between instruction memory the other ports (USB, power, HDMI)

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

What is volatile memory and what are some types?

A

Memory that only holds it’s value when power is connected. Some examples include DRAM and SDRAM. DRAM is based on capacitors that leak over time and SDRAM runs with the system clock to do things.

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

What is non-volatile memory

A

ROM and EEPROM

ROM is highly robust and slower than the RAM. EEPROM is very slow to write but fast read. Flash memory is very high capacity and is programmed one block (8Kb) at a time. It is limited to about 100 000 read-write cycles.

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

What is a Digital Memory Unit

A

Memory cells that store binary data. Has data in and data out lines with address lines too.

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

What is a Memory Control Unit?

A

It manages interactions between the CPU and the external memory (DRAM, etc). This is done due to different speeds at which the processors and memory operate. Kind of like a gearbox.

Translates logic addresses
Allows for timing and controls to avoid resource conflict
Also allows for error detection

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

What is the typical memory hierarchy?

A

CPU -> Cache -> Main Memory -> Hard drive

As you go along the line, speed decreases but size increases. The CPU can only work directly within it’s own registers so work must be done to shift information from the different memory sources.

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

What is locality of referencing?

A

Temporal
- Time of access

Spatial
- Place of access in memory

A program has both of these localities - e.g. time required to run loops and the memory addresses access during.

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

Explain the use of the cache memory

A

The cache is the middleman between the CPU registers and main memory. Some of an instruction is left in cache and the rest must then be gathered from main memory.

L1 and L2 caches are the most common. L1 is the fastest and closest to the CPU. L2 connects the CPU to MM. L1 is on the processor and L2 is external as the ‘bridge’

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