# Simulation Environment on MacOS for SoC Laboratory ## System Information * MacBook Air M3 * macOS Tahoe 26.1 ## Prerequisite * Homebrew (upgrade to the latest version) ``` $ brew upgrade ``` ## Icarus Verilog ``` $ brew install icarus-verilog ``` ## GTKWave ``` $ brew install --HEAD randomplum/gtkwave/gtkwave ``` To open GTKWave ``` $ gtkwave ``` ## RISC-V Tool Chain Clang version: ``` $ brew tap riscv-software-src/riscv $ brew install riscv-tools ``` Verify installation ``` $ brew test riscv-tools ``` It will show the riscv compiler path: `/opt/homebrew/opt/riscv-gnu-toolchain/bin/riscv64-unknown-elf-gcc` (for reference) ## Reference 1. [iverilog](https://blog.csdn.net/qq_62561876/article/details/133901907) 2. [gtkwave](https://blog.csdn.net/q753698/article/details/136459965) 3. [riscv-tool-chain](https://github.com/riscv-software-src/homebrew-riscv)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up