Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

A software simulation and event queue technology, applied in the field of event queue management, can solve problems such as low event queue efficiency, and achieve the effects of high insertion efficiency, accelerated simulation speed, and low system overhead.

Active Publication Date: 2015-05-27
BEIJING UNIV OF POSTS & TELECOMM +1
View PDF4 Cites 5 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 method and system for managing an event queue of a software simulator of a microprocessor. The method and the system are used for overcoming the defect in the prior art that the efficiency of the event queue of the software simulator of the microprocessor is low. The method comprises the steps: the event queue is stored in a circular array; the circular array contains a plurality of table entries, and each table entry corresponds to one clock cycle of the software simulator; all the table entries in the circular array are enabled to be in one-to-one correspondence to preset linear chain tables, and a head pointer and a tail pointer of each table entry respectively point to a head element and a tail element of a corresponding linear chain table; each linear chain table stores events, which should be triggered in the clock cycle represented by corresponding table entry; a global cycle pointer is enabled to point to the table entry corresponding to the current clock cycle; after the simulation of one clock cycle ends, the global cycle pointer goes forwards by one table entry. The method and the system disclosed by the invention have very high efficiency in the aspects of 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
IPC IPC(8): G06F9/28G06F9/455
Inventor 罗浩林绅文卫冰洁吴志刚贺欣杜雄杰张树壮李应博王啸刘成袁媛房婧于贺威
Owner BEIJING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products