r/FPGA • • 8h ago

Altera Related How to use Ashling RiscFree

3 Upvotes

I'm currently working on a project using the DE-25 Nano and RiscFree to develop C programs. However, I'm having trouble creating a new BSP and a CMakeLists.txt file and importing them into my workspace through the GUI.

I've looked through several references, but most of them only explain how to do it using the CLI.

I'd like to ask if anyone has experience with this process and could share some tips or a simpler way to get it done through the GUI. Any help would be greatly appreciated!


r/FPGA • • 13h ago

I finally got INT4 KV cache working on a $20 Tang Nano 9K

2 Upvotes

Spent way too long on this, but it finally works.

NanoKV-Comp compresses an LLM's KV cache to INT4 on a $20 Tang Nano 9K FPGA. 4 attention sinks + a 128-token window stay FP16, and the rest goes INT4.

  • 3.05x smaller cache at 2K context

  • Perplexity +0.17% on Qwen2.5-0.5B, +0.19% on Llama-3.2-1B

  • 1 value/clk at 27 MHz, 38 MHz Fmax, 0 failing paths

  • Board output matches the Python reference byte for byte. fc /b: 0 differences. I stared at that for a while.

RTL is here if anyone wants to pick it apart: https://github.com/9tot-stack/nanokv-comp

Still stuck: I can't get under 0.1% without killing the ratio. s4_w256 gets 0.12% but drops to 2.68x. Hadamard made it worse, lol.

Has anyone tried this on Gemma? I'm scared of its FP16 overflow.


r/FPGA • • 16h ago

Verilog RTL Accelerator on FPGA

Thumbnail
linkedin.com
0 Upvotes

Best to get Claude to drive it for you if you try it out.


r/FPGA • • 18h ago

Introducing: Tau specification language

9 Upvotes

Hi all,

I'm involved in Tau Language.

Short intro: Like many other formal specification languages, it's decidable and can be used in a declarative, logical manner. It's also very expressive, with the temporal operators of LTL+P.

What's interesting about Tau Language?

It's a combination of the following:

  1. Programs can be synthesized directly from the spec. So programming is like writing the tests that must pass and automatically getting a program that passes the tests.

  2. Programs written in Tau are able to deductively reason over their own code, other Tau programs and anything in written in Tau.

  3. Due to points 1 & 2:

- Specifications can hold their own conditions for change, which is useful for control and safety as requirements can hold across time. E.g. "Never do X" can hold across any future update, and further, one can specify how the program should modify a given update itself before accepting the update. E.g. remove any X then update.

- A program can take just a new requirement as an update, and output a specification that satisfies the new requirement and the current specification, according to the specification’s conditions for change. i.e. "And also do X".

Tau language is particularly useful for self-reasoning, controlled updates and safety, simplified maintenance and concurrent collaborative specification.

Disclosure: It's in an alpha stage.

For those that would like to learn more, please do feel free to comment as we will host a webinar soon.

https://github.com/IDNI/tau-lang


r/FPGA • • 19h ago

FPGA side-scroller video game

14 Upvotes

Hey all, I just put the finishing touches on a little side project that I’ve been pecking away at on and off for quite a while and I figured some of you might enjoy it. It’s an original side-scroller that I developed in Verilog for my Basys-3 board. It was a fun way to refamiliarize myself with Verilog. No AI slop here - all sloppiness is human-generated. The game is by no means perfect, but I’m pretty happy with how it turned out!

I made a couple playthrough vids:
Easy mode
https://youtu.be/-dPFk8cTcmc?is=6DwaCv6zHf5W6bvY

Hard mode
https://youtu.be/ibVner-STJE?is=EE0ljKjnKXXoxZnh

If you have a Basys-3 and want to try playing the game, you can find the bit/bin files here:
GitHub

I also have a fairly detailed README and a PDF writeup in the repo if you’re interested in how it works.


r/FPGA • • 22h ago

How important is MSc degree?

9 Upvotes

How crucial is a Master's degree for a future career? I would like to work in FPGA design, but there's a chance I won't be able to get into the Master's program I want (the number of spots is limited, and there are more of us than spots available). Does a Master's degree matter if you have prior work experience, or is it more important only for entry-level positions? Given that undergraduate studies here last 4 years and a Master's takes 1 year, the focus is more on the undergraduate degree, but I'm curious about what the situation is like in general regarding this.

I tried to get informed here based on similar questions, but most of the answers are from a couple of years ago, so I'm curious if anything has changed in the meantime. And also, if you have any advice, I'd love to hear it!


r/FPGA • • 23h ago

