JPS6395540A - Memory interface circuit - Google Patents

Memory interface circuit

Info

Publication number
JPS6395540A
JPS6395540A JP24163086A JP24163086A JPS6395540A JP S6395540 A JPS6395540 A JP S6395540A JP 24163086 A JP24163086 A JP 24163086A JP 24163086 A JP24163086 A JP 24163086A JP S6395540 A JPS6395540 A JP S6395540A
Authority
JP
Japan
Prior art keywords
token
memory
data
read
address
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
JP24163086A
Other languages
Japanese (ja)
Inventor
Kaoru Uchida
薫 内田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP24163086A priority Critical patent/JPS6395540A/en
Publication of JPS6395540A publication Critical patent/JPS6395540A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the processing time by using a memory interface circuit containing plural data processors, a memory and a token input part to perform the memory reading/writing actions. CONSTITUTION:In a memory interface circuit 10, the value of an address register 11 is used as an address to read a memory 20 based on the decoding result of the tokens supplied to a token input part 16 from data processors 21 and 22 in case an identifier showing a read token containing a read address is prepared together with a flag showing execution of the indirect addressing and a data part serving as the read address. While the set value of the register 11 is used as an address and the value of a data register 13 is written into the memory 20 in case an identifier showing a write token containing a write address is prepared together with a flag showing execution of the indirect addressing and a data part serving as the write address. In such a way, the processing speed is increased with a memory interface circuit.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はメモリインタフェース回路に関し、特にデータ
フロープロセッサからメモリに対する読出し書込みの動
作を実行するメモリインタフェース回路(2関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory interface circuit, and particularly to a memory interface circuit (2) that executes read/write operations from a data flow processor to a memory.

〔従来の技術〕[Conventional technology]

従来、データフロープロセッサとして、日本電気株式会
社製のμPD7281がある。前記データフロープロセ
ッサを用いた演算処理システムにおけるメモリインタフ
ェース回路として、日本電気株式会社製のμPD930
5がある。
Conventionally, there is μPD7281 manufactured by NEC Corporation as a data flow processor. μPD930 manufactured by NEC Corporation is used as a memory interface circuit in the arithmetic processing system using the data flow processor.
There are 5.

前記μPD9305のメモリアクセス動作について説明
すると、この回路はデータフロ一方式でデータ転送及び
演算処理を行っており、入出力されるデータの単位はト
ークンと呼ばれる。トーク・ンはデータ値を持つデータ
部と、このトークンの意味を示す識別子と、トークンの
行き先を示すデスティネーションタグなどとから構成さ
れたデータ単位である。例えば、メモリ読出しの場合に
は、読出しアドレスであるデータ部、読出しアドレスを
持つリードト−クンであることを示す識別子及びメモリ
インタフェース回路を行き先とするデスティネーション
タグを有するリードトークンをメモリインタフェース回
路に入力する。メモリインタフェース回路はリードトー
クンが入力されると、メモリに対してトークンの持つ読
出しアドレスとメモリ読出し信号とを出力し、読出し動
作を指示する。メモリは前記の指示に従って読出し動作
を実行し、これが終了するとメモリインタフェース回路
にアクセス終了信号を発し、メモリインタフェース回路
は読出されたデータを含むトークンを生成し出力し、メ
モリ読出し動作を終了する。また、メモリ書込みの場合
には、書込みデータであるデータ部、書込みデータを持
つデータトークンであることを示す識別子及びメモリイ
ンタフェース回路を行き先とするデスティネーションタ
グを有する書込みデータトークンと、書込みアドレスで
あるデータ部、書込みアドレスを持つデータトークンで
あることを示す識別子及びメモリインタフェース回路を
行き先とするデスティネーションタグを有する書込みア
ドレスト−クンとをこの順序でメモリインタフェース回
路に入力する。メモリインタフェース回路はデータトー
クンが入力されるとそのデータ部の書込みデータをデー
タレジスタに設定、保持し、その次のライトトークンが
入力されると、前記データレジスタがら読み出したライ
トデータとライトトークンのデータ部にある書込みアド
レスと、メモリ書込み信号とをメモリに対して出力し、
書込み動作を指示する。メモリは前記の指示に従って書
込み動作を実行し、これが終了すると、メモリインタフ
ェース回路にアクセス終了信号を発し、メモリインタフ
ェース回路はこれによりメモリ書込み動作を終了する。
To explain the memory access operation of the μPD9305, this circuit transfers data and performs arithmetic processing using a data flow method, and the unit of input/output data is called a token. A token is a data unit composed of a data portion having a data value, an identifier indicating the meaning of this token, and a destination tag indicating the destination of the token. For example, in the case of memory reading, a read token that has a data part that is a read address, an identifier indicating that it is a read token with a read address, and a destination tag indicating that the destination is the memory interface circuit is input to the memory interface circuit. do. When a read token is input, the memory interface circuit outputs a read address of the token and a memory read signal to the memory, and instructs a read operation. The memory executes the read operation according to the above instruction, and when the read operation is completed, it issues an access end signal to the memory interface circuit, and the memory interface circuit generates and outputs a token containing the read data, and ends the memory read operation. In addition, in the case of memory writing, there is a data part which is the write data, a write data token which has an identifier indicating that the data token has write data and a destination tag whose destination is the memory interface circuit, and a write address. A data portion, an identifier indicating that the data token has a write address, and a write address token having a destination tag indicating that the memory interface circuit is the destination are input to the memory interface circuit in this order. When a data token is input, the memory interface circuit sets and holds the write data of the data section in the data register, and when the next write token is input, it sets the write data read from the data register and the data of the write token. Outputs the write address in the section and the memory write signal to the memory,
Instructs write operation. The memory executes the write operation according to the above instruction, and when the write operation is completed, it issues an access end signal to the memory interface circuit, and the memory interface circuit thereby ends the memory write operation.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前述のメモリインタフェース回路を用いた装置において
、プログラムで指定するアドレスのメモリ上の値をアド
レスとして再度メモリ読出しまたはメモリ書込み動作を
行う、いわゆる間接アドレッシングを行う場合、これを
データフロープロセッサ上のプログラムによってソフト
ウェア的に実現しなければならなかった。例えば、間接
アドレスを用いてメモリ読出しを行う場合、データフロ
ープロセッサからメモリ上でアドレス値の格納された場
所を示すアドレスをデータ値として持つリードトークン
をメモリインタフェース回路に送り、これによりメモリ
から読み出した値をメモリインタフェース回路からデー
タフロープロセッサに送り、データフロープロセッサに
おいてデータ部に先の動作で読み出したアドレスを持つ
リードトークンを作り、それをメモリインタフェース回
路に送った後に再びメモリ読出し動作を行うという手順
を用いることになる。
In a device using the above-mentioned memory interface circuit, when performing so-called indirect addressing, in which a memory read or write operation is performed again using a value in memory at an address specified by a program as an address, this is done by a program on a data flow processor. It had to be realized in software. For example, when reading memory using an indirect address, the data flow processor sends a read token whose data value is an address indicating the location where the address value is stored in memory to the memory interface circuit, and this causes the read token to be read from memory. A procedure in which a value is sent from the memory interface circuit to the data flow processor, a read token with the address read in the previous operation is created in the data section in the data flow processor, and after sending it to the memory interface circuit, the memory read operation is performed again. will be used.

しかしながら、この方法は多くの部分をデータフロープ
ロセッサのプログラムで処理しなければならないなめ、
ソフトウェアの負担が生じ、またデータフロープロセッ
サを接続するリングをトークンが最低2周するだけの処
理時間かががる。
However, this method requires many parts to be processed by the data flow processor program.
This creates a software burden and requires processing time for the token to go around the ring connecting the data flow processors at least twice.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のメモリインタフェース回路はリング状に接続さ
れた複数のデータフロープロセッサと、メモリとに接続
され、 前記データフロープロセッサから入力されるデータの単
位であるトークンを入力するトークン入力部と、 前記トークン入力部から入力される前記メモリに対する
書込みデータを保持するデータレジスタと、 前記メモリ及び前記トークン入力部から入力されるデー
タのうちの一方を選択出力するマルチプレクサと、 前記マルチプレクサから出力される前記メモリに対する
読出し・書込みアドレスを保持するアドレスレジスタと
、 前記メモリから読み出したデータを用いて前記′データ
フロープロセッサに対して出力するトークンを生成する
トークン生成部と、 前記トークン生成部で生成されたトークンを前記データ
フロープロセッサに対して出力するトークン出力部と、 前記メモリ、前記マルチプレクサ、前記トークン生成部
及び前記トークン入力部に接続されこれらに対するメモ
リ読出し・書込み動作を制御するメモリアクセスコント
ロールとから構成される。
A memory interface circuit of the present invention is connected to a plurality of data flow processors connected in a ring shape and a memory, and includes: a token input section for inputting a token, which is a unit of data input from the data flow processor; a data register that holds write data input from the input section to the memory; a multiplexer that selects and outputs one of the data input from the memory and the token input section; and a data register that holds write data input from the multiplexer to the memory. an address register that holds read/write addresses; a token generation unit that uses the data read from the memory to generate a token to be output to the data flow processor; It is composed of a token output section that outputs to the data flow processor, and a memory access control that is connected to the memory, the multiplexer, the token generation section, and the token input section and controls memory read/write operations for these.

〔作用〕[Effect]

本発明のメモリインタフェース回路においては、データ
フロープロセッサからトークン入力部に入力されたトー
クンの解読結果により、(a)これが間接アドレッシン
グを行わないことを示すフラグを持つときには従来のメ
モリインタフェース回路における場合と同様の動作を行
うのに加え、(b)これが読出しアドレスを持つリード
ト−クンであることを示す識別子と間接アドレッシング
を行うことを示すフラグと読出しアドレスであるデータ
部とを持つ場合には、データフロープロセッサからのト
ークンの入力を2度目の読出し動作終了まで一時禁止す
ると共に、そのリードトークンのデータ部の読出しアド
レスをアドレスレジスタにセットし、次いでそれをアド
レスとしてメモリから読出したデータをアドレスレジス
タにセットし、さらにアドレスレジスタの値をアドレス
としてメモリの読出し動作を行うという制御がなされ、
(C)またこれが書込みアドレスを持つライトトークン
であることを示す識別子と間接アドレ、ツシングを行う
ことを示すフラグと書込みアドレスであるデータ部とを
持つ場合には、データフロープロセッサからのトークン
の入力を次の書込み動作終了まで一時禁止すると共に、
そのライトトークンのデータ部のデータをアドレスレジ
スタにセットし、次いでそれをアドレスとしてメモリか
ら読出したデータをアドレスレジスタにセットし、さら
にセットされたアドレスレジスタの値をアドレスとし、
データレジスタの値を書込みデータとしてメモリに書込
み動作を行うという制御がなされる。このようにして、
データフロープロセッサから本発明のメモリインタフェ
ース回路に対して一回のアクセスを行うだけで間接アド
レッシングを実現することができる。
In the memory interface circuit of the present invention, depending on the decoding result of the token input from the data flow processor to the token input section, (a) when the circuit has a flag indicating that indirect addressing is not performed, it is different from the case in the conventional memory interface circuit. In addition to performing the same operation, (b) if it has an identifier indicating that it is a read token with a read address, a flag indicating that indirect addressing is to be performed, and a data portion that is the read address, the data Inputting the token from the flow processor is temporarily prohibited until the second read operation is completed, and the read address of the data section of the read token is set in the address register, and then the data read from the memory is stored in the address register using that address as the address. control to read the memory using the value of the address register as an address.
(C) Also, if this has an identifier indicating that it is a write token with a write address, an indirect address, a flag indicating that tsshing is to be performed, and a data part that is a write address, the token is input from the data flow processor. is temporarily prohibited until the next write operation is completed, and
Set the data in the data portion of the write token in the address register, then set the data read from the memory as an address in the address register, further set the value of the set address register as the address,
Control is performed to perform a write operation to the memory using the value of the data register as write data. In this way,
Indirect addressing can be achieved by just one access from the data flow processor to the memory interface circuit of the present invention.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

本発明の一実施例を示す第1図を参照すると、メモリイ
ンタフェース回路10はマルチプレクサ23、メモリア
クセスコントローラ15、アドレスレジスタ11、デー
タレジスタ13、トークン入力部16、トークン生成部
17及びトークン出力部18から構成され、信号線10
0.101を介して互いに信号線102で接続されてい
るデータフロープロセッサ21.22にそれぞれ接続さ
れ、信号線105〜108を介してメモリ20に接続さ
れている。このメモリインタフェース回路10はデータ
フロ一方式でデータ転送及び演算処理を行う。入出力さ
れるデータの単位であるトークンのデータフォーマット
の一例を第2図に示す。トークンはデータ値を持つデー
タ部86と、トークンの行き先を示すデスティネーショ
ンタグ80と、このトークンの意味を示す識別子等の情
報を持つフィールド81〜84とから構成される。
Referring to FIG. 1 showing one embodiment of the present invention, a memory interface circuit 10 includes a multiplexer 23, a memory access controller 15, an address register 11, a data register 13, a token input section 16, a token generation section 17, and a token output section 18. The signal line 10
0.101 to data flow processors 21 and 22, which are connected to each other by a signal line 102, and to the memory 20 via signal lines 105-108. This memory interface circuit 10 performs data transfer and arithmetic processing using a data flow one-way system. FIG. 2 shows an example of the data format of a token, which is a unit of input/output data. The token is composed of a data portion 86 having a data value, a destination tag 80 indicating the destination of the token, and fields 81 to 84 having information such as an identifier indicating the meaning of the token.

次に、メモリアクセスコントローラ15の詳細な構成を
示す第3図を参照すると、メモリアクセスコントローラ
15は、トークン入力部16からの信号63を入力とし
信号121によってこれをラッチするアドレス・データ
フラグレジスタ51と、トークン入力部16からの信号
64を入力とし信号121によってこれをラッチするリ
ード・ライトフラグレジスタ52と、トークン入力部1
6からの信号65を入力とし信号121によってこれを
ラッチする間接フラグレジスタ53と、それらの出力信
号60,61,62、クロック119.120、トーク
ン入力部16.からの信号121を入力とし、メモリ2
0へのメモリリードライト動作選択信号105、データ
レジスタ13へのラッチ信号117、アドレスレジスタ
11へのラッチ信号118、マルチプレクサ23への選
択・指令信号110、トークン生成部17へのトークン
生成指令信号115及び)・−クン入力部16へのビジ
ー信号116を出力とするゲートアレイ50とから構成
される。
Next, referring to FIG. 3 showing the detailed configuration of the memory access controller 15, the memory access controller 15 has an address/data flag register 51 which receives the signal 63 from the token input section 16 and latches it with the signal 121. , a read/write flag register 52 which receives the signal 64 from the token input section 16 and latches it with the signal 121; and the token input section 1.
an indirect flag register 53 that receives the signal 65 from the input section 16.6 and latches it using the signal 121; input signal 121 from memory 2.
Memory read/write operation selection signal 105 to 0, latch signal 117 to data register 13, latch signal 118 to address register 11, selection/command signal 110 to multiplexer 23, token generation command signal 115 to token generator 17 and) - a gate array 50 which outputs the busy signal 116 to the input section 16.

