Home > Community > Forums > Digital Implementation > finding port side

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

 finding port side  

Last post Tue, Feb 5 2013 3:59 PM by jgentry. 1 replies.
Started by victory2vicky 05 Feb 2013 04:16 AM. Topic has 1 replies and 548 views
Page 1 of 1 (2 items)
Sort Posts:
  • Tue, Feb 5 2013 4:16 AM

    finding port side Reply

    Hi All

    Is there any command or procedure to check the side of a given block port.

    I have a port i need to find on which side this port is placed (left or top or right or bottom).

     

     

    • Post Points: 20
  • Tue, Feb 5 2013 3:59 PM

    • jgentry
    • Top 150 Contributor
    • Joined on Thu, Sep 11 2008
    • Fort Collins, CO
    • Posts 51
    • Points 1,185
    Re: finding port side Reply

    You can use dbGet to see the side of the pin.  Assuming this is an "hterm" (i.e. pin of a hierarchical block 'fence'), do the following:

    set htermPtr [dbGetHTermByInstTermName full_hier_path/pin_name]

    dbGet $htermPtr.term.side

    However, it should be noted that this will return the side of the master and, thus, you would need to figure out what that transforms to if the clone has a non-R0 orient (i.e. North = South if clone is MX).  I don't know what will come back if this "block" is loaded from LEF.  Note that a LEF block's pin could be internal and not actually have a "side".

    Hope that helps, 

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by victory2vicky at 05 Feb 2013 04:16 AM. Topic has 1 replies.