Simulator based automatic functional test implementation method for central processing unit instruction sets
A central processing unit and functional testing technology, applied in the field of processors, can solve problems such as single verification means and narrow application range of test case sets, and achieve the effect of simple creation/modification/addition/deletion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] In this embodiment, the method for automatically implementing the function test of the central processing unit instruction set based on the simulator (the hardware simulator is used to simulate another computer with incompatible instructions or different systems on one computer), and the verified CPU model is Motorola 68360, the real machine simulation test tool used is Trace32, and the CPU hardware simulator is QEMU simulator. The DataSheet of Motorola 68360 can be obtained by downloading it on the open source website, or it can be obtained from other methods such as the bundled materials of the purchased hardware.
[0059] See image 3 , The method for automatically implementing the function test of the instruction set of this embodiment includes the following steps:
[0060] Step 1: Sort out the DataSheet in the CPU, design test items according to the description of the instructions in the DataSheet, and write each test item in Excel; the number of test items M is determi...
Embodiment approach
[0122] In summary, the method for automatically implementing the function test of the central processing unit instruction set based on the simulator of this embodiment has the following significant effects:
[0123] (1) The test case set has a wide application range:
[0124] 1) In theory, it can support verification of any type of CPU;
[0125] the reason:
[0126] The cpu instruction set is composed of cpu instructions and operands, and the process of verifying the cpu instruction set is:
[0127] a. Preset expected results (that is, the actual machine results obtained by running Trace32);
[0128] b. Execute commands composed of cpu instructions and operands to obtain simulation results;
[0129] c. Compare the expected result and the simulation result.
[0130] The commands composed of cpu instructions and operands used in step b can be sorted out according to the datasheet script to automatically generate the commands needed for all test items, and the script can be used to intercept ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com