Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4886

$finish_current_analysis in verilogA

$
0
0

Hi,

I am using a verilogA block in my simulation and it includes the statement $finish_current_analysis to stop the simulation when the event I am interested in happens. It works correctly if I simulate a single run in the Explorer. However, if I try to run Monte-Carlo simulations (still from within the Explorer) it seems the simulations don't stop. All MC runs are listed as "running" in the results window of the Explorer. Interestingly, if I open the spectre.log file for any of the MC runs I can see there that the simulations have actually finished at the time the event has happened. Bottom line, since the MC runs don't really quit I can't get my expression results and the statistics for that.
Maybe I am missing something about the use of that $finish statement in the context of MC simulations. Suggestions are welcome.

Thanks

Svilen


Viewing all articles
Browse latest Browse all 4886

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>