US20130191689A1 - Functional testing of a processor design - Google Patents
Functional testing of a processor design Download PDFInfo
- Publication number
- US20130191689A1 US20130191689A1 US13/355,004 US201213355004A US2013191689A1 US 20130191689 A1 US20130191689 A1 US 20130191689A1 US 201213355004 A US201213355004 A US 201213355004A US 2013191689 A1 US2013191689 A1 US 2013191689A1
- Authority
- US
- United States
- Prior art keywords
- test
- instruction
- processor
- event
- injecting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2236—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
Definitions
- the present invention relates to testing of integrated circuits, and more specifically, to pre-silicon functional testing of processors.
- Pre-silicon functional testing of a processor may be accomplished by supplying test templates from a library into an automated testcase generation tool which produces assembly level instruction sequences from the templates.
- These templates may include certain mandatory functions configured to exercise certain architectural and microarchitectural functions within the microprocessor.
- the libraries of templates are established where each template in the library is targeted to testing one or more selected characteristic or feature of the processor via simulation.
- each template in the library is targeted to testing one or more selected characteristic or feature of the processor via simulation.
- Manually adding the capability for testing a selected feature or characteristic to each template in a library would be inefficient and time consuming.
- a computer program product for functional testing of a processor design includes a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method.
- the method performed includes accessing a test template from a library of test templates, wherein the test template is configured to test a first selected function of the processor and inputting the test template to an automated test generation tool executed by a computer.
- the method further includes generating an instruction sequence based on the test template by the automated test generation tool and injecting an event instruction to the instruction sequence during the generating of the instruction sequence by the automated test generation tool, the injecting of the event instruction preserving testing of the first selected function of the processor and the event instruction being configured to test a second selected function of the processor.
- the method also includes verifying a function of the processor by analyzing responses of the processor to the instruction sequence.
- a computer implemented method for functional testing of a processor design includes accessing a test template from a library of test templates, wherein the test template is configured to test a first selected function of the processor and inputting the test template to an automated test generation tool executed by a computer.
- the method further includes generating an instruction sequence based on the test template by the automated test generation tool and injecting an event instruction to the instruction sequence during the generating of the instruction sequence by the automated test generation tool, the injecting of the event instruction preserving testing of the first selected function of the processor and the event instruction being configured to test a second selected function of the processor.
- the method also includes verifying a function of the processor by analyzing responses of the processor to the instruction sequence.
- FIG. 1 illustrates a diagram of a test system according to an embodiment of the present invention
- FIG. 2 illustrates a block diagram of a system for generating test instruction sequences to verify integrated circuit designs in accordance with an embodiment of the present invention
- FIG. 3 illustrates diagram of a process performed by a computer for generating test instruction sequences to verify integrated circuit designs in accordance with an embodiment of the present invention
- FIG. 4 illustrates an example of a computer program product on a computer readable/usable medium with computer program code logic embodied in tangible media as an article of manufacture
- Embodiments provide a method and system for pre-silicon functional verification testing of processors.
- An existing library of test templates may be used by a test case generator to generate an instruction sequence to test a set of selected mandatory processor functions or properties.
- the library may include a thousand or more test templates that are established and static (i.e., cannot be easily modified) templates configured to test the selected mandatory functions.
- Embodiments described herein provide a method and system to add testing functionality and flexibility to instruction sequences generated from the library of fixed or static test templates. The newly tested function is added to the functions that are specified by the test templates as mandatory functions to be tested by the sequence.
- a test engineer creates an event instruction that is configured to enhance testing of a selected function or feature of the processor.
- a control module and test case generator inject the event instruction into the instruction sequence generated by the test case generator.
- the selected function tested by the event instruction may be a new feature or other property of the processor that is to be evaluated prior to manufacturing the processor.
- the event instruction is injected into the instruction sequence while preserving testing of a mandatory set of functions or features, as specified by the test template.
- test template while writing a test template, an engineer often specifies the mandatory requirements, often corresponding to features or characteristics, which are to be preserved by the test case generator tool. However, it may be a best practice to allow many of the details to be non-mandatory allowing both randomization and architectural feasibility by the test case generator tool. For example, to generate a test instruction sequence that includes a scenario of Load-Hits-Store, a test template specifies that any Store instruction is to be followed by any Load instruction, with selected number of allowed filler instructions in between. It is left to the generator to select the filler instructions as well the architectural resources used by the Load and Store instructions (e.g., registers, storage addresses, control registers, translation resources, etc).
- architectural resources used by the Load and Store instructions e.g., registers, storage addresses, control registers, translation resources, etc.
- the choices for filler instructions are not completely random but are a function of current architectural state (e.g., translation is on/off, exceptions filtering on/off, addressing mode, etc) when the choice is made. Therefore, the randomness of these states may be highly subject to the nature of the template as well as the limited legal choices which can be made by the generator.
- a method and system are provided for adding functional testing capabilities to existing templates by injecting selected event instructions as the “filler instructions” within the test case generator tool.
- the test system 100 includes a processor simulation 102 (also referred to as “design” or “model”), a host system 104 and a test instruction sequence 106 in communication with one another via a suitable arrangement or method, such as circuits, buses, and/or networks 108 and 110 .
- the host system 104 may be a computer system with suitable hardware and software for performing the functions described herein.
- the host system 104 may include a processor and memory that host a processor design and simulation software program, such as VHDL, where the processor design being tested (“unit under test” or “UUT”) is a simulation performed by the the program.
- test routine or test sequence may be generated by the method described herein, wherein a test template specifies selected features or mandatory functions to be tested. Accordingly, the design is tested and verified before manufacturing takes place to save costs and shorten product development time.
- FIG. 2 is a block diagram of an exemplary system 200 for generating test instruction sequences to verify integrated circuit designs, such as microprocessor designs.
- An event repository 202 is a library or set of event instructions (also referred to as “events”) that are composed by a verification engineer.
- the event repository 202 is in communication with a control system 204 that accesses test templates from a library of test templates 206 .
- the control system 204 and/or test case generator 208 access the library of test templates 206 and event repository 202 to produce a test instruction sequence 210 .
- the test case generator 208 generates additional information, such as a test case for a UUT that contains inputs, including the instructions (also called “stimulus”), intermediate test results that check for each instruction executed, and final results that are checked or verified
- the event repository 202 may include event instructions configured to achieve a plurality of functions and verify selected characteristics. For example one set of event instructions is configured to enable test templates (or test scenarios) to have an improved ability to generate testcases. In an embodiment, when all the general purpose registers have been allocated then a register reloading event instruction could be injected to allow the generator to move a value into a register for the formation of the Load or Store address. In another embodiment, a set of event instructions are meant to richen test templates with certain micro-architecturally interesting events. These events can be a function of the current state of the integrated circuit design under test. The event instructions of the event repository 202 may be grouped and organized in any suitable fashion.
- control system 204 is implemented via control statements within the test templates themselves. These control statements may define portions of the test templates where the test instruction sequence can be modified by events and block where the instruction sequence cannot be changed.
- control statements of the control system 204 can have a granularity or a threshold as to which event instructions are allowed or prevented in selected test template blocks based upon selected groupings, characteristics or categories. Such characteristics include but are not limited to disruptiveness, nature of the event, resource consumption, and those as described above.
- Control statements may also be directed to preserving mandatory testing requirements for a test template, which may involve restricting performance or injection of selected event instructions. Further, control statements may restrict injection of the event instruction into portions of the sequence or the entire sequence.
- the control statements may specify that certain event instructions are incompatable with selected test templates.
- selected test templates can have a control statement that prevents adding event instructions based on a selected characteristic, such as an event's disruptiveness or resource consumption.
- the event repository 202 may be organized by selected characteristics, where a control statement in the test template allows selection of the event instruction based on one or more of the selected characteristics.
- the control system 204 and control statements may exist outside the test templates, such as within the events themselves.
- FIG. 3 is a flow chart of an exemplary method 300 for generating a functional test instruction sequence for a simulated processor design.
- a test template is accessed from a library of templates.
- the library may include a plurality of established and static test templates, where each template is configured to verify selected functions or characteristics of a unit under test (UUT).
- UUT is a model or simulated design of an integrated circuit, such as a microprocessor.
- a program running on a computer such as host system 104 ( FIG. 1 ) accesses the template from the library.
- the blocks of the method 300 may be performed by any suitable system, such as the test system 100 shown in FIG. 1 .
- the test template is input into an automated test generation tool (e.g., test case generator 208 ), where the tool is configured to generate a test sequence based on the template.
- an event instruction is accessed from the event repository, where the event instruction is configured to improve generation of test sequences or enhance test sequence coverage by injecting or adding selected interesting events to the sequence.
- one or more event instruction accessed from the event repository is injected to the test instruction sequence by the automated test generation tool during generation of the test instruction sequence.
- the resulting test instruction sequence provides testing and verification of selected mandatory functions or features of the UUT (as required by the static test template) while also providing enhanced test coverage with the injected event instruction sequence.
- the test instruction sequence, including the injected event instruction is performed to verify and test functionality of the processor design under test. In embodiments, the responses of the processor to the sequence are analyzed to verify that the processor design is functioning properly.
- An embodiment may include a computer program product 400 as depicted in FIG. 4 on a computer readable/usable medium 402 with computer program code logic 404 containing instructions embodied in tangible media as an article of manufacture.
- Exemplary articles of manufacture for computer readable/usable medium 402 may include floppy diskettes, CD-ROMs, hard drives, universal serial bus (USB) flash drives, or any other computer-readable storage medium, wherein, when the computer program code logic 404 is loaded into and executed by a computer, the computer becomes an apparatus for practicing the invention.
- Embodiments include computer program code logic 404 , for example, whether stored in a storage medium, loaded into and/or executed by a computer, or transmitted over some transmission medium, such as over electrical wiring or cabling, through fiber optics, or via electromagnetic radiation, wherein, when the computer program code logic 404 is loaded into and executed by a computer, the computer becomes an apparatus for practicing the invention.
- the computer program code logic 404 segments configure the microprocessor to create specific logic circuits.
- the one or more injected event instruction verifies one or more feature or function that is different than the functions specified for testing by the test template.
- the depicted embodiment provides flexibility for altering tests performed on a UUT (e.g., simulated microprocessor).
- the library of test templates remain unchanged as the functionality of the injected event instructions are added to the testing capabilities.
- the library of static test templates are used for testing several different device designs, where the only changes to the test instruction sequences to accommodate different designs are provided by the injected event instructions as described above. Accordingly, the test templates have improved portability due to the arrangement described herein.
- Embodiments provide a method and system for functional verification testing of processor designs.
- An existing library of test templates may be used by a test case generator to generate an instruction sequence to test a set of selected mandatory processor functions or properties.
- Embodiments described herein add testing functionality to instruction sequences from the established library of fixed test templates.
- aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
- the computer readable medium may be a computer readable signal medium or a computer readable storage medium.
- a computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing.
- a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof.
- a computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
- Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- LAN local area network
- WAN wide area network
- Internet Service Provider for example, AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
- These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
- the computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s).
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
Description
- The present invention relates to testing of integrated circuits, and more specifically, to pre-silicon functional testing of processors.
- Pre-silicon functional testing of a processor, such as a microprocessor, may be accomplished by supplying test templates from a library into an automated testcase generation tool which produces assembly level instruction sequences from the templates. These templates may include certain mandatory functions configured to exercise certain architectural and microarchitectural functions within the microprocessor.
- The libraries of templates are established where each template in the library is targeted to testing one or more selected characteristic or feature of the processor via simulation. When a new feature or attribute is added to the processor, it is desirable for a test engineer to test the new feature in addition to the existing tests performed by the established templates in the library. Manually adding the capability for testing a selected feature or characteristic to each template in a library would be inefficient and time consuming.
- According to exemplary embodiments, a computer program product for functional testing of a processor design is provided that includes a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method. The method performed includes accessing a test template from a library of test templates, wherein the test template is configured to test a first selected function of the processor and inputting the test template to an automated test generation tool executed by a computer. The method further includes generating an instruction sequence based on the test template by the automated test generation tool and injecting an event instruction to the instruction sequence during the generating of the instruction sequence by the automated test generation tool, the injecting of the event instruction preserving testing of the first selected function of the processor and the event instruction being configured to test a second selected function of the processor. The method also includes verifying a function of the processor by analyzing responses of the processor to the instruction sequence.
- According to further exemplary embodiments, a computer implemented method for functional testing of a processor design includes accessing a test template from a library of test templates, wherein the test template is configured to test a first selected function of the processor and inputting the test template to an automated test generation tool executed by a computer. The method further includes generating an instruction sequence based on the test template by the automated test generation tool and injecting an event instruction to the instruction sequence during the generating of the instruction sequence by the automated test generation tool, the injecting of the event instruction preserving testing of the first selected function of the processor and the event instruction being configured to test a second selected function of the processor. The method also includes verifying a function of the processor by analyzing responses of the processor to the instruction sequence.
- Additional features and advantages are realized through the techniques of the present invention. Other embodiments and aspects of the invention are described in detail herein and are considered a part of the claimed invention. For a better understanding of the invention with the advantages and the features, refer to the description and to the drawings.
- The subject matter which is regarded as the invention is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The forgoing and other features, and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
-
FIG. 1 illustrates a diagram of a test system according to an embodiment of the present invention; -
FIG. 2 illustrates a block diagram of a system for generating test instruction sequences to verify integrated circuit designs in accordance with an embodiment of the present invention; -
FIG. 3 illustrates diagram of a process performed by a computer for generating test instruction sequences to verify integrated circuit designs in accordance with an embodiment of the present invention; and -
FIG. 4 illustrates an example of a computer program product on a computer readable/usable medium with computer program code logic embodied in tangible media as an article of manufacture - Embodiments provide a method and system for pre-silicon functional verification testing of processors. An existing library of test templates may be used by a test case generator to generate an instruction sequence to test a set of selected mandatory processor functions or properties. The library may include a thousand or more test templates that are established and static (i.e., cannot be easily modified) templates configured to test the selected mandatory functions. Embodiments described herein provide a method and system to add testing functionality and flexibility to instruction sequences generated from the library of fixed or static test templates. The newly tested function is added to the functions that are specified by the test templates as mandatory functions to be tested by the sequence. In an embodiment, a test engineer creates an event instruction that is configured to enhance testing of a selected function or feature of the processor. A control module and test case generator inject the event instruction into the instruction sequence generated by the test case generator. The selected function tested by the event instruction may be a new feature or other property of the processor that is to be evaluated prior to manufacturing the processor. The event instruction is injected into the instruction sequence while preserving testing of a mandatory set of functions or features, as specified by the test template.
- In an embodiment, while writing a test template, an engineer often specifies the mandatory requirements, often corresponding to features or characteristics, which are to be preserved by the test case generator tool. However, it may be a best practice to allow many of the details to be non-mandatory allowing both randomization and architectural feasibility by the test case generator tool. For example, to generate a test instruction sequence that includes a scenario of Load-Hits-Store, a test template specifies that any Store instruction is to be followed by any Load instruction, with selected number of allowed filler instructions in between. It is left to the generator to select the filler instructions as well the architectural resources used by the Load and Store instructions (e.g., registers, storage addresses, control registers, translation resources, etc). Most often, the choices for filler instructions are not completely random but are a function of current architectural state (e.g., translation is on/off, exceptions filtering on/off, addressing mode, etc) when the choice is made. Therefore, the randomness of these states may be highly subject to the nature of the template as well as the limited legal choices which can be made by the generator. In an embodiment, a method and system are provided for adding functional testing capabilities to existing templates by injecting selected event instructions as the “filler instructions” within the test case generator tool.
- With reference now to
FIG. 1 , anexemplary test system 100 upon which the pre-silicon functional testing of a processor design may be implemented is shown. Thetest system 100 includes a processor simulation 102 (also referred to as “design” or “model”), ahost system 104 and atest instruction sequence 106 in communication with one another via a suitable arrangement or method, such as circuits, buses, and/or 108 and 110. Thenetworks host system 104 may be a computer system with suitable hardware and software for performing the functions described herein. For example, thehost system 104 may include a processor and memory that host a processor design and simulation software program, such as VHDL, where the processor design being tested (“unit under test” or “UUT”) is a simulation performed by the the program. Features and specifications of the processor design may be tested by a test routine or test sequence that is performed on the simulated processor. The test sequence may be generated by the method described herein, wherein a test template specifies selected features or mandatory functions to be tested. Accordingly, the design is tested and verified before manufacturing takes place to save costs and shorten product development time. -
FIG. 2 is a block diagram of anexemplary system 200 for generating test instruction sequences to verify integrated circuit designs, such as microprocessor designs. Anevent repository 202 is a library or set of event instructions (also referred to as “events”) that are composed by a verification engineer. Theevent repository 202 is in communication with acontrol system 204 that accesses test templates from a library oftest templates 206. Thecontrol system 204 and/ortest case generator 208 access the library oftest templates 206 andevent repository 202 to produce atest instruction sequence 210. In an embodiment, thetest case generator 208 generates additional information, such as a test case for a UUT that contains inputs, including the instructions (also called “stimulus”), intermediate test results that check for each instruction executed, and final results that are checked or verified - The
event repository 202 may include event instructions configured to achieve a plurality of functions and verify selected characteristics. For example one set of event instructions is configured to enable test templates (or test scenarios) to have an improved ability to generate testcases. In an embodiment, when all the general purpose registers have been allocated then a register reloading event instruction could be injected to allow the generator to move a value into a register for the formation of the Load or Store address. In another embodiment, a set of event instructions are meant to richen test templates with certain micro-architecturally interesting events. These events can be a function of the current state of the integrated circuit design under test. The event instructions of theevent repository 202 may be grouped and organized in any suitable fashion. For example, event instructions which may significantly create disruptiveness to a microprocessor's pipeline could be identified such that they are prevented from being injected to selected test sequences by thecontrol system 204. In an embodiment, thecontrol system 204 is implemented via control statements within the test templates themselves. These control statements may define portions of the test templates where the test instruction sequence can be modified by events and block where the instruction sequence cannot be changed. In addition, the control statements of thecontrol system 204 can have a granularity or a threshold as to which event instructions are allowed or prevented in selected test template blocks based upon selected groupings, characteristics or categories. Such characteristics include but are not limited to disruptiveness, nature of the event, resource consumption, and those as described above. Control statements may also be directed to preserving mandatory testing requirements for a test template, which may involve restricting performance or injection of selected event instructions. Further, control statements may restrict injection of the event instruction into portions of the sequence or the entire sequence. The control statements may specify that certain event instructions are incompatable with selected test templates. Specifically, selected test templates can have a control statement that prevents adding event instructions based on a selected characteristic, such as an event's disruptiveness or resource consumption. Thus, theevent repository 202 may be organized by selected characteristics, where a control statement in the test template allows selection of the event instruction based on one or more of the selected characteristics. In another embodiment, thecontrol system 204 and control statements may exist outside the test templates, such as within the events themselves. -
FIG. 3 is a flow chart of anexemplary method 300 for generating a functional test instruction sequence for a simulated processor design. Inblock 302, a test template is accessed from a library of templates. The library may include a plurality of established and static test templates, where each template is configured to verify selected functions or characteristics of a unit under test (UUT). In an embodiment, the UUT is a model or simulated design of an integrated circuit, such as a microprocessor. In embodiments, a program running on a computer, such as host system 104 (FIG. 1 ) accesses the template from the library. Further, the blocks of themethod 300 may be performed by any suitable system, such as thetest system 100 shown inFIG. 1 . Inblock 304, the test template is input into an automated test generation tool (e.g., test case generator 208), where the tool is configured to generate a test sequence based on the template. Inblock 306, an event instruction is accessed from the event repository, where the event instruction is configured to improve generation of test sequences or enhance test sequence coverage by injecting or adding selected interesting events to the sequence. Accordingly, inblock 308, one or more event instruction accessed from the event repository is injected to the test instruction sequence by the automated test generation tool during generation of the test instruction sequence. The resulting test instruction sequence provides testing and verification of selected mandatory functions or features of the UUT (as required by the static test template) while also providing enhanced test coverage with the injected event instruction sequence. Inblock 310, the test instruction sequence, including the injected event instruction, is performed to verify and test functionality of the processor design under test. In embodiments, the responses of the processor to the sequence are analyzed to verify that the processor design is functioning properly. - As described above, embodiments can be embodied in the form of computer-implemented processes and apparatuses for practicing those processes. An embodiment may include a
computer program product 400 as depicted inFIG. 4 on a computer readable/usable medium 402 with computerprogram code logic 404 containing instructions embodied in tangible media as an article of manufacture. Exemplary articles of manufacture for computer readable/usable medium 402 may include floppy diskettes, CD-ROMs, hard drives, universal serial bus (USB) flash drives, or any other computer-readable storage medium, wherein, when the computerprogram code logic 404 is loaded into and executed by a computer, the computer becomes an apparatus for practicing the invention. Embodiments include computerprogram code logic 404, for example, whether stored in a storage medium, loaded into and/or executed by a computer, or transmitted over some transmission medium, such as over electrical wiring or cabling, through fiber optics, or via electromagnetic radiation, wherein, when the computerprogram code logic 404 is loaded into and executed by a computer, the computer becomes an apparatus for practicing the invention. When implemented on a general-purpose microprocessor, the computerprogram code logic 404 segments configure the microprocessor to create specific logic circuits. - In an embodiment, the one or more injected event instruction verifies one or more feature or function that is different than the functions specified for testing by the test template. Thus, the depicted embodiment provides flexibility for altering tests performed on a UUT (e.g., simulated microprocessor). Specifically, the library of test templates remain unchanged as the functionality of the injected event instructions are added to the testing capabilities. In one embodiment, the library of static test templates are used for testing several different device designs, where the only changes to the test instruction sequences to accommodate different designs are provided by the injected event instructions as described above. Accordingly, the test templates have improved portability due to the arrangement described herein.
- Embodiments provide a method and system for functional verification testing of processor designs. An existing library of test templates may be used by a test case generator to generate an instruction sequence to test a set of selected mandatory processor functions or properties. Embodiments described herein add testing functionality to instruction sequences from the established library of fixed test templates.
- As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
- Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
- Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
- The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
- The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one more other features, integers, steps, operations, element components, and/or groups thereof.
- The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
- The flow diagrams depicted herein are just one example. There may be many variations to this diagram or the steps (or operations) described therein without departing from the spirit of the invention. For instance, the steps may be performed in a differing order or steps may be added, deleted or modified. All of these variations are considered a part of the claimed invention.
- While the preferred embodiment to the invention had been described, it will be understood that those skilled in the art, both now and in the future, may make various improvements and enhancements which fall within the scope of the claims which follow. These claims should be construed to maintain the proper protection for the invention first described.
Claims (20)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US13/355,004 US20130191689A1 (en) | 2012-01-20 | 2012-01-20 | Functional testing of a processor design |
| US14/103,988 US8918678B2 (en) | 2012-01-20 | 2013-12-12 | Functional testing of a processor design |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US13/355,004 US20130191689A1 (en) | 2012-01-20 | 2012-01-20 | Functional testing of a processor design |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/103,988 Continuation US8918678B2 (en) | 2012-01-20 | 2013-12-12 | Functional testing of a processor design |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| US20130191689A1 true US20130191689A1 (en) | 2013-07-25 |
Family
ID=48798253
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US13/355,004 Abandoned US20130191689A1 (en) | 2012-01-20 | 2012-01-20 | Functional testing of a processor design |
| US14/103,988 Expired - Fee Related US8918678B2 (en) | 2012-01-20 | 2013-12-12 | Functional testing of a processor design |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/103,988 Expired - Fee Related US8918678B2 (en) | 2012-01-20 | 2013-12-12 | Functional testing of a processor design |
Country Status (1)
| Country | Link |
|---|---|
| US (2) | US20130191689A1 (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10324815B2 (en) * | 2017-02-14 | 2019-06-18 | International Business Machines Corporation | Error checking of a multi-threaded computer processor design under test |
| CN109918292A (en) * | 2019-01-28 | 2019-06-21 | 中国科学院信息工程研究所 | A kind of processor instruction set testing method and device |
| CN113168364A (en) * | 2018-12-06 | 2021-07-23 | 华为技术有限公司 | Chip verification method and device |
| US11163661B2 (en) * | 2019-08-09 | 2021-11-02 | International Business Machines Corporation | Test case generation for a hardware state space |
| US11169909B2 (en) * | 2020-03-31 | 2021-11-09 | International Business Machines Corporation | Flexible test program generation by altering previously used resources |
| WO2021247102A1 (en) * | 2020-06-04 | 2021-12-09 | Futurewei Technologies, Inc. | Backwards instruction stream generation |
| US20230027408A1 (en) * | 2021-07-19 | 2023-01-26 | Changxin Memory Technologies, Inc. | Method and apparatus for configuring sub route flow, storage medium, and equipment |
| US20250284604A1 (en) * | 2024-03-05 | 2025-09-11 | Arm Limited | Technique for generating tests for a processing device |
Families Citing this family (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI569028B (en) * | 2014-05-02 | 2017-02-01 | 塞拉有限公司 | Debugging system |
| US10318667B2 (en) * | 2015-12-16 | 2019-06-11 | International Business Machines Corporation | Test case generation |
| US9848061B1 (en) | 2016-10-28 | 2017-12-19 | Vignet Incorporated | System and method for rules engine that dynamically adapts application behavior |
| US12217036B2 (en) | 2016-02-10 | 2025-02-04 | Vignet Incorporated | Automating interactions for health data collection and patient engagement |
| US9858063B2 (en) | 2016-02-10 | 2018-01-02 | Vignet Incorporated | Publishing customized application modules |
| US9928230B1 (en) | 2016-09-29 | 2018-03-27 | Vignet Incorporated | Variable and dynamic adjustments to electronic forms |
| US10803411B1 (en) | 2017-04-17 | 2020-10-13 | Microstrategy Incorporated | Enterprise platform deployment |
| US10775974B2 (en) | 2018-08-10 | 2020-09-15 | Vignet Incorporated | User responsive dynamic architecture |
| US11158423B2 (en) | 2018-10-26 | 2021-10-26 | Vignet Incorporated | Adapted digital therapeutic plans based on biomarkers |
| US10762990B1 (en) | 2019-02-01 | 2020-09-01 | Vignet Incorporated | Systems and methods for identifying markers using a reconfigurable system |
| US11755372B2 (en) | 2019-08-30 | 2023-09-12 | Microstrategy Incorporated | Environment monitoring and management |
| US11714658B2 (en) | 2019-08-30 | 2023-08-01 | Microstrategy Incorporated | Automated idle environment shutdown |
| US11763919B1 (en) | 2020-10-13 | 2023-09-19 | Vignet Incorporated | Platform to increase patient engagement in clinical trials through surveys presented on mobile devices |
| CN112231164B (en) * | 2020-12-11 | 2021-08-27 | 鹏城实验室 | Processor verification method, device and readable storage medium |
| US11901083B1 (en) | 2021-11-30 | 2024-02-13 | Vignet Incorporated | Using genetic and phenotypic data sets for drug discovery clinical trials |
| US11705230B1 (en) | 2021-11-30 | 2023-07-18 | Vignet Incorporated | Assessing health risks using genetic, epigenetic, and phenotypic data sources |
| US12315604B2 (en) * | 2022-06-02 | 2025-05-27 | Evernorth Stragic Development, Inc. | Recurring remote monitoring with real-time exchange to analyze health data and generate action plans |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030191985A1 (en) * | 2002-04-04 | 2003-10-09 | Broadcom Corporation | Method of generating a test suite |
| US20050125468A1 (en) * | 2003-12-03 | 2005-06-09 | International Business Machines Corporation | System and method of testing and evaluating mathematical functions |
| US20060212756A1 (en) * | 2005-03-21 | 2006-09-21 | International Business Machines Corporation | Highly specialized scenarios in random test generation |
| US20060259878A1 (en) * | 1999-02-05 | 2006-11-16 | Killian Earl A | Automated processor generation system for designing a configurable processor and method for the same |
| US20070234249A1 (en) * | 2006-03-28 | 2007-10-04 | Fujitsu Limited | Method and apparatus for supporting verification, and computer product |
| US20090222694A1 (en) * | 2008-02-28 | 2009-09-03 | Allon Adir | Model-Based Hardware Exerciser, Device, System and Method Thereof |
| US7627843B2 (en) * | 2005-03-23 | 2009-12-01 | International Business Machines Corporation | Dynamically interleaving randomly generated test-cases for functional verification |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4520440A (en) | 1982-12-15 | 1985-05-28 | International Business Machines Corporation | Test verification of processor architecture having a partial instruction set |
| GB2278213A (en) | 1993-05-18 | 1994-11-23 | Ibm | Test program generator. |
| US5592674A (en) | 1994-12-20 | 1997-01-07 | International Business Machines Corporation | Automatic verification of external interrupts |
| EP0721166A1 (en) | 1995-01-03 | 1996-07-10 | International Business Machines Corporation | Method and system for the design verification of logic units and use in different environments |
| US5928334A (en) | 1997-03-28 | 1999-07-27 | International Business Machines Corporation | Hardware verification tool for multiprocessors |
| US6175946B1 (en) | 1997-10-20 | 2001-01-16 | O-In Design Automation | Method for automatically generating checkers for finding functional defects in a description of a circuit |
| US6564178B1 (en) | 1999-04-13 | 2003-05-13 | Hewlett-Packard Company | Method and apparatus for evaluating processors for architectural compliance |
| US7373638B1 (en) | 2002-08-16 | 2008-05-13 | Coware, Inc. | Automatic generation of structure and control path using hardware description language |
| US7389215B2 (en) | 2005-04-07 | 2008-06-17 | International Business Machines Corporation | Efficient presentation of functional coverage results |
-
2012
- 2012-01-20 US US13/355,004 patent/US20130191689A1/en not_active Abandoned
-
2013
- 2013-12-12 US US14/103,988 patent/US8918678B2/en not_active Expired - Fee Related
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060259878A1 (en) * | 1999-02-05 | 2006-11-16 | Killian Earl A | Automated processor generation system for designing a configurable processor and method for the same |
| US8006204B2 (en) * | 1999-02-05 | 2011-08-23 | Tensilica, Inc. | Automated processor generation system for designing a configurable processor and method for the same |
| US20030191985A1 (en) * | 2002-04-04 | 2003-10-09 | Broadcom Corporation | Method of generating a test suite |
| US20050125468A1 (en) * | 2003-12-03 | 2005-06-09 | International Business Machines Corporation | System and method of testing and evaluating mathematical functions |
| US20060212756A1 (en) * | 2005-03-21 | 2006-09-21 | International Business Machines Corporation | Highly specialized scenarios in random test generation |
| US20090313590A1 (en) * | 2005-03-21 | 2009-12-17 | Roy Emek | Highly specialized scenarios in random test generation |
| US7627843B2 (en) * | 2005-03-23 | 2009-12-01 | International Business Machines Corporation | Dynamically interleaving randomly generated test-cases for functional verification |
| US20070234249A1 (en) * | 2006-03-28 | 2007-10-04 | Fujitsu Limited | Method and apparatus for supporting verification, and computer product |
| US7676777B2 (en) * | 2006-03-28 | 2010-03-09 | Fujitsu Microelectronics Limited | Method and apparatus for supporting verification, and computer product |
| US20090222694A1 (en) * | 2008-02-28 | 2009-09-03 | Allon Adir | Model-Based Hardware Exerciser, Device, System and Method Thereof |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10324815B2 (en) * | 2017-02-14 | 2019-06-18 | International Business Machines Corporation | Error checking of a multi-threaded computer processor design under test |
| CN113168364A (en) * | 2018-12-06 | 2021-07-23 | 华为技术有限公司 | Chip verification method and device |
| CN109918292A (en) * | 2019-01-28 | 2019-06-21 | 中国科学院信息工程研究所 | A kind of processor instruction set testing method and device |
| US11163661B2 (en) * | 2019-08-09 | 2021-11-02 | International Business Machines Corporation | Test case generation for a hardware state space |
| US11169909B2 (en) * | 2020-03-31 | 2021-11-09 | International Business Machines Corporation | Flexible test program generation by altering previously used resources |
| WO2021247102A1 (en) * | 2020-06-04 | 2021-12-09 | Futurewei Technologies, Inc. | Backwards instruction stream generation |
| US20230027408A1 (en) * | 2021-07-19 | 2023-01-26 | Changxin Memory Technologies, Inc. | Method and apparatus for configuring sub route flow, storage medium, and equipment |
| US12118288B2 (en) * | 2021-07-19 | 2024-10-15 | Changxin Memory Technologies, Inc. | Method for configuring sub route flow, storage medium, and equipment |
| US20250284604A1 (en) * | 2024-03-05 | 2025-09-11 | Arm Limited | Technique for generating tests for a processing device |
Also Published As
| Publication number | Publication date |
|---|---|
| US8918678B2 (en) | 2014-12-23 |
| US20140101628A1 (en) | 2014-04-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8918678B2 (en) | Functional testing of a processor design | |
| JP5786513B2 (en) | System, method and storage medium for testing software modules | |
| US11204859B2 (en) | Partial-results post-silicon hardware exerciser | |
| US8868976B2 (en) | System-level testcase generation | |
| US10649887B2 (en) | Co-verification of hardware and software | |
| US10592703B1 (en) | Method and system for processing verification tests for testing a design under test | |
| US9589087B2 (en) | Verification environments utilizing hardware description languages | |
| US10606732B2 (en) | Hybrid genetic concolic co-verification of hardware and software | |
| CN112840341B (en) | Method for detecting a security-related data stream | |
| US9690681B1 (en) | Method and system for automatically generating executable system-level tests | |
| US9582458B2 (en) | Generation of a random sub-space of the space of assignments for a set of generative attributes for verification coverage closure | |
| Guerrero Balaguera et al. | Understanding the effects of permanent faults in GPU's parallelism management and control units | |
| US8438000B2 (en) | Dynamic generation of tests | |
| US9117023B2 (en) | Dynamic generation of test segments | |
| US10970444B1 (en) | Methods and systems to verify correctness of bug fixes in integrated circuits | |
| US10528691B1 (en) | Method and system for automated selection of a subset of plurality of validation tests | |
| US10295596B1 (en) | Method and system for generating validation tests | |
| US20190377614A1 (en) | Verification of atomic memory operations | |
| US11226370B1 (en) | Recoverable exceptions generation and handling for post-silicon validation | |
| US10503854B1 (en) | Method and system for generating validation tests | |
| US8639490B2 (en) | Concretization of abstracted traces | |
| US9823305B1 (en) | Method and system for generating post-silicon validation tests | |
| Huang et al. | Functional testbench qualification by mutation analysis | |
| US11501046B2 (en) | Pre-silicon chip model of extracted workload inner loop instruction traces | |
| US8930759B2 (en) | Stream generation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ALMOG, ELI;HENDRICKSON, OLAF K.;KRYGOWSKI, CHRISTOPHER A.;SIGNING DATES FROM 20111215 TO 20111216;REEL/FRAME:027582/0381 |
|
| STCB | Information on status: application discontinuation |
Free format text: EXPRESSLY ABANDONED -- DURING PUBLICATION PROCESS |
|
| AS | Assignment |
Owner name: GLOBALFOUNDRIES U.S. 2 LLC, NEW YORK Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:INTERNATIONAL BUSINESS MACHINES CORPORATION;REEL/FRAME:036550/0001 Effective date: 20150629 |
|
| AS | Assignment |
Owner name: GLOBALFOUNDRIES INC., CAYMAN ISLANDS Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:GLOBALFOUNDRIES U.S. 2 LLC;GLOBALFOUNDRIES U.S. INC.;REEL/FRAME:036779/0001 Effective date: 20150910 |