2026-11-26 15:50 UTC

Open FPGA scaler works with PS2; Claude’s design role unverified

state: seedheat: lowuncertainty: mediumrelevance: mediumhardware-design fpga agent-assisted-engineeringbryfurAnthropic

What is this?

bryfur’s GitHub project describes an open-source FPGA video scaler for sixth-generation consoles. Its rev C-B board is reported to be built and working with a PlayStation 2: it processes 480i component video and stereo audio into 1080p60 HDMI, with deinterlacing, noise reduction, scaling and sharpening. The repository includes board, FPGA and firmware designs; the author reports measurements and documents limitations. The Hacker News title says Claude designed the board, but the supplied project description does not establish what Claude contributed or independently verify its role. Xbox and GameCube compatibility is proposed, not tested. The project status is dated 2026-11-12.

Why it matters

This is a concrete example of a potentially capable AI-assisted hardware workflow: the project spans circuit-board design, FPGA logic, embedded software and firmware, and is presented with source code and test details. If Claude materially helped produce it, that would be notable evidence of AI assistance reaching beyond software into complex engineering. But the available evidence supports the working device far better than it supports the headline’s attribution to Claude.

Current assessment

The primary evidence supplied is the project’s GitHub description, fetched 2026-11-13, with status dated 2026-11-12; the Hacker News item points to that repository. The author reports a built rev C-B board that has run a PlayStation 2’s 480i component video and stereo audio to 1080p60 HDMI. They report roughly 2 ms processing delay when using the incoming field, while noting this is FPGA timing rather than an external end-to-end measurement; whole-field processing is reported at 16.8 ms. The repository describes the hardware and software and includes designs, simulations and comparison images. These are project-author claims, not independent validation. The stated Claude role appears in the Hacker News title, not in the supplied repository text, so the extent—or even specific nature—of model involvement remains unverified. The Xbox and GameCube have not been tested; other input formats and 4K60 output are not complete. Significance is therefore strongest as a detailed, reproducible engineering artifact and a lead for investigating agent-assisted hardware design, not as proof that Claude autonomously designed or verified the board. Useful follow-up: inspect project history or author documentation for the model’s specific tasks and human review, and seek independent replication or testing.

Measured heat

