From 826672705e7e943b1d09323e4a3fb379d7d6458c Mon Sep 17 00:00:00 2001 From: Cary R Date: Fri, 6 Feb 2026 09:44:52 -0800 Subject: [PATCH] Move all simulation callback decls to the header --- vvp/schedule.cc | 4 ---- vvp/schedule.h | 5 ++++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/vvp/schedule.cc b/vvp/schedule.cc index 5e842bcca..d15672a84 100644 --- a/vvp/schedule.cc +++ b/vvp/schedule.cc @@ -1078,10 +1078,6 @@ static vvp_time64_t schedule_time; vvp_time64_t schedule_simtime(void) { return schedule_time; } -extern void vpiEndOfCompile(); -extern void vpiStartOfSim(); -extern void vpiNextSimTime(void); - static bool sim_at_rosync = false; bool schedule_at_rosync(void) { return sim_at_rosync; } diff --git a/vvp/schedule.h b/vvp/schedule.h index 4656ecdf4..6a8749c7e 100644 --- a/vvp/schedule.h +++ b/vvp/schedule.h @@ -216,7 +216,10 @@ extern unsigned long count_prop_events; extern unsigned long count_thread_events; extern unsigned long count_event_pool; -// Run the post simulation callbacks. +// Trigger the simulation callbacks. +extern void vpiEndOfCompile(void); +extern void vpiStartOfSim(void); extern void vpiPostsim(void); +extern void vpiNextSimTime(void); #endif /* IVL_schedule_H */