第1図において、メモリインタフェース回路10に対し
てデータフロープロセッサ21から入力されなトークン
はトークン入力部16でその内容を解読される。トーク
ン入力部16は信号線100を介してクロック120に
同期して入力されたl・−クンのデスティネーションタ
グのフィールド80の値が予めトークン入力部16に設
定されたこのメモリインタフェース回路10を示す値で
ない場合にはこの入カドークンを通過トークンとして信
号線114に出力する。この通過トークンはトークン出
力部18を介して信号線101からメモリインタフェー
ス回路10の外へそのまま出力される。一方、入カドー
クンのデスティネーションタグのフィールド80の値が
このメモリインタフェース回路10を示す値である場合
には、トークン入力部16はそのトークン情報のうちア
ドレス・データフラグ81、リード・ライトフラグ82
、間接フラグ83の各フィールドの情報をそれぞれ信号
線63,64.65に、データ部86を信号線113に
、また読出しデータトークン生成情報フィールド84を
信号線103に出力し、トークンの入力を示す信号線1
21を“1°゛にする。また、トークン入力部16はビ
ジー信号116が“1”である場合には、その期間デー
タフロープロセッサ21からのトークンの入力を行わな
い。
In FIG. 1, a token input from a data flow processor 21 to a memory interface circuit 10 is decoded by a token input section 16. The token input section 16 shows this memory interface circuit 10 in which the value of the field 80 of the destination tag of l.-kun input in synchronization with the clock 120 via the signal line 100 is set in the token input section 16 in advance. If it is not a value, this input token is output to the signal line 114 as a passing token. This passing token is directly output from the signal line 101 to the outside of the memory interface circuit 10 via the token output section 18. On the other hand, if the value of the field 80 of the destination tag of the input card is a value indicating this memory interface circuit 10, the token input section 16 inputs the address/data flag 81, read/write flag 82 of the token information.
, the information in each field of the indirect flag 83 is output to the signal lines 63, 64, and 65, the data section 86 is output to the signal line 113, and the read data token generation information field 84 is output to the signal line 103, indicating input of a token. Signal line 1
Further, when the busy signal 116 is "1", the token input unit 16 does not input a token from the data flow processor 21 during that period.

