JPS607529A - Buffer memory device - Google Patents

Buffer memory device

Info

Publication number
JPS607529A
JPS607529A JP58115589A JP11558983A JPS607529A JP S607529 A JPS607529 A JP S607529A JP 58115589 A JP58115589 A JP 58115589A JP 11558983 A JP11558983 A JP 11558983A JP S607529 A JPS607529 A JP S607529A
Authority
JP
Japan
Prior art keywords
data
memory circuit
written
memory
output
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
JP58115589A
Other languages
Japanese (ja)
Inventor
Tsukasa Kudo
司 工藤
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 JP58115589A priority Critical patent/JPS607529A/en
Publication of JPS607529A publication Critical patent/JPS607529A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/06Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
    • G06F5/16Multiplexed systems, i.e. using two or more similar devices which are alternately accessed for enqueue and dequeue operations, e.g. ping-pong buffers

Abstract

PURPOSE:To shorten a data reading time by switching the mode between the data input and the data output of each memory circuit when the reading is through with all addresses written into one of two memory circuits. CONSTITUTION:When the reading is through with all addresses written previously into one of the 1st and 2nd memory circuits, the mode is switched between the data input and the data output of each memory circuit before the writing is through for the other memory circuit. For instance, the reading is through for the data written into a memory circuit 2 and the new data is written into a memory circuit 1. Under such conditions, a flag 13 is inverted and reset by a control circuit 31 and then the circuits 1 and 2 are set in data output and data input modes respectively. Then the data of the register 5 is stored in a register 32 in said mode switching state. Then counters 7 and 8 are reset and ''0'' is stored to registers 5, 6 and 33 respectively.

Description

【発明の詳細な説明】 本発明は例えばデータ処理装置の動作速度の異なる装置
を結合するバッファメモリ装置、特にデータの読み出し
速度を速くするようにした装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a buffer memory device that connects, for example, data processing devices operating at different speeds, and particularly to a device that increases data read speed.

従来、この種の装置として第1図に示すものがあった。Conventionally, there has been a device of this type as shown in FIG.

図において(1)、(2)はメモリ回路、(3)はメモ
リ回路(1)、(2)のいずれかに書き込むべきデータ
を格納するレジスタ、(4)はメモリ回路(1)、(2
)のいずれかから読み出されたデータを格納するレジス
タ、(5)。
In the figure, (1) and (2) are memory circuits, (3) is a register that stores data to be written to either memory circuit (1) or (2), and (4) is a memory circuit (1) or (2).
); (5) a register for storing data read from one of the registers;

(6)はメモリ回路(1)、(2)のアドレスを指定す
るためのデータを格納するレジスタ、(7)(8)はリ
セット機能及びキャリー信号CI。
(6) is a register that stores data for specifying addresses of memory circuits (1) and (2); (7) and (8) are reset functions and carry signals CI.

C2を出力する機能を有するカウンタ、(9)は選択回
路、(10)は上記メモリ回路(1)。
A counter having a function of outputting C2, (9) a selection circuit, and (10) the memory circuit (1).

(2)、カウンタ(7)、(8)等を制御する制御回路
、(11)はメモリ回路(1)、(2)のいずれかの全
アドレスにデータが書き込まれて、メモリ回路(1)、
(2)のいずれかからデータ出力が可能な場合にセット
されるフラグ、(12)はメモリ回路(1)、 (2)
のいずれかのアドレスにデータ書き込みの余地があり、
メモリ回路(1)、(2)のいずれかにデータ入力が可
能な場合にセットされるフラグ、(13)はメモリ回路
(1)がデータ入力モードに設定され、メモリ回路(2
)がデータ出力モードに設定される場合にセットされ、
逆にメモリ回路(1)がデータ出力モードに設定され、
メモリ回路(2)がデータ入力モードに設定される場合
にリセットされるフラグ、(14)は入力データをレジ
スタ(3)に入力するデータ・バス、(15)〜(18
)はデータ・バス、(19)は出力データを外部装置に
出力する出力バス、(20)、(21)は各々カウンタ
(7)、(8)の出力をレジスタ(5)。
(2), a control circuit that controls counters (7), (8), etc., and (11), data is written to all addresses of either memory circuit (1) or (2), and memory circuit (1) ,
A flag that is set when data output is possible from either (2), (12) is the memory circuit (1), (2)
There is room to write data to one of the addresses,
A flag (13) is set when data input is possible to either memory circuit (1) or (2).
) is set to data output mode,
Conversely, the memory circuit (1) is set to data output mode,
A flag that is reset when the memory circuit (2) is set to data input mode, (14) is a data bus that inputs input data to the register (3), (15) to (18)
) is a data bus, (19) is an output bus for outputting output data to an external device, and (20) and (21) are registers (5) for the outputs of counters (7) and (8), respectively.

