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

562 Commits

Author SHA1 Message Date
Werner Almesberger
0a86c10803 Generate script boom-config that lists all the database paths, like pkg-config
- boom/Makefile: generate boom-config
- boom/boom-config.in: template for boom-config script
- boom/Makefile (EQU, INV, DSC, CHR): use boom-config
- boom/test/Makefile (EQU, INV, DSC, CHR): use boom-config
2010-10-17 19:58:59 -03:00
Werner Almesberger
281dda5e09 more 2010-10-17 19:51:18 -03:00
Werner Almesberger
61bfa83475 Separate the test from the boom/ top-level directory.
- boom/test.mbq, boom/test.sub: moved to boom/test/
- boom/Makefile: moved all items related to running the test to
  test/Makefile
2010-10-17 19:44:29 -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
ba9a79ea07 Added Yageo RT series of precision chip resistors.
- boom/dist/dk/yageo-rc.catq: include RT series as well
- boom/lib/rtol.inc: resistor-specific variant of the tolerances
- boom/manu/yageo/yageo.gen: decode RT series as well
2010-10-17 18:19:13 -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
36048db468 Added more detailed part counting.
- boom/count.pl: count characterized parts, with type and manufacturer
  breakdown
- boom/Makefile (count): new target to run count.pl
2010-10-17 16:19:49 -03:00
Werner Almesberger
b5520264c6 boom/mbq2lst: recognize #END comment (as end of file, like in the BOOM parser) 2010-10-17 16:08:51 -03:00
Werner Almesberger
d31ede8bea test.sub now better catches typos and supports more capacitor parameters.
- boom/test.sub (R, C): set R and C by default to "required", so that an
  unparseable value doesn't cause a wildcard search
- boom/test.sub (C): added tolerances
- boom/test.sub (C): added material and special properties (syntax:
  material/property, e.g., NP0/RF)
2010-10-17 15:56:04 -03:00
Werner Almesberger
94de4f9865 Added Johanson RF capacitors.
- boom/dist/dk/johanson-cergp.catq: also select E, L, and S series
- boom/manu/johanson/johanson.gen: classify E, L, and S all as "RF"
2010-10-17 15:41:16 -03:00
Werner Almesberger
f0df994795 Added Johanson general-purpose ceramic SMT capacitors.
- boom/Makefile (MANU): added johanson
- boom/dist/dk/Makefile (MANU), boom/dist/dk/johanson-cergp.catq: added
  Johanson "no series" ceramic capacitors
- manu/johanson/Makefile, manu/johanson/johanson.gen: generate
  characteristics for Johanson capacitors
2010-10-17 15:10:55 -03:00
Werner Almesberger
1f52cc962f dist/dk/Makefile (count): new target to count the number of parts we have 2010-10-17 13:59:08 -03:00
Werner Almesberger
d816e82d1e Added AVX general-purpose ceramic SMT capacitors, "no series"
- dist/dk/Makefile (PARTS), dist/dk/avx-cersmt.catq: added AVX ceramic SMT
  capacitors
- manu/avx/Makefile, manu/avx/avx.gen: generate AVX capacitor
  characteristics
- Makefile (MANU): added AVX
2010-10-17 13:55:44 -03:00
Werner Almesberger
bf2e9f2338 Added sanity check for characteristics and corrected omissions/errors found.
- boom/manu/Makefile.common (sane): new target to check that values are
  well-formed and that all required fields are present
- boom/manu/murata/murata.gen (GRM*): added references to catalog pages
- boom/manu/murata/murata.gen (GRM*): added footprints 1808, 1812, and
  2220
- boom/manu/murata/murata.gen (GRM*): ordered materials alphabetically
- boom/manu/murata/murata.gen (GRM*): added materials Z5UY5V
- boom/manu/murata/murata.gen (GRM*): added voltages 250V, 630V, 1kV, abd
  3.15kV
