r/FPGA • • Jul 18 '21

List of useful links for beginners and veterans

1.1k Upvotes

I made a list of blogs I've found useful in the past.

Feel free to list more in the comments!

Nandland

  • Great for beginners and refreshing concepts
  • Has information on both VHDL and Verilog

Hdlbits

  • Best place to start practicing Verilog and understanding the basics

Vhdlwhiz

  • If nandland doesn’t have any answer to a VHDL questions, vhdlwhiz probably has the answer

Asic World

  • Great Verilog reference both in terms of design and verification

Zipcpu

  • Has good training material on formal verification methodology
  • Posts are typically DSP or Formal Verification related

thedatabus

  • Covers Machine Learning, HLS, and couple cocotb posts
  • New-ish blogged compared to others, so not as many posts

Makerchip

  • Great web IDE, focuses on teaching TL-Verilog

Controlpaths

  • Covers topics related to FPGAs and DSP(FIR & IIR filters)

r/FPGA • • 4h ago

How hard is a (low-speed) USB Host to implement on FPGA fabric

7 Upvotes

I'd like to connect a PC game controller to my FPGA soft-core CPU. Which means I'm going to have to implement some level of USB host.

Looking around a bit - opinion seems divided as to whether this is something relatively straightforward, or a total nightmare and I'd be better off adding a discrete microcontroller just to do the interfacing.

So wondered if anyone has tried this - and how hard it was.


r/FPGA • • 15h ago

Four years into FPGA engineering — what should I focus on next?

33 Upvotes

Hi everyone,

I’m about four years into my FPGA career and recently changed jobs and industries. I’d appreciate some perspectives from people who have been doing this longer, especially those with experience in semiconductor equipment, low-latency trading, or FPGA acceleration.

My background

I graduated in 2022 with a bachelor’s degree from a university in China that isn’t particularly well known. I spent roughly four years working as an FPGA engineer in the communications industry in Chengdu, earning a little over RMB 200k annually. I recently moved to a semiconductor equipment company in Shanghai, where my annual compensation is now close to RMB 400k.

The new role seems to offer a path toward system architecture, but I haven’t decided whether that’s the direction I want to pursue long term.

Most of my previous work involved high-speed data acquisition, buffering, and transport. I’ve worked with PCIe, 10GbE, DDR, optical links, SDI, Camera Link, SRIO, and high-speed ADCs/DACs. I’ve also built complete data paths from acquisition through buffering and transfer to reception on the host.

Once the overall system approach was agreed on, I generally handled the FPGA side independently: RTL development, simulation, timing closure, board bring-up, debugging, and system integration. I’m also comfortable with Linux setup, low-level C interfaces, and hardware/software integration.

My main gap is algorithm development. For communications algorithms, most of my experience has been integrating and debugging existing modules rather than designing the algorithms myself.

At this point, I can independently handle most of the types of projects I used to work on, and I’ve developed a reasonably systematic approach to debugging. But repeating similar projects is starting to feel like diminishing returns in terms of learning.

I have two main questions.

1. Where should I go deeper from here?

The options I’m considering are:

  • Staying close to FPGA implementation and developing deeper technical expertise.
  • Gradually moving toward system architecture.
  • Building domain expertise in semiconductor equipment: understanding the machines, their requirements, and how the electronics support the actual application.

I’m also curious about low-latency trading and inference acceleration, although my understanding of both is still fairly superficial.

If you work in either area, what does your day-to-day work actually involve? How much of my current experience would transfer, and what would be the biggest gaps to fill?

If you’ve made a similar move between industries, I’d particularly like to hear what turned out to matter more than you expected.

2. With AI tools improving so quickly, which skills are most worth investing in?

Recently, I’ve been experimenting with using AI to drive Vivado: writing RTL, running synthesis and implementation, inspecting reports, and automating parts of the debugging process.

For familiar, well-defined tasks, I can already delegate quite a few steps to it. Using it firsthand has made me rethink where I should spend my learning time.

Should I prioritize a deeper understanding of the underlying hardware, stronger system-level design skills, or a better understanding of the equipment and its applications? I know these overlap, but I’d like to hear how experienced engineers would prioritize them at my stage.

