Skip to content
Getting Started with Verilog

Getting Started with Verilog

Ready to go beyond visual blocks and design hardware with code? In this section, we’ll walk you through the complete Verilog workflow for the Soan Papdi Mini using the open-source Apio CLI.

Why Verilog + Apio?
Verilog lets you describe digital circuits at the hardware level with full control over timing, state machines, and peripherals. Apio handles the entire open-source iCE40 toolchain (Yosys, nextpnr, and programmer tools) behind the scenes—so you can build and flash your board in seconds from the terminal.

What You’ll Need

Before diving in, make sure you have:

  • A Soan Papdi Mini board↗ FPGA board.
  • A USB-C data cable (make sure it supports data transfer, not just charging).
  • A code editor (such as VS Code).

Step-by-Step Guide

Follow these steps in order to set up your environment and run your Verilog design:

Meet Your Toolchain

Learn what Apio is, how it manages the open-source FPGA synthesis and place-and-route tools under the hood, and why it makes command-line FPGA development effortless.

Get Everything Installed

Install the Apio CLI on Windows, macOS, or Linux, fetch the board definitions, and verify that your Soan Papdi Mini is recognized and ready to program.

Build Your First Verilog Project

Time to write some hardware description code! Create a complete Apio project from scratch (apio.ini, pins.pcf, and Verilog source) to blink the onboard Red RGB LED on your Soan Papdi Mini.