PROJECT := pci_7seg
-all: xst ngdbuild map par trace prom mcs final
+all: xst ngdbuild map par trace prom final
log:
time make all &>build.log
mv $(PROJECT).bgn $(TMP)
mcs:
- promgen -p mcs -u 0 $(PROJECT) -o pci1 pci2 -x xcf02s xcf04s
+ promgen -w -p mcs -u 0 $(PROJECT) -o pci1 pci2 -x xcf02s xcf04s
final:
-mv $(PROJECT).unroutes *.xml $(TMP)
clean:
rm -rf $(TMP)
rm -rf *.bit *.bgn *.mcs *.prm *.bld *.drc *.mcs *.ncd *.ngc *.ngd
- rm -rf *.ngr *.pad *.par *.pcf *.prm *.syr *.twr *.twx *.xpi *.lso *.prm *.mcs
+ rm -rf *.ngr *.pad *.par *.pcf *.prm *.syr *.twr *.twx *.xpi *.lso *.prm *.mcs _impact*
rm -rf $(PROJECT)_map.* $(PROJECT)_pad.*
rm -rf _ngo xst
rm -rf build.log
rm -rf $(PROJECT).unroutes *.xml
+
+load:
+ impact -batch xc3s1500.batch
+
+flash: mcs
+ impact -batch xcf.batch