Virtual GDB remote debugging technology and its application in emulator

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 emu...

Full description

Bibliographic Details
Main Authors: Kan HUANG, Yong XU, Yanrong LI
Format: Article
Language:zho
Published: Hebei University of Science and Technology 2023-06-01
Series:Journal of Hebei University of Science and Technology
Subjects:
Online Access:https://xuebao.hebust.edu.cn/hbkjdx/article/pdf/b202303001?st=article_issue
_version_ 1797435580203663360
author Kan HUANG
Yong XU
Yanrong LI
author_facet Kan HUANG
Yong XU
Yanrong LI
author_sort Kan HUANG
collection DOAJ
description 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.
first_indexed 2024-03-09T10:50:10Z
format Article
id doaj.art-22d520d55c0444d1a6b83d2223a975f0
institution Directory Open Access Journal
issn 1008-1542
language zho
last_indexed 2024-03-09T10:50:10Z
publishDate 2023-06-01
publisher Hebei University of Science and Technology
record_format Article
series Journal of Hebei University of Science and Technology
spelling doaj.art-22d520d55c0444d1a6b83d2223a975f02023-12-01T07:42:23ZzhoHebei University of Science and TechnologyJournal of Hebei University of Science and Technology1008-15422023-06-0144321121810.7535/hbkd.2023yx03001b202303001Virtual GDB remote debugging technology and its application in emulatorKan HUANG0Yong XU1Yanrong LI21.School of Computer Science and Technology, Harbin Institute of Technology(Shenzhen), Shenzhen,Guangdong 5180001.School of Computer Science and Technology, Harbin Institute of Technology(Shenzhen), Shenzhen,Guangdong 5180002.SMiT Group (Shenzhen) Company Limited, Shenzhen, Guangdong 518000, ChinaIn 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.https://xuebao.hebust.edu.cn/hbkjdx/article/pdf/b202303001?st=article_issuecomputer simulation; remote debugging technology; emulator; scemi; jtag transactor; openocd
spellingShingle Kan HUANG
Yong XU
Yanrong LI
Virtual GDB remote debugging technology and its application in emulator
Journal of Hebei University of Science and Technology
computer simulation; remote debugging technology; emulator; scemi; jtag transactor; openocd
title Virtual GDB remote debugging technology and its application in emulator
title_full Virtual GDB remote debugging technology and its application in emulator
title_fullStr Virtual GDB remote debugging technology and its application in emulator
title_full_unstemmed Virtual GDB remote debugging technology and its application in emulator
title_short Virtual GDB remote debugging technology and its application in emulator
title_sort virtual gdb remote debugging technology and its application in emulator
topic computer simulation; remote debugging technology; emulator; scemi; jtag transactor; openocd
url https://xuebao.hebust.edu.cn/hbkjdx/article/pdf/b202303001?st=article_issue
work_keys_str_mv AT kanhuang virtualgdbremotedebuggingtechnologyanditsapplicationinemulator
AT yongxu virtualgdbremotedebuggingtechnologyanditsapplicationinemulator
AT yanrongli virtualgdbremotedebuggingtechnologyanditsapplicationinemulator