JPS62233842A - Memory interface circuit - Google Patents

Memory interface circuit

Info

Publication number
JPS62233842A
JPS62233842A JP7764086A JP7764086A JPS62233842A JP S62233842 A JPS62233842 A JP S62233842A JP 7764086 A JP7764086 A JP 7764086A JP 7764086 A JP7764086 A JP 7764086A JP S62233842 A JPS62233842 A JP S62233842A
Authority
JP
Japan
Prior art keywords
address
memory
write
token
register
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
JP7764086A
Other languages
Japanese (ja)
Inventor
Masanori Mizoguchi
正典 溝口
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 JP7764086A priority Critical patent/JPS62233842A/en
Publication of JPS62233842A publication Critical patent/JPS62233842A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the processing delay caused by the change of a higher order side address in a processing execution mode by making use of the ON/ OFF states of the flag produced from calculation of a lower order side address in an overflow mode to change the higher order side address. CONSTITUTION:When a muPD 7281 is used for data flow processors 21 and 22, a lower order side address is calculated by means of an addition or increment instruction. Then a flag bit can be turned on in an overflow mode. That is, a token is outputted as long as a flag showing the occurrence of an overflow of the lower order side address data in case a carry is sent to a higher order side address from the lower order side address. Then the increment of the higher order side address is possible by means of said flag.

Description

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

〔従来の技術〕[Conventional technology]

従来、データフローブロセップとして、日本電気株式会
社製μPD7281がある。前iビデ−タフロープロセ
ッサを用いた演算処理システムにおけるメモリインタフ
ェース回路として、日本電気株式会社製のμPD930
5がある。前記μPD9305のメモリアクセス動作に
ついてまず説明する。
Conventionally, there is μPD7281 manufactured by NEC Corporation as a data flow processor. The μPD930 manufactured by NEC Corporation was used as a memory interface circuit in the arithmetic processing system using the previous i-video data flow processor.
There are 5. First, the memory access operation of the μPD9305 will be explained.

μPD9305はデータフロ一方式でデータ配送及び演
算処理を行っており、人出力されるデータはトークンと
呼ばれる。
The μPD9305 performs data delivery and arithmetic processing using a data flow method, and the data output by humans is called a token.

トークンはデータ部と、このデータ部の意味を示す識別
子と、トークンの行き先を示すデスティネーションタグ
などとから構成された組データである。
A token is set data consisting of a data section, an identifier indicating the meaning of the data section, and a destination tag indicating the destination of the token.

例えば、メモリ書込みの場合には、11込みデータであ
るデータ部、書込みデータであることを示す識別子およ
びメモリインタフェース回路を行き先とするデスティネ
ーションタグを有する書込みデータトークンと、書込み
下位側アドレスであるデータ部、書込み下位側アドレス
であることを示す識別子およびメモリインタフェース回
路を行き先とするデスティネーションタグを有する書込
下位fllJアドレストークンとを、この順序でメモリ
インタフェース回路に入力する。メモリインタフェース
回路は内部に複数のデータレジスタを有しており、*込
みデータトークンが入力されるとそのデータ部の書込み
データをデータレジスタに設定し保持する。
For example, in the case of memory writing, there is a data part that is 11 write data, a write data token that has an identifier indicating that it is write data and a destination tag that indicates the destination is the memory interface circuit, and data that is the write lower side address. , a write lower fllJ address token having an identifier indicating that it is a write lower address, and a destination tag with the memory interface circuit as the destination, are input to the memory interface circuit in this order. The memory interface circuit has a plurality of data registers inside, and when a *write data token is input, the write data of the data section is set and held in the data register.

書込み下位側アドレスト−クンが入力されると、メモリ
インタフェース回路はメモリに対して前記データレジス
タから読出しだ書込データと、下位側書込みアドレスト
−クンのデータ部の下位9111 書込アドレスと、メ
モリ書込指令信号とを出力し書込み動作を指示する。
When the write lower address token is input, the memory interface circuit inputs the write data read from the data register to the memory, and the lower 9111 write address of the data portion of the lower write address token. A memory write command signal is output to instruct a write operation.

メモリは前記の指示に従って書込み動作を実行し、これ
が終了するとメモリインタフェース回路にアクセス終了
信号を返す。メモリインタフェース回路はこのアクセス
終了信号を受取ってメモリ書込み動作を終了する。
The memory executes the write operation according to the above instruction, and when the write operation is completed, returns an access completion signal to the memory interface circuit. The memory interface circuit receives this access end signal and ends the memory write operation.

