/

Avery Dennison

LLMs for hardware

I built a fine-tuned LLM that writes Verilog. The proof of concept hit 90% accuracy against the 88% the team's contractors had agreed to, and cut contractor spend by 35% across two months of real problems. A wider team rollout is now under serious consideration.

Role
[ROLE TITLE]
Collaborators
[NAMES]
Duration
[DATES]
Tools
Mistral, QLoRA, Vivado, Yosys, AWS Bedrock, Qdrant

Dataset

27K samples, half from the open-source RTL-Coder dataset and half generated with Gemini 2.5 Pro. Every sample had to pass validation. Failures were thrown out and regenerated.

Data mix

Validation

Each sample ran as a Vivado project with a self-checking testbench comparing signal output to expected output. A pool of 50 agents cut validation from 5 minutes to 10 seconds per sample.

Testbench harness
Agent pool

Training and Serving

Mistral fine-tuned with QLoRA, mixing RTLCoder's code-quality feedback with my pipeline's results. Served on AWS Bedrock behind an API layer, with RAG over Qdrant. Output was checked against contractor code using Yosys logical equivalence.

Equivalence check results