虚拟GDB远程调试技术及其在硬件仿真器中的应用  被引量:2

Virtual GDB remote debugging technology and its application in emulator

在线阅读下载全文

作  者:黄侃 徐勇 李艳荣 HUANG Kan;XU Yong;LI Yanrong(School of Computer Science and Technology,Harbin Institute of Technology(Shenzhen),Shenzhen,Guangdong 518000,China;SMiT Group(Shenzhen)Company Limited,Shenzhen,Guangdong 518000,China;Shenzhen SMiT Jingrui Technology Company Limited,Shenzhen,Guangdong 518000,China)

机构地区:[1]哈尔滨工业大学(深圳)计算机科学与技术学院,广东深圳518000 [2]国微集团(深圳)有限公司,广东深圳518000 [3]深圳国微晶锐技术有限公司,广东深圳518000

出  处:《河北科技大学学报》2023年第3期211-218,共8页Journal of Hebei University of Science and Technology

基  金:国家自然科学基金面上项目(61876051);深圳市科创委资助项目(KCXFZ20211020163402004)。

摘  要:为了解决当前硬件仿真器采用测试激励与探针采样调试方法导致的额外硬件资源需求增加以及调试方法复杂死板的问题,研究出一种虚拟GDB远程调试技术提高硬件仿真器的调试能力。首先,使用JTAG的消息代理器与事务处理器进行软件与硬件的信息交互,实现计算机与硬件仿真器的通信;然后,通过VPI接口实现GDB与JTAG代理器的软件信息交互,完成虚拟GDB调试;最后,在硬件仿真器中进行应用实验。结果表明,虚拟GDB远程调试系统可支持断点插入、单步运行、寄存器读写等功能,与插入探针的调试方法相比,使用虚拟GDB调试提速近百倍。虚拟GDB远程调试技术丰富了硬件仿真器的软件调试手段,增强了硬件仿真器的调试能力,提升了芯片设计验证效率。In order to solve the problem that the testbench stimulation and probe insertion debugging method of emulator requires extra hardware resources and has insufficient flexibility in software debugging,a virtual GDB remote debugging technology was researched to improve the debugging ability of the emulator.Firstly,JTAG proxy and JTAG transactor were used to support the connection between the workstation and the emulator.Then the signals between GDB and JTAG proxy were transmitted through VPI to complete the debugging of virtual GDB.Finally,the virtual GDB remote debugging system was applied in emulator for experiments.The results show that the virtual GDB remote debugging system can support breakpoint insertion,single step running,register reading and writing,and other functions.Compared with debugging by probe insertion,the virtual GDB system is almost hundred times faster.It greatly enriches the software debugging method and enhances the debugging ability of emulator,and improves the efficiency of the chip design and verification.

关 键 词:计算机仿真 远程调试技术 硬件仿真加速器 SCEMI JTAG事务器 OpenOCD 

分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象