Patent US2045690A successfully refreshed from Google Patents.
Patent US4811345A successfully refreshed from Google Patents.
← Back to Patent Explorer
US4811345A Expired / Lapsed US ⏱️ 0.0 years remaining

Methods and apparatus for providing a user oriented microprocessor test interface for a complex, single chip, general purpose central processing unit

Assignee: GlobalFoundries Inc
•
Filing: 1986-12-16
•
Granted: 1989-03-07
•
Expires: 2006-12-16
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract Methods and apparatus are disclosed that facilitate the testing and development of computer systems that include at least one single chip microprocessor. In particular, a parallel test interface is described that allows an external test unit to (1) directly load instructions into the microprocessor under test utilizing the existing bus structure of the computer system; (2) step the processor through preselected test instruction sequences; (3) monitor processor states in both the processor's test and normal execution modes; and (4) halt and resume normal instruction processing. According to the invention, the microprocessor test interface comprises a plurality of dedicated CPU status output pins and a plurality of dedicated CPU control input pins, used by the test unit in combination with the existing bus structure of the computer system to provide the desired test facility for the single chip microprocessor. The preferred embodiment of the invention is realized in a RISC environment where the instruction lengths are fixed and the instruction processor has a single cycle execution time. Such an embodiment facilitates the direct insertion of instructions by the tester into the processor for decoding, without having to queue instructions or pass through complicated intervening hardware or test logic.

Inventors

  • 👤 William M. Johnson

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-25 13:50
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/22; G06F11/2205; G06F11/2236; G06F11/26; G06F11/273; G06F11/2733

Claims Analysis

