Home > Community > Forums > Digital Implementation > dB command to get top level port names.

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

 dB command to get top level port names. 

Last post Wed, Sep 27 2006 9:15 AM by archive. 1 replies.
Started by archive 27 Sep 2006 09:15 AM. Topic has 1 replies and 1195 views
Page 1 of 1 (2 items)
Sort Posts:
  • Wed, Sep 27 2006 9:15 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    dB command to get top level port names. Reply

        Hello,
    I am looking to write a TCL script to extract the top level I/O instance names from a design.  Does anyone know of a db command in Encounter to get the names of the top level ports in the design?

    Thanks,


    Originally posted in cdnusers.org by nph
    • Post Points: 0
  • Wed, Sep 27 2006 2:09 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: dB command to get top level port names. Reply

    Hi nph,

    "dbForEachCellFTerm" can be used to loop through all of the top level ports in a design. Here's an example:

    dbForEachCellFTerm [dbHeadTopCell] fterm {
    puts "[dbFTermName $fterm]"
    }

    There are sample scripts shipped with the software that you could refer to for more examples in:

    $ENCOUNTER/tools/fe/gift/scripts/tcl/

    Hope this helps,
    Bob


    Originally posted in cdnusers.org by BobD
    • Post Points: 0
Page 1 of 1 (2 items)
Sort Posts:
Started by archive at 27 Sep 2006 09:15 AM. Topic has 1 replies.