The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Writing results to a txt file for MonteCarlo simulation
https://designers-guide.org/forum/YaBB.pl?num=1409760839

Message started by mtp3 on Sep 3rd, 2014, 9:13am

Title: Writing results to a txt file for MonteCarlo simulation
Post by mtp3 on Sep 3rd, 2014, 9:13am

Hi!

I am trying to simulate a simple RO using ADE and I use the freq_meter component(written in Verilog A) from the standard cadence library to write the results to a file location specified as "/../period.txt" in the verilogA description.

Now, my question is how do I save the periods.txt file if I am doing a MonteCarlo simulation with 500 runs as the file would be over written for every MC run.

Thanks and regards,

Title: Re: Writing results to a txt file for MonteCarlo simulation
Post by wandola on Sep 8th, 2014, 6:37pm

my understanding is that for every MC run, the saved text file will be opened for writing and the new data will be appended to the end of the previously saved data. In the end of one MC run, the text save will be saved and closed. This will last untill all MC runs finish.

Actually I also have a followup question regarding this.

If I run MC simulations using multiple cores (parallel), it means the same simulation will run simultanenously. How will the file be written?

thanks.


The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.