Home > Community > Forums > Digital Implementation > how to report floating terms of a cell

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: *

 how to report floating terms of a cell 

Last post Fri, Apr 25 2008 3:51 AM by archive. 1 replies.
Started by archive 25 Apr 2008 03:51 AM. Topic has 1 replies and 1095 views
Page 1 of 1 (2 items)
Sort Posts:
  • Fri, Apr 25 2008 3:51 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    how to report floating terms of a cell Reply

    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
    • Post Points: 0
  • Tue, Apr 29 2008 7:24 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: how to report floating terms of a cell Reply

    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
    • Post Points: 0
Page 1 of 1 (2 items)
Sort Posts:
Started by archive at 25 Apr 2008 03:51 AM. Topic has 1 replies.