AMBA AXI · Module 18
AXI Design Interview Questions
Answer 'design an AXI X' RTL prompts live — the structured approach (clarify the spec, sketch the interface, choose the FSM, handle the handshake and corner cases), worked through a slave and a skid buffer, and the design instincts (channel independence, VALID-not-on-READY, corner-case awareness) interviewers look for.
Design questions — "design an AXI4-Lite slave," "build a skid buffer," "sketch the write FSM" — are the inverse of waveform reading (18.4): instead of interpreting a trace, you produce RTL live. They test whether you can turn a spec into a correct structure under pressure, and interviewers watch for design instincts — clarifying ambiguity, choosing a clean FSM, getting the handshake right, and surfacing corner cases unprompted. The good news: design prompts have a structured approach (clarify → interface → FSM → handshake → corners) that produces a correct sketch every time, and the AXI building blocks from Module 15 are exactly the answers. This chapter gives the approach and works it through the two most common prompts — a slave and a skid buffer — plus the instincts that distinguish a strong design answer.
1. The Structured Design Approach
Don't start writing RTL immediately — follow a structure that produces a correct design and shows your process. (1) Clarify the spec: AXI4 or AXI4-Lite? data/address widths? bursts? outstanding? — never assume; asking is a strength. (2) Sketch the interface: list the ports (the channels you need), which signals in/out. (3) Choose the FSM: the states and transitions for the control flow. (4) Handle the handshake: get VALID/READY right (the never-break rule). (5) Surface corner cases: stalls, decoupled AW/W, errors, reset — naming them unprompted is the mark of a real designer. This sequence turns an open prompt into a methodical, correct answer.
2. Worked Prompt: "Design an AXI4-Lite Slave"
The most common design prompt. Clarify: AXI4-Lite (single-beat, no bursts/IDs), 32-bit data, a few registers — confirm. Interface: the five Lite channels (AW/W/B/AR/R), no *LEN/*SIZE/*ID. FSM: a small write FSM (IDLE → WRITE → RESP) and a separate read FSM (IDLE → RESP), reflecting that reads and writes are independent. Handshake: s_awready/s_wready high when ready to accept, BVALID held until BREADY; VALID never gated on READY. Corners: AW/W can arrive in either order (latch each), WSTRB byte writes, unmapped address → DECERR, read-only write → SLVERR. Sketching this (the structure from 15.1) with the corners named is the strong answer.
3. Worked Prompt: "Build a Skid Buffer"
A frequent prompt because it tests handshake mastery. Clarify: full-throughput, registered both directions? (Yes — that's why it's a skid, not a single register.) Interface: upstream s_* (data/valid/ready), downstream m_*. FSM/structure: a main register feeding the output and a skid (overflow) register; occupancy is EMPTY/ONE/FULL. Handshake: s_ready = !skid_valid (accept while the overflow slot is free); on output consume, promote the skid beat to main. Corners: the in-flight beat when READY toggles (the reason two registers are needed), payload stability, full-throughput steady state (the ONE self-loop). The key insight to state: two registers are the minimum for fully-registered, full-throughput — the reason the skid exists (the structure from 15.5).
4. The Design Instincts Interviewers Reward
Beyond the structure, interviewers watch for instincts that signal a real designer. Channel independence: reads and writes (and address/data) proceed independently — separate FSMs, no illegal coupling. VALID ⊥ READY: never gate VALID on READY (the deadlock rule) — drive VALID independently and hold it. Corner-case awareness: surface stalls, decoupled AW/W, errors, reset unprompted — a designer who names the corners before being asked stands out. Reuse the building blocks: recognize that the prompt maps to a known primitive (a slave, a skid, a FIFO, an FSM from Module 15) rather than inventing from scratch. Parameterise sensibly: widths as parameters, derived values computed. These instincts, shown through the answer, are what distinguish a strong design candidate.
5. Common Misconceptions
6. Debugging Insight
7. Verification Insight
8. Interview Questions
9. Summary
Design-interview questions ("design an AXI X") are the inverse of waveform reading — you produce RTL live — and they're made reliable by a structured approach: clarify the spec (Lite vs. full, widths, bursts, outstanding — asking is a strength), sketch the interface (channel ports), choose the FSM (states/transitions), handle the handshake (VALID/READY, never gating VALID on READY), and surface corner cases (stalls, decoupled AW/W, errors, reset — unprompted). The two most common prompts map directly to Module 15 primitives: the AXI4-Lite slave (15.1 — two independent FSMs, WSTRB writes, DECERR/SLVERR) and the skid buffer (15.5 — two registers, s_ready = !skid_valid, the minimum for fully-registered full-throughput). Recognizing that a prompt maps to a known block and reproducing it beats inventing.
Beyond the structure, interviewers reward design instincts: channel independence (separate read/write FSMs), the VALID ⊥ READY rule (the most-watched mistake), corner-case awareness (volunteering the corners), reuse of the building blocks, and sensible parameterisation. The design round assesses process and judgment as much as the final RTL — clarifying questions, a clean structure, the handshake rule, and unprompted corners all signal a real designer; jumping to messy code signals the opposite. It's the most direct job-ability test of all the interview types, because design is the work — so practicing it (sketch the blocks, internalize the approach, drill the instincts, think aloud, map prompts to primitives) is practicing engineering itself. This is Module 18's through-line made concrete: demonstrating understanding means producing a structured, instinct-driven design live. Next, verification questions test the complementary side — how you'd verify the AXI design you can now produce.
10. What Comes Next
You can now produce AXI RTL from a prompt; next, how you'd verify it:
- 18.6 — Verification Interview Questions (coming next) — checker, coverage, and UVM AXI prompts, the verification-side complement to the design questions, where you describe how to prove the design you'd build is correct.
Previous: 18.4 — Waveform Interpretation Questions. Related: 15.1 — A Simple AXI4-Lite Slave and 15.5 — The Skid Buffer for the two canonical design prompts, and 3.5 — Handshake Dependency & Deadlock Rules for the VALID ⊥ READY rule.
Continue learning
Related tutorials
- Related topic
AMBA — AHB · APB · AXI
ARM's AMBA family — channels, handshakes, ordering rules, and verification strategy.
- Related topic
AXI4 Write Channel — AW, W & B Handshake
The AMBA 5 AXI4 write path — AW/W/B channels, the VALID/READY handshake, channel-dependency rules, and BRESP write-response semantics.
- Related topic
Advanced AXI Interview Questions
The advanced AXI questions that test design judgment — outstanding-depth tuning, deadlock and how to prevent it, interconnect architecture and ID remapping, exclusive access, and CDC — where answers are multi-step system-level arguments and trade-offs, not facts, and the strongest responses reason about why rather than recite what.
- Related topic
Beginner AXI Interview Questions
The fundamental AXI questions interviewers open with, and how to answer them crisply — what AXI is and why, the five channels, the VALID/READY handshake, reads vs. writes, and the one rule that must never be broken — with the structure of a strong beginner answer and the traps that signal a shallow one.
Standards & specifications
- Governing standard
- Arm AMBA AXI Protocol Specification (IHI 0022)(opens Arm in a new tab)
Defines the AXI channels, handshake and ordering rules. RTL structure, interconnect topology and verification strategy are design choices this specification does not mandate.
This page also covers RTL structure, verification approach and debugging technique. Those are engineering practice built on the standard, not requirements the standard itself imposes.
Where this fits
Part of the AMBA AXI curriculum.
