- moved synthesis relevant files to project

git-svn-id: http://moon:8086/svn/vhdl/trunk@1140 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2015-05-21 06:48:46 +00:00
parent 0bbc4aeb6c
commit 2e66c57e0c
2 changed files with 7 additions and 8 deletions
+4 -5
View File
@@ -3,13 +3,14 @@
all: netlist
PRJ := mips_top
PREQ := $(PRJ).prj $(PRJ).xst $(PRJ).lso
PRJDIR := ./project
PREQ := $(PRJDIR)/$(PRJ).prj $(PRJDIR)/$(PRJ).xst $(PRJDIR)/$(PRJ).lso
DIRS := ./xst/tmp
netlist: $(PRJ).ngc
$(PRJ).ngc: $(DIRS) $(PREQ)
xst -ifn $(PRJ).xst -intstyle xflow
xst -ifn $(PRJDIR)/$(PRJ).xst -intstyle xflow
$(DIRS):
mkdir -p $(DIRS)
@@ -18,9 +19,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)*.*
rm -f $(PRJ)_xst.xrpt