Identify Cells by Layout¶
This tutorial will show you how to use the layout matcher to identify project cells by their layout. Only use if you have a gdsii library to compare against.
Import GDSII Files into the Reference Library¶
The first step is to import a library of GDSII files into the reference library.
In the
Cells, click theGolden Lib GDSbutton:
In the
Golden Lib GDSwindow, click theImport Layout Reference Cellsbutton:
In the
Import Reference Layout Cellsdialog, specify a library name for the layouts to import. Set the layer number and data type that corresponds to the m1 layout, and the layer number and data type that corresponds to the text layer with the port names. Finally, set the directory the GDSII files are stored in, and click theImportbutton.
In the
Golden Lib GDS Resultswindow, click theManage Layout Reference Cellsbutton:
The imported layout reference cells can be viewed in the manager window:

Click the
Closebutton after verifying that the layout cells were imported correctly.
Settings¶
Open a project.
In the
Golden Lib GDS Resultswindow, click theGolden Lib GDS Settingsbutton to bring up the settings window:
Set the Reference Layout Library that should be used by the Golden Lib GDS.
During the matching process, any match with a correlation score below the Minimum Correlation will automatically be discarded.
During the matching process, any reference cell that has a width or height that differs by more than the Maximum Cell Boundary Difference from the target cell’s width or height will automatically be discarded. This constraint makes the matching process go much faster, because fewer correlations need to be performed.
Click the
Okbutton to save the settings.
Device Properties¶
- In the
Hometab, click theDevice Propertieswindow. - Make sure that the
Metal 1layer has been specified in the project. - Click the
Okbutton.
Compare Cell¶
Select a target cell instance in the project.
In the
Golden Lib GDS Resultswindow, click theIdentify the selected cellbutton:
The possible matches will be displayed:

Confirm Result¶
Click the
Confirm the selected matchbutton to confirm the selected match as valid.
The
Confirm Matchdialog displays the identified cell name and port mapping:
Click the
Confirmbutton to rename the cell and ports.