Prerequisites
Before you begin, ensure you have:- Python 3.7 or later
- Git (for version control)
- A package manager (Homebrew for MacOS, apt for Ubuntu/Linux)
Platform-specific setup
GTKwave installation
Building GTKwave from source (MacOS only)
Download GTKwave source
Visit the GTKwave website or GitHub repository to download the latest source code.
Installing GTKwave (Ubuntu/Linux)
On Ubuntu/Linux, GTKwave can be installed directly from the package manager:Verify your installation
After completing the setup, verify that all tools are installed correctly:Project structure
Once your environment is set up, familiarize yourself with the project structure:src/- SystemVerilog source files for all modulestest/- Cocotb test files and dump moduleswaveforms/- Generated VCD waveform filessim_build/- Simulation build artifactsMakefile- Build and test automation
Next steps
Adding modules
Learn how to add new modules to the Tiny TPU
Testing
Understand the testing framework and workflow
Waveforms
View and analyze waveforms with GTKwave