(6)に入力するバス、(22)、(23)は各々カウ
ンタ(7)、(8)からキャリー信号CI。
Buses (22) and (23) input to (6) are carry signals CI from counters (7) and (8), respectively.

C2を制御回路(10)に入力する信号線、(24)は
外部装置からのデータ出力要求信号りを入力する信号線
、(25)は外部装置からのデータ入力要求信号Wを入
力する信号線、(26)。
A signal line that inputs C2 to the control circuit (10), (24) a signal line that inputs a data output request signal from an external device, and (25) a signal line that inputs a data input request signal W from an external device. , (26).

(27)は各々フラグ(11) 、(12)の内容を制
御回路(10)及び外部装置に入力する信号線、(28
)はフラグ(13)内容を制御回路(10)に入力する
信号線である。上記メモリ回路(1)、(2)は制御回
路(10)によってデータ出力モードとデータ入力モー
ドに交互に切換えられ、重複して同じモードに設定され
ない。また上記カウンタ(7)、バス(20)、レジス
タ(5)及びカウンタ(8)、バス(21)、レジスタ
(6)はそれぞれアドレス指定信号発生回路(29)、
(30)を構成し、これでメモリ回、路(1)、(2)
のアドレスが例えばO番地のアドレスから最終アドレス
まで指定される。なお、0番地から最終アドレスまで指
定したら逆にN番地からO番地に向かって指定するよう
にしてもよい。
(27) is a signal line that inputs the contents of flags (11) and (12) to the control circuit (10) and external device, and (28)
) is a signal line for inputting the contents of the flag (13) to the control circuit (10). The memory circuits (1) and (2) are alternately switched to a data output mode and a data input mode by a control circuit (10), and are not set to the same mode twice. Further, the counter (7), bus (20), register (5), counter (8), bus (21), and register (6) are each connected to an address designation signal generation circuit (29),
(30), and now the memory circuit, circuits (1), (2)
For example, the addresses from address O to the final address are specified. Note that after specifying from address 0 to the final address, it may be specified conversely from address N to address O.

次に以上の構成による従来のバッファメモリ装置の動作
について説明する。初期設定として、メモリ回路(1)
、(2)のアドレスを指定するデータを格納するレジス
タ(5)、(6)に0が格納され、フラグ(11)がリ
セット、フラグ(12)、(13)がセットされる。フ
ラグ(12)がセットされるので、メモリ回路(1)。
Next, the operation of the conventional buffer memory device having the above configuration will be explained. As an initial setting, the memory circuit (1)
, (2) are stored with 0 in registers (5) and (6), flag (11) is reset, and flags (12) and (13) are set. Since the flag (12) is set, the memory circuit (1).

