iverilog Command Examples

Preprocesses and compiles Verilog HDL (IEEE-1364) code into executable programs for simulation. More information: https://github.com/steveicarus/iverilog.

iverilog {{path/to/source.v}} -o {{path/to/executable}}

iverilog {{path/to/source.v}} -Wall -o {{path/to/executable}}

iverilog -o {{path/to/executable}} -tvvp {{path/to/source.v}}

iverilog {{path/to/source.v}} -o {{path/to/executable}} -I{{path/to/library_directory}}

iverilog -E {{path/to/source.v}}