- added MPA_EFFORT, PAR_EFFORT. Default = med
git-svn-id: http://moon:8086/svn/vhdl/trunk@1606 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
+4
-2
@@ -10,6 +10,8 @@ prom : $(PRJ).mcs
|
|||||||
timing : $(PRJ).twr
|
timing : $(PRJ).twr
|
||||||
|
|
||||||
NETLIST_DIR ?= ./
|
NETLIST_DIR ?= ./
|
||||||
|
MAP_EFFORT ?= med
|
||||||
|
PAR_EFFORT ?= med
|
||||||
|
|
||||||
# Netlist
|
# Netlist
|
||||||
$(PRJ).ngc: $(DIRS) $(PREQ) ./project/$(PRJ).ucf
|
$(PRJ).ngc: $(DIRS) $(PREQ) ./project/$(PRJ).ucf
|
||||||
@@ -21,11 +23,11 @@ $(PRJ).ngd: $(NETLISTS) $(PRJ).ngc ./project/$(PRJ).ucf
|
|||||||
|
|
||||||
# Map
|
# Map
|
||||||
$(PRJ)_map.ncd: $(PRJ).ngd
|
$(PRJ)_map.ncd: $(PRJ).ngd
|
||||||
map -intstyle xflow -p $(DEVICE) -timing -logic_opt on -ol high -t 1 -register_duplication -cm area -ignore_keep_hierarchy -pr off -k 4 -power off -o $(PRJ)_map.ncd $(PRJ).ngd $(PRJ).pcf
|
map -intstyle xflow -p $(DEVICE) -timing -logic_opt on -ol $(MAP_EFFORT) -t 1 -register_duplication -cm area -ignore_keep_hierarchy -pr off -k 4 -power off -o $(PRJ)_map.ncd $(PRJ).ngd $(PRJ).pcf
|
||||||
|
|
||||||
# PAR
|
# PAR
|
||||||
$(PRJ).ncd: $(PRJ)_map.ncd
|
$(PRJ).ncd: $(PRJ)_map.ncd
|
||||||
par -w -intstyle xflow -ol high -t 1 $(PRJ)_map.ncd $(PRJ).ncd $(PRJ).pcf
|
par -w -intstyle xflow -ol $(PAR_EFFORT) -t 1 $(PRJ)_map.ncd $(PRJ).ncd $(PRJ).pcf
|
||||||
|
|
||||||
# Timing
|
# Timing
|
||||||
$(PRJ).twr: $(PRJ).ncd $(PRJ).pcf ./project/$(PRJ).ucf
|
$(PRJ).twr: $(PRJ).ncd $(PRJ).pcf ./project/$(PRJ).ucf
|
||||||
|
|||||||
Reference in New Issue
Block a user