Installing Verilator via WSL - muneeb-mbytes/verilator GitHub Wiki
- Install Windows Subsystem for Linux by running your PowerShell in Administrator mode.
By default, Ubuntu is the default Linux distribution that will get installed.
wsl --install
- Reboot your system after Installation
- After reboot you must enter a username and password for your Ubuntu system when prompted.
💡Note: You can launch Ubuntu from:- By typing Ubuntu in Windows Search.
-
Ctrl+Shift+4
in terminal which opens a new tab running Ubuntu.
- cmd(Command Prompt) by typing
Ubuntu
.
- By typing Ubuntu in Windows Search.
- The working directory for Linux can be accessed from here:
Linux > Ubuntu > Home > "your_username"
💡Note: Right click on "your_username" folder and save it to quick access to make it easier to transfer files to your Linux Working Directory
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git gcc perl python3 make autoconf g++ flex bison ccache \
libgoogle-perftools-dev numactl perl-doc \
libfl2 \
libfl-dev \
zlib1g zlib1g-dev help2man
git clone https://github.com/verilator/verilator
cd verilator
autoconf
./configure
make
sudo make install
sudo apt-get install gtkwave