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- Comments
- Library Definition: maps a name to a library path (e.g. a stdcell library)
- Library Map Includes: reference to include another
*.klibfile (e.g. a set of libraries useful for the PDK)
- NOTE: alternatively to this plugin, you could also put them in
~/.klayout/libraries/
Menu Commands
- In the File Menu, there are commands related to the library manager:
- Use File→New Hierarchical Layout… to configure a new hierarchical layout:
- With a Hierarchical Layout open, use File→Manage Cell Library Map… to manage the cell libraries:
- With a Hierarchical Layout open, use File→Save Hierarchical Layout [As]… to save the layout.
Installation using KLayout Package Manager
- From the main menu, click Tools→Manage Packages to open the package manager
- Locate the
LibraryManagerPlugin, double-click it to select for installation, then click Apply - Review and close the package installation report
- (If needed,) confirm macro execution