Download Chapter 8 ick Start Manual – Viewer Mode

Transcript
Chapter 8. QSM – Basics and Viewer Mode
8.3.3.1
8.3. Advanced viewing operations
Removing and adding layers to the layer set
.
. View from the layer list context menu by right mouse
Insert Layer
To create a layer, choose Layers Context
buon click on the layer list. en, an input dialog Select Source prompts for the source specification. e
source specification tells from which actual data layer to take the displayed data from. e most simple
form of a source specification is layer/datatype (i.e. “5/0”) or the layer name, if an OASIS layer name is
present. is specification can be enhanced by a layout index. e first layout loaded in the panel is
referred to with “@1” or by omiing this specification. e source specification “10/5@2” therefore refers
to layer 10 and datatype 5 of the second layout loaded in the panel.
Listing 8.1: Dialog Select Source – Layer Source Specification
1
2
3
4
<layer>/<datatype>{@<layout index>}
*/<datatype>{@<layout index>}
<layer>/*{@<layout index>}
<Layer Name>
// general valid
// valid in group context, see next paragraph
//
for detailed description
// valid if OASIS layer name exists
Source specifications can be wild-carded. at means, either layer, data type or layout index can be specified by “*”. In this case, such a layer must be contained in a group and the group parent must provide the
missing specifications. For example, if a layer is specified as “10/*” and the parent is specified as “*/5”, the
effective layer looked for will be “10/5”. Unlike the behavior for the display styles, the children override
(or specialize) the parent’s definition in the case of the source specification.
e layer list can be cleaned up to remove layer views that do not correspond to actual layout layers using
.
. Views from the context menu. Similar, layers that are present in the
Clean Up
the function Layers Context
.
. Views method.
Add Other
layout, but no view created, can be added using the Layers Context
8.3.3.2
Transforming views
e source specification described in the section before is much more powerful than just allowing to describe the data source. In addition to that, the layer can be geometrically transformed and the display can
be confined to shapes that belong to a certain class described by a property selector.
A geometrical transformation is specified by appending a transformation in round brackets to the layer /
datatype source specification. e format of this transformation is (not necessarily in this order):
Listing 8.2: Dialog Select Source – Transformation
{ ( {<dx>,<dy>} {r<angle>|m<angle>}{*<mag>} ) }
For example:
(r90)
(0,100.0 m45 *0.5)
specifies a rotation by 90 degree counter-clockwise.
will shrink the layout to half the size, flip at the 45 degree-axis (swap x and y
axes) and finally shi the layout by 100 micron upwards.
A comprehensive explanation of the transformation syntax can be found in section 6.3: Transformations
in KLayout.
Transformations accumulate over the layer hierarchy. is means, that if a layer is transformed and the
layer is inside a group whose representative specifies a transformation as well, the resulting transformation
is the combination of the layer’s transformation (first applied) and the group representative’s transformation.
Multiple transformations can be present. In this case, the layout is shown in multiple instances.
A particular application is to regroup layers by layout index and assign a transformation to the group
representative belonging to a certain layout such that the layouts get aligned.
88
Version 0.21
KLayout