Home > Community > Forums > Custom IC SKILL > Problems with: drLoadDrf("~/GHzT/display.drf" nil)

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

 Problems with: drLoadDrf("~/GHzT/display.drf" nil) 

Last post Wed, May 21 2014 4:20 AM by Magistus. 3 replies.
Started by Magistus 19 May 2014 05:21 AM. Topic has 3 replies and 323 views
Page 1 of 1 (4 items)
Sort Posts:
  • Mon, May 19 2014 5:21 AM

    • Magistus
    • Not Ranked
    • Joined on Fri, May 3 2013
    • Posts 8
    • Points 85
    Problems with: drLoadDrf("~/GHzT/display.drf" nil) Reply

     

    Hi,

    I want to automatically load my display.drf file. I added the line

    drLoadDrf("~/GHzT/display.drf" nil)

    in my .cdsinit but it has no effect. If I execute this command in the CIW directly after starting virtuoso and after that I open a layout, my display.drf is also not loaded. But if I open the layout before I execute this command, the display.drf loads correctly and the layers appears as I want to.

    Can anyone tell me what I am doing wrong?

    Thank you!

    Sascha

    PS: Sorry for my bad english!
    • Post Points: 5
  • Tue, May 20 2014 9:13 AM

    • Magistus
    • Not Ranked
    • Joined on Fri, May 3 2013
    • Posts 8
    • Points 85
    Re: Problems with: drLoadDrf("~/GHzT/display.drf" nil) Reply

    Update:

    I tried also

    envSetVal("graphic" "drfPath" 'string "./display.drf")

    in my .cdsinit but it has the same effect. It only works after openig a layout.

    • Post Points: 20
  • Tue, May 20 2014 10:14 AM

    • dmay
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 394
    • Points 7,420
    Re: Problems with: drLoadDrf("~/GHzT/display.drf" nil) Reply

    It could be that the library containing the cellview you are opening has a display.drf defined inside of it. To work around the problem, you could open the library in your .cdsinit before running the drLoadDrf command. In our projects, we have a PDK library that contains all of our technology file settings and a default display.drf. This library is named the same in all projects. By doing a ddGetObj("libName") on the library in the .cdsinit, we can force the skill pcell code to get loaded at Cadence startup instead of at the library access time. This is probably why my drLoadDrf works in my .cdsinit.

    Derek

    • Post Points: 20
  • Wed, May 21 2014 4:20 AM

    • Magistus
    • Not Ranked
    • Joined on Fri, May 3 2013
    • Posts 8
    • Points 85
    Re: Problems with: drLoadDrf("~/GHzT/display.drf" nil) Reply

    Perfect, it works! I tried yesterday

    deRegUserTriggers("maskLayout" 'DisplayDrfLoad)
    procedure(DisplayDrfLoad(l)
    drLoadDrf("./display.drf")
    )

    and it works too, but I think your solution is smarter.

    Thank you!

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by Magistus at 19 May 2014 05:21 AM. Topic has 3 replies.