mirror of
https://github.com/wfjm/w11.git
synced 2026-01-24 03:46:32 +00:00
- new reference system
- switched from ISE 13.3 to 14.7.
- map/par behaviour changed, unfortunately unfavorably for w11a.
On Nexys3 no timing closure anymore for 80 MHz, only 72 MHz can
be achieved now.
- new man pages (in doc/man/man1/)
- support for Spartan-6 CMTs in PLL and DCM mode
63 lines
1.3 KiB
Bash
Executable File
63 lines
1.3 KiB
Bash
Executable File
#!/bin/bash
|
|
# $Id: xtwi 544 2013-11-10 22:42:16Z mueller $
|
|
#
|
|
# Xilinx Tool Wrapper script for ISE:
|
|
# define XTWI_PATH
|
|
# usage xwti <ise command>
|
|
#
|
|
# Revision History:
|
|
# Date Rev Version Comment
|
|
# 2013-10-12 539 1.0 Initial version
|
|
#
|
|
# Note: For Xilinx ISE installations with an install path <ipath> holds
|
|
# <ipath>/ISE_DS dir with settings(32|64).sh
|
|
# <ipath>/ISE_DS/ISE XILINX env var will point here
|
|
#
|
|
|
|
# store arg list on vars (will be dropped later to source scripts)
|
|
arglist_val=$@
|
|
arglist_num=$#
|
|
#
|
|
# check whether ISE already setup ($XILINX defined)
|
|
if [ -z "$XILINX" ]
|
|
then
|
|
# check whether $XTWI_PATH defined
|
|
if [ -z "$XTWI_PATH" ]
|
|
then
|
|
echo "XTWI_PATH not defined"
|
|
exit 1
|
|
fi
|
|
|
|
# check whether 32 or 64 bit system (uname -m gives 'i686' or 'x86_64')
|
|
if [ `uname -m` = "x86_64" ]
|
|
then
|
|
settings_filename=$XTWI_PATH/ISE_DS/settings64.sh
|
|
else
|
|
settings_filename=$XTWI_PATH/ISE_DS/settings32.sh
|
|
fi
|
|
if [ ! -e "$settings_filename" ]
|
|
then
|
|
echo "can't locate init script '$settings_filename'"
|
|
exit 1
|
|
fi
|
|
|
|
# drop arg list, suppress output
|
|
set --
|
|
. $settings_filename > /dev/null
|
|
|
|
# check that XILINX defined
|
|
if [ -z "$XILINX" ]
|
|
then
|
|
echo "Failed to setup XILINX"
|
|
exit 1
|
|
fi
|
|
|
|
else
|
|
echo "XILINX already defined"
|
|
fi
|
|
|
|
if [ $arglist_num != 0 ]
|
|
then
|
|
exec $arglist_val
|
|
fi
|