[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

参考

相关推荐
ASKED_20194 小时前
macOS 使用 Codex CLI 登录报错 403 的问题分析与解决方案(Issue #2414)
macos·issue
roo_14 小时前
JAVA学习-MAC搭建java环境和spring boot搭建
java·学习·macos
Digitally4 小时前
如何在 Mac 上进行屏幕录制(分步教程)
macos
2501_916008894 小时前
在不越狱前提下导出 iOS 应用文件的过程,访问应用沙盒目录,获取真实数据
android·macos·ios·小程序·uni-app·cocoa·iphone
vchao_5 小时前
Mac升级系统后反复重启问题
macos·反复重启
TheNextByte15 小时前
如何在Mac上获取Android消息
android·macos
虹少侠5 小时前
基于 WebKit 构建 macOS 多浮窗视频播放的技术实践(含完整产品落地)
前端·macos·swift·webkit
TheNextByte15 小时前
快速将Android连接到Mac 6 种简单方法
android·macos
猫头虎5 小时前
如何把家里 NAS 挂载到公司电脑当“本地盘”用?(Windows & Mac 通过SMB协议挂载NAS硬盘教程,节点小宝异地组网版)
windows·网络协议·计算机网络·macos·缓存·人机交互·信息与通信
出了名的洗发水1 天前
mac设置共享文件,win用户也可以访问
macos