Total Claims: 38
Claim 1
Independent Claim 166 words
A parallel test interface for coupling a single chip microprocessor (CPU), included in a reduced instruction set computer (RISC) system, to an external test unit, wherein the parallel interface and test unit combination are designed for debugging the CPU hardware and associated software, comprising; (a) means for enabling said test unit to monitor said CPU to determine which of a plurality of processing modes said CPU is in; (b) means for enabling said test unit to signal said CPU to enter specified ones of said processing modes; (c) means for coupling said test unit to the instruction bus of said RISC system to thereby enable said unit to place instructions directly onto said bus; and (d) means for coupling said test unit to the data bus of said RISC system to thereby enable said unit to place data directly onto and take data directly off of said data bus, whereby the test unit/parallel interface combination may be used to debug the CPU hardware and associated software.
Claim 2
Dependent Claim 166 words
A parallel test interface for coupling a single chip microprocessor (CPU), included in a reduced instruction set computer (RISC) system, to an external test unit, wherein the parallel interface and test unit combination are designed for debugging the CPU hardware and associated software, comprising; (a) means for enabling said test unit to monitor said CPU to determine which of a plurality of processing modes said CPU is in; (b) means for enabling said test unit to signal said CPU to enter specified ones of said processing modes; (c) means for coupling said test unit to the instruction bus of said RISC system to thereby enable said unit to place instructions directly onto said bus; and (d) means for coupling said test unit to the data bus of said RISC system to thereby enable said unit to place data directly onto and take data directly off of said data bus, whereby the test unit/parallel interface combination may be used to debug the CPU hardware and associated software.
Claim 3
Dependent Claim 34 words
A parallel test interface as set forth in claim 1 wherein said means for enabling said test unit to monitor is comprised of a plurality of dedicated CPU status output pins on said chip.
Claim 4
Dependent Claim 34 words
A parallel test interface as set forth in claim 2 wherein said means for enabling said test unit to signal is comprised of a plurality of dedicated CPU control input pins on said chip.
Claim 5
Dependent Claim 55 words
A parallel test interface as set forth in claim 3 wherein preselected code signals placed on said CPU control input pins, by said test unit, cause said processor to execute and make available, to said test unit, the results of executing at least one test instruction placed onto said instruction bus by said test unit.
Claim 6
Dependent Claim 50 words
A parallel test interface as set forth in claim 4 wherein said plurality of processor modes include a processor HALT, STEP and LOAD INSTRUCTION REGISTER mode, each of which modes may be entered by said test unit applying one of said preselected code signals to said CPU control input pins.
Claim 7
Dependent Claim 37 words
A parallel test interface as set forth in claim 5 which further includes means for enabling said test unit to communicate a reset signal to said processor to cause said processor to enter a predefined reset state.
Claim 8
Dependent Claim 34 words
A parallel test interface as set forth in claim 6 wherein said means for enabling said test unit to communicate a reset signal is comprised of a dedicated CPU reset pin on said chip.
Claim 9
Dependent Claim 28 words
A parallel test interface as set forth in claim 7 wherein said plurality of processor modes includes a RESET mode entered whenever said CPU reset pin is asserted.
Claim 10
Dependent Claim 30 words
A parallel test interface as set forth in claim 8 which further includes means for enabling said test unit to drive the outputs of said processor to a high-impedance state.
Claim 11
Dependent Claim 31 words
A parallel test interface as set forth in claim 9 wherein said means for enabling said test unit to drive is comprised of a dedicated CPU test pin on said chip.
Claim 12
Dependent Claim 26 words
A parallel test interface as set forth in claim 10 wherein said test pin provides a means for disabling processor outputs to facilitate master/slave fault detection.
Claim 13
Dependent Claim 31 words
A parallel test interface as set forth in claim 11 wherein said plurality of processor modes include a processor TEST mode which is entered whenever said CPU test pin is asserted.
Claim 14
Dependent Claim 37 words
A parallel test interface as set forth in claim 12 wherein said plurality of processor modes includes a processor EXECUTING, WAIT and PIPELINE HOLD mode, each of which may be monitored via said CPU status output pins.
Claim 15
Dependent Claim 34 words
A parallel test interface as set forth in claim 13 wherein said EXECUTING mode may be entered by said test unit applying one of said preselected code signals to said CPU control input pins.
Claim 16
Dependent Claim 19 words
A parallel test interface as set forth in claim 14 which is asynchronous with respect to the computer system.
Claim 17
Dependent Claim 174 words
A parallel test interface for coupling a single chip microprocessor (CPU) included in a reduced instruction set computer (RISC) system, to an external test unit, wherein said computer system includes an instruction bus and a data bus which couple said processor to the memory of said computer system, and further wherein PG,30 the parallel interface and test unit combination are designed for debugging the CPU hardware and associated software, of said computer system, comprising: (a) means for supplying a preselected test instruction sequence specified by said test unit to said processor via said instruction bus; (b) means for enabling said test unit to store data into and retrieve data from said computer system via said data bus; (c) means for enabling said test unit to signal said processor to step through said preselected test sequence; and (d) means for communicating signals from said processor to said test unit, which enable said test unit to monitor said processor state, whereby test unit/parallel interface combination may be sued to debug the CPU hardware and associated software.
Claim 18
Dependent Claim 174 words
A parallel test interface for coupling a single chip microprocessor (CPU) included in a reduced instruction set computer (RISC) system, to an external test unit, wherein said computer system includes an instruction bus and a data bus which couple said processor to the memory of said computer system, and further wherein PG,30 the parallel interface and test unit combination are designed for debugging the CPU hardware and associated software, of said computer system, comprising: (a) means for supplying a preselected test instruction sequence specified by said test unit to said processor via said instruction bus; (b) means for enabling said test unit to store data into and retrieve data from said computer system via said data bus; (c) means for enabling said test unit to signal said processor to step through said preselected test sequence; and (d) means for communicating signals from said processor to said test unit, which enable said test unit to monitor said processor state, whereby test unit/parallel interface combination may be sued to debug the CPU hardware and associated software.
Claim 19
Dependent Claim 27 words
A parallel test interface as set forth in claim 16 which further includes means for enabling said test unit to signal said processor to halt instruction processing.
Claim 20
Dependent Claim 27 words
A parallel test interface as set forth in claim 16 which further includes means for enabling said test unit to signal said processor to resume instruction processing.
Claim 21
Dependent Claim 18 words
A parallel test as set forth in claim 16 which operates asynchronously with respect to said computer system.
Claim 22
Dependent Claim 37 words
A parallel test interface as set forth in claim 16 which further includes means for enabling said test unit to communicate a reset signal to said processor to cause said processor to enter a predefined reset state.
Claim 23
Dependent Claim 30 words
A parallel test interface as set forth in claim 16 which further includes means for enabling said test unit to drive the outputs of said processor to a high-impedance state.
Claim 24
Independent Claim 164 words
A method for performing hardware and software testing of a single chip microprocessor (CPU), included in a reduced instruction set computer (RISC) system via, an external test unit coupled to said chip over a parallel test interface, comprising the steps of: (a) monitoring said CPU via said test unit, over said interface, to determine which of a plurality of processing modes said CPU is in; (b) signalling said CPU, via said test unit, over said interface, to direct said CPU to enter a specified one of said processing modes; (c) coupling said test unit to the instruction bus of said RISC system to thereby enable said unit to place instructions directly onto said bus; and (d) coupling said test unit to the data bus of said RISC system to thereby enable said unit to place data directly onto and take data directly off of said data bus, whereby the test unit/parallel interface combination may be used to debug the CPU hardware and associated software.
Claim 25
Independent Claim 164 words
A method for performing hardware and software testing of a single chip microprocessor (CPU), included in a reduced instruction set computer (RISC) system via, an external test unit coupled to said chip over a parallel test interface, comprising the steps of: (a) monitoring said CPU via said test unit, over said interface, to determine which of a plurality of processing modes said CPU is in; (b) signalling said CPU, via said test unit, over said interface, to direct said CPU to enter a specified one of said processing modes; (c) coupling said test unit to the instruction bus of said RISC system to thereby enable said unit to place instructions directly onto said bus; and (d) coupling said test unit to the data bus of said RISC system to thereby enable said unit to place data directly onto and take data directly off of said data bus, whereby the test unit/parallel interface combination may be used to debug the CPU hardware and associated software.
Claim 26
Dependent Claim 30 words
A method for testing as set forth in claim 22 further comprising the step of placing a test instruction onto said instruction bus via the aforesaid test unit/instruction bus coupling.
Claim 27
Dependent Claim 38 words
A method for testing as set forth in claim 23 further comprising the step of inputting preselected code signals to said CPU via said test unit, over said interface, which causes said processor to execute said test instruction.
Claim 28
Dependent Claim 36 words
A method for testing as set forth in claim 24 further comprising the step of outputting the condition of predetermined processor registers to said test unit over said interface, following the execution of said test instruction.
Claim 29
Dependent Claim 40 words
A method for testing as set forth in claim 22 which further comprises the step of communicating a reset signal via said test unit, over said interface, to said processor to cause said processor to enter a predefined reset state.
Claim 30
Dependent Claim 45 words
A method for testing as set forth in claim 22 which further comprises the step of driving the outputs of said processor to a high-impedance state in response to a test mode signal being communicated by said test unit, to said CPU, over said interface.
Claim 31
Dependent Claim 20 words
A method for testing as set forth in claim 22 which is performed asynchronously with respect to said computer system.
Claim 32
Independent Claim 151 words
A method for performing hardware an software testing of a single chip microprocessor (CPU), included in a reduced instruction set computer (RISC) system, via and external test unit coupled to said chip over a parallel test interface, wherein said computer system includes an instruction bus and a data bus which couple said processor to the memory of said computer system, comprising the steps of: (a) supplying a preselected test instruction sequence, specified by said test unit, to said processor via said instruction bus; (b) enabling said test unit to store data into and retrieve data from said computer system via said data bus; (c) signalling said processor, via said test unit, over said interface, to step through said preselected test sequence and (d) monitoring said processor state via said test unit, over said interface, whereby the test unit/parallel interface combination may be used to debug the CPU hardware and associate software.
Claim 33
Independent Claim 151 words
A method for performing hardware an software testing of a single chip microprocessor (CPU), included in a reduced instruction set computer (RISC) system, via and external test unit coupled to said chip over a parallel test interface, wherein said computer system includes an instruction bus and a data bus which couple said processor to the memory of said computer system, comprising the steps of: (a) supplying a preselected test instruction sequence, specified by said test unit, to said processor via said instruction bus; (b) enabling said test unit to store data into and retrieve data from said computer system via said data bus; (c) signalling said processor, via said test unit, over said interface, to step through said preselected test sequence and (d) monitoring said processor state via said test unit, over said interface, whereby the test unit/parallel interface combination may be used to debug the CPU hardware and associate software.
Claim 34
Dependent Claim 37 words
A method for testing set forth in claim 29 which further comprises the step of utilizing said test unit to signal said processor to halt instruction processing wherein said signal to halt is carried via said interface.
Claim 35
Dependent Claim 39 words
A method for testing as set forth in claim 29 which further comprises the step of utilizing said test unit to signal said processor to resume instruction processing wherein said signal to resume processing is carried via said interface.
Claim 36
Dependent Claim 20 words
A method for testing as set forth in claim 29 which is performed asynchronously with respect to said computer system.
Claim 37
Dependent Claim 47 words
A method for testing as set forth in claim 29 which further comprises the step of utilizing said test unit to communicate a reset signal to said processor, to cause said processor to enter a predefined reset state, wherein said reset signal is carried over said interface.
Claim 38
Dependent Claim 49 words
A method for testing as set forth in claim 29 which further comprises the step of utilizing said test unit to drive the outputs of said processor to a high-impedance state in response to a test mode signal communicated from said test unit to said CPU over said interface.

References Cited (Backward Citations)

US3999053A Cited
US4180203A Cited
US4224690A Cited
US4312066A Cited
US4500993A Cited
US4520440A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1992-03-06 1992-09-05 1993-03-07 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 1996-03-06 1996-09-05 1997-03-07 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2000-03-06 2000-09-05 2001-03-07 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag