verilog_iverilog_sample

View project on GitHub

iverilog_sample:

View iverilog sample on GitHub.


  • Download iverilog exe file:
  • Install
  • Setup emvironment variable path
    • File -> This PC -> Right Click (for Windows user)
    • Properties
    • Advanced system seetings
    • Environment Variable
    • System variable -> path -> Edit
    • New -> C:\iverilog\bin
    • New -> C:\iverilog\gtkwave\bin
    • OK
    • (set PATH=C:\iverilog\bin;%PATH%)
    • (set PATH=C:\iverilog\gtkwave\bin;%PATH%)
  • cmd window (for Windows user)
    • C:\Users\verilogsample>iverilog add.v test_bench.v -o sample.vvp
    • (C:\Users\verilogsample>iverilog -o sample.vvp rtl\*)
    • C:\Users\verilogsample>vvp sample.vvp
    • (C:\Users\verilogsample>iverilog -o sample.vvp rtl\*)
  • Waveform


END

Codes are Here.

You can return My Main Page.