Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
virtuoso schematic composer_5.0.pdf
Скачиваний:
97
Добавлен:
05.06.2015
Размер:
3.8 Mб
Скачать

Virtuoso Schematic Composer User Guide

Customizing the Schematic Composer

1. In your .cdsenv file, change

schematic symGridSpacing float 0.125000 nil schematic schGridSpacing float 0.125000 nil

to

schematic symGridSpacing float 0.100000 nil schematic schGridSpacing float 0.100000 nil

2. To change the snap spacing, set

schematic symSnapSpacing float 0.050000 nil schematic schSnapSpacing float 0.050000 nil

Customizing Bindkeys

You can use the following procedure to customize the bindkeys.

Locating the schBindKeys.il Bindkey File

Bindkeys for the schematic and symbol editors are defined in theschBindKeys.il file, located in your installation directory.

The example shows how the file contents typically appear.

bk("Schematics" "<Key>F6" "hiRedraw()") bk("Symbol" "<Key>z" "hiZoomIn()")

The full path to the schBindKeys.il file is

your_install_dir/tools/dfII/samples/local/schBindKeys.il

where your_install_dir is the path to your installation directory.

Locating Your Installation Directory

To find the path to your installation directory, do the following:

In the CIW, type

getInstallPath

The software returns the path to your installation directory.

Note: This procedure assumes you or your system administrator has installed the Cadencesupplied schBindKeys.il file. If you are using a locally supplied file, substitute the appropriate path.

1. In a UNIX window, copy the schBindKeys.il file to your home directory:

October 2002

492

Product Version 5.0

Virtuoso Schematic Composer User Guide

Customizing the Schematic Composer

cp your_install_dir/tools/dfII/samples/local/schBindKeys.il ~/.

2. Use your editor to open and edit the file contents.

The example shows how the file contents typically appear.

bk("Schematics" "<Key>F6" "hiRedraw()") bk("Symbol" "<Key>z" "hiZoomIn()")

You can edit the following four elements for each bindkey setting:

The application name in the syntax specifies

 

when the bindkey applies; for example, when

Sets F6 to redraw the screen.

you run the schematic editor.

bk("Schematics" "<Key>F6" "hiRedraw()")

bk is the alias for the hiSetBindKey() function, which sets bindkeys.

You can set a bindkey to perform any SKILL function.

1. When you are finished editing the file, save and close it.

Loading Your Customized Bindkey File

After you create your custom schBindKeys.il file, you can

Load the file for the current session only

Configure your system to automatically load the file whenever you start a new session

To load the new file for the current session, do the following:

In the CIW, type

load "path_to_file/schBindKeys.il"

where path_to_file is the path to your custom schBindKeys.il file.

To configure your system to load your customschBindKeys.il file automatically whenever you open a new session, do the following:

Add a line to your .cdsinit file that loads the new bindkey file.

For example:

load "path_to_file/schBindKeys.il"

where path_to_file is the full path to your custom schBindKeys.il file.

October 2002

493

Product Version 5.0

Virtuoso Schematic Composer User Guide

Customizing the Schematic Composer

Loading the Cadence-Supplied Bindkey File

To load the Cadence-supplied bindkey file automatically, do the following:

1.In a UNIX window, open your .cdsinit file; for example, vi ~/.cdsinit

2.Add the following line to the file:

load(prependInstallPath("samples/local/schBindKeys.il"))

where prependInstallPath is a function.

3.Save and close the file.

The next time you start the Cadence software, the .cdsinit file loads the schBindkeys.il file automatically.

If you have already started the Cadence software, you can load the bindkeys manually, for the current session, by using the following procedure.

In the CIW, type

load(prependInstallPath("samples/local/schBindKeys.il"))

where prependInstallPath is a function.

Customizing the Configuration File

The configuration file,schConfig.il, contains the definitions of the public global SKILL variables that you can customize. The contents are organized into four groups: Schematic Editor, Symbol Editor, Symbol Generator, and HDL.

Using SKILL variables, you customize certain command form fields to change the list of choices.

You might want to customize the configuration file to limit or expand the options the editor displays on certain forms or fields. These options include choices such as sheet sizes, pin types, view names, and block sizes.

The configuration file is located in your installation directory:

your_install_dir/tools/dfII/samples/local/schConfig.il

To find your installation directory, do the following:

In the CIW, type

getInstallPath

October 2002

494

Product Version 5.0

Virtuoso Schematic Composer User Guide

Customizing the Schematic Composer

You can add or delete choices to the schConfig.il file anytime before you complete any schematic functionality in an interactive session. You can load the schConfig.il file at any time during the session to make new changes effective.

Opening the Configuration File

To create a custom schConfig.il file, you edit the sections of the file that define the behavior you want to modify.

To create a custom configuration file, do the following:

1.Copy the schConfig.il file from your installation directory to your current directory by typing the following:

cp your_install_dir/tools/dfII/samples/local .

To find your installation directory, in the CIW type

getInstallPath

2. Use a text editor to open the schConfig.il file.

Editing the Configuration File

Caution

Do not change the IL structure in this file. The structure is necessary so that the choices on the schematic and symbol forms read properly.

To edit the configuration file, do the following:

1.Search for a variable name.

2.Use the text editor to edit the file.

The file is organized into four groups: Schematic Editor, Symbol Editor, Symbol Generator, and HDL. The variable names are sorted alphabetically within each category.

3.Save the file.

Loading the Configuration File

To load the local configuration file for your current session, do the following:

In the CIW, type

October 2002

495

Product Version 5.0

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]