- 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
|
all: netlist
|
||||||
|
|
||||||
PRJ := mips_sys
|
PRJ := mips_sys
|
||||||
PREQ := $(PRJ).prj $(PRJ).xst $(PRJ).lso
|
PREQ := ./project/$(PRJ).prj ./project/$(PRJ).xst ./project/$(PRJ).lso
|
||||||
DEVICE := "xc4vsx35-ff668-10"
|
DEVICE := "xc4vsx35-ff668-10"
|
||||||
DIRS := ./xst/tmp
|
DIRS := ./xst/tmp
|
||||||
|
|
||||||
@@ -15,11 +15,11 @@ bitfile: $(PRJ).bit
|
|||||||
|
|
||||||
# Netlist
|
# Netlist
|
||||||
$(PRJ).ngc: $(DIRS) $(PREQ)
|
$(PRJ).ngc: $(DIRS) $(PREQ)
|
||||||
xst -intstyle xflow -ifn $(PRJ).xst
|
xst -intstyle xflow -ifn ./project/$(PRJ).xst
|
||||||
|
|
||||||
# Translate
|
# Translate
|
||||||
$(PRJ).ngd: $(PRJ).ngc ./ucf/$(PRJ).ucf
|
$(PRJ).ngd: $(PRJ).ngc ./project/$(PRJ).ucf
|
||||||
ngdbuild -p $(DEVICE) -sd "../../../../lib/CPUs/MIPS/syn/ise101" -dd _ngo -nt timestamp -uc ./ucf/$(PRJ).ucf $(PRJ).ngc $(PRJ).ngd
|
ngdbuild -p $(DEVICE) -sd "../../../../lib/CPUs/MIPS/syn/ise101" -dd _ngo -nt timestamp -uc ./project/$(PRJ).ucf $(PRJ).ngc $(PRJ).ngd
|
||||||
|
|
||||||
# Map
|
# Map
|
||||||
$(PRJ)_map.ncd: $(PRJ).ngd
|
$(PRJ)_map.ncd: $(PRJ).ngd
|
||||||
@@ -40,10 +40,7 @@ clean:
|
|||||||
rm -rf ./xst
|
rm -rf ./xst
|
||||||
rm -rf ./xlnx_auto_0_xdb
|
rm -rf ./xlnx_auto_0_xdb
|
||||||
rm -f xlnx_auto_0.ise
|
rm -f xlnx_auto_0.ise
|
||||||
rm -f $(PRJ).ngc
|
rm -f $(PRJ)*.*
|
||||||
rm -f $(PRJ).ngr
|
|
||||||
rm -f $(PRJ).srp
|
|
||||||
rm -f $(PRJ)_xst.xrpt
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user