← All articles
VerificationUVMSVACoverageInterviewSystemVerilog

ASIC Verification Interview Questions: UVM, SVA, Coverage, and Testbench Design

In-depth ASIC verification interview questions covering UVM architecture, SystemVerilog assertions, functional vs code coverage, constrained-random testing, and real testbench design decisions.

November 22, 2026·10 min read

Verification is roughly 60–70 % of the total engineering effort on a modern ASIC project. Verification interviews reflect that weight — they probe testbench architecture, coverage philosophy, assertion strategy, and the judgement calls that separate a junior verification engineer from someone who can own a block.

This guide covers the questions that actually appear in verification interviews. For the SystemVerilog language-level questions that complement these methodology topics, see our SystemVerilog interview questions guide.

What verification interviewers are really testing

Verification questions tend to come in three flavors:

  1. Language-and-tool knowledge — SystemVerilog, UVM base classes, assertion syntax. These are the fastest to prepare for.
  2. Methodology judgement — when to use what: functional coverage vs. code coverage, UVM vs. plain SV, constrained-random vs. directed. These reveal whether you have shipped something.
  3. Debug stories — the candidate is asked to walk through a specific hard bug. Interviewers listen for how you think, not the specific answer.

The questions below focus on categories 1 and 2. For category 3, prepare two or three real stories from your own projects.

Beginner-level questions

Q1. What is the difference between code coverage and functional coverage?

Code coverage is extracted automatically by the simulator from the HDL source. It tracks whether every line, branch, condition, toggle, and FSM state was exercised. It answers: did the testbench execute every piece of code?

Functional coverage is written by hand as part of the verification plan. It tracks whether every intended behavior was exercised. It answers: did we test every scenario the spec requires?

Why both? Code coverage can be 100 % on an implementation that never tested an interesting scenario — if the spec requires back-to-back burst reads with a stall, code coverage says "hit" the moment any single read fires, but functional coverage says "only 2 of 8 back-to-back burst scenarios hit." Code coverage detects dead code; functional coverage detects missing tests.

Q2. What is a scoreboard in a UVM testbench?

The scoreboard is the independent reference model. It receives transactions from monitors on both the input side (what the DUT was told to do) and the output side (what the DUT actually produced). It compares them and reports mismatches.

Typical implementation. Note the uvm_analysis_imp_decl macros — these are mandatory when a scoreboard has more than one analysis implementation port, because UVM needs to generate uniquely-named write callbacks for each one:

`uvm_analysis_imp_decl(_in)
`uvm_analysis_imp_decl(_out)
 
