Giter Site home page Giter Site logo

lxxzxxjxx / riscv-dbg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pulp-platform/riscv-dbg

0.0 1.0 0.0 258 KB

RISC-V Debug Support for our PULP Cores

License: Other

Makefile 0.41% Assembly 2.42% SystemVerilog 61.32% C 33.68% Python 2.17%

riscv-dbg's Introduction

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 PULPissimo and riscv-tests/debug.

riscv-dbg's People

Contributors

bluewww avatar davideschiavone avatar felixonmars avatar glaserf avatar imphil avatar jm4rtin avatar msfschaffner avatar nilsgraf avatar pbing avatar sjgitty avatar stmach avatar zarubaf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.