SOC HW/SW co‐verification based debugging technique
ISSN: 0332-1649
Article publication date: 1 March 2013
Abstract
Purpose
Increasingly complex and sophisticated VLSI design, coupled with shrinking design cycles, requires shorter verification time and efficient debug method. Logic simulation provides SoC verification with full controllability and observability, but it suffers from very slow simulation speed for complex design. Using hardware emulation such as FPGA can have higher simulation speed. However, it is very hard to debug due to its poor visibility. SOC HW/SW co‐verification technique seems to draw a balance, but Design Under Test (DUT) still resides in FPGA and remains hard for debugging. The purpose of this paper is to study a run‐time RTL debugging methodology for a FPGA‐based co‐verification system.
Design/methodology/approach
The debugging tools are embedded in HDL simulator using Verilog VPI callback, so signals of testbench and internal nodes of DUT can be observed in a single waveform and updated as simulation runs, making debugging more efficient. The proposed debugging method connects internal nodes directly to a PCI‐extended bus, instead of inserting extra scan‐chain logic, so the overhead for area is reduced.
Findings
This method provides internal nodes probing on an event‐driven co‐verification platform and achieves full observability for DUT. The experiment shows that, compared with a similar method, the area overhead for debug logic is reduced by 30‐50 per cent and compile time is shortened by 40‐70 per cent.
Originality/value
The proposed debugging technique achieves 100 per cent observability and can be applied to both RTL and gate‐level verification. The debugging tool is embedded into HDL simulator using Verilog VPI callback, so DUT signals are displayed together with testbench signals in the same waveform viewer. New value of DUT signal is read from FPGA whenever it changes, which allows run‐time debug.
Keywords
Citation
Ruan, A.W., Li, C.Q., Song, Z.J. and Li, W.C. (2013), "SOC HW/SW co‐verification based debugging technique", COMPEL - The international journal for computation and mathematics in electrical and electronic engineering, Vol. 32 No. 2, pp. 545-555. https://doi.org/10.1108/03321641311296936
Publisher
:Emerald Group Publishing Limited
Copyright © 2013, Emerald Group Publishing Limited