メモリ読出しの場合には、読出し下位側アドレスである
データ部、読出し下位側アドレスであることを示す識別
子およびメモリインタフェースを行先とするデスティネ
ジ冒ンタグを有する読出し下位側アドレスト−クンをメ
モリインタフェース回路に入力する。メモリインタフェ
ース回路は読出し下位側アドレスト−クンのデータ部を
下位側アドレスとしてメモリ読出し指令信号を出力し。
In the case of memory read, a read lower address token having a data part which is a read lower address, an identifier indicating that it is a read lower address, and a destination address tag with the memory interface as the destination is sent to the memory interface circuit. input. The memory interface circuit outputs a memory read command signal using the data portion of the read lower address token as the lower address.

読出し動作を指示する。Instructs read operation.

メモリは前記の指示に従って読出し動作を実行入力し、
メモリ読出し動作を終了する。
The memory input performs a read operation according to the above instructions;
Ends the memory read operation.

μPD9305には、更にアドレスの上位側のレジスタ
として読出し動作用と曹込み動作用とにそれぞれリード
ハイアドレスレジスタとライトハイアドレスレジスタが
備えられており、これらのレジスタにセットすべき値を
データ部とし、上位側の胱出しもしくrig込アドレス
であることを示す識別子と複数のリードハイアドレスレ
ジスタもしくはライトハイアドレスレジスタの1つを選
択するレジスタ番号とを含む読出しあるいri書込みバ
イアドレストークンの入力で、前記対応するそれぞれの
ハイアドレスレジスタに設定することができる。
The μPD9305 is further equipped with a read high address register and a write high address register for read operations and write operations as registers on the upper side of addresses, respectively, and the values to be set in these registers are used as the data part. , input of a read or write by address token containing an identifier indicating that it is an upper address or write address and a register number for selecting one of a plurality of read high address registers or write high address registers. and can be set in each of the corresponding high address registers.