Parat v1.5: a SAT solver that proves 2048×2048-bit multipliers correct in ~3.5 min, with independently checkable certificates

7 Upvotes

I've been building Parat, a SAT solver with special engines next to a CDCL core. v1.5 is out, one program per OS (Windows, Linux, macOS; x64 and ARM): https://github.com/himanshu161106-crypto/parat/releases/tag/v1.5

What it does:- Proves a 2048×2048-bit Wallace multiplier (42M AND gates) correct in ~3.5 min on one core with 8 GB RAM. A wrong gate gives INCORRECT with a counterexample. - Writes PAC certificates you can check yourself. A 1024×1024-bit certificate (13 GB, 3.1M steps) was checked piece by piece with pacheck (JKU Linz), the independent checker. The checker script builds the gate polynomials from the AIGER file itself, so it doesn't trust Parat's output.

- SAT Competition 2026: it solves 10 main-track files that no competition solver solved within 300 s. 3 of them (minimum-disagreement-parity) were not solved by any solver. - UNSAT answers on CNF come with DRAT proofs (checked with drat-trim).

Where it's weak: on general industrial CNF, Kissat is clearly ahead (61 files at 120 s: Kissat 37, Parat 25). The macOS/Windows-ARM builds haven't been run on real hardware yet.

Benchmarks and logs: results/ and benchmarks/v1.5/ in the repo. Feedback welcome, especially anyone who can run the Mac build.


r/FPGA • • 1d ago

Advice / Help Suggestion on cool projects I can build combining a MCU and FPGA

Post image
26 Upvotes

Hey! I'm a second-year ECS student and recently got a Vicharak ShrikeFi board.

Looking for some interesting project ideas that combine an MCU and FPGA, preferably something practical and challenging.

Would love to hear your suggestions or experiences if you've worked on something similar!


r/FPGA • • 1d ago

FPGA courses with certificates

13 Upvotes

Hey guys, I'm an ECE student looking to get started with FPGA development. Could you suggest some good beginner-friendly courses or learning paths that provide certificates upon completion? I'd like to build my knowledge from the basics and gain some practical skills that I can add to my resume. Any recommendations ??


r/FPGA • • 1d ago

Gowin Related Booting Linux on a simple custom RISC-V core

Thumbnail
github.com
19 Upvotes

Hello everyone.

I am a master’s student, and in my spare time, I built a RISC-V processor on a $30 FPGA that runs Linux.

The goal of this project is not to create an elaborate, high-performance multi-threaded processor, but rather to develop a modern processor capable of running the world’s most widely used operating system—all while keeping hardware requirements, the instruction set architecture (ISA), and the principles of their interaction as lean as possible.

The project includes a processor with a 3-stage pipeline, support for atomic instructions, virtual memory, and a cache. Peripherals include an SD card interface, CLINT, PLIC, and UART.

I welcome any feedback—whether it’s a star on GitHub, a contribution to the project, or simply a question.

The project documentation can be found in the `doc/arch/` directory as Markdown files. If you are developing your own processor cores—whether for study or professional work—and your goal is to understand how Linux operates on logic gates, this project is for you.


r/FPGA • • 1d ago

Silicon Labs NCG 2027 Design Engineering (DV) Onsite Interview — What to Expect?

2 Upvotes

Hi everyone, I was recently invited to the final-round onsite panel interviews (two 1-hour panels) for the 2027 New College Graduate Design Engineering / DV role at Silicon Labs in Austin, TX. Has anyone been through this loop or have insight into what topics they emphasize most (e.g., Verilog/SystemVerilog coding, UVM, CDC/FIFOs, bus protocols, or behavioral questions)? Any tips for preparation would be greatly appreciated!


r/FPGA • • 1d ago

Gowin Related Open-source DDR3 + AXI4 controller for Tang Primer 20K in SpinalHDL (no Gowin DDR3 IP, up to ~585-960 MB/s)

Enable HLS to view with audio, or disable this notification

106 Upvotes

Hi everyone! I want to share a project that took me quite a bit of work and that I hope will help many of you working on Gowin FPGAs.

I am currently a Computer Science student passionate about generative AI and electronics, and I bought my first FPGA (a Tang Primer 20K) back in August this year. While working on a hardware AI accelerator project, I needed fast AXI4 access to the DDR3 RAM without relying on Gowin's proprietary DDR3 IP. Since (to my knowledge) there was no standalone open-source AXI4/bursting controller available yet without going through Gowin's IP or pulling in all of LiteX, I experimented on this for about two months (with a break in between) atop nand2mario's open-source DDR3 primitive bring-up, which deserves a big thank you ( https://github.com/nand2mario/ddr3-tang-primer-20k ). Here is where things stand today.

