# ay8910-python's referee drivers: regrouped by upstream **Both drivers moved on 2026-11-24** to tools of their own, each of which now fetches, builds and (where needed) patches its upstream at the pin itself: - `ay_tb.v`, the AY-3-8910 die-model testbench, is now `tools/ay-die-model/` (ay-die-model 0.1.0): `$EMU_TOOLS_GPL/tools/ay-die-model/build.sh` builds `$EMU_TOOLS_GPL/tools/ay-die-model/build/ay_ref` from lvd2/ay-3-8910_reverse_engineered `cf8d14d`, with the trireg keepers as `patches/trireg-keepers.patch` (README there). - `ssg_ref.c`, the YM2203-LLE SSG harness, is now `tools/ym2203-lle/` (ym2203-lle 0.1.0): `$EMU_TOOLS_GPL/tools/ym2203-lle/build.sh` builds `$EMU_TOOLS_GPL/tools/ym2203-lle/build/ssg_ref` from YM2203-LLE `817387f` (README there). ## What is left here - `ay_tb.v`: a relative link to `../ay-die-model/ay_tb.v`. - `ssg_ref.c`: a relative link to `../ym2203-lle/ssg_ref.c`. - This README. ay8910-python's `validation/build_referees.sh` still compiles both files by their old paths, `$EMU_TOOLS_GPL/tools/ay8910-python/ay_tb.v` and `.../ssg_ref.c`, against its own fetched copies of the two models, and the links keep that working. Gated on 2026-11-24: through the links the consumer's script builds the same `ssg_ref` (byte-identical) and the same `ay_ref` (identical apart from the file names, line numbers and pointer values Icarus writes into it), and the new tools' builds give byte-identical outputs on the consumer's streams and cases. What the consumer changes later (run the built programs, drop its two pins): `../../docs/consumer-migration.md`. ## History From the emulator family's ay8910-python repository: `validation/ay_tb.v` and `validation/ssg_ref.c`, moved out on 2026-11-22 (wave G) as they stood at ay8910-python `10e278f` (old history; `809986f` after the rewrite, without them); our code (alewman), first published under MIT (`../../notices/MIT-emulator-family.txt`), and they keep that licence (an SPDX MIT line was added on 2026-11-24). Every value they give is OBSERVED (each model at its pin), overruled by any document or hardware measurement that disagrees (`emu-tools/docs/wall.md`).