1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-02-07 06:44:09 +08:00

Adding indication that test started for regression clarity

This commit is contained in:
Andreas.Olofsson 2020-07-19 10:12:07 -04:00
parent 84e8449cb5
commit 9ac530e526

View File

@ -105,8 +105,12 @@ module oh_simctrl #( parameter CFG_CLK1_PERIOD = 10,
always @ (posedge clk1 or negedge nreset) always @ (posedge clk1 or negedge nreset)
if(!nreset) if(!nreset)
start <= 1'b0; start <= 1'b0;
else if(dut_active) else if(dut_active & ~start)
start <= 1'b1; begin
$display("-------------------");
$display("TEST %0s STARTED", testname);
start <= 1'b1;
end
//STOP SIMULATION ON END //STOP SIMULATION ON END
always @ (posedge clk1) always @ (posedge clk1)