(2)はデータ入力のみが可能となり、また、フラグ(
13)がセントされるのでメモリ回路(1)がデータ入
力モードに設定され、信号線(25)から入力要求信号
Wが入力されると、入力データはレジスタ(3)に格納
されてメモリ回路(1)のO番地のアドレスに書き込ま
れる。この動作と並行してカウンタ(7)がカウント・
アップされるので、上記アドレスへの書き込み終了後に
レジスタ(5)にカウンタ(7)の出力が格納され次の
番地のアドレスが指定される。入力要求信号Wが入力さ
れる毎にこの動作が順次繰り返される。メモリ回路(1
)の最後のアドレスにデータが書き込まれてカウンタ(
7)がカウント・アンプされるとカウンタ(7)からキ
ャリー信号C1が出力され、この信号C1が信号線(2
2)を介して制御回路(10)に入力される。この信号
C1が入力されると、データ出力可能を示すフラグ(1
1)がセットされ、またフラグ(13)かりセントされ
る。フラグ(13)がリセフトされるとメモリ回路(2
)がデータ入力モードに設定され、このため入力データ
は上記と同様の動作によって入力要求信号Wが入力され
ることによりメモリ回路(2)の各アドレスに順次書き
込まれる。次に、出力要求信号りが信号線(24)から
入力されると、メモリ回路(1)のレジスタ(5)の出
力で指定される所定のアドレスのデータは選択回路(9
)によって選択され、レジスタ(4)に格納されて出力
される。このときカウンタ(7)がカウント・アップさ
れ、このデータがレジスタ(5)に格納されて次の番地
のアドレスが指定される。出力要求信号りが入力される
毎にこの動作が繰り返される。メモリ回路(1)の全ア
ドレスのデータの読み出し終了後、カウンタ(7)から
キャリー信号C1が出力された場合において、メモリ回
路(2)の全アドレスにデータが書き込まれてカウンタ
(8)からもキャリー信号C2が出力された時点でフラ
グ(13)がセットされる。
In (2), only data input is possible, and the flag (
13) is sent, the memory circuit (1) is set to data input mode, and when the input request signal W is input from the signal line (25), the input data is stored in the register (3) and the memory circuit ( 1) is written to address O. In parallel with this operation, the counter (7) counts
After writing to the above address is completed, the output of the counter (7) is stored in the register (5) and the next address is designated. This operation is sequentially repeated each time the input request signal W is input. Memory circuit (1
) is written to the last address of the counter (
7) is counted and amplified, a carry signal C1 is output from the counter (7), and this signal C1 is applied to the signal line (2).
2) to the control circuit (10). When this signal C1 is input, a flag (1
1) is set, and the flag (13) is also set. When the flag (13) is reset, the memory circuit (2
) is set to the data input mode, and therefore input data is sequentially written to each address of the memory circuit (2) by inputting the input request signal W through the same operation as described above. Next, when an output request signal is input from the signal line (24), the data at the predetermined address specified by the output of the register (5) of the memory circuit (1) is transferred to the selection circuit (9).
), stored in register (4), and output. At this time, the counter (7) is counted up, this data is stored in the register (5), and the next address is specified. This operation is repeated every time an output request signal is input. When the carry signal C1 is output from the counter (7) after reading data from all addresses of the memory circuit (1), the data is written to all addresses of the memory circuit (2) and is also read from the counter (8). A flag (13) is set when the carry signal C2 is output.

これによりメモリ回路(1)がデータ入力モードに設定
されメモリ回路(2)がデータ出力モードに切替えられ
る。すなわち一方のメモリ回路の全アドレスの読み出し
が最終し、他方のメモリ回路の全アドレスの書き込みが
終了した後にデータ出力モードとデータ入力モードとの
切替えが行われろものである。このように、一方のメモ
リ回路に入力データを書き込みこれと並行して他方のメ
モリ回路から予め書き込んだデータを出力することがで
きるため動作速度の異なる装置を結合するためのデータ
・バッファメモリ装置を構成できる。
As a result, the memory circuit (1) is set to the data input mode and the memory circuit (2) is switched to the data output mode. That is, the switching between the data output mode and the data input mode is performed after all addresses in one memory circuit have been read and all addresses in the other memory circuit have been written. In this way, input data can be written to one memory circuit and pre-written data can be output from the other memory circuit in parallel, making it possible to use a data buffer memory device to connect devices with different operating speeds. Can be configured.

