Test bench provides the input clocks to the example design and checks for
status once the write
and read
commands are executed.
If the test passes during simulation, the following message is displayed:
Test Completed Successfully
If the test fails, then the
following message is displayed:ERROR: Test Failed
In
case of timeout, the following message is displayed:
ERROR:Test did not complete (timed-out)
Figure 1. Test Bench