I’d also be interested in how you’re actually using AI in your workflow, where it still falls short, and whether it has changed your career decisions.

For those with five, ten, or more years of experience: if you were back at roughly four years into your career, with a background like mine, what would you focus on learning, and what kind of role would you look for next?

Firsthand experiences would be especially helpful, including paths you tried and decided weren’t for you. Feel free to point out gaps or blind spots in how I’m thinking about this.

Thanks!


r/FPGA • • 1h ago

FPGA

0 Upvotes

Hey everyone! I just did a course on FPGA and really enjoyed it, and I have some questions if anyone experienced would be able to help me with them

  1. I’ve just done an introductory course on it, I plan on taking some more advanced courses now but what can I work on independently to improve my skills in the field?
  2. In the course, we were taught using a Basys 3 board. To continue working on FPGA independently, what development boards would you recommend?
  3. With AI, it seems like a lot of jobs are becoming a bit redundant. FPGA doesn’t seem like one of them, but I do wonder how you all think it’ll be affected by AI

r/FPGA • • 9h ago

Xilinx Related Why we use IOB registers and what to do when it will not pack

Thumbnail
adiuvoengineering.com
3 Upvotes

r/FPGA • • 17h ago

Meme Friday From the ProgrammerHumor community on Reddit: technicallyItCompiles

Thumbnail
reddit.com
8 Upvotes

I think this is more appropriate for FPGA tools!


r/FPGA • • 7h ago

Advice / Help Arty Z7-20 vs Kria KR260 for RTL and hardware/software projects — add an STM32?

0 Upvotes

I’m looking for advice on building strong independent skills and a portfolio for entry-level ASIC/RTL design roles. My main interests are digital logic, RTL, and computer architecture, but I also want enough embedded knowledge to work comfortably with hardware/software interfaces.

I’ve used Verilog, Libero, and ModelSim during an FPGA internship, plus some ESP32, but I need to become more independent at designing, verifying, and debugging projects.

I’m interested in an FPGA SoC with a built-in processor so I can write my own RTL and learn memory-mapped interfaces, interrupts, and DMA. ChatGPT suggested the Digilent Arty Z7-20 and AMD Kria KR260, but I’d appreciate an independent opinion on whether either fits my goals. I’m open to other recommendations.

I’m also considering an STM32 board alongside the FPGA SoC. Would that add useful experience, or would it spread my attention too thin? My hardware budget is up to $1,000, but I’d prefer to spend less and avoid expensive software or IP licenses.

My main questions are:

• How should I prioritize SystemVerilog, verification, timing constraints, computer architecture, and embedded C?

• What projects would demonstrate useful engineering ability beyond following tutorials?

• What hardware would you buy for those projects, and what would you build first?

Please connect any board recommendation to concrete projects and mention relevant tool or licensing limitations.


r/FPGA • • 1d ago

Career advice: FPGA-based 5G R&D

10 Upvotes

I'd genuinely appreciate some honest career advice.

I'm a 2024 BTech graduate in Electronics and Communication Engineering, currently working in an academic R&D position involving FPGA development for 5G systems. My work involves Xilinx Vivado, FPGA development, hardware debugging and wireless communication systems. My long-term goal is to build a career in FPGA, RTL design or the semiconductor industry. However, I'm uncertain about the long-term prospects of this field and whether my current research experience will translate into good industry opportunities. I've been applying for FPGA and related engineering positions, including through referrals, but haven't had much success so far. I'm now confused about whether I should continue gaining experience in my current position, quit and prepare for GATE 2027 to pursue an MTech in VLSI, or focus entirely on transitioning into industry. Considering how competitive MTech admissions are, I'm also worried about investing another year without a guaranteed outcome. Is FPGA-based 5G development a good long-term career path? Would an MTech in VLSI significantly improve my opportunities, or should I focus on building industry experience instead? I'd genuinely appreciate honest advice from people working in FPGA, RTL, ASIC and semiconductor engineering.


r/FPGA • • 8h ago

Newer Rules. Twin iCE40UP5K board, GPU-free / RAM-free — design intent, not finished

Post image
0 Upvotes
  • Twin iCE40UP5K, RP2040
  • 25 MHz / 67750 = 369 Hz tick
  • Figure-8 toroidal 720°, tracks don't touch, pinch is node / docking
  • Not finished — 27 isolated labels, Sheet 2 not run, RP2040 not placed, no routing yet
  • Built in Gussstron City aka Cape Town, SA — no data center / GPU farm needed if you build like this

r/FPGA • • 1d ago

Advice / Help Running a 27B AI model on AWS F2, reading 13.5 GB of weights for every token

44 Upvotes

We're testing an AI inference chip design on AWS F2 before committing to silicon.

For every token, the model reads all 13.5 GB of its 4-bit weights from memory. The challenge is getting as close as possible to full memory bandwidth while unpacking and accumulating those weights on the fly.

Where we are today (measured):

  • Core bandwidth: 432.7 GB/s, or 94% of HBM peak. This measures the core math step, not the full inference pipeline.
  • End-to-end inference: 126 ms/token on short prompts (7.9 tokens/sec), approximately 150 to 180 ms/token in live chat.
  • Numerical correctness: Exact match against our software reference, with 0 differences across 248,320 values.
  • Model flexibility: Qwen 27B, Llama 3.1 8B, and OLMoE run on the same FPGA bitstream without hardware changes.
  • Physical design: Core blocks placed and routed at target speed using an open 7 nm process design kit.

Why we're doing this:

The AWS F2 has HBM, but our eventual chip will target LPDDR5X on a 12 to 16 nm process.

That means memory bandwidth efficiency matters more to us than absolute GB/s. We want an architecture that extracts as much useful computation as possible from every byte transferred.

The problem we're working on:

Our core step reaches 94% of peak memory bandwidth, but the complete inference pipeline is substantially slower.

Closing that gap is our current focus.

Live FPGA demo and recorded runs:

https://valleysemiconductor.com

Questions for the hardware and inference folks:

What typically accounts for the gap between peak kernel bandwidth and end-to-end token latency in architectures like this?

Where would you look first for bottlenecks?

Any technical critique of the architecture or measurement approach is welcome.


r/FPGA • • 1d ago

For FPGA and Embedded Hardware Companies, Which European Trade Show Offers More Value?

8 Upvotes

We're currently exploring the European trade show landscape for FPGA and embedded hardware solutions, and we'd love to hear perspectives from people working in this industry.

There are several major events in Europe, including electronica Munich, Embedded World, and SPS. Each seems to attract a somewhat different audience.

For companies developing FPGA development boards, SoM platforms, and embedded hardware solutions:

  • Does electronica offer meaningful opportunities to connect with potential customers and technology partners?
  • Is Embedded World more effective for reaching embedded engineers, system integrators, and industrial customers?
  • Does SPS offer a better opportunity to connect with industrial automation companies?
  • Beyond brand exposure, which event has delivered the most valuable business connections for exhibitors?

We're particularly interested in hearing from people who have exhibited at or attended these events.

If you had to prioritize one European trade show for an FPGA or embedded hardware company, which would you choose, and why?


r/FPGA • • 1d ago

Advice / Help Help in STA OPENTIMER

2 Upvotes

I'm doing RTL to GDSII for my 8 bit counter, but I'm stuck at Pre layout STA, I'm using opentimer and skywater 130 PDK. The problem is I don't know what timing checks i have to perform and i can't find any youtube videos about it nor any flow of sta that what I have to check after what like R20, R2R, I2R, I2O. Please help me 🙏🏼


r/FPGA • • 1d ago

Advice / Help Need Some Advice

0 Upvotes

Hi everyone!

I recently got shortlisted for a VLSI Frontend Internship at Kaynes Technology.

If anyone has attended their please share your experience and suggest on how to prepare.

any help would be appreciated

thank you!


r/FPGA • • 1d ago

Game-of-Life on LED-Matrix with FPGA

5 Upvotes

Hi,

I recently got into FPGA programming and wanted to realize some projects to improve my skills. One of which is an LED-Matrix with Game-of-Life running on it. Of course I would start with a prototype (10x10 or so) but eventually I would go for a 100x100 matrix. Now I have a bit of an issue since I have to control 10000 LEDs. I saw small matrixes control the LEDs by selecting the according rows and collums and then just cycle through them, but I don't know if that is usefull on a larger scale. I also would like to adjust the brightness with a PWM-signal and I don't know how that would work together.

