mirror of
https://github.com/LIV2/GottaGoFaZt3r.git
synced 2025-12-06 00:32:44 +00:00
Makefile tweaks
* CPLDFIT: set unused outputs (TP1,TP2) to GND * Tweak flash target so that it will use the .jed in the Binaries directory
This commit is contained in:
parent
b0589a1632
commit
4ccc2244f3
File diff suppressed because it is too large
Load Diff
10
RTL/Makefile
10
RTL/Makefile
@ -8,11 +8,11 @@ PRODID=72
|
||||
DEFINES=makedefines autoconfig SERIAL=32'h${SERIAL} PRODID=${PRODID}
|
||||
CABLE=usb21
|
||||
|
||||
CPLDFITFLAGS=-loc on -slew slow -init low -terminate keeper -unused float -power std -optimize speed -keepio
|
||||
CPLDFITFLAGS=-loc on -slew slow -init low -terminate keeper -unused ground -power std -optimize speed -keepio
|
||||
|
||||
.PHONY: all clean fit
|
||||
|
||||
all: $(PROJECT).jed
|
||||
all: ../Binary/$(PROJECT).jed
|
||||
|
||||
$(PROJECT).prj: *.v
|
||||
-$(shell rm -f $@)
|
||||
@ -31,7 +31,9 @@ $(WORKDIR)/%.vm6: $(WORKDIR)/%.ngd $(PROJECT).ucf
|
||||
|
||||
%.jed: $(WORKDIR)/%.vm6
|
||||
hprep6 -i $<
|
||||
cp $@ ../Binary/
|
||||
|
||||
../Binary/%.jed: %.jed
|
||||
cp $< ../Binary/
|
||||
|
||||
clean:
|
||||
-rm -rvf tmp
|
||||
@ -45,7 +47,7 @@ $(WORKDIR)/%.tim: $(WORKDIR)/%.vm6
|
||||
|
||||
timing: $(WORKDIR)/$(PROJECT).tim
|
||||
|
||||
flash: $(PROJECT).jed
|
||||
flash: ../Binary/$(PROJECT).jed
|
||||
@echo "setMode -bs\n"\
|
||||
"setCable -p $(CABLE)\n"\
|
||||
"identify\n"\
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user