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

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • RTL Foundations36
  • Combinational Design25
  • Sequential Design27
  • FSM & Control27
  • Timing & Clocking39
  • Reset & CDC34
  • Memory & Buses57
  • Advanced RTL28
  • Senior & Interview76
    • Low-Power RTL Hub
    • DFT and Scan Hub
    • Physical Awareness Hub
    • Waveform Debug Hub
    • STA and ECO Hub
    • RTL-to-Implementation Closure
    • DFT-Ready RTL
    • Capstone: Resilient Streaming Peripheral
    • Principal Design Review
    • Senior RTL Interview Questions & Model Answers
      • Interview: Combinational and Arithmetic
      • Interview: Sequential and Pipelines
      • Interview: FSM and Control
      • Interview: Timing and STA
      • Interview: CDC and Reset
      • Interview: Memories and Buses
        • The valid/ready contract
        • AXI backpressure and deadlock risk
        • Register file vs SRAM
        • Unmapped addresses, decode errors and SLVERR
      • Interview: Low-Power Design
      • Interview: Debug and ECO
      • Interview: Coding and Whiteboard
  • Glossary and Notation
Loading lesson

‹Senior RTL Interview Questions & Model Answers
  1. Topics
  2. RTL Design
  3. Senior & Interview
  4. Senior RTL Interview Questions & Model Answers
  5. Interview: Memories and Buses

Part 9 · Senior · Senior

Interview: Memories and Buses

How senior candidates answer memory and bus questions: handshakes, AXI backpressure, regfiles, and decode errors.

  • 4topics
  • 4lessons

Topics in this section

  1. 1The valid/ready contract1 lesson
  2. 2AXI backpressure and deadlock risk1 lesson
  3. 3Register file vs SRAM1 lesson
  4. 4Unmapped addresses, decode errors and SLVERR1 lesson
On this page

    Memory and bus questions test interface discipline. Every strong answer names the rule, the reason, and the evidence.

    Rule

    One line

    Handshake

    No transfer without valid and ready together; the payload stays still until then.

    Backpressure

    Any channel may stall with ready. A design that cannot tolerate that will hang.

    Storage

    Small multi-ported arrays may favor flops; bulk tables often favor compatible RAM. Check target, ports, latency and PPA.

    Decode

    No address falls through. A fabric-level hole answers with an error, never with OKAY; reserved offsets inside a slave follow that slave's documented policy.

    Lessons in this topic

    4 lessons, about 23 min

    1. 1The valid/ready contractYou can state when a transfer happens, when the source may change data, and how a skid buffer lets a sink decide late without losing a word.5 min
    2. 2AXI backpressure and deadlock riskYou can name the five AXI channels, explain how AW and W dependencies and a lost response create a hang, and say where to start debugging.8 min
    3. 3Register file vs SRAMYou can choose flops or SRAM from port count, size and read latency, and define the same-cycle read-after-write behaviour.5 min
    4. 4Unmapped addresses, decode errors and SLVERRYou can design an address decoder with a default slave that returns an error, and tell DECERR from SLVERR.5 min
    Check yourself A sink stalls for three cycles while valid stays high. What must the source hold, and when may it advance?

    Valid and every payload bit stay exactly as they were until the handshake cycle. The source advances only after ready joins valid.

    Interview

    Memory and bus interviews are passed on one sentence: no transfer without a handshake, no handshake without stable data, no address without a slave.

    Revision sheet

    The whole topic on one page, taken from each lesson's Remember box. Read it before an interview, or print it.

    The valid/ready contract

    • A transfer happens when valid and ready are both high in the same cycle.

    • Once valid is high, valid and payload hold until the handshake. Only ready may move freely.

    • A link that never stalls still needs the stability checker, or the bug appears the day one stalls.

    Rule of thumb: valid stays up and data stays still until ready answers.

    AXI backpressure and deadlock risk

    • Each channel has its own valid/ready, yet a write response needs both the accepted address and all the data.

    • A master must offer each VALID without waiting for READY. A slave may wait for both offers before READY.

    • Every address consumes an outstanding slot until its response returns. Dropped responses fill the table and stall the master.

    Rule of thumb: every channel can say not ready, so no side may wait on another channel's READY before offering VALID.

    Register file vs SRAM

    • A small, highly multi-ported file with combinational reads suits flops and muxes. A larger low-port array suits SRAM.

    • There is no universal size crossover. Compare macros, banking, latency and measured area, timing and power.

    • Same-cycle read-after-write has three honest answers: forward, return the old word, or stall. Never leave it undefined.

    Rule of thumb: pick the structure from ports and latency, then write down what a collision does.

    Unmapped addresses, decode errors and SLVERR

    • Every address decodes to exactly one slave or to the default slave. The default slave answers with an error, never OKAY.

    • The interconnect returns DECERR for an address it cannot decode. A selected slave reports its own failure as SLVERR.

    • Keep one central map. Per-slave decoders drift apart and leave gaps and overlaps.

    Rule of thumb: a hole in the address map must produce an error response on the first access.

    Practise it

    • Mini project: the capstone: a resilient streaming peripheral, stage by stage

    • Practice question: Two-stage valid/ready pipeline: backpressure and skid buffers

    • Code lab: AXI stream handshake

    • Practice question: Waveform debug: a write transaction timeout

    • Practice question: Single-port register file, parameterised depth and width

    • Code lab: A 2x8 register file

    • Interview: run a mock interview on this topic

    PreviousNext: The valid/ready contract

    Up next

    Up nextThe valid/ready contract

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Interview: Combinational and Arithmetic
    • Interview: Sequential and Pipelines
    • Interview: FSM and Control