Method for checking cross-platform and cross-language single-chip system

A technology of a single-chip system and a verification method, which is applied in the direction of functional inspection and detection of faulty computer hardware, etc., can solve problems such as unfavorable test case management and rollback testing, unfavorable error tracking, and low programming efficiency, so as to improve efficiency, Conducive to error tracking and high efficiency

Inactive Publication Date: 2012-05-30
上海宇芯科技有限公司
View PDF2 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to overcome the defects and problems existing in the prior art that the programming efficiency is not high, it is not conducive to the management of the test case and the rollback test, and it is not condu

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for checking cross-platform and cross-language single-chip system
  • Method for checking cross-platform and cross-language single-chip system
  • Method for checking cross-platform and cross-language single-chip system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] see figure 2 , an Address object contains the following key-Value:

[0035] city: ShangHai street: YiJiang Road postcode: 202014

[0036] Expressed in json as follows:

[0037] {"city": "ShangHai", "street": "YiJiang Road", "postcode": 202014}

[0038] Among them, Value can also be another Object or an array, so complex Objects can be nested,

Embodiment 2

[0040] see image 3 , a Person object contains name and address, which can be expressed as follows:

[0041] {"name":"Samson", "address":

[0042] {"city": "ShangHai", "street": "YiJiang Road", "postcode": 202014}}

[0043] By creatively using the json format as the data exchange between the test case and the verification environment, the restrictions on the programming language and platform of the test case writing are liberated, the efficiency of the test case writing is improved, and the data structure can be serialized through the existing json library And deserialization, it is easy to track the sending and feedback of test data packets.

[0044]It can be seen from the above that the present invention not only has high programming efficiency, but also facilitates test case management, rollback testing, and error tracking.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for checking a cross-platform and cross-language single-chip system. The method comprises the following steps of: constructing a checking module by using a system c, namely realizing a server thread to monitor an appointed port, establishing a transmission control protocol/Internet protocol (tcp/ip) link service, resolving a data stream of the port through a loop body, obtaining a data structure sent by a client by using a standard json resolving function, making a corresponding response according to branch judging, constructing a returned json data packet, and repeating the steps until the link is interrupted to quit the simulation, wherein a programming language can be freely selected from the client to compile a test case, i.e., the operation to the checking module is packed by a json base of a corresponding language and sent through the tcp/ip link so as to control the flow of the tested checking module. The method is higher in programming efficiency and is favorable for management and rolled-back test of the test case and error tracking.

Description

technical field [0001] The invention relates to a verification method for a single-chip system, in particular to a verification method for a cross-platform and cross-language single-chip system, and is particularly suitable for data exchange in the json format. Background technique [0002] The verification methods of the functional modules of the current single-chip system mainly include the following modes: RTL module code + behavior-level description code; RTL module code + special verification language behavior-level description code; RTL module code + PLI calling C function. [0003] However, the above modes are generally only widely used in verification methods in the field of application-specific integrated circuits (ASICs), while in the field of single-chip systems (SOCs), there are the following disadvantages: [0004] First of all, the functional modules of a single-chip system are generally driven by software, and the complexity of the driver increases greatly wit...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/26
Inventor 伍骏马肇阳徐碧霞郭昆亚
Owner 上海宇芯科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products