OpenCores
URL https://opencores.org/ocsvn/present/present/trunk

Subversion Repositories present

[/] [present/] [trunk/] [DecodeTesting/] [syn/] [XC3ES500/] [Makefile] - Rev 7

Compare with Previous | Blame | View Log

PROJECT=present-decode-testing

RM=rm -rf

PLATFORM=xc3s500e-fg320-5
UCF="../../rtl/vhdl/PresentDecodeCommImpl.ucf"

XILINX_DIR="D:/Programy/Xilinx/14.2/ISE_DS/ISE/bin/nt64/"
XST_DIR=$(XILINX_DIR)"xst.exe"
NGDBUILD_DIR=$(XILINX_DIR)"ngdbuild.exe"
MAP=$(XILINX_DIR)"map.exe"
PAR=$(XILINX_DIR)"par.exe"
TRCE=$(XILINX_DIR)"trce.exe"
BITGEN=$(XILINX_DIR)"bitgen.exe"

clean: clean_postgen
        $(RM) "./out/"*.*
        $(RM) "./log/"*.* 

clean_postgen:
        $(RM) "./_xmsgs"
        $(RM) "./_ngo"
        $(RM) "./xlnx_auto_0_xdb"
        $(RM) "./xst"
        $(RM) *_vhdl.prj *.bgn *.bld *.csv *.drc *.lso *.map *.mrp *.ncd *.ngc *.ngd *.ngm *.ngr *.pad *.par *.pcf *.ptwx *.syr *.twr *.twx *.unroutes *.xpi *.xwbt

synthesize: clean
        mkdir "./xst"
        mkdir "./xst/projnav.tmp"
        $(XST_DIR) -intstyle ise -ifn "./PresentDecodeComm.xst" -ofn "./PresentDecodeComm.syr"

translate: synthesize
        $(NGDBUILD_DIR) -intstyle ise -dd _ngo -nt timestamp -uc $(UCF) -p $(PLATFORM) "PresentDecodeComm.ngc" PresentDecodeComm.ngd

map: translate
        $(MAP) -intstyle ise -p $(PLATFORM) -cm area -ir off -pr off -c 100 -o PresentDecodeComm_map.ncd PresentDecodeComm.ngd PresentDecodeComm.pcf

par: map
        $(PAR) -w -intstyle ise -ol high -t 1 PresentDecodeComm_map.ncd PresentDecodeComm.ncd PresentDecodeComm.pcf

trce: par
        $(TRCE) -intstyle ise -v 3 -s 5 -n 3 -fastpaths -xml PresentDecodeComm.twx PresentDecodeComm.ncd -o PresentDecodeComm.twr PresentDecodeComm.pcf

bitgen: par
        $(BITGEN) -intstyle ise -f PresentDecodeComm.ut PresentDecodeComm.ncd

postgen:
        mv *.bit ./out
        mv *.xrpt ./log
        mv *.txt ./log
        mv *.xml ./log
        mv *.html ./log

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.