Thinking about making a suite of FPGA (and i guess potentially ASIC) debug IPs t...

@azonenberg@ioc.exchange

Thinking about making a suite of FPGA (and i guess potentially ASIC) debug IPs that integrate with ngscopeclient. In part because Efinix's debug tools are... Suboptimal.

The flow will be ADIv5 esque but not exclusively JTAG/SWD centric.

At a high level my concept is to root with a bridge from various external interfaces (starting with UART) to APB. The bridge will offer commands for 32 bit read and write, getting some kind of id code / version, and querying the base address of the debug ROM. No AP/DP separation, the bridge will map directly to a single bus.

The debug ROM will just be a list of base addresses of debug IPs on the APB. The same APB can also contain non debug stuff which will be ignored.

Each debug IP will contain a descriptor at the start of its address range describing what it is, and optionally a pointer to a memory mapped buffer for e.g. reading out ILA waveform data.

Currently planned blocks are a GPIO interface of some sort, an ILA, and some SERDES capture blocks that capture raw 8b10b or 64b66b symbols off a transceiver.