# Student builds a VGA driver in SystemVerilog on a $100 FPGA board

Original title: Making a VGA Driver in SystemVerilog

> Hacker News story 50168376 · language: en · submitted 2026-10-20
> Web version: https://zeli.app/story/50168376
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 35 · by [derHackerman](<https://news.ycombinator.com/user?id=derHackerman>) · 💬 7
[original](<https://lukaswerner.com/post/2026-10-20@bottom-up-vga>) · [HN discussion](<https://news.ycombinator.com/item?id=50168376>)

## Summary

A digital logic lab project that walks through creating a VGA driver in SystemVerilog on the DE10-lite FPGA. It covers generating a 25 MHz pixel clock from the board's 50 MHz clock, implementing horizontal and vertical counters for sync signals, mapping 10 switches to 12-bit color, and loading an image from ROM with alpha compositing. The author spent over 10 hours debugging timings and rewrote a Python tool in Go for cross-platform image conversion.

## Key quote

> At this point in the lab I estimate that I had spent well over 10+ hours working on getting the timings to be correct and going down a few wild goose chases that only proved that I had to rework parts of my design.

## HN discussion (7 comments)

### [avmich](<https://news.ycombinator.com/item?id=50173097>)

> I'd be glad to see how the character-related parts of a typical VGA card are made. There were multiple modes, some of them textual, with different fonts, support for the hardware text cursor... not yet video acceleration, but still convenient functions.

### [wildzzz](<https://news.ycombinator.com/item?id=50169550>)

> I remember working on a project like that in my Digital Design II class. We built a VGA driver to display a chessboard but the real challenge was that we couldn't use a framebuffer, that would have been too easy. We had to build a logic circuit to display the chessboard, a piece on the board (a bitmap), and then use inputs to move the chess piece around. We also used the ARM processor onboard the Cyclone FPGA to run Linux where we wrote a program in C to send board positions to that chessboard logic circuit.
>
> It was kinda hard and I struggled a bit but got it working in the end.

### [paulryanrogers](<https://news.ycombinator.com/item?id=50169941>)

> It is delightful how college can push us to explore things we might not ever do left to our own. Despite customizing my major's concentration, I still got a lot of exposure to classes and topics outside my comfort zone. It helped me with a couple crucial pivots and layed the foundation for changing my worldview.
>
> Thanks to all the great professors, TAs, and even uni admins who make the system work (at least when it does work).

---

## Cite

- Page: https://zeli.app/story/50168376
- Date: 2026-10-20
- Source: lukaswerner.com (https://lukaswerner.com/post/2026-10-20@bottom-up-vga)
- Hacker News: https://news.ycombinator.com/item?id=50168376

## Other languages

- zh: https://zeli.app/zh/story/50168376 · markdown: https://zeli.app/zh/story/50168376.md
- ja: https://zeli.app/ja/story/50168376 · markdown: https://zeli.app/ja/story/50168376.md
- ko: https://zeli.app/ko/story/50168376 · markdown: https://zeli.app/ko/story/50168376.md
- de: https://zeli.app/de/story/50168376 · markdown: https://zeli.app/de/story/50168376.md
- es: https://zeli.app/es/story/50168376 · markdown: https://zeli.app/es/story/50168376.md
- ru: https://zeli.app/ru/story/50168376 · markdown: https://zeli.app/ru/story/50168376.md