メモリアクセスコントローラ15において、入力信号1
2が“1パになることにより、トークン入力部16から
信号線63.64.65を介して送られるアドレス・デ
ータフラグ81、リード・ライトフラグ82、間接フラ
グ83の各フィールドの情報がそれぞれアドレス・デー
タフラグレジスタ51、リード・ライトフラグレジスタ
52、間接フラグレジスタ53にラッチされる。以上の
トークン入力部16及びメモリアクセスコントローラ1
5の動作をトークン入力待動作と呼ぶ。ゲートアレイ5
0には、第4図に示されるように、クロック119,1
20が供給されており、上記トークン入出力動作の後、
信号121が″1′′である間、上記レジスタ51,5
2.53の出力60.61.62に従って第5図の入出
力対応表に従った入出力動作を行う。第5図において、
左の121.60,61,62,119,120はメモ
リアクセスコントローラ15に対する入力信号、116
は出力信号の状態を示し、かつ右の105.117,1
18,110,115,116はこれらの入力状態が与
えられたときの出力を示す。また、40で示される各行
はメモリアクセスコントローラ15に対する入力がない
場合に、41で示される各行は間接アドレッシングによ
る読出し及び書込み動作の場合の前半に、42で示され
る各行は間接アドレッシングによる読出し動作の場合の
後半に、43で示される各行は間接アドレッシングによ
る書込み動作の場合の後半に、44で示される各行は通
常のアドレッシングによる読出し動作の場合に、45で
示される各行は通常の間接アドレッシングによる書込み
動作の場合に、46で示される各行はデータのセット動
作の場合に、それぞれ対応している。
In the memory access controller 15, input signal 1
By changing 2 to 1, the information in each field of the address/data flag 81, read/write flag 82, and indirect flag 83 sent from the token input unit 16 via the signal lines 63, 64, and 65 becomes the address. - Latched in the data flag register 51, read/write flag register 52, and indirect flag register 53.The above token input section 16 and memory access controller 1
The operation No. 5 is called the token input waiting operation. Gate array 5
0, as shown in FIG.
20 is supplied, and after the above token input/output operation,
While the signal 121 is "1", the registers 51, 5
According to the outputs 60, 61, and 62 of 2.53, input/output operations are performed according to the input/output correspondence table shown in FIG. In Figure 5,
121.60, 61, 62, 119, 120 on the left are input signals to the memory access controller 15, 116
indicates the state of the output signal, and 105.117,1 on the right
18, 110, 115, and 116 indicate outputs when these input states are given. Further, each row indicated by 40 is used when there is no input to the memory access controller 15, each row indicated by 41 is used for the first half of a read and write operation by indirect addressing, and each row indicated by 42 is used for a read operation by indirect addressing. In the second half of the case, each line marked 43 is for a write operation with indirect addressing, each line marked 44 is for a read operation with normal addressing, and each line marked 45 is for a write operation with normal indirect addressing. In the case of an operation, each row indicated by 46 corresponds to a data set operation.

以下、デスティネーションタグの示す行き先がメモリイ
ンタフェース回路であるようなトークンを用いて行うメ
モリアクセス動作の詳細について述べる。
Details of a memory access operation performed using a token whose destination indicated by a destination tag is a memory interface circuit will be described below.

先ず、メモリ20に対する読出し動作を説明する。メモ
リ読出し動作を行う場合、データフロープロセッサ21
からメモリインタフェース回路10に対して、読出しア
ドレスであるデータ部及びメモリインタフェース回路1
0を行き先とするデスティネーションタグを有し、さら
に間接フラグ83を持つリードトークンを入力する。リ
ード)・−クンにおいてはそのアドレス・データフラグ
81が1°゛、リード・ライトフラグ82が1°“であ
ることによって読出しアドレスを持つリードトークンで
あることが示される。ここではまず間接フラグ83が、
“0”である場合について説明する。トークン入力部1
6に対してこのようなリードトークンが入力されると、
トークン入力部16、メモリアクセスコントローラ15
により上記のトークン入力待動作が行われ、レジスタ5
1゜52.53の出力信号60,61.62が確定する
。ゲートアレイ50は信号線60が“1”であることに
より信号線113からの入力を選択し信号線112に出
力するようマルチプレクサ23に対して信号線110を
介して選択指示信号を出力するとともに、信号線118
を介してラッチ信号を出力し、これにより信号線112
上の入カドークンのデータ値がアドレスレジスタ11に
ラッチされる。さらに、信号線61上に出力された入力
トークンのリード・ライトフラグ82が“1”である場
合、信号105は“0″となり、メモリ20はアドレス
レジスタ11からの出力信号106をアドレスとする読
出し動作を行い、メモリ20から読み出されたデータは
信号線108に出力される。ここでは入カドークンの間
接フラグ83が“0”であるので間接フラグレジスタ5
3の出力信号62は“0”となり、ゲートアレイ50は
これにより読み出したデータからトークンを生成するこ
とを信号線115を介してトークン生成部17に指示し
、トークン生成部17はこれに従って読出しデータ10
8と読出しデータトークン生成情報103に含まれる読
出しデータトークンの持つべきデスティネーションタグ
及び識別子を組合せて出カドークンを形成し、この出カ
ドークンは信号線104、トークン出力部18、信号線
101を経てデータフロープロセッサ22へ出力される
First, a read operation for the memory 20 will be explained. When performing a memory read operation, the data flow processor 21
The data section which is the read address and the memory interface circuit 1 are sent to the memory interface circuit 10 from
A read token with a destination tag of 0 and an indirect flag 83 is input. In the read)-kun, the address/data flag 81 is 1°'' and the read/write flag 82 is 1°'', indicating that it is a read token with a read address.Here, first, the indirect flag 83 is but,
The case where it is "0" will be explained. Token input section 1
When such a lead token is entered for 6,
Token input section 16, memory access controller 15
The above token input waiting operation is performed, and register 5 is
Output signals 60 and 61.62 of 1°52.53 are determined. Since the signal line 60 is "1", the gate array 50 selects the input from the signal line 113 and outputs a selection instruction signal to the multiplexer 23 via the signal line 110 to output it to the signal line 112. Signal line 118
outputs a latch signal via the signal line 112.
The data value of the upper input address is latched into the address register 11. Further, when the read/write flag 82 of the input token output on the signal line 61 is "1", the signal 105 becomes "0", and the memory 20 reads out the output signal 106 from the address register 11 as an address. The data read from the memory 20 is output to the signal line 108. Here, since the input indirect flag 83 is "0", the indirect flag register 5
The output signal 62 of No. 3 becomes "0", and the gate array 50 instructs the token generation section 17 via the signal line 115 to generate a token from the read data, and the token generation section 17 follows this and generates a token from the read data. 10
8 and the destination tag and identifier that the read data token should have included in the read data token generation information 103 to form an output token. It is output to the flow processor 22.

以上の読出し動作はパイプラインクロック119の1パ
イプラインクロツク間に終了し、トークン入力部16が
パイプラインクロック119に同期して信号121を0
”にすることによってメモリインタフェース回路10は
メモリ読出し動作を終了する。これに対し、リードトー
クン入力時にその間接フラグが°°1“のときには間接
フラグレジスタ53の出力信号62が“1”となる。
The above read operation is completed within one pipeline clock of the pipeline clock 119, and the token input section 16 changes the signal 121 to 0 in synchronization with the pipeline clock 119.
'', the memory interface circuit 10 completes the memory read operation.On the other hand, when the indirect flag is "°1" when the read token is input, the output signal 62 of the indirect flag register 53 becomes "1".

この場合、メモリインタフェース回路10はそのリード
■・−クンの持つアドレスにより、以下のように間接ア
ドレッシングによる読出し動作を行う。トークン入力動
作の後、信号62が゛1”であるとビジー信号116が
1″となり、これにより1パイプラインクロツクの間、
トークン入力部への入力が停止され、間接アドレッシン
グによる続出し動作は2バイブラインクロツクで行われ
る。上記と同様にして1パイプラインクロツク目で1度
目のメモリ読出しを行った後、ゲートアレイ50は信号
62が1”であることにより、トークン生成指令信号1
15を出力せず、信号110によりマルチプレクサ23
に対し入力信号108を選択して信号線112に出力す
るよう指示し、ラッチ信号118を出力する。また1度
目のメモリ読出しによってメモリ20から読み出された
データが間接アドレッシングの2度目の読出しアドレス
として、アドレスレジスタ11にラッチされ、1パイプ
ラインクロツク目と同様にメモリ読出し動作が行われ、
メモリ20から読み出されたデータは信号線108に出
力される。その後、信号線115が1″となり、トーク
ン生成部17はこれに従って信号線108から送られた
読出しデータと信号線103から送られた読出しデータ
トークン生成情報フィールド84に含まれる読出しデー
タトークンの持つべきデスティネーションタグ及び識別
子を組合せて出カドークンを生成し、この出力トークン
は信号線104、トークン出力部18、信号線101を
経てデータフロープロセッサ22へ出力され、メモリイ
ンタフェース回路10は間接アドレッシングによるメモ
リ読出し動作を終了する。
In this case, the memory interface circuit 10 performs a read operation by indirect addressing as follows, based on the addresses held by the reads 1 and 2. After a token input operation, if signal 62 is ``1'', busy signal 116 becomes 1'', which causes the
Input to the token input section is stopped, and successive output operations by indirect addressing are performed using a 2-vib line clock. After performing the first memory read at the first pipeline clock in the same manner as above, the gate array 50 receives the token generation command signal 1 because the signal 62 is 1''.
15 and multiplexer 23 by signal 110.
It selects the input signal 108 and instructs it to be output to the signal line 112, and outputs the latch signal 118. Further, the data read from the memory 20 by the first memory read is latched in the address register 11 as the second read address of indirect addressing, and the memory read operation is performed in the same way as the first pipeline clock.
Data read from memory 20 is output to signal line 108. Thereafter, the signal line 115 becomes 1'', and the token generation unit 17 accordingly generates the read data sent from the signal line 108 and the read data token included in the read data token generation information field 84 sent from the signal line 103. A destination tag and an identifier are combined to generate an output token, and this output token is output to the data flow processor 22 via the signal line 104, the token output section 18, and the signal line 101, and the memory interface circuit 10 performs memory readout using indirect addressing. Finish the operation.

