JPS59206962A - Data storage processing device - Google Patents

Data storage processing device

Info

Publication number
JPS59206962A
JPS59206962A JP58083563A JP8356383A JPS59206962A JP S59206962 A JPS59206962 A JP S59206962A JP 58083563 A JP58083563 A JP 58083563A JP 8356383 A JP8356383 A JP 8356383A JP S59206962 A JPS59206962 A JP S59206962A
Authority
JP
Japan
Prior art keywords
data
flip
flop
boundary
memory
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.)
Pending
Application number
JP58083563A
Other languages
Japanese (ja)
Inventor
Shigenori Kino
茂徳 木野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP58083563A priority Critical patent/JPS59206962A/en
Publication of JPS59206962A publication Critical patent/JPS59206962A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To eliminate the waiting time of a CPU, by giving a signal indicating the boundary of data to an FIFO (first-in first-out) memory at the time of termination of data writing and utilizing the signal at the time of data reading out. CONSTITUTION:By means of the 1st CPU15 which performs data writing, a boundary signal is given to an FIFO memory 170 at the time of termination of each data writing and the FIFO memory 170 gives the boundary signal to the 2nd CPU16 which performs data readout at the time of termination of each data readout. When such an arrangement is made, the data writing side can write data continuously even though the data are of non-fixed length and the reading out side can discriminate the boundary of data without adding any special circuit. Moreover, the writing and reading out sides can operate independently without retrieving the condition of the other side.

Description

【発明の詳細な説明】 この発明は、データが入力された順番通りに出力を行う
First−In−First−Out (略称FIF
O)と呼ばれるメモリを用いて制御データ等の転送処理
を行なうデータ記憶処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides first-in-first-out (abbreviated as FIF) data that outputs data in the order in which they are input.
The present invention relates to a data storage processing device that performs transfer processing of control data and the like using a memory called O).

従来のこの種の装置のFIFOメモリとして第1図に示
すものがあった。図において、(1)はデータ入力端子
、(2a)〜(2d)はデータを運ぶデータ線であり、
これらはそれぞれ8個の端子と8本の線から構成されて
いる。(3a)〜(3C)は8ビツトのデータを並列に
記憶するラッチ回路、(4)はデータ出力端子である。
A conventional FIFO memory for this type of device is shown in FIG. In the figure, (1) is a data input terminal, (2a) to (2d) are data lines that carry data,
Each of these consists of eight terminals and eight wires. (3a) to (3C) are latch circuits that store 8-bit data in parallel, and (4) is a data output terminal.

