Home > Community > Forums > Custom IC Design > Keyboard shortcut for running simulation in ADE GXL?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Keyboard shortcut for running simulation in ADE GXL? 

Last post Sun, Oct 7 2012 12:49 AM by rickyuexu. 6 replies.
Started by rickyuexu 19 Sep 2012 02:41 AM. Topic has 6 replies and 1541 views
Page 1 of 1 (7 items)
Sort Posts:
  • Wed, Sep 19 2012 2:41 AM

    • rickyuexu
    • Not Ranked
    • Joined on Sun, Jan 8 2012
    • Posts 15
    • Points 195
    Keyboard shortcut for running simulation in ADE GXL? Reply

    Hi,

    Is there any keyboard shortcut for running simulation in ADE GXL/XL/L?

    I really don't want to move the mouse to hit that green button every time I run the simulation, especially when Cadence is not running on my local workstation.

    Thanks! 

    • Post Points: 20
  • Wed, Sep 19 2012 7:19 AM

    Re: Keyboard shortcut for running simulation in ADE GXL? Reply

    You could easily define one:

    hiSetBindKey("adexl" "<Key>F5" "axlRunSimulation()")

    hiSetBindKey("adegxl" "<Key>F5" "axlRunSimulation()")

    hiSetBindKey("Schematics" "<Key>F5" "axlRunSimulation()")

    For ADE L you can't have a bindkey for the ADE window itself, but for the schematic you could have a key bound to "(sevRunEngine sevSession(hiGetCurrentWindow()))" p, li { white-space: pre-wrap; }

    Regards,

    Andrew.

    • Post Points: 35
  • Wed, Sep 19 2012 8:28 AM

    • rickyuexu
    • Not Ranked
    • Joined on Sun, Jan 8 2012
    • Posts 15
    • Points 195
    Re: Keyboard shortcut for running simulation in ADE GXL? Reply

    Thank you! I'm very grateful.

    I am a newbie and don't know much about SKILL. I should really learn it! 

    • Post Points: 5
  • Tue, Oct 2 2012 1:24 AM

    • rickyuexu
    • Not Ranked
    • Joined on Sun, Jan 8 2012
    • Posts 15
    • Points 195
    Re: Keyboard shortcut for running simulation in ADE GXL? Reply

    Hi Andrew,

    I looked up the ADE XL SKILL reference, there is no such function as axlRunSimulation(), but only a function called axlRunAllTests(), which has 2 arguments:

     

    axlRunAllTests( 

    t_session  

    t_mode  

    =>  x_runid  | nil 

     

    For the argument t_session, a session name must be provided. Initially, I wrote:

    t_session = axlGetWindowSession() 

    However, since .cdsinit is executed at the beginning when you start virtuoso, this line will only generate a "nil" value.

    Is there any way to avoid this? Like defering the evaluation of axlGetWindowSession() till "F5" is actually pressed?

    Thanks!

    • Post Points: 5
  • Tue, Oct 2 2012 3:20 AM

    • rickyuexu
    • Not Ranked
    • Joined on Sun, Jan 8 2012
    • Posts 15
    • Points 195
    Re: Keyboard shortcut for running simulation in ADE GXL? Reply
    OK. I think I know what's wrong here. Anyway, for the reference of other readers, the solution is like this: hiSetBindKey("adexl" "F5" "axlRunAllTests(axlGetWindowSession() \"Single Run, Sweeps and Corners\")"
    • Post Points: 20
  • Tue, Oct 2 2012 3:42 AM

    Re: Keyboard shortcut for running simulation in ADE GXL? Reply

    axlRunSimulation was a new public function in IC615 ISR12 (6.1.5.500.12) - so that's probably why you don't see it.

    You could use:

    hiSetBindKey("adexl" "<Key>F5" "let((sess) axlRunAllTests(sess=axlGetWindowSession() axlGetCurrentRunMode(axlGetMainSetupDB(sess))))")

    This will ensure that your bindkey will use whatever is the current run mode.

    Regards,

    Andrew.

    • Post Points: 20
  • Sun, Oct 7 2012 12:49 AM

    • rickyuexu
    • Not Ranked
    • Joined on Sun, Jan 8 2012
    • Posts 15
    • Points 195
    Re: Keyboard shortcut for running simulation in ADE GXL? Reply
    Thank you again!
    • Post Points: 5
Page 1 of 1 (7 items)
Sort Posts:
Started by rickyuexu at 19 Sep 2012 02:41 AM. Topic has 6 replies.