Method for event-related functional testing of a microprocessor
First Claim
1. A method for performing functional testing upon a microprocessor, comprising:
- providing a model of the microprocessor adapted to perform an activity of interest and to respond to a control signal, and wherein the activity of interest occurs over a plurality of clock cycles;
producing a trigger event signal from the microprocessor model prior to initiating performance of the activity of interest;
using the trigger event signal to generate the control signal during one of the plurality of clock cycles such that the microprocessor model responds to the control signal;
comparing a test result produced during the activity of interest to an expected result;
repeating the producing, using, and comparing steps until the microprocessor model has responded to the control signal during each of the plurality of clock cycles occurring during the activity of interest; and
verifying proper operation of the microprocessor during the activity of interest by matching the test result to the expected result during each execution of the comparing step.
1 Assignment
0 Petitions
Accused Products
Abstract
A method is presented for event-related functional testing of a microprocessor. A model of the microprocessor is adapted to produce a trigger event, perform a target activity, and respond to a control signal. The target activity occurs over several system clock signal cycles. A control signal generator receives the trigger event and generates the control signal a selectable number of clock cycles (i.e., a delay time) after the trigger event. A testing program includes a program loop which causes the microprocessor model to produce the trigger event, perform the target activity to produce a test result, and compare the test result to an expected result. The program loop is repeatedly executed until the microprocessor model responds to the control signal during each clock cycle of the target activity. If the test result matches the expected result during each execution of the program loop, the microprocessor properly responds to the control signal during the target activity. The microprocessor model may be a software or hardware implementation. Software embodiments of a bus model, a memory model, and a test engine provide an operating environment for the microprocessor model. A microprocessor testing system includes a central processing unit (CPU), chip set logic, a system bus, a memory bus, and a memory unit. In a first embodiment of the testing system, the microprocessor model, the bus model, the memory model, and the test engine reside within the memory unit. In a second embodiment, the microprocessor model is a separate hardware implementation.
-
Citations
31 Claims
-
1. A method for performing functional testing upon a microprocessor, comprising:
-
providing a model of the microprocessor adapted to perform an activity of interest and to respond to a control signal, and wherein the activity of interest occurs over a plurality of clock cycles; producing a trigger event signal from the microprocessor model prior to initiating performance of the activity of interest; using the trigger event signal to generate the control signal during one of the plurality of clock cycles such that the microprocessor model responds to the control signal; comparing a test result produced during the activity of interest to an expected result; repeating the producing, using, and comparing steps until the microprocessor model has responded to the control signal during each of the plurality of clock cycles occurring during the activity of interest; and verifying proper operation of the microprocessor during the activity of interest by matching the test result to the expected result during each execution of the comparing step. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of performing functional testing upon a microprocessor, comprising:
-
providing a model of the microprocessor, wherein the microprocessor model is coupled to receive a control signal, and wherein the microprocessor model is configured to produce a trigger event signal, to perform an activity of interest, and to respond to the control signal, and wherein the activity of interest occurs over a plurality of clock cycles; providing a control signal generator, wherein the control signal generator is coupled to receive the trigger event signal and is configured to generate the control signal in response to the trigger event signal; and initiating execution of a testing program by the microprocessor model, wherein the testing program includes a program loop which causes the microprocessor model to produce the trigger event signal, to perform the activity of interest in order to produce a test result, and to compare the test result to an expected result, and wherein the program loop is repeatedly executed as long as the test result matches the expected result and until the microprocessor model responds to the control signal during each of the plurality of clock cycles of the activity of interest, and wherein successful completion of the testing program demonstrates proper operation of the microprocessor when responding to the control signal while performing the activity of interest. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A method of performing functional testing upon a microprocessor, comprising:
-
providing a model of the microprocessor, wherein the microprocessor model is coupled to receive a control signal, and wherein the microprocessor model is configured to produce a trigger event signal, to perform an activity of interest, and to respond to the control signal, and wherein the activity of interest occurs over a plurality of clock cycles; providing a control signal generator, wherein the control signal generator is coupled to receive the trigger event signal and is configurable to generate the control signal a selectable delay time after-receiving the trigger event signal, and wherein the delay time is measured in clock cycles; determining an initial value of the delay time such that the control signal generator will produce the control signal during the first of the plurality of clock cycles; configuring the control signal generator to generate the control signal the delay time after receiving the trigger event signal; producing the trigger event signal from the microprocessor model prior to initiating performance of the activity of interest in order to produce a test result; comparing the test result to an expected result; incrementing the delay time and repeating the configuring, producing, and comparing steps if the test result matches the expected result and until the microprocessor model responds to the control signal during each of the plurality of clock cycles of the activity of interest; and verifying proper operation of the microprocessor while performing the activity of interest if the test result matches the expected result during each execution of the comparing step. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31)
-
Specification