My first instict was to use a bunch of SPI-I/O-extenders or is that going to get overengineered?

I found various kinds of LED pixel displays and they look exactly how I want my thing to look at the end. Does anyone know how they work? I don't want to buy one just to distroy it so I can reverse engineer it.

Any help is much appreciated


r/FPGA • • 1d ago

day 4 of building a GPU from scratch (32 bit)

0 Upvotes

so i just felt like since i have a primitive rasterizer and something to give commands i am thinking i should stop working on the rasterizer for now and focus on making more lanes and link them together for more processing power once i complete that i should be able generate more raw metal power and stuff so i am asking one question -"should i do it?"


r/FPGA • • 2d ago

I built a PYNQ-Z2 FPGA smart lock for my EE final project

4 Upvotes

I built and tested this smart lock on a physical PYNQ-Z2 for my electrical engineering final project.

I used VHDL to scan the 4×4 keypad and sequence the stepper motor phases. A Python notebook handles access decisions and reads the sensors. The Vivado block diagram shows how AXI GPIO connects the Python application to the programmable logic.

GitHub: https://github.com/Subalo/pynq-z2-fpga-smart-lock

The repository includes the Vivado sources, Jupyter notebook, and a release with matching .bit and .hwh files.

I kept the door-state and relock logic in Python. Would you keep it there or move it into a VHDL state machine? What would drive that choice?


r/FPGA • • 2d ago

Zynq 7020 SDR board with AD9361 — industrial temp, 1GB DDR3, 24 IOs

1 Upvotes

If you're looking for a Zynq 7020 platform that's not just a dev board but something you can actually deploy:

P201Pro specs:

  • XC7Z020-2CLG400I (industrial grade, -2 speed)
  • 1GB DDR3 (PS side), 256Mb QSPI flash
  • AD9361 RF transceiver, 70MHz–6GHz, 2×2 MIMO
  • 16×3.3V + 4×1.8V PL IOs on a 24-pin header
  • Gigabit Ethernet, USB OTG, JTAG, UART, SD card
  • On-board GPS + PPS/10M clock input
  • -40~+85°C, 8–36V input, ESD-protected

Comes with Vivado project templates and PlutoSDR/UHD compatible firmware. You can also develop your own PL logic from scratch.

We're a small team doing custom FPGA board design. Happy to share design details or talk about your project requirements.


r/FPGA • • 2d ago

I built a PYNQ-Z2 FPGA smart lock for my EE final project

1 Upvotes

I built and tested this smart lock on a physical PYNQ-Z2 for my electrical engineering final project.

I used VHDL to scan the 4×4 keypad and sequence the stepper motor phases. A Python notebook handles the access logic and reads the sensors. The two sides communicate through AXI GPIO, shown in the Vivado block diagram below.

GitHub: https://github.com/Subalo/pynq-z2-fpga-smart-lock

The repo includes the Vivado sources, Jupyter notebook, and a release with the matching .bit and .hwh files.

I kept the door-state and relock logic in Python. Would you keep it there or move it into a VHDL state machine? What would drive that choice for you?


r/FPGA • • 3d ago

Courses to learn FPGA - Digital Design - RTL -ASIC Design

57 Upvotes

Hi, my brother has some basic experience on using FPGA and writing RTL Verilog. He wants to learn well and get some hands on before applying for jobs. He also has some knowledge on tools like ModelSim and few other EDA tools but has not worked much in practical. Any courses or books or trainings that can help with moving further? He is looking for a career in Digital Design/ RTL/ FPGA/ ASIC / Power and performance / STA etc.. on similar lines. Any pointers are helpful. Any courses in India or something outside that is affordable ? Prefer online ones with access to EDA tools ( limited version licenses)


r/FPGA • • 3d ago

FPGA VGA game

16 Upvotes

Hi everyone!

I’m a student currently working on a course project where we’re developing a game using an FPGA.

