fpga: sim: Initialize test_status

Initialize test_status for backwards compatability with testbenches
that don't call start_tb().


Original-commit: 72295360e65d989dd774deabc4add0a54eb6f97e
This commit is contained in:
Wade Fife
2024-06-20 11:35:27 +02:00
committed by joergho
parent 1451ae066b
commit 712142efdb
+1 -1
View File
@@ -30,7 +30,7 @@ package PkgTestExec;
time start_time, end_time; // Start and end time of the testbench
bit stop_on_error = 1; // Configuration option to stop when an error occurs
bit done = 0; // Flag that sets when tb is finished
logic test_status[$]; // Pass/fail of each test where index matches test number
logic test_status[$] = { 1'bX }; // Pass/fail of each test where index matches test number
timeout_t tb_timeout; // Handle to timeout for the overall testbench
timeout_t test_timeout; // Handle to timeout for current test