tree: 205251e75995dcad3531b05f162f9a1381c01b94 [path history] [tgz]
  1. ci/
  2. debug_rom/
  3. doc/
  4. src/
  5. sva/
  6. tb/
  7. .gitignore
  8. .travis.yml
  9. Bender.yml
  10. CHANGELOG.md
  11. LICENSE
  12. LICENSE.SiFive
  13. README.md
hw/vendor/pulp_riscv_dbg/README.md

Build Status

RISC-V Debug Support for PULP Cores

This module is an implementation of a debug unit compliant with the RISC-V debug specification v0.13.1. It is used in the Ariane and RI5CY cores.

Implementation

We use an execution-based technique, also described in the specification, where the core is running in a “park loop”. Depending on the request made to the debug unit via JTAG over the Debug Transport Module (DTM), the code that is being executed is changed dynamically. This approach simplifies the implementation side of the core, but means that the core is in fact always busy looping while debugging.

Features

The following features are currently supported

  • Parametrizable buswidth for XLEN=32 XLEN=64 cores
  • Accessing registers over abstract command
  • Program buffer
  • System bus access (only XLEN)
  • DTM with JTAG interface

These are not implemented (yet)

  • Trigger module
  • Quick access using abstract commands
  • Accessing memory using abstract commands
  • Authentication

Tests

We use OpenOCD's RISC-V compliance tests, our custom testbench in tb/ and riscv-tests/debug.