How to set process/mismatch parameters in Ocean?

Discussion in 'Cadence' started by Sylvio Triebel, Oct 6, 2004.

  1. Hi all,

    I'm curious if it is possible to change process or mismatch
    parameter in Ocean?
    Normaly they are declared e.g. in init.scs with the
    'parameters' statement.

    I tried desVar(name value), but this did not work...

    If there is no way, then it seems to me, that modifying the
    init.scs is the only way... but I can not imagine, that e. g.
    the Artist Montecarlo analysis tool will do that....

    Thanks,
    Sylvio
     
    Sylvio Triebel, Oct 6, 2004
    #1
  2. Sylvio Triebel

    Erik Wanta Guest

    Sylvio:
    You can create an include file to alter the model parameters:
    simulator lang=spectre
    alter0 alter param=p1 value=0.00105853
    alter1 alter param=p2 value=-0.685709
    alter2 alter param=p3 value=-0.385933
    alter3 alter param=p4 value=0.0610644

    Note that you can include the file in OCEAN with the definitionFile function.
     
    Erik Wanta, Oct 7, 2004
    #2
  3. Thanks, Erik!
    At least it works...
    It's just a bit more effort, since you can not
    use e.g. paramAnalysis to sweep over such parameters.
    But it's not too difficult to write some loops on your own.

    Sylvio
     
    Sylvio Triebel, Oct 7, 2004
    #3
  4. Sylvio Triebel

    fogh Guest

    Sylvio,
    in ocean, you should give the parameter a string instead of a value.
    try
    desVar(name sprintf(nil "%L" value) )
    instead of your
    desVar(name value)
     
    fogh, Oct 8, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.