Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutRoadmapCareersInternshipsFAQContactPrivacyTerms
Skip to lesson

Course contents

  • How to Use This Course
  • Protocol Metrics Reference
  • Protocols Glossary
  • Reading Path
  • Protocol Fundamentals25
  • AMBA Family (APB / AHB / AXI)17
    • APB & AHB Basics
    • AXI Channels & Transfers
    • AXI-Lite & AXI-Stream
    • AMBA Integration Debug
    • AMBA Family (APB / AHB / AXI): Tricky Q&A
  • Coherence Fabrics (ACE / CHI)17
  • Memory Interfaces (DDR / LPDDR / HBM)17
  • PCIe & CXL17
  • Embedded Peripherals (I2C / SPI / UART)17
  • High-Speed I/O (USB / Ethernet / MIPI)17
  • Protocol Verification & Compliance21
  • Protocols Interview Prep5
  • Interface Protocols Cheatsheet
Loading lesson

←AMBA Family (APB / AHB / AXI)
  1. Topics
  2. Bus Protocols
  3. AMBA Family (APB / AHB / AXI)
  4. AMBA Family (APB / AHB / AXI): Tricky Q&A
On this page

    Interface ProtocolsAll levels

    AMBA Family (APB / AHB / AXI): Tricky Q&A

    Senior interview and review questions for AMBA Family (APB / AHB / AXI).

    Section checkpoint

    Explain a peripheral write and a narrow SRAM write without merging the different protocol handshakes.

    Try these before opening the explanations. This is a self-assessment, not a stored score or certification.

    Check yourself APB has SETUP, two ACCESS waits, then successful ACCESS completion. How many writes occurred? Would an AXI DECERR and a completed APB PSLVERR mean the same boundary failed?

    One write completed, on the final PSEL && PENABLE && PREADY edge. A shared-system unmapped AXI access receives default-target DECERR; an APB target error translated upstream is SLVERR. Waiting alone is neither response.

    Check yourself On the 64-bit AXI bus, AWSIZE=1, address ...0002, AWLEN=0 and WSTRB=0x08. Which byte changes, and may BVALID precede AW because W already finished?

    Only lane 3 is enabled within the permitted two-byte window at lanes 2–3. BVALID still requires both AW and final W acceptance on earlier edges. W-first acceptance can be legal; early B cannot be justified by W alone.

    Ready to continue when you can produce:

    • SETUP, ACCESS-wait and ACCESS-completion observations for one register write.

    • Accepted AXI address/data/response events and an explicit byte-lane mask.

    Section Q&A

    Why can visible address B overlap data for A on AHB-Lite?

    Check yourself Why can visible address B overlap data for A on AHB-Lite?

    The address phase and previous data phase overlap. Save address/control only when HREADY permits the active address to advance, then compare returned data with that saved context. During an ordinary wait, B can remain offered while A has not completed.

    Common trap: Matching HRDATA to the currently visible HADDR rather than the active data-phase request.

    Which lanes carry a two-byte AXI write at ...0002 on the course's 64-bit bus?

    Check yourself Which lanes carry a two-byte AXI write at ...0002 on the course's 64-bit bus?

    With AWSIZE=1 and AWLEN=0, lanes 2 and 3 form the permitted window. WSTRB=0x0C enables both; 0x08 enables only lane 3. A 64-bit physical bus does not imply eight enabled bytes, and strobes outside the address/size window are invalid.

    Common trap: Treating WSTRB as a count of bytes or enabling lanes from zero regardless of address.

    Why does AXI split reads and writes into separate channels?

    Check yourself Why does AXI split reads and writes into separate channels?

    Each address, data and response channel has its own handshake, which allows independent acceptance and overlap subject to ordering, buffering and dependency rules. Separation enables concurrency; it does not guarantee that every channel progresses or that throughput improves for every workload.

    Common trap: Describing AXI as a single shared bus or assuming independent handshakes guarantee progress.

    What must match between AW and W for an AXI4 write burst?

    Check yourself What must match between AW and W for an AXI4 write burst?

    AWLEN+1 must match the number of accepted W beats, with WLAST on the final beat and WSTRB consistent with the address and transfer size. AXI4 W has no ID: write-data bursts associate in AW request order without interleaving. W can arrive before AW. BVALID must wait until both the address and final data beat have been accepted; BID identifies the corresponding AWID.

    Common trap: Inventing a WID or requiring AW to arrive before W.

    Why does an AXI scoreboard need a queue for a repeated ID?

    Check yourself Why does an AXI scoreboard need a queue for a repeated ID?

    RID or BID selects an ordering stream; it does not uniquely name one request when that ID has several outstanding. Keep accepted requests in order per source context and ID, then compare each completed response with that queue's head. Transactions with different IDs may have different ordering freedom.

    Common trap: Using ID as a unique transaction key or replacing the previous expected item when an ID repeats.

    When is AXI-Lite preferred over full AXI?

    Check yourself When is AXI-Lite preferred over full AXI?

    When the endpoint contract needs single-beat, ID-less memory-mapped transfers and the required outstanding/ordering behaviour fits AXI4-Lite. Register blocks are common examples; choose from traffic, latency, concurrency and implementation constraints rather than the peripheral's name alone.

    Common trap: Assuming Lite means exactly one transaction may ever be outstanding, or ruling it in/out solely by block type.

    Where do bridge bugs usually hide?

    Check yourself Where do bridge bugs usually hide?

    ID remap, width conversion, burst splitting, cache attribute propagation, and ordering.

    Common trap: Blaming the endpoint master only.

    Previous

    46 / 158

    Next: Coherence Fabrics (ACE / CHI)

    Up next

    Up nextCoherence Fabrics (ACE / CHI)

    Sign in to save progress

    Practice this lessonPrevious lessonReport an error

    See also

    • APB & AHB Basics
    • AXI Channels & Transfers
    • AXI-Lite & AXI-Stream