Skip to content

IFTE-EDA/Beacon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beacon

logo

Beacon is a KLayout macro that adds constraint management for the design of analog integrated circuits.

Installation

  1. Clone this repo

  2. Open KLayout and the Macro Development IDE via MacrosMacro Development

  3. On the left side, select the Python tab

  4. Right-click in the file tree on the left and select Add Location

    Adding a new macro location

  5. Select the directory pymacros/Constraint/GUI from the cloned repo

Usage

In KLayout, select MacrosConstraint Manager.

Menu entry

Constraint Manager

The Constraint Manager lists all constraints and allows to create new constraints and verify existing ones.

Constraint manager

Adding new Constraints

In the Constraint Manager, click Add to create a new constraint. This opens the Constraint Creation Dialog, where you can select the constraint type.

Currently supported constraint types:

  • Alignment: Left/right/top/bottom/v-center/h-center alignment of two or more instances with respect to an axis
  • Global Orientation: Orientation of one or more instances in the top cell
  • Matched Orientation: The orientation of two or more instances should match
  • Self Symmetry: A single instance should be placed symmetrically to a horizontal or vertical axis
  • Symmetry: Exactly two instances should be placed symmetrically to a horizontal or vertical axis

The axes of alignment and symmetry constraints can be reused.

Constraint Creation Dialog

Constraint Visualization

In the Constraint Manager you can select individual constraints or instances to highlight them in KLayout. The axes of alignment or symmetry constraints are shown as well.

Selecting constraints highlights them in the layout

Constraint Verification

To verify the constraints, click Check in the Constraint Manager. This will open the bultin Marker Database Browser to show the results. Unfulfilled constraints are sorted by category. Individual instances can be selected to get more information on the violation and to highlight their location in the layout.

Verification results are shown in the Marker Database Browser

About

Constraint management for KLayout.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages