Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for managing event queue of software simulator of microprocessor

An event queue and software simulation technology, applied in the field of event queue management, can solve the problem of low efficiency of event queue, and achieve high insertion efficiency, high efficiency, and low system overhead

Active Publication Date: 2018-03-02
BEIJING UNIV OF POSTS & TELECOMM +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0021] The technical problem to be solved by this invention is to overcome the inefficient deficiency of the event queue of the software simulator of the microprocessor in the prior art

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 and system for managing event queue of software simulator of microprocessor
  • Method and system for managing event queue of software simulator of microprocessor
  • Method and system for managing event queue of software simulator of microprocessor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The implementation of the present invention will be described in detail below in conjunction with the accompanying drawings and examples, so as to fully understand and implement the implementation process of how to apply technical means to solve technical problems and achieve corresponding technical effects in the present invention. The embodiments of the present invention and the various features in the embodiments can be combined with each other under the premise of no conflict, and the formed technical solutions are all within the protection scope of the present invention.

[0041] The steps included in the methods of the embodiments of the present invention shown in the figures can be implemented in a computer system such as a set of computer-executable instructions. Moreover, although the method in the embodiment of the present invention shows a logical sequence in the flow chart, in some cases, the method in the embodiment of the present invention can also be execu...

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 management method and system of an event queue of a software simulator of a microprocessor, which overcomes the problem of low efficiency of the event queue of a software simulator of a microprocessor in the prior art. The method includes: storing the event queue in a circular array; the circular array contains a plurality of table entries, each table entry corresponds to a clock cycle of the software simulator; each table entry in the circular array One-to-one correspondence with the preset linear linked list, the head pointer and tail pointer of each entry point to the head element and tail element of the corresponding linear linked list respectively; each linear linked list stores the triggers that should be triggered within the clock cycle represented by the corresponding entry Event: point the global period pointer to the table entry corresponding to the current clock cycle; when a clock cycle simulation ends, advance the global cycle pointer by one table entry. Embodiments of the present invention have high efficiency in event insertion, event query and event removal.

Description

technical field [0001] The invention relates to the simulation technology of a microprocessor, in particular to a management method and system for an event queue of a software simulator of a microprocessor. Background technique [0002] When designing a microprocessor, it is common to first use a software simulator to evaluate various alternatives. Through the software modeling of each component, the function and timing of the microprocessor can be accurately simulated, and the defects and errors in the design can be found quickly. [0003] During simulation, those components that require accurate simulation timing will generate a large number of operations with a certain trigger delay. For example, the memory access component frequently issues data cache access operations, and after the operation is issued, it takes 2 cycles to reach the data cache controller. If the data to be accessed is in the data cache, the data will be returned to the memory access unit after 12 clo...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/28G06F9/455
Inventor 罗浩林绅文卫冰洁吴志刚贺欣杜雄杰张树壮李应博王啸刘成袁媛房婧于贺威
Owner BEIJING UNIV OF POSTS & TELECOMM