vvp verilog ful code example
Example 1: how to run verilog files in linux
# following commands for terminal
iverilog -o my_design testbench.v design.v
vvp my_design
Example 2: how to run verilog files in linux
# to get waveform (dunmped as "wave.vcd")
gtkwave wave.vcd