- boom/manu/panasonic/panasonic.gen (ERJ*): tolerance used the wrong field
- boom/manu/yageo/yageo.gen (CC*): added voltage 500V
2010-10-17 13:15:33 -03:00
Werner Almesberger
fd67bc9f3e 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
2010-10-17 03:08:59 -03:00
Werner Almesberger
db2ecbf620 Makefile (CHR): generate from list of manufacturer names 2010-10-17 01:36:02 -03:00
Werner Almesberger
afda18ab88 Oops, murata-grm.catq wasn't committed 2010-10-17 01:26:13 -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
b66b71f560 boom/dist/dk/dk-catq.pl: allow out-of-stock parts 2010-10-17 00:41:09 -03:00
Werner Almesberger
dff11db9e7 Added Murata GRM series of ceramic SMT capacitors.
- boom/Makefile (CHR): added manu/yageo/yageo.chr
- boom/dist/dk/Makefile (PARTS) added yageo-grm
- boom/manu/murata/Makefile, boom/manu/murata/murata.gen: decoding of
  Murata GRM series
2010-10-17 00:32:57 -03:00
Werner Almesberger
9ddc70fedc Yageo CC...R50 weren't recognized.
- boom/lib/e12.inc: added support for leading R to _E12_P scale
- boom/manu/yageo/yageo.gen: allow CC series parts with a value of Rxx
2010-10-17 00:20:25 -03:00
Werner Almesberger
046ae8584e dk-catq.pl: allow selection of top category as well
- boom/dist/dk/dk-catq.pl: category can now include the top-level category
  (syntax: top/sub)
- boom/dist/dk/dk-catq.pl: corrected value printed in "no such value" error
  message
2010-10-17 00:13:21 -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
0b24c43e6a Added Yageo CC series of ceramic SMT capacitors.
- boom/dist/dk/Makefile, boom/dist/dk/yageo-cc.catq: added catalog query
  for Yageo CC series of ceramic chip capacitors
- boom/manu/yageo/yageo.gen: generate characteristics of Yageo CC series
2010-10-16 23:46:11 -03:00
Werner Almesberger
310e8866bc boom/dist/dk/dk-catq.pl: category regexp was mis-designed and it had a typo. 2010-10-16 23:37:32 -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
f0519fcb56 Added a warning that things under boom/ don't make much sense yet. 2010-10-16 12:25:53 -03:00
Werner Almesberger
bf0de45040 Added Yageo RC series chip resistors.
- boom/dist/dk/Makefile, boom/dist/dk/yageo-rc.catq: Yageo RC series chip
  resistors
- boom/manu/yageo/Makefile, boom/manu/yageo/yageo.gen: decode RC series
  chip resistors
- boom/Makefile (CHR): added yageo.chr
2010-10-16 12:12:25 -03:00
Werner Almesberger
331094ec8f ds-catq.pl: allow selecting multiple values and added a test mode.
- boom/dist/dk/dk-catq.pl: allow multiple values of a parameter to be
  selected
- boom/dist/dk/dk-catq.pl: new option -t to run in test mode, in which the
  resulting pages are not downloaded but only the URL leading to them is
  printed
2010-10-16 12:10:38 -03:00
Werner Almesberger
58bca0e24e Corrected build rule for .equ files in boom/dist/dk/
- boom/dist/dk/Makefile: use pattern rule for .equ, so that we can have it
  in a different directory than the .catq file
2010-10-16 08:59:51 -03:00
Werner Almesberger
df88430d48 Test query to exercise the big resistor database we now have.
- boom/test.mbq: sample query (a bunch of 0402 resistors)
- boom/test.sub: basic substitution rules
- boom/Makefile: tie it all together
2010-10-16 08:18:51 -03:00
Werner Almesberger
7190706c6e boom/mbq2lst: utility to generate a KiCad-style BOM from a more human-friendly
version.
2010-10-16 08:17:35 -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
71c15a5844 Fixed typo in panasonic.gen affecting ERJ-P14 parts.
- boom/manu/panasonic/panasonic.gen: typo 1210 footprint is P14, not P12
2010-10-16 07:33:46 -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
Werner Almesberger
a1d1182691 schhist/gitsch2ps: removed redundant quotes in assignments. 2010-10-13 04:49:16 -03:00
Werner Almesberger
e7f84454e2 Removed relative date in commit entries.
- schhist/schhist2web: the relative date is relative to the time
  schhist2web was run, not the time the page is displayed, which is
  incorrect. Removed it. (Reported by Wolfgang Spraul)
