projf / projf-explore

Project F brings FPGAs to life with exciting open-source designs you can build on.
https://projectf.io
MIT License
587 stars 53 forks source link
fpga graphics-hardware oshw verilog

Project F - FPGA Development

Project F is a little oasis where you can quench your thirst for FPGA knowledge and find accessible, open-source designs to learn from and build on. Our projects include FPGA Graphics, FPGA Maths, and the Verilog Library.

The Project F blog features over fifty posts covering FPGAs, Verilog, and RISC-V.

Follow @WillFlux on Mastodon or X. Join the Project F Discussions on GitHub.

FPGA Graphics

In this series, we learn about graphics at the hardware level and get a feel for the power of FPGAs. We'll learn how screens work, play Pong, create starfields and sprites, paint Michelangelo's David, draw lines and triangles, and animate characters and shapes. Along the way, you'll experience a range of designs and techniques, from memory and finite state machines to crossing clock domains and translating C algorithms into Verilog. I recently began adding Lattice ECP5 support to this series.

Hello

A three-part introduction to FPGA development with Verilog with dev boards:

Maths and Algorithms

Put maths to work in Verilog algorithms:

Demos and Effects

Verilog Library

The Project F Library includes handy Verilog designs for everyone. From framebuffers and video output to division and square root, rom and ram, and even circle drawing. You can freely build on these MIT licensed designs.

Visit the Library for the Verilog designs or get an overview from the Verilog Library blog post.

Requirements

FPGA Architecture

Our designs seek to be vendor-neutral, but some functionality requires support for vendor primitives. We currently support these FPGA architectures:

We also infer block ram (BRAM); see lib/memory.

Porting to other architectures should be straightforward.

SystemVerilog?

We use a few simple features of SystemVerilog to make Verilog more pleasant:

I believe these features are helpful, especially for beginners. All the SystemVerilog features are compatible with recent versions of Verilator, Yosys, Icarus Verilog, and Xilinx Vivado.

Thank You, Sponsors!

Thank you to all my sponsors for supporting Project F. Special thanks go to the following: David C. Norris, Justin Finkelstein, Kilometer780, matt venn, Paul Sajna, and Renaldas Zioma for their recent generosity.