- added Makefile

- fixed xst-file

git-svn-id: http://moon:8086/svn/vhdl/trunk@1123 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2015-05-20 20:11:54 +00:00
parent d0e55bb674
commit 4ee703f9b4
2 changed files with 27 additions and 3 deletions
+24
View File
@@ -0,0 +1,24 @@
.PHONY: clean
all: mips_top.ngc
PREQ := mips_top.prj mips_top.xst mips_top.lso
DIRS := ./xst/tmp
mips_top.ngc: $(DIRS) $(PREQ)
xst -ifn mips_top.xst -intstyle xflow
$(DIRS):
mkdir -p $(DIRS)
clean:
rm -rf ./xst
rm -rf ./xlnx_auto_0_xdb
rm -f xlnx_auto_0.ise
rm -f mips_top.ngc
rm -f mips_top.ngr
rm -f mips_top.srp
rm -f mips_top_xst.xrpt
+3 -3
View File
@@ -1,5 +1,5 @@
set -tmpdir "W:/SVN/vhdl/trunk/lib/CPUs/MIPS/syn/ise101/xst/projnav.tmp"
set -xsthdpdir "W:/SVN/vhdl/trunk/lib/CPUs/MIPS/syn/ise101/xst"
set -xsthdpdir "./xst"
set -tmpdir "./xst/tmp"
run
-ifn mips_top.prj
-ifmt mixed
@@ -10,7 +10,7 @@ run
-opt_mode Speed
-opt_level 1
-power NO
-uc "W:/SVN/vhdl/trunk/lib/CPUs/MIPS/syn/ise101/constraints/mips_top.xcf"
-uc "./constraints/mips_top.xcf"
-iuc NO
-lso mips_top.lso
-keep_hierarchy NO