frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Porting an INT8 VHDL CNN from Intel Agilex 3 to Lattice Certus-NX

1•smart_coconut•1h ago
We implemented a small INT8 CNN for handwritten digit classification (NIST SD19 subset) in pure VHDL and built it on two different FPGA families: Intel Agilex 3 and Lattice Certus-NX.

The design was originally targeting Agilex 3. We later rebuilt it for a Certus-NX board to see how portable the RTL actually was and what changed in terms of resource usage and timing.

## Model

Input: 128×128 grayscale images streamed over UART from a host PC webcam.

Architecture: - 3×3 conv (8 filters) + pooling - 3×3 conv (12 filters) + pooling - 3×3 conv (16 filters) + pooling - 3×3 conv (24 filters) + pooling - 3×3 conv (32 filters) + pooling - fully connected 512 → 10

All arithmetic is INT8. The design is single-clock and streaming; feature maps are buffered in block RAM between layers.

---

## Platform 1: Intel Agilex 3

Device: A3CY135BM16AE6S Board: Agilex 3 C-Series Development Kit Toolchain: Quartus Prime Pro 25.3

Resource usage: - ALMs: 2,526 / 45,800 (6%) - RAM blocks: 36 / 353 (10%) - DSP blocks: 17 / 184 (9%)

Fmax: 146 MHz

---

## Platform 2: Lattice Certus-NX

Device: LDN2NX-40-7BG196I Board: Cruvi CR00103-03 Toolchain: Radiant 2025.2

Resource usage: - LUT4: 13,757 / 32,256 (42.6%) - MULT9: 66 / 112 (59%) - MULT18: 12 / 56 (21%) - Block RAM: 20 / 84 (24%)

Single clock domain: 273 MHz

The Certus design uses an on-chip PLL (12 → 48 MHz) input adaptation for the board. The Agilex board required an external UART adapter; the Certus board had it integrated.

---

## Porting effort

The RTL is written in plain VHDL without vendor IP. No vendor-specific primitives are instantiated in the CNN datapath.

In practice:

- No DSP or RAM wrapper layer was required. - No changes to arithmetic or pipeline structure were necessary. - No timing constraint rework beyond board-specific clock definitions. - Only board-level adaptations (clocking, UART wiring).

The vendor itself was largely irrelevant for this design. The differences were at the board and toolchain level.

---

## Observations

- On Agilex 3, the design is small relative to the device (single-digit % utilization). - On Certus-NX-40, the same design consumes a significant fraction of LUTs and MULT9 blocks. - Achieved Fmax on Certus-NX is higher in this configuration (273 MHz vs 146 MHz), though the system clocking and board setup differ.

The DSP usage profile differs noticeably: Certus-NX’s MULT9 blocks are heavily used (59%), which constrains scaling the number of parallel MAC units more quickly than on Agilex 3.

For this size of INT8 CNN, portability at the RTL level was straightforward. The limiting factor when moving to the smaller device was resource headroom rather than functional incompatibility.

---

## Question

For those who have moved similar streaming CNN datapaths across vendors: Have you found cases where DSP inference or block RAM inference diverged enough to require structural RTL changes, or does that mostly appear once designs become more deeply pipelined or multi-clock?

WebMCP is available for early preview

https://developer.chrome.com/blog/webmcp-epp
1•CharlesW•32s ago•0 comments

Show HN: Analyzing ~10k professional product reviews to calculate a single score

https://www.criticaster.com/
1•gghootch•1m ago•0 comments

Show HN: NaijaML – Open-Source NLP Toolkit for Nigerian Languages (17MB, CPU+)

https://github.com/naijaml/naijaml
1•TheSonOfVinci•1m ago•0 comments

Modu – modular feedback boards with AI clustering

https://modu.io/
1•oan•1m ago•0 comments

Automattic Planned to "Steal Every Single WP Site" from Hosts That Refused Deals

https://www.therepository.email/automattic-planned-to-steal-every-single-wp-site-from-hosts-that-...
1•docdeek•2m ago•1 comments

How China became fixated on cloud seeding

