From 281b4edbab7559e8011f45fccb8ff659edc96cbe Mon Sep 17 00:00:00 2001 From: Cary R Date: Mon, 10 Dec 2007 14:56:47 -0800 Subject: [PATCH] v0.8: Do not run the first time step if the compilation failed. This patch fixes another minor problem introduced by the process end of simulation events. Specifically if the compilation has indicated we should not run do not even start the main event loop. --- vvp/schedule.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vvp/schedule.cc b/vvp/schedule.cc index fcc46c293..fe40849a9 100644 --- a/vvp/schedule.cc +++ b/vvp/schedule.cc @@ -442,7 +442,7 @@ void schedule_simulate(void) signals_capture(); - while (sched_list) { + if (schedule_runnable) while (sched_list) { if (schedule_stopped_flag) { schedule_stopped_flag = false;