LoginSignup
1
1

More than 3 years have passed since last update.

Verilatorを WSL で動かしたい

Posted at

Verilatorについてはこちら
https://www.veripool.org/projects/verilator/wiki/Intro

WSLのインストール

Microsoft storeからイントール。Ubuntuを選んでみる
VScodeから使えるように設定する
1. vscodeでCntl+Shift+X
2. Remote - WSLを検索してIntallボタンをクリック
3. vscodeを再起動
4. Remote Explorer(左の赤ライン)にすでにUbuntuが登録させているので、接続する(右の赤ライン)
1.png
4.接続できていると左下にWSL:Ubuntuと表示される
2.png

Verilatorのインストール

WSLのターミナルを開く

vscodeのメニューバー→Terminal→New Terminalとしてターミナルを開く

Verilatorのサイトの通りに実行

インストールの手順はこちら
https://www.veripool.org/projects/verilator/wiki/Installing

$ sudo apt-get install git make autoconf g++ flex bison libfl2 libfl-dev
$ git clone https://git.veripool.org/git/verilator
$ cd verilator 
$ autoconf 
$ ./configure
$ make![1.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/564039/ef809440-b007-fffd-bea2-e52b84e6accd.png)

$ sudo make install 
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1