We’re required to use VGA (including understanding timing and synchronization) and sprites. We’re also encouraged to incorporate as many FPGA I/O features as possible, including external sensors for bonus marks.

We’ve developed a game where two blocks move in mirrored directions while avoiding incoming obstacles.

For example, if Block 1 moves right to avoid an obstacle, Block 2 automatically moves left, potentially colliding with an obstacle in its own world.

The challenge is to control both blocks simultaneously while avoiding obstacles on both sides.

What we’ve implemented so far:
- VGA display using counters and synchronization signals
- Mirrored movement using pushbuttons
- Obstacle generation and collision detection
- Seven-segment display for scoring
- Audio output for game events
- LEDs for visual feedback

We’re also working on incorporating sprites to improve the graphics.

How could we make this project more interesting or technically impressive?

Any feedback would help, thanks!


r/FPGA • • 3d ago

Advice / Help Looking for people to collaborate on an FPGA project

0 Upvotes

I'm planning to work on an FPGA project purely for the sake of learning and gaining practical experience. Looking for a few people who are genuinely interested in digital design, Verilog and FPGA development.

I have an idea so DM me If you're interested and let's discuss.


r/FPGA • • 4d ago

Uninterpreted functions for Yosys/SymbiYosys: one abstract function, many instances, same inputs → same outputs (VHDL + Verilog/SV, open source)

3 Upvotes

I've released v0.1.1 of yosys-uf-abstraction, an extension of the open-source formal flow (GHDL + ghdl-yosys-plugin + Yosys + SymbiYosys, with the slang frontend for SystemVerilog) with uninterpreted functions (UFs).

You put one attribute on a datapath instance or operator, and its value names a function.

VHDL:

attribute uf_instance : string;
attribute uf_instance of u_mul : label is "cmul";

Verilog / SystemVerilog:

(* uf_instance = "cmul" *) cmul u_mul (...);

Yosys's write_smt2 then exports the block as an SMT-LIB uninterpreted function. The key point: you can instantiate the same function two or more times. Every instance that carries the same name becomes a call to one shared function. The solver then guarantees that whenever two instances see the same inputs they give the same outputs, in every instance and at every time step, whatever the function actually computes. Nothing else is assumed about the function.

This lets you compare two copies of a datapath (DUT vs. reference, a pipelined vs. a combinational path, a stalled vs. a non-stalled run) without modelling the arithmetic at all. Control logic, FSMs and handshakes stay bit-accurate.

What it's good for

  • Control/data independence: prove that the data a pipeline delivers does not depend on stalls/back-pressure/valid patterns, for every datapath function, and that the control does not depend on the data.
  • Solver performance: a multiplier on symbolic data is hard for SAT/SMT; as a UF it costs only congruence reasoning.
  • Memory-free checkers: stimulus and expected output as UFs of the beat index (the checker instantiates the same function as the stimulus), no reference model, no scoreboard queue.

Some numbers

From the test suite (bitwuzla, one machine, orders of magnitude):

  • Control-independence BMC, 16-bit multiplier datapath, depth 8: 0.26 s with UF vs 17.3 s non-UF.
  • k-induction of the same property: ~0.4 s with UF at every width 4..32 bits; the non-UF model needs 756 s at 22 bits and doesn't finish in 30 min from 24 bits on.

Safety first

write_smt2 refuses to abstract a box that is not a deterministic function of its inputs (state, $anyseq, undriven wires, loops, unmarked blackboxes inside, inout ports, ...), so a mark can't silently turn into a false PASS.

A uf_disable attribute switches the same source between the UF model and the non-UF model, driven by a VHDL generic or a Verilog parameter.

VHDL:

attribute uf_disable : boolean;
attribute uf_disable of u_mul : label is not UF_MODE;

Verilog / SystemVerilog:

(* uf_instance = "cmul", uf_disable = !UF_MODE *) cmul u_mul (...);

Examples

A complex FIR and a pipelined FIR with per-stage valid/ready (skid buffers) with data-independence, control-independence and bounded progress (deadlock) checks, plus FIFO checkers.

Try it

No build needed — a prebuilt Docker image has the whole toolchain:

git clone https://github.com/Topi-ab/yosys-uf-abstraction.git

