[[risc-v-debug]]
= The RISC-V Debug Specification
:description: RISC-V Debug Specification
:company: RISC-V.org
:authors: Editors: Paul Donahue <pdonahue@ventanamicro.com>, Ventana Micro Systems, Tim Newsome <tim@sifive.com>, SiFive, Inc.
:revdate: Revised 20231107
:revnumber: 20231107
//:revremark: Pre-release version
:url-riscv: http://riscv.org
:doctype: book
:colophon:
:pdf-theme: ./docs-resources/themes/riscv-pdf.yml
:pdf-fontsdir: ./docs-resources/fonts/
:preface-title: Preface
:toc: preamble
:toclevels: 4 
:appendix-caption: Appendix
:imagesdir: ./docs-resources/images
:title-logo-image: image:risc-v_logo.png[pdfwidth=3.25in,align=center]
//:page-background-image: image:draft.png[opacity=20%]
//:title-page-background-image: none
//:back-cover-image: image:backpage.png[opacity=25%]
//:back-cover-image: image:riscv-horizontal-color.svg[opacity=25%]
// Settings:
:experimental:
:reproducible:
:imagesoutdir: ./docs-resources/images
//:bibtex-file: ../docs-resources/resources/riscv-spec.bib
//:bibtex-order: alphabetical
//:bibtex-style: apa
//:bibtex-format: asciidoc
//:bibtex-throw: false
:icons: font
:lang: en
:listing-caption: Example
:sectnums:
:sectnumlevels: 4
//:toc: left
:source-highlighter: pygments
ifdef::backend-pdf[]
:source-highlighter: rouge
endif::[]
:table-caption: Table
:figure-caption: Figure
:xrefstyle: short 
:chapter-refsig: Chapter
:section-refsig: Section
:appendix-refsig: Appendix
:data-uri:
:hide-uri-scheme:
:stem: latexmath
:footnote:

Contributors to all versions of the spec in alphabetical order (please
contact editors to suggest corrections): Bruce Ableidinger, Krste
Asanović, Peter Ashenden, Allen Baum, Mark Beal, Alex Bradbury, Chuanhua
Chang, Yen Hao Chen, Zhong-Ho Chen, Monte Dalrymple, Paul Donahue,
Vyacheslav Dyachenko, Ernie Edgar, Peter Egold, Marc Gauthier, Markus
Goehrle, Robert Golla, John Hauser, Richard Herveille, Yung-ching Hsiao,
Po-wei Huang, Scott Johnson, L. J. Madar, Grigorios Magklis, Daniel
Mangum, Alexis Marquet, Jan Matyas, Kai Meinhard, Jean-Luc Nagel, Aram
Nahidipour, Rishiyur Nikhil, Gajinder Panesar, Deepak Panwar, Antony
Pavlov, Klaus Kruse Pedersen, Ken Pettit, Darius Rad, Joe Rahmeh, Josh
Scheid, Vedvyas Shanbhogue, Gavin Stark, Ben Staveley, Wesley Terpstra,
Tommy Thorn, Megan Wachs, Jan-Willem van de Waerdt, Philipp Wagner,
Stefan Wallentowitz, Ray Van De Walker, Andrew Waterman, Thomas Wicki,
Andy Wright, Bryan Wyatt, and Florian Zaruba.

_This document is released under a Creative Commons Attribution 4.0 International License._

include::introduction.adoc[]
include::overview.adoc[]
include::debug_module.adoc[]
include::Sdext.adoc[]
include::Sdtrig.adoc[]
include::jtagdtm.adoc[]
include::implementations.adoc[]
include::debugger_implementation.adoc[]
//include::riscv-debug-spec.adoc[]
//include::future.adoc[]
//include::index.adoc[]
//include::bibliography.adoc[]
