From 45196de62fadc9acc928e55cb48882a11c2b1873 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 25 Apr 2012 19:30:47 -0300 Subject: [PATCH] b2/HIERARCHY: add diodes, to make the example more interesting --- b2/HIERARCHY | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/b2/HIERARCHY b/b2/HIERARCHY index a81ddb8..4a01230 100644 --- a/b2/HIERARCHY +++ b/b2/HIERARCHY @@ -1,7 +1,14 @@ - = R = R = D { R: { R=#R TOL=%R }; - C: { C=#F TOL=%C }; - L: { L=#H TOL=%L }; + C: { C=#F TOL=%C V=#V }; + L: { L=#H TOL=%L I=#A }; + D: { C=#F } + M= { + TVS: { Vac=#V Vdc=#V }; + Z: { V=#V I=#A }; + *: { Vf=#V Vr=#V I=#A }; + }; }