Ocean Netlisting

Discussion in 'Cadence' started by Matt Ziegler, Aug 11, 2003.

  1. Matt Ziegler

    Matt Ziegler Guest

    I am writing an Ocean script for simulating a design and I am wondering
    how I
    can netlist the design in a directory other than the default simulation.

    The default simulation directory is in my case, ~/simulation/. I am
    using the function
    design( "library" "cell" "view" ) to specify the design and the function

    createNetlist(?recreateAll t) to netlist; however, it always creates the
    netlist
    files off of the default simulation directory, e.g.,
    ~/simulation/"cell"/spectre/schematic/netlist/

    I would like to know how to set the directory where to netlist is
    created within
    Ocean. There may be a simple function to do so, but nothing stands out
    when I
    look in the Ocean Openbook.

    thanks,
    Matt
     
    Matt Ziegler, Aug 11, 2003
    #1
    1. Advertisements

  2. Matt Ziegler

    Jay Lessert Guest

    For example:

    ; From command line or .cdsinit:
    envSetVal( "asimenv.startup" "projectDir" 'string "./simulation" )
    envSetVal( "asimenv" "saveDir" 'string "./artist_states" )

    ; From .cdsenv:
    asimenv.startup projectDir string "./simulation"
    asimenv saveDir string "./artist_states"

    -Jay-
     
    Jay Lessert, Aug 11, 2003
    #2
    1. Advertisements

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.