Can it be, that I need the sevStopEngine function. I think I can put this function in the programming to stop the simulation when the sim reachs a certain value.
Please help me.
In reply to Peach99:
You can use an "assert" to give an error, use Verilog-A $finish, or try Spectre-MDL where you can end the sim after you've collected all your values.
In reply to Samir Jafferali:
Thank you for this answere! I hope it works.