How To Install verilator on CentOS 7
Introduction
In this tutorial we learn how to install verilator on CentOS 7.
What is verilator
Verilator is the fastest free Verilog HDL simulator. It compiles synthesizable Verilog, 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 create executable models of CPUs for embedded software design teams.
We can use yum or dnf to install verilator on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install verilator.
Install verilator on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install verilator using yum by running the following command:
sudo yum -y install verilator
Install verilator on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install verilator using dnf by running the following command:
sudo dnf -y install verilator
How To Uninstall verilator on CentOS 7
To uninstall only the verilator package we can use the following command:
sudo dnf remove verilator
References
Summary
In this tutorial we learn how to install verilator on CentOS 7 using yum and dnf.