Basic Question: Setting variables at runtime

Discussion in 'Cadence' started by ShamShoon, Feb 21, 2006.

  1. ShamShoon

    ShamShoon Guest

    Hello,

    This is a very basic question but I can't find my way through the
    documentation. I'm trying to do an HSPICE Simulation from within icfb
    but if it's the first invocation since startup it complains that I have
    to set the variable hspiceLinuxSim=t to let Analog Design Environment
    know that hspice under linux can produce psf data. The problem is that
    I don't know how to automatically do this. It works fine if I type
    hspiceLinuxSim in CIW command line, but I don't know how to do it on
    startup so that I don't have to type in manually each time. I tried
    adding these lines to my .cdsenv but with no luck

    asimenv hspiceLinuxSim boolean t

    OR

    hspiceD.envOpts hspiceLinuxSim boolean t

    could somebody give me a clue on how to do this?

    Thanks!
     
    ShamShoon, Feb 21, 2006
    #1
  2. ShamShoon

    S. Badel Guest

    I don't know how to automatically do this. It works fine if I type
    Looks like a regular variable, not an environment variable.

    Therefore you would simply add to your .cdsinit

    hspiceLinuxSim = t



    Any luck with this ?

    stéphane
     
    S. Badel, Feb 22, 2006
    #2
  3. ShamShoon

    ShamShoon Guest

    Yes, it works! Thank you very much!
     
    ShamShoon, Feb 22, 2006
    #3
  4. ShamShoon

    S.Badel Guest

    Sure! I like such easy questions ;)
     
    S.Badel, Feb 23, 2006
    #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.