| |
如果用cadence安装文件夹下的默认设置,有些设置很不喜欢。
最最讨厌的是plot出来的线条的LineThickness是fine,很细,看起来很不爽。
Q: How can i set the default line type in the wavescan no matter which PDK i am using?
A: You can refer to the "trace variables" section of wavescan manual by clicking here. Here is the setting for .cdsinit file:
envSetVal("wavescan.trace" "lineStyle" 'string "solid") will change the lines shown as solid.
envSetVal("wavescan.trace" "lineThickness" 'string "bold") will change the lines shown as bold.
In general, you can look for any environment variables for the tools (schematic editor, layout editor, spectre, ade, etc) in the .cdsenv files following directory:
$CDSHOME/tools/dfII/etc/tools
E.g. $CDSHOME/tools/dfII/etc/tools/wavescan/.cdsenv
In case the above does not work, we have an internal solution which gives the following suggestion:
1. Open Display Resources Manager in CIW by selecting Tools ->Display Resources Manager...
2. Click "Edit..." in Display Resources Tool Box.
3. Change "Tech Lib Name" to ABC.
4. Search layers "y0" and modify the display style.
5. Re-do step 4 to change "y1" "y2" ........ "y9".
6. Save the display setup.
Q: I don't quite understand your reply so let me make a guess. You have copied the display.drf file from the pdk directory to your working directory and after modifying and saving the y0,y1,etc packets, you found that the display.drf file in your working directory has changed. So you are wondering if it matters? May I know if this is your question?
It does not matter. display.drf is just for viewing the layout so it can be customized according to your preferences.
Q;now i can change my display.drf file without worry.
But still, i am somewhat confusing that why i have to change display.drf to modify the line type in the wavescan?
Why the envSet cmd in the .cdsinit file didn't work?
A:
When using wavescan with ADE, it plots signals with the same colour and line style. as the corresponding probe in the schematic, to make sure it is obvious which signal is which. Since probing and other schematic layers are controlled by layers in the tech file, and their appearance is controlled via the display.drf, that is what sets the appearance of the lines in wavescan within ADE (as well as the probe colours).
When running wavescan standalone, the .cdsenv settings are used; i.e. it doesn't have the colours overridden by ADE.