Premiers pas sur FPGA : un clignotement LED en Verilog
Publié le 2026-10-05 - 3 min lecture
Le FPGA est un circuit reprogrammable qui exécute du matériel.
Le matériel
Lattice iCEstick, iCE40 HX1K, ~25 €. Chaîne open-source Yosys + nextpnr.
Code Verilog
module blink(input clk, output reg led); reg [22:0] counter; always @(posedge clk) begin counter <= counter + 1; led <= counter[22]; end endmodule
Synthèse
yosys → nextpnr-ice40 → iceprog. Trois commandes, la LED clignote.