また(5a)、(5b)は2人力のANDゲート、(6
)は3人力のANDゲート・(7)はクロックの立ち上
がりで出力をセットするディレィフリップフロップ回路
(以後Dフリップフロップと記す。)、(8a)〜(8
C)はセットリセットフリップフロップ回路(PJ、後
SRフリップフロップと記す。)である。(9)は反転
回路、00はデータのメモリへの書き込みクロックを入
力する書き込み端子、(11)は書き込みが可能か否か
を表示する書き込み可表示端子、(功は内部の回路の初
期化信号を入力する初期化端子、(13はメモリ内容を
読み出すことが可能か否かを表示する読み出し可表示端
子、(14)はメモリ内容を読み出すクロックを入力す
る読み出し端子である。第1図の回路が取り扱う信号は
、全てディジタル信号であり、電気的高レベルを単に高
レベル、電気的低レベルを単に低レベルと記す。
In addition, (5a) and (5b) are two-man AND gates, (6
) is a three-person AND gate, (7) is a delay flip-flop circuit that sets the output at the rising edge of the clock (hereinafter referred to as a D flip-flop), (8a) to (8
C) is a set/reset flip-flop circuit (PJ, later referred to as SR flip-flop). (9) is an inverting circuit, 00 is a write terminal that inputs the clock for writing data into the memory, (11) is a write enable display terminal that indicates whether writing is possible, (the function is an initialization signal for the internal circuit) (13 is a readable display terminal that indicates whether the memory contents can be read or not. (14) is a read terminal that inputs a clock for reading the memory contents. The circuit shown in FIG. 1 All the signals handled by the system are digital signals, and an electrical high level is simply referred to as a high level, and an electrical low level is simply referred to as a low level.

また、ラッチ回路(3a)〜(3C)はストローブ信号
(以後STBと記す。)の低レベルから高レベルへの変
化点でデータ線(2a)〜(2d)上のデータを取り込
み、かつ同時に出力する。第1図では、左側が入力側、
右側が出力側であり、データは図上左から右へ送られる
。ANDゲート(5a)(5b ) +61は入出力と
も高レベルを論理1 とする。
In addition, the latch circuits (3a) to (3C) capture data on the data lines (2a) to (2d) at the change point of the strobe signal (hereinafter referred to as STB) from low level to high level, and simultaneously output the data. do. In Figure 1, the left side is the input side,
The right side is the output side, and data is sent from left to right in the diagram. AND gates (5a) (5b) +61 have a logic 1 when both the input and output are at high level.

Dフリップフロップ(7)はクロック(図中CLK)の
立ちあがりでセット状態となる。セット状態とは、出力
Qが高レベル、出力Qが低レベルとなる状態であり、リ
セット状態とは、出力Qが低レベル。
The D flip-flop (7) enters the set state at the rising edge of the clock (CLK in the figure). The set state is a state in which the output Q is at a high level and the output Q is at a low level, and the reset state is a state in which the output Q is at a low level.

出力qが高レベルとなる状態である。そしてSRフリッ
プフロップ(8a)〜(8C)についても、セット状態
、リセット状態の定義は同一である。
This is a state in which the output q is at a high level. The definitions of set state and reset state are also the same for SR flip-flops (8a) to (8C).

次に動作について説明する。Next, the operation will be explained.

まず、FIFOメモリ0ηを使用するに先だって、初期
化端子O4よりパルス信号を入力し、これによりラッチ
回路(3a)〜(3C)に記憶されているデータをクリ
アし、SRフリップフロップ(8a)〜(8C)をリセ
ット状態とする。これにより、書き込み可表示端子0D
が高レベル、読み出し可表示端子(131が低レベルと
なる。書き込み可表示端子(11Jは、高レベルが書き
込み可、低レベルが書き込み不可を示し、読み出し可表
示端子OJは、高レベルが読み出し可、低レベルが読み
出し不可を示す。
First, before using the FIFO memory 0η, input a pulse signal from the initialization terminal O4, thereby clearing the data stored in the latch circuits (3a) to (3C), and clearing the data stored in the SR flip-flops (8a) to (8C) is set to a reset state. As a result, the writable display terminal 0D
is a high level, a readable display terminal (131 is a low level), a writable display terminal (11J, a high level indicates that writing is possible, a low level indicates that it is not possible to write, and a readable display terminal OJ, a high level indicates that it is readable) , a low level indicates that reading is not possible.

次にFIFOメモIJ Q7+にデータを書き込む場合
には、データ入力端子(1)に、簀き込むべきデータ8
bitを高レベルあるいは低レベルで伝えた後、書き込
み端子fl(11へ書ぎ込みクロックを入力する。Dフ
リップフロップ(7)は、書き込みクロックの低レベル
かう高レベルへの変化点でセットされ、またこの時SR
フリップフロップ(8a)がリセットされているためA
NDゲート(5a)は、論理l を出力する。ANDゲ
ート(5a)の出力の論理°0”から論理 1 への変
化点で、ラッチ回路(3a)は、データ入力端子(1)
のデータをデータ線(2a)を通じて取り込む。また、
上記ANDゲー) (5a)の出力は、Dフリップフロ
ップ(7)のリセット端子と、SRフリップフロップ(
8a)のセット端子につながれており、上記変化点にお
いてDフリップフロップ(7)がリセット状態へ、SR
フリップフロップ(8a)がセット状態となる。この時
葺き込み可表示端子αυは、書き込み不可を表示する。
Next, when writing data to the FIFO memory IJ Q7+, input the data 8 to be stored into the data input terminal (1).
After transmitting the bit at high level or low level, the write clock is input to the write terminal fl (11).The D flip-flop (7) is set at the point where the write clock changes from low level to high level. At this time, SR
A because the flip-flop (8a) has been reset.
The ND gate (5a) outputs logic l. At the point where the output of the AND gate (5a) changes from logic 0" to logic 1, the latch circuit (3a) connects the data input terminal (1)
data is taken in through the data line (2a). Also,
The output of the above AND game (5a) is connected to the reset terminal of the D flip-flop (7) and the SR flip-flop (
8a), and at the above change point, the D flip-flop (7) goes into the reset state, and the SR
The flip-flop (8a) becomes set. At this time, the writing-enabled display terminal αυ indicates that writing is not possible.

また今、SRフリップフロップ(8b)はリセット状態
にあるからSRフリップフロップ(8a)がセットされ
ると、ANDゲート(5b)の入力が、2人力とも論理
′1゛となり、出力が論理゛1゛ となる。そこで、ラ
ッチ回路(3b)は、データ線(2b)上のデータを取
り込むが、この時データ線(2b)上のデータは、デー
タ入力端子(1)に入力され、ラッチ回路(3a)で取
り込まれたデータである。
Also, now that the SR flip-flop (8b) is in the reset state, when the SR flip-flop (8a) is set, both inputs to the AND gate (5b) become logic '1', and the output becomes logic '1'. It becomes ゛. Therefore, the latch circuit (3b) takes in the data on the data line (2b), but at this time, the data on the data line (2b) is input to the data input terminal (1) and is taken in by the latch circuit (3a). This is the data obtained.

ANDゲー) (5b)の出力は、SRフリップ70ツ
ブ(8b)のセット端子とSitフリップフロップ(8
亀)のリセット端子に接続されており、ラッチ回路(3
b)がデータを取り込むと同時に、SRフリップフロッ
プ(8b)がセット状態になり、SRフリップフロップ
(8a)がリセット状態となる。
The output of the AND game) (5b) is connected to the set terminal of the SR flip 70 tube (8b) and the Sit flip-flop (8b).
It is connected to the reset terminal of the latch circuit (3).
At the same time as b) takes in data, the SR flip-flop (8b) goes into the set state, and the SR flip-flop (8a) goes into the reset state.

そして該SRフリップフロップ(8a)がリセット状態
になることにより、書き込み可表示端子(11)は書き
込み可を示す。こうして、データ入力端子(1)から入
力されたデータは、ラッチ回路(3b)に取り込まれた
ことになる。
When the SR flip-flop (8a) enters the reset state, the writable display terminal (11) indicates writable. In this way, the data input from the data input terminal (1) is taken into the latch circuit (3b).

さらに上記と同じ様にして、ラッチ回路(3b)のデー
タはラッチ回路(3C)へ引き渡され、SRフリップ7
0ツブ(8b)がリセット状態に、SRフリップフロッ
プ(8C)がセット状態となる。この時、次のデータが
データ入力端子(1)に入力され、書き込みクロックが
書き込み端子00に入力されると、該データは上記と同
様の手順でラッチ回路(3b)に取り込まれるが、SR
フリップフロップ(8C)がセット状態になっているた
め、ANDゲート(6)の出力は論理0 のままである
。このため、ラッチ回路(3b)まで送られたデータは
そのままでラッチ回路(3C)へは伝えられず、SRフ
リップフロップ(8b)もセット状態を続ける。一方、
Sλフリップフロップ(8C)がセットされたことによ
り、読み出し可表示端子(13)は読み出し可を表示す
る。
Furthermore, in the same manner as above, the data of the latch circuit (3b) is transferred to the latch circuit (3C), and the SR flip 7
The 0 tube (8b) is in the reset state and the SR flip-flop (8C) is in the set state. At this time, when the next data is input to the data input terminal (1) and the write clock is input to the write terminal 00, the data is taken into the latch circuit (3b) in the same procedure as above, but the SR
Since the flip-flop (8C) is in the set state, the output of the AND gate (6) remains at logic 0. Therefore, the data sent to the latch circuit (3b) is not transmitted to the latch circuit (3C) as is, and the SR flip-flop (8b) also continues to be set. on the other hand,
Since the Sλ flip-flop (8C) is set, the readable display terminal (13) displays readable.

次にFIFOメモリ(1η内のデータを読み出す場合に
ついて説明する。データがラッチ回路(3C)に取り込
まれると、データ出力端子(4)に、データが出力され
ることとなり、また、SRフリップフロップ(8C)が
セットされることにより、読み出し可表示端子(13)
が読み出し可を表示すると、読み出し者は、読み出し端
子側から読み出しクロックを入力する。この読み出し端
子(14)は通常低レベルにあり、読み出しの期間中は
高レベルとなる。読み出し端子(14Jが高レベルとな
ると、SRフリップフロップ(8c)がリセット状態と
なり、読み出し可表示端子(131は読み出し不可を示
す。続いて、読み出し端子(141が低レベルにもどる
と、SRフリップフロップ(8b)がセット状態にあり
、かつラッチ回路(3b)に次のデータが取り込まれて
いる場合には、ANDゲート(6)の入力が全て論理°
1“となり、出力が論理“1゛となる。そこでラッチ回
路(3C)は、ラッチ回路(3b)のデータを受は取る
と同時に、SRフリップフロップ(8c)をセット、S
Rフリップフロップ(8b)をリセットする。こうして
、読み出し可表示ポー) (13)は、再び読み出し可
を示すようになる。
Next, we will explain the case of reading data from the FIFO memory (1η). When the data is taken into the latch circuit (3C), the data will be output to the data output terminal (4), and the SR flip-flop ( 8C) is set, the readable display terminal (13)
When the display indicates that reading is possible, the reader inputs a read clock from the read terminal side. This read terminal (14) is normally at a low level and is at a high level during readout. When the read terminal (14J) becomes a high level, the SR flip-flop (8c) goes into a reset state, and the read-enabled display terminal (131 indicates that reading is not possible).Subsequently, when the read terminal (141) returns to a low level, the SR flip-flop (8c) (8b) is in the set state and the next data is taken into the latch circuit (3b), all the inputs of the AND gate (6) are in the logic
1", and the output becomes logic "1". Therefore, the latch circuit (3C) receives and receives data from the latch circuit (3b), and at the same time sets the SR flip-flop (8c).
Reset the R flip-flop (8b). In this way, the readable indicator (13) again indicates readable.

さらに、ラッチ回路(3a)にデータが取り込まれてい
て、SRフリップフロップ(8a)がセット状態にある
と、同じように、ANDゲート(5b)の出力が論理 
1 となり、ラッチ回路(3a)のデータがラッチ回路
(3b)に引き渡される。こうして、内部3つのSRフ
リップフロップ(8a)〜(80)が全てリセット状態
となった時、読み出し可表示端子03Iは、読み出し不
可を表示したまま安定となる。
Furthermore, when the data is captured in the latch circuit (3a) and the SR flip-flop (8a) is in the set state, the output of the AND gate (5b) becomes a logic
1, and the data in the latch circuit (3a) is transferred to the latch circuit (3b). In this way, when all three internal SR flip-flops (8a) to (80) are in the reset state, the readable display terminal 03I remains stable while displaying readable.

このように、FIFOメモリαη内のデータを読み出す
時には、読み出し端子0揚を、高レベルから低レベルへ
変化させることにより、書き込まれた順番に、データが
読み出されることになる。
In this way, when reading data in the FIFO memory αη, by changing the read terminal 0 from high level to low level, the data is read out in the order in which it was written.

従来のFIFOメモリは、以上のように構成されていた
ので、データの書き込み側又はデータの読み出し側は、
書き込み可又は読み出し可が知らされるだけであった。
Conventional FIFO memory was configured as described above, so on the data writing side or the data reading side,
It was only informed whether it was writable or readable.

このため、例えば第2図で示処理装置Bであり、(1η
は上記従来例として説明した構成をとるFIFOメそり
である。
For this reason, for example, in the processing device B shown in FIG.
is a FIFO memory having the configuration described above as the conventional example.

今、演算処理装置A (1ωから、演算処理装置B06
)へ、長さが一定しないデータ(以後非定長データと記
す。)を送るとする。演算処理装置A (15)は、書
き込み可表示端子01)を検索しながらデータを書き込
み、演算処理装置B (161は、読み出し可表示端あ
るため、いつがデータの終了時かを知ることができない
。読み出し可表示端子09は、SRフリップフロップ(
8C)がセット状態にあるか否かを示すのみであり、ま
た読み出し端子側が高レベルになると必ず読み出し不可
を表示するため、演算処理装置B (161は、読み出
し可表示端子(IQが読み出し不可を表示しているから
といって、FIFOメモリ1171の内容が空になった
と判定することはできない。
Now, arithmetic processing unit A (from 1ω, arithmetic processing unit B06
), data of variable length (hereinafter referred to as non-fixed length data) is sent. Arithmetic processing unit A (15) writes data while searching for writable display terminal 01), and arithmetic processing unit B (161) cannot know when the data ends because it has a readable display terminal. The readable display terminal 09 is an SR flip-flop (
8C) is in the set state, and also always indicates that reading is not possible when the read terminal side becomes high level. Just because it is displayed, it cannot be determined that the contents of the FIFO memory 1171 are empty.

また、演算処理装置’A Q51から複数ブロックの非
定長データ、すなわち長さが一定していないあるデータ
を1ブロツクとし、2つ以上のブロックを演算処理装置
B (161に送ろうとすると、ブロックの境界を示す
ために、前のブロックをFIFOメモリ(171に書き
込んだ後該FIFOメモリ0ηの内容が一度空になるの
を待ってからしか次のブロックのデータを書き込めない
。このため待ち時間が必要となり、演算処理装置A 、
  B (151f16)の使用効率を落としていた。
Also, if you try to send multiple blocks of non-fixed length data, that is, certain data whose length is not constant, from the arithmetic processing unit 'A Q51 to the arithmetic processing unit B (161), the block After writing the previous block to the FIFO memory (171) to indicate the boundary of It becomes necessary, and the arithmetic processing unit A,
The usage efficiency of B (151f16) was reduced.

この発明は、上記のような従来のものの欠点を除去する
ためになされたもので、FIFOメモリと、該メモリに
対しデータの書き込み、読み出しを行う第1.第2中央
処理装置とを備えたデータ記憶処理装置において、上記
第1中央処理装置により、各データと次のデータとの境
界を示す境界信号を各データの書き込み終了時に上記メ
モリに与え、該メモリにより、上記境界信号を各データ
の読み出し終了時に上記第2中央処理装置に与えるよう
にすることにより、FIFOメモリを通じての非定長デ
ータの転送時にも第1.第2中央処理装置の待ち時間を
不要にでき、そのため使用効率を大きく向上できるデー
タ記憶−処理装置を提供することを目的としている。
The present invention was made in order to eliminate the drawbacks of the conventional ones as described above, and includes a FIFO memory and a first memory for writing and reading data to and from the FIFO memory. a second central processing unit, the first central processing unit applies a boundary signal indicating a boundary between each data and the next data to the memory at the end of writing each data; By applying the boundary signal to the second central processing unit at the end of reading each data, the first . It is an object of the present invention to provide a data storage/processing device that can eliminate the need for waiting time for a second central processing unit, thereby greatly improving usage efficiency.

以下、この発明の一実施例を図について説明する。An embodiment of the present invention will be described below with reference to the drawings.

第4図は本発明の一実施例によるデータ記憶処理装置を
示し、第3図はそのFIFOメモリ(170)を示す。
FIG. 4 shows a data storage processing device according to an embodiment of the present invention, and FIG. 3 shows its FIFO memory (170).

第3図において、(1)〜(]41は、第1図に示した
従来のものと全く同じである。(18)はデータの境界
を示す境界信号を入力する境界入力端子、0ωは入力ク
ロックの低レベルから高レベルへの変化でセット状態と
なるDフリップフロップ、(20a)〜(20C)はS
Rフリップフロップ、(21a)〜(21C)はAND
ゲート、■は境界信号を出力する境界出力端子、(ハ)
はANDゲートである。
In Fig. 3, (1) to (]41 are exactly the same as the conventional one shown in Fig. 1. (18) is a boundary input terminal into which a boundary signal indicating a data boundary is input, and 0ω is an input terminal. D flip-flops (20a) to (20C) are S flip-flops that become set when the clock changes from low level to high level.
R flip-flops, (21a) to (21C) are AND
gate, ■ is the boundary output terminal that outputs the boundary signal, (c)
is an AND gate.

また第4図において、Q51は上記FIFOメモリ(1
70)に対し、データの書き込み及び境界信号の入力を
行う第1中央処理装置、(IF5はFIFOメモリ(1
70)からのデータの読み出しを行う第2中央処理装置
である。
In FIG. 4, Q51 is the FIFO memory (1
70), a first central processing unit that writes data and inputs boundary signals; (IF5 is a FIFO memory (1
70).

次に本実施例装置の動作を説明する。Next, the operation of the device of this embodiment will be explained.

データ入力端子(1)に入力されたデータがデータ出力
端子(4)に伝えられるまでの、ラッチ回路(3a)〜
(3c)、ANDゲート(5a) (5b)(61,D
 −y IJ ツブフロップ(7)、及びSRフリップ
フロップ(8a)〜(8C)の動作については従来の場
合と全く同じである。また、書き込み端子(1e、読み
出し可表示端子(1(至)及び読み出し端子Oaの動作
についても、従来のものと全く同じである。
The latch circuit (3a) ~ until the data input to the data input terminal (1) is transmitted to the data output terminal (4)
(3c), AND gate (5a) (5b) (61,D
-y IJ The operations of the tube flop (7) and the SR flip-flops (8a) to (8C) are exactly the same as in the conventional case. Furthermore, the operations of the write terminal (1e), the readable display terminal (1 (to)), and the read terminal Oa are completely the same as those of the conventional device.

第1中央処理装置(1ωによるFIFOメモIJ (1
70)へのデータ書き込みが終了すると、該第1中央処
理装置(旧は、境界入力端子(181に低レベルから高
レベルとなり再び低レベルにもどる境界信号を入力する
。するとDフリップフロップ+191は、このパルス(
境界信号)の低レベルから高レベルへの変化点でセット
状態となる。これにより続いてSRフリップフロップ(
20a)がセット状態になると、Dフリップフロップα
(ト)はリセット状態になり、ANDゲート(21の出
力が論理 Oとなることにより書き込み可表示端子(1
1)は書き込み不可を表示する。なお、このように境界
入力端子(18)より入力された信号が、SRフリップ
フロップ(20a)をセットしている状態を境界マーク
状態と呼ぶことにする。
FIFO memo IJ (1
70), a boundary signal that changes from low level to high level and returns to low level is input to the first central processing unit (formerly known as boundary input terminal (181). Then, the D flip-flop +191 This pulse (
The set state is reached at the point where the boundary signal) changes from low level to high level. This subsequently creates an SR flip-flop (
20a) is set, the D flip-flop α
(G) enters the reset state, and the output of the AND gate (21 becomes logic O), which causes the writable display terminal (1
1) indicates that writing is not possible. Note that the state in which the signal input from the boundary input terminal (18) sets the SR flip-flop (20a) in this manner will be referred to as a boundary mark state.

続いて、上記書き込みが不可の状態においてSkフリッ
プフロップ(8a)がリセット状態になると、すなわち
ラッチ回路(3a)の内容がラッチ回路(3b)に伝え
られると、ANDゲート(21a)02人力が論理゛1
′となり、その出力が論理゛1°となる。これによりS
Rフリップフロップ(20b)がセット状態、SRフリ
ップフロップ(20a)がリセット状態となり、上記境
界マーク状態がSRフリップフロップの(20a)から
(20b)へ引き渡される。
Subsequently, when the Sk flip-flop (8a) enters the reset state in the write-disabled state, that is, when the contents of the latch circuit (3a) are transmitted to the latch circuit (3b), the AND gate (21a) 02 becomes the logic state.゛1
', and its output becomes logic 1°. This allows S
The R flip-flop (20b) is in the set state, the SR flip-flop (20a) is in the reset state, and the boundary mark state is transferred from the SR flip-flop (20a) to (20b).

これと同時に、ANDゲート關は2人力ともに論表示端
子(111が書き込み可を表示する。この時、次のデー
タが書き込まれた場合においても、データ読み出し側、
即ち第2中央処理装置t (161では、境界信号によ
り前のデータと区別することが可能である。SRフリッ
プフロップ(20b)へ伝えられた境界マーク状態は、
同様にしてSRフリップフロップ(20C)に伝えられ
、SRフリップフロップ(8C)がリセット状態になっ
た時、すなわち書き込み側が意図したデータの区切りま
での全データが読み出された時、第2中央処理装置(1
ωは境界出力端子@からパルス信号即ち境界信号を得る
ことができる。
At the same time, both the AND gates are connected to the logic display terminal (111) indicating that writing is possible.At this time, even if the next data is written, the data reading side
That is, in the second central processing unit t (161), it is possible to distinguish the data from the previous data by the boundary signal.The boundary mark state transmitted to the SR flip-flop (20b) is
In the same way, the information is transmitted to the SR flip-flop (20C), and when the SR flip-flop (8C) is in the reset state, that is, when all the data up to the data break intended by the writing side has been read, the second central processing Equipment (1
As for ω, a pulse signal, that is, a boundary signal can be obtained from the boundary output terminal @.

また、最後のデータのFIFOメモリ(170)への書
込み終了時には、上記第1中央処理装置(151により
、データの終了を示すデータ終了信号がメモリ(170
)に与えられ、該データ終了信号は該メモリ(170)
により、上記最後のデータの読出し終了時に第2中央処
理装置αeに与えられ、これにより第2中央処理装置(
16)はデータの終了を知ることができる。
Furthermore, when the writing of the last data to the FIFO memory (170) is completed, the first central processing unit (151) sends a data end signal indicating the end of data to the memory (170).
), and the data end signal is applied to the memory (170).
is given to the second central processing unit αe at the end of reading the last data, and as a result, the second central processing unit (
16) can know the end of data.

なお、上記実施例では、FIFOメモリ容量をラッチ回
路(3a)〜(3c)の3個分としたが、この容量はラ
ッチ回路何個分にしてもよい。また、デ−少入力端子(
月、データ出力端子(4)およびデータ料錯も8個に限
らずいくつにしてもよい。また、データの境界を示す境
界信号は、何回入力してもよく、即ち同一時刻に本実施
例装置内部に複数の境界マーク状態が存在していてもよ
い。
In the above embodiment, the FIFO memory capacity was set to three latch circuits (3a) to (3c), but this capacity may be set to any number of latch circuits. In addition, the data input terminal (
The number of months, data output terminals (4), and data terminals is not limited to eight, but may be any number. Furthermore, the boundary signal indicating the data boundary may be input any number of times, that is, a plurality of boundary mark states may exist within the apparatus of this embodiment at the same time.

以上のように、この発明によれば、データ書き込みを行
う第1中央処理装置により各データの書き込み終了時に
境界信号をFIFOメモリに与え、vFIFoメモリに
より、各データの読み出し終了時に上記境界信号をデー
タ読み出しを行なう第2中央処理装置に与えるようにし
たので、データ書き込み側は、非定長データでも連続し
て書き込むことができ、読み出し側も、他に特別な回路
を付加することなく、データの境界を知ることができ、
そのためデータ転送に際しては、書き込み側と読み出し
側は相互に相手装置の回路状態を検索することなく独立
動作することが可能となり、装置の使用効率を大きく向
上できる効果がある。
As described above, according to the present invention, the first central processing unit that performs data writing gives the boundary signal to the FIFO memory at the end of writing each data, and the vFIFO memory sends the boundary signal to the FIFO memory at the end of reading each data. Since the data is fed to the second central processing unit that performs reading, the data writing side can continuously write even non-fixed length data, and the reading side can also write data without adding any other special circuit. Being able to know the boundaries
Therefore, during data transfer, the writing side and reading side can operate independently without mutually searching the circuit status of the other device, which has the effect of greatly improving the usage efficiency of the device.

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

第1図は、従来(y) First −In −Fir
st −0ut メモリの構成図、第2図は上記従来の
FIFOメそりを使用する場合の使用例を示す構成図、
第3図はこの発明の一実施例によるデータ記憶処理装置
のFIFOメモリの構成図、第4図は上記実施例装置の
構成図である。 115)・・・第1中央処理装置、f16)・・・第2
中央処理装置、(170)・・・FIFOメモリ。 なお、図中、同一符号は同一、又は相当部分を示す。 代理人  大 岩 増 雄
Figure 1 shows the conventional (y) First -In -Fir
A configuration diagram of the st-0ut memory, FIG. 2 is a configuration diagram showing an example of use when using the above-mentioned conventional FIFO memory,
FIG. 3 is a block diagram of a FIFO memory of a data storage processing apparatus according to an embodiment of the present invention, and FIG. 4 is a block diagram of the apparatus of the above embodiment. 115)...first central processing unit, f16)...second
Central processing unit, (170)...FIFO memory. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Agent Masuo Oiwa

Claims (1)

【特許請求の範囲】[Claims] (1)データが書き込まれた順に出力を行なうメモリと
、該メモリに対しデータの書き込みを行なう第1中央処
理装置と、上記メモリからデータの読み出しを行なう第
2中央処理装置とを備えたデータ記憶処理装置において
、上記第1中央処理装置は上記メモリに記憶すべき各デ
ータの書き込み終了時各データに続いて該データと次の
データとの境界を示す境界信号を上記メモリに与えるも
のであり、上記メモリは上記第2中央処理装置による上
記メモリからの各データの読み出し終了時該データに続
いて上記境界信号を上記第2中央処理装置に与えるもの
であることを特徴とするデータ記憶処理装置。
(1) A data storage comprising a memory that outputs data in the order in which it is written, a first central processing unit that writes data to the memory, and a second central processing unit that reads data from the memory. In the processing device, the first central processing unit provides the memory with a boundary signal indicating a boundary between the data and the next data following each data upon completion of writing of each data to be stored in the memory; A data storage processing device characterized in that said memory provides said boundary signal to said second central processing unit following said data when said second central processing unit finishes reading each data from said memory.
JP58083563A 1983-05-11 1983-05-11 Data storage processing device Pending JPS59206962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58083563A JPS59206962A (en) 1983-05-11 1983-05-11 Data storage processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58083563A JPS59206962A (en) 1983-05-11 1983-05-11 Data storage processing device

Publications (1)

Publication Number Publication Date
JPS59206962A true JPS59206962A (en) 1984-11-22

Family

ID=13805979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58083563A Pending JPS59206962A (en) 1983-05-11 1983-05-11 Data storage processing device

Country Status (1)

Country Link
JP (1) JPS59206962A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0673940U (en) * 1985-03-22 1994-10-18 アメリカン テレフォン アンド テレグラフ カムパニー Data receiver

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5178655A (en) * 1974-12-29 1976-07-08 Fujitsu Ltd
JPS56121152A (en) * 1980-02-27 1981-09-22 Hitachi Ltd Monitor system of computer program
JPS56152067A (en) * 1980-04-25 1981-11-25 Mitsubishi Electric Corp Microprocessor coupler

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5178655A (en) * 1974-12-29 1976-07-08 Fujitsu Ltd
JPS56121152A (en) * 1980-02-27 1981-09-22 Hitachi Ltd Monitor system of computer program
JPS56152067A (en) * 1980-04-25 1981-11-25 Mitsubishi Electric Corp Microprocessor coupler

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0673940U (en) * 1985-03-22 1994-10-18 アメリカン テレフォン アンド テレグラフ カムパニー Data receiver

Similar Documents

Publication Publication Date Title
US5079693A (en) Bidirectional FIFO buffer having reread and rewrite means
US4433394A (en) First-in first-out storage and processing unit making use thereof
US5587953A (en) First-in-first-out buffer memory
US4649512A (en) Interface circuit having a shift register inserted between a data transmission unit and a data reception unit
US4236225A (en) Data buffer memory of the first-in, first-out type, having a variable input and a fixed output
US4282572A (en) Multiprocessor memory access system
US5867672A (en) Triple-bus FIFO buffers that can be chained together to increase buffer depth
JPH03130983A (en) Pipeline serial memory and method of pipeline thereof
CN109388370B (en) Method and device for realizing first-in first-out queue
JPH06259225A (en) Synchronizer of data transfer
JPH04301290A (en) Pushup memory circuit
US6941434B2 (en) Self-synchronous FIFO memory device having high access efficiency, and system provided with interface for data transfer using the same
US4314361A (en) Data buffer memory of the first-in, first-out type comprising a fixed input and a variable output
JPH01250133A (en) Arbiter
US5526316A (en) Serial access memory device
US6510483B1 (en) Circuit, architecture and method for reading an address counter and/or matching a bus width through one or more synchronous ports
JPS59206962A (en) Data storage processing device
US5307472A (en) Data transfer interface module
US5283763A (en) Memory control system and method
US6055588A (en) Single stage FIFO memory with a circuit enabling memory to be read from and written to during a single cycle from a single clock
JPH0744537B2 (en) Digital signal time difference correction circuit
JP3013800B2 (en) Asynchronous FIFO circuit
US6486704B1 (en) Programmable burst FIFO
US3815096A (en) Stacking store having overflow indication for the transmission of data in the chronological order of their appearance
US5091870A (en) Apparatus for measuring the speed of transmission of digital characters