cd yosys-uf-abstraction

export TC_IMAGE=ghcr.io/topi-ab/yosys-uf-abstraction:v0.1.1

docker pull "$TC_IMAGE"

./tc.sh pytest smoke tests/builtin_cells

Repo: https://github.com/Topi-ab/yosys-uf-abstraction

The implementation, tests and documentation were built with Claude Opus 5.5 (Anthropic) as the coding agent.

Feedback very welcome, especially: designs where you'd want this, and cases where the abstraction or the checks get in your way.


r/FPGA • • 4d ago

Advice / Help Signed Number Confusion

16 Upvotes

UPDATE: I am Person B. I’ve been doing hardware design and embedded firmware for about 35 years and in my universe, the leftmost bit of a 2’s complement signed binary number is the sign bit, period. So the 5-bit number 10011 is -13 and if you widen it to 8 bits, you sign extended it to 11110011 because if you zero pad it, you change the sign and therefore the number. A new guy in the department is Person A.

I appreciate everyone’s answers because they show me that not everyone sees things the way I do and there are a variety of opinions on a topic that I thought was cut-and-dried. I will apologize to Person A for the look I gave him today.

———————————————
Ran into this situation today and wanted the opinion of experienced designers:

Suppose there’s an 8-bit architecture and a signal is defined as a signed number. The signal is noted as 10011.

Person A says: This is the number +19 because the three bits to the left are not written, so they’re zero.

Person B says: This is the number -13 because the leftmost bit is a 1 and the missing bits should be sign extended.

Who is in the right here or is it ambiguous and impossible to know? Clearly, writing the three missing bits would clear it up, but suppose you just have the five bits.


r/FPGA • • 5d ago

Built a small RISC-V computer on a Tang Nano 9K with open-source tools: hand-written UART, PicoRV32, an accelerator measured at 46× over C, and an HDMI console (not tested on a monitor yet)

40 Upvotes

I've been learning FPGAs on a Tang Nano 9K (Gowin GW1NR-9) and took it from a blinking counter to a small SoC, one block at a time. The toolchain is fully open source: Yosys, nextpnr (himbaechel), Apicula and openFPGALoader.

What's in it:

  • PicoRV32 (RV32IMC) with 16 KB of block RAM. The firmware is baked into the bitstream with $readmemh, so there's no bootloader, at the cost of a full rebuild for every C change.
  • A UART I wrote myself, about 40 lines of Verilog for TX and RX, with mid-bit sampling and a 2-FF synchronizer. Later it got a 64-byte RX FIFO.
  • A memory-mapped xorshift32 accelerator that does one step per clock, plus a small shell over the UART (peek, poke, bench, etc.).
  • An HDMI text console, 90×30, TMDS through OSER10s, that mirrors the shell. It scrolls by changing one offset register instead of copying the screen.

Some numbers from the board:

LUT4Fmax
UART echo119
CPU + RAM + UART4,113 (47%)
+ accelerator and shell4,019 (46%)
+ HDMI console4,382

bench 1000 took 50,015 cycles in C and 1,066 on the accelerator, with matching results, so about 46×. The accelerator itself is 1 cycle per step, which means about 66 cycles are MMIO overhead. Calling it for a single step would actually be slower than doing it in software.

To be upfront about the HDMI part: it passes simulation (timing, TMDS round trip, and a dumped frame that shows the shell text) and the bitstream builds, but I haven't put it on a monitor yet. The first build also failed to pack because I'd used TLVDS_OBUF on pins that only support emulated LVDS. Switching to ELVDS_OBUF fixed it.

A couple of other things that bit me: ModemManager kept probing the serial port, so the shell received its own banner back as typed input (fixed with a udev rule). And I had a testbench that passed with a broken design. I only found that out by feeding it bad input on purpose.

Code, one folder per stage: https://github.com/sinhaparth5/tangnano9k-riscv-soc

I wrote each stage up on my own site, explaining the concepts as well as the code: https://edu.parthsinha.com/posts/riscv-soc-1-toolchain-and-blink/

Feedback welcome, especially on the bus design (one wait state for everything) and anything that'll bite me when I connect the HDMI to a real screen.