[Mac + Icarus Verilog + gtkwave] Mac运行Verilog及查看波形图

安装环境

Icarus Verilog 编译

使用HomeBrew安装iVerilog (icarus-verilog):

bash 复制代码
brew install icarus-verilog

gtkwave 查看波形

bash 复制代码
brew install --HEAD randomplum/gtkwave/gtkwave

遇到的问题

macOS cannot verify that this app is free from malware

  • Install the app anyway: If you downloaded an app from a trusted source but still can't open it because of the "macOS cannot verify that this app is free from malware" error, you can try installing the app anyway. To do this, hold down Control and click on the app, then select "Open" from the context menu.
  • Redownload the app: If the digital signature of the app is invalid or corrupted, you can try redownloading the app from the developer's website.
  • Use a different app: If you can't get the app to work, consider using a different app that provides similar functionality.

gtkwave-bin is not compatible with macOS 14 or later

This version of "gtkwave-bin" is not compatible with macOS 14 or later and needs to be updated. Contact the app developer for more information.

bash 复制代码
brew uninstall gtkwave
brew untap randomplum/gtkwave
brew install --HEAD randomplum/gtkwave/gtkwave

示例

(待完善!)

编译Verilog

bash 复制代码
iverilog -o ./out/mycircuit t_Simple_Circuit.v Simple_Circuit.v

生成.vcd文件

bash 复制代码
vvp ./out/mycircuit

查看波形

bash 复制代码
gtkwave out/mytest.vcd

参考

相关推荐
Cosmoshhhyyy7 小时前
mac环境下安装git并配置密钥等
git·macos
肥肥呀呀呀13 小时前
mac 安卓模拟器 blueStacks
macos
csdn_aspnet13 小时前
如何在 MacOS 上安装 SQL Server
macos·sqlserver
共享家95272 天前
linux-数据链路层
linux·网络·macos
CZIDC2 天前
MacOS字体看起来比在 Windows 上更好?
macos
Cosmoshhhyyy2 天前
linux远程部署dify和mac本地部署dify
linux·运维·macos
行星0082 天前
mac 通过homebrew 安装和使用nvm
macos·npm·node.js
2501_928094653 天前
Mac电脑录屏工具 Omi录屏专家(Mac中文)
macos·mac·录屏工具·omi
森之鸟3 天前
Mac chrome浏览器下载DevEco Studio 6.0.0 Beta2失败
前端·chrome·macos