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 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.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


