errors · simdewfpga sim, after vvp

blink_tb.sv:17: ERROR [testbench-error]: the testbench reported 2 errors (its ERROR: lines above, from $error): the design does not do what the testbench expects. Fix: read the first ERROR: line, it names the check that failed; fix the design there, or the testbench if its expectation is wrong.

The file:line is the testbench's first $error.

ERROR: blink_tb.sv:17: led[0] should follow sw[0]
FAIL: 2 of 3 checks
blink_tb.sv:17: ERROR [testbench-error]: the testbench reported 2 errors (its ERROR: lines above, from $error): the design does not do what the testbench expects. Fix: read the first ERROR: line, it names the check that failed; fix the design there, or the testbench if its expectation is wrong. https://nosey-dewdrop.github.io/dewfpga/errors/testbench-error/

Why does it happen?

$error prints a line starting with ERROR: and continues; the CLI counts those lines when the run ends and exits 1 when there are any, so a failed check is never silent.

What is the fix?

The first ERROR: line names the check and its line in the testbench; the waveform (blink.vcd, the simulator page) shows what the design did instead.

dewfpga sim

Which command prints it?