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

Method used for on-chip inter-core network communication of multi-core processor

A multi-core processor and network communication technology, which is applied in the field of network communication between multi-core processor cores and network communication, can solve the problems of complex interfaces and low-quality interfaces, and achieve the effect of simple and easy-to-use interfaces

Active Publication Date: 2018-11-06
CSIC WUHAN LINCOM ELECTRONICS
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are restrictions on network routing rules, that is, network data packets sent from a network card will not be forwarded back to this network card. Therefore, according to the normal network communication method, the internal cores of the multi-core processor cannot communicate through the network. communication
[0003] The existing inter-core communication methods of multi-core processors include inter-core interrupts, shared memory, etc., but the interface is more complicated, and it is far less convenient to use than the standard network communication interface. The method of inter-kernel network communication

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 used for on-chip inter-core network communication of multi-core processor
  • Method used for on-chip inter-core network communication of multi-core processor
  • Method used for on-chip inter-core network communication of multi-core processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0041] This embodiment is an example of implementing the present invention on an embedded multi-core processor TMS320C6678 (C6678 for short). The C6678 processor involved in this embodiment has 8 processing cores, and only one network hardware is integrated on the chip.

[0042] The concrete realization of this embodiment is described in detail below:

[0043](1) Set the MAC address

[0044] The MAC address only requires that the MAC addresses of the eight cores be different from each other, and there are no other special requirements. In this example, the MAC addresses set for the eight cores are: 12-34-56-10-01-00, 12-34-56-10-01-01, 12-34-56-10-01-02, 12-34-56-10-01-03, 12-34-56-10-01-04, 12-34-56-10-01-05, 12-34-56-10-01-06, 12- 34-56-10-01-07.

[0045] Each core adds corresponding filtering rules in the network driver according to their respective MAC addresses to ensure that when the network hardware receiving module receives a data packet whose destination address i...

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 used for on-chip inter-core network communication of a multi-core processor, comprising the steps of: 1) setting different MAC addresses for different cores, and adding a corresponding filtering rule to a network driver; 2) setting different IP addresses for the different cores by using a set of specific rules, so as to judge whether a destination address of a datapackage belongs to addresses of on-chip other cores or off-chip addresses when the data package is transmitted by a certain core; and 3) adding the judgement to the network driver, firstly analyzingthe destination address of the data package before the each data package is transmitted, and executing different operations according to whether the destination address belongs to the on-chip addresses or the off-chip addresses. Through adoption of the method of the invention, on-chip inter-core network communication of the multi-core processor is achieved, so that network communication of the multi-core processor can not be limited by connection failure in on-chip inter-core network, and a network standard interface can be adopted to perform communication; in addition, a user can achieve theon-chip inter-core network communication without additional processing during programming, thus the method is transparent to the user.

Description

technical field [0001] The invention relates to a method for network communication, in particular to a method for network communication between cores of a multi-core processor, and belongs to the technical field of network applications. Background technique [0002] The network uses physical links to connect isolated computer nodes together to form data links, so as to achieve the purpose of resource sharing and communication. Network communication is to connect various isolated devices through the network, and realize the communication between various computers through information exchange. At present, most embedded systems adopt the AMP mode (asymmetric multiprocessing, Asymmetric multiprocessing). Each processor core runs an independent operating system, and each core also needs to independently use network resources to communicate with the outside world. However, due to hardware limitations, multiple cores in the same processor cannot communicate through the network. 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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/02H04L29/12G06F15/173
CPCH04L12/02G06F15/17306H04L61/5007H04L2101/622
Inventor 涂楚成舒红霞侯旋
Owner CSIC WUHAN LINCOM ELECTRONICS
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