XISE_GHDL_UNISIM(1) Retro Project Manual XISE_GHDL_UNISIM(1) NNAAMMEE xise_ghdl_unisim - compile Xilinx ISE UNISIM and UNIMACRO libraries for GHDL SSYYNNOOPPSSIISS xxiissee__gghhddll__uunniissiimm [_G_H_D_L_-_O_P_T_I_O_N]... DDEESSCCRRIIPPTTIIOONN xxiissee__gghhddll__uunniissiimm compiles the Xilinx ISE UNISIM and UNIMACRO libraries for gghhddll. The object files generated by gghhddll are stored in the direc- tory tree of the currently active version of ISE under _$_X_I_L_- _I_N_X_/_g_h_d_l_/_u_n_i_s_i_m and _$_X_I_L_I_N_X_/_g_h_d_l_/_u_n_i_m_a_c_r_o. Since direct calls to ISE tools are in general encapsulated with xxttwwii(1) the _$_X_T_W_I___P_A_T_H is used instead of _$_X_I_L_I_N_X. This allows using this script and gghhddll without an xxttwwii wrapper. Just use the gghhddll option -P${XWTI_PATH}/ISE_DE/ISE/ghdl/unisim -P${XWTI_PATH}/ISE_DE/ISE/ghdl/unimacro to link to the UNISIM or UNIMACRO library. The Xilinx source code has since many releases some buggy statements with self-referential initializations. They seem to be tolerated by the commercial tools but not by gghhddll. The xxiilliinnxx__vvhhddll__mmeemmccoollllttyyppee__ffiixx helper script simply removes them, no further problems seen so far. OOPPTTIIOONNSS Options added after the xise_ghdl_unisim command are simply forwarded to the 'ghdl -a' commands. In general, used to specify the optimize level. If no options given _-_O_2 _-_g is used. EENNVVIIRROONNMMEENNTT XXTTWWII__PPAATTHH points to the root of the currently active ISE installation. FFIILLEESS _$_X_T_W_I___P_A_T_H_/_I_S_E___D_S_/_I_S_E_/_v_h_d_l_/_s_r_c_/_u_n_i_s_i_m_s The VHDL sources for the Xilinx ISE UNISIM library _$_X_T_W_I___P_A_T_H_/_I_S_E___D_S_/_I_S_E_/_v_h_d_l_/_s_r_c_/_u_n_i_m_a_c_r_o The VHDL sources for the Xilinx ISE UNIMACRO library _$_X_T_W_I___P_A_T_H_/_I_S_E___D_S_/_I_S_E_/_g_h_d_l The created object files will be written into this directory. The directory is created if it does not exist yet. Note that the _$_X_T_W_I___P_A_T_H directory must be writable for the script. SSEEEE AALLSSOO xxttwwii(1), gghhddll(1), xxiissee__gghhddll__ssiimmpprriimm(1), xxvviivv__gghhddll__uunniissiimm(1), xxiill-- iinnxx__vvhhddll__mmeemmccoollllttyyppee__ffiixx(1) AAUUTTHHOORR Walter F.J. Mueller Retro Project 2016-07-02 XISE_GHDL_UNISIM(1)