From 358817eb26c07e601105f53a456ec37a63c68278 Mon Sep 17 00:00:00 2001 From: jackkoenig Date: Wed, 20 Apr 2016 22:34:29 -0700 Subject: Fix top.cpp reset race condition #137 --- src/test/resources/top.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/resources/top.cpp') diff --git a/src/test/resources/top.cpp b/src/test/resources/top.cpp index 8bfe2a99..f7671052 100644 --- a/src/test/resources/top.cpp +++ b/src/test/resources/top.cpp @@ -40,7 +40,7 @@ int main(int argc, char** argv) { cout << "Starting simulation!\n"; while (!Verilated::gotFinish() && main_time < timeout) { - if (main_time > 10) { + if (main_time > 15) { top->reset = 0; // Deassert reset } if ((main_time % 10) == 1) { -- cgit v1.2.3