2010-10-12 05:50:47 -03:00
Werner Almesberger
9816847760 Make schhist try harder to do seamless in-place updates.
- schhist/schhist2web: create index.html in a temporary file and rename it
  to index.html only at the end. This way, in-place updates work most of
  the time.
2010-10-06 07:28:01 -03:00
Werner Almesberger
479fff14c9 Allow setting of _schhist2web, to allow for parallel runs.
- schhist/schhist2web: cache="$2" doesn't need quoting
- schhist/schhist2web: "tmp" remains constant throughout the run, so assign
  it at the beginning
- schhist/schhist2web: option -T tmp-dir to set "tmp" to a user-defined
  location
2010-10-06 03:55:51 -03:00
Werner Almesberger
f68e5a58b6 Option -D to keep temporary work trees for analysis/debugging.
- schhist/gitsch2ps: option -D to give _gitsch2ps a unique name, to copy
  the Postscript files instead of moving them, and to refrain from deleting
  _gitsch2ps
- schhist/schhist2web: option -D to refrain from deleting _gitsch2ps and
  to pass -D to gitsch2ps
2010-10-06 03:35:46 -03:00
Werner Almesberger
4d28daf6a0 Environment variable SCHHIST_ADDLIBS to force libraries to be present.
- schhist/sanitize-profile: ensure that the libraries listed in
  SCHHIST_ADDLIBS are present in the profile
- schhist/Makefile (board-qi-avt2): use SCHHIST_ADDLIBS to add the "device"
  library
2010-10-04 03:04:35 -03:00
Werner Almesberger
7b1d3fd4d2 gitsch2ps now by default removes cache.lib (option -c keeps it)
- schhist/gitsch2ps: added option -c to keep cache.lib
- schhist/gitsch2ps: remove cache.lib unless -c is set
- schhist/gitsch2ps: added missing space in warning when the profile is
  missing
2010-10-04 02:01:22 -03:00
Werner Almesberger
8be9fe13e2 Added mmone-jtag-serial-cable.
- schhist/Makefile (PHONY, mmone-jtag-serial-cable): added generation of
  mmone-jtag-serial-cable
2010-10-04 01:30:34 -03:00
Werner Almesberger
02bb696704 Make schhist more forgiving if profile or top-level sheet is missing.
- schhist/gitsch2ps: issue a (fatal) error only if .pro and .sch are missing
- schhist/gitsch2ps: exit with success if only one of .pro and .sch is
  missing
- schhist/schhist2web: skip commits for which no Postscript was generated
2010-10-04 00:28:28 -03:00
Werner Almesberger
781c92d2d5 Added AVT2 to the Makefile and the demo index.
- schhist/Makefile (PHONY, board-qi-avt2, board-qi-avt2-upload): added
  board-qi-avt2 (avt2)
- schhist/demo-index.html: added avt2
2010-10-03 23:31:35 -03:00
Werner Almesberger
4c81717cca Corrected the renumbering warning in sanitize-profile.
- schhist/sanitize-profile: used a non-existing variable and thus didn't
  print the expected entry when renumbering
- schhist/sanitize-profile: the message when renumbering had no newline
2010-10-03 22:15:43 -03:00
Werner Almesberger
c247df9701 Moved dsv over from ben-wpan (now in eda-tools/dsv/dsv) 2010-10-03 21:54:57 -03:00
Werner Almesberger
2cfc6ef0c0 schhist/Makefile: added sie-v2 2010-10-03 21:53:52 -03:00