1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-05 12:16:13 +02:00
eda-tools/b2/HIERARCHY

20 lines
350 B
Plaintext
Raw Normal View History

2012-04-26 01:37:53 +03:00
/*
* 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 };
};
};