I want to automatically load my display.drf file. I added the line
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?
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.
In reply to Magistus:
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.
In reply to dmay:
Perfect, it works! I tried yesterday
and it works too, but I think your solution is smarter.