← Protocols Interviews

Interview Question · Concept

AXI4-Lite Against Full AXI4

L0 FresherL1 Junioraxilitefamily

The Question

The interviewer asks

What is removed in AXI4-Lite compared with AXI4, and what stays?

Reveal the Model Answer

Lite keeps the five channels, the handshakes, the addresses, write strobes, AxPROT and the responses. Every transaction is one transfer at the full data width, 32 or 64 bits. So the length, size, burst, WLAST and RLAST signals go. There are no IDs and no exclusive accesses, so no EXOKAY. Accesses are Non-modifiable and Non-bufferable. It may still have several transactions outstanding.

A Four-Beat Write Through a Converting BridgeArrows carry requests from the manager through the bridge to the register block; return moves are responses.
A four-beat write through a converting bridgeArrows carry requests from the manager through the bridge to the register block; return moves are responses. component AXI manager issues a 4-beat write component Lite bridge converts andcombines component Register block AXI4-Lite component DRAM full AXI, bursts pass AW, W, Bsingle transfersuntouched
  1. The burst arrives

    The manager issues one write of four beats at 0x00. The bridge accepts it as a full AXI subordinate would; a burst for the DRAM would pass through untouched.

    Follow the calls, values and waits
    1. data AW 0x00, 4 beats: AXI manager → Lite bridge
  2. Four single transfers

    The bridge issues four Lite writes, one per beat, at 0x00, 0x04, 0x08 and 0x0c: the addresses of the INCR burst.

    More context

    Strobes and AxPROT pass; WLAST, AxLOCK and AxCACHE are dropped.

    Follow the calls, values and waits
    1. data AW 0x00 + W: Lite bridge → Register block
    2. data AW 0x04 + W: Lite bridge → Register block
    3. data AW 0x08 + W: Lite bridge → Register block
    4. data AW 0x0c + W: Lite bridge → Register block
  3. One combined response

    The third write hit the read-only STATUS register and got SLVERR. The bridge combines the four answers into one B, and an error is sticky: the manager sees SLVERR.

    More context

    With both SLVERR and DECERR, the first received wins.

    Follow the calls, values and waits
    1. return OKAY: Register block → Lite bridge
    2. return OKAY: Register block → Lite bridge
    3. return SLVERR: Register block → Lite bridge
    4. return OKAY: Register block → Lite bridge
    5. return SLVERR: Lite bridge → AXI manager
Read the diagram as text
  • AXI manager: issues a 4-beat write
  • Lite bridge: converts and combines
  • Register block: AXI4-Lite
  • DRAM: full AXI, bursts pass
  • AXI manager → Lite bridge: AW, W, B
  • Lite bridge → Register block: single transfers
  • Lite bridge → DRAM: untouched

A converting bridge turns one burst into single Lite writes and merges their answers into one B response.

Self-Check

Tick each key point you covered in your answer.

What Interviewers Listen For (Fresher)

A good fresher answer says AXI4-Lite has single transfers only, with no bursts and no IDs, and is used for registers.

Cross-Questions

Where the interviewer goes next. Open a node to practise that follow-up.

WhyWhat IfProve ItBreak ItCompare

  1. AXI4-Lite Against Full AXI4
  2. WhyWhy AXI4-Lite ExistsL0 FresherL1 Junior

    Why would a designer pick AXI4-Lite for a block instead of full AXI?

    Reveal the Model Answer

    Control and status registers never need bursts, IDs or reordering. Supporting those costs logic and verification effort. Lite keeps the subordinate very simple (one beat, in order) while staying on the AXI fabric with no protocol bridge. Full AXI is for data movers: memories, DMAs, caches.

    Self-Check

    Tick each key point you covered in your answer.

  3. What IfA Lite Subordinate on a Full AXI ManagerL1 JuniorL2 Mid-Level

    You connect an AXI4-Lite register block straight to a full AXI4 manager. What has to be true for this to work?

    Reveal the Model Answer

    The block must copy AWID onto BID and ARID onto RID (ID reflection), because the manager pairs responses by ID. Also, either the system guarantees that the manager issues only Lite-shaped transactions, or a bridge converts them. The bridge breaks bursts into single transfers and combines their responses. Lesson P2.15 shows what happens otherwise: a four-beat read into the Lite block breaks the RLAST rule on its first beat.

    Self-Check

    Tick each key point you covered in your answer.

  4. Break ItThe Lite Block That Passed Every TestL2 Mid-Level

    A Lite register block passed its own regression but corrupts registers in the SoC behind a full AXI port. Where do you look?

    log
    Illustrative integration-test excerpt
    AXI-Lite unit tests: single-beat writes pass
    Full AXI manager -> integration path -> Lite registers
    Manager issues a multi-beat write
    Register readback differs from the requested write data
    Reveal the Model Answer

    Look at what the bench never sent. Its driver issued only single, full-width, aligned transfers, so every Lite assumption held. In the SoC, the block may see bursts, narrow sizes or partial strobes. Check whether a bridge sits in front, and whether the block honours or errors on partial strobes. Then extend the bench to drive what the real manager can issue, or assert that it never does.

    Self-Check

    Tick each key point you covered in your answer.

    What Interviewers Listen For (Mid-Level)

    A good mid-level answer points at the stimulus the bench never sent: bursts, narrow sizes and partial strobes.

  5. CompareAXI4-Lite or APB for RegistersL1 JuniorL2 Mid-Level

    For a block of control registers, would you put it on AXI4-Lite or on APB behind a bridge?

    Reveal the Model Answer

    APB is cheaper per peripheral: one shared, non-pipelined transfer at a time, at least two cycles each. Many slow peripherals can share one bridge. AXI4-Lite costs more logic, but allows parallel reads and writes and several outstanding transactions, with no bridge hop. Pick APB for many slow, low-traffic peripherals. Pick Lite for a few registers on a fast path, or where a bridge's latency hurts.

    Self-Check

    Tick each key point you covered in your answer.

  6. Prove ItSolve P2.15.1: A Lite SubordinateSimulator-graded

    Show it, don't just say it: this Silicon Lab problem is graded by the simulator.

    Open Problem P2.15.1

What People Get Wrong

Common wrong answers and why they fail.

Spec Misquote

"AXI4-Lite has no write strobes; every write is a full word."

Strobes are kept so byte and halfword registers work. A Lite subordinate may honour them, ignore them, or error on patterns it does not support.

Source AMBA AXI and ACE Protocol Specification IHI 0022H.c §B1.1.3 Write strobes

Misconception

"Lite allows only one outstanding transaction."

It supports several outstanding transactions, and a subordinate limits them with its READYs. With no IDs, they all complete in order.

Source AMBA AXI and ACE Protocol Specification IHI 0022H.c §B1.1.4 Optional signaling

Learn It, Then Prove It