mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-12-23 04:01:09 +02:00
test.sub now better catches typos and supports more capacitor parameters.
- boom/test.sub (R, C): set R and C by default to "required", so that an unparseable value doesn't cause a wildcard search - boom/test.sub (C): added tolerances - boom/test.sub (C): added material and special properties (syntax: material/property, e.g., NP0/RF)
This commit is contained in:
parent
94de4f9865
commit
d31ede8bea
@ -6,7 +6,7 @@
|
|||||||
-> T=unknown
|
-> T=unknown
|
||||||
|
|
||||||
R[0-9P]* { # also handle RP...
|
R[0-9P]* { # also handle RP...
|
||||||
-> T=R
|
-> T=R R=required
|
||||||
VAL=$R -> R=$VAL
|
VAL=$R -> R=$VAL
|
||||||
# -> TOL=5%
|
# -> TOL=5%
|
||||||
FN=$% -> TOL=$FN
|
FN=$% -> TOL=$FN
|
||||||
@ -18,9 +18,12 @@ RP[0-9]* {
|
|||||||
}
|
}
|
||||||
|
|
||||||
C[0-9]* {
|
C[0-9]* {
|
||||||
-> T=C
|
-> T=C C=required
|
||||||
VAL=*F -> C=$VAL
|
VAL=*F -> C=$VAL
|
||||||
FN=*V -> V=>=$FN
|
FN=*V -> V=>=$FN
|
||||||
|
FN=$% -> TOL=$FN
|
||||||
|
FN=(NP0|[XYZ][456789][ABCDEFPRSTUV]) -> M=$FN
|
||||||
|
FN=(NP0|[XYZ][456789][ABCDEFPRSTUV])/(*) -> M=$FN:1 X=$FN:2
|
||||||
}
|
}
|
||||||
|
|
||||||
L[0-9]* {
|
L[0-9]* {
|
||||||
|
Loading…
Reference in New Issue
Block a user