Home > Community > Forums > Digital Implementation > dbGet query inst/term driver

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

 dbGet query inst/term driver 

Last post Wed, Sep 18 2013 6:50 AM by fitz. 2 replies.
Started by fitz 18 Sep 2013 06:11 AM. Topic has 2 replies and 409 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, Sep 18 2013 6:11 AM

    • fitz
    • Top 150 Contributor
    • Joined on Wed, Aug 4 2010
    • Kanata, Ontario
    • Posts 56
    • Points 745
    dbGet query inst/term driver Reply

    I have a list of max transition terminal violations from a third party tool : ( .
    ie.  <inst>/<term> max_tran tran violation
    coding/CODING_SW_REGS_inst/v8_lite_inst/A   0.6800   0.7106  -0.0306 (VIOLATED)

    I would like to find out the instname/cellname and netname of the driver driving a specific "terminal".
    Online support search pointed me to the following  ... very very close ... but not quite.

    Useful single line dbGet scripts
    Solution ID:    11598038

    27. To find out the instname/cellname of the driver driving a specific net.
        set netName <netName>
        set inst [dbGet [dbGet -p [dbGet -p top.nets.name $netName].allTerms.isOutput 1].inst]
        Puts "Net: $netName, driving inst name: [dbGet $inst.name], driving cell name: [dbGet $inst.cell.name]"

    Any dbGet gurus out there??

    Shawn

    Filed under:
    • Post Points: 20
  • Wed, Sep 18 2013 6:25 AM

    • BobD
    • Top 25 Contributor
    • Joined on Fri, Jul 11 2008
    • Chelmsford, MA
    • Posts 247
    • Points 9,325
    Re: dbGet query inst/term driver Reply
    Hi Shawn,

    Looks like you need to traverse from instTerm to net then you'll have it?

    With dbGet you can string match on instTerm off the inst like this:
    encounter 3> dbGet [dbGet -p top.insts.instTerms.name i2/A].net
    0x2aaab4c7e0c0

    But really, this is one of those cases where I find it more straightforward to go to older-style FE-TCL commands for a single command that gets instTerm pointer by name:
    encounter 4> dbGetTermByInstTermName i2/A
    0x2aaab51a5110
    encounter 5> dbGet [dbGetTermByInstTermName i2/A].net
    0x2aaab4c7e0c0

    Either way should work the same.

    Hope this helps!
    -Bob
    • Post Points: 20
  • Wed, Sep 18 2013 6:50 AM

    • fitz
    • Top 150 Contributor
    • Joined on Wed, Aug 4 2010
    • Kanata, Ontario
    • Posts 56
    • Points 745
    Re: dbGet query inst/term driver Reply
    Bob: Bingo, Thank You.
    When I get past this tape out I 'm going to seriously study dbGet.
    Shawn

     

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by fitz at 18 Sep 2013 06:11 AM. Topic has 2 replies.