now 0 pts/hpeak 21 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 362h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-11 13:00⭐ origin echo-reconstructedThe origin is the repository itself: the project README describes “An FPGA video scaler for the sixth generation of game consoles (PlayStati
bryfur on github (echo) · attributed from hn.story.50476792
—
11-13 01:09first on hacker news · published · +36.2hClaude designed FPGA scaler board for 6th-gen consoles
brytesys
—
11-13 01:09amplified on hacker news 👑hn.story.50476792
brytesys
peak 5 · 0 comments · 100% of case engagement
11-13 01:20our radar first saw it · +36.4hdiscovery anchor: hn.story.50476792—
pace: p40 vs 1845 stories at the 336h mark (now 362h old) — ahead of abmaze-protein-fitness-agent-benchmark (1.3x), behind agentplay-coding-agent-cost-dashboard (0.8x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnClaude designed FPGA scaler board for 6th-gen consoles
Retrieved article excerpt

Open article · Retrieved 2026-11-13T01:21:25.387100+00:00

# tang-av-scaler

An FPGA video scaler for the sixth generation of game consoles (PlayStation 2, Xbox, GameCube):
480i component video and stereo sound in, 1080p60 HDMI out, about 2 ms behind the console. A Sipeed
Tang Mega 138K SOM (Gowin GW5AST-138) on a carrier board of its own, with a Seeed XIAO ESP32-C5 for
Wi-Fi. The board, the FPGA design, the software for the FPGA's CPU and the ESP32's firmware are all
here.

```
console: component video (YPbPr, 480i) + stereo audio
  -> ADV7181D decoder, PCM1808 audio converter
  -> GW5AST-138 FPGA
       fields into DDR3 -> motion adaptive deinterlace + noise reduction -> SMAA
       -> FSR 1 upscale (EASU) -> FSR 1 sharpen (RCAS) -> on-screen text -> HDMI coding
       its hard RISC-V CPU: bring-up, settings, frame lock, on-screen text
  -> the FPGA's transceivers -> SN65DP159 -> HDMI 1080p60 with sound
  XIAO ESP32-C5: Wi-Fi, web page, updates, JTAG; talks to the CPU over SPI
```

Status (2026-11-12): the board (rev C-B) is built and runs a console's picture and sound to a
display and a capture device. The table below is what it does now, on the board. The console it
has been run with is a PlayStation 2; an Xbox or a GameCube with its component cable puts out the
same signal (480i, YPbPr, 59.94 Hz) and has not been tried yet.

[The board, rev C-B, rendered from its design](https://github.com/bryfur/tang-av-scaler/blob/main/hardware/av-board/rev-cb/img/av-board-cb-3d.png)
[The same from above](https://github.com/bryfur/tang-av-scaler/blob/main/hardware/av-board/rev-cb/img/av-board-cb-top.png)

[The board, rev C-B](https://github.com/bryfur/tang-av-scaler/blob/main/hardware/av-board/rev-cb/img/av-board-cb-photo.jpg)

The board, rev C-B ([hardware/av-board/](https://github.com/bryfur/tang-av-scaler/blob/main/hardware/av-board/README.md)), as designed (rendered, and from above) and as built:
the SOM under its heat sink, the XIAO and its antenna at the right; along the back edge the HDMI
output, the two audio jacks, power (USB-C) and the three component video jacks.

[A frame of the scaler's 1080p output, its on-screen display on](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/game-osd.png)

A frame as it leaves for the display, the on-screen display on (read back from the FPGA: no camera,
no capture device).

## What it does

|  |  |
| --- | --- |
| Input | 480i component (YPbPr) through an ADV7181D, sampled line-locked at 13.5 MHz; stereo analogue audio through a PCM1808. The decoder's sampling phase can be set, or tuned to the console's pixels (every phase tried on a still picture, the sharpest kept). |
| Deinterlacing | Motion adaptive from the last four fields, kept in the SOM's DDR3: a field's lines as they are, the lines between from the field before where nothing moves and from their neighbours where something does. Bob and weave can be chosen instead. |
| Noise | Where the picture is still, each sample is averaged with the same one a frame earlier (off, or three strengths). |
| Anti-aliasing | SMAA 1x on the 480-line picture: luma edges, the orthogonal and the diagonal patterns, corners kept. A view that paints what it finds (edges, blends) in the picture's place, for tuning. |
| Scaling | FSR 1's edge adaptive upsampling (EASU) to 1440 x 1080 (4:3) or 1920 x 1080 (16:9, for a game's widescreen mode). Any part of the source can be shown: the black border round a game's picture is measured and left out, so the picture fills the screen (or the part is set by hand). |
| Sharpening | FSR 1's RCAS on luma, in 16 steps, with its noise term (less where a pixel is noise rather than detail). |
| Timing | The output's frames are kept in step with the input's fields (the CPU trims the clock generator: within 10 us, no field shown twice or left out). A frame is made from the field that is still coming in: about 2 ms from a line captured to it sent (16.8 ms with whole fields). |
| Output | 1080p60 (59.94 Hz) HDMI from the FPGA's own transceivers; the console's sound as HDMI audio (two channels of L-PCM); AVI and audio InfoFrames. |
| On screen | An on-screen display: what comes in and goes out, what is done to the picture, the delay, the lock, the FPGA's temperature. |
| Control | A web page on the XIAO: every setting (applied as it is changed, kept across power cycles), status, a screen capture of the output read back from the FPGA, firmware update over Wi-Fi. |

## What it looks like

Two frozen frames of Killzone (PS2, its widescreen mode), each in and out. "The plain way" is the
two 480i fields as the console sent them, woven into a frame and stretched to 1080p (bilinear),
which is about what a simple scaler or a display does. "The scaler" is its 1080p output (motion
adaptive deinterlacing, noise reduction medium, SMAA with diagonals and corners at edge threshold
12, FSR 1 with sharpening 8/16). Nothing went through a camera or a capture device: the fields are
read out of the FPGA's memory and the output is read back from its last stage, pixel for pixel
(`gateware/tools/still.py`).

[The gun: the plain way and the scaler's, three times the size](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/gun.png)

**[Drag to compare](https://bryfur.github.io/tang-av-scaler/compare/)**: both frames on a page with a
line to drag between the plain picture and the scaler's, at any size up to four screen pixels a
pixel (`docs/compare/index.html`).

The pictures themselves, in [`docs/compare/`](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare):

- Whole frames, 1920 x 1080. In the game: [the plain way](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/game-plain.png),
  [the scaler](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/game-scaler.png), [a half of each](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/game-split.png). A
  results screen: [the plain way](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/scores-plain.png),
  [the scaler](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/scores-scaler.png).
- The frames as they came, the fields woven and nothing else (720 x 480):
  [the game](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/game-480i.png), [the results screen](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/scores-480i.png).
- Parts of both side by side, three times the size: [the tower and its guy wires](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/tower.png),
  [palms](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/palms.png), [hanging foliage](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/foliage.png),
  [HUD text](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/hud-text.png), [the ammunition counter](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/ammo.png),
  the results screen's [text](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/scores-text.png) and [buttons](https://github.com/bryfur/tang-av-scaler/blob/main/docs/compare/scores-buttons.png).

## How it is put together

- **The picture's path is logic** (`gateware/rtl/`): every pixel, at 148.5 MHz out. Each block has a
  model in Python (`gateware/sim/`) and the whole path is simulated against them pixel for pixel:
  the deinterlacer, SMAA, the scaler and the sharpening give exactly the models' pictures.
- **Everything else runs on the FPGA's hard CPU** (an Andes A25 RISC-V in the GW5AST, `gateware/sw/`,
  no operating system): it brings the board's chips up, holds the settings, finds the picture's
  border, tunes the sampling phase, keeps the output in step with the input, writes the on-screen
  text. A new program is loaded in a second, with no new bitstream.
- **The XIAO ESP32-C5** (`firmware/xiao-wifi/`) is the way in: Wi-Fi, the web page, updates, and
  JTAG to load bitstreams. It talks to the CPU over SPI in small messages, keeps the settings for
  when the power is off, and carries the CPU's program.

The design uses 16 % of the FPGA's logic, 75 % of its block RAM and 15 % of its multipliers.

## Measured on the board

|  |  |
| --- | --- |
| Delay | 2.0 ms at the top of the picture (some 2.5 ms at the bottom, by the two scan rates) with the picture made from the field coming in; 16.8 ms with whole fields. From the FPGA's own timing of a frame's start against the field; not yet measured from outside, and a display adds its own. |
| Frame lock | within 10 us of its mark, the clock trimmed by some -57 ppm (this console against this board); in step some 20 s after starting 5 ms off |
| Noise | the spread in a frozen frame's flat areas: 2.32 as it comes, 1.98 with the noise reduction; sharpened fully 3.94, with the sharpening's noise term 3.12, with both 2.61 |
| Sampling phase | 4.5 % between the sharpest and the least sharp phase on Killzone (its picture is soft to begin with) |
| Screen capture | 480 x 270 in 2 s, 960 x 540 in 6 s over the web page |

## What is not done

- Consoles other than the PlayStation 2 have not been tried. The Xbox and the GameCube put out the
  same 480i over their component cables; the Dreamcast has no component output (its VGA and RGB
  would come in at the board's inputs that are not used yet).
- Inputs other than 480i: 480p, 576i, 720p and 1080i need the decoder's settings and the capture's
  timing for each.
- 4K output: a 2160p30 test picture is clean on a display; at 2160p60 the link runs and the display
  sees scrambling but shows nothing; the scaler's own path ends at 1080p.
- The board's other inputs (S/PDIF, VGA, RGB with SCART sync) are wired but not used.
- Without the XIAO the CPU starts with its built-in settings: it has no storage of its own.
- The delay has not been measured through a display with a camera or a light sensor.

## The repository

| Directory | What |
| --- | --- |
| [`hardware/av-board/`](https://github.com/bryfur/tang-av-scaler/blob/main/hardware/av-board/README.md) | The board, rev C-B: generated with KiCad's Python API from `rev-cb/board.py`, every circuit from its part's reference design and reviewed against the data sheets; fab files for JLCPCB. Earlier designs that were not built are in `older/`. |
| [`gateware/`](https://github.com/bryfur/tang-av-scaler/blob/main/gateware/README.md) | The FPGA design: `rtl/` the logic, `sw/` the CPU's program, `sim/` the models and testbenches, `gowin/` the build, `tools/` the host's scripts (registers, loading, stills), `docs/` notes. |
| [`firmware/xiao-wifi/`](https://github.com/bryfur/tang-av-scaler/blob/main/firmware/xiao-wifi/README.md) | The XIAO ESP32-C5's firmware: Wi-Fi, the web page, updates, a JTAG server, the link to the FPGA's CPU. (`firmware/xiao/` is an earlier USB-only bridge for an ESP32-S3.) |

Building and loading: [gateware/README.md](https://github.com/bryfur/tang-av-scaler/blob/main/gateware/README.md) (the bitstream and the CPU's
program: Gowin's tools, a RISC-V GCC) and [firmware/xiao-wifi/README.md](https://github.com/bryfur/tang-av-scaler/blob/main/firmware/xiao-wifi/README.md)
(ESP-IDF). With the bitstream in the SOM's flash and the firmware in the XIAO, the board needs
power, a console and a display.

## Reference documents

`hardware/av-board/refs/` (not in git: the vendors' copyright) holds the data sheets and user
guides the circuits follow; [hardware/av-board/README.md](https://github.com/bryfur/tang-av-scaler/blob/main/hardware/av-board/README.md) lists which
and where each came from. The scaler's algorithms: SMAA (Jimenez et al.) and AMD's FidelityFX Super
Resolution 1 (EASU and RCAS, MIT licence), both written again for this hardware
(`gateware/sim/smaa.py`, `gateware/sim/fsr.py` say how they differ).
brytesys50
🟧 echo.github ⭐The origin is the repository itself: the project README describes “An FPGA video scaler for the sixth generation of game consoles (PlayStatibryfur——

Interpretation history

Decision trace