しかしながら従来のバッファメモリ装置において、各メ
モリ回路(1)、(2)は全アドレスにデータが書き込
まれた後でなければ読み出しモードに設定されないので
最初に書き込まれたデータは、メモリ回路の全てのアド
レスにデータが書き込まれた後でなければ読み出されず
、メモリ回路の容量が大きくなるに従ってデータが書き
込まれてから読み出されるまでの時間が長くなるという
欠点があった。
However, in conventional buffer memory devices, each memory circuit (1), (2) is set to read mode only after data has been written to all addresses. The drawback is that data cannot be read out until after it has been written to an address, and as the capacity of the memory circuit increases, the time from when data is written until when it is read becomes longer.

本発明は上記の欠点を除去するためになされたもので、
第1.第2メモリ回路のうち一方のメモリ回路に予め書
き込まれた全アドレスの読み出しが終了した時に、他方
のメモリ回路の書き込み終了を待つことなく、各メモリ
回路のデータ入力とデータ出力のモードを切換えるよう
にして、上記データの読み出し時間を短縮するものであ
る。すなわち入力要求信号Wが入力された場合に第1゜
第2メモリ回路のいずれか一方に入力データを書き込み
、出力要求信号りが入力された場合に他方のメモリ回路
にまだ読み出されていないデータがあれば、それを読み
出して出力するというものであるが、次の第1の条件、
好ましくは第1の条件と第2の条件が成立した場合にデ
ータ出力モードに設定されているメモリ回路をデータ入
力モードに切換え、データ入力モードに設定されている
メモリ回路をデータ出力モードに切換えるのである。
The present invention has been made to eliminate the above-mentioned drawbacks.
1st. When reading of all addresses written in advance in one of the second memory circuits is completed, the data input and data output modes of each memory circuit are switched without waiting for the writing of the other memory circuit to be completed. This shortens the data read time. That is, when input request signal W is input, input data is written to either the first or second memory circuit, and when output request signal W is input, data that has not yet been read to the other memory circuit is written. If there is, it will be read and output, but the first condition is as follows:
Preferably, when the first condition and the second condition are met, a memory circuit set in data output mode is switched to data input mode, and a memory circuit set in data input mode is switched to data output mode. be.

上記の条件のうち第1の条件はデータ出力モードに設定
された一方のメモリ回路に予め書き込まれた全てのデー
タの読み出しが終了したことであり、第2の条件はデー
タ入力モードに設定された他方のメモリ回路に1つ以上
の新たに書き込まれたデータが存在することである。従
って、データ入力モードに設定されているメモリ回路は
データの書き込み途中でデータ出力モードに設定される
のでデータの読み出し時間を短縮できる。以下実施例を
用いて本発明の詳細な説明する。
The first condition among the above conditions is that reading of all data previously written in one memory circuit set to data output mode has been completed, and the second condition is that one memory circuit is set to data input mode. The presence of one or more newly written data in the other memory circuit. Therefore, the memory circuit set to the data input mode is set to the data output mode during data writing, so that the data reading time can be shortened. The present invention will be described in detail below using Examples.

第2図は本発明によるバッファメモリ装置の一実施例を
示すブロック図であり、同図において、(1)〜(9)
、(11)〜(30)は第1図において説明した従来の
装置と同一のものである。
FIG. 2 is a block diagram showing an embodiment of the buffer memory device according to the present invention, and in the same figure, (1) to (9)
, (11) to (30) are the same as the conventional device explained in FIG.

(31)は制御回路、(32)、(33)はリセット可
能なレジスタ、(34)、(35)は各々レジスタ(5
)とレジスタ(32)、レジスタ(6)とレジスタ(3
3)のデータを比較する比較回路、(36)、(37)
は各々比較回路(34)、(35)に入力された2つの
データが等しいときに出力される一致信号Ml、M2を
制御装置(31)に入力する信号線、(38)〜(41
)はデータ・ハスである。
(31) is a control circuit, (32) and (33) are resettable registers, and (34) and (35) are each register (5
) and register (32), register (6) and register (3
3) Comparison circuit that compares the data, (36), (37)
are signal lines (38) to (41) that input coincidence signals Ml and M2, which are output when the two data input to the comparison circuits (34) and (35) are equal, to the control device (31), respectively;
) is the data hash.

