- fixed
git-svn-id: http://moon:8086/svn/vhdl/trunk@1142 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
all: netlist
|
||||
|
||||
PRJ := mips_sys
|
||||
PREQ := $(PRJ).prj $(PRJ).xst $(PRJ).lso
|
||||
PREQ := ./project/$(PRJ).prj ./project/$(PRJ).xst ./project/$(PRJ).lso
|
||||
DEVICE := "xc4vsx35-ff668-10"
|
||||
DIRS := ./xst/tmp
|
||||
|
||||
@@ -15,11 +15,11 @@ bitfile: $(PRJ).bit
|
||||
|
||||
# Netlist
|
||||
$(PRJ).ngc: $(DIRS) $(PREQ)
|
||||
xst -intstyle xflow -ifn $(PRJ).xst
|
||||
xst -intstyle xflow -ifn ./project/$(PRJ).xst
|
||||
|
||||
# Translate
|
||||
$(PRJ).ngd: $(PRJ).ngc ./ucf/$(PRJ).ucf
|
||||
ngdbuild -p $(DEVICE) -sd "../../../../lib/CPUs/MIPS/syn/ise101" -dd _ngo -nt timestamp -uc ./ucf/$(PRJ).ucf $(PRJ).ngc $(PRJ).ngd
|
||||
$(PRJ).ngd: $(PRJ).ngc ./project/$(PRJ).ucf
|
||||
ngdbuild -p $(DEVICE) -sd "../../../../lib/CPUs/MIPS/syn/ise101" -dd _ngo -nt timestamp -uc ./project/$(PRJ).ucf $(PRJ).ngc $(PRJ).ngd
|
||||
|
||||
# Map
|
||||
$(PRJ)_map.ncd: $(PRJ).ngd
|
||||
@@ -40,10 +40,7 @@ clean:
|
||||
rm -rf ./xst
|
||||
rm -rf ./xlnx_auto_0_xdb
|
||||
rm -f xlnx_auto_0.ise
|
||||
rm -f $(PRJ).ngc
|
||||
rm -f $(PRJ).ngr
|
||||
rm -f $(PRJ).srp
|
||||
rm -f $(PRJ)_xst.xrpt
|
||||
rm -f $(PRJ)*.*
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user