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

Method for dual-port virtual FIFO (first in first out) data exchange

A dual-port, data technology, applied in the field of data exchange, can solve the problem of large amount of communication data, etc., and achieve the effect of simple interface design, high efficiency, and mature design technology

Active Publication Date: 2012-10-03
AVIC NO 631 RES INST
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the rapid development of airborne systems, more and more functions are concentrated on the airborne computer, and the intelligent interface module has more and more functions, resulting in a large amount of communication data required for data exchange. Traditional solutions are difficult to meet this requirement. series requirements

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 for dual-port virtual FIFO (first in first out) data exchange
  • Method for dual-port virtual FIFO (first in first out) data exchange
  • Method for dual-port virtual FIFO (first in first out) data exchange

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] see figure 1 , the functional area of ​​dual-port virtual FIFO is divided into (1) virtual FIFO data management area, which is used to save FIFO head pointer, FIFO tail pointer, FIFO working status, record FIFO size and other related information; (2) virtual FIFO data Area, used to save the data to be exchanged;

[0036] see figure 2 , a method for dual-port virtual FIFO data exchange, the steps of FIFO data writing operation are as follows:

[0037] 1) Obtain FIFO semaphore;

[0038] 2) Judge the rationality of the data block to be sent:

[0039] 2.1) determine whether the length (len) of the data block (msg[]) is less than the length (fifo_size) of the FIFO; if so, proceed to step 2.2);

[0040] 2.2) determine whether the length of the data block is 0, if not, then proceed to step 3);

[0041] 2.3) Determine whether the FIFO queue is full (if the next position of the tail pointer is equal to the head pointer, it means that the queue is full);

[0042] 3) Judgin...

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 proposes a method for dual-port virtual FIFO (first in first out) data exchange, which comprises the following steps: (1) obtaining FIFO semaphores; (2) judging the relationship between the length of a data block to be sent and the length of the FIFO; (3) obtaining a head pointer and a tail pointer of the FIFO (first in first out); judging whether the length of the data block is less than the length of the current space to be written in of the FIFO through the obtained head pointer and the obtained tail pointer; and if yes, carrying out the step (4); (4) calculating the check sum of the data block; (5) sequentially writing in the length of the data block, the data block and the check sum at a position pointed by the current head pointer and moving the head pointer; and (6) releasing the FIFO semaphores. The method for the dual-port virtual FIFO data exchange is suitable for data exchange among multiprocessor systems in an airborne computer.

Description

technical field [0001] The invention relates to a data exchange method between multiprocessor systems in an airborne computer, in particular to a data writing and reading method for realizing dual-port virtual FIFO. Background technique [0002] In an airborne computer, data acquisition and exchange is an important part of a multiprocessor system. Each intelligent interface module receives various control commands from the main processor module, and then collects interface data in real time according to the control commands and provides the data to the main processor module in time. The traditional solution for multiprocessor system data exchange: design a dual-port memory circuit on the interface module, and then divide the single / double buffer data area for each functional module on the dual-port memory to solve the data exchange between multiprocessor modules. With the rapid development of airborne systems, more and more functions are concentrated on the airborne compute...

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 Patents(China)
IPC IPC(8): G06F15/163
Inventor 韩嫚丽高杨张珏辉
Owner AVIC NO 631 RES INST
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