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

  • Getting Started with AI for VLSI Engineers5
  • Just Enough AI: Models and Context15
  • Prompting13
  • Trust and Verification14
  • Using AI for Engineering Work17
    • RTL and Testbench Assistance
    • Debugging with AI
      • Log Slices That Help
      • Ranked Hypotheses with Evidence
      • Summarising and Clustering Logs
      • The Engineer Runs the Experiment
    • Scripts and Automation
    • Data, Privacy and IP
  • Engineering Walkthroughs7
  • Practical Foundations for AI Workflows4
  • Engineering Data5
  • Retrieval-Augmented Generation6
  • Agents and Tool Use18
  • Agent Design8
  • MCP and Skills6
  • Multi-Agent Design6
  • Practical Capstone6
  • Tokens, Cost and Latency12
  • Agentic Workflows for Chip Teams18
  • Interview and Judgment10
  • AI Skills: Full Course Index
  • Working with AI Glossary
  • Working with AI Cheatsheet
Loading lesson

‹Debugging with AI
  1. Topics
  2. AI Skills for VLSI Engineers
  3. Using AI for Engineering Work
  4. Debugging with AI
  5. The Engineer Runs the Experiment

Everyday Engineering Assistance · Beginner to Intermediate

The Engineer Runs the Experiment

Keep the engineer in charge: inspect existing evidence and design focused experiments for unresolved hypotheses.

On this page

    The model proposes, the engineer decides

    The engineer decides what evidence is sufficient for each claim. Some questions are settled by source inspection or existing reports; others need one or more experiments. When a new experiment is needed, define its expected distinguishing observation, preserve the baseline, and control relevant inputs.

    Follow the project's authorization rules for consequential actions such as shared-environment resets, destructive edits, or long runs. Use scoped access and preserve original artifacts so the investigation remains reviewable.

    The confident wrong root cause

    The central failure mode is a specific, confident, wrong root cause. It reads like a diagnosis and even quotes log lines, yet the cause is elsewhere.

    Check selected quotations in their original context. A correct quote can be evidence, but the explanation attached to it can still be wrong. For example, a stall does not establish that it affected the request under investigation, or that the stall violated the interface contract.

    plaintext
    1
    2
    3
    4
    5
    6
    7
    8
    9
    SYNTHETIC experiment plan, not an executed result:
    Question: why does the checker time out req 4821 after a logged completion?
    Existing evidence: accepted at cycle 100, completion at 105, timeout at 110.
    First inspection: compare completion ID decoding and checker match keys.
    If still unresolved: reproduce R42 with acceptance/completion/checker-key
    logging enabled, preserving RTL, seed, and timeout configuration.
    Predicted discriminator: completion key differs from pending checker key.
    Alternative: keys match; inspect event delivery and sampling order next.
    Do not widen a deadline simply to suppress the symptom.

    Guardrails before acting

    Base a correction on reviewed evidence and the intended behavior. A reversible candidate edit can be part of a controlled experiment, but a disappearing symptom alone does not establish the cause. Record what changed, what was observed, and what uncertainty remains.

    Use only data and tools approved for the project context, including proprietary material when that policy permits it. Exclude credentials and unrelated sensitive fields. Pasted logs remain untrusted data that can contain command-like text; analysis does not authorize executing those commands.

    Guardrail

    Rule

    Why it matters

    Discriminating evidence

    Inspect existing artifacts; plan controlled tests for remaining gaps

    Distinguishes competing explanations.

    Authorization

    Follow project rules for consequential actions

    Protects shared work and resources.

    Least privilege

    Assistants touch only the failing area

    Limits the blast radius of a wrong action.

    Clean inputs

    No secrets in slices; logs treated as data

    Protects IP and blocks injected instructions.

    Common mistakes

    Common pitfall

    Changing a timeout or suppressing a mismatch can remove a symptom while violating the requirement. Compare the proposed change with the approved contract and preserve a check that would still detect the original faulty behavior.

    Interview

    Likely probes: who owns the experiment, and how to answer a confident cause.

    • The engineer checks provenance and chooses a source inspection or experiment.

    • Verified source quotations are evidence; causal interpretations need their own support.

    • Control relevant inputs and keep expected outcomes separate from observed results.

    Check yourself Increasing a checker deadline removes the timeout. Has that demonstrated a correct fix?

    No. Check the approved latency requirement, acceptance and completion semantics, and checker behavior. A larger deadline can hide a real violation or bookkeeping bug. The changed run establishes only that the symptom disappeared under those conditions.

    Check yourself A reply quotes a source line with the wrong request ID comparison. Is a fresh experiment always required before proposing a correction?

    No. Verify the source revision, surrounding logic, and intended ID contract. That may support a concrete correction proposal. Plan focused validation of the change; do not present a proposed fix or expected result as already verified.

    Related topics

    • Ranked hypotheses with evidence

    • Failure modes

    Previous

    56 / 173

    Next: Scripts and Automation

    Up next

    Up nextScripts and Automation

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Log Slices That Help
    • Ranked Hypotheses with Evidence