joel
|
Hi All, My simulation needs to periodically regenerate its stimulus file based on current simulation conditions. I have a perl script that generates the stimulus file based on a few parameters. Is there a simple way to invoke a perl script from an ncverilog simulation and suspend the simulation until the perl script completes? e.g.
always #10000 begin $system("create_stim_file.pl"); $readmemh( "stim_file.dat", stim_data); end I've glanced at the PLI and VPI docs, but it seems overkill and very complex for my goal.
Thanks, -Joel
|