Skip to content

Commit a8bedf7

Browse files
author
Matthias Koefferlein
committed
DRC doc update
1 parent 9f16f07 commit a8bedf7

File tree

9 files changed

+36
-27
lines changed

9 files changed

+36
-27
lines changed

src/doc/doc/about/drc_ref.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE language SYSTEM "klayout_doc.dtd">
33

4-
<!-- generated by /home/matthias/klayout/master/scripts/drc_lvs_doc/extract_doc.rb -->
4+
<!-- generated by /home/matthias/klayout/master2/scripts/drc_lvs_doc/extract_doc.rb -->
55
<!-- DO NOT EDIT! -->
66

77
<doc>

src/doc/doc/about/drc_ref_drc.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE language SYSTEM "klayout_doc.dtd">
33

4-
<!-- generated by /home/matthias/klayout/master/scripts/drc_lvs_doc/extract_doc.rb -->
4+
<!-- generated by /home/matthias/klayout/master2/scripts/drc_lvs_doc/extract_doc.rb -->
55
<!-- DO NOT EDIT! -->
66

77
<doc>

src/doc/doc/about/drc_ref_global.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE language SYSTEM "klayout_doc.dtd">
33

4-
<!-- generated by /home/matthias/klayout/master/scripts/drc_lvs_doc/extract_doc.rb -->
4+
<!-- generated by /home/matthias/klayout/master2/scripts/drc_lvs_doc/extract_doc.rb -->
55
<!-- DO NOT EDIT! -->
66

77
<doc>

src/doc/doc/about/drc_ref_layer.xml

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE language SYSTEM "klayout_doc.dtd">
33

4-
<!-- generated by /home/matthias/klayout/master/scripts/drc_lvs_doc/extract_doc.rb -->
4+
<!-- generated by /home/matthias/klayout/master2/scripts/drc_lvs_doc/extract_doc.rb -->
55
<!-- DO NOT EDIT! -->
66

