Skip to content

Commit e9f26a2

Browse files
committed
Declare vpiPostsim() in a header file
1 parent 8f7b2a2 commit e9f26a2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

vvp/schedule.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,6 @@ vvp_time64_t schedule_simtime(void)
10801080

10811081
extern void vpiEndOfCompile();
10821082
extern void vpiStartOfSim();
1083-
extern void vpiPostsim();
10841083
extern void vpiNextSimTime(void);
10851084

10861085
static bool sim_at_rosync = false;

vvp/schedule.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef IVL_schedule_H
22
#define IVL_schedule_H
33
/*
4-
* Copyright (c) 2001-2021 Stephen Williams (steve@icarus.com)
4+
* Copyright (c) 2001-2026 Stephen Williams (steve@icarus.com)
55
*
66
* This source code is free software; you can redistribute it
77
* and/or modify it in source code form under the terms of the GNU
@@ -216,4 +216,7 @@ extern unsigned long count_prop_events;
216216
extern unsigned long count_thread_events;
217217
extern unsigned long count_event_pool;
218218

219+
// Run the post simulation callbacks.
220+
extern void vpiPostsim(void);
221+
219222
#endif /* IVL_schedule_H */

0 commit comments

Comments
 (0)