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

Multi-thread optimization method and system for SystemC simulation scheduling core and medium

An optimization method and multi-threading technology, applied in the field of system simulation, can solve problems such as insufficient capacity, difficult expansion, and difficulty in expanding single-core simulation systems, so as to ensure correctness, convenient upgrade and maintenance, and good scalability Effect

Active Publication Date: 2019-05-21
VISION MICROSYST SHANGHAI
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This characteristic of SystemC makes it extremely difficult to extend the existing single-core simulation system into a multi-core, parallel system
[0005] Due to the serial scheduling strategy adopted by SC, it is insufficient in parallel design.
In particular, it is difficult to extend existing single-core simulators to multi-core simulators

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
  • Multi-thread optimization method and system for SystemC simulation scheduling core and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0042] According to the multi-thread optimization method of a kind of SystemC emulation scheduling core provided by the present invention, comprising:

[0043] Task separation step: detaching the calculation tasks of the SystemC simulation to other operating system threads except the operating system to which it belongs;

[0044] Module communication step: inject callback function to realize communication between external computing tasks and SystemC threads;

[0045] Task synchronization step: realize ...

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 provides a multi-thread optimization method and system for a SystemC simulation scheduling core and a medium. The multi-thread optimization method comprises the steps of task separation,wherein a calculation task of SystemC simulation is stripped into threads of other operation systems except the operation system to which the calculation task belongs; a module communication step: injecting a callback function to realize communication between an external computing task and a SystemC thread; and a task synchronization step: realizing synchronization of a plurality of simulation tasks through decoupling in time and controlling duration time. Compared with the prior art, the current popular multi-processor equipment can be well and fully utilized, and the simulation efficiency is improved. The simulation synchronization is controlled through the minimum period simulation period, so that the simulation correctness is ensured. In addition, the callback function is used, so that the expandability of the simulation system is better, and the simulation system is more convenient to upgrade and maintain.

Description

technical field [0001] The invention relates to the technical field of system simulation, in particular to a multi-thread optimization method, system and medium of a SystemC simulation scheduling core. Background technique [0002] With the continuous development of multi-core processors, multi-core simulation technology has become a research hotspot of instruction set simulators. Designing and implementing a high-performance multi-core simulator is very important for researching new architecture and system software. There have also been some simulator frameworks before. [0003] SystemC (SC) is a system design language based on C++ language. In fact, it is composed of a C++ class library that simulates different abstraction levels of hardware and a kernel that does not depend on any hardware. It supports abstract models of different levels or levels in system design, including function-level model, timing-level model, business-level model, behavior-level model, register-...

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 Applications(China)
IPC IPC(8): G06F9/50G06F9/48G06F9/455
Inventor 咸峰秦炜邱淦彭成志
Owner VISION MICROSYST SHANGHAI
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