You're reading an old version of this documentation.
For the latest stable release version, please have a look at master.

Thread-less API

There is some functions that you can use to avoid the usage of threading but which still allow you to move in time.

Threadless functions



Register the callback code to be called at in a given simulation time.

The advantage of the delayed function over using a regular simulation thread + sleep are :

  • Performance (no context switching)

  • Memory usage (no native JVM thread memory allocation)

Also, some other thread-less function related with ClockDomain are documented as Callback API, and some others related with the delta-cycle execution are documented Sensitive API