iverilog

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 -Ipath/to/library_directory

iverilog -E path/to/source.v