class my_scoreboard extends uvm_scoreboard;
  `uvm_component_utils(my_scoreboard)
 
  uvm_analysis_imp_in#(in_txn,  my_scoreboard)  in_imp;
  uvm_analysis_imp_out#(out_txn, my_scoreboard) out_imp;
 
  in_txn in_queue[$];
 
  function new(string name, uvm_component parent);
    super.new(name, parent);
    in_imp  = new("in_imp",  this);
    out_imp = new("out_imp", this);
  endfunction
 
  function void write_in(in_txn t);  in_queue.push_back(t); endfunction
 
  function void write_out(out_txn t);
    in_txn expected;
    if (in_queue.size() == 0) begin
      `uvm_error("SCB", "output arrived before any input was observed")
      return;
    end
    expected = predict(in_queue.pop_front());
    if (expected.data !== t.data)
      `uvm_error("SCB", $sformatf("got %h expected %h", t.data, expected.data))
  endfunction
endclass

Key idea: the scoreboard knows nothing about the RTL internals. It implements the spec, so if the RTL is wrong, the scoreboard still produces the right expected value. If both the RTL and the scoreboard were derived from the same designer's mental model, a systematic spec misunderstanding would hide the bug.

Q3. What are the five UVM phases that matter most in practice?

  • build_phase — construct children, read configuration, set up TLM ports
  • connect_phase — wire up analysis ports and exports
  • run_phase — the simulation body; where sequences and monitors do their work
  • report_phase — post-sim self-check and logging
  • main_phase / shutdown_phase — fine-grained slots within run_phase for sequence coordination

The build_phase is where 90 % of beginner UVM mistakes live. It is top-down and happens before the simulation clock starts; you cannot delay or wait for events in it.

Medium-difficulty questions

Q4. When should you choose constrained-random over directed testing?

Constrained random is appropriate when:

  • The input space is large enough that enumerating cases by hand misses scenarios
  • The DUT has orthogonal features whose combinations produce emergent bugs (think: AXI with burst length × burst type × crossing a 4 KB boundary × on a narrow bus — the direct enumeration is hundreds of cases)
  • You have good functional coverage to tell you what random actually hit

Directed testing is appropriate when:

  • The scenario is rare under any reasonable constraint distribution (e.g., a very specific FIFO depth transition)
  • You are reproducing a known bug
  • You are validating a pin-exact behavior like reset sequencing

The common mistake is to go constrained-random without functional coverage. You then have no idea what you actually tested — the simulator ran for 10 hours, and you have no evidence it hit anything interesting. Functional coverage is the only way constrained-random becomes an engineering discipline rather than a hopeful lottery.

Q5. Write a SystemVerilog assertion that req must be followed by ack within 16 cycles.

property p_req_ack;
  @(posedge clk) disable iff (rst)
    $rose(req) |-> ##[1:16] ack;
endproperty
 
assert property (p_req_ack)
  else `uvm_error("PROTO", "req not acknowledged within 16 cycles")

Key points to call out in the interview:

  • $rose(req) — fires only on the rising edge of req, not on every cycle req is high. Otherwise you would create a new pending assertion each cycle, and multiple can be in flight simultaneously.
  • disable iff (rst) — suppresses checks during reset. Without this, reset release would fire false negatives.
  • |-> vs |=> — |-> (overlapping) starts counting from the same cycle as the antecedent; |=> (non-overlapping) starts from the next. Choose based on whether ack can legitimately be in the same cycle.
  • ##[1:16] — the window is bounded; this is a safety property in the bounded sense. Unbounded liveness ("ack eventually") is checkable with formal but not simulation.

Q6. How does UVM's phase mechanism interact with asynchronous clock domains?

Phases are global simulation events, not per-clock. run_phase begins once, at the start of simulation, and ends once, when all objections are dropped. Each clock domain's monitors and drivers just do their work asynchronously within run_phase.

The subtlety: run_phase ends when all uvm_components drop their objection. If a component in a slow clock domain is still processing a transaction, it must hold its objection until it has observed the outcome — otherwise run_phase ends prematurely and the scoreboard never sees the final transactions.

objection.raise() / objection.drop() is the mechanism. Beginners often raise an objection once at the start of a test and drop it at the end, which works but can mask drain-time bugs. A better pattern is to raise/drop per transaction so the test only ends when the pipeline is actually quiescent.

Q7. What is wrong with this UVM sequence?

class bad_seq extends uvm_sequence#(my_item);
  task body();
    my_item t = my_item::type_id::create("t");
    assert(t.randomize());
    start_item(t);
    finish_item(t);
    #100ns;   // ← problem
  endtask
endclass

Two problems:

  1. The explicit #100ns hard-codes a delay that is not tied to any clock. If the DUT clock changes frequency (e.g., for a power test), the sequence timing becomes meaningless.
  2. The sequence waits for wall-clock time instead of DUT state. A correct sequence should wait for an event in the DUT (via a virtual interface or a response from the driver): finish_item(t); already gives response-level synchronization.

Correct patterns: use @(posedge vif.clk); for clock-aligned delays, use wait(vif.ready); for state-aligned delays, or chain finish_item calls so the driver's natural throughput sets the pacing.