このような構成によるバッファメモリ装置の動作につい
て以下説明する。
The operation of the buffer memory device having such a configuration will be described below.

初期設定及び」二記のメモリ回路(1)、(2)のデー
タ入出力モードが切換ねる時の動作について説明する。
The initial setting and the operation when the data input/output mode of the memory circuits (1) and (2) are switched will be explained.

いま、フラグ(13)がセントされてからメモリ回路(
1)がデータ入力モードに設定され、メモリ回路(2)
がデータ出力モードに設定されているものとし、データ
出力モードに設定されたメモリ回路(2)に書き込まれ
た全てのデータの読め出しが終了する第1の条件及びデ
ータ入力モードに設定されたメモリ回路(1)に1つ以
上の新たな書き込まれたデータが存在する第2の条件が
成立したとする。このとき、制御回路(31)が作動し
、フラグ(13)が反転してリセットされ、メモリ回路
(1)がデータ出力モードに設定され、メモリ回路(2
)がデータ入力モードに設定される。このモード切換わ
り時にレジスタ(32)にレジスタ(5)のチ゛−タ(
上記モードの切換わり時点において指定されていたメモ
リ回路(1)のアドレス指定データ)が格納され、続い
てカウンタ(7)、(8)がリセットされ、レジスタ(
5)、(6)及びレジスタ(33)に0が格納される。
Now, after the flag (13) is sent, the memory circuit (
1) is set to data input mode, and the memory circuit (2)
is set to the data output mode, and the first condition is that reading of all data written in the memory circuit (2) set to the data output mode is completed, and the memory set to the data input mode. Assume that the second condition that one or more newly written data exists in circuit (1) is satisfied. At this time, the control circuit (31) is activated, the flag (13) is inverted and reset, the memory circuit (1) is set to data output mode, and the memory circuit (2) is set to data output mode.
) is set to data entry mode. When this mode is switched, the register (32) is set to register (5).
The address designation data of the memory circuit (1) specified at the time of the above mode switching is stored, then the counters (7) and (8) are reset, and the register (
5), (6) and register (33) are stored with 0.

なお初期設定ではレジスタ 。The default setting is register.

(30)にもOが格納される。次にフラグ(11)(1
2)がセントされてデータの外部装置からの入出力が可
能になり、上に述べたように入出力信号W、Lに応じて
データの入出力を実行する。レジスタ(6)、(33)
のデータは最初は共に0であるため、比較回路(35)
から一致信号M2が出力されるが、メモリ回路(2)に
0番地のアドレスにデータが書き込まれるとレジスタ(
6)のデータがカウント・アップされるため一致信号M
2が出力されなくなる。このことは不一致信号が出力さ
れたとも解することができる。これは上記の第2の条件
が成立したことを意味する。またメモリ回路(1)から
データが出力される毎にレジスタ(5)に格納されてい
るデータがカウント・アンプされ、アドレスが順次指定
されデータが書き込まれるが、レジスタ(5)のデータ
とレジスタ(32)に予め記憶されているデータが等し
′くなると比較回路(32)から一致信号M1が出力さ
れる。すなわちメモリ回路(1)からレジスタ(32)
に記憶されている指定アドレスのデータが読み出される
と、これは前回のデータ入力モードのときのメモリ回路
(1)に書き込まれた全てのデータが読み出されたこと
を意味するから上記の第1の条件が成立したことを意味
する。第2の条件はすでに成立しているから再びメモリ
回路(1)、(2)のモードが切換えられる。
O is also stored in (30). Next flag (11) (1
2) is sent, data can be input/output from an external device, and data input/output is executed in accordance with input/output signals W and L as described above. Register (6), (33)
Since both data are 0 at first, the comparison circuit (35)
A match signal M2 is output from the register (2), but when data is written to address 0 in the memory circuit (2), the register (
Since the data in 6) is counted up, the match signal M
2 will no longer be output. This can also be interpreted as a mismatch signal being output. This means that the second condition above is satisfied. Furthermore, each time data is output from the memory circuit (1), the data stored in the register (5) is counted and amplified, addresses are sequentially specified, and the data is written. 32) become equal, a match signal M1 is output from the comparator circuit (32). That is, from the memory circuit (1) to the register (32)
When the data at the specified address stored in the memory circuit (1) is read out, this means that all the data written in the memory circuit (1) in the previous data input mode has been read out. This means that the condition is satisfied. Since the second condition has already been met, the modes of the memory circuits (1) and (2) are switched again.

