OK
Code is here
https://github.com/mcclure/analogue-core-template-amaranth/tree/control-test
I will file an issue