[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

参考

相关推荐
xuanwenchao1 天前
Mac M1/M2/M3/M4/M5芯片-系统安装Ubuntu
linux·ubuntu·macos
WMSmile1 天前
macOS 上安装 Wails 3(wails3)步骤
macos
不会写程序的未来程序员1 天前
nvm 安装教程:Node.js 版本管理全攻略 (Win/Mac/Linux) + .nvmrc 实战
linux·macos·node.js·前端开发·环境配置·nvm
2501_916007471 天前
iOS逆向工程:详细解析ptrace反调试机制的破解方法与实战步骤
android·macos·ios·小程序·uni-app·cocoa·iphone
Chuncheng's blog1 天前
Mac ssh连接无操作自动断开异常
运维·macos·ssh
一个小浪吴啊1 天前
Linux/Mac一键安装OpenClaw全指南
linux·运维·macos
Three~stone1 天前
苹果官网镜像下载地址大全(原版/引导版/ISO/CDR)|用途+使用全攻略
macos·镜像文件
于慨1 天前
flutter的mac端运行
macos
寂夜了无痕1 天前
mac上 ping提示 No route to host 排查以及修复
macos·no route to hos
白玉cfc1 天前
【iOS】Blocks
macos·ios·objective-c·cocoa