On-chip debugging and diagnosis method, device and chip

An on-chip debugging and diagnosis method technology, applied in the field of integrated circuits, can solve the problems of the chip cannot automatically suspend fault diagnosis efficiency, low efficiency, etc., and achieve the effect of improving the debug ability, accurate fault location, and fast fault diagnosis.
CN106324476BActive Publication Date: 2019-09-24LOONGSON TECH CORP

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Patents(China)
Current Assignee / Owner
LOONGSON TECH CORP
Publication Date
2019-09-24

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The present invention provides an on-chip debug and diagnostic method, a device and a chip. The method comprises the steps of monitoring the interrupt trigger information; generating a stop clock signal, a freeze signal and an interrupt trigger flag based on the interrupt trigger information; according to the stop clock signal, closing a functional clock; according to the freeze signal, freezing the state of a non-debug module port; upon monitoring the interrupt trigger flag, recording the state of an internal trigger and the internal state of a memory; after the recording is completed, recovering the function of the clock. Based on the on-chip debug and diagnostic method, the device and the chip, the functional clock can be automatically closed when the chip goes wrong, and the operation of a processor is paused. Meanwhile, the debug and diagnostic function is triggered automatically, so that the internal state of the chip can be quickly and accurately acquired. The debugging capability of the chip is effectively improved. therefore, the fault diagnosis is more rapid and the fault location is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of integrated circuits, in particular to an on-chip debugging and diagnosis method, device and chip. Background technique

[0002] With the increasing design scale of chips in the current integrated circuit field, the complexity and integration are getting higher and higher, but the timeliness of chips from design to market is also becoming more and more stringent. These factors make the silicon front of the chip Validation is difficult to do adequately. Due to insufficient pre-silicon verification of the chip, it may lead to failure of the chip after tape-out. For these failures, debugging and diagnosis are usually carried out by means of post-silicon debugging.

[0003] The traditional post-silicon debugging method is slightly different due to different chips. Usually, the chip is in a functional mode (that is, running a normal function), and the method of recording and analyzing the input and output of the chip i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More