Home > Community > Forums > Custom IC SKILL > Moving a schematic object without loosing the connectivity

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

 Moving a schematic object without loosing the connectivity 

Last post Thu, Sep 6 2012 3:53 AM by Leo John. 2 replies.
Started by Leo John 06 Sep 2012 02:54 AM. Topic has 2 replies and 1018 views
Page 1 of 1 (3 items)
Sort Posts:
  • Thu, Sep 6 2012 2:54 AM

    • Leo John
    • Not Ranked
    • Joined on Mon, Jun 25 2012
    • Bangalore, Karnataka
    • Posts 6
    • Points 190
    Moving a schematic object without loosing the connectivity Reply

    Hello,

    I'm trying to move a set of schematic objects using skill. I'm using the function schStretch so that I don't loose the connectivity.
    Suppose, I've a mos instance in a schematic. Using the below commands, I'm replicating the scenario.
    css()~>xy => (1.0 1.0) ; the initial location of the instance
    tr = list( 1:1 "R0" )
    schStretch( list(css()) tr )
    css()~>xy =>(2.0 2.0) ; moved by (1 1) specified in the transform.

    But, when the transform is, say
    tr = list( 1.008:1 "R0" )
    schStretch( list(css()) tr )
    css()~>xy =>(2.00625 2.0)
    I was expecting the location to be (2.008 1).

    Why is this happening? Isn't this what's expected out of this command? If not what's the command to move an object(all sch objects) by a distance without loosing the connectivity?

    Any help would be appreciated.

    Thanks,
    Leo

     

    • Post Points: 20
  • Thu, Sep 6 2012 3:47 AM

    Re: Moving a schematic object without loosing the connectivity Reply

    Leo,

    The underlying database uses integers to represent coordinates and has a concept of "database units" and "user units".

    For schematics the user units are usually "inch" and there are 160 database units per user unit. For example:

    cv=geGetEditCellView()
    cv~>userUnits
    "inch"
    cv~>DBUPerUU
    160.0

    Because of that, you cannot represent a user unit of 2.008 in the database, and so it rounds to the nearest database units - hence 2.00625. 

    Regards,

    Andrew.

     

    • Post Points: 20
  • Thu, Sep 6 2012 3:53 AM

    • Leo John
    • Not Ranked
    • Joined on Mon, Jun 25 2012
    • Bangalore, Karnataka
    • Posts 6
    • Points 190
    Re: Moving a schematic object without loosing the connectivity Reply

    Hi Andrew,
    Thanks a lot for the quick reply and resolving the confusion.

    Regards,
    Leo

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by Leo John at 06 Sep 2012 02:54 AM. Topic has 2 replies.