mxgxw / openOCD

openOCD including OpenRISC with adv_debug_sys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unless you are using the classic Mohor debug interface, you should now use the upstream version of OpenOCD

OpenOCD

openOCD including OpenRISC support with Mohor debug interface and Nathan Yawn adv_dbg_if debug interface.

A JTAG driver acting as a client for a VPI JTAG server interface is also included.

+---------------     +----------------+      +----------------+      +------------------+      +----------+ 
+              +     +                +      +                +      +                  +      +          + 
+ OpenOCD core + --> + JAG VIP driver + <==> + JAG VIP server + <--> + JTAG VPI verilog + <--> + JTAG TAP + 
+              +     +                +      +                +      +                  +      +          + 
+---------------     +----------------+      +----------------+      +------------------+      +----------+
                         jtag_vpi.c              jtag_vpi.c               jtag_vpi.v             any tap...
--------------------------------------- TCP  ------------------  VPI --------------------------------------
---------------------------------------      --------------------------------------------------------------
              OpenOCD                                                VPI + Verilog RTL

If you want to use the VPI JTAG driver, you need to configure OpenOCD like this:

./configure --enable-jtag_vpi --enable-adv_debug_sys --enable-maintainer-mode

Then you can start OpenOCD:

./src/openocd -f jtag_vpi.tcl

The JTAG VPI server (on the simulation side) has to be started before OpenOCD.

About

openOCD including OpenRISC with adv_debug_sys

License:GNU General Public License v2.0


Languages

Language:C 85.7%Language:HTML 3.9%Language:Tcl 2.6%Language:Assembly 2.4%Language:Perl 1.8%Language:Makefile 1.3%Language:M4 1.0%Language:Python 0.6%Language:Shell 0.4%Language:C++ 0.3%Language:GDB 0.1%Language:Batchfile 0.0%