Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH1185462A - Data buffer circuit - Google Patents
[go: Go Back, main page]

JPH1185462A - Data buffer circuit - Google Patents

Data buffer circuit

Info

Publication number
JPH1185462A
JPH1185462A JP9239259A JP23925997A JPH1185462A JP H1185462 A JPH1185462 A JP H1185462A JP 9239259 A JP9239259 A JP 9239259A JP 23925997 A JP23925997 A JP 23925997A JP H1185462 A JPH1185462 A JP H1185462A
Authority
JP
Japan
Prior art keywords
data
buffer
label
received
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP9239259A
Other languages
Japanese (ja)
Inventor
Tatsuya Ito
達哉 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP9239259A priority Critical patent/JPH1185462A/en
Publication of JPH1185462A publication Critical patent/JPH1185462A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it possible to surely take in data of a sort having a high data updating rate and send the data to a transfer destination as newest data, in a double buffer circuit for temporarily storing received data combining data and a label indicating the sort of the data in a double buffer as a pair, reading out stored data asynchronously with the received data and sending the read data to the transfer destination. SOLUTION: A label detection part 3 detects a label indicating the data sort of received data, a holding part 5 holds the detected label and a comparator 9 compares the detected label with all reference labels registered in a label registering PROM 8. When a buffer switching condition judging circuit 30 judges that the label at the time of coincidence is a previously set label (having a large updating rate), two buffer writing/reading states in the double buffer circuit 20 are controlled so as to be switched synchronously with a reference trigger (the initial timing of transmission data format operation in a data transfer destination 12) generated immediately after the judgement.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータバッファ回路
に関し、特にデータ部とこのデータ部の種別を示すデー
タ種別部とが一組とされてフォーマット化された複数組
の受信データを受信して一時的に格納し、この受信デー
タとは非同期的にこの格納受信データを読出しつつ送出
するようにしたデータバッファ回路に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data buffer circuit, and more particularly, to a method of receiving a plurality of sets of reception data, which are formatted as a set of a data part and a data type part indicating the type of the data part, and temporarily receive the data. More specifically, the present invention relates to a data buffer circuit which stores the received data and reads out the stored received data asynchronously with the received data.

【0002】[0002]

