- 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:
@@ -3,13 +3,14 @@
|
|||||||
all: netlist
|
all: netlist
|
||||||
|
|
||||||
PRJ := mips_top
|
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
|
DIRS := ./xst/tmp
|
||||||
|
|
||||||
netlist: $(PRJ).ngc
|
netlist: $(PRJ).ngc
|
||||||
|
|
||||||
$(PRJ).ngc: $(DIRS) $(PREQ)
|
$(PRJ).ngc: $(DIRS) $(PREQ)
|
||||||
xst -ifn $(PRJ).xst -intstyle xflow
|
xst -ifn $(PRJDIR)/$(PRJ).xst -intstyle xflow
|
||||||
|
|
||||||
$(DIRS):
|
$(DIRS):
|
||||||
mkdir -p $(DIRS)
|
mkdir -p $(DIRS)
|
||||||
@@ -18,9 +19,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
|
rm -f $(PRJ)_xst.xrpt
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
set -xsthdpdir "./xst"
|
set -xsthdpdir "./xst"
|
||||||
set -tmpdir "./xst/tmp"
|
set -tmpdir "./xst/tmp"
|
||||||
run
|
run
|
||||||
-ifn mips_top.prj
|
-ifn ./project/mips_top.prj
|
||||||
-ifmt mixed
|
-ifmt mixed
|
||||||
-ofn mips_top
|
-ofn mips_top
|
||||||
-ofmt NGC
|
-ofmt NGC
|
||||||
@@ -10,9 +10,9 @@ run
|
|||||||
-opt_mode Speed
|
-opt_mode Speed
|
||||||
-opt_level 1
|
-opt_level 1
|
||||||
-power NO
|
-power NO
|
||||||
-uc "./constraints/mips_top.xcf"
|
-uc "./project/mips_top.xcf"
|
||||||
-iuc NO
|
-iuc NO
|
||||||
-lso mips_top.lso
|
-lso ./project/mips_top.lso
|
||||||
-keep_hierarchy NO
|
-keep_hierarchy NO
|
||||||
-netlist_hierarchy as_optimized
|
-netlist_hierarchy as_optimized
|
||||||
-rtlview Yes
|
-rtlview Yes
|
||||||
|
|||||||
Reference in New Issue
Block a user