blog · 26 November 2026
What is an FPGA? A beginner's guide, with a board you can try in your browser
FPGAs explained without the jargon: how they differ from an Arduino, what Verilog is, and how to blink your first LED on a simulated UPduino in de:volt, with nothing to install.
If you have programmed an Arduino, you already know half the story. This guide covers the other half: what an FPGA is, why engineers use them, and how to try one today on the UPduino v3.1 in de:volt.
A microcontroller follows instructions
An Arduino's chip is a tiny computer. Your sketch becomes a list of instructions, and the chip works through them one at a time, millions of times a second. To blink an LED and read a button "at the same time", it really does one, then the other, very quickly.
An FPGA becomes the circuit
An FPGA (field-programmable gate array) has no program to follow. Inside are thousands of small, identical logic blocks and a huge web of switchable connections between them. When you load a design, you are setting those switches, wiring the blocks into the digital circuit you described. The UPduino's iCE40 UP5K has 5,280 of these blocks, called LUTs (look-up tables), each paired with a flip-flop that can remember one bit.
The result is real hardware. A counter, a blinker and a button handler in an FPGA all run truly at once, each in its own corner of the chip, because they are separate circuits.
That is why FPGAs are used where speed and timing matter: video, radio, high-speed data, and the prototypes of the chips inside your phone.
You describe hardware, not steps
FPGA designs are written in a hardware description language. The most common is Verilog. It looks a little like C, but it describes what is connected to what, and what happens on each tick of a clock. Here is a complete LED blinker:
module top(output gpio_4);
wire clk;
// The iCE40's built-in low-speed oscillator: about 10 kHz
SB_LFOSC osc (
.CLKLFEN(1'b1),
.CLKLFPU(1'b1),
.CLKLF(clk)
);
reg [12:0] count = 0;
always @(posedge clk)
count <= count + 1;
assign gpio_4 = count[12];
endmoduleRead it as a circuit, not a program. There is an oscillator. There is a 13-bit register called count. On every rising edge of the clock, count gets count + 1, which means you have built a 13-bit counter. Bit 12 of the counter flips every 4,096 clock ticks, about every 0.4 seconds, and it is wired straight to the output called gpio_4, so the LED blinks a little faster than once a second. No loop, no delay: just hardware.
From description to chip: synthesis
Turning Verilog into a configuration for the FPGA is called synthesis. The synthesis tool works out which logic blocks to use and how to connect them, then reports how much of the chip your design takes. Normally that means installing a large toolchain. In de:volt it happens in your browser, using the open-source Yosys tool, when you press Synthesize.
Try it in de:volt
- Open sim.devoltapp.com and drag a UPduino v3.1 onto the canvas.
- Wire an LED and a resistor (220 Ω is fine) in series from the board's GPIO 4 pin to GND.
- Select the board and open the Code tab. Paste the blinker above, or start from Load an example....
- Press Synthesize.
Because the output is named gpio_4, de:volt connects it to the GPIO 4 pin for you. If you would rather give your signals your own names, the Pin constraints (PCF) link under the editor lets you map them to pins yourself.
The editor reports the resources your design uses, 13 of 5,280 LUTs (0%), 13 flip-flops, 11 carries for this blinker, and the LED starts blinking. Put a scope probe on the pin and you can watch the square wave it makes.

Where to go next
- Add a second counter driving a second LED at a different speed, and see both run at once.
- Use the board's RGB LED to cycle through colours.
- Read a push button and build a debouncer: a classic first FPGA exercise.
FPGAs used to be the part of electronics you met only at university, after buying a board and wrestling with software. Now it's one more part in the catalog, on the same breadboard as your resistors and your Arduino.