How to set corner in cdsinit

Discussion in 'Cadence' started by Jan Mikkelsen, Dec 20, 2004.

  1. Hi

    I define model path and specific model files in the cdsinit file. I
    would also like to add the specific corner (section) in the same manner.
    I have tried to search for a solution but have come up short. Any advise?

    This is how I do the model definition now .. and where I would like to
    add the section:

    asiSetEnvOptionVal( asiGetTool('spectre) 'modelFiles '("modelfile.scs") )

    Best,

    Jan
     
    Jan Mikkelsen, Dec 20, 2004
    #1
  2. I did this this way

    t_techDir = getShellEnvVar( "TECH_DIR" )
    t_modelLibraries = strcat(
    t_techDir "/spectre/models/myModelLib1.scs;tt "
    t_techDir "/spectre/models/myModelLib2.scs;tt "
    )

    envSetVal( "spectre.envOpts" "modelFiles" 'string t_modelLibraries )

    Bernd
     
    Bernd Fischer, Dec 20, 2004
    #2
  3. Hi Bernd

    Didnt know that the ; operator did that. Now a simple
    asiSetEnvOptionVal( asiGetTool('spectre) 'modelFiles
    '("modelfile.scs;tt") ) gives me what I want.

    Thanks !

    /Jan
     
    Jan Mikkelsen, Dec 20, 2004
    #3
  4. It can't be done currently. As a result of PCR 682957, this will be available in IC5251 by doing:

    spectre.envOpts modelFiles string "fileName1;section #;fileName2;section fileName3;section"

    Regards,

    Andrew.
     
    Andrew Beckett, Dec 21, 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.