Processor condition sensing circuits, systems and methods
First Claim
1. A data processing device comprising:
- a semiconductor chip;
an electronic processor on-chip;
an on-chip condition sensor connected to said electronic processor for analysis of the operations thereof, including means for recognizing the occurrence of a predetermined condition during real time operation of said electronic processor and means responsive to the recognition of said predetermined condition for applying a control input to said electronic processor during said real time operation thereof; and
a serial scan circuit connected to said on-chip condition sensor for inputting to said on-chip condition sensor control information which causes said on-chip sensor to assume a selected one of a plurality of sensing configurations;
wherein said on-chip sensor includes a plurality of sensor circuits responsive to particular internal conditions of said electronic processor and sensor circuit selection circuitry.
0 Assignments
0 Petitions
Accused Products
Abstract
The invention provides improved architectures and methods for emulation, simulation, and testability of data processing devices and systems without requiring physical probing or special test fixtures. A data processing device may include a semiconductor chip that is divided into domains. One domain may be halted and tested while another domain continues to operate. For example, the semiconductor chip may have a electronic processor domain and an analysis domain. The analysis domain may include an on-chip condition sensor that is connected to the electronic processor domain. The chip can further include control logic circuitry to allow the analysis domain to operate while the electronic processor is halted and tested.
147 Citations
18 Claims
-
1. A data processing device comprising:
-
a semiconductor chip; an electronic processor on-chip; an on-chip condition sensor connected to said electronic processor for analysis of the operations thereof, including means for recognizing the occurrence of a predetermined condition during real time operation of said electronic processor and means responsive to the recognition of said predetermined condition for applying a control input to said electronic processor during said real time operation thereof; and a serial scan circuit connected to said on-chip condition sensor for inputting to said on-chip condition sensor control information which causes said on-chip sensor to assume a selected one of a plurality of sensing configurations; wherein said on-chip sensor includes a plurality of sensor circuits responsive to particular internal conditions of said electronic processor and sensor circuit selection circuitry. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An electronic system comprising:
-
a data processing device including a semiconductor chip and an electronic processor on-chip; a host computer external to said chip and connected to said data processing device, said host computer having a speed of operation which is slower than said electronic processor; said data processing device further comprising an on-chip condition sensor coupled to said host computer, said on-chip condition sensor including means for recognizing the occurrence of a predetermined condition during real time operation of said electronic processor and means for stopping said electronic processor automatically upon occurrence of said predetermined condition; and a serial scan circuit connected between said host computer and said on-chip condition sensor for inputting to said on-chip condition sensor control information which causes said on-chip condition sensor to assume a selected one of a plurality of sensing configurations; wherein said on-chip condition sensor includes a plurality of sensor circuits responsive to particular internal conditions of said electronic processor, and a logic network connected to said sensor circuits, said serial scan circuit being supplied with command bits by said host computer and being interconnected with said logic network for determining selections of sensor circuits by said logic network.
-
-
11. An electronic system comprising:
-
a data processing device including a semiconductor chip and an electronic processor on-chip; a host computer external to said chip and connected to said data processing device, said host computer having a speed of operation which is slower than said electronic processor; said data processing device further comprising an on-chip condition sensor coupled to said host computer, said on-chip condition sensor including means for recognizing the occurrence of a predetermined condition during real time operation of said electronic processor and means for stopping said electronic processor automatically upon occurrence of said predetermined condition; and a serial scan circuit connected between said host computer and said on-chip condition sensor for inputting to said on-chip condition sensor control information which causes said on-chip condition sensor to assume a selected one of a plurality of sensing configurations; wherein said on-chip condition sensor includes sensor circuits responsive to particular internal conditions of said electronic processor, and a counter connectable to said sensor circuits, said serial scan circuit being interconnected with said counter for loading said counter from said host computer with a value indicative of a predetermined count to which said condition sensor is thereby made sensitive.
-
-
12. A method of performing real time monitoring of the operations of an electronic processor fabricated on a semiconductor chip, comprising the steps of:
-
providing a host computer having an operating speed which is lower than a real time operating speed of the electronic processor; providing the electronic processor with an on-chip condition sensor for sensing real time operating conditions of said electronic processor; loading the on-chip condition sensor from the host computer with information at said lower speed of the host computer to establish a desired sensing function to be executed by the on-chip condition sensor; performing the desired sensing function in real time using the on-chip condition sensor, including the step of detecting whether a predetermined condition occurs during real time operation of the electronic processor; and issuing a signal from the on-chip condition sensor to the electronic processor upon detection of the predetermined condition to make the electronic processor stop upon detection of the predetermined condition; wherein the desired sensing function includes counting occurrences of selected conditions of the electronic processor and producing a signal when a predetermined count is reached.
-
-
13. A method of monitoring operations of a data processing device having an electronic processor fabricated on a semiconductor chip, the method comprising the steps of:
-
providing a program counter for holding an address of an instruction being processed by the electronic processor; providing a program counter trace stack on chip; identifying, during real time operation of said electronic processor, each instance wherein a pair of successive program counter addresses defines a discontinuity in execution by said electronic processor, and pushing both of said successive program counter addresses onto the program counter trace stack whenever a discontinuity occurs; and transferring the contents of the program counter trace stack by serial scan-out to a host computer at a scan rate which is compatible with the speed of the host computer for monitoring purposes and slower than the real time speed of the electronic processor.
-
-
14. An electronic system comprising:
-
a data processing device including a semiconductor chip and an electronic processor on-chip, said electronic processor including a program counter for holding an address of an instruction being processed by said electronic processor; a host computer off-chip and coupled to said data processing device, said host computer having a speed of operation which is slower than said electronic processor; and said data processing device further comprising an on-chip trace stack, means for pushing onto said trace stack all pairs of successive program counter addresses that define a discontinuity in execution by said electronic processor, and a stack-full signaling circuit having an input connected to said trace stack. - View Dependent Claims (15, 16, 17, 18)
-
Specification