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 Turin; Italy ) [10.1007/978-3-032-17174-0_22].
Implementing the RISC-V debug specification on an interleaved multi-threading core
Andrea Marcelli
Primo
;Marco PisaniSecondo
;Marco Angioli;Rocco Martino;Antonio Mastrandrea;Mauro OlivieriUltimo
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.| File | Dimensione | Formato | |
|---|---|---|---|
|
Marcelli_Implementing_2025.pdf
solo gestori archivio
Tipologia:
Documento in Post-print (versione successiva alla peer review e accettata per la pubblicazione)
Licenza:
Tutti i diritti riservati (All rights reserved)
Dimensione
392.06 kB
Formato
Adobe PDF
|
392.06 kB | Adobe PDF | Contatta l'autore |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


