1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-23 02:22:49 +02:00

b2/HIERARCHY: add diodes, to make the example more interesting

This commit is contained in:
Werner Almesberger 2012-04-25 19:30:47 -03:00
parent 75479a894b
commit 45196de62f

View File

@ -1,7 +1,14 @@
<comp> = R<C<L; <comp> = R<C<L<D;
<diode> = D<SCH<Z<TVS;
T=<comp> { T=<comp> {
R: { R=#R TOL=%R }; R: { R=#R TOL=%R };
C: { C=#F TOL=%C }; C: { C=#F TOL=%C V=#V };
L: { L=#H TOL=%L }; 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 };
};
} }