[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

参考

相关推荐
Bruce_Liuxiaowei4 小时前
Mac与Kali主机间SSH连接故障排除:主机密钥变更的解决方案
运维·macos·网络安全·ssh
2501_938780285 小时前
Objective-C 类的协议(Protocol)应用:解耦父子类与跨类通信实践
开发语言·macos·objective-c
wa的一声哭了6 小时前
Mac os安装Easyconnect卡在正在验证软件包
运维·服务器·git·macos·eclipse·github·mac
Jackson@ML6 小时前
在macOS上搭建C#集成开发环境指南
开发语言·macos·c#
00后程序员张6 小时前
iOS 26 内存占用监控 多工具协同下的性能稳定性分析实战
android·macos·ios·小程序·uni-app·cocoa·iphone
sunshine~~~6 小时前
【笔记】macOs arm架构安装虚拟机Ubuntu环境:ROS2 + Python开发
arm开发·笔记·python·macos·ros2
心灵宝贝6 小时前
Mac版Color Folder v3.8安装教程(附dmg文件安装步骤和搜索关键词)
macos
北冥有鱼被烹7 小时前
【微知】MAC笔记本如何重启tourchbar?(sudo pkill TouchBarServer)
macos
2501_915909068 小时前
iOS 26 性能监控工具有哪些?多工具协同打造全方位性能分析体系
android·macos·ios·小程序·uni-app·cocoa·iphone
行思理8 小时前
macos 如何清空IntelliJ IDEA安装记录
java·macos·intellij-idea