bind ADE netlist and run to a key

Discussion in 'Cadence' started by Svenn Are Bjerkem, Nov 11, 2004.

  1. Hi,

    I try to bind the . key to netlist and run in ADE. Here is what I try:
    (hiSetBindKey "schematic" "<Key>."
    "(sevNetlistAndRun (asiGetCurrentSession))")

    sevNetlistAndRun() seems to be the proper function, but it takes an
    argument, session.

    I have obviously a problem finding the current session because the
    function doesn't work as I expect:

    To check the function, I tried
    sevNetlistAndRun(asiGetCurrentSession()) on the CIW command line, and
    got the message

    *Error' slotValue: no such slot - simID

    Any Idea?

    Kind regards,
    Svenn Are Bjerkem, Nov 11, 2004
  2. Svenn Are Bjerkem

    S. Badel Guest

    I did the following and it works, as long as you started ADE from within
    the schematic, or inversely opened the schematic from ADE.

    sevNetlistAndRun( sevSession( hiGetCurrentWindow() ) )


    S. Badel, Nov 11, 2004
  3. Excellent!!,

    just to make the thread documentation complete:
    In order to make a shortcut for the netlist and run function in Analog
    Design Environment, add following line to end of .cdsinit

    (hiSetBindKey "schematic" "<Key>."
    "(sevNetlistAndRun ((sevSession (hiGetCurrentWindow)))")

    hiSetBindKey( "schematic" "<Key>."

    This could then be extended to also include check and save, but as there
    is a shortcut available for that already it is left as an exersise for
    the reader.

    Kind regards,
    Svenn Are Bjerkem, Nov 11, 2004
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.