Importing Layouts from GDSII

If you have existing GDSII layouts it is possible to import them into IPKISS. All you have to do is make sure the imported layers are defined in the technology and add ports. Circuit models can also be added to an imported GDSII cell so that it would behave like a normal IPKISS PCell.

GDSCell

class ipkiss3.all.GDSCell(*args, **kwargs)

A utility PCell that imports its layout from a GDSII file.

This component enables you to use static, non-ipkiss components in an ipkiss design. By exploiting inheritance you can extend this component with additional information that isn’t available in the GDS file

By default, a prefix will be added to the cells names read from the GDSII file. This prefix is by default equal to name (when set) or empty otherwise. The prefix can be selectively added by passing a library with predefined cells in unprefixed_library: Whenever a cell is found in unprefixed_library, its name will not receive a prefix. This can be used to ensure that predefined cells can be re-used as child cells within GDSCells.

For advanced examples on how to use GDSCell, have a look at the GDSII Import and GDSII remap examples.

Parameters
filename: str and String that contains only ISO/IEC 8859-1 (extended ASCII py3) or pure ASCII (py2) characters, required

filename from which to load the layout data

cell_name: ( str and String that contains only ISO/IEC 8859-1 (extended ASCII py3) or pure ASCII (py2) characters ), *None allowed*

GDS cell name to be imported (default is name if name given).

prefix: str and String that contains only ISO/IEC 8859-1 (extended ASCII py3) or pure ASCII (py2) characters

prefix to be prepended to loaded cell names

unprefixed_library: Library

Library with PCells which will not receive a name prefix when read from GDSII

name: String that contains only ISO/IEC 8859-1 (extended ASCII py3) or pure ASCII (py2) characters

The unique name of the pcell

Views

Layout = <class 'ipkiss3.pcell.gdscell.GDSCell.Layout'>

FileInputGdsii

class ipkiss.io.input_gdsii.FileInputGdsii(FileName, **kwargs)

Reads GDSII stream from file

Parameters
log_bufsize: optional

size of the input buffer, for logging

layer_map: optional

Layer map of input data

prefix: str and String that contains only ISO/IEC 8859-1 (extended ASCII py3) or pure ASCII (py2) characters, optional

prefix to be applied to the Structure names in the input library. Use to make sure input names are unique.

scaling: float and number > 0, optional

Scaling factor of input data into library

i_stream: optional

Input stream

read()

read data from a stream

Returns
Parsed data