次に、メモリ20に対する書き込み動作について説明す
る。メモリ書込み動作を行う場合、まずあらかじめデー
タフロープロセッサ21からメモリインタフェース回路
10に対して、書込みデータであるデータ部及びメモリ
インタフェース回路10、を行き先とするデスティネー
ションタグを持つデータトークンを入力する。データト
ークンにおいてはそのアドレス・データフラグ81が″
“0″であることによって書込みデータを持つデータト
ークンであることが示される。トークンが入力されると
上述したトークン入山時動作が行われ、入カドークンの
データ部86の書込みデータが信号線113に、アドレ
ス・データフラグ81が信号63に出力され、ここでゲ
ートアレイ50はラッチ信号121によりラッチしたア
ドレス・データフラグレジスタ51の出力信号60がデ
ータトークンを示す“0パであることによりラッチ信号
117を出力しこれによりメモリインタフェース回路1
0は1パイプラインサイクル間でデータのセット動作を
終了する。ついで、データフロープロセッサ21からメ
モリインタフェース回路10に対して、書込みアドレス
であるデータ部及びメモリイタフェース回路10を行き
先とするデスティネーションタグを有し、さらに間接フ
ラグを持つライトトークンをメモリインタフェース回路
10に入力する。ライトトークンにおいてはそのアドレ
ス・データフラグ81が1”、リード・ライトフラグ8
2が“O”であることによって書込みアドレスを持つラ
イトトークンであることが示される。ライトトークンが
入力される′ と上述したトークン入山時動作が行われ
、ここでゲートアレイ50は間接アドレッシングを行わ
ないデータ書込み動作の場合、信号60,61.62が
それぞれ“1パ、“0”、“°0′°であることにより
、メモリ20に対し信号105を″1”とし、これによ
ってアドレスレジスタ11から出力される信号106を
書込みアドレスとし、先に設定されたデータレジスタ1
3から出力される信号107を書込みデータとする書込
み動作を指示する。メモリ20がこれに従って書込み動
作を実行することにより、1パイプラインサイクル間で
メモリ書込み動作を終了する。これに対し、ゲートアレ
イ50に、入力される間接アドレッシングの有無を示す
信号62が“1″である場合には、メモリインタフェー
ス回路10はそのライトトークンの持つアドレスにより
、以下のように2パイプラインサイクルかけて間接アド
レッシングによる書込み動作を行う。まず、間接フラグ
が′0”であるメモリ読出しトークンが入力された時の
1パイプラインサイクル目と同様に、ビジー信号116
を“′1°′にし、またアドレスレジスタ11に対する
入カドークンのデータ部のラッチと、信号線105によ
るメモリ読出しを行い、1度めのメモリ読出しによって
メモリ20から読み出されたデータが間接アドレッシン
グの2度目の読出しアドレスとして、アドレスレジスタ
11にラッチする。これに続いてゲートアレイ50は信
号105を“′1゛′にすることにより、アドレスレジ
スタ11から出力される信号106を書込みアドレスと
し、先に設定されたデータレジスタ13から出力される
信号107を書込みデータとする書込み動作をメモリ2
0に対して指示し、メモリ20が書込み動作を実行する
。以上の動作により、2パイプラインサイクル間でメモ
リ書込み動作を終了する。
Next, a write operation to the memory 20 will be explained. When performing a memory write operation, first, a data token having a destination tag whose destination is the data section, which is write data, and the memory interface circuit 10 is input from the data flow processor 21 to the memory interface circuit 10 . In the data token, its address/data flag 81 is ``
A value of “0” indicates that the token is a data token having write data. When a token is input, the above-mentioned token entry operation is performed, and the write data of the data section 86 of the input token is output to the signal line 113, the address/data flag 81 is output to the signal 63, and the gate array 50 is latched. Since the output signal 60 of the address/data flag register 51 latched by the signal 121 is "0" indicating a data token, the latch signal 117 is output, and the memory interface circuit 1
0 completes the data setting operation within one pipeline cycle. Next, the data flow processor 21 sends a write token to the memory interface circuit 10 that has a data section that is a write address, a destination tag with the memory interface circuit 10 as the destination, and also has an indirect flag. Enter. In the write token, the address/data flag 81 is 1”, and the read/write flag 8
2 being "O" indicates that it is a write token with a write address. When a write token is input, the above-described token entry operation is performed, and in the case of a data write operation in which indirect addressing is not performed in the gate array 50, signals 60, 61, and 62 are set to "1 pass" and "0", respectively. , "°0'°, the signal 105 is set to "1" for the memory 20, and the signal 106 output from the address register 11 is thereby set as the write address, and the previously set data register 1 is set.
Instructs a write operation using the signal 107 output from 3 as write data. The memory 20 executes the write operation in accordance with this, thereby completing the memory write operation within one pipeline cycle. On the other hand, when the signal 62 indicating the presence or absence of indirect addressing inputted to the gate array 50 is "1", the memory interface circuit 10 performs two pipelines according to the address of the write token as follows. A write operation using indirect addressing takes cycles. First, as in the first pipeline cycle when a memory read token whose indirect flag is '0' is input, the busy signal 116
is set to "'1°", and the data portion of the input address register 11 is latched and the memory read is performed using the signal line 105, and the data read from the memory 20 by the first memory read is transferred to the indirect addressing. The second read address is latched into the address register 11.Subsequently, the gate array 50 sets the signal 105 to "'1'', thereby setting the signal 106 output from the address register 11 as the write address, and latches it into the address register 11. The memory 2 performs a write operation using the signal 107 output from the data register 13 set as write data.
0, and memory 20 performs a write operation. With the above operation, the memory write operation is completed within two pipeline cycles.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、データフロープロ
セッサからメモリインタフェース回路への1回のアクセ
スによる間接アドレッシングを可能にし、従来のように
データフロープロセッサのプログラムでこれを実現する
場合に比べて、ソフトウェアの負担及び処理実行時のデ
ータフロープロセッサからメモリインタフェース回路へ
の2度アクセスによる処理の遅れを低減し、処理を高速
化できる。
As explained above, according to the present invention, indirect addressing is enabled by a single access from a data flow processor to a memory interface circuit, and compared to the conventional case where this is achieved using a data flow processor program, This reduces the burden on software and delays in processing due to twice accessing the memory interface circuit from the data flow processor during processing execution, and speeds up processing.

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

第1図は本発明の一実施例を示す構成図、第2図は入力
I・−クンのデータフォーマットの一例を示す図、第3
図は第1図におけるメモリアクセスコントローラのより
詳細な構成図、第4図及び第5図はメモリアクセスコン
トローラの動作を説明するための図である。 10・・・メモリインタフェース回路、11・・・アド
レスレジスタ、13・・・データレジスタ、15・・・
メモリアクセスコントローラ、16・・暑・−クン入力
部、17・・・トークン生成部、18・・・トークン出
力部、20・・・メモリ、21.22・・・データフロ
ープロセッサ、23・・・マルチプレクサ、50・・・
ゲートアレイ、51・・・アドレス・データフラグレジ
スタ、52・・・リード・ライトフラグレジスタ、53
・・・間接フラグレジスタ、60〜65.100〜10
8.110〜121・・・信号線。 第2 面 \p+ 第S面
FIG. 1 is a configuration diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing an example of the data format of input I-Kun, and FIG.
This figure is a more detailed configuration diagram of the memory access controller in FIG. 1, and FIGS. 4 and 5 are diagrams for explaining the operation of the memory access controller. 10...Memory interface circuit, 11...Address register, 13...Data register, 15...
Memory access controller, 16... heat input unit, 17... token generation unit, 18... token output unit, 20... memory, 21.22... data flow processor, 23... Multiplexer, 50...
Gate array, 51...Address/data flag register, 52...Read/write flag register, 53
...Indirect flag register, 60-65.100-10
8.110-121...Signal line. 2nd side\p+ side S

