1
0
mirror of git://projects.qi-hardware.com/m1.git synced 2025-04-21 12:27:27 +03:00

added very first boom support files

This commit is contained in:
Wolfgang Spraul
2010-10-23 12:09:46 +00:00
parent 7f56822bb1
commit a05bb8449f
5 changed files with 83 additions and 43 deletions

24
bom/Makefile Normal file
View File

@@ -0,0 +1,24 @@
BOOM_CONFIG=../../eda-tools/boom/boom-config
BOOM=../../boom/boom
KITS=1
EQU=usb_jtag.equ $(shell $(BOOM_CONFIG) equ)
INV=usb_jtag.inv $(shell $(BOOM_CONFIG) inv)
DSC=$(shell $(BOOM_CONFIG) dsc)
CHR=$(shell $(BOOM_CONFIG) chr)
usb_jtag.ord: usb_jtag.par $(INV) $(EQU)
$(BOOM) part2order $(KITS) $^ >$@ || \
{ rm -f $@; exit 1; }
usb_jtag.par: $(EQU) $(INV) $(CHR) ../usb_jtag.lst usb_jtag.sub
$(BOOM) bom2part $^ >$@ || \
{ rm -f $@; exit 1; }
show: usb_jtag.ord $(DSC)
grep -vw USB_JTAG $< | $(BOOM) prettyord -t - $(DSC) | \
sed 's/^... //'
clean:
rm -f usb_jtag.par usb_jtag.ord

1
bom/usb_jtag.equ Normal file
View File

@@ -0,0 +1 @@
#EQU

1
bom/usb_jtag.inv Normal file
View File

@@ -0,0 +1 @@
#INV

14
bom/usb_jtag.sub Normal file
View File

@@ -0,0 +1,14 @@
#SUB
-> T=unknown
C[0-9]* {
-> T=C
VAL=*F -> C=$VAL
FN=*V -> V=>=$FN
}
R[0-9]* {
-> T=R
VAL=$R -> R=$VAL
-> TOL=5%
}