KLayout Plugin: Library Manager for Hierarchical Layouts

September 29, 2025 · View on GitHub

  • Boost your layout productivity with hierarchical layouts

This add-on can be installed through KLayout package manager, see installation instructions here

Usage

Basics

  • Hierarchical layouts have suffix *.klay (and are technically OASIS files with special metadata)
  • A library is just a Layout, with its top cells representing library cells
  • Library maps have suffix *.klib (and are basically JSON files with a special schema), they can contain
    1. Comments
    2. Library Definition: maps a name to a library path (e.g. a stdcell library)
    3. Library Map Includes: reference to include another *.klib file (e.g. a set of libraries useful for the PDK)
  • NOTE: alternatively to this plugin, you could also put them in ~/.klayout/libraries/
  1. In the File Menu, there are commands related to the library manager:

Menu commands related to the KLayout Library Manager

  1. Use FileNew Hierarchical Layout… to configure a new hierarchical layout:

Create New Hierarchical Layout

  1. With a Hierarchical Layout open, use FileManage Cell Library Map… to manage the cell libraries:

Create New Hierarchical Layout

  1. With a Hierarchical Layout open, use FileSave Hierarchical Layout [As]… to save the layout.

Installation using KLayout Package Manager

  1. From the main menu, click ToolsManage Packages to open the package manager
  2. Locate the LibraryManagerPlugin, double-click it to select for installation, then click Apply
  3. Review and close the package installation report
  4. (If needed,) confirm macro execution