1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-05 11:21:53 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
Werner Almesberger
2744057e98 Avoid leading zeroes in resistance and capacitance values (except 0R)
- boom/lib/e12.inc: several rules produces mal-formed results with leading
  zeroes
- boom/manu/Makefile.common (spotless): added new target to remove
  $(NAME).chr
- boom/manu/Makefile.common (MALFORMED): test for leading zeroes, allowing
  only 0R as an exception
- boom/manu/stackpole/stackpole.gen: catch values < 1 R and convert them
  to mR
2010-10-18 17:23:19 -03:00
Werner Almesberger
6ce7ea1027 For consistency, renamed captol.inc to ctol.inc. Rs now use rtol.inc instead of
tol.inc.

- lib/captol.inc: renamed to ctol.inc, for consistency with rtol.inc
- boom/manu/avx/avx.gen, boom/manu/johanson/johanson.gen,
  boom/manu/murata/murata.gen, boom/manu/tdk/tdk.gen,
  boom/manu/yageo/yageo.gen: use ctol.inc instead of captol.inc
- boom/manu/panasonic/panasonic.gen, boom/manu/stackpole/stackpole.gen,
  boom/manu/yageo/yageo.gen: use rtol.inc insteas of tol.inc
2010-10-17 18:26:46 -03:00
Werner Almesberger
03e1fde48c Added Stackpole RNCP series of low TC resistors.
- boom/dist/dk/stackpole-rmcf.catq: include RNCP series as well
- boom/manu/stackpole/stackpole.gen: decode RNCP series
2010-10-17 17:37:05 -03:00
Werner Almesberger
5c6ffda94b Introduce temperature coefficients for resistors.
Note: in most of the specifications, the TC depends on the resistor's value.
Since we don't have a useful way to express this sort of dependency, the
TC values are always the worst lower and upper bound for a given package.

- boom/test.sub (R): recognize #ppm/K as temperature coefficient
- boom/manu/yageo/yageo.gen: convert FP=0100 to canonical FP=01005 and
  then work with that value
- boom/manu/panasonic/panasonic.gen, boom/manu/stackpole/stackpole.gen,
  boom/manu/yageo/yageo.gen: added temperature coefficients
2010-10-17 17:37:05 -03:00
Werner Almesberger
ac7ebdd822 manu/Makefile were highly redundant. Moved their content to a common Makefile.
- boom/manu/Makefile.common: common makefile for all manufacturers
- boom/manu/Makefile.common (test): added coverage test mode (gen2chr -n)
- murata/Makefile, panasonic/Makefile, stackpole/Makefile, yageo/Makefile:
  use Makfile.common
2010-10-17 00:57:22 -03:00
Werner Almesberger
83d4e709af Removed knowledge about distributors from manufacturers and (partially) from
the top-level makefile.

- boom/dist/Makefile: generate all.{equ,inv,dsc} for all distributors in
  dist/
- boom/Makefile (EQU, INV, DSC): use dist/all.* instead of dist/*/db/all.*
- boom/Makefile (tar): also collect $(EQU), $(INV), and $(DSC)
- boom/manu/panasonic/Makefile, boom/manu/stackpole/Makefile,
  boom/manu/yageo/Makefile: include dist/all.equ instead of
  dist/dk/db/all.equ
2010-10-16 23:59:00 -03:00
Werner Almesberger
20517e107e Moved resistor tolerance decoding to lib/tol.inc
- boom/lib/tol.inc: tolerance codes used for resistors, capacitors, etc.
- boom/lib/captol.inc: capacitor tolerance codes
- boom/manu/panasonic/panasonic.gen, boom/manu/stackpole/stackpole.gen,
  boom/manu/yageo/yageo.gen: use tol.inc instead of duplicating the
  tolerance decoding
2010-10-16 23:31:17 -03:00
Werner Almesberger
57fc0bd84e Improve scalability by splitting the distributor cache. Additional cleanup and
generalizations.

- boom/Makefile, dist/dk/Makefile: the "files with everything" are now
  called dist/db/all.* instead of dist/db/digi-key.*
- boom/manu/panasonic/Makefile, boom/manu/stackpole/Makefile,
  boom/manu/yageo/Makefile: changed digi-key.equ to all.equ
- boom/Makefile: there can now be a list of distributors
- boom/Makefile (tar): new target to generate a snapshot of the database
- boom/Makefile (PHONY): added "spotless"
- boom/dist/dk/Makefile: do not merge catalog listings so that we don't have
  to search a huge cache with O(n^2)
- boom/dist/dk/Makefile (clean, rebuild, update, spotless): targets for
  different degrees of rebuilding
- boom/dist/dk/dk-db.pl: added progress report output
2010-10-16 23:29:51 -03:00
Werner Almesberger
d4d34d7cb0 stackpole.gen produced only garbage. Fixed it.
- boom/manu/stackpole/stackpole.gen: picked the wrong field for the
  component value
- boom/manu/stackpole/stackpole.gen: trim trailing dot in value
2010-10-16 07:48:18 -03:00
Werner Almesberger
c1574ce3f6 Catalog listing and enhanced versions of various BOOM items from ben-wpan/bom.
- boom/dist/dk/dk-catq.pl: new - query the Digi-Key catalog for a list of
  items
- boom/dist/dk/dk-db.pl: enhanced - never generate more than 1000 queries
  per wget run (to keep argv from getting too long)
- boom/dist/dk/panasonic-erj.catq, boom/dist/dk/stackpole-rmcf.catq: query
  scripts for dk-catq.pl
- boom/lib/e12.inc: enhanced - added Rxx and Rxxx codes
- boom/manu/panasonic/panasonic.gen: enhanced - added decoding for all ERJ
  series resistors listed at Digi-Key
- boom/manu/stackpole/: (new) part number decoder for RMCF series resistors
2010-10-15 23:58:57 -03:00