COMPUTER BUSES AND PIPELINING TOPIC 7 Flashcards

1
Q

What is a Bus?

A
  • Group of electrical conductors that carry computer/electrical signals from one location to another
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the function of a bus?

A
  • Computer transfers data between components
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does a bus physically consist of?

A
  • WIRES
  • CONDUCTORS on a printed circuit
  • LINE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the purpose of a bus hierarchy?

A

An interconnection system used when a single system bus cannot provide the degree of connectivity required

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

4 Main categories of Bus Lines

A
  1. Data lines
    - Carry data
  2. Address lines
    - Specify the recipient of data
  3. Control lines
    - Provide control for the synchronisation of the bus
  4. Power lines
    - Provide power to various components
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Data Bus

A
  • Carries data between the CPU and memory
    Bi-directional
  • Typical sizes 64 bit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Address bus

A
  • Carries an address from the CPU to memory
  • Unidirectional
  • Typical sizes 16,20,24 lines
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Control bus

A
  • Collection of signals for coordinating CPU activities
  • Typical sized 10-20 lines
  • Bidirectional
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

CALCULATIONS

A

Size of MAR = size of address bus = 18
No of memory locations = 2^18 = = 262,144 bites memory locations
Size of MDR = size each memory location = 16 = 2 Bytes
Size of addressable memory = = 262144 x 2 bytes = 524,288 Bytes = 512 KB
= 4,194,304 Bits

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

Bus topologies

A
  1. Point-To-Point bus
  2. Multipoint/ Multidrop bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a pipeline?

A
  • A technique of improving the performance of a machine by overlapping to reduce the overall execution time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Pipeline Problems

A
  1. Data dependency
    - A problem arises when two adjacent instructions accessing the same data within the same memory location
  2. Branching of Instructions
    - When the other pre-fetched instructions in the pipeline have to be discarded
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Solution for problems:

A
  • Hardware and software based approach for data dependency
  • Instruction reordering for branch problem
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Hardware implementation

A

Hardware – operations are implemented directly by logic gates (hardwired)
Advantages:
- Speed
- RISC designs are simple and typically implemented in hardware

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

Microprogrammed implementation

A

Microcodes are tiny programs stored in ROM that replaces CPU instructions.
Advantages:
More flexible
- Easier to implement complex instructions
- Can emulate other CPUs
Disadvantage:
- Requires more clock cycles

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