JPS6027976A - First-in first-out memory device - Google Patents

First-in first-out memory device

Info

Publication number
JPS6027976A
JPS6027976A JP58136982A JP13698283A JPS6027976A JP S6027976 A JPS6027976 A JP S6027976A JP 58136982 A JP58136982 A JP 58136982A JP 13698283 A JP13698283 A JP 13698283A JP S6027976 A JPS6027976 A JP S6027976A
Authority
JP
Japan
Prior art keywords
data
data segment
address information
ram
port
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.)
Granted
Application number
JP58136982A
Other languages
Japanese (ja)
Other versions
JPH0427583B2 (en
Inventor
Tomonori Fujimoto
知則 藤本
Teiji Nishizawa
西澤 貞次
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP58136982A priority Critical patent/JPS6027976A/en
Publication of JPS6027976A publication Critical patent/JPS6027976A/en
Publication of JPH0427583B2 publication Critical patent/JPH0427583B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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)
  • Multi Processors (AREA)
  • Information Transfer Systems (AREA)
  • Memory System (AREA)

Abstract

PURPOSE:To perform data transfer between processors in a multiprocessor system at a high speed through small hardware, and give flexibility to access within one data segment by providing a state control circuit. CONSTITUTION:Every time a signal WT becomes active, the output of an ENDADR register 23 is selected by an SEL26 in a data transfer circuit and (m)- bit address information is sent to an RAM. At the same time, a counter 21 counts up, and if one data segment becomes full of data owing to a carry, a one-segment write end signal is outputted to add one to the contents of a register 23. Similarly, every time a signal OE becomes active, a counter 22 counts up by one to increase the contents of the register 24 by one. Consequently, a state control circuit 25 outputs a signal EMP showing a data empty state and a signal FUL showing a data full state. Thus, the data transfer is speeded up and access in one data segment is given flexibility.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、複数個のデータ処理装置間のデータの転送手
段に用いる先入先出メモリ装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a first-in, first-out memory device used as a data transfer means between a plurality of data processing devices.

従来例の構成とその問題点 近年、半導体技術の進歩により、マイクロプロセッサが
、非常に安価になって来た。そこで、複数のマイクロプ
ロセッサを用いて並列にデータ処理を行なうこと忙より
、システムとしての処理性能を高める構造、すなわちマ
ルチプロセッサ構造をとることが、容易に可能となって
来た。マルチプロセッサにおいては、プロセラザ間でデ
ータのやりとりを高速に行なう必要があり、いくつかの
データ転送手段がとられる。
2. Description of the Prior Art Structure and its Problems In recent years, due to advances in semiconductor technology, microprocessors have become extremely inexpensive. Therefore, instead of processing data in parallel using a plurality of microprocessors, it has become easier to adopt a structure that increases the processing performance of the system, that is, a multiprocessor structure. In a multiprocessor, it is necessary to exchange data between processors at high speed, and several data transfer means are used.

以下に、プロ士ソサ間データ1服送手段の第1の従来例
について説明する。
Below, a first conventional example of means for transmitting data between professionals and staff will be explained.

第1図は従来のプロセッサ間データ転送手段である共有
メモリ装置を用いたマルチプロセッサの構成を示すもの
であり、1,2は中央演算処理装置′&(以下CPUと
称す)、3,4はローカルメモリ装置、8は共有メモリ
装置、5は共有バスCBのアクセス調停を行なうバスア
ービタ、6,7は各ローカルバスと共有バスの結合/切
断を行なうバッファである。以下に、その動作について
説明する。CPU1は、CPU2に対して転送したいデ
ータを共有メモリ装置8に格納し、CPU2はデータが
桑備でさたことを確認して、所定のデータをローカルメ
モリ装置4に取り込み、それに基づいて処理を開始する
。この方式を使うと、共有メモリに対するアクセス競合
の調停制御を行なうためのハードウェア量の増大、また
、転送すべきデータセグメントをソフトウェアで管理す
ることによる性能低下が、避けられないという欠点があ
る。
Figure 1 shows the configuration of a multiprocessor using a shared memory device, which is a conventional means of data transfer between processors. 8 is a local memory device, 8 is a shared memory device, 5 is a bus arbiter that arbitrates access to the shared bus CB, and 6 and 7 are buffers that connect/disconnect each local bus and the shared bus. The operation will be explained below. The CPU 1 stores the data to be transferred to the CPU 2 in the shared memory device 8, and after confirming that the data has been transferred to the Kuwabi, the CPU 2 imports the predetermined data into the local memory device 4 and performs processing based on it. Start. When this method is used, disadvantages include an increase in the amount of hardware needed to arbitrate and control access conflicts for the shared memory, and a decrease in performance due to software management of data segments to be transferred.

次に、プロセッサ間データ転送手段の第2の従来例につ
いて説明する。第2図は、従来のプロセッサ間データ転
送手段である先入先出メモリ装置を用すだマルチプロセ
ッサの構成を示すものであり、1,2はcpu、g、1
0はメモリ装置、11は従来の先入先出メモリ装置で、
CPU1用のバスとCPU2用のバスの間に介在する。
Next, a second conventional example of inter-processor data transfer means will be described. FIG. 2 shows the configuration of a multiprocessor using a first-in, first-out memory device, which is a conventional inter-processor data transfer means.
0 is a memory device, 11 is a conventional first-in first-out memory device,
It is interposed between the bus for CPU1 and the bus for CPU2.

以下その動作について説明する。The operation will be explained below.

CPU1は、CPU2に対して、転送したいデータを、
先入先出装置11か、満杯でないことを確認して、その
入力端に順次書込む。CPU2は先入先出メモリ装置が
、空でない場合、その出方端からデータを1語ずつ順次
読出し、これらのデータに基づき処理を開始する。
CPU1 sends the data that it wants to transfer to CPU2,
After confirming that the first-in, first-out device 11 is not full, data is sequentially written to its input terminal. If the first-in first-out memory device is not empty, the CPU 2 sequentially reads data word by word from the output end and starts processing based on these data.

上記の構成では、データ転送の方向性をノ・−ドウエア
的に固定化することにより、第1の従来例の欠点である
・・−ドウエア量の増大、データ授受のソフトウェア管
理による性能低下という問題を解消しているが、先入先
出メモリ装置本来の[書込んだ順序でのみ読出し=I能
」という特徴から次のような欠点を有する。すなわちC
PU2の処理眼位となる入力データが複数語である場合
、複数語の人力データを任意の順で読出せないため、C
PU2は、先入先出メモリ装置11の内容をランダムア
クセス可能なメモリ10に一旦転送し、それらについて
処理を施す方法がとられるため転送手続きによる性iヒ
劣下か生じる。
In the above configuration, the directionality of data transfer is fixed in terms of hardware, which causes the disadvantages of the first conventional example: an increase in the amount of hardware and a decrease in performance due to software management of data exchange. However, due to the inherent feature of the first-in, first-out memory device that it is possible to read only in the order in which it was written, it has the following drawbacks. That is, C
When the input data that becomes the processing eye position of PU2 is multiple words, the manual data of multiple words cannot be read in any order, so C
Since the PU 2 adopts a method of once transferring the contents of the first-in, first-out memory device 11 to the memory 10 that can be randomly accessed and then processing them, performance degradation may occur due to the transfer procedure.

発明の目的 本発明は、上記従来の問題点を解消するもので、マルチ
プロセッサ間データ転送に要するハードウェア散を少な
くおさえ、高速に転送が行なえて、なおかつ1データセ
グメント内のデータアクセスに関しては、ランダムアク
セス可能な先入先出メモリ装置を提供することを目的と
する。
OBJECTS OF THE INVENTION The present invention solves the above-mentioned conventional problems, and is capable of reducing the amount of hardware required for data transfer between multiprocessors, performing high-speed transfer, and providing data access within one data segment. An object of the present invention is to provide a randomly accessible first-in, first-out memory device.

発明の構成 本発明は、データ処理装置間のデータ転送を行なうため
に、データの読出し、書込みのできるRAMと次にRA
Mより読出す先頭アドレスを記憶する機能をもつ先頭デ
ータセグメントレジスタと次にRAMより書込む最終ア
ドレスを記憶する機能をもつ最終データセグメントレジ
スタとRAMのデータか満杯であるか否か、空であるか
否かの状態を示す状態管理回路を備えた先入先出メモリ
装置であり1データセグメント内のデータの書込みとデ
ータの読出しを、独立にアトレジスゲ可能にすることに
より、転送データの作成、参照を効率的に行なうことの
できるものである。
Structure of the Invention The present invention provides a RAM that can read and write data, and a RAM that can read and write data in order to transfer data between data processing devices.
The first data segment register has the function of storing the first address to be read from M, the last data segment register has the function of storing the final address to be written from RAM, and whether the data in RAM is full or empty. This is a first-in, first-out memory device equipped with a state management circuit that indicates whether the data is being transferred or not.By enabling data writing and data reading within one data segment to be performed independently at register registers, it is possible to create and reference transfer data. It can be done efficiently.

実施例の説明 第3図は、本発明の一実施例における先入先出メモリ装
置のRAMのアドレスの指定方法を説明するための図で
ある。第3図aは、先入先出メモリ装置のRAMの構造
を示したもので、このRAMは自身を2n語(ただし、
n〉1)のメモリを持った2m個のデータセグメントに
分けて、データを格納する。第3図すは、アドレス線に
よるアドレスの指定の叱方を示したもので、上位mビッ
トで、データセグメントアドレスを指定して、下位nビ
ットで、データセクメント内アドレスヲ指定する。
DESCRIPTION OF THE EMBODIMENTS FIG. 3 is a diagram for explaining a method of specifying a RAM address of a first-in, first-out memory device in an embodiment of the present invention. Figure 3a shows the structure of a RAM in a first-in, first-out memory device.
Data is stored in 2m data segments each having a memory capacity of n>1). FIG. 3 shows how to specify an address using the address line. The upper m bits specify a data segment address, and the lower n bits specify an address within the data segment.