Advanced verification questions

Q8. You have 100 % code coverage but a bug slipped into silicon. How is that possible?

Several realistic ways:

  • The bug is in a case the code covers but the scoreboard doesn't check. The DUT executed the buggy line but the testbench never asked "is this output correct?" for that scenario. Classic reason to write cross coverage, not just per-feature coverage.
  • The bug is at an interface the testbench stubbed out. The RTL contains the line, the simulator exercised it against a mock, but the mock did not model the real peripheral's response under the triggering condition. Only system-level bring-up catches this.
  • The bug is a race condition between two clock domains that simulation did not exercise at the right relative phase. Code coverage says "both flops toggled." Reality says "those two flops only glitch each other at a specific phase relationship that simulation sampled 3 % of."
  • The bug is a post-synthesis gate-level issue — a missing buffer, an unexpected inversion, a hold violation. RTL simulation did not model it.

Good answer: code coverage is a necessary but insufficient metric. Pair it with directed scoreboarding, cross functional coverage, CDC verification, and gate-level simulation or formal equivalence.

Q9. Describe the difference between an active and passive UVM agent.

An active agent instantiates a driver and a sequencer — it generates stimulus to drive the DUT. It typically mirrors a master.

A passive agent instantiates only a monitor — it observes a bus and reports transactions up to the scoreboard. It mirrors a slave or an independent observer.

The configuration is controlled by uvm_active_passive_enum in the agent's config. The same agent class can be instantiated multiple times in a testbench, some active, some passive — a typical use is one active master agent and three passive observer agents on different buses.

Q10. What is a uvm_analysis_port and how does it differ from a uvm_blocking_put_port?

uvm_analysis_port broadcasts a transaction to zero or more subscribers. Writes are non-blocking: if nothing is listening, the transaction is discarded. Multiple subscribers can connect; each receives a copy.

uvm_blocking_put_port is a point-to-point interface with flow control. The call put(t) blocks until the far side has consumed the transaction. Used between a sequencer and a driver, or between stages of a pipelined testbench.

Rule of thumb: use analysis ports upward (monitors → scoreboard, monitor → coverage collector) and put/get ports downward (sequencer → driver). This keeps backpressure flowing where it belongs.

Q11. A UVM test is failing intermittently. How do you root-cause it?

The debug strategy that reliably works:

  1. Reproduce deterministically by capturing the random seed from the failing run and re-running with that exact seed. If you cannot reproduce, suspect uninitialized state or non-UVM time delays.
  2. Look at the last 50 cycles of waveforms before the failure. Walk them backwards: what caused the final mismatch? That signal was wrong because what upstream event?
  3. Check for race conditions in the testbench itself — uvm_warning that appears on only some seeds often indicates a monitor that samples a signal at the wrong delta cycle. Use @(posedge clk); not #1;.
  4. Reduce the test — comment out all sequences except the minimal reproducer. If it still fails, the bug is in the minimal set. If it passes, the bug is in the interaction.

Common interview mistakes

  • Claiming to have run UVM but cannot describe uvm_config_db. The configuration DB is central to UVM. Expect to be asked about set / get semantics, string paths, and precedence rules.

  • Treating code coverage as the exit criterion. 100 % code coverage is table stakes. The real exit criterion is functional coverage closure against the verification plan.

  • Ignoring testbench-side bugs. If the scoreboard predicts the wrong value, the DUT gets a false bug report and the schedule slips. Verification engineers are judged on scoreboard quality, not just finding DUT bugs.

  • Skipping the discussion of registers models. uvm_reg and the register abstraction layer come up constantly on SoC interviews. Know how a register model is built, what back-door vs. front-door access means, and how volatile registers are modeled.

Practice these topics

Drill testbench architecture and assertions

ChipPrep has UVM scoreboard design problems, SVA writing drills, and full-stack testbench reasoning questions — practice until these are muscle memory.

Related reading