• 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. Digital Implementation
  3. how to report floating terms of a cell

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 90
  • Views 13389
  • 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

how to report floating terms of a cell

archive
archive over 17 years ago

Hi
I need to extract all cells in a design which have floating output terms.Is there any encounter command for the same.
The terms may be connected to a net but the net may be dangling.So effectively the term is floating.

Thanks
Abhishek


Originally posted in cdnusers.org by abhiroy03
  • Cancel
Parents
  • archive
    archive over 17 years ago

    Hi Abhishek, Thanks for posting this question to the forum. The "checkNetlist" command reports the number of floating output terminals, but it doesn't tell you which ones they are unfortunately. There's room for enhancement there for sure, and I'd encourage you to file a request through the Cadence support channels you interact with. As a workaround, or in general when you have focused characteristics you'd like to search for in your design, you can use db access commands in Encounter. There are 2 styles of db access commands: "FE-TCL" and "dbGet". dbGet debuted in 7.1 and provides a more intuitive relational representation of the db. FE-TCL is the long standing db access mechanism in Encounter. I've included sample solutions for your query in both styles below for your reference: Puts "dbGet example:" foreach outputTerm [dbGet -p top.insts.instTerms.isOutput 1] { set net [dbGet $outputTerm.net] if {$net > 0} { if {[dbGet $net.numInputTerms] == 0} { Puts "[dbGet $outputTerm.name] connects to net [dbGet $net.name] which is floating" } } else { Puts "[dbGet $outputTerm.name] is floating" } } Puts "FE-TCL example:" dbForEachCellInst [dbHeadTopCell] inst { dbForEachInstTerm $inst term { if {[dbIsTermOutput $term]} { set net [dbTermNet $term] if {$net > 0} { if {[dbNetNrFanOut $net] == 0} { Puts "[dbInstName [dbTermInst $term]]/[dbTermName $term] connects to net [dbNetName $net] which is floating" } } else { Puts "[dbInstName [dbTermInst $term]]/[dbTermName $term] is floating" } } } } Please do post back if you have further questions. Regards, Bob


    Originally posted in cdnusers.org by BobD
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • archive
    archive over 17 years ago

    Hi Abhishek, Thanks for posting this question to the forum. The "checkNetlist" command reports the number of floating output terminals, but it doesn't tell you which ones they are unfortunately. There's room for enhancement there for sure, and I'd encourage you to file a request through the Cadence support channels you interact with. As a workaround, or in general when you have focused characteristics you'd like to search for in your design, you can use db access commands in Encounter. There are 2 styles of db access commands: "FE-TCL" and "dbGet". dbGet debuted in 7.1 and provides a more intuitive relational representation of the db. FE-TCL is the long standing db access mechanism in Encounter. I've included sample solutions for your query in both styles below for your reference: Puts "dbGet example:" foreach outputTerm [dbGet -p top.insts.instTerms.isOutput 1] { set net [dbGet $outputTerm.net] if {$net > 0} { if {[dbGet $net.numInputTerms] == 0} { Puts "[dbGet $outputTerm.name] connects to net [dbGet $net.name] which is floating" } } else { Puts "[dbGet $outputTerm.name] is floating" } } Puts "FE-TCL example:" dbForEachCellInst [dbHeadTopCell] inst { dbForEachInstTerm $inst term { if {[dbIsTermOutput $term]} { set net [dbTermNet $term] if {$net > 0} { if {[dbNetNrFanOut $net] == 0} { Puts "[dbInstName [dbTermInst $term]]/[dbTermName $term] connects to net [dbNetName $net] which is floating" } } else { Puts "[dbInstName [dbTermInst $term]]/[dbTermName $term] is floating" } } } } Please do post back if you have further questions. Regards, Bob


    Originally posted in cdnusers.org by BobD
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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