verilator_gantt command not found

In this troubleshooting guide we learn how to fix verilator_gantt command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

verilator_gantt: command not found

or when using sudo you get the following error message

sudo: verilator_gantt: command not found

Solutions to verilator_gantt: command not found

How To Fix verilator_gantt: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu verilator_gantt is provided by verilator package.

verilator is:

Verilator is the fastest free Verilog HDL simulator, and beats many commercial simulators. It compiles synthesizable Verilog (not test-bench code!), plus some PSL, SystemVerilog and Synthesis assertions into C++ or SystemC code. It is designed for large projects where fast simulation performance is of primary concern, and is especially well suited to generate executable models of CPUs for embedded software design teams.

To fix this problem, we can install more using the command below.

sudo apt-get -y install verilator

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install verilator.

sudo apt -y install verilator

Or if you have aptitude installed you can use the following command.

sudo aptitude install verilator

Summary

In this tutorial we learn how to fix verilator_gantt command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.