|
Message
From: cvs at opencores.org<cvs@o...>
Date: Fri Aug 11 18:08:12 CEST 2006
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/06/08 11:18:08 Modified: jop Makefile Log: added BLASTER_TYPE Revision Changes Path 1.55 jop/Makefile http://www.opencores.org/cvsweb.shtml/jop/Makefile.diff?r1=1.54&r2=1.55 (In the diff below, changes in quantity of whitespace are not shown.) Index: Makefile =================================================================== RCS file: /cvsroot/martin/jop/Makefile,v retrieving revision 1.54 retrieving revision 1.55 diff -u -b -r1.54 -r1.55 --- Makefile 11 Aug 2006 01:35:56 -0000 1.54 +++ Makefile 11 Aug 2006 16:08:11 -0000 1.55 @@ -33,6 +33,9 @@ #COM_PORT=COM6 #COM_FLAG=-e -usb +BLASTER_TYPE=ByteBlasterMV +#BLASTER_TYPE=USB-Blaster + # 'some' different Quartus projects QPROJ=cycmin cycbaseio cycbg dspio lego cycfpu cyc256x16 sopcmin # if you want to build only one Quartus project use e.q.: @@ -279,7 +282,7 @@ com.jopdesign.tools.JopSim java/target/dist/bin/$(JOPBIN) config_byteblast: - cd quartus/$(DLPROJ) && quartus_pgm -c ByteBlasterMV -m JTAG jop.cdf + cd quartus/$(DLPROJ) && quartus_pgm -c $(BLASTER_TYPE) -m JTAG jop.cdf config_usb: cd rbf && ../USBRunner $(DLPROJ).cdf @@ -300,7 +303,7 @@ down java/target/dist/bin/$(JOPBBIN) $(COM_PORT) java -cp java/pc/dist/lib/jop-pc.jar udp.Flash java/target/dist/bin/$(JOPBIN) $(IPDEST) java -cp java/pc/dist/lib/jop-pc.jar udp.Flash ttf/$(FLPROJ).ttf $(IPDEST) - quartus_pgm -c ByteBlasterMV -m JTAG -o p\;quartus/cycconf/cyc_conf.pof + quartus_pgm -c $(BLASTER_TYPE) -m JTAG -o p\;quartus/cycconf/cyc_conf.pof # # flash programming for the BG hardware as an example @@ -312,16 +315,16 @@ # cd java/target && ./build.bat app oebb Main # java -cp java/pc/dist/lib/jop-pc.jar udp.Flash java/target/dist/bin/oebb_Main.jop 192.168.1.2 # java -cp java/pc/dist/lib/jop-pc.jar udp.Flash ttf/$(FLPROJ).ttf 192.168.1.2 -# quartus_pgm -c ByteBlasterMV -m JTAG -o p\;quartus/cycconf/cyc_conf.pof +# quartus_pgm -c $(BLASTER_TYPE) -m JTAG -o p\;quartus/cycconf/cyc_conf.pof erase_flash: java -cp java/pc/dist/lib/jop-pc.jar udp.Erase $(IPDEST) pld_init: - quartus_pgm -c ByteBlasterMV -m JTAG -o p\;quartus/cycconf/cyc_conf_init.pof + quartus_pgm -c $(BLASTER_TYPE) -m JTAG -o p\;quartus/cycconf/cyc_conf_init.pof pld_conf: - quartus_pgm -c ByteBlasterMV -m JTAG -o p\;quartus/cycconf/cyc_conf.pof + quartus_pgm -c $(BLASTER_TYPE) -m JTAG -o p\;quartus/cycconf/cyc_conf.pof oebb: java -cp java/pc/dist/lib/jop-pc.jar udp.Flash java/target/dist/bin/oebb_Main.jop 192.168.1.2 @@ -349,8 +352,8 @@ # program the PLD. # xxx: - quartus_pgm -c ByteBlasterMV -m JTAG -o p\;jbc/cycbg.jbc - quartus_pgm -c ByteBlasterMV -m JTAG -o p\;jbc/cyc_conf.jbc + quartus_pgm -c $(BLASTER_TYPE) -m JTAG -o p\;jbc/cycbg.jbc + quartus_pgm -c $(BLASTER_TYPE) -m JTAG -o p\;jbc/cyc_conf.jbc # @@ -372,7 +375,7 @@ quartus_tan $$qp; \ cd quartus/$$target && quartus_cpf -c jop.cdf ../../jbc/$$target.jbc; \ done - cd quartus/$(DLPROJ) && quartus_pgm -c ByteBlasterMV -m JTAG jop.cdf + cd quartus/$(DLPROJ) && quartus_pgm -c $(BLASTER_TYPE) -m JTAG jop.cdf e $(COM_PORT) @@ -390,7 +393,7 @@ quartus_tan $$qp; \ cd quartus/$$target && quartus_cpf -c jop.cdf ../../jbc/$$target.jbc; \ done - cd quartus/$(DLPROJ) && quartus_pgm -c ByteBlasterMV -m JTAG jop.cdf + cd quartus/$(DLPROJ) && quartus_pgm -c $(BLASTER_TYPE) -m JTAG jop.cdf #
|
 |