[Libre-soc-bugs] [Bug 499] Create experimental gdb protocol implementation in nmigen for debugging

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Sep 22 22:37:54 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=499

--- Comment #2 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
can i assume you're talking about this, section 2.3

https://www.embecosm.com/appnotes/ean4/embecosm-howto-rsp-server-ean4-issue-2.html

if so that's reeaaally not going to be quick.  section 4.7.6 which is
for example reading all registers, that alone will be quite a complex
(nested, twin) FSM, like this:

https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/litex/florent/sim.py;hb=HEAD#l225

something like that would need converting to nmigen and that's *just*
for reading the registers.

the advantage of the JTAG approach is that, basically, aside from
the software (openocd) it's done.  i.e. the complexity (and remaining work)
is in the software side.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list