【従来の技術】GPSやINS等の航空機搭載センサか
ら、ARINC429バス(米国のAERO NAUTICAL RADI
O INCORPORATED社規定に準拠したバス)を介して受信さ
れた航空機の姿勢,位置,高度,加速度等の種々の飛行
情報データを一時的に取込んで、これ等データを非同期
でフォーマット化するためのデータ転送を行う際に、い
わゆるダブルバッファを用いて書込みと読出しとを交互
に切換え制御する方式のダブルデータバッファ回路があ
る。
2. Description of the Related Art From an onboard sensor such as GPS or INS, an ARINC429 bus (AERO NAUTICAL RADI
O to temporarily capture various flight information data such as attitude, position, altitude, acceleration, etc. of the aircraft received via a bus conforming to the regulations of INCORPORATED, and format these data asynchronously. When performing data transfer, there is a double data buffer circuit of a system in which a so-called double buffer is used to alternately control writing and reading.

【0003】尚、このARINC429バスのデータフ
ォーマットの概略を図6に示す。図6に示す如く、32
ビットのデータ型式とされており、第1〜第8ビットは
送信すべきデータのデータ種別を示すラベルビット部分
であり、256種類の指定を行うものである。次の第9
及び第10ビットはシステム番号を示すものであり、マ
ルチシステムの場合に用いられる。
FIG. 6 schematically shows the data format of the ARINC429 bus. As shown in FIG.
The first to eighth bits are label bit portions indicating the data type of the data to be transmitted, and specify 256 types. Next ninth
And the tenth bit indicate a system number, and are used in the case of a multi-system.

【0004】次に第11〜第29ビットが送信すべきデ
ータ部分であり、パラメータビットと称される。更に、
第30,第31ビットはサインスステータスビットであ
り、予め定義されたビット情報が挿入される。最後の第
32ビットはパリティビット(奇数パリティ)とされて
いる。
Next, the 11th to 29th bits are data portions to be transmitted, and are called parameter bits. Furthermore,
The 30th and 31st bits are sign status bits into which bit information defined in advance is inserted. The last 32nd bit is a parity bit (odd parity).

【0005】この様なデータ型式の受信データを上述し
たダブルデータバッファ回路の一つのバッファにより取
込み、他方のバッファから非同期で読出しつつ送出する
様になっている。
The received data of such a data type is fetched by one buffer of the above-mentioned double data buffer circuit, and is transmitted while being asynchronously read from the other buffer.

【0006】例えば、特開昭62−78933号公報に
記載のダブルデータバッファ回路では、受信データを一
つのバッファに書込み、この書込み中には他のバッファ
を読出しに使用して、この読出し中のバッファからデー
タの読出しが終了する毎に、メモリ(バッファ)アクセ
ス制御部が受信データの中断を検知してバッファの状態
を切換え制御する様になっている。
For example, in a double data buffer circuit described in Japanese Patent Application Laid-Open No. 62-78933, received data is written into one buffer, and during this writing, another buffer is used for reading, and during this reading, Each time data reading from the buffer is completed, the memory (buffer) access control unit detects interruption of the received data and switches and controls the state of the buffer.

【0007】[0007]

【発明が解決しようとする課題】上述した特開昭62−
78933号公報の技術においては、読出し側のバッフ
ァが全てのデータの読出しを終了した後に、バッファの
状態が切換えられる。この様な方式では、伝送路から一
方のバッファが1パケット分のデータを取込む間に、他
方のバッファが1サイクル前に書込まれた1パケット分
のデータを読出す様な場合にのみ適用が可能であるが、
伝送路から入力されるデータ及びバッファから読出して
外部へ送出するデータが以下の(1),(2)の関係に
ある場合には、適用できない。
SUMMARY OF THE INVENTION The above-mentioned Japanese Patent Application Laid-Open No. Sho 62-62
In the technique disclosed in Japanese Patent No. 78933, the state of the buffer is switched after the buffer on the reading side finishes reading all data. Such a method is applied only when one buffer takes in one packet of data from the transmission line and the other buffer reads out one packet of data written one cycle ago. Is possible, but
This is not applicable when the data input from the transmission path and the data read from the buffer and sent to the outside have the following relationships (1) and (2).

【0008】(1)伝送路から入力されるデータとメモ
リから読出して外部へ送出するデータのデータ転送レー
ト及び1パケット差に大きな差がある場合; (2)入力データがARINC429型式に見られる様
に、データ種別毎にそのデータ内容の更新レートが互い
に異なり、かつ特定のデータ種別(特に、更新レートが
大なるデータ種別)のデータをできるだけ最新の内容と
したい場合;等には、上記公報の技術は適用困難であ
る。
[0008] (1) When there is a large difference between the data transfer rate and one packet difference between the data input from the transmission line and the data read from the memory and transmitted to the outside; (2) The input data is as shown in the ARINC429 model. In the case where the update rates of the data contents are different from one another for each data type and the data of a specific data type (particularly, a data type having a large update rate) is desired to be the latest content as much as possible; Technology is difficult to apply.

【0009】すなわち、上記従来技術では、データ受信
側のバッファが1パケット分のデータを取込んでから送
信側のバッファが1サイクル前に取込まれたデータを送
出する方式を採っているので、受信の1パケット長が送
信のフォーマット長の数倍ある様な場合には、データの
更新が送信側に反映できなくなる。
In other words, the above-mentioned prior art employs a method in which the buffer on the data receiving side takes in one packet of data and then the buffer on the transmitting side sends out the data taken in one cycle before. When one packet length of reception is several times the format length of transmission, data update cannot be reflected on the transmission side.

【0010】そこで、本発明はかかる従来技術の問題点
を解決すべくなされたものであって、その目的とすると
ころは、受信データ中にその内容が繰返し更新される
(更新レートが大なる)データが存在する場合、そのデ
ータが到来したタイミングを見計らってバッファの切換
え制御を行い、更新データを送信側へ確実に送出可能と
したデータバッファ回路を提供することにある。
Therefore, the present invention has been made to solve the problems of the prior art, and its purpose is to repeatedly update the contents of received data (the update rate is increased). An object of the present invention is to provide a data buffer circuit in which, when data exists, buffer switching control is performed in anticipation of the timing at which the data arrives, and updated data can be reliably transmitted to the transmission side.

【0011】[0011]

【課題を解決するための手段】本発明によれば、データ
部とこのデータ部の種別を示すデータ種別部とが一組と
されてフォーマット化された複数組の受信データを受信
して一時的に格納し、この受信データとは非同期的にこ
の格納受信データを読出しつつ送出するようにしたデー
タバッファ回路であって、前記受信データのデータ部を
格納する第1及び第2のバッファ手段と、前記受信デー
タのデータ種別を検出してこのデータ種別が予め設定さ
れたデータ種別と一致するか否かを判定する判定手段
と、この判定結果の一致に応答して、前記第1及び第2
のバッファ手段のデータ書込み及び読出し状態を逆に切
換え制御する制御手段とを含むことを特徴とするデータ
バッファ回路が得られる。
According to the present invention, a data section and a data type section indicating the type of the data section are combined into a set to receive a plurality of sets of reception data and temporarily receive the data. A data buffer circuit for reading out and sending out the stored reception data asynchronously with the reception data, wherein the first and second buffer means store a data portion of the reception data; Determining means for detecting the data type of the received data and determining whether or not the data type matches a preset data type;
And control means for reversely controlling the data write and read states of the buffer means.

【0012】そして、前記判定手段は、前記受信データ
のデータ種別の全てを予め格納した参照データ種別記憶
手段と、前記データ種別部のデータ種別を検出して一時
格納するデータ種別検出手段と、前記データ種別検出手
段により検出されたデータ種別と前記参照データ種別記
憶手段に格納されている全ての参照データ種別とを比較
して受信データのデータ種別を判別する手段と、この判
別されたデータ種別が前記予め設定されたデータ種別で
あるかどうかを判定する手段とを有することを特徴とす
る。
[0012] The determination means includes reference data type storage means in which all the data types of the received data are stored in advance, data type detection means for detecting and temporarily storing the data type of the data type part, Means for comparing the data type detected by the data type detection means with all the reference data types stored in the reference data type storage means to determine the data type of the received data; Means for determining whether the data type is the preset data type.

【0013】また、前記制御手段は、前記第1のバッフ
ァ手段へのデータ書込み中に前記第2のバッファ手段か
らのデータの読出しを、外部からの基準トリガ信号に応
答して外部からの読出しクロックに同期して行うように
したことを特徴とし、更に、前記制御手段は、前記判定
手段による判定結果の一致に応答してそれに続いて発生
した前記基準信号のタイミングにより、前記第1及び第
2のバッファ手段のデータ書込み及び読出し状態を逆に
切換え制御するようにしたことを特徴とする。
[0013] The control means may control reading of data from the second buffer means during writing of data to the first buffer means in response to an external reference trigger signal. Wherein the control means responds to the coincidence of the judgment result by the judgment means, and the first and second signals are generated by the timing of the reference signal subsequently generated. The data write and read states of the buffer means are controlled in reverse.

【0014】本発明の作用を述べる。データ内容の更新
が頻繁に行われるデータ種別は予め分かっているので、
このデータ種別を外部から設定しておき、当該設定デー
タ種別のデータが受信された時にこれを検出して、この
検出タイミングに応答してバッファの書込み読出し状態
を逆に切換えるように制御する。この場合、検出タイミ
ングに直ちに同期してバッファの状態を切換えるのでは
なく、外部へ送信すべき送信データフォーマットの基準
トリガの発生を待って切換えることで、最新の更新デー
タが格納されたバッファから読出しを行うことができ
る。
The operation of the present invention will be described. Since the data type for which data content is frequently updated is known in advance,
This data type is set from the outside, and when data of the set data type is received, this is detected, and control is performed so as to reversely switch the write / read state of the buffer in response to the detection timing. In this case, instead of switching the buffer state immediately in synchronization with the detection timing, the buffer state is switched after the reference trigger of the transmission data format to be transmitted to the outside is generated, thereby reading out the buffer from which the latest update data is stored. It can be performed.

【0015】[0015]

【発明の実施の形態】以下に図面を参照しつつ本発明の
実施例を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0016】図1は本発明の実施例のブロック図であ
る。図1において、データ復調回路1はARINC42
9受信データの復調を行い、ラベル検出部3,データ検
出部4へ復調出力を供給する。クロック復調回路2は受
信データからクロック信号を抽出してラベルホールド部
5へ供給する。
FIG. 1 is a block diagram of an embodiment of the present invention. In FIG. 1, a data demodulation circuit 1 includes an ARINC 42
9 demodulates the received data and supplies a demodulated output to the label detection unit 3 and the data detection unit 4. The clock demodulation circuit 2 extracts a clock signal from the received data and supplies it to the label hold unit 5.

【0017】ラベルホールド部5は、ラベル検出部3に
より検出される受信データのデータ種別を示すラベル
を、クロック信号に同期して一時格納する。
The label hold unit 5 temporarily stores a label indicating the data type of the received data detected by the label detection unit 3 in synchronization with a clock signal.

【0018】ラベル登録メモリ(PROM)8には、全
データ種別を示すN個(256個)のラベルが予め登録
されており、アドレスカウンタ7によるアドレスに従っ
て順次各ラベルが読出され、比較器9にてラベルホール
ド部5にホールドされている受信データのラベルとの比
較がなされる。
N (256) labels indicating all data types are registered in a label registration memory (PROM) 8 in advance. Each label is sequentially read out in accordance with an address by an address counter 7, and is sent to a comparator 9. Then, the received data is compared with the label of the received data held in the label holding unit 5.

【0019】クロック発生部6はアドレスカウンタ7の
アドレスを昇順に生成させるための高速クロック及びシ
フトレジスタ10のためのシフトクロックを発生するも
のである。
The clock generator 6 generates a high-speed clock for generating addresses of the address counter 7 in ascending order and a shift clock for the shift register 10.

【0020】シフトレジスタ10はラベル登録メモリ8
の最初(第1の)のラベルに同期して読出される基準パ
ルスをシフトクロックに同期して順次シフトするもので
あり、Nビットシフタとなっている。このNビット出力
に夫々対応してアンドゲート11がN個設けられてお
り、比較器9からの一致パルスを共通の一入力とし、各
他入力には対応シフト出力が夫々供給されている。
The shift register 10 has a label registration memory 8
The reference pulse read out in synchronization with the first (first) label is sequentially shifted in synchronization with the shift clock, and is an N-bit shifter. N AND gates 11 are provided corresponding to the N-bit outputs, respectively. The coincidence pulse from the comparator 9 is used as one common input, and the corresponding shift outputs are supplied to the other inputs.

【0021】これ等アンドゲート11の各出力はバッフ
ァ切換え条件判定回路30へ入力されており、これ等N
個のアンド出力の状態と、予めこの回路の内部で設定さ
れている条件とに応じてバッファ切換え制御信号が出力
される。
Each output of these AND gates 11 is input to a buffer switching condition judging circuit 30, and these N
A buffer switching control signal is output in accordance with the state of each AND output and a condition set in advance inside this circuit.

【0022】ダブルバッファ回路20はデータ検出部4
による検出データを取込みつつデータ転送先12からの
基準トリガに応答してデータ転送要求クロックに同期し
つつ取込みデータを順次読出すものである。また、ダブ
ルバッファ回路20内の2つのバッファの書込み/読出
しがバッファ切換え制御信号により交互に逆になる様に
切換え制御される。
The double buffer circuit 20 includes a data detecting section 4
In response to the reference trigger from the data transfer destination 12 while fetching the detected data, the fetched data is sequentially read out in synchronization with the data transfer request clock. Further, switching control is performed such that writing / reading of two buffers in the double buffer circuit 20 is alternately reversed by a buffer switching control signal.

【0023】ARINC429受信データには、データ
及びクロックが含まれているために、これ等はデータ復
調回路1及びクロック復調回路2にて夫々復調される。
すなわち、データ復調回路1では、受信データのデータ
部がARINC429型式から通常のデジタル形式に変
換される。クロック復調回路2では、受信データのクロ
ック部分が復調されて同様にデジタル形式とされる。
Since the ARINC 429 received data contains data and a clock, these are demodulated by the data demodulation circuit 1 and the clock demodulation circuit 2, respectively.
That is, in the data demodulation circuit 1, the data portion of the received data is converted from the ARINC429 type to the normal digital format. In the clock demodulation circuit 2, the clock portion of the received data is demodulated and similarly converted into a digital format.

【0024】復調されたデータ部分はデータ種別を示す
ラベルビット(図6参照)とデータビットとに分けら
れ、ラベル検出部3及びデータ検出部4にて夫々検出さ
れる。
The demodulated data portion is divided into a label bit indicating the data type (see FIG. 6) and a data bit, and detected by the label detecting section 3 and the data detecting section 4, respectively.

【0025】先述した如く、ARINC429データバ
スから受信されるデータは航空機の姿勢,位置,高度,
加速度等の情報が1パケット中に図6に示すフォーマッ
トで含まれており、これ等は互いに異なる更新レートで
シリアル形式にて入力されている。
As mentioned above, the data received from the ARINC429 data bus includes the attitude, position, altitude,
Information such as acceleration is included in one packet in the format shown in FIG. 6, and these are input in serial format at different update rates.

【0026】ラベル検出部3で検出されたラベル及びデ
ータ検出部4で検出されたデータは、ダブルバッファ回
路20へ入力される。図2はこのダブルバッファ回路2
0の例を示すブロック図である。
The label detected by the label detector 3 and the data detected by the data detector 4 are input to the double buffer circuit 20. FIG. 2 shows this double buffer circuit 2
It is a block diagram which shows the example of 0.

【0027】図2において、検出されたラベルはラベル
/バッファアドレス変換用PROM21のアドレスとし
て入力され、データを書込むバッファ24または26の
ラベル対応のアドレスに変換される。これにより受信デ
ータの各項目ラベルのデータは全てバッファ内の予め定
められた各アドレスに夫々書込まれることになり、読出
されない場合は次々と上書きされる。データの読出し
は、データ転送先12からのデータ転送要求クロックに
同期してアドレスカウンタ27の初期設定値から昇順に
行われる。
In FIG. 2, the detected label is input as an address of the label / buffer address conversion PROM 21 and is converted into an address corresponding to the label of the buffer 24 or 26 for writing data. As a result, all the data of each item label of the received data is written to each predetermined address in the buffer, and if not read, it is overwritten one after another. Data reading is performed in ascending order from the initial setting value of the address counter 27 in synchronization with a data transfer request clock from the data transfer destination 12.

【0028】以下に、本ダブルバッファ回路の動作を説
明する。検出されたデータはバスドライバ22を通って
1つのデータバッファ24に入り、マルチプレクサ23
も、ラベル/バッファアドレス変換用PROM21出力
をデータバッファ24に入力させる。これにより、検出
されたデータはデータバッファ24上で指定されたアド
レスに次々に書込まれていく。
The operation of the double buffer circuit will be described below. The detected data enters one data buffer 24 through the bus driver 22 and is supplied to the multiplexer 23.
Also, the output of the label / buffer address conversion PROM 21 is input to the data buffer 24. As a result, the detected data is sequentially written to the designated addresses on the data buffer 24.

【0029】本ダブルバッファ回路にバッファ切換え制
御信号が入力されると、フリップフロップ25はこれを
送出先のフォーマット動作の開始点を示す基準トリガで
ラッチした後、マルチプレクサ23の切換え信号として
出力する。マルチプレクサ23はこの切換え信号が入力
されると、これまでデータバッファ24に対して出力し
ていた書込みアドレスをデータバッファ26へ出力し、
データ転送要求クロックからアドレスカウンタ27によ
り作られる読出しアドレスをデータバッファ24に対し
て出力する。この時、バスドライバ22は検出データを
データバッファ24に対して出力せず、バスドライバ2
8は検出データをデータバッファ26に対して出力す
る。
When a buffer switching control signal is input to the present double buffer circuit, the flip-flop 25 latches the buffer switching control signal with a reference trigger indicating the starting point of the format operation of the destination, and then outputs the signal as a switching signal of the multiplexer 23. When this switching signal is input, the multiplexer 23 outputs the write address previously output to the data buffer 24 to the data buffer 26,
The read address generated by the address counter 27 is output to the data buffer 24 from the data transfer request clock. At this time, the bus driver 22 does not output the detection data to the data buffer 24, and the bus driver 2
8 outputs the detected data to the data buffer 26.

【0030】この様に、本ダブルバッファ回路に切換え
制御信号が入力される毎に、データバッファ24とデー
タバッファ26とは交互に書込みと読出しを繰返し、マ
ルチプレクサ29が読出し側のバッファを選択して送出
する。
As described above, every time the switching control signal is input to the present double buffer circuit, the data buffer 24 and the data buffer 26 alternately repeat writing and reading, and the multiplexer 29 selects the buffer on the reading side. Send out.

【0031】次に、2つのバッファの切換えを制御する
バッファ切換え制御信号の発生方法を図1,3及び4を
使って説明する。ラベル検出部3で検出されたラベルは
また、クロック復調回路2で復調されたクロック信号に
よりラベルホールド5で、次に受信するデータ項目のラ
ベルが検出されるまで保持される。
Next, a method of generating a buffer switching control signal for controlling switching between two buffers will be described with reference to FIGS. The label detected by the label detection unit 3 is also held by the label hold 5 by the clock signal demodulated by the clock demodulation circuit 2 until the label of the next data item to be received is detected.

【0032】クロック発生部6はあるラベルが保持され
る時間を後述する参照ラベルの総数Nで割った時間より
小さい周期を持つクロック信号を発生し、アドレスカウ
ンタ7に出力する。ラベル登録PROM8には、受信デ
ータに含まれる全項目に付随する参照ラベルが登録され
ており、クロック発生部6からのクロック信号の周期で
インクリメントされるアドレスカウンタ7の出力によっ
て読出され、比較器9により順次保持されたラベルと比
較される。
The clock generator 6 generates a clock signal having a period smaller than the time obtained by dividing the time during which a certain label is held by the total number N of reference labels, which will be described later, and outputs the clock signal to the address counter 7. Reference labels associated with all items included in the received data are registered in the label registration PROM 8, and are read out by the output of the address counter 7 which is incremented by the cycle of the clock signal from the clock generator 6, and are read by the comparator 9. Is compared with the sequentially held labels.

【0033】ラベルの一致が検出されると、比較器9
は、アンドゲート11に一致検出パルスを出力する。シ
フトレジスタ10は、データの項目数分の出力を持ちク
ロック発生部6からのクロック信号に従って、ラベル登
録PROM8から出力する基準パルスをシフトさせてい
く(図3参照)。この基準パルスは最初に参照するラベ
ルと同一のアドレスに書込まれており、参照ラベルは予
め知られている受信データ1パケット中の受信順序(既
知である)に従い書込まれている。
When a label match is detected, the comparator 9
Outputs a coincidence detection pulse to the AND gate 11. The shift register 10 has outputs for the number of data items and shifts the reference pulse output from the label registration PROM 8 in accordance with the clock signal from the clock generator 6 (see FIG. 3). The reference pulse is written at the same address as the label to be referred to first, and the reference label is written in accordance with a known reception order (known) in one packet of received data.

【0034】アンドゲート11は、1パケット中のデー
タ種別数N分用意され、一致検出パルスが出力したタイ
ミングで種別に対応する位置(1〜N)から“1”を出
力する。このアンドゲート出力はバッファ切換え条件判
定回路30に入力される。
The AND gates 11 are prepared for the number N of data types in one packet, and output "1" from the position (1 to N) corresponding to the type at the timing when the coincidence detection pulse is output. This AND gate output is input to the buffer switching condition determination circuit 30.

【0035】図4にバッファ切換え条件判定回路の例を
示す。アンドゲート11の出力であるN個の信号は比較
器31に入り、スイッチ32で設定された状態と比較さ
れる。スイッチ32の各スイッチ素子321〜32Nは
入力信号の各々と1対1で対応し、切換え条件としたい
種別(項目)の位置が「ON」となる。このスイッチの
「ON」設定は複数箇所可能であり、比較3は、N個の
入力の中で“1”となる項目がスイッチ「ON」の項目
と一致した場合にバッファ切換え制御信号をダブルバッ
ファ回路20へ出力する。これにより、ARINC42
9受信データに対しダブルバッファを切換える条件を任
意に設定でき、データの更新に対応した転送を行うこと
が可能となる。
FIG. 4 shows an example of the buffer switching condition determination circuit. The N signals output from the AND gate 11 enter the comparator 31 and are compared with the state set by the switch 32. Each of the switch elements 321 to 32N of the switch 32 has one-to-one correspondence with each of the input signals, and the position of the type (item) to be set as the switching condition is “ON”. The switch can be set to “ON” at a plurality of positions. In comparison 3, the buffer switching control signal is double-buffered when the item “1” among the N inputs coincides with the switch “ON” item. Output to the circuit 20. Thereby, ARINC42
The condition for switching the double buffer can be arbitrarily set for the nine received data, and the transfer corresponding to the data update can be performed.

【0036】図5はデータ転送先12(図1参照)から
発生される基準トリガとARINC429データとの関
係,ダブルバッファ回路20内のフリップフロップ25
とマルチプレクサ23との各動作タイミング,データ転
送先データフォーマットのタイミングを夫々示してい
る。
FIG. 5 shows the relationship between the reference trigger generated from the data transfer destination 12 (see FIG. 1) and the ARINC 429 data, and the flip-flop 25 in the double buffer circuit 20.
2 shows the operation timing of the multiplexer 23 and the timing of the data format of the data transfer destination.

【0037】基準トリガはデータ転送先12のフォーマ
ット動作の開始点を示す信号であり、この基準トリガに
同期してバッファの切換え制御信号がフリップフロップ
25へラッチされ、このラッチ出力によりマルチプレク
サ23の切換えが行われる。
The reference trigger is a signal indicating the starting point of the format operation of the data transfer destination 12, and a buffer switching control signal is latched by the flip-flop 25 in synchronization with the reference trigger, and the multiplexer 23 is switched by the latch output. Is performed.

【0038】従って図4のスイッチ32の各スイッチ素
子321〜32Nにより予め選択的に設定されたラベル
(項目)が検出されたとき、その直後の基準トリガに同
期してバッファ24,26の書込み/読出しが切換えら
れることになる。その結果、転送先のデータフォーマッ
トの開始点に同期して検出ラベル(項目)の最新データ
が読出されて送出されるのである。
Therefore, when a label (item) which is selectively set in advance is detected by each of the switch elements 321 to 32N of the switch 32 of FIG. 4, the writing / writing of the buffers 24 and 26 is synchronized with the reference trigger immediately after that. Reading will be switched. As a result, the latest data of the detection label (item) is read out and transmitted in synchronization with the start point of the data format of the transfer destination.

【0039】[0039]

【発明の効果】叙上の如く、本発明によれば、更新され
るデータ種別中の所望のデータ種別に関して、ダブルバ
ッファを切換える条件を設定することができ、よって更
新レートが大なる種別のものでも最新のデータを送出す
ることが可能になるという効果がある。
As described above, according to the present invention, a condition for switching the double buffer can be set for a desired data type in the data type to be updated, and therefore, a type having a large update rate can be set. However, there is an effect that the latest data can be transmitted.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】図1のダブルバッファ回路20の例を示す図で
ある。
FIG. 2 is a diagram illustrating an example of a double buffer circuit 20 of FIG. 1;

【図3】図1のブロックの一部動作を示すタイミングチ
ャートである。
FIG. 3 is a timing chart showing a partial operation of the block in FIG. 1;

【図4】図1のバッファ切換え条件判定回路30の例を
示す図である。
FIG. 4 is a diagram illustrating an example of a buffer switching condition determination circuit 30 of FIG. 1;

【図5】本発明の実施例の動作を示すタイミングチャー
トである。
FIG. 5 is a timing chart showing the operation of the embodiment of the present invention.

【図6】本発明に使用される受信データのフォーマット
例を示す図である。
FIG. 6 is a diagram showing a format example of received data used in the present invention.

【符号の説明】[Explanation of symbols]

1 データ復調回路 2 クロック復調回路 3 ラベル検出部 4 データ検出部 5 ラベルホールド部 6 クロック発生部 7 アドレスカウンタ 8 ラベル登録PROM 9,31 比較器 10 シフトレジタ 11 アンドゲート 12 データ転送先 20 ダブルバッファ回路 21 ラベル/バッファアドレス変換用PROM 22,28 バスドライバ 23,29 マルチプレクサ 24,26 データバッファ 27 アドレスカウンタ 28 フリップフロップ 30 バッファ切換え条件判定回路 32 スイッチ Reference Signs List 1 data demodulation circuit 2 clock demodulation circuit 3 label detection unit 4 data detection unit 5 label hold unit 6 clock generation unit 7 address counter 8 label registration PROM 9, 31 comparator 10 shift register 11 AND gate 12 data transfer destination 20 double buffer circuit 21 PROM for label / buffer address conversion 22, 28 Bus driver 23, 29 Multiplexer 24, 26 Data buffer 27 Address counter 28 Flip-flop 30 Buffer switching condition judgment circuit 32 Switch

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 データ部とこのデータ部の種別を示すデ
ータ種別部とが一組とされてフォーマット化された複数
組の受信データを受信して一時的に格納し、この受信デ
ータとは非同期的にこの格納受信データを読出しつつ送
出するようにしたデータバッファ回路であって、 前記受信データのデータ部を格納する第1及び第2のバ
ッファ手段と、 前記受信データのデータ種別を検出してこのデータ種別
が予め設定されたデータ種別と一致するか否かを判定す
る判定手段と、 この判定結果の一致に応答して、前記第1及び第2のバ
ッファ手段のデータ書込み及び読出し状態を逆に切換え
制御する制御手段と、 を含むことを特徴とするデータバッファ回路。
A data part and a data type part indicating the type of the data part are received as a set and a plurality of sets of received data are received and temporarily stored, and are asynchronous with the received data. A data buffer circuit configured to read out the stored received data while transmitting the data, wherein first and second buffer means for storing a data portion of the received data; and detecting a data type of the received data. Determining means for determining whether the data type matches a preset data type; and responding to the determination result by reversing the data writing and reading states of the first and second buffer means. Control means for performing switching control on the data buffer circuit.
【請求項2】 前記判定手段は、前記受信データのデー
タ種別の全てを予め格納した参照データ種別記憶手段
と、前記データ種別部のデータ種別を検出して一時格納
するデータ種別検出手段と、前記データ種別検出手段に
より検出されたデータ種別と前記参照データ種別記憶手
段に格納されている全ての参照データ種別とを比較して
受信データのデータ種別を判別する手段と、この判別さ
れたデータ種別が前記予め設定されたデータ種別である
かどうかを判定する手段とを有することを特徴とする請
求項1記載のデータバッファ回路。
2. A reference data type storage unit in which all of the data types of the received data are stored in advance, a data type detection unit that detects the data type of the data type unit and temporarily stores the data type, Means for comparing the data type detected by the data type detection means with all the reference data types stored in the reference data type storage means to determine the data type of the received data; 2. The data buffer circuit according to claim 1, further comprising: means for determining whether the data type is the preset data type.
【請求項3】 前記制御手段は、前記第1のバッファ手
段へのデータ書込み中に前記第2のバッファ手段からの
データの読出しを、外部からの基準トリガ信号に応答し
て外部からの読出しクロックに同期して行うようにした
ことを特徴とする請求項1または2記載のデータバッフ
ァ回路。
3. An external read clock in response to an external reference trigger signal for reading data from the second buffer means during data writing to the first buffer means. 3. The data buffer circuit according to claim 1, wherein the data buffer circuit is operated in synchronization with the data buffer.
【請求項4】 前記制御手段は、前記判定手段による判
定結果の一致に応答してそれに続いて発生した前記基準
信号のタイミングにより、前記第1及び第2のバッファ
手段のデータ書込み及び読出し状態を逆に切換え制御す
るようにしたことを特徴とする請求項3記載のデータバ
ッファ回路。
4. The control means changes the data write and read states of the first and second buffer means in accordance with the timing of the reference signal generated subsequently in response to the coincidence of the judgment results by the judgment means. 4. The data buffer circuit according to claim 3, wherein switching control is performed on the contrary.
【請求項5】 前記制御手段は、前記バッアァ手段の読
出しを初期設定アドレスから順次行うよう制御すること
を特徴とする請求項1〜4いずれか記載のデータバッフ
ァ回路。
5. The data buffer circuit according to claim 1, wherein said control means controls reading of said buffer means so as to sequentially start from an initial setting address.
JP9239259A 1997-09-04 1997-09-04 Data buffer circuit Withdrawn JPH1185462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9239259A JPH1185462A (en) 1997-09-04 1997-09-04 Data buffer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9239259A JPH1185462A (en) 1997-09-04 1997-09-04 Data buffer circuit

Publications (1)

Publication Number Publication Date
JPH1185462A true JPH1185462A (en) 1999-03-30

Family

ID=17042110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9239259A Withdrawn JPH1185462A (en) 1997-09-04 1997-09-04 Data buffer circuit

Country Status (1)

Country Link
JP (1) JPH1185462A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7707333B2 (en) * 2004-09-29 2010-04-27 Fujitsu Microelectronics Limited Data transferring device for transferring data sent from one communication device to another communication device
JP2017132451A (en) * 2015-08-18 2017-08-03 ザ・ボーイング・カンパニーThe Boeing Company Aeronautical message monitor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7707333B2 (en) * 2004-09-29 2010-04-27 Fujitsu Microelectronics Limited Data transferring device for transferring data sent from one communication device to another communication device
JP2017132451A (en) * 2015-08-18 2017-08-03 ザ・ボーイング・カンパニーThe Boeing Company Aeronautical message monitor

Similar Documents

Publication Publication Date Title
EP0226017B1 (en) Data synchronizer between a source system and a sink system
EP0312238A2 (en) FIFO buffer controller
JPH1185462A (en) Data buffer circuit
US5263028A (en) Frame transfer device for a fixed format frame transmission network
US6487140B2 (en) Circuit for managing the transfer of data streams from a plurality of sources within a system
US7023850B2 (en) Multicasting apparatus and method in shared memory switch
JPS5939939B2 (en) Synchronous transfer control method
US6499067B1 (en) Serial communication apparatus and serial communication system
US20080101374A1 (en) Packet fifo
EP1426595B1 (en) Apparatus for and method of transferring data
JP3522997B2 (en) Communication circuit and data transmission system using communication circuit
US5802595A (en) Serial data transfer apparatus
US9641463B2 (en) Relating buffer management
KR19980073172A (en) Error Detection Method of Asynchronous Data Transceiver
JPH10340596A (en) Data storage device and semiconductor storage device
JPS59195728A (en) Data processing device
JP2912210B2 (en) Asynchronous serial data transmission device
JPH0877125A (en) Synchronous transfer method for asynchronous data
JPH10105375A (en) Asynchronous fifo buffer device
SU1310835A1 (en) Computer-computer interface
SU1381527A1 (en) Device for outputting data to telegraph apparatus
JPH0730528A (en) Clock transfer circuit
JPS6059838A (en) Network supervising device
JPH0738594A (en) Cyclic data control method
JPH095423A (en) Data transfer device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20041207