[Libre-soc-dev] [Libre-soc-bugs] [Bug 503] New: Create new repo for gdb-adaptor program
staf at fibraservi.eu
Sat Sep 26 00:58:24 BST 2020
Luke Kenneth Casson Leighton schreef op vr 25-09-2020 om 22:36 [+0100]:
> On 9/25/20, Staf Verhaegen <staf at fibraservi.eu> wrote:
> a couple of days ago i managed to connect openocd to the litex
> sim.pysimply by enabling the litex jtagremote module and writing
> anopenocd.cfg that connected to that port.
> by taking the c4m svf cocotb code and removing the cocotb part
> andputting a module in place that connects to the openocd server
> insteadof directly driving cocotb signals we can use the svf parser
> toconnect to the litex sim.py and test it directly.
> the svf code thus becomes *completely* independent of nmigen,
> by also writing a small cocotb server that *also* conforms to
> theopenocd jtagremote protocol it is possible to use the exact same
> svfparser-reader to connect to the current code in c4m.
Why not use the openocd svf command to play a svf file ?
That's how I test svf files on a FPGA implementation of my retro-uc.
See attached script as example.
Doing it this way even tested that my cocotb svf parser behaved the
same as the openocd svf parser.
More information about the Libre-soc-dev