Home > Community > Forums > Custom IC SKILL > How to check the existence of a layout database in a particular Directory/Library?

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 check the existence of a layout database in a particular Directory/Library? 

Last post Tue, Jul 14 2009 9:08 AM by Andrew Beckett. 3 replies.
Started by IC Layout 14 Jul 2009 06:35 AM. Topic has 3 replies and 889 views
Page 1 of 1 (4 items)
Sort Posts:
  • Tue, Jul 14 2009 6:35 AM

    • IC Layout
    • Top 150 Contributor
    • Joined on Sat, Mar 7 2009
    • Hyderabad, Andhra Pradesh
    • Posts 53
    • Points 1,155
    How to check the existence of a layout database in a particular Directory/Library? Reply

     Hi! All, I have two small questions...Please let me know....

    If I have a directory structure like this

    1. FLIP_FLOP/D_FF/layout  -- How to check whether layout is empty or not?

    2. In the same way How to check whether 'layout' directory in 'FLIP_FLOP/D_FF'  exist or not?

    Thanks in Advance..

    Prabhakar. K -- Layout Engineer

     

    • Post Points: 35
  • Tue, Jul 14 2009 6:57 AM

    Re: How to check the existence of a layout database in a particular Directory/Library? Reply

     ddGetObj("FLIP_FLOP" "D_FF" "layout")

    will return nil if there's no layout view. What do you mean by "empty"? Do you mean there's a layout view, but there are no shapes or instances within it? Or what do you mean?

    Regards,

    Andrew.

    • Post Points: 20
  • Tue, Jul 14 2009 8:55 AM

    • IC Layout
    • Top 150 Contributor
    • Joined on Sat, Mar 7 2009
    • Hyderabad, Andhra Pradesh
    • Posts 53
    • Points 1,155
    Re: How to check the existence of a layout database in a particular Directory/Library? Reply

     Yes, There is a layout view but there are no shapes or instances.

    • Post Points: 5
  • Tue, Jul 14 2009 9:08 AM

    Re: How to check the existence of a layout database in a particular Directory/Library? Reply
    cv=dbOpenCellViewByType("FLIP_FLOP" "D_FF" "layout")
    nonEmpty=cv && (cv~>shapes || cv~>instances) && t

    IC Layout wrote:
    > Yes, There is a layout view but there are no shapes or instances.
    >
    >
    >
    >
    > You received this email because you subscribed to notifications for the
    > Cadence Custom IC SKILL Forum. To unsubscribe, log in, go to forums, and
    > change your forum subscriptions.
    >
    > http://www.cadence.com/community/forums/ForumSubscriptions.aspx
    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by IC Layout at 14 Jul 2009 06:35 AM. Topic has 3 replies.