• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Addition of source with know statistical data

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 124
  • Views 15541
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Addition of source with know statistical data

archive
archive over 17 years ago

    Hi All,

I would like to run a monte carlo simulation on my analog design. I know the statistical distribution (gaussian shaped) of the input signal I have to provide to my system.

Does anyone know how to provide this information to a source like VDC in analogLib library?

Thanks for your support,
Best regards,

Axel


Originally posted in cdnusers.org by axp
  • Cancel
  • archive
    archive over 17 years ago

    Create a file with a ".scs" suffix, and set up the distribution you want (see "spectre -h montecarlo" for more details.

    Then reference this file with Setup->Model Libraries in ADE. In the ADE variables, define variable MYDC, and give it a value (this will be your mean value).

    // statistics block for my
    // design variables
    
    statistics {
    
       process {
          vary MYDC dist=unif N=0.3
          }
    
       mismatch {
          vary MYDC dist=gauss std=0.05
       }
    
    }
    

    On an instance of the vsource, you can use the design variable "MYDC". If you want mismatch to be modelled, you'll need to ensure that the vsource is within a subckt - so create an additional level of hierarchy around the vsource in order to do this.

    That's it.

    Regards, Andrew.


    Originally posted in cdnusers.org by adbeckett
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    Hi Andrew,

    thanks for your fast reply... However that fails.


    I have defined a variable in ADE named bgv = 1.2 V
    I have defined a new cell including a vsource component whose DC value is the variable "bgv"

    I have created a "bgvoltage.scs" file:

    statistics{

    mismatch{
    vary bgv dist=gauss std=15e-3
    }

    }


    and have added this file to ADE.

    However it tells me that the "bgvoltage.scs" file does not contain any library and it reports me an error.

    Do you have any idea of what I have to do ?

    Thanks in advance !!

    Axel


    Originally posted in cdnusers.org by axp
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    Two things:

    1. When you reference the "bgvoltage.scs" on the model libraries form, do [u]not[/u] specify a [i]section name[/i]. If you do this, it will expect the statistics block to be within a [i]library[/i] statement, which you don't have.
    2. If you want mismatch to work, the voltage source to be within a subckt, as I said before. Essentially mismatch in spectre works by having a parameterized component within a subckt - the mismatch parameters are then made different for each subckt.

    The specific problem you're describing here is (almost certainly) down to the first of the two above; I just wanted to mention the second as I don't want you to solve the first only to find that there is no mismatch!

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    Great,

    indeed it was caused by the first problem you described !!
    Thanks for you help !!

    Best regards


    Originally posted in cdnusers.org by axp
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information