Product Documentation
Cadence SKILL IDE User Guide
Product Version IC23.1, August 2023

Extracting Documentation using Finder Manager

After you add inline documentation strings in your SKILL/SKILL++ source files, you are ready to generate finder-compatible documentation using Finder Manager. Finder Manager processes the code blocks containing inline documentation strings and saves the output in a finder (.fnd) file.

To create a finder file from your source file:

  1. Start the Finder assistant by choosing Window Assistants – Finder. The Finder assistant displays.
  2. Click (Finder Manager) in the Finder assistant toolbar. The Finder Manager window displays.
  3. In the Finder paths section, specify additional directories for Finder database files. When you launch the Finder assistant, Finder will look for finder database files (*.fnd) under these directories.
    • Click Add Finder Path ( ) to add a new directory path in the Finder paths section. A directory path can be added only once.
    • Click Remove selected path from the path list ( ) to remove the selected directory path from the Finder paths section.
    • Click Move path up in the list ( ) or Move path down in the list ( ) to move a directory path up or down the list. Moving a directory path up or down the list changes the order in which Finder will search the finder database files.

    If a directory path listed in the Finder paths section is long and appears truncated, you can hover the mouse pointer over the path to view the full path in a tooltip.
    The finder database reloads every time you add or remove a directory path, or move it up or down the list.
  4. In the Generate documentation for Finder (fnd) section, specify the required source and destination information:
    1. In the Source field, browse or type the name of the directory that has the source files containing inline documentation strings.
      Finder Manager looks only for files with the extension .il/.ils. If the specified directory path does not contain any .il/.ils file, the documentation will not be generated.
    2. In the Destination field, specify the directory path under which you want to save the generated finder (.fnd) file.
    3. In the Section field, specify a section name for the generated finder (.fnd) file. The default name is inline, which means the finder (.fnd) file will be created under a directory named inline under your destination directory.
      Your finder (.fnd) file will be created two directory levels below the path you specify in the Destination field. For example, if your source file is named inline.il and you specify the following information in the Destination and Section fields:
      Destination: /home/user/skillide
      Section: inline_doc
      A file named inline.fnd will be created under:
      /home/user/skillide/SKILL/inline_doc/
  5. Select the Overwrite existing files check box to overwrite any existing finder (.fnd) file in the destination path.
  6. Select the Add to Finder paths check box to add the path of the generated finder (.fnd) file in the $CDS_FINDER_PATH environment variable. Finder loads its data from the paths specified in this environment variable.
  7. Click Generate to generate the finder (.fnd) file. The Generating fnd files progress box displays.
    After the file generation process completes, you can check the generated finder (.fnd) file under the directory path specified in the Generate documentation for finder (fnd) section.

You can also use a corresponding SKILL script, genFndFiles.il, which is located at tools/dfII/samples/skill/ in your Virtuoso installation directory.

The syntax to run it is as follows:

genFndFiles.il -d directory_with_SKILL_files -o output_directory -v log_file

For example:

genFndFiles.il -d .fnd/source -o .fnd/output -v .fnd/log.txt

Related Topics

SKILL IDE Document Generation

Documentation-specific Code

Output Formatting

Viewing the Generated Documentation in Finder

Specifying Additional Finder Data Directories


Return to top
 ⠀
X