LoginSignup
0
1

More than 3 years have passed since last update.

mac VSCode で Verilog コンパイル

Posted at

brew で icarus-verilogインストール

brew install icarus-verilog

これでiverilogコマンドが使えるようになる。
以下の形式でコマンドライン上でコンパイルできるらしい。
iverilog -o [出力ファイル名] -s [トップモジュール名] [.vファイルの羅列]

VSCode で Verilog コンパイル

エクステンションを入れる。

https://github.com/leafvmaple/vscode-verilog
image.png
ビビッドな黄緑でわかりやすい

コンパイル

image.png
右上の黄緑のマークを押す
image.png

できた。
image.png

コンパイルエラーの時

image.png

テストベンチコンパイルした時

image.png

0
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
0
1