How to use Verilog HDL on Ubuntu?

I tried to begin a small course with some examples in Verilog HDL, and after spending much time searching for the best Simulator or IDE to practice with some examples, I failed to figure out how to use it on Ubuntu 12.04

So, I have two questions:

  1. How can I use Verilog on Ubuntu 12.04?

  2. What is the best Simulator (or IDE) available for Linux?

Asked By: amrro

||

Does this post help: Verilog and VHDL on Linux (Ubuntu)?

It recommends a combined use of Icarus Verilog (iverilog in repositories) for Verilog simulation, GHDL for VHDL simulation, and GTKWave (gtkwave in repositories) for waveform viewing.

If you want an Eclipse-based Verilog editor, try veditor.

Answered By: Tom Regner

You can download SynpatiCAD’s Linux Verilog simulator which is Ubuntu compatible. It includes a command line simulator and a graphical IDE. After you install it, you can run the tool and request a free 6 month license for the simulator.

Answered By: Dan Notestein

Try this command in a terminal window:

sudo apt-get install gplcver
Answered By: linux operator

You can also use the IDE environments for FPGA development. Altera Quartus for Altera (Intel) FPGA or Xilinx ISE for Xilinx devices. These environments allow you to write VHDL and Verilog source code and include simulators.

Answered By: jotego

Install Icarus Verilog compiler and GTKWave (VCD (Value Change Dump) file waveform viewer)

sudo apt install iverilog
sudo apt install gtkwave

To see if everything is working correctly, let’s do the hello-world of Verilog.

nano hello.v

then write the following hello-world code

module main;
  initial
    begin
    $display("Hello world");
    $finish;
    end
  endmodule

Then compile

iverilog hello.v -o hello

and finally run your code

vvp hello
Answered By: user10842694
Categories: Answers Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.