2
Setting Up Virtuoso Studio
Each time the application software runs, the application loads variables in the following order:
-
Resources in the resource database.
The resources are taken directly from the.Xdefaults. -
Variables in the <app>
_defaultsfile, where app is the application or group name. - Variables set by the application
-
Variables set by the <your_install_dir>
/tools.<plat>/<app_dir>/local/.cdsenvfile - Environment variables
-
Program loads all
.cdsenvfiles in the following order if theCDS_LOAD_ENVenvironment variable is not set: -
Program searches the following locations in order and loads variables from the first
.cdsinitfile encountered:
Individual user settings override the variables set by the application and any group customization. You can copy the .cdsenv site file to your local directory and customize it or choose Options – Save Defaults in the Command Interpreter Window (CIW) to save variable settings to a .cdsenv file.
Related Topics
Quick Start: Linux and Unix Environments
This section outlines the quick start procedure for Linux and Unix environments running X Windows graphics software.
You may need to use a root login to modify files or change permissions.
- Set up a user account.
-
Modify and apply your search path as follows:
set path = ( <
your_install_path>/bin/<app> $path ) -
Start the software by typing:
executable &
where executable is the command you want to run (for example,virtuoso).
The CIW appears after a short initialization period. You must set up plotters before you can plot a design.
Related Topics
Virtuoso Studio Design Environment Executables
Configuration and Startup Procedures
The tasks below provide a guide to the full configuration and startup procedure for your software. This document assumes you have copies of the default initialization files from <your_install_dir>/tools.<plat>/dfII/cdsuser/.* in a local directory and that you are logging in through dtlogin (perhaps from /usr/dt/bin).
- Setting the Installation Path for Cadence Tools
- Setting Up a User Account
- Setting the Focus Correctly
- Specifying Cadence Environment Variables
- Enable Access to Remote Hosts
- Modifying the .Xdefaults or Equivalent File
- Modifying the .cdsinit File
- Verifying Your System Configuration
- Distributing the User Files
- Configuring Remote Displays
- Library and Tool Issues
Setting the Installation Path for Cadence Tools
Cadence tools do not require any environment variable to specify their installation directory.
Below we only provide example using some variables for tools that require environment variable to specify the installation directory. You can select any name you want for these variables in your environment.
Cadence tools are typically installed in their own directory hierarchy. You should use different UNIX environment variables to represent each release hierarchy. The following example shows how to set installation paths in a .cshrc file (you must modify these paths to match your installation).
For information regarding setting environment variables for specific tools, refer to the documentation for that particular tool.
#*********************************************************************#
# Set path to DFII install directory
set ICHOME = /cdsIntall/cds/IC231
#
# Set path to ICC install directory
setenv ICCHOME /cdsInstall/cds/iccraft112
#
# # Set path to Innovus install directory setenv INVSHOME /dsmInstall/INVS191 # #*********************************************************************# # # Set paths to Cadence executables #(In this example, variable names are assigned for each tool path, # then set in the set path statement) # set dfiiPath = ( $ICHOME/bin ) set iccPath = ( $ICCHOME/bin ) set invsPath = ( $INVSHOME/bin ) # set path=( ~/bin \ /usr/bin /bin $dfiiPath \ $iccPath \ $assuraPath \ $invsPath \ )
#*********************************************************************#
# Set paths to license files
setenv CDS_LIC_FILE $CDSHOME/cdsbin/lmtools/license.dat/license.dat
setenv CDS_LIC_ONLY 1
#This makes license check faster both for Cadence and non-Cadence tools to segregate Cadence server in the CDS_LIC_FILE and keep only the non-cadence servers in the LM_LICENSE_FILE.
#*********************************************************************#
# END of the .cshrc file
#*********************************************************************#
Setting Up a User Account
To set up accounts for new users, you must already have created a login and home directory for each user. The <your_install_dir>/tools.<plat>/dfII/cdsuser directory contains sample home directory environment setup files.
Next, follow the steps outlined in Copying Sample Files to Your Home Directory.
Once you have set up a user account, you can modify your search path and run the software as described in Quick Start: Linux and Unix Environments.
Copying Sample Files to Your Home Directory
-
Copy the sample files to your home directory.
You can use commands similar to the following:cd cp <
your_install_dir>/tools.<plat>/dfII/samples/.??* . cp<your_install_dir>/tools.<plat>/dfII/cdsuser/.??* . -
Go through each section of the sample files and customize them for your site. Be sure to replace
/cdsdirwith <your_install_dir>.
Setting the Focus Correctly
On KDE, Red Hat Enterprise Linux, and Gnome, a newly opened window might pop up under a window or on the desktop and is not immediately visible. You can correct this as follows.
-
Open KDE Control Center or type
/usr/bin/kcontrolon LINUX command prompt to start the KDE Control Center. - Select Desktop — Window Behavior.
- Select the Advanced tab.
-
Set Focus stealing prevention level to
NoneorLow.
-
Open the System Settings form by running the following command:
LINUX> /usr/bin/systemsettings
- Click the General tab and then Window Behavior.
-
Set Focus stealing prevention level to
NoneorLow.
-
Open the Gnome Configuration Editor window by entering the
gconf-editorcommand at the terminal. - Navigate to apps — metacity — general.
-
Select
new_windows_always_on_top. -
Set the focus_new_window variable to
strict.
The default value of Single-click to open files and folders causes double-click actions to be invoked with a single click.
For information about setting the font options, see Viewing the Font List in the Virtuoso Studio Design Environment User Guide.
Specifying Cadence Environment Variables
You can specify any number of the following environment variables.
| Variable | What You Can Specify |
|---|---|
|
Sets the initial value of the |
|
|
A colon-separated path of directories (ordered by preference) in which to put the log file. If none of these directories exist or they are all not writable, the default |
|
|
A customized search order for
For more information, see “ |
|
|
Set to
Set to |
|
|
If local timestamp is defined and the value does not start with |
|
|
If defined and the value starts with |
|
|
Whether the Auto Checkout form automatically appears when you open data files using a product that has a graphical user interface (GUI) and automatic check-out capability using one of the following keywords:
|
|
|
Whether the software automatically checks out a file when you open it with a product using one of the following keywords:
If a tool has a GUI and |
|
|
Whether the Auto Checkin form appears when you close properties or files that were automatically checked out. Or if you try to exit a session without closing properties or files that were automatically checked out, while using a Cadence product that has both a GUI and automatic check-in capability using one of the following keywords:
|
|
|
Whether the software automatically checks in data files when you close properties or files that were automatically checked out or when you exit a session without closing properties or files that were automatically checked out using one of the following keywords:
If the tool has a GUI and |
|
|
Whether to dump the core with full traceback and data sections (IBM only). When an IBM workstation dumps its core, the core contains a full traceback section but no data section. Debugging typically requires the data section. |
|
|
Naming convention for preserving multiple log files using one of the following keywords: |
|
|
The address to use for shared memory.
Setting this variable turns off VO fasttime. If you set |
|
Enable Access to Remote Hosts
Work with your IT team to have the right setup working following all security guidelines.
Modifying the .Xdefaults or Equivalent File
The <your_install_dir>/tools.<plat>/dfII/cdsuser directory contains a .Xdefaults file. The X Window System normally uses the resources in the X resources database that is loaded upon login from your local .Xdefaults file.
You can copy the Cadence-provided .Xdefaults file to your local directory and modify it to contain the settings you want.
-
Copy Cadence
.Xdefaultsfile to your local directory. For example:cd cp <
your_install_dir>/tools.<plat>/dfII/cdsuser/.Xdefaults . - Modify the settings you want and save the file.
The software reads in X resources when you start your application. If you make changes to your .Xdefaults file after the software is running, these changes do not take effect until you read the resources into the X server and restart your application. You must force the server and window manager to see the file changes.
The following table identifies some of the resources that you can modify in your local .Xdefaults file. You can find examples of these resource settings in <your_install_dir>/tools.<plat>/dfII/cdsuser/.Xdefaults.
These resources use tight bindings with a period (.) instead of the usual loose bindings with an asterisk (*). The period cannot be replaced by an asterisk. Wildcard resources produce unpredictable effects on dialog boxes and menus. Cadence recommends that you restrict your resources to the list shown in the resource list above to prevent X resources from clashing with SKILL descriptions for forms and menus.
Modifying the .cdsinit File
Before you set up users, decide whether you want them to use the same .cdsinit file. The program uses the first .cdsinit file that it finds in the following order:
You can customize the .cdsinit file after you copy it into the current directory or the user home directory. Use the following guidelines when modifying the .cdsinit file:
- Group the information in the file according to the application and clearly label the application name using comment lines.
- For each setting, use comment lines to specify what the normal defaults are and to what they might be changed. Specify what you normally use.
- Warn about any settings that lead to undesirable results.
- Set the option to your normal value or to the normal default value.
- Read several files if necessary, such as
To create a site-specific file, follow these steps:
-
Copy the default file to another directory.
Type the following to copy the default file to a local directory:cp <
your_install_dir>/tools.<plat>/dfII/cdsuser/.cdsinit<your_install_dir>/tools.<plat>/dfII/local -
Edit the last line of the (system)
.cdsinitfile to read.if(isFile("./.cdsinit") then load("./.cdsinit") else when(isFile("~/.cdsinit") load("~/.cdsinit) ) )
- Save and close the file.
This allows you to customize their own .cdsinit files. Some customizations may include the following:
- You can specify the library search path for the site-specific libraries. See the Virtuoso Studio Design Environment User Guide for more information.
- You can define key bindings.
-
You can set up the environment for SKILL programming (see the Cadence SKILL Language Reference and the Cadence SKILL Language User Guide).
-
Set the log filter to display user and program results in the output area of the CIW:
hiSetFilterOptions( t t t t t t t )
-
Turn the
writeProtectswitch off:sstatus( writeProtect nil )
This switch affects only procedures loaded after the software starts running. -
Turn on the debugger:
installDebugger()
-
Set the log filter to display user and program results in the output area of the CIW:
-
If you have your own SKILL files, you can include one or more locations in the SKILL search path by adding a
setSkillPathfunction with a list of space-separated path strings such as one of the following:setSkillPath(".
skill_path")setSkillPath(strcat(". <
your_install_dir>/etcskill_path"))setSkillPath(strcat(". " prependInstallPath("/etc ") "
skill_path"))
Related Topics
Verifying Your System Configuration
The system configuration checker (<your_install_dir>/tools.<plat>/bin/checkSysConf) verifies that the operating system level, system configuration, and patch level of your machines match Cadence software requirements. To run the system configuration checker, do the following:
-
In an xterm window, type the following command to get a list of valid release names:
checkSysConf -r
Valid release names appear on your screen. -
Run the system configuration checker using a valid release name as follows:
checkSysConf
For example,validReleaseNamecheckSysConf
<current_release> | more
The system configuration checker reports system information (such as Host Name and Hostid) and verifies whether system requirements are met (such as MEMORY, SWAP, DISPLAY, PACKAGE, and PATCH requirements). Any failures to comply with system requirements for the specified release stream appear at the end of the report. For example, you might need to find out which products require a missing patch by running checkSysConf with the -p option:
checkSysConf<current_release>-ppatch
For more information about the system configuration checker, refer to the Cadence Online Support web site:
Distributing the User Files
-
Copy the files to the new user home directory.
Include the following default or site-specific files:
.cshrcor.profile .Xdefaults
Configuring Remote Displays
Normally, only specified workstations can access the X server, but you can change the access by typing one of the following commands:
| Command | Description |
|---|---|
|
Only those workstations listed in the access list, |
Library and Tool Issues
You might want to also consider the following library and tool issues:
- Creating new libraries
- Integrating other tools
- Creating menus for tools (see the Virtuoso Studio Design Environment User Guide)
- Locale Settings
dbAccess Command-Line Executable
dbAccess is a non-graphical UNIX command-line executable for using the core SKILL functionality and accessing DFII OpenAccess design and technology file data. You can also use this executable to debug Pcells and verify that they run in other environments and have no dependencies on product packages or licenses. dbAccess supports db, dd, rod, and tech functions. Since it does not have a graphical user interface, it does not support hi and ge functions.
Main Command Options
dbAccess <[-load <file-name>][-cdslibfileName]>
Description
|
Reads the specfied filename for library definitions. By default |
If you do not provide a command-line option, dbAccess switches to interactive mode and accepts commands from the keyboard or stdin.
In addition, dbAccess accepts the Virtuoso command-line options, such as: 0
However, it ignores options that require a graphical user interface.
Example
Suppose you have a SKILL file, listLibs.il, which includes commands to display the libraries specified in the cds.lib file. If a cds.lib file is not present, the default cds.lib from the installation directory is used.
The file contents are as follows:
foreach(lib ddGetLibList() printf("%s\n" lib~>name))
Now, if you run the dbAccess command and loads this SKILL file, the following output is displayed on a terminal window:
dbAccess -load listLibs.il
Virtuoso Framework License (111) was checked out successfully. Total checkout
time was 0.64s.
cdsDefTechLib
basic
US_8ths
rfLib
rfExamples
ahdlLib
analogLib
functional
The above output is generated using the default cds.lib from the installation directory.
Related Topics
Return to top