前記読出し下位側アドレスト−クンあるいは書込み下位
側アドレスト−クンがμPD9305に入力されると、
デスティネーションタグもしくは識別子で選択されるリ
ードノ・イアドレスレジスタもしくはライトハイアドレ
スレジスタから上位側アドレスが下位側アドレスと共に
読出され、メモリをアクセスするアドレスとされる。(
μPD9305この機■トによってμPD93o5tr
s上位側アドレスを使ったメモリアドレス空間の拡張を
笑現している。
When the read lower address token or write lower address token is input to the μPD9305,
The upper address is read together with the lower address from the read/write address register or write high address register selected by the destination tag or identifier, and is used as the address for accessing the memory. (
μPD9305This device allows μPD93o5tr
This represents the expansion of the memory address space using the s upper address.

〔発Iすjカニ解決しようとする間匙点〕前記従来のメ
モリインタフェース回路に対して、上位側アドレスと下
位側アドレスは全く独立の入力である。16ビツトのデ
ータ部を有するトークンを用いた場合を例にとれば、上
位側アドレスが216語の範囲のメモリ空間では、下位
側アドレスをもつトークンだけで読出し、書込みを行う
ことができるが、216語よシ大きなメモリ空間を扱う
場合や、扱う空間は218語よシも小さくても異なる上
位側アドレスの空間にまたがる領域を扱う場合には、正
しい上位側アドレスをメモリインタフェース回路に入力
して、前記リードもしくはライトハイアドレスレジスタ
の値を変更しなければならなかった。例えば、16進表
示のアドレスで上位側8ビツト、下位側16ビツトの2
4ビットアドレス空間に対してroOFFFFJの次は
[010000Jであり、上位側アドレスは「OO」か
ら「01」に変化している。
[An intermediate point to solve the problem] For the conventional memory interface circuit, the upper address and the lower address are completely independent inputs. For example, if a token with a 16-bit data field is used, in a memory space where the upper address is in the range of 216 words, only the token with the lower address can read and write. When handling a memory space that is quite large, or when handling an area that spans different upper address spaces even if the space is smaller than 218 words, input the correct upper address to the memory interface circuit. The value of the read or write high address register had to be changed. For example, in a hexadecimal address, the upper 8 bits and the lower 16 bits are 2.
The next address after roOFFFFJ in the 4-bit address space is [010000J, and the upper address changes from "OO" to "01".

従来、このように上位側アドレスの異なる領域を越える
メモリアドレスを扱うには、次の2つの対処の方法があ
る。
Conventionally, there are the following two methods for handling memory addresses that exceed areas with different upper addresses.

第1の方法は、あらかじめN番目のメモリアクセスで上
位側アドレスの変更が起きる事がアルゴリズムかられか
っている場合は、そのN番目とへ+1番目のメモリアク
セスの間に上位側アドレスの変更を行うプログラムを付
加するものである。
The first method is to change the upper address between the Nth and +1st memory accesses if the algorithm knows in advance that the upper address will be changed at the Nth memory access. This is to add a program.

第2の方法は、例えば単調増加にアクセスするメモリア
ドレスが増加してゆく場合に、その下位側アドレスで表
現できる最大値に達したか否かを監視して、もし達した
ならばその次のメモリアクセスを行う前に上位側アドレ
スを変更する方法であシ、アドレスが「1」ずつ増加す
る場合前記16と、トのデータ部の例では下位側アドレ
スが「FFFFJのとき、その次のアクセスで下位側ア
ドレスro OOOJによるメモリアクセスを行う前K
、上位側アドレスを「1」ふやした値をセットするよう
にする方法である。
The second method is, for example, when the number of memory addresses to be accessed increases monotonically, it is monitored whether the maximum value that can be expressed by the lower address has been reached, and if it has been reached, the next This is a method of changing the upper address before performing memory access. In the example of the data section of 16 and 7 above, when the address increases by 1, when the lower address is FFFFJ, the next access Before accessing the memory using the lower address ro OOOJ,
, the upper address is set to a value incremented by "1".

しかしながら、上記の第1の方法は、メモリ空間に対し
てどこを開始アドレスとするかによって上位側アドレス
を変更する時期が異なシ、汎用的なプログラムにし難い
欠点がある。第2の方法でも、常に下位側アドレスの値
を監視する処理や、上位側アドレスの変更のために一連
の処理を中断するようプログラムしなければならず、や
けりンフトウェアの負担と実行時における処理の遅れが
生ずる欠点があった。
However, the first method described above has the drawback that the timing for changing the upper address varies depending on where in the memory space the starting address is set, and it is difficult to implement a general-purpose program. Even with the second method, programs must be programmed to constantly monitor the value of the lower address and to interrupt a series of processes to change the upper address, which increases the burden on software and This method had the disadvantage of causing processing delays.

本発明の目的ri、チータフロープロセッサによるメモ
リの訪出し、書込みの動作において、上位側アドレスの
変更を意識せずにプログラムが作成でき、処理実行時に
上位側アドレスの変更から生ずる処理の遅れを低減する
ことにある。
The object of the present invention is to be able to create a program without being aware of changes in the upper address in memory access and write operations by the Cheetah Flow Processor, thereby reducing processing delays caused by changes in the upper address during processing execution. It's about doing.

〔問題を解決するための手段〕[Means to solve the problem]

本発明の構成は、ホストプロセッサおよびリング状に接
続された複数のチータフロープロセッサとメモリとの間
に接続され、前記チータフロープロセッサから入力され
るトークンの指示により、前記メモリに対して読出し書
込み動作を実行するメモリインタフェース回路において
、前記メモリに書込データを出力するデータレジスタと
、書込み上位側アドレスカウンタレジスタと、胱出し上
位側カウンタアドレスレジスタと、前記メモリへ下位側
アドレスを出力する下位側アドレスレジスタと、前記メ
モリのアクセスを制御するメモリアクセスコントローラ
と、前記データフロープロセッサから入力されるトーク
ンの指示に従って前記トークンによって得られる書込デ
ータ、*込み上位側アドレス、軌出し上位側アドレスお
よび下位側アドレスを対応する前記各レジスタへ設定し
、前記下位側アドレスの設定の場合には、さらに前記入
力されたトークンの指示に従って前記書込み上位(Il
lアドレスレジスタもしくは読出し上位側アドレスレジ
スタをインクリメントするか否かを判定してインクリメ
ント動作を行い、前記メモリアクセスコントローラに1
7込みもしくriS出しの動作開始の指示を行うトーク
ン入力部と、前記書込み上位側アドレスレジスタと胱出
し上位側アドレスレジスタとに接続され、書込みもしく
は読出しの動作に応じて設定されている前記書込み上位
側アドレスまたはMf、出し上位側アドレスの一方を選
択して前記メモリへ上位側アドレスとして出力するマル
チプレク丈とを備えたことを特徴とする。
The configuration of the present invention is connected between a host processor, a plurality of Cheetah Flow processors connected in a ring shape, and a memory, and performs read/write operations on the memory in accordance with a token instruction input from the Cheetah Flow processor. In the memory interface circuit that executes, a data register that outputs write data to the memory, a write upper address counter register, a bladder output upper counter address register, and a lower address that outputs a lower address to the memory. a register, a memory access controller that controls access to the memory, write data obtained by the token according to instructions of the token input from the data flow processor, *input upper side address, output upper side address, and lower side. The address is set in each of the corresponding registers, and in the case of setting the lower address, the write upper (Il) address is further set according to the instruction of the input token.
It is determined whether or not to increment the 1 address register or the read upper address register, performs an increment operation, and sends 1 to the memory access controller.
7 A token input unit for instructing the start of the operation of writing in or issuing riS, and the writing device connected to the write upper address register and the bladder output upper side address register, and is set according to the write or read operation. It is characterized by comprising a multiplex length for selecting one of the upper address, Mf, and the output upper address and outputting it to the memory as the upper address.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

この図において、本発明の一実施例は内部にマルチブレ
フサ24.ローアドレスレジスタ11゜データレジスタ
13.リードハイアドレスカウンタレジスタ12.ライ
トハイアドレスカウンタレジスタ14.メモリアクセス
コントローラ15゜トークン入力部16からなるメモリ
インタフェース回路10と、トークン主成部171トー
クン出力部18.ホストインタフェース19から構成さ
れている。
In this figure, one embodiment of the present invention has an internal multi-breafter 24. Row address register 11° data register 13. Read high address counter register 12. Write high address counter register 14. Memory access controller 15. A memory interface circuit 10 consisting of a token input section 16, a token main formation section 171, a token output section 18. It consists of a host interface 19.

メモリインタフェース回路10は、信号線100及び1
11を介して互いに信号1112で接続されているチー
タフロープロセッサ21及び22にそれぞれ接続され、
信号線105,106,107゜108はメモリ20に
接続されている。
The memory interface circuit 10 has signal lines 100 and 1
11 to Cheetah flow processors 21 and 22, which are connected to each other by a signal 1112, respectively;
Signal lines 105, 106, 107 and 108 are connected to memory 20.

ホストインタフェース19U、ホスト10セッ丈23か
ら信号1115を介して各種の指令、データなどをやり
とりし、データに関しては信号線103を介してトーク
ン入力部16からのデータを信号線115を介してホス
ト10セツサに送り、逆にホスト10セッ丈23から信
号fi!115を介して入力したデータを信号線109
を介してトークン出力部に送るように接続されている。
Various commands, data, etc. are exchanged from the host interface 19U and the host 10 set length 23 via the signal 1115, and data is sent from the token input section 16 via the signal line 103 to the host 10 via the signal line 115. Send to Setsa, and conversely signal fi from host 10 set length 23! The data input via signal line 115 is transferred to signal line 109.
is connected to the token output section via the .

トークン入力部16ri信号線100を介してデた信号
を出力する。信号1113で前記入カドークンのデステ
ィネーションタグが本メモリインタフェース回路を示し
ていない場合に、入力されたトークンがそのままトーク
ン出力部18に送られる。信号線104で識別子がメモ
リ読出し動作を指定している場合に読み出したデータの
ためのデスティネーションタグや識別子がトークン生成
部17に送られる。
The token input section 16ri outputs a signal via the signal line 100. If the destination tag of the input card does not indicate this memory interface circuit according to the signal 1113, the input token is sent as is to the token output section 18. When the identifier specifies a memory read operation on the signal line 104, a destination tag and an identifier for the read data are sent to the token generation unit 17.

トークン生成部17は信号1108から入力する前記メ
モリ読出データと、信号1104から入力した信号とを
組合せてトークンを生成し、信号線llOを介してトー
クン出力部18に送る。
The token generation section 17 generates a token by combining the memory read data input from the signal 1108 and the signal input from the signal 1104, and sends it to the token output section 18 via the signal line 11O.

トークン出力部18は信号線109,110および11
3とから入力し信号+9111を介して出力スヘキトー
クンがあれば、データフロ−10七9丈21へ信号線1
11を介して出力する。トークン入力部16?よメモリ
アクセスに関するトークンを入力したならば、その情報
を信号線101でメモリアクセスコントローラ15に送
り、前記入カドークンがデータ部にアドレス値を持つも
のであれば、信号線102を介してライトハイアドレス
レジスタl 4 、 IJ−トノ\イアドレスレジスタ
μあるvhuローアドレスレジスタ11にセットし、デ
ータ値をもつものであればデータレジスタ13にセット
する。
The token output section 18 has signal lines 109, 110 and 11
If there is a token input from 3 and output via signal +9111, signal line 1 is sent to data flow-1079-21.
11. Token input section 16? When a token related to memory access is input, the information is sent to the memory access controller 15 via the signal line 101, and if the input token has an address value in the data section, the write high address is sent via the signal line 102. Register l 4 and IJ address register μ are set in a certain vhu row address register 11, and if it has a data value, it is set in the data register 13.

メモリアクセスコントローラ15は、信号線105を介
してメモリ20に接続している。ライトハイアドレスレ
ジスタ14の出力とリードノ1イアドレスレジスタ12
の出力は、それぞれ信号線114.116でマルチプレ
クサ24に入力し、一方が選択されて信号線107でメ
モ’J 20に出力すれる。ローアドレスレジスタ11
は、信号線106で前記メモリに接続されている。デー
タレジスタ13の出力は、信号線108でメモリ20へ
の書込データを送るが、読出し動作では信号線10Bへ
データレジスタ13からはデータ出力されない。信号#
i!108はトークン生成部17に接続されており、メ
モリ20からの読出しデータが転送される。
Memory access controller 15 is connected to memory 20 via signal line 105. Output of write high address register 14 and read no 1 address register 12
The outputs of are input to the multiplexer 24 through signal lines 114 and 116, respectively, and one is selected and output to the memo'J 20 through a signal line 107. Row address register 11
is connected to the memory by a signal line 106. The output of the data register 13 sends write data to the memory 20 via the signal line 108, but in a read operation, no data is output from the data register 13 to the signal line 10B. signal#
i! 108 is connected to the token generation unit 17, and read data from the memory 20 is transferred thereto.

リードハイアドレスカウンタレジスタ12とライトハイ
アドレスカウンタレジスタ14ri、信号8102を介
してトークン入力部16から上位側アドレス値とレジス
タ番号を入力する。信号線116.114を介して出力
される続出し上位側1アドレスと書込み上位側アドレス
は、マルチプレクサ24において読出し動作と書込み動
作に応じて選択され、信号線107を介してメモリ20
に出力される。ここに、マルチプレクサ24のかわりに
ハイインピーダンス回路を用いた選択回路を利用しても
もちろん構わない。
The upper address value and register number are input from the token input section 16 via the read high address counter register 12, write high address counter register 14ri, and signal 8102. The consecutive high-order 1 address and the write high-order address outputted via the signal lines 116 and 114 are selected by the multiplexer 24 according to the read operation and the write operation, and are outputted to the memory 20 via the signal line 107.
is output to. Here, of course, a selection circuit using a high impedance circuit may be used instead of the multiplexer 24.

メモリ20の胱出し動作と書込み動作を以下に説明する
The emptying operation and writing operation of the memory 20 will be explained below.

トークンは、データ部とこのデータ部の意味を示す識別
子とトークンの行先を示すデスティネーションタグなど
から構成された組データである。
A token is a set of data consisting of a data section, an identifier indicating the meaning of the data section, and a destination tag indicating the destination of the token.

メモリ書込み、メモリ読出しのいずれの動作に対しても
、それぞれ、書込み上位側アドレスもしくは読出し上位
gJ0アドレスであるデータ部、書込み上位側アドレス
であるか続出し上位側アドレスであるかを示す識別子、
メモリインタフェース回路を行先とするデスティネーシ
ョンタグ、レジスタ番号を有する書込み上位側アドレス
ト−クンあるいは耽出し上位側アドレスト−クンが、メ
モリイスティネーションタグ、識別子、レジスタ番号を
解読して、信号線102によってライトハイアドレスカ
ウンタレジスタ14のうちでレジスタ番号に対応するカ
ウンタレジスタにデータ部の値をセットする。ここに、
カウンタレジスタとは任意の値がセットでき、かつカウ
ンタとして動作し、セットされた値がインクリメントさ
れる機能を有したレジスタである。
For both memory write and memory read operations, a data portion that is a write upper address or a read upper gJ0 address, an identifier indicating whether it is a write upper address or a continuation upper address,
A write upper address token or an indulgence upper address token having a destination tag and register number destined for the memory interface circuit decodes the memory destination tag, identifier, and register number, and connects the signal line. 102, the value of the data portion is set in the counter register corresponding to the register number among the write high address counter registers 14. Here,
A counter register is a register that can be set with any value, operates as a counter, and has the function of incrementing the set value.

読出し上位側アドレスト−クンの入力の場合も書込み上
位側アドレスト−クンの場合と同様に、信号線102を
介してリードハイアドレスカウンタレジスタ12に値が
セットされることになる。
When a read upper address token is input, a value is set in the read high address counter register 12 via the signal line 102, as in the case of a write upper address token.

前記レジスタ番号は、具体的にはデスティネーションタ
グの値をそのまま用いることもできるし識別子の一部を
用いたりあるいはデスティネーションタグと識別子の組
合せであってももちろん構わない。メモリ書込の場合は
書込データであるデータ部、書込データであることを示
す識別子およびメモリインタフェース回路を行先とする
デスティネーションタグとレジスタ番号とを有する書込
みデータトークン並びに書込み下位側アドレスであるデ
ータ部、書込み下位側アドレスであることを示す識別子
およびメモリインタフェース回路を行先とするデスティ
ネーションタグとレジスタ番号とフラグとを有する書込
み下位側アドレスト−クンをこの順序でメモリインタフ
ェース回路10に信号?fM100から入力する。書込
みデータトークンが入力されると、トークン入力部16
は入力データのデスティネーションタグと識別子の解読
を行い、そのデータ部の■込データはトークン入力部1
6より信号線102を介してデータレジスタ13のレジ
スタ番号で指定されるレジスタにセ・ソトされる。
Specifically, the register number may be the value of the destination tag as it is, a part of the identifier, or a combination of the destination tag and the identifier. In the case of memory writing, the data section is write data, an identifier indicating that it is write data, a write data token that has a destination tag and register number with the memory interface circuit as the destination, and a write lower address. A write lower address token having a data portion, an identifier indicating that it is a write lower address, a destination tag with the memory interface circuit as the destination, a register number, and a flag is sent as a signal to the memory interface circuit 10 in this order. Input from fM100. When the write data token is input, the token input section 16
decodes the destination tag and identifier of the input data, and the data including ■ in the data part is sent to the token input part 1.
6 to the register specified by the register number of the data register 13 via the signal line 102.

次に、書込み下位側アドレスト−クンが入力されると、
トークン入力部16は信号i! 102を介して省込み
アドレスト−クンのデータ部の書込ミ下位側アドレスを
ローアドレスレジスタ11にセットし、信号m101を
介してメモIJ fF込み指令信号をメモリアクセスコ
ントローラ15に送る。
Next, when the write lower address token is input,
The token input section 16 receives the signal i! The write lower address of the data portion of the save address token is set in the row address register 11 via signal m102, and a memo IJ fF write command signal is sent to the memory access controller 15 via signal m101.

メモリアクセスコントローラ15は、前記書込み下位側
アドレスト−クン中のレジスタ番号からデータレジスタ
13の対応するデータを信号線108に出力させ、メモ
リ20への書込みデータとする。
The memory access controller 15 outputs the data corresponding to the data register 13 from the register number in the write lower address token to the signal line 108, and uses it as write data to the memory 20.

ライトハイアドレスカウンタレジスタ14は、前記書込
み下位側アドレスト−クンのフラグがONであれは、レ
ジスタ番号に対応するライトハイアドレスカウンタレジ
スタ14をインクリメントし、前記フラグがOFFであ
ればインクリメントしない。
The write high address counter register 14 increments the write high address counter register 14 corresponding to the register number if the flag of the write lower address token is ON, and does not increment if the flag is OFF.

この後、信号線114からri、書込み上位側アドレス
がマルチプレクサ24を介して信号線107により出力
され、信号線106によってローアドレスレジスタ11
からの書込み下位側アドレスとともにメモリ20へのア
ドレストする。
Thereafter, the write upper address is output from the signal line 114 to the signal line 107 via the multiplexer 24, and the signal line 106 outputs the write upper address to the row address register 11.
The memory 20 is addressed along with the write lower address from.

次に、メモリアクセスコントローラ15d、メモリ書込
み制御信号を信号線105を介してメモリ20に送シ、
書込み動作を実行し、メモリ20からアクセス終了信号
を信号線105を介して受けとったならば、メモリイン
タフェース回路lOは書込み動作を終了する。
Next, the memory access controller 15d sends a memory write control signal to the memory 20 via the signal line 105.
After executing the write operation and receiving an access end signal from the memory 20 via the signal line 105, the memory interface circuit IO ends the write operation.

データフロープロセッサ21.22として、μPD72
81を用いた場合、加算命令あるいはインクリメント命
令を用いて下位it’11アドレスケ計算し、オーバー
フローにおいてフラグビット−1ONとすることができ
る。(μPD7281ユーザーズマニュアル■ト)〜l
−877B日本1.気株発行、105頁参照)即ち、下
位側アドレスから上位側アドレスヘのキャリーがある場
合には、下位側アドレスデータでオーバーフローが生じ
たことを示すフラグがONであるトークンが出力され、
上位仙1アドレスのインクリメントを前記フラグを利用
して行うことができる。
μPD72 as data flow processor 21.22
When 81 is used, the lower it'11 address can be calculated using an addition instruction or an increment instruction, and the flag bit can be set to -1 ON upon overflow. (μPD7281 User's Manual) ~l
-877B Japan 1. In other words, if there is a carry from the lower address to the upper address, a token whose flag indicating that an overflow has occurred in the lower address data is ON is output.
The upper address can be incremented using the flag.

メモリ読出しの場合も同様に、読出し下位側アト1/ス
であるデータ部、下位側読出しアドレスであることを示
す識別子およびメモリインタフェース回路を行先とする
デスティネーシ町ンタグとレジスタ番号とフラグとを有
する読出し下位側アドレスト−クンをメモリインタフェ
ース回路10に入力すると、メモリインタフェース回路
10のトークン入力部16に、信号線102を介して胱
出し下位側アドレスト−クンのデータ部の読出し下位側
アドレスをローアドレスレジスタ11にセットし、信号
線101を介してメモリ読出し指令信号をメモリアクセ
スコントローラ15に送る。
Similarly, in the case of memory reading, the memory has a data section which is a lower read address, an identifier indicating that it is a lower read address, a destination tag, a register number, and a flag indicating that the memory interface circuit is the destination. When the read lower address token is input to the memory interface circuit 10, the read lower address of the data section of the bladder output lower address token is input to the token input section 16 of the memory interface circuit 10 via the signal line 102. It is set in the row address register 11 and a memory read command signal is sent to the memory access controller 15 via the signal line 101.

リードハイアドレスカウンタレジスタ1.2fl前記フ
ラグがONであれば、前記レジスタ番号に対するリード
ハイアドレスカウンタレジスタ12をインクリメントす
るが、OFF’であればインクリメントしない。
Read high address counter register 1.2fl If the flag is ON, the read high address counter register 12 for the register number is incremented, but if it is OFF', it is not incremented.

リードハイアドレスレジスタカウンタ12の出力は、g
分線116.マルチプレクサ24.信号線107を介し
て、ローアドレスレジスタ11の信号線106を介した
出力とともに読出アドレスとしてメモリ20に入力され
、メモリアクセスコントローラ15から信号線lO5に
a=で出力されるメモリ読出制御信号によりM出し動作
が実行される。これが終了すると、信号1102を介し
てメモリ20から読出データがメモリインタフェース回
路10に入力され、トークン生成部17に送られる。さ
らに、信号線105を介してメモリ20からメモリアク
セスコントローラ15にアクセス終了信号が返送されて
、メモリ読出し動作を終了する。
The output of the read high address register counter 12 is g
Branch line 116. Multiplexer 24. M is inputted to the memory 20 as a read address via the signal line 107 together with the output via the signal line 106 of the row address register 11, and is outputted from the memory access controller 15 to the signal line lO5 at a = memory read control signal. An ejecting operation is performed. When this is completed, the read data from the memory 20 is input to the memory interface circuit 10 via the signal 1102 and sent to the token generation section 17. Further, an access end signal is sent back from the memory 20 to the memory access controller 15 via the signal line 105, and the memory read operation is ended.

トークン生成部17は、信号線108で送られてくる続
出データをデータ部とし、信号線104から入力した読
出データの行先を示すデスティネーシヲンタグと読出デ
ータであることを示す識別子等を組合せてトークンを形
成し、信号線110を介してトークン出力部18に送る
The token generation unit 17 uses the successive data sent through the signal line 108 as a data part, and combines a destination tag indicating the destination of the read data inputted from the signal line 104 with an identifier indicating that the data is read data, etc. A token is formed and sent to token output 18 via signal line 110.

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

以上説明したように本発明は、上位側アドレスの変更を
下位側アドレスの計算からオーバーフロー発生時に生ず
るフラグのONとOF’Fを利用して行えるので、上位
側アドレスの変更を意識せずにプログラムが作成でき、
実理実行時に上位側アドレスの変更を原因とする処理の
遅れを低減する効果がある。
As explained above, in the present invention, the upper address can be changed by calculating the lower address and using the ON and OFF of the flag that occurs when an overflow occurs, so the program can be programmed without being aware of the change in the upper address. can be created,
This has the effect of reducing processing delays caused by changes in higher-order addresses during actual execution.

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

第1図は、本発明の一実施例を示すブロック図である。 10・・・・・・メモリインタフェース回路、11.。 10.。 ローアドレスレジスタ、12・・・・・・リードハイア
ドレスカウンタレジスタ、13・・印・データレジスタ
、14・・・・・・ライトハイアドレスカウンタレジス
タ、15・・・・・・メモリアクセスコントローラ、1
6・山・・トークン入力部、17・・・・・・トークン
生成、部、18・・・・・・トークン出力部、19・・
・・・・ホストインタフェース、20・・・・・・メモ
リ、21.22・・・・・データフロ−10セー1丈、
23・・・・・・ホストプロセッサ、24・・・・・・
マルチプレクサ% 100〜116・・・・・・信号線
。 、′−−\ 代理人 弁理士  内 原   日−一。
FIG. 1 is a block diagram showing one embodiment of the present invention. 10... Memory interface circuit, 11. . 10. . Low address register, 12... Read high address counter register, 13... Mark/data register, 14... Write high address counter register, 15... Memory access controller, 1
6. Mountain... Token input section, 17... Token generation section, 18... Token output section, 19...
...Host interface, 20...Memory, 21.22...Data flow-10 length,
23...Host processor, 24...
Multiplexer % 100-116...Signal line. ,'--\ Agent: Patent attorney Hi-ichi Uchihara.

Claims (1)

【特許請求の範囲】[Claims] ホストプロセッサおよびリング状に接続された複数のデ
ータフロープロセッサとメモリとの間に接続され、前記
データフロープロセッサから入力されるトークンの指示
により、前記メモリに対して読出し書込み動作を実行す
るメモリインタフェース回路において、前記メモリに書
込データを出力するデータレジスタと、書込み上位側ア
ドレスカウンタレジスタと、読出し上位側カウンタアド
レスレジスタと、前記メモリへ下位側アドレスを出力す
る下位側アドレスレジスタと、前記メモリのアクセスを
制御するメモリアクセスコントローラと、前記データフ
ロープロセッサから入力されるトークンの指示に従って
前記トークンによって得られる書込データ、書込み上位
側アドレス、読出し上位側アドレスおよび下位側アドレ
スを対応する前記各レジスタへ設定し、前記下位側アド
レスの設定の場合には、さらに前記入力されたトークン
の指示に従って前記書込み上位側アドレスレジスタもし
くは読出し上位側アドレスレジスタをインクリメントす
るか否かを判定してインクリメント動作を行い、前記メ
モリアクセスコントローラに書込みもしくは読出しの動
作開始の指示を行なうトークン入力部と、前記書込み上
位側アドレスレジスタと読出し上位側アドレスレジスタ
とに接続され、書込みもしくは読出しの動作に応じて設
定されている前記書込上位側アドレスまたは読出し上位
側アドレスの一方を選択して前記メモリへ上位側アドレ
スとして出力するマルチプレクサとを備えたことを特徴
とするメモリインタフェース回路。
a memory interface circuit that is connected between a host processor, a plurality of data flow processors connected in a ring, and the memory, and executes a read/write operation to the memory according to a token instruction input from the data flow processor; , a data register that outputs write data to the memory, a write upper address counter register, a read upper counter address register, a lower address register that outputs a lower address to the memory, and an access register for the memory. and a memory access controller that controls the memory access controller, and sets the write data obtained by the token, the write upper address, the read upper address, and the lower address to the corresponding registers according to instructions of the token input from the data flow processor. However, in the case of setting the lower address, it is further determined whether or not the write upper address register or the read upper address register is to be incremented according to the instruction of the input token, and the increment operation is performed. A token input section that instructs the memory access controller to start a write or read operation, and a token input section that is connected to the write upper address register and the read upper address register, and that is set according to the write or read operation. 1. A memory interface circuit comprising: a multiplexer that selects either a read upper address or a read upper address and outputs the selected upper address to the memory as the upper address.
JP7764086A 1986-04-03 1986-04-03 Memory interface circuit Pending JPS62233842A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7764086A JPS62233842A (en) 1986-04-03 1986-04-03 Memory interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7764086A JPS62233842A (en) 1986-04-03 1986-04-03 Memory interface circuit

Publications (1)

Publication Number Publication Date
JPS62233842A true JPS62233842A (en) 1987-10-14

Family

ID=13639492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7764086A Pending JPS62233842A (en) 1986-04-03 1986-04-03 Memory interface circuit

Country Status (1)

Country Link
JP (1) JPS62233842A (en)

Similar Documents

Publication Publication Date Title
JP4536618B2 (en) Reconfigurable integrated circuit device
JP3619532B2 (en) Semiconductor integrated circuit device
JPS59128670A (en) Vector processor
KR970003321B1 (en) System using microprocessor address lines coprocessor selection within a multi-coprocessor apparatus
JPS62233842A (en) Memory interface circuit
JP2000099452A (en) Dma control device
JP3139310B2 (en) Digital signal processor
JPS6158861B2 (en)
JP2002259326A (en) Dma controller and dma transferring method
JP3168845B2 (en) Digital signal processor
JPS6398056A (en) Dma control circuit
JP2504535B2 (en) Bus unit configuration method
JPS6230455B2 (en)
JP3936694B2 (en) Semiconductor integrated circuit device and data transfer method for semiconductor integrated circuit device
KR930001099B1 (en) Microcomputer system with a using bit-slice element
JP3558057B2 (en) Audio coding apparatus and method
JP3266610B2 (en) DMA transfer method
JP2003186854A (en) Simd processor and verification apparatus thereof
JPH01234957A (en) Method and device for controlling dma
JP3127737B2 (en) Digital signal processor
JPH09305530A (en) Dma controller
JPS6126699B2 (en)
JPS63173143A (en) Memory interface circuit
JPH02136949A (en) Input/output controller
JPH0752416B2 (en) Microcomputer system