mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-04 23:43:43 +02:00
1394c6b61c
This allows the definition of optional global fields. For now, we (ab)use this for FP (footprint).
20 lines
350 B
Plaintext
20 lines
350 B
Plaintext
/*
|
|
* Example hierarchy
|
|
*/
|
|
|
|
<comp> = R<C<L<D; // order doesn't really matter
|
|
<diode> = D<SCH<Z<TVS; // D < SCH may make sense, the rest doesn't
|
|
|
|
{ FP=* }
|
|
T=<comp> {
|
|
R: { R=#R TOL=%R };
|
|
C: { C=#F TOL=%C V=#V };
|
|
L: { L=#H TOL=%L I=#A };
|
|
D: { C=#F }
|
|
M=<diode> {
|
|
TVS: { Vac=#V Vdc=#V };
|
|
Z: { V=#V I=#A };
|
|
*: { Vf=#V Vr=#V I=#A };
|
|
};
|
|
};
|