X-Debugger:an FPGA based scan debugger design and implementation
Chip post silicon debugging faces challenges such as poor internal observability,weak controllability,and dif-ficult internal state replay.This paper designs and implements a field programmable gate array(FPGA)based scan debugger X-Debugger which improves the debug efficiency dramatically.By reusing origin design for test(DFT)scan chain logic,inserting a scan control circuit based on functional module preamble during the chip design phase,the digital logic signals inside the chip are 100%visible.The scan debugger based on FPGA can quickly complete the acquisition and modification of the internal register state of the chip,and complete the replay of the internal logic state of the chip through the emulator rapidly,thus forming a debugging closed loop.The post silicon debugging practice of a processor chip shows that the function module with less than one million registers can com-plete the internal state acquisition and replay in 1 s,and the whole chip's internal state can be acquired and re-played in less than 1 min by X-Debugger,which greatly improves the post silicon debugging efficiency of the pro-cessor chip.