jtag: Apply Martin Strubel JTAG implementation for ZPUjtagdbg
commit91e13ae045ee76c25b8883013d386beab3cb8086
authorAlvaro <alvieboy@alvie.com>
Thu, 1 Sep 2011 11:13:53 +0000 (1 12:13 +0100)
committerAlvaro <alvieboy@alvie.com>
Thu, 1 Sep 2011 11:13:53 +0000 (1 12:13 +0100)
treeb09d846da68630a3424b291e81e401170a41caac
parent3941564bb9cb1fa9faa9a3461074d06f2ef0dbe0
jtag: Apply Martin Strubel JTAG implementation for ZPU

The current JTAG debugging capable ZPU implementation (VHDL) consists of:

- A generic, device independent JTAG module (tck, tms, tdi, tdo, trst)
- A TAP module, defining JTAG instruction and data registers
- A few control lines to/from the core (request, execute, acknowledge, ready)
  and:
  * An emulation instruction register
  * A data exchange register
- An enhanced ZPU small core state machine
16 files changed:
zpu/hdl/example/zpuromgen.c
zpu/hdl/tap/README [new file with mode: 0644]
zpu/hdl/tap/jtagx.vhd [new file with mode: 0644]
zpu/hdl/tap/tap.vhd [new file with mode: 0644]
zpu/hdl/zealot/devices/trace.vhdl
zpu/hdl/zealot/helpers/zpu_small1.vhdl
zpu/hdl/zealot/testbenches/hwdbg_small1_tb.vhdl [new file with mode: 0644]
zpu/hdl/zealot/zpu_pkg.vhdl
zpu/hdl/zealot/zpu_small.vhdl
zpu/sw/emulation/Makefile [new file with mode: 0644]
zpu/sw/emulation/README [new file with mode: 0644]
zpu/sw/emulation/tap.h [new file with mode: 0644]
zpu/sw/emulation/zpu-opcodes.h [new file with mode: 0644]
zpu/sw/emulation/zpu-tap.h [new file with mode: 0644]
zpu/sw/emulation/zpuemu.c [new file with mode: 0644]
zpu/sw/emulation/zpuemu.h [new file with mode: 0644]