From b4e40f2045b1090c760c4bfb69cd4938c9472e91 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Wed, 20 May 2015 23:07:20 +0000 Subject: [PATCH] - fixed targets git-svn-id: http://moon:8086/svn/vhdl/trunk@1135 cc03376c-175c-47c8-b038-4cd826a8556b --- projects/mips_sys/ise101/mips_sys/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/projects/mips_sys/ise101/mips_sys/Makefile b/projects/mips_sys/ise101/mips_sys/Makefile index c43fd30..c8c3864 100644 --- a/projects/mips_sys/ise101/mips_sys/Makefile +++ b/projects/mips_sys/ise101/mips_sys/Makefile @@ -8,24 +8,28 @@ DEVICE := "xc4vsx35-ff668-10" DIRS := ./xst/tmp netlist: $(PRJ).ngc -translate: $(PRJ).ngd +translate: $(PRJ).ngd map: $(PRJ)_map.ncd par: $(PRJ).ncd bitfile: $(PRJ).bit - +# Netlist $(PRJ).ngc: $(DIRS) $(PREQ) xst -intstyle xflow -ifn $(PRJ).xst -$(PRJ).ngd: netlist ./ucf/$(PRJ).ucf +# Translate +$(PRJ).ngd: $(PRJ).ngc ./ucf/$(PRJ).ucf ngdbuild -p $(DEVICE) -sd "../../../../lib/CPUs/MIPS/syn/ise101" -dd _ngo -nt timestamp -uc ./ucf/$(PRJ).ucf $(PRJ).ngc $(PRJ).ngd -$(PRJ)_map.ncd: translate +# Map +$(PRJ)_map.ncd: $(PRJ).ngd map -intstyle xflow -p $(DEVICE) -timing -logic_opt on -ol high -xe n -t 1 -register_duplication -global_opt on -retiming on -equivalent_register_removal on -cm area -pr b -k 4 -power off -o $(PRJ)_map.ncd $(PRJ).ngd $(PRJ).pcf -$(PRJ).ncd: map +# PAR +$(PRJ).ncd: $(PRJ)_map.ncd par -w -intstyle xflow -ol high -xe n -t 1 $(PRJ)_map.ncd $(PRJ).ncd $(PRJ).pcf +# Bitgen $(PRJ).bit: par $(PRJ).ut bitgen -intstyle xflow -f $(PRJ).ut