• 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. Functional Verification
  3. Retrieve Flat Net Wire Properties using TCL

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 65
  • Views 13684
  • 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

Retrieve Flat Net Wire Properties using TCL

dk631
dk631 over 12 years ago

Using the script example in section 3.2.20 of the OrCAD Capture TCL/TK Extensions Application Notes I was able to pull the net names. To get the other information I need (user properties, port information, page location of port, etc.) I have tried using the DboFlatNetNetsIter and DboFlatNetWiresIter to get the DboNet and DboWire classes which I would then use to get the other information (I have been able to get all the information via iterating through schematic > pages > wires). However, when I call the NextWire or NextNet my script crashes OrCAD. The classes instances calling these methods are not null.

 (continued from 3.2.20 after $lFlatNet GetName $lName)

set lFlatNetWiresIter [$lFlatNet NewWiresIter $lStatus]
# check lFlatNetWiresIter and lFlatNet for null
set lFlatNetWire [$lFlatNetWiresIter NextWire $lStatus]

 Has anyone had success using the DboFlatNetWiresIter_NextWire or DboFlatNetNetsIter_NextWire?

 

 

  • Cancel
  • oldmouldy
    oldmouldy over 12 years ago
    I think that you have assumed that the $lFlatNetWiresIter is not null and used it to "set lFlatNetWire...", you likely need a check for if($lFlatNetWiresIter != $lNullObj) or some such to make sure that you have a valid object reference for the FlatNetWiresIter before using it.
    • 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