.\" -*- nroff -*-
|
.\" -*- nroff -*-
|
.\" $Id: xilinx_ghdl_unisim.1 522 2013-05-24 17:50:29Z mueller $
|
.\" $Id: xilinx_ghdl_unisim.1 522 2013-05-24 17:50:29Z mueller $
|
.\"
|
.\"
|
.\" Copyright 2010- by Walter F.J. Mueller
|
.\" Copyright 2010- by Walter F.J. Mueller
|
.\"
|
.\"
|
.\" ------------------------------------------------------------------
|
.\" ------------------------------------------------------------------
|
.
|
.
|
.TH XILINX_GHDL_UNISIM 1 2010-07-25 "Retro Project" "Retro Project Manual"
|
.TH XILINX_GHDL_UNISIM 1 2010-07-25 "Retro Project" "Retro Project Manual"
|
.\" ------------------------------------------------------------------
|
.\" ------------------------------------------------------------------
|
.SH NAME
|
.SH NAME
|
xilinx_ghdl_unisim \- compile Xilinx ISE UNISIM libraries for ghdl
|
xilinx_ghdl_unisim \- compile Xilinx ISE UNISIM libraries for ghdl
|
.\" ------------------------------------------------------------------
|
.\" ------------------------------------------------------------------
|
.SH SYNOPSIS
|
.SH SYNOPSIS
|
.
|
.
|
.B xilinx_ghdl_unisim
|
.B xilinx_ghdl_unisim
|
.
|
.
|
.\" ------------------------------------------------------------------
|
.\" ------------------------------------------------------------------
|
.SH DESCRIPTION
|
.SH DESCRIPTION
|
\fBxilinx_ghdl_unisim\fP compiles the Xilinx ISE/WebPack UNISIM libraries for
|
\fBxilinx_ghdl_unisim\fP compiles the Xilinx ISE/WebPack UNISIM libraries for
|
\fBghdl\fP. The object files generated by \fBghdl\fP
|
\fBghdl\fP. The object files generated by \fBghdl\fP
|
are stored in the directory tree of the currently active version of
|
are stored in the directory tree of the currently active version of
|
ISE/WebPack under \fI$XILINX/ghdl/unisim\fP.
|
ISE/WebPack under \fI$XILINX/ghdl/unisim\fP.
|
This is convenient when several ISE/WebPack versions are installed in
|
This is convenient when several ISE/WebPack versions are installed in
|
parallel, the \fB$XILINX\fP
|
parallel, the \fB$XILINX\fP
|
environment variable is enough to setup the context for the synthesis
|
environment variable is enough to setup the context for the synthesis
|
flows as well as for build of \fBghdl\fP models. Just use the
|
flows as well as for build of \fBghdl\fP models. Just use the
|
\fBghdl\fP option
|
\fBghdl\fP option
|
|
|
.EX
|
.EX
|
-P${XILINX}/ghdl/unisim
|
-P${XILINX}/ghdl/unisim
|
.EE
|
.EE
|
|
|
to link to the UNISIM library.
|
to link to the UNISIM library.
|
|
|
Up to ISE 10 the VITAL models were all concatinated in one large file
|
Up to ISE 10 the VITAL models were all concatinated in one large file
|
\fIunisim_VITAL.vhd\fP. In this case the \fBxilinx_vhdl_chop\fP
|
\fIunisim_VITAL.vhd\fP. In this case the \fBxilinx_vhdl_chop\fP
|
helper script will create individual source files for each model.
|
helper script will create individual source files for each model.
|
For ISE 11 and later the modules are shipped as separate files.
|
For ISE 11 and later the modules are shipped as separate files.
|
|
|
The XILINX source code has since many releases some buggy statements with
|
The XILINX source code has since many releases some buggy statements with
|
self-referencial initializations. They seem to be tolerated by the commercial
|
self-referencial initializations. They seem to be tolerated by the commercial
|
tools but not by \fBghdl\fP.
|
tools but not by \fBghdl\fP.
|
The \fBxilinx_vhdl_memcolltype_fix\fP
|
The \fBxilinx_vhdl_memcolltype_fix\fP
|
helper script simply removes them, no further problems seen so far.
|
helper script simply removes them, no further problems seen so far.
|
|
|
.\" ------------------------------------------------------------------
|
.\" ------------------------------------------------------------------
|
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
.IP \fBXILINX\fP
|
.IP \fBXILINX\fP
|
points to the root of the currently active ISE/WebPack installation.
|
points to the root of the currently active ISE/WebPack installation.
|
.
|
.
|
.\" ------------------------------------------------------------------
|
.\" ------------------------------------------------------------------
|
.SH FILES
|
.SH FILES
|
.IP \fI$XILINX/vhdl/src/unisims\fP
|
.IP \fI$XILINX/vhdl/src/unisims\fP
|
The vhdl sources for the UNISIM library are looked for in this directory tree.
|
The vhdl sources for the UNISIM library are looked for in this directory tree.
|
.IP \fI$XILINX/ghdl/unisim\fP
|
.IP \fI$XILINX/ghdl/unisim\fP
|
The created object files will be written into this directory. The directory
|
The created object files will be written into this directory. The directory
|
is created if not yet existing. Note that the \fI$XILINX\fP
|
is created if not yet existing. Note that the \fI$XILINX\fP
|
directory must be writable for the script.
|
directory must be writable for the script.
|
.
|
.
|
.\" ------------------------------------------------------------------
|
.\" ------------------------------------------------------------------
|
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
.BR ghdl (1),
|
.BR ghdl (1),
|
.BR xilinx_ghdl_simprim (1)
|
.BR xilinx_ghdl_simprim (1)
|
.
|
.
|
.\" ------------------------------------------------------------------
|
.\" ------------------------------------------------------------------
|
.SH AUTHOR
|
.SH AUTHOR
|
Walter F.J. Mueller
|
Walter F.J. Mueller
|
|
|