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:
24
bom/Makefile
Normal file
24
bom/Makefile
Normal 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
1
bom/usb_jtag.equ
Normal file
@@ -0,0 +1 @@
|
||||
#EQU
|
||||
1
bom/usb_jtag.inv
Normal file
1
bom/usb_jtag.inv
Normal file
@@ -0,0 +1 @@
|
||||
#INV
|
||||
14
bom/usb_jtag.sub
Normal file
14
bom/usb_jtag.sub
Normal 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%
|
||||
}
|
||||
Reference in New Issue
Block a user