Claims (1)

【特許請求の範囲】 リング状に接続された複数のデータフロープロセッサと
、メモリとに接続され、 前記データフロープロセッサから入力されるデータの単
位であるトークンを入力するトークン入力部と、 前記トークン入力部から入力される前記メモリに対する
書込みデータを保持するデータレジスタと、 前記メモリ及び前記トークン入力部から入力されるデー
タのうちの一方を選択出力するマルチプレクサと、 前記マルチプレクサから出力される前記メモリに対する
読出し・書込みアドレスを保持するアドレスレジスタと
、 前記メモリから読み出したデータを用いて前記データフ
ロープロセッサに対して出力するトークンを生成するト
ークン生成部と、 前記トークン生成部で生成されたトークンを前記データ
フロープロセッサに対して出力するトークン出力部と、 前記メモリ、前記マルチプレクサ、前記トークン生成部
及び前記トークン入力部に接続されこれらに対するメモ
リ読出し・書込み動作を制御するメモリアクセスコント
ロールと、 から構成されることを特徴とするメモリインタフェース
回路。
[Scope of Claims] A token input unit connected to a plurality of data flow processors connected in a ring shape and a memory, and inputting a token that is a unit of data input from the data flow processor; and the token input unit. a data register that holds write data input from the memory unit, a multiplexer that selects and outputs one of the data input from the memory and the token input unit, and a data register that holds write data input from the multiplexer to the memory; - an address register that holds a write address; a token generation unit that uses data read from the memory to generate a token to be output to the data flow processor; and a token generation unit that uses the data read from the memory to generate a token to be output to the data flow processor; a token output section that outputs to the processor; and a memory access control that is connected to the memory, the multiplexer, the token generation section, and the token input section and controls memory read/write operations for these. Features a memory interface circuit.
JP24163086A 1986-10-09 1986-10-09 Memory interface circuit Pending JPS6395540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24163086A JPS6395540A (en) 1986-10-09 1986-10-09 Memory interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24163086A JPS6395540A (en) 1986-10-09 1986-10-09 Memory interface circuit

Publications (1)

Publication Number Publication Date
JPS6395540A true JPS6395540A (en) 1988-04-26

Family

ID=17077176

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24163086A Pending JPS6395540A (en) 1986-10-09 1986-10-09 Memory interface circuit

Country Status (1)

Country Link
JP (1) JPS6395540A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007531957A (en) * 2003-07-14 2007-11-08 フルクラム・マイクロシステムズ・インコーポレーテッド Asynchronous static random access memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007531957A (en) * 2003-07-14 2007-11-08 フルクラム・マイクロシステムズ・インコーポレーテッド Asynchronous static random access memory

Similar Documents

Publication Publication Date Title
JPH0238975B2 (en)
JP2009009550A (en) Communication for data
JPS6395540A (en) Memory interface circuit
JPH0950376A (en) Data processor
JPS58107977A (en) Accessing system for storage device
JP2821176B2 (en) Information processing device
US5123093A (en) Operational processor for performing a memory access and an operational process in parallel
JPS63173141A (en) Memory interface circuit
JPS63173143A (en) Memory interface circuit
JPH0218732B2 (en)
JPH0474254A (en) Microprocessor diagnostic system
JPS62269237A (en) Data processor
WO1995022110A1 (en) Write-read data operation for microprocessor
JPS62233843A (en) Memory interface circuit
JP2001014214A (en) Method for sharing memory and multiprocessor facility using this method
JPH0646411B2 (en) End token output circuit
JPS593647A (en) data processing system
JPH0782452B2 (en) Processor
JPH0468459A (en) Digital signal processor
JPS61249140A (en) Microprogram controller
JPH02136949A (en) input/output control device
JPS62168231A (en) Data processor
JPS6343782B2 (en)
JPH0158528B2 (en)
JPS63188233A (en) Central processing unit