ghdl / ghdl-cosim

Documentation with code examples about interfacing VHDL with foreign languages and tools through GHDL
https://ghdl.github.io/ghdl-cosim
Apache License 2.0
46 stars 9 forks source link

GRT: add ghdl_runfor, ghdl_rununtil and ghdl_restart #28

Open umarcor opened 3 years ago

umarcor commented 3 years ago

In #14, an example was contributed for wrapping GHDL and executing the simulation step by step through __ghdl_simulation_step.

Further interesting examples would deal with simulation time explicitly. I am unsure whether a function exists for getting the simulation time explicitly after returning from __ghdl_simulation_step.

Ref ghdl/ghdl#1053.