Robust on-chip debugging is essential for bringing up, validating, and servicing modern SoCs, but integrating standardized debug into resource-constrained designs can be challenging depending on their structure. This work presents the first standards-compliant integration of the RISC-V External Debug Support Specification v0.13.2 on an Interleaved Multi-threading processor. It features a lightweight 4-state Debug Entity, duplicated CSRs, decode/execute modifications to enable halt, single-step, and abstract-command capabilities. The implementation was done in the 32-bit four-stage Klessydra-T03 core. The FPGA synthesis results on an AMD Xilinx Zynq UltraScale+ ZCU106 show a modest overhead (+20% LUTs, +6.5% FFs, -5.5% fmax), and the modified core passes the full riscv-dbg compliance suite for every hart, both separately and in parallel, providing a concrete blueprint for debug in resource-constrained IMT designs.

Implementing the RISC-V Debug Specification on an Interleaved Multi-Threading Core / Marcelli, A., Pisani, M., Angioli, M., Martino, R., Mastrandrea, A., Olivieri, M.. - 1553:(2026), pp. 161-168. (International Conference on Applications in Electronics Pervading Industry, Environment and Society, APPLEPIES 2025 ita ) [10.1007/978-3-032-17174-0_22].

Implementing the RISC-V Debug Specification on an Interleaved Multi-Threading Core

Andrea Marcelli
Primo
;
Marco Pisani
Secondo
;
Marco Angioli;Rocco Martino;Antonio Mastrandrea;Mauro Olivieri
Ultimo
2026

Abstract

Robust on-chip debugging is essential for bringing up, validating, and servicing modern SoCs, but integrating standardized debug into resource-constrained designs can be challenging depending on their structure. This work presents the first standards-compliant integration of the RISC-V External Debug Support Specification v0.13.2 on an Interleaved Multi-threading processor. It features a lightweight 4-state Debug Entity, duplicated CSRs, decode/execute modifications to enable halt, single-step, and abstract-command capabilities. The implementation was done in the 32-bit four-stage Klessydra-T03 core. The FPGA synthesis results on an AMD Xilinx Zynq UltraScale+ ZCU106 show a modest overhead (+20% LUTs, +6.5% FFs, -5.5% fmax), and the modified core passes the full riscv-dbg compliance suite for every hart, both separately and in parallel, providing a concrete blueprint for debug in resource-constrained IMT designs.
2026
International Conference on Applications in Electronics Pervading Industry, Environment and Society, APPLEPIES 2025
Debug; IMT; Interleaved Multi-Threading; RISC-V
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
Implementing the RISC-V Debug Specification on an Interleaved Multi-Threading Core / Marcelli, A., Pisani, M., Angioli, M., Martino, R., Mastrandrea, A., Olivieri, M.. - 1553:(2026), pp. 161-168. (International Conference on Applications in Electronics Pervading Industry, Environment and Society, APPLEPIES 2025 ita ) [10.1007/978-3-032-17174-0_22].
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1778283
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact