Line 1... |
Line 1... |
# $Id: Makefile.xflow 317 2010-07-22 19:36:56Z mueller $
|
# $Id: Makefile.xflow 341 2010-11-27 23:05:43Z mueller $
|
#
|
#
|
# Revision History:
|
# Revision History:
|
# Date Rev Version Comment
|
# Date Rev Version Comment
|
|
# 2010-11-26 340 1.5.8 fix path for .opt defaults (now rtl/vlib)
|
# 2010-05-06 289 1.5.7 add xilinx_tsim_xon support
|
# 2010-05-06 289 1.5.7 add xilinx_tsim_xon support
|
# 2010-04-24 282 1.5.6 add %.impact rule to run impact_wrapper
|
# 2010-04-24 282 1.5.6 add %.impact rule to run impact_wrapper
|
# 2010-04-17 278 1.4.5 add '|| true' after grep in diag summary to prevent
|
# 2010-04-17 278 1.4.5 add '|| true' after grep in diag summary to prevent
|
# a make abort in case no diags are seen
|
# a make abort in case no diags are seen
|
# 2010-04-02 273 1.4.4 add -I{RETROBASE} to ucf_cpp processing rules
|
# 2010-04-02 273 1.4.4 add -I{RETROBASE} to ucf_cpp processing rules
|
Line 67... |
Line 68... |
%.ngc: %.vbom
|
%.ngc: %.vbom
|
if [ ! -d ./ise ]; then mkdir ./ise; fi
|
if [ ! -d ./ise ]; then mkdir ./ise; fi
|
(cd ./ise; vbomconv --xst_prj ../$< > $*.prj)
|
(cd ./ise; vbomconv --xst_prj ../$< > $*.prj)
|
(cd ./ise; touch $*.xcf)
|
(cd ./ise; touch $*.xcf)
|
if [ -r $*.xcf ]; then cp $*.xcf ./ise; fi
|
if [ -r $*.xcf ]; then cp $*.xcf ./ise; fi
|
if [ -r ${RETROBASE}/vlib/${XFLOWOPT_SYN} ]; then \
|
if [ -r ${RETROBASE}/rtl/vlib/${XFLOWOPT_SYN} ]; then \
|
cp ${RETROBASE}/vlib/${XFLOWOPT_SYN} ./ise; fi
|
cp ${RETROBASE}/rtl/vlib/${XFLOWOPT_SYN} ./ise; fi
|
if [ -r ${XFLOWOPT_SYN} ]; then cp ${XFLOWOPT_SYN} ./ise; fi
|
if [ -r ${XFLOWOPT_SYN} ]; then cp ${XFLOWOPT_SYN} ./ise; fi
|
${XFLOW} -wd ise -synth ${XFLOWOPT_SYN} $*.prj
|
${XFLOW} -wd ise -synth ${XFLOWOPT_SYN} $*.prj
|
(cd ./ise; chmod -x *.* )
|
(cd ./ise; chmod -x *.* )
|
if [ -r ./ise/$*.ngc ]; then cp -p ./ise/$*.ngc .; fi
|
if [ -r ./ise/$*.ngc ]; then cp -p ./ise/$*.ngc .; fi
|
if [ -r ./ise/$*_xst.log ]; then cp -p ./ise/$*_xst.log .; fi
|
if [ -r ./ise/$*_xst.log ]; then cp -p ./ise/$*_xst.log .; fi
|
Line 87... |
Line 88... |
%.ngc: ../%.vbom
|
%.ngc: ../%.vbom
|
if [ ! -d ./ise ]; then mkdir ./ise; fi
|
if [ ! -d ./ise ]; then mkdir ./ise; fi
|
(cd ./ise; vbomconv --xst_prj ../$< > $*.prj)
|
(cd ./ise; vbomconv --xst_prj ../$< > $*.prj)
|
(cd ./ise; touch $*.xcf)
|
(cd ./ise; touch $*.xcf)
|
if [ -r $*.xcf ]; then cp $*.xcf ./ise; fi
|
if [ -r $*.xcf ]; then cp $*.xcf ./ise; fi
|
if [ -r ${RETROBASE}/vlib/${XFLOWOPT_SYN} ]; then \
|
if [ -r ${RETROBASE}/rtl/vlib/${XFLOWOPT_SYN} ]; then \
|
cp ${RETROBASE}/vlib/${XFLOWOPT_SYN} ./ise; fi
|
cp ${RETROBASE}/rtl/vlib/${XFLOWOPT_SYN} ./ise; fi
|
if [ -r ${XFLOWOPT_SYN} ]; then cp ${XFLOWOPT_SYN} ./ise; fi
|
if [ -r ${XFLOWOPT_SYN} ]; then cp ${XFLOWOPT_SYN} ./ise; fi
|
${XFLOW} -wd ise -synth ${XFLOWOPT_SYN} $*.prj
|
${XFLOW} -wd ise -synth ${XFLOWOPT_SYN} $*.prj
|
(cd ./ise; chmod -x *.* )
|
(cd ./ise; chmod -x *.* )
|
if [ -r ./ise/$*.ngc ]; then cp -p ./ise/$*.ngc .; fi
|
if [ -r ./ise/$*.ngc ]; then cp -p ./ise/$*.ngc .; fi
|
if [ -r ./ise/$*_xst.log ]; then cp -p ./ise/$*_xst.log .; fi
|
if [ -r ./ise/$*_xst.log ]; then cp -p ./ise/$*_xst.log .; fi
|
Line 115... |
Line 116... |
#
|
#
|
%.ncd %.pcf: %.ngc
|
%.ncd %.pcf: %.ngc
|
if [ ! -d ./ise ]; then mkdir ./ise; fi
|
if [ ! -d ./ise ]; then mkdir ./ise; fi
|
if [ -r $*.ngc ]; then cp -p $*.ngc ./ise; fi
|
if [ -r $*.ngc ]; then cp -p $*.ngc ./ise; fi
|
if [ -r $*.ucf ]; then cp -p $*.ucf ./ise; fi
|
if [ -r $*.ucf ]; then cp -p $*.ucf ./ise; fi
|
if [ -r ${RETROBASE}/vlib/${XFLOWOPT_IMP} ]; then \
|
if [ -r ${RETROBASE}/rtl/vlib/${XFLOWOPT_IMP} ]; then \
|
cp ${RETROBASE}/vlib/${XFLOWOPT_IMP} ./ise; fi
|
cp ${RETROBASE}/rtl/vlib/${XFLOWOPT_IMP} ./ise; fi
|
if [ -r ${XFLOWOPT_IMP} ]; then cp -p ${XFLOWOPT_IMP} ./ise; fi
|
if [ -r ${XFLOWOPT_IMP} ]; then cp -p ${XFLOWOPT_IMP} ./ise; fi
|
${XFLOW} -wd ise -implement ${XFLOWOPT_IMP} $<
|
${XFLOW} -wd ise -implement ${XFLOWOPT_IMP} $<
|
(cd ./ise; chmod -x *.* )
|
(cd ./ise; chmod -x *.* )
|
if [ -r ./ise/$*.ncd ]; then cp -p ./ise/$*.ncd .; fi
|
if [ -r ./ise/$*.ncd ]; then cp -p ./ise/$*.ncd .; fi
|
if [ -r ./ise/$*.pcf ]; then cp -p ./ise/$*.pcf .; fi
|
if [ -r ./ise/$*.pcf ]; then cp -p ./ise/$*.pcf .; fi
|