update custom rule syntax help to make diff pair rule examples clearer

This commit is contained in:
Graham Keeth 2022-02-13 13:47:18 -05:00
parent fe7e72538e
commit 4442f76add
1 changed files with 13 additions and 13 deletions

View File

@ -151,8 +151,8 @@ True if `A` has a hole which is plated.
A.inDiffPair('<net_name>')
True if `A` has net that is part of the specified differential pair.
`<net_name>` is the base name of the differential pair. For example, `inDiffPair('CLK')`
matches items in the `CLK_P` and `CLK_N` nets.
`<net_name>` is the base name of the differential pair. For example, `inDiffPair('/CLK')`
matches items in the `/CLK_P` and `/CLK_N` nets.
<br><br>
AB.isCoupledDiffPair()
@ -227,7 +227,7 @@ For the latter use a `(layer "layer_name")` clause in the rule.
# Specify an optimal gap for a particular diff-pair
(rule "dp clock gap"
(constraint diff_pair_gap (opt "0.8mm"))
(condition "A.inDiffPair('CLK') && AB.isCoupledDiffPair()"))
(condition "A.inDiffPair('/CLK')"))
# Specify a larger clearance around any diff-pair
(rule "dp clearance"