Functor values and propagation.

This commit is contained in:
steve
2001-03-11 22:42:11 +00:00
parent cb65ee5e00
commit cbc3be0304
13 changed files with 448 additions and 32 deletions
+24 -1
View File
@@ -19,20 +19,43 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
#ident "$Id: schedule.h,v 1.1 2001/03/11 00:29:39 steve Exp $"
#ident "$Id: schedule.h,v 1.2 2001/03/11 22:42:11 steve Exp $"
#endif
# include "vthread.h"
# include "pointers.h"
/*
* This causes a thread to be scheduled for execution. The schedule
* puts the event into the event queue after any existing events for a
* given time step. The delay is a relative time.
*/
extern void schedule_vthread(vthread_t thr, unsigned delay);
/*
* Create a propagation event. The fun parameter points to the functor
* to have its output propagated, and the delay is the delay to
* schedule the propagation.
*/
extern void schedule_functor(vvp_ipoint_t fun, unsigned delay);
/*
* Create an assignment event. The val passed here will be assigned to
* the specified input when the delay times out.
*/
extern void schedule_assign(vvp_ipoint_t fun, unsigned char val,
unsigned delay);
/*
* This runs the simulator. It runs until all the functors run out.
*/
extern void schedule_simulate(void);
/*
* $Log: schedule.h,v $
* Revision 1.2 2001/03/11 22:42:11 steve
* Functor values and propagation.
*
* Revision 1.1 2001/03/11 00:29:39 steve
* Add the vvp engine to cvs.
*