77
<doc>
@@ -1448,7 +1448,7 @@ pl = polygon_layer
14481448
pl.insert(box(0.0, 0.0, 100.0, 200.0)
14491449
</pre>
14501450
</p>
1451-
<a name="inside"/><h2>"inside" - Selects edges or polygons of self which are inside edges or polygons from the other layer</h2>
1451+
<a name="inside"/><h2>"inside" - Selects edges, edge pairs or polygons of self which are inside edges or polygons from the other layer</h2>
14521452
<keyword name="inside"/>
14531453
<p>Usage:</p>
14541454
<ul>
@@ -1459,6 +1459,10 @@ If layer is a polygon layer, the other layer needs to be a polygon layer too.
14591459
In this case, this method selects all polygons which are completely inside
14601460
polygons from the other layer.
14611461
</p><p>
1462+
If layer is an edge pair layer, the other layer needs to be a polygon layer.
1463+
In this case, this method selects all edge pairs which are completely inside
1464+
polygons from the other layer.
1465+
</p><p>
14621466
If layer is an edge layer, the other layer can be polygon or edge layer. In the
14631467
first case, all edges completely inside the polygons from the other layer are
14641468
selected. If the other layer is an edge layer, all edges completely contained
@@ -1548,7 +1552,7 @@ otherwise individual shapes are selected.
15481552
It returns a new layer containing the selected shapes. A version which modifies self
15491553
is <a href="#select_interacting">select_interacting</a>.
15501554
</p><p>
1551-
This method is available for polygon, text and edge layers. Edges can be selected
1555+
This method is available for polygon, text, edge and edge pair layers. Edges and edge pairs can be selected
15521556
with respect to other edges or polygons. Texts can be selected with respect to
15531557
polygons. Polygons can be selected with respect to edges, texts and other polygons.
15541558
</p><p>
@@ -1846,6 +1850,7 @@ The following images shows the effect of the "moved" method:
18461850
<ul>
18471851
<li><tt>layer.nets</tt></li>
18481852
<li><tt>layer.nets(net_filter)</tt></li>
1853+
<li><tt>layer.nets(net_object)</tt></li>
18491854
<li><tt>layer.nets(circuit_filter, net_filter)</tt></li>
18501855
<li><tt>layer.nets(netter, ...)</tt></li>
18511856
<li><tt>layer.nets(prop(key), ...)</tt></li>
@@ -1863,7 +1868,7 @@ A glob-style name pattern can be supplied to filter nets. Nets are always
18631868
complete - subnets from subcircuits are not selected. The net name is taken from
18641869
the net's home circuit (to topmost location where all net connections are formed).
18651870
You can specify a circuit filter to select nets from certain circuits only or
1866-
give a <class_doc href="Circuit">Circuit</class_doc> object explicitly.
1871+
give a <class_doc href="Circuit">Circuit</class_doc> object explicitly. You can also specify <class_doc href="Net">Net</class_doc> objects directly.
18671872
</p><p>
18681873
<pre>
18691874
connect(metal1, via1)
@@ -2024,14 +2029,14 @@ The following image shows the effect of the "not_in" method (input1: red, input2
20242029
</tr>
20252030
</table>
20262031
</p>
2027-
<a name="not_inside"/><h2>"not_inside" - Selects edges or polygons of self which are not inside edges or polygons from the other layer</h2>
2032+
<a name="not_inside"/><h2>"not_inside" - Selects edges, edge pairs or polygons of self which are not inside edges or polygons from the other layer</h2>
20282033
<keyword name="not_inside"/>
20292034
<p>Usage:</p>
20302035
<ul>
20312036
<li><tt>layer.not_inside(other)</tt></li>
20322037
</ul>
20332038
<p>
2034-
This method computes the inverse of <a href="#inside">inside</a> - i.e. edges or polygons from the layer
2039+
This method computes the inverse of <a href="#inside">inside</a> - i.e. edge, edge pairs or polygons from the layer
20352040
not being inside polygons or edges from the other layer.
20362041
</p><p>
20372042
This method returns a new layer containing the selected shapes. A version which modifies self
@@ -2080,7 +2085,7 @@ otherwise individual shapes are selected.
20802085
It returns a new layer containing the selected shapes. A version which modifies self
20812086
is <a href="#select_not_interacting">select_not_interacting</a>.
20822087
</p><p>
2083-
This method is available for polygon, text and edge layers. Edges can be selected
2088+
This method is available for polygon, text, edge and edge pair layers. Edges and edge pairs can be selected
20842089
with respect to other edges or polygons. Texts can be selected with respect to
20852090
polygons. Polygons can be selected with respect to edges, texts and other polygons.
20862091
</p><p>
@@ -2108,14 +2113,14 @@ from the other layer. Two polygons overlapping or touching at two locations are
21082113
</tr>
21092114
</table>
21102115
</p>
2111-
<a name="not_outside"/><h2>"not_outside" - Selects edges or polygons of self which are not outside edges or polygons from the other layer</h2>
2116+
<a name="not_outside"/><h2>"not_outside" - Selects edges, edge pairs or polygons of self which are not outside edges or polygons from the other layer</h2>
21122117
<keyword name="not_outside"/>
21132118
<p>Usage:</p>
21142119
<ul>
21152120
<li><tt>layer.not_outside(other)</tt></li>
21162121
</ul>
21172122
<p>
2118-
This method computes the inverse of <a href="#outside">outside</a> - i.e. edges or polygons from the layer
2123+
This method computes the inverse of <a href="#outside">outside</a> - i.e. edges, edge pairs or polygons from the layer
21192124
not being outside polygons or edges from the other layer.
21202125
</p><p>
21212126
This method returns a new layer containing the selected shapes. A version which modifies self
@@ -2289,7 +2294,7 @@ check2.output("Check 2", second_report)
22892294
check3.output("Check 3")
22902295
</pre>
22912296
</p>
2292-
<a name="outside"/><h2>"outside" - Selects edges or polygons of self which are outside edges or polygons from the other layer</h2>
2297+
<a name="outside"/><h2>"outside" - Selects edges, edge pairs or polygons of self which are outside edges or polygons from the other layer</h2>
22932298
<keyword name="outside"/>
22942299
<p>Usage:</p>
22952300
<ul>
@@ -2300,6 +2305,10 @@ If layer is a polygon layer, the other layer needs to be a polygon layer too.
23002305
In this case, this method selects all polygons which are entirely outside
23012306
polygons from the other layer.
23022307
</p><p>
2308+
If layer is an edge pair layer, the other layer needs to be a polygon layer.
2309+
In this case, this method selects all edge pairs which are entirely outside
2310+
polygons from the other layer.
2311+
</p><p>
23032312
If layer is an edge layer, the other layer can be polygon or edge layer. In the
23042313
first case, all edges entirely outside the polygons from the other layer are
23052314
selected. If the other layer is an edge layer, all edges entirely outside
@@ -2501,7 +2510,7 @@ provides a way to pull shapes from other to the hierarchy to self.
25012510
</p><p>
25022511
This method will neither modify self nor other.
25032512
</p><p>
2504-
This method is available for polygon, edge and text layers, similar to interacting.
2513+
This method is available for polygon, edge, edge pair and text layers, similar to interacting.
25052514
</p>
25062515
<a name="pull_overlapping"/><h2>"pull_overlapping" - Selects shapes or regions of other which overlap shapes from the this region</h2>
25072516
<keyword name="pull_overlapping"/>
@@ -2720,7 +2729,7 @@ is <a href="#covering">covering</a>.
27202729
</p><p>
27212730
This method is available for polygons only.
27222731
</p>
2723-
<a name="select_inside"/><h2>"select_inside" - Selects edges or polygons of self which are inside edges or polygons from the other layer</h2>
2732+
<a name="select_inside"/><h2>"select_inside" - Selects edges, edge pairs or polygons of self which are inside edges or polygons from the other layer</h2>
27242733
<keyword name="select_inside"/>
27252734
<p>Usage:</p>
27262735
<ul>
@@ -2746,7 +2755,7 @@ otherwise individual shapes are selected.
27462755
It modifies self to contain the selected shapes. A version which does not modify self
27472756
is <a href="#interacting">interacting</a>.
27482757
</p><p>
2749-
This method is available for polygon, text and edge layers. Edges can be selected
2758+
This method is available for polygon, text, edge and edge pair layers. Edges and edge pairs can be selected
27502759
with respect to other edges or polygons. Texts can be selected with respect to
27512760
polygons. Polygons can be selected with respect to edges, texts and other polygons.
27522761
</p><p>
@@ -2773,7 +2782,7 @@ is <a href="#not_covering">not_covering</a>.
27732782
</p><p>
27742783
This method is available for polygons only.
27752784
</p>
2776-
<a name="select_not_inside"/><h2>"select_not_inside" - Selects edges or polygons of self which are not inside edges or polygons from the other layer</h2>
2785+
<a name="select_not_inside"/><h2>"select_not_inside" - Selects edges, edge pairs or polygons of self which are not inside edges or polygons from the other layer</h2>
27772786
<keyword name="select_not_inside"/>
27782787
<p>Usage:</p>
27792788
<ul>
@@ -2799,7 +2808,7 @@ otherwise individual shapes are selected.
27992808
It modifies self to contain the selected shapes. A version which does not modify self
28002809
is <a href="#not_interacting">not_interacting</a>.
28012810
</p><p>
2802-
This method is available for polygon, text and edge layers. Edges can be selected
2811+
This method is available for polygon, text, edge and edge pair layers. Edges or edge pairs can be selected
28032812
with respect to other edges or polygons. Texts can be selected with respect to
28042813
polygons. Polygons can be selected with respect to edges, texts and other polygons.
28052814
</p><p>
@@ -2808,7 +2817,7 @@ number of (different) shapes from the other layer. If a min and max count is giv
28082817
self are selected only if they interact with less than min_count or more than max_count different shapes
28092818
from the other layer. Two polygons overlapping or touching at two locations are counted as single interactions.
28102819
</p>
2811-
<a name="select_not_outside"/><h2>"select_not_outside" - Selects edges or polygons of self which are not outside edges or polygons from the other layer</h2>
2820+
<a name="select_not_outside"/><h2>"select_not_outside" - Selects edges, edge pairs or polygons of self which are not outside edges or polygons from the other layer</h2>
28122821
<keyword name="select_not_outside"/>
28132822
<p>Usage:</p>
28142823
<ul>
@@ -2836,7 +2845,7 @@ is <a href="#not_overlapping">not_overlapping</a>.
28362845
</p><p>
28372846
This method is available for polygons only.
28382847
</p>
2839-
<a name="select_outside"/><h2>"select_outside" - Selects edges or polygons of self which are outside edges or polygons from the other layer</h2>
2848+
<a name="select_outside"/><h2>"select_outside" - Selects edges, edge pairs or polygons of self which are outside edges or polygons from the other layer</h2>
28402849
<keyword name="select_outside"/>
28412850
<p>Usage:</p>
28422851
<ul>
@@ -3278,7 +3287,7 @@ The options of this method are the same than <a href="#covering">covering</a>.
32783287
<li><tt>(a, b) = layer.split_inside(other)</tt></li>
32793288
</ul>
32803289
<p>
3281-
This method returns the polygons or edges inside of polygons or edges from the other layer in
3290+
This method returns the polygons, edge pairs or edges inside of polygons or edges from the other layer in
32823291
one layer and all others in a second layer. This method is equivalent to calling
32833292
<a href="#inside">inside</a> and <a href="#not_inside">not_inside</a>, but is faster than doing this in separate steps:
32843293
</p><p>
@@ -3310,7 +3319,7 @@ The options of this method are the same than <a href="#interacting">interacting<
33103319
<li><tt>(a, b) = layer.split_outside(other)</tt></li>
33113320
</ul>
33123321
<p>
3313-
This method returns the polygons or edges outside of polygons or edges from the other layer in
3322+
This method returns the polygons, edge pairs or edges outside of polygons or edges from the other layer in
33143323
one layer and all others in a second layer. This method is equivalent to calling
33153324
<a href="#outside">outside</a> and <a href="#not_outside">not_outside</a>, but is faster than doing this in separate steps:
33163325
</p><p>

src/doc/doc/about/drc_ref_netter.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE language SYSTEM "klayout_doc.dtd">
33

4-
<!-- generated by /home/matthias/klayout/master/scripts/drc_lvs_doc/extract_doc.rb -->
4+
<!-- generated by /home/matthias/klayout/master2/scripts/drc_lvs_doc/extract_doc.rb -->
55
<!-- DO NOT EDIT! -->
66

77
<doc>

src/doc/doc/about/drc_ref_source.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE language SYSTEM "klayout_doc.dtd">
33

4-
<!-- generated by /home/matthias/klayout/master/scripts/drc_lvs_doc/extract_doc.rb -->
4+
<!-- generated by /home/matthias/klayout/master2/scripts/drc_lvs_doc/extract_doc.rb -->
55
<!-- DO NOT EDIT! -->
66

77
<doc>

src/doc/doc/about/lvs_ref.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE language SYSTEM "klayout_doc.dtd">
33

4-
<!-- generated by /home/matthias/klayout/master/scripts/drc_lvs_doc/extract_doc.rb -->
4+
<!-- generated by /home/matthias/klayout/master2/scripts/drc_lvs_doc/extract_doc.rb -->
55
<!-- DO NOT EDIT! -->
66

77
<doc>

src/doc/doc/about/lvs_ref_global.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE language SYSTEM "klayout_doc.dtd">
33

4-
<!-- generated by /home/matthias/klayout/master/scripts/drc_lvs_doc/extract_doc.rb -->
4+
<!-- generated by /home/matthias/klayout/master2/scripts/drc_lvs_doc/extract_doc.rb -->
55
<!-- DO NOT EDIT! -->
66

77
<doc>

src/doc/doc/about/lvs_ref_netter.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE language SYSTEM "klayout_doc.dtd">
33

4-
<!-- generated by /home/matthias/klayout/master/scripts/drc_lvs_doc/extract_doc.rb -->
4+
<!-- generated by /home/matthias/klayout/master2/scripts/drc_lvs_doc/extract_doc.rb -->
55
<!-- DO NOT EDIT! -->
66

77
<doc>

0 commit comments

Comments
 (0)