Product Documentation
Virtuoso Schematic Editor User Guide
Product Version IC23.1, November 2023

E


Configuring and Using Kanji Notes

The Virtuoso® Schematic Editor provides a user interface that lets you create or modify EUC-packed format kanji files.

Based on the information in a kanji file, the software generates a symbol cellview that contains kanji character graphics. You can then add documentation to your schematics by placing an instance of the symbol.

You can configure your system to access the Create – Note – Kanji Note menu option for instantiating kanji note symbols in your schematic design.

The following topics are covered in this chapter.

Configuring Your System

To enable the user interface to use kanji notes you need to perform the following actions:

Specifying the Kanji Editor

The value of the invokeKanjiEditor environment variable determines which kanji EUC text editor you access from the user interface.

The default value is set to:

schematic invokeKanjiEditor string "kterm -km euc -e vi"

If the default value does not work for your system, change the default setting in your .cdsenv or .cdsinit file.

Testing the Default Setting

To test whether the default value works for your system,

If a kanji editor opens, the default value works for your system.

Configuring the Kanji Menu Command

The Create – Note – Kanji menu option is added using the enableKanjiNotes environment variable.

A bindkey (Shift<Key>k) is also available, and both this and the enableKanjiNotes envar value can be set in your .cdsenv or .cdsinit prior to loading the sample bindkeys.

For example:

Using Kanji Notes

The Create – Note – Kanji Note command lets you create symbol cellviews containing kanji characters that you can instantiate in your schematic design.

The general procedure for creating and placing a kanji note is as follows:

  1. Use a kanji text editor to create or edit a kanji EUC-formatted file.
  2. Generate a symbol cellview based on the information in the Japanese EUC-formatted file.
  3. Add an instance of the symbol cellview to your design.
See also schHiCreateKanjiSymbol in the Virtuoso Schematic Editor SKILL Functions Reference.

Formats, Files, and Views

You use Create – Note – Kanji Note to open a kanji text editor, which you then use to create a Japanese EUC packed (multiple-width) formatted file.

After you quit the kanji text editor, you click on the OK or Apply button on the Add Kanji Note form. The software will then:

The symbol cellview contains the graphics that represent the characters described in the EUC file. The software draws each character in the symbol by referencing the X and Y coordinates, which are stored in the two kanji vector files.

The kanji cellview, which the software stores in your library, contains an exact copy of the information in the source Japanese EUC packed (multiple-width) formatted file. Because this copy resides in your library, you can use the schematic editor, whenever you wish, to change the file and regenerate the associated symbol and any instances.

The software stores the symbol and the kanji cellviews in the same cell.

Adding a New Note

The basic procedure for adding a new kanji note to your schematic is to generate a new symbol and place an instance in your design. There are two ways to generate a new kanji note symbol:

Generating a Symbol from an Existing File

To generate a new kanji note symbol based on an existing Japanese EUC packed (multiple-width) formatted file,

  1. From the schematic window, choose Create – Note – Kanji Note.
    The Add Kanji Note appears.
    Figure E-2 The Add Kanji Note Form
  2. In the Kanji EUC File field, type the name of the existing EUC file.
  3. (Optional) Change the default kanji note display parameters.
  4. Click OK.
    The software will then:
    • Generate a symbol cellview
    • Create a kanji cellview
    • Open the Add Instance form and make the Add Instance command active
  5. Move your cursor into the schematic.
    A box that represents the instance of the kanji note symbol is bound to your cursor.
  6. Place the symbol instance by clicking in the schematic.
    The kanji note appears where you click your mouse. The Add Instance command remains active.
  7. Press the Esc key to end the Add Instance command.
    The Add Instance form closes.

Generating a Symbol from a New File

To generate a new kanji note symbol based on a new Japanese EUC-packed (multiple-width) formatted file:

  1. From the schematic window, choose Create – Note – Kanji Note.
    The Add Kanji Note form appears.
  2. In the File Editor field, click Open.
    The software initializes the form with a filename and the kanji text editor opens the new file.
  3. In the kanji text editor, enter your kanji text, save the file, and quit the kanji text editor.
  4. (Optional) Change the default kanji note display parameters.
  5. Click OK. The software will then:
    • Generate a symbol cellview
    • Create a kanji cellview
    • Open the Add Instance form and make the Add Instance command active
  6. Move your cursor into the schematic. A box that represents the instance of the kanji note symbol is bound to your cursor.
  7. Place the symbol instance by clicking in the schematic.
    The kanji note appears where you click your mouse. The Add Instance command remains active.
  8. Press the Esc key to end the Add Instance command.
    The Add Instance form closes.

Editing an Existing Note

To change an existing kanji note symbol and all instances of the note:

  1. Select the instance object in your schematic.
    The software highlights the object.
    You cannot edit kanji parameters in a symbol view as CDF parameters are not available. Instead, edit the kanji parameters in the schematic, copying over to the symbol view as necessary.
  2. From the schematic window, choose Edit – Properties – Objects.
    The Edit Object Properties form appears.
    The form displays the current display parameter settings as CDF values and provides access to the Kanji TextFile Editor.
    Figure E-3 Edit Object Properties Form with Kanji Fields
  3. (Optional) Open the Kanji TextFile Editor, change the kanji note text, and close the editor.
  4. The software updates the kanji cellview.
    You will not see any change in the Edit Object Properties form.
    You will not see any change in the schematic editor window until you click OK or Apply in the Edit Object Properties form.
  5. (Optional) On the Edit Object Properties form, change the parameter values.
    You will not see any change in the schematic editor window until you click OK or Apply in the Edit Object Properties form.
  6. Click OK or Apply.
    The software regenerates the symbol cellview, which changes all instances of the symbol cellview.

Limitations

You should consider the following limitations when working with kanji notes.


Return to top
 ⠀
X