Interconnects Flashcards

1
Q

What are interconnects?

A

Components used to connect 2 or more components

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

What are 4 important concepts within generic interconnects?

A

Topology

Routing

Arbitration

Switching

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

What does SoC mean?

A

System on Chip

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

What is AMBA?

A

Introduced by ARM

Open standard, on-chip interconnect

Used to connect CPU cores within a processor, and peripherals in a SoC

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

What are peripherals?

A

Any external device (USB, PSIs)

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

What is the APB and why is it efficient to use instead of the main bus?

A

Advanced Peripheral Bus

Connects to the low-bandwidth peripherals. When we have more niche peripherals, which we don’t need to connect to that often, these don’t have to be at the main interconnect (UART, SPI, I²C).

If all of these was put on the main interconnect, the design could potentially take more space and become more convoluted (complex). Could cause congestion.

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

What does it Single-master mean when taking about APBs?

A

The APB is what we call a single master, i.e. the AHB.APB bridge

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

What is the main use of APB?

A

Reading and writing registers.
Writing data is often a way of controlling peripherals.

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

What is the AHB-to-APB bridge used?

A

AHB: High performance

APB: Low performance, working on a frequency much lower than the core. Would be very inefficient to be connected via the main interconnect.

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

What is the AHB?

A

Advanced High-Performance Bus

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

What components does the arbitration process consist of?

A

Contains:

Arbiter: controls access

One unidirectional address buss (HADDR)

Two unidirectional data buses (HWDATA, HRDATA), allows us to transfer the data back and forth between the systems.

Only one data bus is active at the time, can either write or read

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

What is HWDATA and HRDATA in the AHB arbiter?

A

Hardware write data

Hardware read data

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

Describe AHB arbitration

A

The main requests the bus

The arbiter grants one main the bus

The arbiter protocol is not defined by specification, but the implementation.

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

Name some examples of an arbitration protocol

A

Round robin (can be inefficient)

Prioritization

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

How does AHB address decoding work?

A

Each slave has its own memory region

Because of this, based on the address, the decoder knows which slave to select

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

How does the simple data transfer protocol in AHB work?

A

Main requests the bus, and output address (HADDR) and type of access (control) are what the main is requesting
- e.g.: I want “this” address, and I want to write to it

Once it has been granted, the data transfer happens in the next cycle

17
Q

How does the AHB basic transfer work?

A

When communicating between a main and a side

Main waits until the side signals that it is ready (HREADY)

18
Q

How can AHB be pipelined?

A

Within the interconnects there are very few irregularities. You are not gonna have a data transfer fail, at least this can assumed.

Because we have an address phase and a data phase, these can be running in parallel.

Pipelining increases bus bandwidth.

19
Q

What are burst transfers?

A

When transferring more than one unit.

signal: HBURST - says how much we are actually sending

Signal to side that multiple data transfers will occur.

Enables optimisations and buffering

20
Q

What was the original AHB architecture?

A

Single access:
- single address mux
- single read mux
- single write mux

21
Q

What does a multilayer AHB architecture look like?

A

One mux per main/side

Requires an arbiter for each side

Support for parallel accesses, when mains access different sides

Requires more wires

22
Q

Describe the AMBA 3.0 protocol

A

Separates the transactions: read addr, write addr, read data, write data and write response channels

OoO transaction completion

Enhanced protection support: Secure/non-secure transaction specification. Ensures that in more volatile situations critical operations are successful

Fixed mode burst support

Advanced system cache support: specify if transaction is cacheable/bufferable. Specify attributes (such as write-back/write-through)

Exclusive access (for semaphore operations)

Can do register slice support for high frequency operation

23
Q

Name a difference between AHB and AXI Burst

A

AHB:
- address and data are locked together
- have to specify address within each cycle because the side is not doing any address calculation

AXI:
- address calculation is delegated to the side
- the side automatically calculates the steps of the transfer
- the data access has to be sequential address wise
- this frees up the address port on the main
- can do simultaneous read and write transactions

24
Q

How does OoO completion differ between AHB and AXI?

A

AHB:
- if one side is slow, all data is held up
- SPLIT transactions provide very limited improvement

AXI:
- Multiple outstanding addresses, OoO completion allowed
- Fast sides may return data ahead of slow sides

25
Q

How does exclusive access work in AXI protocols

A

A main performs an exclusive read from an address location

at some later time, the main tries to complete the exclusive operation, by performing an exclusive write to the same address location

26
Q

When is an exclusive write access of the master signaled as successful?

A

No other main has written to the location betweenthe read and write accesses

27
Q

When is an exclusive write access of the master signaled as failed?

A

Another main has written to that location between the read and write accesses. In this case, the address location is not updated

28
Q

What must be included to support exclusive access?

A

The AXI side must have support for recording the address to be monitored.

When the first read happens, the side records this.

29
Q
A