The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines. Oct 23rd, 2017, 3:45pm
  HomeHelpSearchLoginRegisterPM to admin  
 
Pages: 1
Send Topic Print
Not effective envSetVal() for Layout in Cadence Virtuoso (Read 265 times)
cheap_salary
Senior Member
****
Offline



Posts: 122

Not effective envSetVal() for Layout in Cadence Virtuoso
Jul 28th, 2017, 1:09am
 
I've used "envSetVal()" in ".cdsinit" for setting my custom enviroments like following.
Code:
envSetVal("layout" "startLevel" 'int 0)
envSetVal("layout" "stopLevel" 'int 32)

;[Set Working Grid]
envSetVal("layout" "xSnapSpacing" 'float 0.005) ; [um]
envSetVal("layout" "ySnapSpacing" 'float 0.005) ; [um]

;[Set Display Minor Grid]
envSetVal("layout" "gridSpacing" 'float 0.1) ; Minor Spacing [um]

;[Set Display MajorGrid]
envSetVal("layout" "gridMultiple" 'int 5) ; (=Major_Spacing/Minor_Spacing)

envSetVal("layout" "dynamicHilightOn" 'boolean nil) 



But these can not be effective recently.
What causes prevent to change environment ?
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1616
Bracknell, UK
Re: Not effective envSetVal() for Layout in Cadence Virtuoso
Reply #1 - Aug 2nd, 2017, 9:23pm
 
Not sure this is in the right forum (probably should have been in Entry Tools) - but never mind.

My guess is that you have saved the environment settings to your design or library. For example at the bottom of the Options->Display form there are choices to save the settings to CellView, Library, Tech Library or cdsenv.

If this has been done, then these win over any cdsenv settings. The highest priority is the cellView, then library, then tech library, then the cdsenv settings.

You can tell if this has been done by looking at the cellView properties (File->Properties in the layout editor), or in the library manager over the library name (or tech library name) Right Mouse->Properties and if there's a property called "viewProps" with a button EXPAND, then you can expand and see maskLayout (and EXPAND again) and then see the individual settings.

The Options->Display form has the ability to Delete from the location it's saved to - so that can be a way of removing these library or cellView-specific settings if that hadn't been intended.

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
cheap_salary
Senior Member
****
Offline



Posts: 122

Re: Not effective envSetVal() for Layout in Cadence Virtuoso
Reply #2 - Aug 7th, 2017, 7:22am
 
Andrew Beckett wrote on Aug 2nd, 2017, 9:23pm:
My guess is that you have saved the environment settings to your design or library.
Thanks for response.

I delete cellview property.
Now "envSetVal("layout",....)" in ".cdsinit" are effective.

BTW, I can set grid setting for layout at startup on Virtuoso by ".cdsinit".

However I can not change grid setting dynamically during session by "envSetVal("layout",....)".

How can I change grid setting dynamically during session by skill-language ?
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1616
Bracknell, UK
Re: Not effective envSetVal() for Layout in Cadence Virtuoso
Reply #3 - Aug 7th, 2017, 10:21am
 
Assuming you mean the gridSpacing or gridMultiple then:

hiGetCurrentWindow()~>gridSpacing=0.2
hiGetCurrentWindow()~>gridMultiple=10

If you were talking about the snap spacing, then it would be xSnapSpacing or ySnapSpacing.

Put another way, you set attributes on the window to affect the current layout window; the cdsenv vars (or cellView/lib/tech lib properties) only affect new windows.

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Trouble viewing this site? Copyright © 2002-2014 Designer's Guide Consulting. 'Designer's Guide' is a registered trademark of Designer's Guide LLC. All rights reserved.

Our colleges are not as safe as they seem. Sexual assault is pervasive and the treatment of the victim by the adminstration is often as damaging as the assault: Campus Survivors, Campus Survivors Forum.

Some of our other sites that you might find useful: QuantiPhy.