https://www.bbc.com/future/article/20260203-why-china-is-pushing-controversial-cloud-seeding-tech
2•schnitzelstoat•5m ago•0 comments

MargaUI: A No-Build, Native Tailwind 4 Port of DaisyUI

https://marianoguerra.leaflet.pub/3meoabixqi22i
1•marianoguerra•5m ago•0 comments

Show HN: Got VACE working in real-time – 30fps on a 5090

https://daydream.live/real-time-video-generation-control
6•cmuir•8m ago•0 comments

Show HN: An AI agent covering all first-line hotel and Airbnb communications

https://polydom.ai
1•wastemaster•9m ago•1 comments

I benchmarked 4 coding agents on an NP-hard problem I solved 8 years ago

https://charlesazam.com/blog/kiro-benchmark/
2•couAUIA•9m ago•1 comments

Merz calls on Germans to work more – and draws a withering backlash

https://www.politico.eu/article/friedrich-merz-calls-on-germans-to-work-more-and-sparks-a-fierce-...
1•doener•11m ago•0 comments

Buekorps

https://en.wikipedia.org/wiki/Buekorps
1•zeristor•12m ago•0 comments

My job has turned into this Tim and Eric sketch [video]

https://www.youtube.com/watch?v=a8K6QUPmv8Q
2•dolomo•13m ago•0 comments

The Tension Between Technical and Less-Technical People Because of AI

https://newsletter.eng-leadership.com/p/the-tension-between-technical-and
2•speckx•13m ago•0 comments

PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 Released

https://www.postgresql.org/about/news/postgresql-182-178-1612-1516-and-1421-released-3235/
2•pella•13m ago•0 comments

Show HN: Faux radio website instead of texting MP3s

https://kjaz.lunchfirm.com/corner-case
1•mcdowell_atx•13m ago•0 comments

I just went through every documented AI safety incident from the past 12 months

https://twitter.com/milesdeutscher/status/2021932331460964793
1•delichon•14m ago•0 comments

Ask HN: Why does no one talk about the H-1B problem?

2•valianteffort•14m ago•0 comments

Postman: From API Client to "Everything App"

https://codingismycraft.blog/index.php/2026/02/05/postman-from-api-client-to-everything-app/
1•jicea•14m ago•0 comments

What should I do if a wait call reports WAIT_ABANDONED?

https://devblogs.microsoft.com/oldnewthing/20260209-00/?p=112049
1•ibobev•14m ago•0 comments

The Agile Manifesto at 25 – The Most Talked-About Unread Document in Software

https://codemanship.wordpress.com/2026/02/11/the-agile-manifesto-at-25-the-most-talked-about-unre...
1•theonething•14m ago•0 comments

Sad news? Linux Mint may soon be shutting down its shorter development cycle

https://www.neowin.net/news/linux-mint-is-shutting-down-its-shorter-development-cycle/
1•bundie•14m ago•0 comments

Show HN: We achieved 72.2% issue resolution on SWE-bench Verified using AI teams

https://agyn.io/blog/we-tested-ai-team-swe-bench-verified
2•NBenkovich•14m ago•0 comments

Kim Jong Un chooses teen daughter as heir

https://www.bbc.com/news/articles/cn0e1g7kwglo
1•andsoitis•15m ago•0 comments

Show HN: Crashcat – Lightweight 3D physics for JavaScript

https://crashcat.dev/
1•isaac_mason_•15m ago•0 comments

Standardizing HLSL

https://devblogs.microsoft.com/directx/standardizing-hlsl/
1•ibobev•16m ago•0 comments

The Archive System (DevLog)

https://www.kruithne.net/posts/2026-02-11-the-archive-system
1•skalamandar•16m ago•0 comments

Programmers Spend Their Time

https://probablydance.com/2026/02/10/how-programmers-spend-their-time/
1•ibobev•17m ago•0 comments

Show HN: Open-Source Inbox-as-a-Service for LLM Agents

https://nornweave.datacovey.com/
1•rnc000•17m ago•0 comments

Ask HN: Tools to Code Using Voice?

1•emerongi•17m ago•0 comments