従って、一方のメモリ回路から、予め書き込まれたデー
タが全て読み出されると、他方のメモリ回路に書き込み
がわずかでもなされておれば、モードの切換わりがなさ
れるので、読み出しを速くすることができる。なお、第
1の条件に加えて、第2の条件を付加したのは、書き込
みが全くなされていないにも拘わらず、読み出し動作が
行われてしまう無駄をなくすためである。
Therefore, when all previously written data is read from one memory circuit, if even a small amount of data has been written to the other memory circuit, the mode is switched, so that reading can be speeded up. Note that the reason why the second condition is added in addition to the first condition is to avoid wasteful reading operations performed even though no writing has been performed.

なお、データ入力モードに設定されたメモリ回路の全て
のアドレスにデータが書き込まれた場合、このメモリ回
路に対応するカウンタ(7)あるG)はカウンタ(8)
からキャリー信号CI、、C2が出力されて制御回路(
31)に入力され、フラグ(12)がリセットされて外
部装置からのデータ入力が不可能になる。また、上記の
第1の条件だけが成立した場合、入力された全てのデー
タが出力されたことを意味するため、フラグ(11)が
リセットされて外部装置へのデータ出力が不可能になる
。フラグ(11)、(12)は上記の2つの条件が満た
された場合セ・ノドされる。
Note that when data is written to all addresses of a memory circuit set to data input mode, the counter (7) (G) corresponding to this memory circuit becomes the counter (8).
Carry signals CI, , C2 are output from the control circuit (
31), the flag (12) is reset, and data input from an external device is disabled. Further, if only the first condition is satisfied, it means that all input data has been output, so the flag (11) is reset and data cannot be output to an external device. Flags (11) and (12) are set when the above two conditions are met.

なお、上記実施例では各メモリ回路(1)。Note that in the above embodiment, each memory circuit (1).

(2)はデータの入力に関して最初に書き込んだデータ
を最初に読み出すものとして説明したが、レジスタ(3
2)、(33)に常にOをセ・ノドし、カウンタ(7)
、(8)にカウント・ア・ノブ、カラント・ダウンの機
構を持たせて、データの書き込みではカウント・アップ
してアドレスを最終アドレスの方向に指定し、読み出し
ではカウント・ダウンを行って、アドレスを0番地のア
F’レス方向に指定すれば、最後に書き込んだデータを
最初に読み出すことができ、上記実施例と同様の効果を
奏する。
(2) was explained assuming that the first written data is read first regarding data input, but register (3)
2), (33) always put an O on the counter (7)
, (8) is provided with a count-a-knob and current-down mechanism, and when writing data, it counts up and specifies the address in the direction of the final address, and when reading, it counts down and specifies the address. By specifying the data in the address direction of address 0, the data written last can be read out first, producing the same effect as in the above embodiment.

以上のように、本発明によれば、第1.第2メモリ回路
をデータ入力モードとデータ出力モードに交互に切換え
る制御装置を有するバッファメモリ装置において、デー
タ出力モードに設定されたメモリ回路の、データ入力モ
ードで書き込まれた全てのデータが読み出されたときに
2つのメモリ回路のデータ入出力モードを入れ替えるよ
うに構成したので、書き込まれたデータを早く取り出す
ことができるという効果を奏する。
As described above, according to the present invention, the first. In a buffer memory device having a control device that alternately switches a second memory circuit between a data input mode and a data output mode, all data written in the data input mode of the memory circuit set to the data output mode is read out. Since the data input/output mode of the two memory circuits is exchanged when the data input/output mode of the two memory circuits is changed, it is possible to quickly retrieve the written data.

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

