XISE_GHDL_SIMPRIM(1) Retro Project Manual XISE_GHDL_SIMPRIM(1) NAME xise_ghdl_simprim - compile Xilinx ISE SIMPRIM libraries for GHDL SYNOPSIS xise_ghdl_simprim [GHDL-OPTION]... DESCRIPTION xise_ghdl_simprim compiles the Xilinx ISE/WebPack SIMPRIM libraries for ghdl. The object files generated by ghdl are stored in the directory tree of the currently active version of ISE/WebPack under $XIL- INX/ghdl/simprim. Since direct calls to ISE tools are in general encapsulated with xtwi(1) the $XTWI_PATH is used instead of $XILINX. This allows using this script and ghdl without an xtwi wrapper. Just use the ghdl 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 simprim_VITAL.vhd. In this case, the xilinx_vhdl_chop 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 ghdl. The xilinx_vhdl_memcolltype_fix helper script simply removes them, no further problems seen so far. OPTIONS 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 -O2 -g is used. ENVIRONMENT XTWI_PATH points to the root of the currently active ISE/WebPack installa- tion. FILES $XTWI_PATH/ISE_DS/ISE/vhdl/src/simprims The VHDL sources for the SIMPRIM library are looked for in this directory tree. $XTWI_PATH/ISE_DS/ISE/ghdl/simprim The created object files will be written into this directory. The directory is created if it does not exist yet. Note that the $XTWI_PATH directory must be writable for the script. SEE ALSO xtwi(1), ghdl(1), xise_ghdl_unisim(1), xilinx_vhdl_memcolltype_fix(1) AUTHOR Walter F.J. Mueller <W.F.J.Mueller@gsi.de> Retro Project 2016-07-02 XISE_GHDL_SIMPRIM(1)