mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 12:45:59 +02:00
iverilog: add page (#3303)
This commit is contained in:
parent
629f5edda8
commit
cb3dde8502
1 changed files with 24 additions and 0 deletions
24
pages/common/iverilog.md
Normal file
24
pages/common/iverilog.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# iverilog
|
||||
|
||||
> Preprocesses and compiles Verilog HDL (IEEE-1364) code, into executable programs for simulation.
|
||||
> More information: <http://iverilog.icarus.com/>.
|
||||
|
||||
- Compile a source file into an executable:
|
||||
|
||||
`iverilog {{source.v}} -o {{executable}}`
|
||||
|
||||
- Also display all warnings:
|
||||
|
||||
`iverilog {{source.v}} -Wall -o {{executable}}`
|
||||
|
||||
- Compile and run explicitly using the VVP runtime:
|
||||
|
||||
`iverilog -o {{execuable}} -tvvp {{source.v}}`
|
||||
|
||||
- Compile using Verilog library files from a different path:
|
||||
|
||||
`iverilog {{source.v}} -o {{executable}} -I{{path/to/library_directory}}`
|
||||
|
||||
- Preprocess Verilog code without compiling:
|
||||
|
||||
`iverilog -E {{source.v}}`
|
Loading…
Add table
Reference in a new issue