XTWV(1) Retro Project Manual XTWV(1) NNAAMMEE xtwv - Xilinx Tool Wrapper script for Vivado SSYYNNOOPPSSIISS xxttwwvv [_C_O_M_M_A_N_D] DDEESSCCRRIIPPTTIIOONN The Xilinx Vivado setup script redefines PPAATTHH and LLDD__LLIIBBRRAARRYY__PPAATTHH. The Vivado tools run fine in this environment, but other installed programs on the system might fail. xxttwwvv helps to keep the Vivado environment separate from the normal working environment. The environment variable XXTTWWVV__PPAATTHH must be set up to the install path of the Vivado version to be used. xxttwwvv uses XXTTWWVV__PPAATTHH to locate the Vivado setup script, sources it, and execs the _C_O_M_M_A_N_D. This way _C_O_M_M_A_N_D is executed in the Vivado environ- ment, while the login shell stays clean. xxttwwii can also set up a clean environment when BBAARREE__PPAATTHH and BBAARREE__LLDD__LLII-- BBRRAARRYY__PPAATTHH are defined. EENNVVIIRROONNMMEENNTT BBXXTTWWVV__PPAATTHH Install path of Vivado BBAARREE__PPAATTHH Optional. If defined xxttwwii will set export PATH=$BARE_PATH:$RETROBASE/tools/bin LD_LIBRARY_PATH will be unset unless BARE_LD_LIBRARY_PATH is de- fined too. BBAARREE__LLDD__LLIIBBRRAARRYY__PPAATTHH Optional. If defined xxttwwii will set export LD_LIBRARY_PATH=$BARE_LD_LIBRARY_PATH Used only when BARE_PATH is defined. FFIILLEESS $XTWV_PATH/settings32.sh $XTWV_PATH/settings64.sh Vivado setup script located and sourced on 32 or 64 bit systems NNOOTTEESS Vivado is a lot less intrusive than ISE, but it's still a good precau- tion to wrap calls of Vivado tools with xxttwwvv. If both Vivado and ISE are used xxttwwvv and xxttwwii(1) offer a convenient way to have both tools available in one session without interference. EEXXAAMMPPLLEESS xxttwwvv vviivvaaddoo --mmooddee bbaattcchh --ssoouurrccee tteesstt..ttccll Starts Vivado in batch mode and executes the script _t_e_s_t_._t_c_l. SSEEEE AALLSSOO xxttwwii(1) AAUUTTHHOORR Walter F.J. Mueller Retro Project 2016-03-19 XTWV(1)