- 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
@@ -1,7 +1,7 @@
set -xsthdpdir "./xst"
set -tmpdir "./xst/tmp"
run
-ifn mips_top.prj
-ifn ./project/mips_top.prj
-ifmt mixed
-ofn mips_top
-ofmt NGC
@@ -10,9 +10,9 @@ run
-opt_mode Speed
-opt_level 1
-power NO
-uc "./constraints/mips_top.xcf"
-uc "./project/mips_top.xcf"
-iuc NO
-lso mips_top.lso
-lso ./project/mips_top.lso
-keep_hierarchy NO
-netlist_hierarchy as_optimized
-rtlview Yes