第1図は従来のバッファメモリ装置のブロック図、第2
図は本発明の一実施例によるバッファメモリ装置のブロ
ック図である。 (1)、(2) ・・・メモリ回路、(5)。 (6)、(32)、(33) ・・・レジスタ、(7)
、(8) ・・・カウンタ、(10)。 (31)・・・制御回路、(11) 、(12) 。 (13)・・・フラグ、<34)、(35) ・・・比
較回路。 なお、図中、同一符号は同一または相当部分を示す。 代理人 大岩増雄(ほか2名)
Figure 1 is a block diagram of a conventional buffer memory device, Figure 2 is a block diagram of a conventional buffer memory device.
FIG. 1 is a block diagram of a buffer memory device according to an embodiment of the present invention. (1), (2)...Memory circuit, (5). (6), (32), (33) ... register, (7)
, (8) ... counter, (10). (31)...control circuit, (11), (12). (13)...Flag, <34), (35)...Comparison circuit. In addition, in the figures, the same reference numerals indicate the same or corresponding parts. Agent Masuo Oiwa (and 2 others)

Claims (1)

【特許請求の範囲】 (11第1.第2メモリ回路のアドレスを所定の順序に
従って指定するアドレス指定手段と、上記第1、第2メ
モリ回路を、データを書き込むデータ入力モードとデー
タを鱗み出すデータ出力モードとに交互に切換える制御
手段とを具備するへソファメモリ装置において、上記第
1.第2メモリ回路に書き込まれるデータ数を、上記デ
ータ入出力モードの切換え時点で格納する第1.第2記
憶手段と、当該メモリ回路から読み出されるデータ数が
上記記憶手段に予め格納されたデータ数に一致したこと
を検出して一致信号を出力する第1.第2判定手段とを
具備し、上記制御手段が、上記第1、第2判定手段のい
ずれか一方から出力される上記一致信号に基づき第1.
第2メモリ回路のデータ入出力モードを切換えるように
したことを特徴とするバッファメモリ装置。 (2)アドレス指定手段はデータ書き込みのときのアド
レスの指定順序とデータ読み出しのときのアドレスの指
定順序とを同一とし、第1.第2メモリ回路に先に書き
込まれたデータが後で書き込まれたデータよりも早く読
み出されるようにしたことを特徴とする特許請求の範囲
第1項記載の)’(7フアメモリ装置。 (3)アドレス指定手段はデータ書き込みのときのアド
レスの指定順序とデータの読み出しのときのアドレスの
指定順序とを逆とし、第1.第2メモリ回路に先に書き
込まれたデータが後で書き込まれたデータより遅く読み
出されるようにしたことを特徴とする特許請求の範囲第
1項記載のバ・ノファメモリ装置。 (4)制御手段が書き込みデータ数を格納している記憶
手段をデータ入出力モードの切換え直後にリセツトし、
第1.第2判定手段のうち一方は当該リセットされた記
憶手段のデータ数とメモリ回路に書き込まれるデータ数
とを比較し、両データが一致しないときに不一致信号を
出力し、制御手段はこの判定手段からの不一致信号と、
予め記憶されたデータ数と読み出しデータ数の一致を検
出する他方の判定手段からの一致信号とによって第1゜
第2メモリ回路のデータ入出力モードを切換えるように
したごとを特徴とする特許請求の範囲第1項記載のバッ
ファメモリ装置。
[Scope of Claims] (11. Addressing means for specifying addresses of first and second memory circuits in a predetermined order; In the first memory device, the number of data written in the first and second memory circuits is stored in the first and second data output modes at the time of switching between the data input and output modes. comprising a second storage means, and first and second determination means for detecting that the number of data read from the memory circuit matches the number of data stored in advance in the storage means and outputting a coincidence signal; The control means controls the first and second determination means based on the coincidence signal output from either the first or second determination means.
A buffer memory device characterized in that the data input/output mode of the second memory circuit is switched. (2) The address specifying means specifies the order of addresses when writing data and the order of specifying addresses when reading data, and the first. (7-four memory device) (recited in claim 1), characterized in that data written earlier in the second memory circuit is read out faster than data written later. (3) The addressing means reverses the order of specifying addresses when writing data and the order of specifying addresses when reading data, so that the data written first and the second memory circuit is the data written later. The memory device according to claim 1, characterized in that data is read out more slowly. (4) Immediately after the control means changes the data input/output mode of the storage means storing the number of written data. reset to
1st. One of the second determining means compares the number of data in the reset storage means and the number of data written in the memory circuit, and outputs a mismatch signal when the two data do not match, and the control means is controlled from this determining means. a mismatch signal, and
The data input/output mode of the first and second memory circuits is switched based on a coincidence signal from the other determining means that detects coincidence between the number of data stored in advance and the number of read data. The buffer memory device according to scope 1.
JP58115589A 1983-06-27 1983-06-27 Buffer memory device Pending JPS607529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58115589A JPS607529A (en) 1983-06-27 1983-06-27 Buffer memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58115589A JPS607529A (en) 1983-06-27 1983-06-27 Buffer memory device

Publications (1)

Publication Number Publication Date
JPS607529A true JPS607529A (en) 1985-01-16

Family

ID=14666339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58115589A Pending JPS607529A (en) 1983-06-27 1983-06-27 Buffer memory device

Country Status (1)

Country Link
JP (1) JPS607529A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04104827A (en) * 1990-08-24 1992-04-07 Mitsubishi Heavy Ind Ltd Agitator
JPH05216750A (en) * 1992-02-06 1993-08-27 Nec Corp Data processing system
EP1006435A1 (en) * 1998-12-03 2000-06-07 Lucent Technologies Inc. A memory operated in a modified ping-pong mode
JP2007225253A (en) * 2006-02-27 2007-09-06 Fujitsu General Ltd Air conditioner

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04104827A (en) * 1990-08-24 1992-04-07 Mitsubishi Heavy Ind Ltd Agitator
JPH05216750A (en) * 1992-02-06 1993-08-27 Nec Corp Data processing system
EP1006435A1 (en) * 1998-12-03 2000-06-07 Lucent Technologies Inc. A memory operated in a modified ping-pong mode
JP2007225253A (en) * 2006-02-27 2007-09-06 Fujitsu General Ltd Air conditioner

Similar Documents

Publication Publication Date Title
US4575796A (en) Information processing unit
JPS607529A (en) Buffer memory device
US5345378A (en) Method and apparatus for operating a programmable controller for controlling a technical process
JPH06274462A (en) Asynchronous writing system for shared memory
JPH01290040A (en) Digital signal switching circuit
US5434979A (en) Disk drive controller
JPH0115900B2 (en)
JP3266610B2 (en) DMA transfer method
JP3201439B2 (en) Direct memory access control circuit
JPH01273132A (en) Microprocessor
JPH06103026A (en) Memory system
JP2723843B2 (en) Dual port memory control circuit
JPH0520474A (en) One chip microcomputer
JP2507634B2 (en) Information processing device
JPH02307149A (en) Direct memory access control system
JPS62184561A (en) Input/output buffer controller
JPH03100851A (en) Fifo storage device
JPH02189627A (en) Access circuit for data memory
JPS62219390A (en) Fifo memory
JPS6045459B2 (en) Memory bank control method
JPH0261749A (en) Data transfer device
JPS61214047A (en) Memory data transfer circuit
JPH07109622B2 (en) Image processing device
JPS5838876B2 (en) Shumemory Seigiyohoshiki
JPS6051940A (en) Buffer controlling system