1 |
22 |
wfjm |
.\" -*- nroff -*-
|
2 |
|
|
.\" $Id: xilinx_ghdl_simprim.1 522 2013-05-24 17:50:29Z mueller $
|
3 |
|
|
.\"
|
4 |
|
|
.\" Copyright 2010- by Walter F.J. Mueller
|
5 |
|
|
.\"
|
6 |
|
|
.\" ------------------------------------------------------------------
|
7 |
|
|
.
|
8 |
|
|
.TH XILINX_GHDL_SIMPRIM 1 2010-07-25 "Retro Project" "Retro Project Manual"
|
9 |
|
|
.\" ------------------------------------------------------------------
|
10 |
|
|
.SH NAME
|
11 |
|
|
xilinx_ghdl_simprim \- compile Xilinx ISE SIMPRIM libraries for ghdl
|
12 |
|
|
.\" ------------------------------------------------------------------
|
13 |
|
|
.SH SYNOPSIS
|
14 |
|
|
.
|
15 |
|
|
.B xilinx_ghdl_simprim
|
16 |
|
|
.
|
17 |
|
|
.\" ------------------------------------------------------------------
|
18 |
|
|
.SH DESCRIPTION
|
19 |
|
|
\fBxilinx_ghdl_simprim\fP compiles the Xilinx ISE/WebPack SIMPRIM libraries
|
20 |
|
|
for \fBghdl\fP.
|
21 |
|
|
The object files generated by \fBghdl\fP are stored in the directory
|
22 |
|
|
tree of the currently active version of ISE/WebPack under
|
23 |
|
|
\fI$XILINX/ghdl/simprim\fP.
|
24 |
|
|
This is convenient when several ISE/WebPack versions are installed in
|
25 |
|
|
parallel, the \fB$XILINX\fP
|
26 |
|
|
environment variable is enough to setup the context for the synthesis
|
27 |
|
|
flows as well as for build of \fBghdl\fP models. Just use the \fBghdl\fP
|
28 |
|
|
option
|
29 |
|
|
|
30 |
|
|
.EX
|
31 |
|
|
-P${XILINX}/ghdl/simprim
|
32 |
|
|
.EE
|
33 |
|
|
|
34 |
|
|
to link to the SIMPRIM library.
|
35 |
|
|
|
36 |
|
|
Up to ISE 10 the VITAL models were all concatinated in one large file
|
37 |
|
|
\fIsimprim_VITAL.vhd\fP.
|
38 |
|
|
In this case the \fBxilinx_vhdl_chop\fP
|
39 |
|
|
helper script will create individual source files for each model.
|
40 |
|
|
For ISE 11 and later the modules are shipped as separate files.
|
41 |
|
|
|
42 |
|
|
The XILINX source code has since many releases some buggy statements with
|
43 |
|
|
self-referencial initializations. They seem to be tolerated by the commercial
|
44 |
|
|
tools but not by \fBghdl\fP.
|
45 |
|
|
The \fBxilinx_vhdl_memcolltype_fix\fP
|
46 |
|
|
helper script simply removes them, no further problems seen so far.
|
47 |
|
|
|
48 |
|
|
.\" ------------------------------------------------------------------
|
49 |
|
|
.SH ENVIRONMENT VARIABLES
|
50 |
|
|
.TP
|
51 |
|
|
.B XILINX
|
52 |
|
|
points to the root of the currently active ISE/WebPack installation.
|
53 |
|
|
.
|
54 |
|
|
.\" ------------------------------------------------------------------
|
55 |
|
|
.SH FILES
|
56 |
|
|
.IP \fI$XILINX/vhdl/src/simprims\fP
|
57 |
|
|
The vhdl sources for the SIMPRIM library are looked for in this directory tree.
|
58 |
|
|
.IP \fI$XILINX/ghdl/simprim\fP
|
59 |
|
|
The created object files will be written into this directory. The directory
|
60 |
|
|
is created if not yet existing. Note that the \fI$XILINX\fP
|
61 |
|
|
directory must be writable for the script.
|
62 |
|
|
.
|
63 |
|
|
.\" ------------------------------------------------------------------
|
64 |
|
|
.SH "SEE ALSO"
|
65 |
|
|
.BR ghdl (1),
|
66 |
|
|
.BR xilinx_ghdl_unisim (1)
|
67 |
|
|
.
|
68 |
|
|
.\" ------------------------------------------------------------------
|
69 |
|
|
.SH AUTHOR
|
70 |
|
|
Walter F.J. Mueller
|