From fd67bc9f3eda918250e9b145a54f2966d9277e12 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 17 Oct 2010 03:08:59 -0300 Subject: [PATCH] Added TDK C series of ceramic SMT capacitors. - boom/lib/tol.inc: added tolerance "E", 0.5% - boom/Makefile (MANU): added tdk - boom/dist/dk/Makefile (PARTS), boom/dist/dk/tdk-c.catq: added the TDK C series - boom/manu/tdk/Makefile, boom/manu/tdk/tdk.gen: added generation of TDK C series --- boom/Makefile | 2 +- boom/dist/dk/Makefile | 2 +- boom/dist/dk/tdk-c.catq | 5 ++++ boom/lib/tol.inc | 1 + boom/manu/tdk/Makefile | 2 ++ boom/manu/tdk/tdk.gen | 51 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 boom/dist/dk/tdk-c.catq create mode 100644 boom/manu/tdk/Makefile create mode 100644 boom/manu/tdk/tdk.gen diff --git a/boom/Makefile b/boom/Makefile index 395960b..fbb0f38 100644 --- a/boom/Makefile +++ b/boom/Makefile @@ -3,7 +3,7 @@ BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom KITS = 1 DIST = dk -MANU = murata panasonic stackpole yageo +MANU = murata panasonic stackpole tdk yageo EQU = dist/all.equ INV = dist/all.inv diff --git a/boom/dist/dk/Makefile b/boom/dist/dk/Makefile index 116026f..a76f163 100644 --- a/boom/dist/dk/Makefile +++ b/boom/dist/dk/Makefile @@ -1,5 +1,5 @@ MASTER = db/all.equ db/all.dsc db/all.inv -PARTS = murata-grm panasonic-erj stackpole-rmcf yageo-cc yageo-rc +PARTS = murata-grm panasonic-erj stackpole-rmcf tdk-c yageo-cc yageo-rc .SECONDARY: # prevent *.cache from being automatically deleted diff --git a/boom/dist/dk/tdk-c.catq b/boom/dist/dk/tdk-c.catq new file mode 100644 index 0000000..640fd38 --- /dev/null +++ b/boom/dist/dk/tdk-c.catq @@ -0,0 +1,5 @@ +TDK +tdk +Capacitors/Ceramic +Series = C +Packaging = Cut Tape (CT) diff --git a/boom/lib/tol.inc b/boom/lib/tol.inc index 53ab5e5..4a20e36 100644 --- a/boom/lib/tol.inc +++ b/boom/lib/tol.inc @@ -1,5 +1,6 @@ # Must be indented !! + _TOL=E -> TOL=0.5% _TOL=F -> TOL=1% _TOL=G -> TOL=2% _TOL=J -> TOL=5% diff --git a/boom/manu/tdk/Makefile b/boom/manu/tdk/Makefile new file mode 100644 index 0000000..171c12c --- /dev/null +++ b/boom/manu/tdk/Makefile @@ -0,0 +1,2 @@ +NAME = tdk +include ../Makefile.common diff --git a/boom/manu/tdk/tdk.gen b/boom/manu/tdk/tdk.gen new file mode 100644 index 0000000..af93d80 --- /dev/null +++ b/boom/manu/tdk/tdk.gen @@ -0,0 +1,51 @@ +#GEN + +# +# http://www.tdk.co.jp/tefe02/e412_c.pdf +# http://www.tdk.co.jp/tefe02/e413_c.pdf +# http://www.tdk.co.jp/tefe02/e417_c.pdf +# http://www.tdk.co.jp/tefe02/e4141_c.pdf +# http://www.tdk.co.jp/tefe02/e4142_c.pdf +# http://www.tdk.co.jp/tefe02/e4162_c.pdf +# + +C* -> T=C { + C(????)(??|???)([0123][ACDEFHGJ])([0-9R][0-9R][0-9])(?)* -> + _FP=$REF:1 M=$REF:2 _V=$REF:3 _E12_P=$REF:4 _TOL=$REF:5 + + M=C0G -> M=NP0 # normalize + + _FP=0402 -> FP=01005 + _FP=0603 -> FP=0201 + _FP=0510 -> FP=0204 + _FP=0816 -> FP=0306 + _FP=1005 -> FP=0402 + _FP=1220 -> FP=0508 + _FP=1608 -> FP=0603 + _FP=1632 -> FP=0612 + _FP=2012 -> FP=0805 + _FP=3216 -> FP=1206 + _FP=3225 -> FP=1210 + _FP=4520 -> FP=1808 + _FP=4532 -> FP=1812 + _FP=5750 -> FP=2220 + + include ../../lib/captol.inc + + _V=0G -> V=4V + _V=0J -> V=6.3V + _V=1A -> V=10V + _V=1C -> V=16V + _V=1E -> V=25V + _V=1H -> V=50V + _V=2A -> V=100V + _V=2E -> V=100V + _V=2J -> V=630V + _V=3A -> V=1kV + _V=3D -> V=2kV + _V=3F -> V=3kV +} + +include ../../lib/e12.inc + +T=C -> C=${_E12}F !