一种面向异构片上系统的调试器框架
A Debugger Framework for Heterogeneous System on Chip
唐俊龙 1李奕成 1邹望辉 1时洋2
作者信息
- 1. 长沙理工大学 物理与电子科学学院,湖南 长沙 410114
- 2. 国防科技大学 计算机学院,湖南 长沙 410073
- 折叠
摘要
异构片上系统具有定制化满足应用的特异性需求特点,成为多个领域内的主流解决方案.但用户在异构片上系统上进行开发需要面对多种计算资源带来的程序错误,而不同异构片上系统构建统一的调试器框架也面临巨大的挑战.针对上述问题,本文提出了一种面向异构片上系统的调试器框架,该调试器框架设计了异构处理器调试器框架通用接口,开发者可以通过框架功能接口快速构建异构调试器.该框架功能丰富,通过线程切换实现了对异构多核程序的调试,也实现了异构程序性能分析等功能.该框架生成的调试器与传统硬件调试器相比,加载异构程序速度快,是读内存速率的5.5倍,是写内存速率的16.5倍,调试速度大大提高.
Abstract
The heterogeneous system on chip has the characteristics of customization to meet the specific requirements of applications and has become the mainstream solution in many fields.However,users need to face program errors brought by various computing resources when developing on heterogeneous system on chip,and it is also a great challenge to build a unified debugger framework for different heterogeneous system on chip.To solve the above problems,a debugging framework for heterogeneous system on chip is proposed in this paper.A general interface of the debugging framework for heterogeneous processor is designed in this framework,which enables developers to quickly build heterogeneous debuggers through the framework functional interfaces.The debugger framework is rich in functions.It realizes debugging of heterogeneous multicore programs through thread switching and performances analysis of heterogeneous programs.Compared with traditional hardware debugging,the debugger generated by the framework loads heterogeneous programs faster,which is 5.5 times the read memory rate and 16.5 times the write memory efficiency,and the debugging speed is greatly improved.
关键词
异构片上系统/调试器/异构调试/多核调试/性能分析Key words
heterogeneous system on chip/debugger/heterogeneous debugging/multicore debugging/perfor-mance analysis引用本文复制引用
基金项目
柔性电子材料基因工程湖南省重点实验室开放基金(202015)
湖南省自然科学基金(2023JJ40679)
出版年
2024