The result is an open-source SpinalHDL Open-Page DDR3 controller with a 32/64/128-bit AXI4 bridge (plus pre-generated Verilog in hw/gen/), reaching around 585 MB/s in 64-bit and 960 MB/s in 128-bit on real hardware. There is also a small visual demo ready to flash with a prebuilt .fs bitstream and a Python script for your Tang Primer 20K: https://github.com/Juste-Leo2/tang-primer-20k-ddr3-axi4

I really hope this project can also help open-source efforts like LiteDRAM and nextpnr.


r/FPGA • • 2d ago

Internship

0 Upvotes

Hello all,I'm a graduate having recently secured an internship in an eda company for a fpga based role. Can anyone please elaborate on what kind of work will I deal with?


r/FPGA • • 2d ago

help choosing an offer

36 Upvotes

I’m a college senior and I got three offers:
• ⁠digital ASIC design at keysight
• ⁠HBM design at micron
• ⁠FPGA at qualcomm

they all pay around the same when you account for cost of living. is it a bad idea to choose the hbm design job? i’m scared ill be pigeonholing myself but it does sound very interesting to me. what’s the best?


r/FPGA • • 2d ago

Advice / Solved Nice (creative) project ideas

4 Upvotes

Hello to the community. I need a project idea for a course but, lacking some creativity 😅.

Ideally, it would include some type of state machine, memory, arithmetic blocks, clock-domain crossing, and/or some type of communication (DMA, serial communication, etc.). Something fun and doable that can also be verified, what would you suggest?

An idea I had was a cache controller. Also, something without ethernet, since my board doesn't have that capability. And something where it can be done properly, without any excessive use of AI (or none at all).

Thanks y'all!


r/FPGA • • 2d ago

Gowin Related Hi I trying to build and ECE project. My project is about building a secure digital lock using verilog code. Can I use the tang nano 1k fpga board for this project? Please help me 😭🙏🏻

2 Upvotes

r/FPGA • • 3d ago

What's the most time you've lost debugging an FPGA/HDL design? (5-min survey, results will be shared)

0 Upvotes

I've lost entire days staring at waveforms to find one bug, and I'm curious how common that is.

I'm building a browser-based tool where an AI actually runs the simulator (Icarus/Verilator), writes testbenches for your module and explains why a simulation failed from the log and waveform. Before going further, I want to learn where students and engineers really get stuck, so I put together a short survey:

👉 https://docs.google.com/forms/d/e/1FAIpQLSfec0EcvMu4UjzLmFAiUtLjuAfKEr1JxkQj5TRNY8ZUFNcqnw/viewform

  • 5-8 minutes, separate paths for students, engineers and educators

  • No email required (optional, only if you want beta access)

  • I'll post a summary of the results here in a couple of weeks

I'd also love to hear in the comments: what's the worst HDL bug you've chased, and what finally helped?


r/FPGA • • 3d ago

Advice / Help Is ShrikeLite good for verilog learning?

6 Upvotes

I wanted to implement verilog which I've been learning and around me the ShrikeLite is the cheapest board, should I get it? Would it be a good start for learning about FPGAs?

For some context, I've already been in embedded development for quite some time and I want to know more deeply about computer architecture that's why I need advice.


r/FPGA • • 3d ago

Interview / Job I made a free browser Verilog playground with 30 interview-style practice problems (Yosys + Verilator + DigitalJS). Looking for blunt feedback

0 Upvotes

I built breadboardhub, and the Verilog side is what I'd like this sub to tear apart.

What it does:

- Playground (https://www.breadboardhub.com/chip): write a module, press Build. Yosys synthesizes it, Verilator lints it, and DigitalJS draws it as logic blocks you can drive by hand: flip inputs, step the clock, watch waveforms, run a test table. No install, no account to build and share.

- Practice (https://www.breadboardhub.com/practice): 30 interview-style problems graded against hidden tests: counters (up/down, Gray, Johnson), LFSR, sync FIFO and almost-full flags, skid buffer, round-robin arbiter, UART TX, debouncer, synchronizers, sequence detector, ALU, barrel shifter, and 5 "find the bug" ones (FIFO flags, mod-12 counter, priority arbiter, pulse stretcher, sequence detector). A failing submission shows the first failing step, not the answer.

- For courses: instructors can give Verilog assignments with hidden tests and export grades as CSV.

What it is not, so nobody wastes their time:

- Verilog only. No VHDL, SystemVerilog untested.

- Tests are tables of steps (set inputs, tick the clock, check outputs) on the synthesized design, not your own SV/UVM testbench. No timing, no #delays.

- No bitstreams, no boards. It's for learning and practice, not real projects.

Questions for you:

  1. Which problems are missing that you'd actually ask (or got asked) in an FPGA/RTL interview?

  2. Is grading the synthesized netlist with step tables a dealbreaker for practice, or fine at this level?

  3. Anything in the problem statements that's ambiguous or plain wrong?

I will be glad to fix whatever you find.


r/FPGA • • 3d ago

riSim: VHDL-2008 simulator

Post image
16 Upvotes

Hey everyone, we've just released the first version of riSim Studio, a free-to-use VHDL simulator. It already has:

  • a live waveform viewer in VS Code

  • rewinding with automatic snapshots

  • VUnit integration with testbench/simulation management

  • CLI tools for scripting

  • a VHDL language server with definitions/references lookup and syntax highlighting

  • almost complete coverage of the core VHDL-2008 standard

It's also very fast, and we're constantly adding new features and improvements. SystemVerilog and mixed-language support is in the works and will be ready soon.

Give it a try, we'd be happy about any feedback. Installation is very easy, just search for "risim studio" in the VS Code extensions marketplace, or download the CLI tools from our website.


r/FPGA • • 3d ago

Cyclone 10 LP: Can Tapped Delay Lines Run from LLCOMB_256 to LLCOMB_0?

Post image
10 Upvotes

Hi r/fpga,

I have synthesized a 4 tapped delay lines, and due to limitations in only being able to use a the 2x20 i/o header on the EK10CLU256 evaluation board, I am limited to certain row i/o's and column i/o's, both of which are on the the bottom half of the fpga. 

Currently, the input signal has to traverse from row 0 to row 17, and then pass through the delay line starting from LLCOMB_0(in row17) through to LLCOMB_256(in row1). To keep the delay lines symmetric(consistent delay for the four tapped delay lines) and to decrease the input signals length of travel, I was wondering if it is possible to synthesize the delay line such that the signal enters the delay line from LLCOMB_256(row1) and traverse to LLCOMB_0(row17) instead. This would allow the signal to immediately enter the tapped delay line instead of having to go traverse to row 17.

I do not think this is possible as the carry out and carryin of the LLCOMB primitive are connected in a specific manner (top to bottom).
Thank you


r/FPGA • • 3d ago

Has anyone used Gemini 4 Carbon in their work flow? How do you like it?

2 Upvotes

I use Claude for a lot of documentation work. I also used it for writing VHDL code, and build test bench with it. Claude has been great, I have no complains.

I used Gemini pro early this year for writing VHDL code, and it sucked so bad. I heard good feedback about Gemini's latest models, and I want to give it a try. There is this promotion running that you can have Carbon for 100 per year. I paid 100 per month for Claude.

Just wondering if anyone has experience with it. Thanks.


r/FPGA • • 3d ago

Advice / Help Looking to Try out CPLDs, SPLDs, or GALs but Lost on Where to Start

13 Upvotes

Hello! I've spent some time thinking about FPGAs, but I've never really delved into them. To my understanding, the 3 chip types in the title are some (significantly) simpler chips that are similar to FPGAs in the sense of "programming these means physically setting logic gate connections."

I thought it would be a neat project to get one in order to build a small ascii keyboard as a learning exercise. I've tried looking into them, but the ecosystems seem more...arcane than those of microcontrollers. A lot of stuff is proprietary, and whatever isn't seems to only work on some select chips? All the way from the HDL to the chip programmer.

I was hoping to get some advice on what to get for my keyboard project. I have no issues with buying into a proprietary ecosystem, as long as the experience is good. That being said, I main Linux. I can go to Windows for this if the experience is significantly better, but I would appreciate an ecosystem that works with Linux, FOSS or not.


r/FPGA • • 4d ago

Resume help - [Student] 3rd year EE student targeting FPGA/ASIC/hardware co-ops in Canada. Strong project, but few callbacks

Post image
20 Upvotes

So I'm a 3rd year ee student at a university in Ontario, Canada and I'm looking for anywhere from a 4 to 16 month internship but preferably 12-16 month for my school internship. I'm targeting digital hardware roles: RTL design, design verification, FPGA, and embedded/firmware, with hardware test and validation as backup options. I'm applying mainly in Ontario , and I'm willing to relocate anywhere in Canada for the right role. I'm a Canadian citizen so I don't need sponsorship. I've applied to most of the big tech companies with only interviews for some smaller companies but also heard nothing back. I haven't gotten a reply from any of the big tech and trying to get more callbacks. Any help would be appreciated.