• 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. geAddNetProbe to current Window

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 14843
  • 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

geAddNetProbe to current Window

rfontaine
rfontaine over 9 years ago

I am trying to add a probe to a specific net within a schematic window. What I'm finding is I get an error message that the net specified doesn't exists at the upper level schematic (I've descended into the hierarchy). I verified the hiGetCurrentWindow is returning the correct window. Is this the correct behavior of this function to only probe nets that exist all the way through the hierarchy?

geAddNetProbe(hiGetCurrentWindow() list("y1" "drawing") net)

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Hi Roland,

    This should work fine - I suspect you're not specifying the net name properly. Have you proceeded the name with a "/" (e.g. "/topLevNetName") ? It works for me, even if that net doesn't connect to the block I'm currently in. Of course, you have to have pushed into the hierarchical block from the top for this to work (otherwise it doesn't know what the top level of the hierarchy is).

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • rfontaine
    rfontaine over 9 years ago
    Thank you, I was indeed missing the "full" net name. geAddNetProbe(hiGetCurrentWindow() probeLayer strcat(geGetInstHier() "/" net))
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • rfontaine
    rfontaine over 9 years ago

    Andrew thanks for the help, I have another question regarding the geAddNetProbe function.

    Is there any way to use this function as a "db" function, meaning can I pass it a cellview id instead of a windowId? I'm scanning a schematic's hierarchy and trying to hilite all nets that contain a specific property.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    No. The ge.*Probe functions all require a window id. I'm not really sure why you want to pass a db id since this requires a graphics editor window for it to be useful anyway?

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • rfontaine
    rfontaine over 9 years ago

    I've tried to summarize what I'm looking to do in the code below. I'm looking for any way to capture  the "hiGetCurrentWindow" value of each cv as I loop through the hierarchy?


    procedure(rfProbeNetWithProp(cv)
     let(()
       foreach(inst cv~>instances  
         if(schCV = dbGetAnyInstSwitchMaster(inst "schematic") then               
          ;scan all signals for attached props  
          foreach(net schCV~>signals
            geAddNetProbe(hiGetCurrentWindow() list("y0" "drawing") strcat(geGetInstHier() "/" net~>name))       
           );end foreach
          ;calls a recursive loop
            rfProbeNetWithProp(schCV)   
          else
           printf("Cound not find schematic view for %L symbol \n" inst~>cellName)      
          );end if     
        );end foreach  
      );end let
    );end proc

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    There is geGetCellViewWindow() and geGetTopCellViewWindow(), but I'm not sure they're going to help you that much except for the top level.

    It would probably be simpler for you to pass in the window Id that you wish to do the probe in to this function. Then when you recursively call your function, pass it down too - it's going to be the same for all levels of hierarchy.

    Regards,

    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