XISE_GHDL_SIMPRIM(1) Retro Project Manual XISE_GHDL_SIMPRIM(1) NNAAMMEE xise_ghdl_simprim - compile Xilinx ISE SIMPRIM libraries for GHDL SSYYNNOOPPSSIISS xxiissee__gghhddll__ssiimmpprriimm [_G_H_D_L_-_O_P_T_I_O_N]... DDEESSCCRRIIPPTTIIOONN xxiissee__gghhddll__ssiimmpprriimm compiles the Xilinx ISE/WebPack SIMPRIM libraries for gghhddll. The object files generated by gghhddll are stored in the directory tree of the currently active version of ISE/WebPack under _$_X_I_L_- _I_N_X_/_g_h_d_l_/_s_i_m_p_r_i_m. 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 to link to the SIMPRIM library. Up to ISE 10 the VITAL models were all concatenated in one large file _s_i_m_p_r_i_m___V_I_T_A_L_._v_h_d. In this case, the xxiilliinnxx__vvhhddll__cchhoopp helper script will create individual source files for each model. For ISE 11 and later the modules are shipped as separate files. 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_simprim 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/WebPack installa- tion. FFIILLEESS _$_X_T_W_I___P_A_T_H_/_I_S_E___D_S_/_I_S_E_/_v_h_d_l_/_s_r_c_/_s_i_m_p_r_i_m_s The VHDL sources for the SIMPRIM library are looked for in this directory tree. _$_X_T_W_I___P_A_T_H_/_I_S_E___D_S_/_I_S_E_/_g_h_d_l_/_s_i_m_p_r_i_m 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__uunniissiimm(1), xxiilliinnxx__vvhhddll__mmeemmccoollllttyyppee__ffiixx(1) AAUUTTHHOORR Walter F.J. Mueller Retro Project 2016-07-02 XISE_GHDL_SIMPRIM(1)