How is a Verilog testbench used?
How is a Verilog testbench used?
- To synthesize hardware designs
- To simulate and verify hardware designs
- To debug software programs
- To measure clock frequency
Correct answer
B. To simulate and verify hardware designs
Explanation
A testbench applies stimulus and checks outputs in simulation to verify the design’s behavior.