Watch Claude AI generate a complete SPI-based DAC driver in Verilog from just a simple description - no manual coding required! In this episode, we push the limits by ramping up to 30MHz SPI speeds.
In Episode 13 of Agentic Verilog, we connect a Digilent Pmod DA2 (dual 12-bit DAC) to the iCEBreaker FPGA and let Claude AI do the heavy lifting. Starting with zero code, we describe what we want - a triangle wave ramp - and Claude figures out the SPI protocol, pin assignments, and timing from the datasheet alone.
What's Covered:
Connecting the Pmod DA2 dual-channel DAC to the iCEBreaker FPGA
Using Claude AI in YOLO mode to auto-generate the entire project
SPI protocol implementation for the DAC121S101 chip
Creating a 12-bit triangle wave ramp generator
Optimizing SPI clock speed from 1MHz to 30MHz using PLL
Verifying output with a logic analyzer (analog and digital channels)
Real-time frequency measurements and waveform analysis
Key Topics:
Pmod DA2 Digital-to-Analog Converter
SPI communication protocol in Verilog
PLL clock generation on iCE40 FPGA
Triangle wave synthesis
Hardware verification with logic analyzers
AI-assisted HDL development workflow
Keywords:
FPGA tutorial, Verilog DAC, digital to analog converter, Pmod DA2, iCEBreaker FPGA, SPI Verilog, Claude AI coding, agentic programming, ice40 PLL, triangle wave generator, 12-bit DAC, Digilent Pmod, hardware description language, FPGA beginner, open source FPGA, Lattice iCE40
Next Episode: ADC implementation - sampling analog signals with the FPGA!
Subscribe for more AI-powered FPGA tutorials and hit the bell to get notified!
#FPGA #Verilog #DAC #ClaudeAI #AgenticVerilog #iCEBreaker #DigitalDesign #SPI #ElectronicsProject #OpenSourceFPGA
---
WATCH THE FULL SERIES:
• Agentic Verilog
LINKS:
GitHub: https://github.com/holla2040/Agentic_...
LinkedIn: / craighollabaugh
YouTube: / craighollabaugh
AI CODING TOOLS:
Claude Code: https://www.claude.com/product/claude...
ChatGPT Codex: https://chatgpt.com/features/codex
Gemini CLI: https://geminicli.com/
Kimi CLI: https://www.kimi.com/code/docs/en/kim...
RECOMMENDED AI CHANNELS:
Dylan Davis: / @dylandavisai
EQUIPMENT:
iCEBreaker FPGA Board: https://1bitsquared.com/products/iceb...
PMOD AD1 (ADC): https://digilent.com/shop/pmod-ad1-tw...
PMOD DA2 (DAC): https://digilent.com/shop/pmod-da2-tw...
ADS1115 ADC Module: https://www.aliexpress.us/item/325680...
Saleae Logic Pro 8: https://saleae.com/products/logic-pro-8