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

  • How to Use This Course
  • Reading Paths
  • Concept Map
  • How to Read the Diagrams
  • Part 0: What Is a Protocol?10
  • Part 1: Timing and Clocking11
  • Part 2: Encoding and Framing12
  • Part 3: Handshakes13
  • Part 4: Flow Control17
  • Part 5: Transactions19
  • Part 6: Concurrency and Performance17
  • Part 7: Ordering13
  • Part 8: Sharing and Arbitration12
  • Part 9: Deadlock and Liveness13
  • Part 10: Reliability and Recovery20
  • Part 11: Bring-Up and Link Management10
  • Part 12: Power8
  • Part 13: Shared State and Coherence9
  • Part 14: Security and Isolation7
  • Part 15: Specifying and Verifying11
  • Part 16: Protocols Dissected17
  • Part 17: Capstones5
  • Part 18: Interview Preparation6
    • The Reasoning Framework
    • Question Bank: Foundation
    • Question Bank: Senior
    • Question Bank: Principal
    • Whiteboard Drills
    • System Design Questions
Loading lesson

‹Part 18: Interview Preparation
  1. Topics
  2. First Principles of Hardware Protocols
  3. Part 18: Interview Preparation
  4. Question Bank: Principal

Part 18 · Interview Preparation · Principal (P)

Question Bank: Principal

Thirty open, principal-level protocol and interconnect questions, each with what an interviewer is listening for: architecture choices, correctness arguments, performance, power, and judgement.

