Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Development Environment

Complete toolchain for OpenPower FPGA development.

What You Need

ToolPurposeInstall Time
WSL/LinuxBase environment10 min
Vivado 2025.xFPGA synthesis60 min
LiteXSoC generator5 min
FuseSoCMicrowatt native builds (optional)2 min
PowerPC ToolchainCross-compilation5 min

Installation Order

  1. WSL Debian Setup (Windows users)
  2. Vivado Installation
  3. LiteX Setup
  4. FuseSoC Setup (optional - Microwatt only)
  5. PowerPC Toolchain

Total setup time: ~90 minutes

Quick Install (Debian/Ubuntu)

# Base tools
sudo apt update && sudo apt install -y \
    build-essential git python3-pip \
    device-tree-compiler gcc-powerpc64-linux-gnu

# LiteX
pip3 install litex litex-boards

# Verification
gcc-powerpc64-linux-gnu --version
python3 -m litex.soc.cores.cpu

FuseSoC (Optional)

Only needed for Microwatt native builds. Skip if using LiteX.

FuseSoC is a build system for HDL projects. Microwatt uses it for native FPGA builds.

pip3 install --user fusesoc

Verify:

fusesoc --version

Note: LiteX builds don’t require FuseSoC. Use FuseSoC only when:

  • Building Microwatt standalone (without LiteX SoC)
  • Following native Microwatt tutorials
  • Developing VHDL core modifications

See First Build for FuseSoC usage examples.

Verify Installation

# Check all tools
command -v vivado && \
command -v litex_soc && \
command -v powerpc64-linux-gnu-gcc && \
echo "✓ All tools installed"

System Requirements

  • OS: Debian 12+, Ubuntu 22.04+, or WSL2
  • RAM: 16GB minimum, 32GB recommended
  • Disk: 150GB (100GB for Vivado)
  • Network: Fast connection for initial setup

Support

Issues? See Troubleshooting