From 591075a8eda1f438eb772855e98917d6f0acac70 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 18 Nov 2014 19:43:44 -0500 Subject: [PATCH] Fix sc_main test to make trace data. --- test_sc/sc_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_sc/sc_main.cpp b/test_sc/sc_main.cpp index ba6be6afd..fa71e70d9 100644 --- a/test_sc/sc_main.cpp +++ b/test_sc/sc_main.cpp @@ -134,10 +134,10 @@ int sc_main(int argc, char* argv[]) { cout <<("Test beginning...\n"); reset_l = 1; - while (VL_TIME_Q() < 60 && !passed && !Verilated::gotFinish()) { + while (VL_TIME_Q() < 60 && !Verilated::gotFinish()) { #if VM_TRACE // Flush the wave files each cycle so we can immediately see the output - // Don't do this in "real" programs, do it in a abort() handler instead + // Don't do this in "real" programs, do it in an abort() handler instead if (tfp) tfp->flush(); #endif if (VL_TIME_Q() > 10) {