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

(cherry picked from commit 4442f76add)
This commit is contained in:
Graham Keeth 2022-02-13 18:47:18 +00:00 committed by Jeff Young
parent f37531ed39
commit 30276fb5f7
1 changed files with 12 additions and 12 deletions

View File

@ -119,8 +119,8 @@ True if `A` has a hole which is plated.
A.inDiffPair('<net_name>') A.inDiffPair('<net_name>')
True if `A` has net that is part of the specified differential pair. 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')` `<net_name>` is the base name of the differential pair. For example, `inDiffPair('/CLK')`
matches items in the `CLK_P` and `CLK_N` nets. matches items in the `/CLK_P` and `/CLK_N` nets.
<br><br> <br><br>
AB.isCoupledDiffPair() AB.isCoupledDiffPair()
@ -171,7 +171,7 @@ For the latter use a `(layer "layer_name")` clause in the rule.
(rule "Via Hole to Track Clearance" (rule "Via Hole to Track Clearance"
(constraint hole_clearance (min 0.254mm)) (constraint hole_clearance (min 0.254mm))
(condition "A.Type =='Via' && B.Type =='Track'")) (condition "A.Type == 'Via' && B.Type == 'Track'"))
(rule "Pad to Track Clearance" (rule "Pad to Track Clearance"
(constraint clearance (min 0.2mm)) (constraint clearance (min 0.2mm))
@ -195,7 +195,7 @@ For the latter use a `(layer "layer_name")` clause in the rule.
# Specify an optimal gap for a particular diff-pair # Specify an optimal gap for a particular diff-pair
(rule "dp clock gap" (rule "dp clock gap"
(constraint diff_pair_gap (opt "0.8mm")) (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 # Specify a larger clearance around any diff-pair
(rule "dp clearance" (rule "dp clearance"