HDL & Verification

Which describes regression testing in circuit design?

  1. ATesting only the newly added feature once
  2. BStudying how circuit performance declines year by year
  3. CRe-running the existing tests after every design change to confirm that previously working features have not broken
Show answer and explanation

Answer: C. Re-running the existing tests after every design change to confirm that previously working features have not broken

Fixing a bug or adding a feature can break something elsewhere unexpectedly. Regression testing automatically re-runs every test built so far to check that previously passing tests still pass. Large designs run thousands of tests almost daily and track the results in a summary. This automation is possible only with self-checking testbenches.

  • A. Changes can affect other parts too.
  • B. It is unrelated to statistical regression analysis.
  • C. Correct. It checks that fixes have not caused new bugs.
Practice this topic Back to topic

More HDL & Verification questions

  1. What is an advantage of SystemVerilog's logic type?
  2. What is the advantage of using SystemVerilog's always_ff and always_comb instead of Verilog's always?
  3. What is the advantage of writing a module with a parameter as above?
  4. What does the generate statement above do?
  5. What is the role of a lint tool in HDL verification?