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