Doc fixes

This commit is contained in:
Matthias Koefferlein 2022-12-09 23:21:09 +01:00
parent 88e960b7cf
commit 3e9d66ea6d
12 changed files with 114 additions and 112 deletions

View File

@ -51,9 +51,9 @@ def escape(mod, s)
s.gsub("&", "&").
gsub("<", "&lt;").
gsub(">", "&gt;").
gsub(/\\\\([\w:#]+)/) { create_link(mod, $1) }.
gsub(/\\([\w:#]+)/) { create_ref(mod, $1) }.
gsub(/RBA::([\w#]+)/) { create_class_doc_ref($1) }
gsub(/\\\\([\w:#\?]+)/) { create_link(mod, $1) }.
gsub(/\\([\w:#\?]+)/) { create_ref(mod, $1) }.
gsub(/RBA::([\w#\?]+)/) { create_class_doc_ref($1) }
end
def unescape(s)

View File

@ -36,7 +36,6 @@ The following global functions are relevant for the DRC expressions:
<li><a href="/about/drc_ref_global.xml#bbox_max">bbox_max</a> </li>
<li><a href="/about/drc_ref_global.xml#bbox_min">bbox_min</a> </li>
<li><a href="/about/drc_ref_global.xml#bbox_width">bbox_width</a> </li>
<li><a href="/about/drc_ref_global.xml#case">case</a> </li>
<li><a href="/about/drc_ref_global.xml#corners">corners</a> </li>
<li><a href="/about/drc_ref_global.xml#covering">covering</a> </li>
<li><a href="/about/drc_ref_global.xml#enc">enc</a> </li>
@ -71,6 +70,7 @@ The following global functions are relevant for the DRC expressions:
<li><a href="/about/drc_ref_global.xml#smoothed">smoothed</a> </li>
<li><a href="/about/drc_ref_global.xml#space">space</a> </li>
<li><a href="/about/drc_ref_global.xml#squares">squares</a> </li>
<li><a href="/about/drc_ref_global.xml#switch">switch</a> </li>
<li><a href="/about/drc_ref_global.xml#width">width</a> </li>
<li><a href="/about/drc_ref_global.xml#with_holes">with_holes</a> </li>
</ul>

View File

@ -16,7 +16,7 @@
</ul>
<p>
"angle" represents the edge orientation filter on the primary shape edges in
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#angle">DRC#angle</a> for more details). In this context,
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#angle">angle</a> for more details). In this context,
the operation acts similar to <a href="/about/drc_ref_layer.xml#with_angle">Layer#with_angle</a>.
</p>
<a name="antenna_check"/><h2>"antenna_check" - Performs an antenna check</h2>
@ -41,7 +41,7 @@ is equivalent to "layer.area" (see <a href="/about/drc_ref_layer.xml#area">Layer
polygons in the layer.
</p><p>
Without a layer argument, "area" represents an area filter for primary shapes in
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#area">DRC#area</a> for more details).
<a href="/about/drc_ref_global.xml">global</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#area">area</a> for more details).
</p>
<a name="area_ratio"/><h2>"area_ratio" - Selects primary shapes based on the ratio of bounding box and polygon area</h2>
<keyword name="area_ratio"/>
@ -50,7 +50,7 @@ Without a layer argument, "area" represents an area filter for primary shapes in
<li><tt>area_ratio (in condition)</tt></li>
</ul>
<p>
See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#area_ratio">area_ratio</a> and <a href="/about/drc_ref_drc.xml#area_ratio">DRC#area_ratio</a> for more details.
See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#area_ratio">area_ratio</a> and <a href="/about/drc_ref_global.xml#area_ratio">area_ratio</a> for more details.
</p>
<a name="bbox_aspect_ratio"/><h2>"bbox_aspect_ratio" - Selects primary shapes based on the aspect ratio of their bounding boxes</h2>
<keyword name="bbox_aspect_ratio"/>
@ -59,7 +59,7 @@ See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#area_ratio">
<li><tt>bbox_aspect_ratio (in condition)</tt></li>
</ul>
<p>
See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#bbox_aspect_ratio">bbox_aspect_ratio</a> and <a href="/about/drc_ref_drc.xml#bbox_aspect_ratio">DRC#bbox_aspect_ratio</a> for more details.
See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#bbox_aspect_ratio">bbox_aspect_ratio</a> and <a href="/about/drc_ref_global.xml#bbox_aspect_ratio">bbox_aspect_ratio</a> for more details.
</p>
<a name="bbox_height"/><h2>"bbox_height" - Selects primary shapes based on their bounding box height</h2>
<keyword name="bbox_height"/>
@ -73,7 +73,7 @@ bounding box height satisfies the condition. Conditions may be written as arithm
against numeric values. For example, "bbox_height &lt; 2.0" will select all primary shapes whose
bounding box height is less than 2 micrometers. See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> for more details about comparison
specs. Plain "bbox_min" is equivalent to "primary.bbox_min" - i.e. it is used on the primary
shape. Also see <a href="/about/drc_ref_drc.xml#bbox_min">DRC#bbox_min</a>.
shape. Also see <a href="/about/drc_ref_global.xml#bbox_min">bbox_min</a>.
</p>
<a name="bbox_max"/><h2>"bbox_max" - Selects primary shapes based on their bounding box height or width, whichever is larger</h2>
<keyword name="bbox_max"/>
@ -82,7 +82,7 @@ shape. Also see <a href="/about/drc_ref_drc.xml#bbox_min">DRC#bbox_min</a>.
<li><tt>bbox_max (in condition)</tt></li>
</ul>
<p>
See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#bbox_max">bbox_max</a> and <a href="/about/drc_ref_drc.xml#bbox_max">DRC#bbox_max</a> for more details.
See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#bbox_max">bbox_max</a> and <a href="/about/drc_ref_global.xml#bbox_max">bbox_max</a> for more details.
</p>
<a name="bbox_min"/><h2>"bbox_min" - Selects primary shapes based on their bounding box height or width, whichever is smaller</h2>
<keyword name="bbox_min"/>
@ -91,7 +91,7 @@ See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#bbox_max">bb
<li><tt>bbox_max (in condition)</tt></li>
</ul>
<p>
See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#bbox_min">bbox_min</a> and <a href="/about/drc_ref_drc.xml#bbox_min">DRC#bbox_min</a> for more details.
See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#bbox_min">bbox_min</a> and <a href="/about/drc_ref_global.xml#bbox_min">bbox_min</a> for more details.
</p>
<a name="bbox_width"/><h2>"bbox_width" - Selects primary shapes based on their bounding box width</h2>
<keyword name="bbox_width"/>
@ -100,7 +100,7 @@ See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#bbox_min">bb
<li><tt>bbox_max (in condition)</tt></li>
</ul>
<p>
See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#bbox_height">bbox_height</a> and <a href="/about/drc_ref_drc.xml#bbox_height">DRC#bbox_height</a> for more details.
See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#bbox_height">bbox_height</a> and <a href="/about/drc_ref_global.xml#bbox_height">bbox_height</a> for more details.
</p>
<a name="bjt3"/><h2>"bjt3" - Supplies the BJT3 transistor extractor class</h2>
<keyword name="bjt3"/>
@ -359,7 +359,7 @@ See <a href="/about/drc_ref_netter.xml#connect_implicit">Netter#connect_implicit
This function can be used with a layer argument. In this case it
is equivalent to "layer.corners" (see <a href="/about/drc_ref_layer.xml#corners">Layer#corners</a>). Without a layer
argument, "corners" represents the corner generator/filter in primary shapes for
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#corners">DRC#corners</a> for more details).
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#corners">corners</a> for more details).
</p><p>
Like the layer-based version, the "corners" operator accepts the
output type option: "as_dots" for dot-like edges, "as_boxes" for
@ -380,7 +380,7 @@ This operator represents the selector of primary shapes
which entirely cover shapes from the other layer. This version can be put into
a condition indicating how many shapes of the other layer need to be covered.
Use this operator within <a href="/about/drc_ref_drc.xml">DRC</a> expressions (also see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>). If can be used
as method to an expression. See there for more details: <a href="/about/drc_ref_drc.xml#covering">DRC#covering</a>.
as method to an expression. See there for more details: <a href="/about/drc_ref_global.xml#covering">covering</a>.
</p>
<a name="dbu"/><h2>"dbu" - Gets or sets the database unit to use</h2>
<keyword name="dbu"/>
@ -721,7 +721,7 @@ See <a href="/about/drc_ref_source.xml#extent">Source#extent</a> for a descripti
This function can be used with a layer argument. In this case it
is equivalent to "layer.extent_refs" (see <a href="/about/drc_ref_layer.xml#extent_refs">Layer#extent_refs</a>). Without a layer
argument, "extent_refs" represents the partial extents extractor on primary shapes within
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#extent_refs">DRC#extent_refs</a> for more details).
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#extent_refs">extent_refs</a> for more details).
</p>
<a name="extents"/><h2>"extents" - Returns the bounding box of each input object</h2>
<keyword name="extents"/>
@ -734,7 +734,7 @@ argument, "extent_refs" represents the partial extents extractor on primary shap
This function can be used with a layer argument. In this case it
is equivalent to "layer.extents" (see <a href="/about/drc_ref_layer.xml#extents">Layer#extents</a>). Without a layer
argument, "extents" represents the extents generator on primary shapes within
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#extents">DRC#extents</a> for more details).
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#extents">extents</a> for more details).
</p>
<a name="extract_devices"/><h2>"extract_devices" - Extracts devices for a given device extractor and device layer selection</h2>
<keyword name="extract_devices"/>
@ -813,7 +813,7 @@ argument, "holes" represents a hole extractor for primary shapes in
This function can be used with a layer argument. In this case it
is equivalent to "layer.hulls" (see <a href="/about/drc_ref_layer.xml#hulls">Layer#hulls</a>). Without a layer
argument, "hulls" represents a hull contour extractor for primary shapes in
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#hulls">DRC#hulls</a> for more details).
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#hulls">hulls</a> for more details).
</p>
<a name="if_all"/><h2>"if_all" - Evaluates to the primary shape when all condition expression results are non-empty</h2>
<keyword name="if_all"/>
@ -888,7 +888,7 @@ this method.
This operator represents the selector of primary shapes
which are inside shapes from the other layer.
Use this operator within <a href="/about/drc_ref_drc.xml">DRC</a> expressions (also see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>). If can be used
as method to an expression. See there for more details: <a href="/about/drc_ref_drc.xml#inside">DRC#inside</a>.
as method to an expression. See there for more details: <a href="/about/drc_ref_global.xml#inside">inside</a>.
</p>
<a name="interacting"/><h2>"interacting" - Selects shapes interacting with other shapes</h2>
<keyword name="interacting"/>
@ -901,7 +901,7 @@ This operator represents the selector of primary shapes
which interact with shapes from the other layer. This version can be put into
a condition indicating how many shapes of the other layer need to be covered.
Use this operator within <a href="/about/drc_ref_drc.xml">DRC</a> expressions (also see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>). If can be used
as method to an expression. See there for more details: <a href="/about/drc_ref_drc.xml#interacting">DRC#interacting</a>.
as method to an expression. See there for more details: <a href="/about/drc_ref_global.xml#interacting">interacting</a>.
</p>
<a name="is_deep?"/><h2>"is_deep?" - Returns true, if in deep mode</h2>
<keyword name="is_deep?"/>
@ -1049,7 +1049,7 @@ For further methods on the source object see <a href="/about/drc_ref_source.xml"
This function can be used with a layer argument. In this case it
is equivalent to "layer.length" (see <a href="/about/drc_ref_layer.xml#length">Layer#length</a>). Without a layer
argument, "length" represents the edge length filter on the primary shape edges in
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#length">DRC#length</a> for more details). In this context,
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#length">length</a> for more details). In this context,
the operation acts similar to <a href="/about/drc_ref_layer.xml#with_length">Layer#with_length</a>.
</p>
<a name="log"/><h2>"log" - Outputs as message to the logger window</h2>
@ -1136,7 +1136,7 @@ See also <a href="#max_area_ratio">max_area_ratio</a> for the other option affec
This function can be used with a layer argument. In this case it
is equivalent to "layer.middle" (see <a href="/about/drc_ref_layer.xml#middle">Layer#middle</a>). Without a layer
argument, "middle" represents the bounding box center marker generator on primary shapes within
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#middle">DRC#middle</a> for more details).
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#middle">middle</a> for more details).
</p>
<a name="mos3"/><h2>"mos3" - Supplies the MOS3 transistor extractor class</h2>
<keyword name="mos3"/>
@ -1267,7 +1267,7 @@ layout if is report database.
This operator represents the selector of primary shapes
which are outside shapes from the other layer.
Use this operator within <a href="/about/drc_ref_drc.xml">DRC</a> expressions (also see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>). If can be used
as method to an expression. See there for more details: <a href="/about/drc_ref_drc.xml#outside">DRC#outside</a>.
as method to an expression. See there for more details: <a href="/about/drc_ref_global.xml#outside">outside</a>.
</p>
<a name="overlap"/><h2>"overlap" - Performs an overlap check</h2>
<keyword name="overlap"/>
@ -1330,7 +1330,7 @@ This operator represents the selector of primary shapes
which overlap shapes from the other layer. This version can be put into
a condition indicating how many shapes of the other layer need to be covered.
Use this operator within <a href="/about/drc_ref_drc.xml">DRC</a> expressions (also see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>). If can be used
as method to an expression. See there for more details: <a href="/about/drc_ref_drc.xml#overlapping">DRC#overlapping</a>.
as method to an expression. See there for more details: <a href="/about/drc_ref_global.xml#overlapping">overlapping</a>.
</p>
<a name="p"/><h2>"p" - Creates a point object</h2>
<keyword name="p"/>
@ -1370,7 +1370,7 @@ is equivalent to "layer.perimeter" (see <a href="/about/drc_ref_layer.xml#perime
total perimeter of all polygons in the layer.
</p><p>
Without a layer argument, "perimeter" represents a perimeter filter for primary shapes in
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#perimeter">DRC#perimeter</a> for more details).
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#perimeter">perimeter</a> for more details).
</p>
<a name="polygon"/><h2>"polygon" - Creates a polygon object</h2>
<keyword name="polygon"/>
@ -1424,7 +1424,7 @@ is called on.
This function can be used with a layer argument. In this case it
is equivalent to "layer.rectangles" (see <a href="/about/drc_ref_layer.xml#rectangles">Layer#rectangles</a>). Without a layer
argument, "rectangles" represents the rectangles filter for primary shapes in
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#rectangles">DRC#rectangles</a> for more details).
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#rectangles">rectangles</a> for more details).
</p>
<a name="rectilinear"/><h2>"rectilinear" - Selects all polygons which are rectilinear</h2>
<keyword name="rectilinear"/>
@ -1437,7 +1437,7 @@ argument, "rectangles" represents the rectangles filter for primary shapes in
This function can be used with a layer argument. In this case it
is equivalent to "layer.rectilinear" (see <a href="/about/drc_ref_layer.xml#rectilinear">Layer#rectilinear</a>). Without a layer
argument, "rectilinear" represents the rectilinear polygons filter for primary shapes in
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#rectilinear">DRC#rectilinear</a> for more details).
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#rectilinear">rectilinear</a> for more details).
</p>
<a name="region_overlap"/><h2>"region_overlap" - Specifies region selected input in "overlap mode"</h2>
<keyword name="region_overlap"/>
@ -1486,7 +1486,7 @@ To remove this condition, call "region_touch" without any arguments.
<li><tt>relative_height (in condition)</tt></li>
</ul>
<p>
See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#relative_height">relative_height</a> and <a href="/about/drc_ref_drc.xml#relative_height">DRC#relative_height</a> for more details.
See <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a>, <a href="#relative_height">relative_height</a> and <a href="/about/drc_ref_global.xml#relative_height">relative_height</a> for more details.
</p>
<a name="report"/><h2>"report" - Specifies a report database for output</h2>
<keyword name="report"/>
@ -1570,7 +1570,7 @@ about this extractor.
This function can be used with a layer argument. In this case it
is equivalent to "layer.rounded_corners" (see <a href="/about/drc_ref_layer.xml#rounded_corners">Layer#rounded_corners</a>). Without a layer
argument, "rounded_corners" represents the corner rounding algorithm on primary shapes within
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#rounded_corners">DRC#rounded_corners</a> for more details).
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#rounded_corners">rounded_corners</a> for more details).
</p>
<a name="secondary"/><h2>"secondary" - Provides secondary input for the "drc" universal DRC function</h2>
<keyword name="secondary"/>
@ -1703,7 +1703,7 @@ This function is equivalent to "verbose(false)" (see <a href="#verbose">verbose<
This function can be used with a layer argument. In this case it
is equivalent to "layer.sized" (see <a href="/about/drc_ref_layer.xml#sized">Layer#sized</a>). Without a layer
argument, "sized" represents the polygon sizer on primary shapes within
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#sized">DRC#sized</a> for more details).
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#sized">sized</a> for more details).
</p>
<a name="smoothed"/><h2>"smoothed" - Applies smoothing</h2>
<keyword name="smoothed"/>
@ -1716,7 +1716,7 @@ argument, "sized" represents the polygon sizer on primary shapes within
This function can be used with a layer argument. In this case it
is equivalent to "layer.smoothed" (see <a href="/about/drc_ref_layer.xml#smoothed">Layer#smoothed</a>). Without a layer
argument, "smoothed" represents the polygon smoother on primary shapes within
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#smoothed">DRC#smoothed</a> for more details).
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#smoothed">smoothed</a> for more details).
</p>
<a name="source"/><h2>"source" - Specifies a source layout</h2>
<keyword name="source"/>
@ -1815,7 +1815,7 @@ See <a href="#enclosing">enclosing</a> for more details about the various ways t
This function can be used with a layer argument. In this case it
is equivalent to "layer.squares" (see <a href="/about/drc_ref_layer.xml#squares">Layer#squares</a>). Without a layer
argument, "squares" represents the rectangles filter for primary shapes in
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#squares">DRC#squares</a> for more details).
<a href="/about/drc_ref_drc.xml">DRC</a> expressions (see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#squares">squares</a> for more details).
</p>
<a name="switch"/><h2>"switch" - A conditional selector for the "drc" universal DRC function</h2>
<keyword name="switch"/>
@ -2056,7 +2056,7 @@ shape.
<p>
"with_holes" represents a polygon selector for
<a href="/about/drc_ref_drc.xml">DRC</a> expressions selecting polygons of the primary by their number of holes
(see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_drc.xml#with_holes">DRC#with_holes</a> for more details).
(see <a href="/about/drc_ref_layer.xml#drc">Layer#drc</a> and <a href="/about/drc_ref_global.xml#with_holes">with_holes</a> for more details).
</p>
<a name="write_spice"/><h2>"write_spice" - Defines SPICE output format (with options)</h2>
<keyword name="write_spice"/>

View File

@ -198,7 +198,7 @@ and <class_doc href="EdgePair">EdgePair</class_doc> objects are accepted too and
objects. <class_doc href="Region">Region</class_doc>, <class_doc href="Edges">Edges</class_doc> and <class_doc href="EdgePair">EdgePair</class_doc> objects are accepted as well and the corresponding
content of that collections is inserted into the output layer.
</p><p>
Other versions are available that allow translation of objects into other types (<a href="#collect_to_polygons">collect_to_polygons</a>,
Other versions are available that allow translation of objects into other types (<a href="#collect_to_region">collect_to_region</a>,
<a href="#collect_to_edges">collect_to_edges</a> and <a href="#collect_to_edge_pairs">collect_to_edge_pairs</a>).
</p><p>
Because this method executes inside the interpreter, it's inherently slow. Tiling does not
@ -461,11 +461,11 @@ For the conversion of edges, edge pairs and polygons into other types, these
methods are provided:
</p><p>
<ul>
<li>"<a href="/about/drc_ref_drc.xml#polygons">DRC#polygons</a>": converts edge pairs to polygons </li>
<li>"<a href="/about/drc_ref_drc.xml#extended">DRC#extended</a>", "<a href="/about/drc_ref_drc.xml#extended_in">DRC#extended_in</a>", "<a href="/about/drc_ref_drc.xml#extended_out">DRC#extended_out</a>": converts edges to polygons </li>
<li>"<a href="/about/drc_ref_drc.xml#first_edges">DRC#first_edges</a>", <a href="/about/drc_ref_drc.xml#second_edges">DRC#second_edges</a>": extracts edges from edge pairs </li>
<li>"<a href="/about/drc_ref_drc.xml#edges">DRC#edges</a>": decomposes edge pairs and polygons into edges </li>
<li>"<a href="/about/drc_ref_drc.xml#corners">DRC#corners</a>": can extract corners from polygons </li>
<li>"<a href="/about/drc_ref_global.xml#polygons">polygons</a>": converts edge pairs to polygons </li>
<li>"<a href="/about/drc_ref_global.xml#extended">extended</a>", "<a href="/about/drc_ref_global.xml#extended_in">extended_in</a>", "<a href="/about/drc_ref_global.xml#extended_out">extended_out</a>": converts edges to polygons </li>
<li>"<a href="/about/drc_ref_global.xml#first_edges">first_edges</a>", <a href="/about/drc_ref_global.xml#second_edges">second_edges</a>": extracts edges from edge pairs </li>
<li>"<a href="/about/drc_ref_global.xml#edges">edges</a>": decomposes edge pairs and polygons into edges </li>
<li>"<a href="/about/drc_ref_global.xml#corners">corners</a>": can extract corners from polygons </li>
</ul>
</p><p>
The following example decomposes the primary polygons into edges:
@ -506,8 +506,8 @@ The "drc" framework supports the following edge and edge/polygon operations:
</p><p>
<ul>
<li>Edge vs. edge and edge vs. polygon booleans </li>
<li>Edge vs. polygon interactions ("<a href="/about/drc_ref_drc.xml#interacting">DRC#interacting</a>", "<a href="/about/drc_ref_drc.xml#overlapping">DRC#overlapping</a>") </li>
<li>Edge sampling ("<a href="/about/drc_ref_drc.xml#start_segments">DRC#start_segments</a>", "<a href="/about/drc_ref_drc.xml#centers">DRC#centers</a>", "<a href="/about/drc_ref_drc.xml#end_segments">DRC#end_segments</a>") </li>
<li>Edge vs. polygon interactions ("<a href="/about/drc_ref_global.xml#interacting">interacting</a>", "<a href="/about/drc_ref_global.xml#overlapping">overlapping</a>") </li>
<li>Edge sampling ("<a href="/about/drc_ref_global.xml#start_segments">start_segments</a>", "<a href="/about/drc_ref_global.xml#centers">centers</a>", "<a href="/about/drc_ref_global.xml#end_segments">end_segments</a>") </li>
</ul>
</p><p>
<h3>Filters </h3>
@ -515,14 +515,14 @@ The "drc" framework supports the following edge and edge/polygon operations:
Filter operators select input polygons or edges based on their properties. These filters are provided:
</p><p>
<ul>
<li>"<a href="/about/drc_ref_drc.xml#area">DRC#area</a>": selects polygons based on their area </li>
<li>"<a href="/about/drc_ref_drc.xml#perimeter">DRC#perimeter</a>": selects polygons based on their perimeter </li>
<li>"<a href="/about/drc_ref_drc.xml#area_ratio">DRC#area_ratio</a>": selects polygons based on their bounding box to polygon area ratio </li>
<li>"<a href="/about/drc_ref_drc.xml#bbox_aspect_ratio">DRC#bbox_aspect_ratio</a>": selects polygons based on their bounding box aspect ratio </li>
<li>"<a href="/about/drc_ref_drc.xml#relative_height">DRC#relative_height</a>": selects polygons based on their relative height </li>
<li>"<a href="/about/drc_ref_drc.xml#bbox_min">DRC#bbox_min</a>", "<a href="/about/drc_ref_global.xml#bbox_max">bbox_max</a>", "<a href="/about/drc_ref_global.xml#bbox_width">bbox_width</a>", "<a href="/about/drc_ref_global.xml#bbox_height">bbox_height</a>": selects polygons based on their bounding box properties </li>
<li>"<a href="/about/drc_ref_drc.xml#length">DRC#length</a>": selects edges based on their length </li>
<li>"<a href="/about/drc_ref_drc.xml#angle">DRC#angle</a>": selects edges based on their orientation </li>
<li>"<a href="/about/drc_ref_global.xml#area">area</a>": selects polygons based on their area </li>
<li>"<a href="/about/drc_ref_global.xml#perimeter">perimeter</a>": selects polygons based on their perimeter </li>
<li>"<a href="/about/drc_ref_global.xml#area_ratio">area_ratio</a>": selects polygons based on their bounding box to polygon area ratio </li>
<li>"<a href="/about/drc_ref_global.xml#bbox_aspect_ratio">bbox_aspect_ratio</a>": selects polygons based on their bounding box aspect ratio </li>
<li>"<a href="/about/drc_ref_global.xml#relative_height">relative_height</a>": selects polygons based on their relative height </li>
<li>"<a href="/about/drc_ref_global.xml#bbox_min">bbox_min</a>", "<a href="/about/drc_ref_global.xml#bbox_max">bbox_max</a>", "<a href="/about/drc_ref_global.xml#bbox_width">bbox_width</a>", "<a href="/about/drc_ref_global.xml#bbox_height">bbox_height</a>": selects polygons based on their bounding box properties </li>
<li>"<a href="/about/drc_ref_global.xml#length">length</a>": selects edges based on their length </li>
<li>"<a href="/about/drc_ref_global.xml#angle">angle</a>": selects edges based on their orientation </li>
</ul>
</p><p>
For example, to select polygons with an area larger than one square micrometer, use:
@ -672,7 +672,7 @@ from the primary, it's neighborhood (secondaries) or from deriving shape sets.
Obviously the primary is a simple one: it consists of a single shape, because
this is how the loop operates. Derived shape sets however can be more complex.
"Quantifiers" allow assessing properties of the complete, per-primary shape
set. A simple one is "<a href="/about/drc_ref_drc.xml#count">DRC#count</a>" which checks if the number of shapes within
set. A simple one is "<a href="/about/drc_ref_global.xml#count">count</a>" which checks if the number of shapes within
a shape set is within a given range.
</p><p>
Obviously, "primary.count == 1" is always true. So using "count" primaries isn't
@ -1274,7 +1274,7 @@ regions or edges, with each cell counting once.
A high <a href="#count">count</a> to hier_count (flat to hierarchical) ratio is an indication
of a good hierarchical compression.
"hier_count" applies only to original layers without clip regions or
cell filters and to layers in <a href="#deep">deep</a> mode. Otherwise, hier_count gives
cell filters and to layers in <a href="/about/drc_ref_global.xml#deep">deep</a> mode. Otherwise, hier_count gives
the same value than <a href="#count">count</a>.
</p>
<a name="holes"/><h2>"holes" - Selects all polygon holes from the input</h2>
@ -1557,7 +1557,7 @@ See <a href="#clean">clean</a> for a discussion of the clean state.
This method will return true, if the polygons of this layer are
merged, i.e. they don't overlap and form single continuous polygons.
In clean mode, this is ensured implicitly. In raw mode (see <a href="#raw">raw</a>),
merging can be achieved by using the <a href="#merge">merge</a> method. <a href="#is_merged">is_merged</a>?
merging can be achieved by using the <a href="#merge">merge</a> method. <a href="#is_merged?">is_merged?</a>
tells, whether calling <a href="#merge">merge</a> is necessary.
</p>
<a name="is_raw?"/><h2>"is_raw?" - Returns true, if the layer is raw state</h2>
@ -2050,7 +2050,7 @@ The following image shows the effect of the notch check:
Returns the parts of the polygons which are not orientable (i.e. "8" configuration) or self-overlapping.
Merged semantics does not apply for this method. Always the raw polygons are taken (see <a href="#raw">raw</a>).
</p><p>
The odd_polygons check is not available in deep mode currently. See <a href="#deep_reject_odd_polygons">deep_reject_odd_polygons</a> for
The odd_polygons check is not available in deep mode currently. See <a href="/about/drc_ref_global.xml#deep_reject_odd_polygons">deep_reject_odd_polygons</a> for
an alternative.
</p>
<a name="ongrid"/><h2>"ongrid" - Checks for on-grid vertices</h2>

View File

@ -230,8 +230,8 @@ on these layers touching or overlapping other shapes on these
layers will form bigger, electrically connected areas.
</p><p>
Texts will be used to assign net names to the nets. The preferred
method is to use <a href="#labels">labels</a> to create a text layer from a design
layer. When using <a href="#input">input</a>, text labels are carried implicitly
method is to use <a href="/about/drc_ref_global.xml#labels">labels</a> to create a text layer from a design
layer. When using <a href="/about/drc_ref_global.xml#input">input</a>, text labels are carried implicitly
with the polygons but at the cost of small dummy shapes (2x2 DBU
marker polygons) and limited functionality.
</p><p>

View File

@ -396,7 +396,8 @@ output(w, "width violations")</pre>
<a href="/about/drc_ref_layer.xml#separation">separation (sep)</a>,
<a href="/about/drc_ref_layer.xml#notch">notch</a>,
<a href="/about/drc_ref_layer.xml#isolated">isolated (iso)</a>,
<a href="/about/drc_ref_layer.xml#enclosure">enclosure (enc)</a>,
<a href="/about/drc_ref_layer.xml#enclosing">enclosing (enc)</a>,
<a href="/about/drc_ref_layer.xml#enclosed">enclosed</a>,
<a href="/about/drc_ref_layer.xml#overlap">overlap</a>
</li>
<li>Universal DRC (see below):<br/>
@ -427,7 +428,7 @@ output(w, "width violations")</pre>
<a href="/about/drc_ref_layer.xml#overlapping">overlapping</a><br/>
<a href="/about/drc_ref_layer.xml#pull_inside">pull_inside</a>,
<a href="/about/drc_ref_layer.xml#pull_interacting">pull_interacting</a>,
<a href="/about/drc_ref_layer.xml#pull_outside">pull_outside</a>,
<a href="/about/drc_ref_layer.xml#pull_outside">pull_overlapping</a>,
These methods are available as in-place operations as well:<br/>
<a href="/about/drc_ref_layer.xml#select_covering">select_covering</a>,
<a href="/about/drc_ref_layer.xml#select_interacting">select_interacting</a>,
@ -608,10 +609,10 @@ output(w, "width violations")</pre>
<ul>
<li>Boolean AND with a polygon layer: will select those texts
which are inside or at the border of a polygon.
<a href="/about/drc_ref_layer.xml#interact">interact</a> is a synonym for this operation.</li>
<a href="/about/drc_ref_layer.xml#interacting">interact</a> is a synonym for this operation.</li>
<li>Boolean NOT with a polygon layer: will select those texts
which are outside of any polygon.
<a href="/about/drc_ref_layer.xml#not_interact">not_interact</a> is a synonym for this operation.</li>
<a href="/about/drc_ref_layer.xml#not_interacting">not_interact</a> is a synonym for this operation.</li>
<li>As second layer for region interact: this way, polygons
can be selected which are tagged with certain texts.</li>
<li>Text filtering by string: texts can be filtered either
@ -737,7 +738,8 @@ overlaps = layer.size(0.2).raw.merged(2)</pre>
<a href="/about/drc_ref_layer.xml#separation">separation (sep)</a>,
<a href="/about/drc_ref_layer.xml#notch">notch</a>,
<a href="/about/drc_ref_layer.xml#isolated">isolated (iso)</a>,
<a href="/about/drc_ref_layer.xml#enclosure">enclosure (enc)</a> or
<a href="/about/drc_ref_layer.xml#enclosing">enclosing (enc)</a> or
<a href="/about/drc_ref_layer.xml#enclosed">enclosed</a> or
<a href="/about/drc_ref_layer.xml#overlap">overlap</a>.
Shielding is turned off using the "transparent" option or turned on using "shielded". The latter
is only for clarity, but is not required as shielding is enabled by default.
@ -833,7 +835,7 @@ overlaps = layer.size(0.2).raw.merged(2)</pre>
</ul>
<p>
"measurement" is "width", "notch", "isolated" ("iso"), "separation" ("sep"), "overlap" or "enclosure" ("enc").
"measurement" is "width", "notch", "isolated" ("iso"), "separation" ("sep"), "overlap", "enclosed" or "enclosuring" ("enc").
The last three checks are two-layer checks which require a second layer. The
second layer is specified together with the measurement like this:
</p>

View File

@ -15,7 +15,7 @@
connectivity (<a href="/about/drc_ref_global.xml#connect">connect</a>,
<a href="/about/drc_ref_global.xml#connect_global">connect_global</a>,
<a href="/about/drc_ref_global.xml#connect_implicit">connect_implicit</a>) and
provided a reference netlist (<a href="/about/drc_ref_global.xml#schematic">schematic</a>),
provided a reference netlist (<a href="/about/lvs_ref_global.xml#schematic">schematic</a>),
this function will perform the actual compare:
</p>

View File

@ -148,7 +148,7 @@ X$2 VSS IN OUT SUBSTRATE NMOS PARAMS: L=0.25 W=0.9 AS=0.405 AD=0.405 PS=2.7
<p>
The main use case for reading netlists is for comparison in LVS.
Reference netlists are read with the "schematic" function
(see <a href="/about/drc_ref_global.xml#schematic">schematic</a>):
(see <a href="/about/lvs_ref_global.xml#schematic">schematic</a>):
</p>
<pre>schematic("inverter.cir")</pre>

View File

@ -35,7 +35,6 @@ module DRC
# @li \global#bbox_max @/li
# @li \global#bbox_min @/li
# @li \global#bbox_width @/li
# @li \global#case @/li
# @li \global#corners @/li
# @li \global#covering @/li
# @li \global#enc @/li
@ -70,6 +69,7 @@ module DRC
# @li \global#smoothed @/li
# @li \global#space @/li
# @li \global#squares @/li
# @li \global#switch @/li
# @li \global#width @/li
# @li \global#with_holes @/li
# @/ul

View File

@ -129,11 +129,11 @@ module DRC
# methods are provided:
#
# @ul
# @li "\DRC#polygons": converts edge pairs to polygons @/li
# @li "\DRC#extended", "\DRC#extended_in", "\DRC#extended_out": converts edges to polygons @/li
# @li "\DRC#first_edges", \DRC#second_edges": extracts edges from edge pairs @/li
# @li "\DRC#edges": decomposes edge pairs and polygons into edges @/li
# @li "\DRC#corners": can extract corners from polygons @/li
# @li "\global#polygons": converts edge pairs to polygons @/li
# @li "\global#extended", "\global#extended_in", "\global#extended_out": converts edges to polygons @/li
# @li "\global#first_edges", \global#second_edges": extracts edges from edge pairs @/li
# @li "\global#edges": decomposes edge pairs and polygons into edges @/li
# @li "\global#corners": can extract corners from polygons @/li
# @/ul
#
# The following example decomposes the primary polygons into edges:
@ -174,8 +174,8 @@ module DRC
#
# @ul
# @li Edge vs. edge and edge vs. polygon booleans @/li
# @li Edge vs. polygon interactions ("\DRC#interacting", "\DRC#overlapping") @/li
# @li Edge sampling ("\DRC#start_segments", "\DRC#centers", "\DRC#end_segments") @/li
# @li Edge vs. polygon interactions ("\global#interacting", "\global#overlapping") @/li
# @li Edge sampling ("\global#start_segments", "\global#centers", "\global#end_segments") @/li
# @/ul
#
# @h3 Filters @/h3
@ -183,14 +183,14 @@ module DRC
# Filter operators select input polygons or edges based on their properties. These filters are provided:
#
# @ul
# @li "\DRC#area": selects polygons based on their area @/li
# @li "\DRC#perimeter": selects polygons based on their perimeter @/li
# @li "\DRC#area_ratio": selects polygons based on their bounding box to polygon area ratio @/li
# @li "\DRC#bbox_aspect_ratio": selects polygons based on their bounding box aspect ratio @/li
# @li "\DRC#relative_height": selects polygons based on their relative height @/li
# @li "\DRC#bbox_min", "\global#bbox_max", "\global#bbox_width", "\global#bbox_height": selects polygons based on their bounding box properties @/li
# @li "\DRC#length": selects edges based on their length @/li
# @li "\DRC#angle": selects edges based on their orientation @/li
# @li "\global#area": selects polygons based on their area @/li
# @li "\global#perimeter": selects polygons based on their perimeter @/li
# @li "\global#area_ratio": selects polygons based on their bounding box to polygon area ratio @/li
# @li "\global#bbox_aspect_ratio": selects polygons based on their bounding box aspect ratio @/li
# @li "\global#relative_height": selects polygons based on their relative height @/li
# @li "\global#bbox_min", "\global#bbox_max", "\global#bbox_width", "\global#bbox_height": selects polygons based on their bounding box properties @/li
# @li "\global#length": selects edges based on their length @/li
# @li "\global#angle": selects edges based on their orientation @/li
# @/ul
#
# For example, to select polygons with an area larger than one square micrometer, use:
@ -340,7 +340,7 @@ module DRC
# Obviously the primary is a simple one: it consists of a single shape, because
# this is how the loop operates. Derived shape sets however can be more complex.
# "Quantifiers" allow assessing properties of the complete, per-primary shape
# set. A simple one is "\DRC#count" which checks if the number of shapes within
# set. A simple one is "\global#count" which checks if the number of shapes within
# a shape set is within a given range.
#
# Obviously, "primary.count == 1" is always true. So using "count" primaries isn't
@ -596,49 +596,49 @@ CODE
# against numeric values. For example, "bbox_height < 2.0" will select all primary shapes whose
# bounding box height is less than 2 micrometers. See \Layer#drc for more details about comparison
# specs. Plain "bbox_min" is equivalent to "primary.bbox_min" - i.e. it is used on the primary
# shape. Also see \DRC#bbox_min.
# shape. Also see \global#bbox_min.
# %DRC%
# @name bbox_width
# @brief Selects primary shapes based on their bounding box width
# @synopsis bbox_max (in condition)
#
# See \Layer#drc, \bbox_height and \DRC#bbox_height for more details.
# See \Layer#drc, \bbox_height and \global#bbox_height for more details.
# %DRC%
# @name bbox_max
# @brief Selects primary shapes based on their bounding box height or width, whichever is larger
# @synopsis bbox_max (in condition)
#
# See \Layer#drc, \bbox_max and \DRC#bbox_max for more details.
# See \Layer#drc, \bbox_max and \global#bbox_max for more details.
# %DRC%
# @name bbox_min
# @brief Selects primary shapes based on their bounding box height or width, whichever is smaller
# @synopsis bbox_max (in condition)
#
# See \Layer#drc, \bbox_min and \DRC#bbox_min for more details.
# See \Layer#drc, \bbox_min and \global#bbox_min for more details.
# %DRC%
# @name bbox_aspect_ratio
# @brief Selects primary shapes based on the aspect ratio of their bounding boxes
# @synopsis bbox_aspect_ratio (in condition)
#
# See \Layer#drc, \bbox_aspect_ratio and \DRC#bbox_aspect_ratio for more details.
# See \Layer#drc, \bbox_aspect_ratio and \global#bbox_aspect_ratio for more details.
# %DRC%
# @name relative_height
# @brief Selects primary shapes based on the ratio of height and width of their bounding boxes
# @synopsis relative_height (in condition)
#
# See \Layer#drc, \relative_height and \DRC#relative_height for more details.
# See \Layer#drc, \relative_height and \global#relative_height for more details.
# %DRC%
# @name area_ratio
# @brief Selects primary shapes based on the ratio of bounding box and polygon area
# @synopsis area_ratio (in condition)
#
# See \Layer#drc, \area_ratio and \DRC#area_ratio for more details.
# See \Layer#drc, \area_ratio and \global#area_ratio for more details.
%w(
bbox_height
@ -669,7 +669,7 @@ CODE
# polygons in the layer.
#
# Without a layer argument, "area" represents an area filter for primary shapes in
# \DRC# expressions (see \Layer#drc and \DRC#area for more details).
# \global# expressions (see \Layer#drc and \global#area for more details).
# %DRC%
# @name hulls
@ -680,7 +680,7 @@ CODE
# This function can be used with a layer argument. In this case it
# is equivalent to "layer.hulls" (see \Layer#hulls). Without a layer
# argument, "hulls" represents a hull contour extractor for primary shapes in
# \DRC# expressions (see \Layer#drc and \DRC#hulls for more details).
# \DRC# expressions (see \Layer#drc and \global#hulls for more details).
# %DRC%
# @name holes
@ -704,7 +704,7 @@ CODE
# total perimeter of all polygons in the layer.
#
# Without a layer argument, "perimeter" represents a perimeter filter for primary shapes in
# \DRC# expressions (see \Layer#drc and \DRC#perimeter for more details).
# \DRC# expressions (see \Layer#drc and \global#perimeter for more details).
# %DRC%
# @name rectangles
@ -715,7 +715,7 @@ CODE
# This function can be used with a layer argument. In this case it
# is equivalent to "layer.rectangles" (see \Layer#rectangles). Without a layer
# argument, "rectangles" represents the rectangles filter for primary shapes in
# \DRC# expressions (see \Layer#drc and \DRC#rectangles for more details).
# \DRC# expressions (see \Layer#drc and \global#rectangles for more details).
# %DRC%
# @name squares
@ -726,7 +726,7 @@ CODE
# This function can be used with a layer argument. In this case it
# is equivalent to "layer.squares" (see \Layer#squares). Without a layer
# argument, "squares" represents the rectangles filter for primary shapes in
# \DRC# expressions (see \Layer#drc and \DRC#squares for more details).
# \DRC# expressions (see \Layer#drc and \global#squares for more details).
# %DRC%
# @name rectilinear
@ -737,7 +737,7 @@ CODE
# This function can be used with a layer argument. In this case it
# is equivalent to "layer.rectilinear" (see \Layer#rectilinear). Without a layer
# argument, "rectilinear" represents the rectilinear polygons filter for primary shapes in
# \DRC# expressions (see \Layer#drc and \DRC#rectilinear for more details).
# \DRC# expressions (see \Layer#drc and \global#rectilinear for more details).
# %DRC%
# @name length (in condition)
@ -748,7 +748,7 @@ CODE
# This function can be used with a layer argument. In this case it
# is equivalent to "layer.length" (see \Layer#length). Without a layer
# argument, "length" represents the edge length filter on the primary shape edges in
# \DRC# expressions (see \Layer#drc and \DRC#length for more details). In this context,
# \DRC# expressions (see \Layer#drc and \global#length for more details). In this context,
# the operation acts similar to \Layer#with_length.
# %DRC%
@ -757,7 +757,7 @@ CODE
# @synopsis angle (in condition)
#
# "angle" represents the edge orientation filter on the primary shape edges in
# \DRC# expressions (see \Layer#drc and \DRC#angle for more details). In this context,
# \DRC# expressions (see \Layer#drc and \global#angle for more details). In this context,
# the operation acts similar to \Layer#with_angle.
%w(
@ -788,7 +788,7 @@ CODE
# This function can be used with a layer argument. In this case it
# is equivalent to "layer.corners" (see \Layer#corners). Without a layer
# argument, "corners" represents the corner generator/filter in primary shapes for
# \DRC# expressions (see \Layer#drc and \DRC#corners for more details).
# \DRC# expressions (see \Layer#drc and \global#corners for more details).
#
# Like the layer-based version, the "corners" operator accepts the
# output type option: "as_dots" for dot-like edges, "as_boxes" for
@ -812,7 +812,7 @@ CODE
# This function can be used with a layer argument. In this case it
# is equivalent to "layer.extent_refs" (see \Layer#extent_refs). Without a layer
# argument, "extent_refs" represents the partial extents extractor on primary shapes within
# \DRC# expressions (see \Layer#drc and \DRC#extent_refs for more details).
# \DRC# expressions (see \Layer#drc and \global#extent_refs for more details).
# %DRC%
# @name extents
@ -823,7 +823,7 @@ CODE
# This function can be used with a layer argument. In this case it
# is equivalent to "layer.extents" (see \Layer#extents). Without a layer
# argument, "extents" represents the extents generator on primary shapes within
# \DRC# expressions (see \Layer#drc and \DRC#extents for more details).
# \DRC# expressions (see \Layer#drc and \global#extents for more details).
# %DRC%
# @name middle
@ -834,7 +834,7 @@ CODE
# This function can be used with a layer argument. In this case it
# is equivalent to "layer.middle" (see \Layer#middle). Without a layer
# argument, "middle" represents the bounding box center marker generator on primary shapes within
# \DRC# expressions (see \Layer#drc and \DRC#middle for more details).
# \DRC# expressions (see \Layer#drc and \global#middle for more details).
# %DRC%
# @name rounded_corners
@ -845,7 +845,7 @@ CODE
# This function can be used with a layer argument. In this case it
# is equivalent to "layer.rounded_corners" (see \Layer#rounded_corners). Without a layer
# argument, "rounded_corners" represents the corner rounding algorithm on primary shapes within
# \DRC# expressions (see \Layer#drc and \DRC#rounded_corners for more details).
# \DRC# expressions (see \Layer#drc and \global#rounded_corners for more details).
# %DRC%
# @name sized
@ -858,7 +858,7 @@ CODE
# This function can be used with a layer argument. In this case it
# is equivalent to "layer.sized" (see \Layer#sized). Without a layer
# argument, "sized" represents the polygon sizer on primary shapes within
# \DRC# expressions (see \Layer#drc and \DRC#sized for more details).
# \DRC# expressions (see \Layer#drc and \global#sized for more details).
# %DRC%
# @name smoothed
@ -869,7 +869,7 @@ CODE
# This function can be used with a layer argument. In this case it
# is equivalent to "layer.smoothed" (see \Layer#smoothed). Without a layer
# argument, "smoothed" represents the polygon smoother on primary shapes within
# \DRC# expressions (see \Layer#drc and \DRC#smoothed for more details).
# \DRC# expressions (see \Layer#drc and \global#smoothed for more details).
%w(
extent_refs
@ -896,7 +896,7 @@ CODE
# which entirely cover shapes from the other layer. This version can be put into
# a condition indicating how many shapes of the other layer need to be covered.
# Use this operator within \DRC# expressions (also see \Layer#drc). If can be used
# as method to an expression. See there for more details: \DRC#covering.
# as method to an expression. See there for more details: \global#covering.
# %DRC%
# @name interacting
@ -907,7 +907,7 @@ CODE
# which interact with shapes from the other layer. This version can be put into
# a condition indicating how many shapes of the other layer need to be covered.
# Use this operator within \DRC# expressions (also see \Layer#drc). If can be used
# as method to an expression. See there for more details: \DRC#interacting.
# as method to an expression. See there for more details: \global#interacting.
# %DRC%
# @name overlapping
@ -918,7 +918,7 @@ CODE
# which overlap shapes from the other layer. This version can be put into
# a condition indicating how many shapes of the other layer need to be covered.
# Use this operator within \DRC# expressions (also see \Layer#drc). If can be used
# as method to an expression. See there for more details: \DRC#overlapping.
# as method to an expression. See there for more details: \global#overlapping.
# %DRC%
# @name inside
@ -928,7 +928,7 @@ CODE
# This operator represents the selector of primary shapes
# which are inside shapes from the other layer.
# Use this operator within \DRC# expressions (also see \Layer#drc). If can be used
# as method to an expression. See there for more details: \DRC#inside.
# as method to an expression. See there for more details: \global#inside.
# %DRC%
# @name outside
@ -938,7 +938,7 @@ CODE
# This operator represents the selector of primary shapes
# which are outside shapes from the other layer.
# Use this operator within \DRC# expressions (also see \Layer#drc). If can be used
# as method to an expression. See there for more details: \DRC#outside.
# as method to an expression. See there for more details: \global#outside.
%w(
covering
@ -961,7 +961,7 @@ CODE
#
# "with_holes" represents a polygon selector for
# \DRC# expressions selecting polygons of the primary by their number of holes
# (see \Layer#drc and \DRC#with_holes for more details).
# (see \Layer#drc and \global#with_holes for more details).
def with_holes
primary.with_holes

View File

@ -302,7 +302,7 @@ module DRC
# A high \count to hier_count (flat to hierarchical) ratio is an indication
# of a good hierarchical compression.
# "hier_count" applies only to original layers without clip regions or
# cell filters and to layers in \deep mode. Otherwise, hier_count gives
# cell filters and to layers in \global#deep mode. Otherwise, hier_count gives
# the same value than \count.
def hier_count
@ -1567,7 +1567,7 @@ CODE
# objects. RBA::Region, RBA::Edges and RBA::EdgePair objects are accepted as well and the corresponding
# content of that collections is inserted into the output layer.
#
# Other versions are available that allow translation of objects into other types (\collect_to_polygons,
# Other versions are available that allow translation of objects into other types (\collect_to_region,
# \collect_to_edges and \collect_to_edge_pairs).
#
# Because this method executes inside the interpreter, it's inherently slow. Tiling does not
@ -1645,7 +1645,7 @@ CODE
# Returns the parts of the polygons which are not orientable (i.e. "8" configuration) or self-overlapping.
# Merged semantics does not apply for this method. Always the raw polygons are taken (see \raw).
#
# The odd_polygons check is not available in deep mode currently. See \deep_reject_odd_polygons for
# The odd_polygons check is not available in deep mode currently. See \global#deep_reject_odd_polygons for
# an alternative.
def odd_polygons

View File

@ -83,8 +83,8 @@ module DRC
# layers will form bigger, electrically connected areas.
#
# Texts will be used to assign net names to the nets. The preferred
# method is to use \labels to create a text layer from a design
# layer. When using \input, text labels are carried implicitly
# method is to use \global#labels to create a text layer from a design
# layer. When using \global#input, text labels are carried implicitly
# with the polygons but at the cost of small dummy shapes (2x2 DBU
# marker polygons) and limited functionality.
#