Novel message controller and communication method thereof, which can realize multiprocessor communication at high speed
A multi-processor and controller technology, applied in the field of processors, can solve problems such as too strict restrictions on multi-core system-on-chip architecture, hardware resources occupied by multi-core communication, and lack of versatility of modules, etc., to achieve fast writing and reading speeds , Reduce the difficulty of the program and improve the response speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] Such as figure 1 Shown is a new type of message controller that can realize multi-processor communication at high speed. The above figure is an example to illustrate that message controllers 0 and 1 store the control registers of the queue. Each register obtains the queue status by reading and writing the control register. The data body of the message is stored in a memory (memory A in the figure above). The memory for storing messages can be outside the message controller, in a certain memory in the system, or inside the message controller. The processor obtains the memory address where the message is stored by reading the control register.
[0035] Processor 1 will continuously write the message data into memory A and update the control register in message controller 1, and processor 0 will continuously obtain the message storage location from message controller 1 and read memory A to obtain message data, realizing from Message and data transfer from Processor 1 to...
Embodiment 2
[0039] Such as figure 2 A novel message controller that can realize multi-processor communication at a high speed as shown includes 3 groups of message controller register files, and the message controller register files are connected to processors through a bus adapter, and the message controller register files are composed of Write pointer register, read pointer register, effective unit number register, effective unit number register, memory base address register, and memory capacity register.
[0040] The minimum unit bit width in the register file of the message controller may be a byte (8 bits), a halfword (16 bits), or a word (32 bits).
[0041] The message transmission between the message controller register files is one-way transmission or two-way transmission.
[0042]The write pointer register (WPTR): record the current write address of the message writer in the memory, this address is the address of the next unit to be written, and the write pointer register will ...
Embodiment 3
[0052] A novel message controller communication method capable of realizing communication between multiprocessors at high speed, comprising the following steps:
[0053] a. The message controller register obtains the queue status by reading and writing the control register;
[0054] b. Store the data body of the message in the memory;
[0055] c. The processor obtains the memory address where the message is stored by reading the control register;
[0056] Among them, the writer needs to calculate "WVALID=QSIZE-VALIDNUM" when writing, and WVALID is the maximum number of queue units that can be written. Determine whether the value of WVALID is greater than or equal to the amount of data to be written this time, if it is greater than or equal to the amount of data to be written, it can be written and WPTR is updated, otherwise it cannot be written and continues to wait;
[0057] The reader can complete the message reading operation by setting the interrupt reporting register an...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com