• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. BindKey for probing

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 143
  • Views 8639
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

BindKey for probing

ocsav
ocsav over 2 years ago

Hi to all,

I am trying to create a bindkey to use with the letter "W" where it trigger the probe function of the net selected in the schematic to be displayed in the layout and the the "shift W" to remove the probe of the specific net.

The command in the log is this :

_asstSetProbeColor(hiGetCurrentWindow() "y1" "drawing") 

but when I add it to the bindkey editor it returns an error ! 

Can anyone help me with the code for this please.

Thank you and best regards
Vasco

  • Cancel
  • mbracht
    mbracht over 2 years ago

    Hi Vasco,

    What exactly is the error message you get?

    Max

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ocsav
    ocsav over 2 years ago in reply to mbracht

    schSingleSelectPt()
    t
    _asstSetProbeColor(schSingleSelectPt() "y1" "drawing")
    nil

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AurelBuche
    AurelBuche over 2 years ago

    Hi 


    Vasco, the command you see in the log is just resulting from you probing a net.

    This is definitely not the one to use ! It is private but its name is quite explicit : I guess it just tries to set the color of the probe you create

    The functions you are looking for to use in your bindkeys are geEnterAddNetProbe and geEnterDeleteNetProbe

    hiSetBindKey("Schematics"      "<Key>9" "geEnterAddNetProbe()"   )
    hiSetBindKey("Schematics" "Shift<Key>9" "geEnterDeleteNetProbe()")


    Cheers,
    Aurélien

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to ocsav

    Er, there's no error shown? 

    However, if you'd have done that, it would have given an error since schSingleSelectPt() returns t/nil and not a window id:

    *Error* geGetAllProbe: argument #1 should be a window type (type template = "w") - nil

    You could do it this way - define the bindkey like this:

    _asstSetProbeColor(schSingleSelectPt()&&hiGetCurrentWindow() "y1" "drawing")

    However, rather than using a private function, this could be done with:

    geEnterAddNetProbe(hiGetCurrentWindow() '("y1" "drawing"))

    which is entirely public.Often this function is on the "9" bindkey, but without specifying the LPP to use.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ocsav
    ocsav over 2 years ago

    Thank you for the Help, the issue is that I can't script skill code so I'll try to explain the functionality:

    The probing activated with the key 9 is only probing the schematic, not the layout, to make it keep the probe in the layout I have to go to net-> probe and select a color !
    I would like the key 9 and ctrl 9 to keep this schematic-layout correspondence. 

    Please let me know how to write this in the bindkeys saved file directly so I can load it when I start virtuoso.

    thanks a lot.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to ocsav

    You could just use:

    geSetCrossProbeValue("schematic" t)

    Then if you press the 9 key in the schematic, it will also cross-probe with the same colour on the layout. Is that what you want?

    If you really wanted to define the bindkey using the private function, you'd add this to your .cdsinit :

    hiSetBindKey("Schematics" "Shift<Key>W" "_asstSetProbeColor(schSingleSelectPt()&&hiGetCurrentWindow() \"y1\" \"drawing\")")

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ocsav
    ocsav over 2 years ago in reply to Andrew Beckett

    geSetCrossProbeValue("schematic" t) loaded in the icfb works fine, what an elegant solution !

    Can we do a "remove probe" for the 9 in case is already probed.

    Thank you for the help.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to ocsav

    You could add another bindkey (for example, shift-9 - on my keyboard this is "<Key>(" ) with: geEnterDeleteNetProbe()

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information