• 首页
  • 期刊简介
  • 编委会
  • 版权声明
  • 投稿指南
  • 期刊订阅
  • 相关下载
    雷达数据
    下载专区
  • 过刊浏览
  • 联系我们
引用本文:王强,林广栋,耿锐. 一种支持源代码级调试的全芯片仿真技术[J]. 雷达科学与技术, 2018, 16(3): 281-285.[点击复制]
WANG Qiang, LIN Guangdong, GENG Rui. A Whole Chip Simulation Technology for Debugging at Source Code Level[J]. Radar Science and Technology, 2018, 16(3): 281-285.[点击复制]
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  【关闭】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 6081次   下载 800次 本文二维码信息
码上扫一扫!
分享到: 微信 更多
字体:加大+|默认|缩小-
一种支持源代码级调试的全芯片仿真技术
王强,林广栋,耿锐
中国电子科技集团公司第三十八研究所, 安徽合肥 230088
摘要:
源代码级调试对于嵌入式软件开发效率来说至关重要。传统的IC数字前端仿真平台在运行目标代码时,由于目标机是用硬件描述语言Verilog HDL描述的,因此无法进行源代码级调试,只能通过指令级调试或者查看输出波形来分析问题,然后再反向追溯源代码,开发效率低下。提出一种基于VPI技术的全芯片混合仿真方法,利用该方法可以实现目标机软件内核模型与片上复杂硬件外设模型相结合的混合仿真。由于使用了大量的硬件模型,因此该平台是功能完备的,又由于目标机是由软件实现的,因此该混合仿真平台可支持目标软件的源代码级调试。最后在一款工业级DSP的实际设计流程中的成功应用证明了提出方法的有效性。
关键词:  全芯片仿真  周期精确  软件调试  Verilog编程接口
DOI:10.3969/j.issn.1672-2337.2018.03.008
分类号:TN911.72;TP319
基金项目:国家核高基重大专项(No.2012ZX01034001)
A Whole Chip Simulation Technology for Debugging at Source Code Level
WANG Qiang, LIN Guangdong, GENG Rui
The 38th Research Institute of China Electronics Technology Group Corporation, Hefei 230088, China
Abstract:
It is very important for the embedded software developing effectiveness that debugging at the source code level. When running the target code on the traditional IC front-end simulation platform, it is impossible to debug at source code level because the target machine is described by hardware description language like Verilog HDL. The only way for debugging in this situation is to check out problems at the instruction level then to move backward to the source code. A whole chip hybrid simulation method based on VPI technology is proposed in this paper, through which, it is implemented that simulating the software kernel model and the complex hardware peripheral devices model together. The simulation platform is integrated because of using many hardware models and also is supporting debugging at source code level because its target machine model is implemented with software. Finally, a successful application in a practical industrial DSP design process has shown the effectiveness of the method proposed in this paper.
Key words:  whole chip simulation  cycle accuracy  software debugging  Verilog procedural interface(VPI)

版权所有:《雷达科学与技术》编辑部 备案:XXXXXXX
主办:中国电子科技集团公司第三十八研究所 地址:安徽省合肥市高新区香樟大道199号 邮政编码:230088
电话:0551-65391270 电子邮箱:radarst@163.com
技术支持:北京勤云科技发展有限公司