[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

参考

相关推荐
醉逍遥neo8 小时前
mac新电脑-前端开发配置
前端·macos·ghostty
夏沫琅琊8 小时前
Mac 安装cc-switch
macos
爱吃提升10 小时前
Figma汉化包下载安装教程(FigmaEX集成版Mac安装教程)|版本区别+下载方法+详细步骤+新手入门指南
macos·figma
fusugongzi10 小时前
mac本地部署deepseek
macos
无公害的小bug10 小时前
MAC系统安装SVN教程
macos·svn
钱多多_qdd11 小时前
基于mac环境,升级python环境问题解决
开发语言·python·macos
大力夯11 小时前
macOS 使用 n 模块管理 Node.js 版本
vue.js·macos·node.js
pop_xiaoli21 小时前
【iOS】RunLoop
macos·ios·objective-c·cocoa
最后一支迷迭香1 天前
苹果的MacOS系统适合做Java开发吗
java·开发语言·macos
AirDroid_cn1 天前
macOS Sequoia协同编辑:Pages文档冲突自动合并全攻略
macos