1
- .TH iverilog 1 "$Date: 2001/01/20 19:02:05 $" Version "$Date: 2001/01/20 19:02:05 $"
1
+ .TH iverilog 1 "$Date: 2001/05/15 15:09:08 $" Version "$Date: 2001/05/15 15:09:08 $"
2
2
.SH NAME
3
3
iverilog - Icarus Verilog compiler
4
4
@@ -10,9 +10,10 @@ iverilog - Icarus Verilog compiler
10
10
.PP
11
11
\fI iverilog \fP is a compiler that translates Verilog source code into
12
12
executable programs for simulation, or other netlist formats for
13
- further processing. The currenty supported targets are \fI vvm \fP (for
14
- executable simulation) and \fI xnf \fP for synthesis. Other target
15
- types are added as code generators are implemented.
13
+ further processing. The currently supported targets are \fI vvm \fP (for
14
+ executable simulation) and \fI vvp \fP for simulation, and \fI xnf \fP for
15
+ synthesis. Other target types are added as code generators are
16
+ implemented.
16
17
17
18
.SH OPTIONS
18
19
.l
@@ -56,15 +57,15 @@ expanded and removed. This is useful, for example, to preprocess
56
57
verilog source for use by other compilers.
57
58
.TP 8
58
59
.B -I\fI includedir \fP
59
- Append directory \fI includepdir \fP to list of directoriess searched
60
+ Append directory \fI includepdir \fP to list of directories searched
60
61
for Verilog include files. The \fB -I \fP switch may be used many times
61
62
to specify several directories to search, the directories are searched
62
63
in the order they appear on the command line.
63
64
.TP 8
64
65
.B -m\fI module \fP
65
66
Add this module to the list of VPI modules to be loaded by the
66
67
simulation. Many modules can be specified, and all will be loaded, in
67
- the order specified.
68
+ the order specified. The system module is implicit and always included.
68
69
.TP 8
69
70
.B -N\fI path \fP
70
71
This is used for debugging the compiler proper. Dump the final netlist
@@ -133,6 +134,12 @@ This is the default. The target is an executable program that uses the
133
134
vvm simulation runtime. The compiler actually generates C++ code, then
134
135
compiles and links that code to make the output executable.
135
136
.TP 8
137
+ .B vvp
138
+ The vvp target generates code for the vvp runtime. The output is a
139
+ complete program that simulates the design (like with vvm) but must be
140
+ run by the \f i vvp\fP command. This target is much faster then the
141
+ \fB vvm \fP target, but not quite as complete.
142
+ .TP 8
136
143
.B xnf
137
144
This is the Xilinx Netlist Format used by many tools for placing
138
145
devices in FPGAs or other programmable devices. The Icarus Verilog XNF
@@ -159,15 +166,19 @@ the current directory
159
166
160
167
To compile hello.v to an executable file called a.out:
161
168
162
- verilog hello.v
169
+ iverilog hello.v
163
170
164
171
To compile hello.v to an executable file called hello:
165
172
166
- verilog -o hello hello.v
173
+ iverilog -o hello hello.v
174
+
175
+ To compile and run using the vvp runtime:
176
+
177
+ iverilog -ohello.vvp -tvvp hello.v
167
178
168
179
To compile hello.v to a file in XNF-format called hello.xnf
169
180
170
- verilog -txnf -ohello.xnf hello.v
181
+ iverilog -txnf -ohello.xnf hello.v
171
182
172
183
173
184
.SH "AUTHOR"
0 commit comments