Inter-core communication optimization method oriented to Simulink and capable of automatically generating multi-thread codes

An automatic generation and inter-core communication technology, which is applied in the direction of inter-program communication, multi-program device, instrument, etc., can solve the problems of frequent synchronization and long waiting time of the processor, so as to reduce the cost of synchronization, improve the utilization rate of the processor, The effect of minimizing thread switching time
CN112015692APending Publication Date: 2020-12-01EAST CHINA UNIV OF SCI & TECH +1

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
EAST CHINA UNIV OF SCI & TECH
Publication Date
2020-12-01

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides an inter-core communication optimization method for Simulink-oriented automatic generation of multi-thread codes, and the method employs a technology combining static analysis and dynamic simulation to effectively distribute a communication cache region, so as to further reduce the synchronization cost and improve the utilization rate of a processor. FPGA simulation is introduced into an inter-processor cache region distribution process. Moreover, under the condition of fixed memory overhead, a proper number of entrances are allocated to different communication cache regions, so that the synchronous waiting time and the thread switching time are minimized. According to the method, an optimization method is introduced into a Simulink-based code generation process andis combined with a communication pipeline technology, so that the communication overhead is reduced. The system performance is improved. For the problem of distributing the communication cache region,a technology of combining static analysis and dynamic simulation is adopted, so that the synchronization cost is further reduced, and the utilization rate of a processor is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of communication, in particular to an inter-core communication optimization method for automatically generating multi-thread codes for Simulink. Background technique

[0002] With the increasing complexity of emerging embedded applications and the increasing number of processors in the implemented multiprocessor SoC architectures, the frequency of communication is also increasing. Software development for a multiprocessor system-on-chip (MPSoC) involves a lot of work, such as tuning communication between concurrent threads and avoiding deadlocks, manually tuning code to accommodate different types of processors and communication protocols, and switching between processors. Distribute code and data. Automatic techniques can help designers deal with these difficulties and find a satisfactory solution.

[0003] Among them, the Simulink system model is a widely used automatic code generation model, which has t...

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