PLI Verilog: how to restart a simulation

Status
Not open for further replies.

p3bz

Newbie level 1
Joined
Jan 7, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
6
I'd like to restart my simulation using the PLI. I use VCS.

I wrote this :
Code:
 vpi_control(vpiReset,1);

in a callback function catched by the
Code:
cbEndOfSimulation
The simulator gets the reset call but does not use the extra parameter as it's written in the documentation: The simulation is restarted but in interactive mode ! I also tested with 3 parameters ...

Is this the correct way to restart a simulation ?

Thanks in advance
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…