On this page

    Note

    Level: Principal (P) · Answers: Can you explain it under pressure?

    Before this: Question Bank: Senior

    Principal questions have no single right answer. The interviewer listens for how you frame the problem, which constraints you ask about, how you compare options, and how you would reduce risk. Spend two or three minutes on each out loud, then compare with what the interviewer listens for.

    Architecture and choice

    Check yourself You must pick an on-chip interface for a new subsystem. How do you decide?

    The interviewer listens for: Starts from constraints (bandwidth, latency, number of agents, who builds the IP, ecosystem), not from a favourite protocol; compares at least two options with their costs; mentions verification IP and reuse.

    Check yourself When would you design your own protocol instead of using a standard one?

    The interviewer listens for: Only when no standard fits a hard constraint; counts the full cost (specification, VIP, compliance, tools, training, every future derivative); prefers profiles or extensions of standards.

    Check yourself Lossless or lossy fabric for a new data-centre accelerator network?

    The interviewer listens for: Discusses congestion spreading and pause storms against retransmission cost and tail latency; workload-dependent; mentions end-to-end congestion control and isolation of lossless traffic.

    Check yourself How would you evolve a protocol to version 2 without breaking version 1 devices?

    The interviewer listens for: Reserved fields ignored by receivers, capability negotiation, defaults off, version fields; tests old against new both ways; notes that version 1's rules decide what is possible.

    Check yourself Where should reliability live: per link or end to end?

    The interviewer listens for: End-to-end argument; per-link replay as a performance optimisation where error rates are high; end-to-end checks for paths through untrusted or unprotected logic; numbers from a reliability budget.

    Check yourself How do you decide how many outstanding transactions a protocol should allow?

    The interviewer listens for: Little's law with worst-case latency, the cost of tags, buffers and reorder logic, and what happens beyond the limit; notes interconnect ID width.

    Check yourself What would make you choose a directory over snooping?

    The interviewer listens for: Agent count and bandwidth; snoop filters as a middle ground; latency of indirection; storage and back-invalidation; workload sharing patterns.

    Check yourself How would you design a chiplet interface strategy?

    The interviewer listens for: Reuse protocol layers (PCIe, CXL, streaming) over a short-reach physical layer; standards for multi-vendor chiplets; retry even on short links; latency and energy per bit; test and known-good-die.

    Correctness and risk

    Check yourself How would you convince a review board that an interconnect cannot deadlock?

    The interviewer listens for: A dependency graph across channels, message classes and routing, an acyclicity argument, the consumption assumption stated, formal on the critical loops, and simulation with deadlock detection.

    Check yourself What are the riskiest parts of a new coherent interconnect?

    The interviewer listens for: Races between ownership changes (writebacks against forwards), message-class separation, snoop filter sizing, ordering at the home, and verification of the protocol tables formally.

    Check yourself How would you plan the verification of a new protocol from scratch?

    The interviewer listens for: Specification as numbered rules, assertions per rule, monitors, reference model and ordering-aware scoreboard, coverage plan, formal targets, independent authorship, silicon debug features.

    Check yourself A protocol works in simulation but hangs once a day in silicon. How do you lead the investigation?

    The interviewer listens for: Gathers evidence first (trace, counters, sticky errors), forms hypotheses tied to liveness rules, reproduces with targeted stress or emulation, and adds observability for next time.

    Check yourself Which liveness properties would you insist on, and how would you check them?

    The interviewer listens for: Every request answered, every credit returned, every grant eventually given, link eventually trains or fails; bounds justified from worst cases; formal where bounds are hard.

    Check yourself How would you protect a shared fabric against a misbehaving requester?

    The interviewer listens for: Access control plus performance isolation: per-requester queues, limits, regulators, QoS with guarantees, timeouts that isolate the requester, and monitoring.

    Check yourself What is your approach to a one-sided reset in a protocol?

    The interviewer listens for: Defines what each side drives and what happens to every piece of shared state; timeouts or wrappers for lost requests; re-initialisation of credits and sequence numbers; tests resets mid-traffic.

    Check yourself How do you handle errors that cannot be corrected?

    The interviewer listens for: Contain them: poison carried to the consumer, error responses, defined escalation when poison cannot be carried, logging with addresses and IDs, and no silent corruption.

    Check yourself What would you insist the silicon can tell you?

    The interviewer listens for: State and sticky errors, counters, timestamped trace with triggers, readable when hung; designed with the architecture, budgeted by risk.

    Performance and power

    Check yourself A link delivers 60% of its peak bandwidth. How do you find out why?

    The interviewer listens for: Separates protocol efficiency (headers, framing, encoding), flow control (credits versus round trip), concurrency (outstanding limit versus latency), arbitration and bubbles; measures before guessing.

    Check yourself How would you size buffers across an interconnect?

    The interviewer listens for: Credit round trip per hop, burst absorption, outstanding limits by Little's law, and the cost of overprovisioning; models before RTL.

    Check yourself How do you trade tail latency against throughput?

    The interviewer listens for: Queueing grows sharply near saturation; caps on queue depth, priority for latency-sensitive classes, and admission control; measures percentiles, not means.

    Check yourself How would you design power management for a link used by both bursty and latency-sensitive traffic?

    The interviewer listens for: Break-even time per state, measured idle distributions, latency tolerance per device, handshake with deny, wake paths for every input, timeouts adapted to traffic.

    Check yourself What is the cost of a coherence miss to another cluster, and how would you reduce it?

    The interviewer listens for: Hop count (three-hop forwarding), directory lookup, distance; owner and forward states, direct transfers, home placement near users.

    Check yourself When is a protocol's header overhead worth reducing?

    The interviewer listens for: When payloads are small and bandwidth is the limit; compares header compression, larger payloads and flit packing against complexity and latency.

    Leadership and judgement

    Check yourself Two teams disagree on how to read an interface specification. What do you do?

    The interviewer listens for: Treats the specification as the bug: writes the disputed rule precisely, adds an assertion, updates the document, checks other instances of the same ambiguity.

    Check yourself What makes a protocol specification good?

    The interviewer listens for: Numbered checkable rules, stated freedoms and limits, corner cases, examples labelled as examples, assertions delivered with it, versioning rules from version 1.

    Check yourself How do you review someone else's protocol proposal?

    The interviewer listens for: Question by question, with arithmetic for every size and timer and a dependency argument for deadlock; looks for interactions between sections; ranks comments by severity with fixes.

    Check yourself Which protocol design decision do you think aged worst, and why?

    The interviewer listens for: Any well-argued example showing how a constraint changed (rates, scale, security) and the mechanism that became a burden; shows judgement about longevity.

    Check yourself How would you teach a new engineer to understand protocols quickly?

    The interviewer listens for: The fifteen questions and the constraint-first checklist; dissect familiar protocols first; draw handshakes, credits and replay; then read a real specification with the checklist.

    Check yourself What would you measure to know a protocol decision was right a year later?

    The interviewer listens for: Bandwidth efficiency, tail latency, error and replay counters, hang reports, verification bugs by area, and how hard derivatives were to make.

    Check yourself What is the one question you ask about any new interface?

    The interviewer listens for: A defensible single question, such as "what happens if the other side stops responding?", with the reasoning for why it exposes the most risk.

    Key takeaways

    • Principal answers start by asking about constraints and end with how you would reduce risk.

    • Compare options with costs and say what would change your mind.

    • Judgement shows in what you check, measure and refuse to assume.

    Keep going

    Next: Lesson 18.5, Whiteboard Drills. Draw handshakes, credits, replay and arbitration without notes.

    Related topics

    • Part 18 overview: Interview Preparation

    Previous

    232 / 234

    Next: Whiteboard Drills

    Up next

    Up nextWhiteboard Drills

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • The Reasoning Framework
    • Question Bank: Foundation
    • System Design Questions