Home > Community > Forums > RF Design > Export results of Monte Carlo simulation using cds_srr

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Export results of Monte Carlo simulation using cds_srr 

Last post Tue, Sep 2 2014 6:57 AM by Andrew Beckett. 5 replies.
Started by aliasnikhil 10 Apr 2013 07:48 PM. Topic has 5 replies and 2171 views
Page 1 of 1 (6 items)
Sort Posts:
  • Wed, Apr 10 2013 7:48 PM

    • aliasnikhil
    • Not Ranked
    • Joined on Wed, Jan 9 2013
    • Los Angeles, CA
    • Posts 6
    • Points 105
    Export results of Monte Carlo simulation using cds_srr Reply

    Hi,

     

    I simulate a VCO in my design and export results to MATLAB using the cds_srr() function. Now, to account for mismatches, I want to run a Monte Carlo simulation (only 1 run). 

    1) Is there any change in the way I export the data into MATLAB after a MC run? 

    2) I do not want separate mismatch statistics. Just normal tran results with mismatches accounted for. Is this the final data that is stored? Or are they separate? 

    3) I did not select "Save data to allow family plots" thinking I have only 1 MC run and so it is not needed. Do I have to select it even for a single run?

     Please help.

    Thanks!

    -Nik 

    • Post Points: 20
  • Wed, Apr 10 2013 11:50 PM

    Re: Export results of Monte Carlo simulation using cds_srr Reply

    If you are going to want to get the raw data into Matlab, you'll need to save the family data, because otherwise the results get discarded after each monte carlo interation (the scalar results are collected, but not the waveforms). You might find that you end up with a single run of data remaining, but you should not rely on that.

    I don't understand your second question.

    Andrew.

    • Post Points: 20
  • Thu, Apr 11 2013 12:47 AM

    • aliasnikhil
    • Not Ranked
    • Joined on Wed, Jan 9 2013
    • Los Angeles, CA
    • Posts 6
    • Points 105
    Re: Export results of Monte Carlo simulation using cds_srr Reply

    Hi Andrew,

    My second question: 2) I do not want separate mismatch statistics. Just normal tran results with mismatches accounted for. Is this the final data that is stored? Or are they separate? 

     I mean, the simulation first does a nominal sim and then followed by a monte carlo sim. So one would think that the two simulation data are saved separately. What I want from the raw data is to reflect the mismatches from the various devices in my design. So, is the normal transient simulation (without mismatch) saved separately? Or is the normal and Monte Carlo sim done separately by spectre and then combined and saved in a single file as a single data set?

    Effectively, after I import the "data" in MATLAB, I should see a drop in the SNR etc of the VCO due to mismatches in devices. So how do I import this "data" with mismatch into MATLAB?

     

    Thanks!

    -Nik 

    • Post Points: 20
  • Thu, Apr 11 2013 4:54 AM

    Re: Export results of Monte Carlo simulation using cds_srr Reply

     Nik,

    First of all, are you running spectre standalone, or from within ADE? If so, which version of the IC tools are you using (Help->About will tell you).

    The nominal results are separate from the monte carlo iterations, albeit in the same psf directory - but different database names.

    If you can tell me how you're running and in which version, I can better give you a example of how to do this.

    Kind Regards,

    Andrew.

    • Post Points: 20
  • Thu, Aug 21 2014 6:03 PM

    • SteveL
    • Not Ranked
    • Joined on Mon, Aug 4 2008
    • Posts 2
    • Points 40
    Re: Export results of Monte Carlo simulation using cds_srr Reply

    I have a similar situation.  I am running  spectre (13.1) from the command line and the various result files from the monte carlo are being put in the *.raw directory.  But, viva 6.16 (also standalone) does not see the files.  How do I access and plot the monte carlo results?

    • Post Points: 20
  • Tue, Sep 2 2014 6:57 AM

    Re: Export results of Monte Carlo simulation using cds_srr Reply

     First of all, this appears to be nothing to do with cds_srr (which is the Matlab interface), so please do not append to an existing thread (see the forum guidelines, which is the first post in each forum).

    Secondly, it's pretty hard to answer this without seeing the analysis statements in  your netlist - I don't know how you've set it up. There's no reason why this should not work if things are configured correctly in the netlist.

    Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by aliasnikhil at 10 Apr 2013 07:48 PM. Topic has 5 replies.