7 all: xst ngdbuild map par trace prom final
10 time make all &>build.log
14 ngdbuild: $(PROJECT).ngd
17 @# echo synclib > $(PROJECT).lso # hmm. things are different in ise 9.1
18 echo work > $(PROJECT).lso
19 xst -intstyle $(INTSTYLE) -ifn $(PROJECT).xst -ofn $(PROJECT).syr
22 $(PROJECT).ngd: $(PROJECT).ngc
23 ngdbuild -intstyle $(INTSTYLE) -dd "$(PWD)/_ngo" -nt timestamp -uc $(PROJECT).ucf -p xc3s1500-fg456-4 $(PROJECT).ngc $(PROJECT).ngd
26 map -intstyle $(INTSTYLE) -p xc3s1500-fg456-4 -cm area -pr b -k 4 -c 100 -o $(PROJECT)_map.ncd $(PROJECT).ngd $(PROJECT).pcf
29 @#par -w -intstyle $(INTSTYLE) -ol std -n 4 -t 1 $(PROJECT)_map.ncd $(PROJECT).dir $(PROJECT).pcf
30 par -w -intstyle $(INTSTYLE) -ol std -t 1 $(PROJECT)_map.ncd $(PROJECT).ncd $(PROJECT).pcf
33 trce -intstyle $(INTSTYLE) -e 3 -l 3 -s 4 -xml $(PROJECT) $(PROJECT).ncd -o $(PROJECT).twr $(PROJECT).pcf
37 bitgen -intstyle $(INTSTYLE) -f $(PROJECT).ut $(PROJECT).ncd
38 @# cp $(PROJECT).bit ../jcarr_last.bit
43 promgen -intstyle $(INTSTYLE) -w -p mcs -u 0 $(PROJECT) -o pci1 pci2 -x xcf02s xcf04s
46 -@grep -A 8 -B 1 ^Selected\ Device $(PROJECT).syr
47 -@grep -A 8 -B 1 ^Timing\ Summary $(PROJECT).syr
48 -@grep -A 21 -B 1 ^Design\ Summary $(PROJECT)_map.map
51 xc3sprog $(PROJECT).bit
54 impact -batch xc3s1500.batch
57 impact -batch xcf.batch
60 rm -f *.bit *.bgn *.mcs *.prm *.bld *.drc *.mcs *.ncd *.ngc *.ngd
61 rm -f *.ngr *.pad *.par *.pcf *.prm *.syr *.twr *.twx *.xpi *.lso *.prm *.mcs _impact*
62 rm -f $(PROJECT)_map.* $(PROJECT)_pad.*
65 rm -f $(PROJECT).unroutes *.xml