第4図は、本発明の一実施例の先人先出メモリ装置を示
すものである。第4図において、1はデータ送信側のC
PU、2はデータ受信側のCPU。
FIG. 4 shows a first-time first-out memory device according to an embodiment of the present invention. In Figure 4, 1 is C on the data sending side.
PU, 2 is a CPU on the data receiving side.

20(,12m+” i)記ta容ffi ヲ持ツi(
AM、 12 triCPUlかRAM20にデータを
書、込むために、チップセレクト信号を作り出すアドレ
スデコーダ、13はCPU2がRAM20のデータを読
出すために、チップセレクト信号を作り出すアドレスデ
コーダ、14はデータの書込み、読出しのタイミングを
制御するR/W制却回路、16ばCPU1とCPU2か
ら出力される二つのnビットのアト−レス情報のうちの
一つを選択するアドレスセレクタ(以下、5ELAと称
す)、17はRAM20をCPU1とCPU2のいずれ
のデータバスに接続するかを選択するデータセレクタ(
以下、5ELDト称ス)、15はデータセグメントアド
レスを指定するmビットのアドレス情報を出力し、又R
AM20のデータが、空であるか、満杯であるかを判断
して、データの書込み、読出しを制御するデータ転送制
御回路である。18はRAM20のデータか満杯である
かないかを示すフル状態フラグ(以下、FULFと称す
)、19はRAM20のデータが空であるかないかを示
す空状態フラグ(以下EMPFと称す)である。
20(,12m+”i)
AM, 12 an address decoder that generates a chip select signal in order to write data into the triCPUl or the RAM 20, 13 an address decoder that generates a chip select signal in order for the CPU 2 to read data from the RAM 20, 14 a data write; R/W control circuit that controls read timing; 16; address selector (hereinafter referred to as 5ELA) that selects one of the two n-bit address information output from CPU1 and CPU2; 17; is a data selector (
5ELD (hereinafter referred to as 5ELD), 15 outputs m-bit address information specifying the data segment address, and R
This is a data transfer control circuit that determines whether the data in AM20 is empty or full and controls writing and reading of data. 18 is a full status flag (hereinafter referred to as FULF) indicating whether the data in the RAM 20 is full or not; 19 is an empty status flag (hereinafter referred to as EMPF) indicating whether the data in the RAM 20 is empty or not.

以上のように、構成されたこの実施例の先入先出メモリ
装置について以下その動作を説明する。
The operation of the first-in, first-out memory device of this embodiment constructed as described above will be described below.

CPU1は、転送すべきデータが発生した場合本先入先
出メモリ装置が、満杯であるかどうかを示すFULFl
gの出力信号であるFUL信号を調べて満杯でない場合
、書込み信号WRをアクティブニジて、アドレスレコー
ダ12にアドレス情報を送りC81信号をアクティブに
する。また、R/W制御回路14は、CPU2が本先入
先出メモリ装置をアクセス状態である時に出力されるC
82信号がアクティブでない場合、WT倍信号アクティ
ブにする。そして、WT倍信号データ転送制御回路15
に入力された時に出力されるmビットのデータセグメン
トアドレス情報と、CPU1か任意に5ELA16を通
してデータセグメント内アドレスを指定するnビットの
アドレス情報との計(m+n)ビットのアドレス情報を
RAM20に印加して、5ELD17を通して書込みデ
ータを送る。その後、CPU1ばR/W制却回路14よ
りAK倍信号受けたら書込みをやめる。
When data to be transferred is generated, the CPU 1 sends FULFl, which indicates whether the first-in first-out memory device is full.
If the FUL signal, which is the output signal of G, is not full, the write signal WR is activated, address information is sent to the address recorder 12, and the C81 signal is activated. The R/W control circuit 14 also controls the C output when the CPU 2 is accessing the FIFO memory device.
If the 82 signal is not active, the WT double signal is activated. Then, the WT double signal data transfer control circuit 15
A total of (m+n) bits of address information is applied to the RAM 20, including the m-bit data segment address information that is output when input to the CPU 1 or the n-bit address information that specifies the address within the data segment through the 5ELA 16. and sends write data through the 5ELD17. Thereafter, when the CPU 1 receives the AK multiplication signal from the R/W control circuit 14, it stops writing.

CPU1はnビットのアドレス情報によりデータセグメ
ント内メモリに、ランダムに1込む。
The CPU 1 randomly writes 1 into the data segment memory based on the n-bit address information.

次に、CPU2が、転送データを必要とする場合、本先
入先出メモリ装置が、空状態であるか否かを示すEMP
l 9の出力信号であるEMPを調べて、空でない場合
読出し信号RD倍信号アクティブにして、アドレスデコ
ーダ13にアドレス情報を送り、C82信号をアクティ
ブにする。またR/W制御回路14は、CPU1が本先
入先出メモリ装置にアクセス状態である時に出力される
C31がアクティブでない場合、OE倍信号アクティブ
する。そして、OE倍信号、データ転送制御部15に入
力された時に出力されるmビットのデータセグメントア
ドレス情報とCPU2が任意に5ELA16を通してデ
ータセグメント内アドレスを指定するnビットのアドレ
ス情報の計(m+n)ビットのアドレス情報をRAM2
0に印加して、5ELD17を通してデータを読出す。
Next, when the CPU 2 requires transfer data, an EMP indicating whether or not this first-in, first-out memory device is in an empty state is sent.
The output signal EMP of l9 is checked, and if it is not empty, the read signal RD double signal is activated, address information is sent to the address decoder 13, and the C82 signal is activated. Further, the R/W control circuit 14 activates the OE multiplication signal when C31, which is output when the CPU 1 is accessing the first-in, first-out memory device, is not active. Then, the sum (m+n) of the OE double signal, the m-bit data segment address information outputted when input to the data transfer control unit 15, and the n-bit address information that the CPU 2 arbitrarily specifies an address within the data segment through the 5ELA 16. Bit address information in RAM2
0 to read data through 5ELD17.

その後、CPU2はR/W制御回路14はAK倍信号受
けたら読出しをやめる。CPU2はnビットのアドレス
情報によりデータセグメント内メモリよりランダムに読
出す。
Thereafter, when the CPU 2 receives the AK multiplication signal, the R/W control circuit 14 stops reading. The CPU 2 randomly reads data from the memory within the data segment using n-bit address information.

第5図は前記実施例におけるデータ転送制御回路15の
ブロック図を示したものである。21はデータが書込ま
れるたびに1加算する2n進カウンタであり、22はデ
ータが読出されるたびに1加算する2n進カウンタであ
る。23はデータセグメントの最終アドレス(以下、E
NDアドレス)を示している最終データセグメントレジ
スタ(以下、ENDADHレジスタと称す)であり、2
4はデータセグメントの先頭アドレス(以下、ToPア
ドレスと称す)を示している先頭データセグメントレジ
スタ(以下、TOPADHレジスタと称す)である。E
NDアドレスは次に書込むデータセグメントアドレスの
ことであり、TOPアドレスは、次に読出すデータセグ
メントアドレスを示している。26はENDアドレスと
TOPアドレスのどちらをRAM20に印加するかを選
択するSELである。25はRAM20のデータが空で
あるか満杯であるかを示すFUL信号とEND信号を生
成する状態管理回路である。
FIG. 5 shows a block diagram of the data transfer control circuit 15 in the embodiment. 21 is a 2n-ary counter that increments by 1 each time data is written, and 22 is a 2n-adic counter that increments by 1 each time data is read. 23 is the final address of the data segment (hereinafter referred to as E
This is the final data segment register (hereinafter referred to as the ENDADH register) indicating the END address), and is
4 is a start data segment register (hereinafter referred to as TOPADH register) indicating the start address of the data segment (hereinafter referred to as ToP address). E
The ND address indicates the data segment address to be written next, and the TOP address indicates the data segment address to be read next. Reference numeral 26 denotes SEL for selecting which of the END address and the TOP address is applied to the RAM 20. 25 is a state management circuit that generates a FUL signal and an END signal indicating whether the data in the RAM 20 is empty or full.

以上のように構成された本実施例のデータ転送制御回路
15について、その動作を説明する。
The operation of the data transfer control circuit 15 of this embodiment configured as described above will be explained.

WT倍信号アクティブになるたびに、5EL26よりE
NDADRレジスタ23の出力を選択してRA M 2
0 iCmビットのアドレス情報を送り同時に2n進カ
ウンタ21を1加算していき、桁上げか生じて1データ
セグメント内のデータが、満杯になると1データセグメ
ント書込み終了信号(以下、0VFE信号と称す)が出
力されて、ENDADHレジスタ23を1加算する。同
じように、○E倍信号、アクティブになるたびに2n進
カウンタ22を1加算していき、桁上げが生じて1デー
タセグメント内のデータをすべて続出する1データセグ
メント読出し終了終号(以下、0VFT他号と称す)が
出力されてTOPADHレジスタ24の内容を1加算す
る。そして、EMP、FUL信号生成ブロック25で、
TOPアドレスとENDアドレスの条件より状態管理回
路25でデータが空状態であることを示すEMP信号と
データが満杯状態であることを示すF’UL信号を出力
する。
Every time the WT double signal becomes active, E from 5EL26
Select the output of the NDADR register 23 and load it into the RAM 2
0 iCm bit address information is sent and at the same time the 2n-adic counter 21 is incremented by 1, and when a carry occurs and the data in one data segment becomes full, a one data segment write end signal (hereinafter referred to as 0VFE signal) is output, and 1 is added to the ENDADH register 23. Similarly, each time the ○E times signal becomes active, the 2n-ary counter 22 is incremented by 1, and a carry occurs and all the data in one data segment is read out one data segment end number (hereinafter referred to as 0VFT (referred to as other number) is output and the contents of the TOPADH register 24 are incremented by 1. Then, in the EMP and FUL signal generation block 25,
Based on the conditions of the TOP address and the END address, the state management circuit 25 outputs an EMP signal indicating that the data is empty and an F'UL signal indicating that the data is full.

第6図、第7図は、状態管理回路25の2つの実施例を
示したものである。
FIGS. 6 and 7 show two embodiments of the state management circuit 25. FIG.

第6図はRAM20のデータの有無によってEMP。FIG. 6 shows EMP depending on the presence or absence of data in the RAM 20.

FUL信号を生成する例であり、27はR−Sフリップ
フロップ、28はTOPアドレスとE N Dアドレス
の値を比較するTOP−END比較回路である。以下そ
の動作について説明すると、データをCPU2が読んで
、RD倍信号アクティブになった際に、ToPアドレス
とENDアドレスが等しい時にEMP信号を出力し、逆
にCPU1がデータを書込んでWR倍信号アクティブに
なった際Vこ、TOPアドレスとENDアドレスが等し
い時に、FUL信号を出力する。第7図の例は、To 
PADHレジスタ、ENDADi(レジスタに同図(a
)に示すように、アドレスか2mを越えてQになる度に
反転するようなキャリーフラグCT、Ce を設ける。
In this example, 27 is an R-S flip-flop, and 28 is a TOP-END comparison circuit that compares the values of the TOP address and the END address. To explain the operation below, when the CPU 2 reads the data and the RD double signal becomes active, the EMP signal is output when the ToP address and the END address are equal, and conversely, the CPU 1 writes the data and outputs the WR double signal. When activated, V outputs a FUL signal when the TOP address and END address are equal. The example in Figure 7 is To
PADH register, ENDADi (same figure (a)
), carry flags CT and Ce are provided which are inverted every time the address exceeds 2m and reaches Q.

初期状態は、CTもCeもOにしておく。In the initial state, both CT and Ce are set to O.

同図(b)に示すように、キャリーフラグCTとCeが
等しい時に、TQPアドレスとENDアドレスか等しけ
れば、EMP信号を出力し、C・rとCeが異なりTO
PアドレスとENDアドレスが等しい時には、FUL信
号を出力する。
As shown in the same figure (b), when the carry flags CT and Ce are equal, if the TQP address and the END address are equal, an EMP signal is output, and C/r and Ce are different and TO
When the P address and the END address are equal, a FUL signal is output.

以上のようにこの実施例によれば、mビットのデータセ
クメントアドレスとFUL 、EMP信号を出力するデ
ータ転送制御回路と2111′h n語の容量を持った
RAMを設けることにより、先入先出メモリ装置の嘗込
み、読出しの動作が、1データセグメント内では、任意
の順序に行なえ、CPU1とCPU2で独立にアドレス
を指定できるため、転送データの作成あるいは、受信デ
ータの参照を非常に柔軟に行なうことができる。
As described above, according to this embodiment, by providing a data transfer control circuit that outputs an m-bit data sector address, FUL, and EMP signals, and a RAM having a capacity of 2111'h n words, a first-in, first-out Reading and reading operations from the memory device can be performed in any order within one data segment, and addresses can be specified independently by CPU1 and CPU2, making it extremely flexible to create transfer data or refer to received data. can be done.

なお、実施例において、第5図に示したデータ制御回路
において、ENDADHレジスタトTOPADHレジス
タのカライトは、ハード的にデータ制御回路15内部で
、2進カウンタの桁上げの時に出力される0VFE信号
、0VFT信号によって行なったが、CPU1及びCP
U2でンフト的に、ENDADHレジスタとTOPAD
Hレジスタのカウントを行なうために1データセクメン
ト読出し終了信号と1データセグメント書込み終了信号
を作り出してもよいことは言うまでもない。
In the embodiment, in the data control circuit shown in FIG. 5, the ENDADH register and the TOPADH register's 0VFE signal and 0VFT are output in the data control circuit 15 in terms of hardware when the binary counter is carried up. This was done by signals, but CPU1 and CP
In U2, ENDADH register and TOPAD
It goes without saying that a 1 data segment read end signal and a 1 data segment write end signal may be generated in order to count the H register.

また、本発明の詳細な説明において本発明の先入先出メ
モリ装置を使ったCPU1からCPU2へのデータ転送
の場合を説明したが、CPU2からCPU1へのデータ
の転送も、本発明の先入先出メモリ装置によってできる
ことは明らかである。
In addition, in the detailed description of the present invention, the case of data transfer from CPU1 to CPU2 using the first-in, first-out memory device of the present invention was explained, but data transfer from CPU2 to CPU1 is also applicable to the first-in, first-out of the present invention. What memory devices can do is clear.

発明の効果 本発明の先入先出メモリ装置は、読出し書込み可能なR
AMと、このRAMに次に書込む最終データセグメント
アドレスを記憶する機能をもつ最終データセグメントレ
ジスタと次に読出す先頭データセグメントアドレスを記
憶する機能をもつ先頭データセグメントレジスタとRA
Mのデータが満杯であるか否か、空であるか否かの状態
を示す状態管理回路を設けることにより、マルチグロ七
ノサにおけるプロセッサ間データ転送を少ないハードウ
ェア量で高速に行なえ、しかも、1データセグメント内
のアクセスに関しては、柔軟性をもたせることができ、
その実用的効果は大きい。
Effects of the Invention The first-in, first-out memory device of the present invention has a readable and writable R
AM, a final data segment register that has the function of storing the final data segment address to be written next to this RAM, a first data segment register that has the function of storing the first data segment address to be read next, and RA.
By providing a state management circuit that indicates whether the data in M is full or empty, data transfer between processors in Multi-Glo Nanosa can be performed at high speed with a small amount of hardware. Access within the data segment can be flexible,
Its practical effects are great.

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

第1図は従来より知られる共通メモリ装置を用いたプロ
セッサ間データ転送装置のブロック図、第2図は従来よ
り知られる先入先出メモリ装置を用いたプロ七ノサ間デ
ータ転送装置のブロック図、2J43図(a) 、 (
b)は本発明の一実施例における先入先出メモリ装置の
RAM構造およびアドレス指定方法を説明するための図
、第4図は本発明の一実施例における先入先出メモリ装
置のブロック図、第6図は同実施例におけるデータ転送
制御回路のブロック図、第6図、第7図(a) 、 (
b)は同データ転送制御回路における状態管理回路のブ
ロック図およびアドレス状態を示す図である。 16・・・・・・アドレスセレクタ(SELA)、17
・・・・・・データセレクタ(SELD)、20・・・
・・・RAM。 23・・・・・・最終データセグメントレジスタ(EN
DAD)ルジスタ)、24・・・・・・先頭データセグ
メントレジスタ(TOPADHレジスタL 25・・・
・・・状態管理回路。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図 第2図 第3図 第5図 第6図 7
FIG. 1 is a block diagram of an inter-processor data transfer device using a conventionally known common memory device, and FIG. 2 is a block diagram of an inter-processor data transfer device using a conventionally known first-in, first-out memory device. 2J43 Figure (a), (
b) is a diagram for explaining the RAM structure and addressing method of a first-in-first-out memory device in an embodiment of the present invention; FIG. 4 is a block diagram of a first-in-first-out memory device in an embodiment of the present invention; Figure 6 is a block diagram of the data transfer control circuit in the same embodiment, and Figures 6 and 7 (a), (
b) is a block diagram of a state management circuit in the same data transfer control circuit and a diagram showing address states. 16...Address selector (SELA), 17
...Data selector (SELD), 20...
...RAM. 23...Final data segment register (EN
DAD) register), 24...Top data segment register (TOPADH register L 25...
...State management circuit. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
Figure 2 Figure 3 Figure 5 Figure 6 Figure 7

Claims (2)

【特許請求の範囲】[Claims] (1) 2 rl’l + n語(m≧1.n≧1)の
記憶容量を持った書込み/続出し可能なRAMと、第1
のポートからアクセスする場合、前記RAM内のアクセ
スすべきデータセグメント(2nの容量をもつ)のアド
レス情報を記憶し情報を記憶し、1データセグメント書
込み終了信号を人力した時にインクリメントする機能を
もつmビットからなる最終データセグメントレジスタと
、第2のポートからアクセスfる場合、前記RAM内の
アクセスすべきデータセグメントのアドレス情報を記憶
し、1データセグメントの読出し終了信号の入力した時
にインクリメントする機能をもつmビットからなる先頭
データセグメントレジスタと、前記最終データセグメン
トレジスタと前記先頭データセグメントレジスタの情報
を入力し、前記RAM内にデータが満杯状態か否か、空
状態か否かを示す状態信号を出力する状態管理回路と、
第1のポートから供給されるmビットのアドレス情報と
前記最終データセグメントレジスタのmビットのアドレ
ス情報の計(m+n)ビットからなる第1のアドレス情
報と、第2のポートから供給されるnビットのアドレス
情報と前記先頭データセグメントレジスタのmビットの
アドレス情報の計(m+n)ビットからなる第2のアド
レス情報の双方を入力し、第1のポートからのアクセス
動作の際には、第1のアドレス情報を、また第2のポー
トからのアクセス動作の際には、第2のアドレス情報を
前記RAMに供給するアドレスセレクタと、第1のポー
トからのアクセス動作時には、第1のポートのデータ信
号線と前記RAMのデータ信号線を接続し前記RAMに
供給し、第2のポートからのアクセス動作時には、第2
のポートのデータ信号線と前記RAMのデータ信号線を
接続するデータセレクタとを備えた先入先出メモリ装置
(1) A writable/continued RAM with a storage capacity of 2 rl'l + n words (m≧1.n≧1), and a first
When accessing from the port, the m memory has the function of storing the address information of the data segment to be accessed (having a capacity of 2n) in the RAM, storing the information, and incrementing the information when a 1 data segment write end signal is input manually. A final data segment register consisting of bits has a function of storing the address information of the data segment to be accessed in the RAM when accessing from the second port, and incrementing it when a read end signal of one data segment is input. inputting the information of the first data segment register consisting of m bits, the last data segment register and the first data segment register, and generating a status signal indicating whether the RAM is full of data or empty. a state management circuit that outputs;
first address information consisting of a total of (m+n) bits of m-bit address information supplied from the first port and m-bit address information of the final data segment register; and n bits supplied from the second port. and second address information consisting of a total of (m+n) bits of the m-bit address information of the first data segment register, and when accessing from the first port, the first an address selector that supplies address information to the RAM, and a data signal of the first port when accessing from the first port; line and the data signal line of the RAM are connected and supplied to the RAM, and during an access operation from the second port, the data signal line of the RAM is connected.
A first-in, first-out memory device comprising a data signal line of a port of the RAM and a data selector that connects a data signal line of the RAM.
(2) 2 m+ n語(m≧1.n≧1)の記憶容量
を持った書込み/続出し可能なRAMと、書込みポ−ト
からアクセスする場合、前記RAM内のアクセスすべき
データセグメント(2nの容’llをもつ)のアドレス
情報を記憶し、1データセグメント書込み終了信号を人
力した時にインクリメントする機能をもつmビットから
なる最終データセグメントレジスタと、読出しポートか
らアクセスする場合、前記RAM内のアクセスすべきデ
ータセグメント(2nの容量をもつ)のアドレス情報を
記憶し、1データセグメントの読出し終了信号の入力し
た時にインクリメントする機能をもつmビットからなる
先頭データセグメントレジスタと、前記最終データセグ
メントレジスタと前記先頭データセグメントレジスタの
情報を入力し、))1J記RAM内にデータが満杯状態
か否か、空状態か否かを示す状態信号を出力する状態佃
理回路と、書込みポートから供給されるnビットのアド
レス情報ト前記最終データセグメントレジスタのmビッ
トのアドレス情報の計(m+n)ビットからなる第1の
アドレス情報と、読出しポートから供給されるnビット
のアドレス情報と前記先頭データセグメントレジスタの
mビットのアドレス情報のit(m十n)ビットからな
る第2のアドレス情報の双方を入力し、書込みポートか
らのアクセス動作の際には、第1のアドレス情報をまた
読出しポートからのアクセス動作の際には第2のアドレ
ス情報を前記RAMに供給するアドレスセレクタと、書
込み動作時には書込みポートから供給される1語の書込
みデータを前記RAMに供給し、読出し動作時には、R
AMから読出された1語のデータを読出しポートに出力
するデータセレクタとを備えた先入先出メモリ装置。
(2) A writable/continued RAM with a storage capacity of 2 m+n words (m≧1.n≧1), and a data segment to be accessed in the RAM when accessing from a write port ( When accessing from the read port, there is a final data segment register consisting of m bits which stores the address information of the address information (having a capacity of 2n) and increments when one data segment write end signal is input manually. a first data segment register consisting of m bits and having a function of storing address information of a data segment (having a capacity of 2n) to be accessed and incrementing when a read end signal of one data segment is input; and the last data segment. A status control circuit inputs the information of the register and the first data segment register, and outputs a status signal indicating whether data is full or empty in the 1J RAM, and is supplied from the write port. first address information consisting of (m+n) bits of m-bit address information of the last data segment register; n-bit address information supplied from the read port; and the first address information of the first data segment. Both of the second address information consisting of it (m + n) bits of the m-bit address information of the register are input, and when accessing from the write port, the first address information is also input from the read port. During an access operation, the address selector supplies second address information to the RAM, and during a write operation, one word of write data supplied from the write port is supplied to the RAM, and during a read operation, the R
A first-in, first-out memory device including a data selector that outputs one word of data read from an AM to a read port.
JP58136982A 1983-07-26 1983-07-26 First-in first-out memory device Granted JPS6027976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58136982A JPS6027976A (en) 1983-07-26 1983-07-26 First-in first-out memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58136982A JPS6027976A (en) 1983-07-26 1983-07-26 First-in first-out memory device

Publications (2)

Publication Number Publication Date
JPS6027976A true JPS6027976A (en) 1985-02-13
JPH0427583B2 JPH0427583B2 (en) 1992-05-12

Family

ID=15188001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58136982A Granted JPS6027976A (en) 1983-07-26 1983-07-26 First-in first-out memory device

Country Status (1)

Country Link
JP (1) JPS6027976A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61220058A (en) * 1985-03-27 1986-09-30 Hitachi Ltd Buffer controller
JPS6242300A (en) * 1985-08-20 1987-02-24 松下電器産業株式会社 Road toll collection terminal device
JPS62263561A (en) * 1986-05-09 1987-11-16 Fujitsu Ltd Data transfer system
JPH0764934A (en) * 1993-08-25 1995-03-10 Nec Corp Terminal relay system
US8730248B2 (en) 2006-05-24 2014-05-20 Sony Corporation Multi-graphics processor system, graphics processor and data transfer method
JP2017187909A (en) * 2016-04-05 2017-10-12 株式会社デンソー Microcomputer and electronic control device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61220058A (en) * 1985-03-27 1986-09-30 Hitachi Ltd Buffer controller
JPS6242300A (en) * 1985-08-20 1987-02-24 松下電器産業株式会社 Road toll collection terminal device
JPS62263561A (en) * 1986-05-09 1987-11-16 Fujitsu Ltd Data transfer system
JPH0764934A (en) * 1993-08-25 1995-03-10 Nec Corp Terminal relay system
US8730248B2 (en) 2006-05-24 2014-05-20 Sony Corporation Multi-graphics processor system, graphics processor and data transfer method
JP2017187909A (en) * 2016-04-05 2017-10-12 株式会社デンソー Microcomputer and electronic control device

Also Published As

Publication number Publication date
JPH0427583B2 (en) 1992-05-12

Similar Documents

Publication Publication Date Title
US5682551A (en) System for checking the acceptance of I/O request to an interface using software visible instruction which provides a status signal and performs operations in response thereto
US20040107265A1 (en) Shared memory data transfer apparatus
JPS58225432A (en) Request buffer device
US6766386B2 (en) Method and interface for improved efficiency in performing bus-to-bus read data transfers
JPH04306748A (en) Information processor
US5845145A (en) System for generating and sending a critical-world-first data response packet by creating response packet having data ordered in the order best matching the desired order
JP2002132701A (en) Memory control unit
US6615296B2 (en) Efficient implementation of first-in-first-out memories for multi-processor systems
US5146572A (en) Multiple data format interface
JPH03189843A (en) System and method for processing data
JPS6027976A (en) First-in first-out memory device
JP2591502B2 (en) Information processing system and its bus arbitration system
US6647450B1 (en) Multiprocessor computer systems with command FIFO buffer at each target device
EP0550976A2 (en) Memory accessing device using address pipeline
JP2000003332A (en) Bi-directional bus size conversion circuit
JP2905041B2 (en) Message transceiver
JP3134364B2 (en) Information processing system
EP0369964A2 (en) Multiple data format interface
JPH0833869B2 (en) Data processing device
JP3442099B2 (en) Data transfer storage device
JPH05346884A (en) Method and device for storing and updating data
JPS6027977A (en) parallel processing device
JPS5854478A (en) Controlling method of main storage
JPS59212952A (en) first in first out memory device
JPS6379161A (en) semiconductor storage device