JPH01282940A - Memory clear method - Google Patents

Memory clear method

Info

Publication number
JPH01282940A
JPH01282940A JP11045888A JP11045888A JPH01282940A JP H01282940 A JPH01282940 A JP H01282940A JP 11045888 A JP11045888 A JP 11045888A JP 11045888 A JP11045888 A JP 11045888A JP H01282940 A JPH01282940 A JP H01282940A
Authority
JP
Japan
Prior art keywords
memory
bus
data
bus node
transfer
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
JP11045888A
Other languages
Japanese (ja)
Inventor
Yukihiro Yamamoto
幸弘 山本
Naoki Matsunuma
松沼 直樹
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP11045888A priority Critical patent/JPH01282940A/en
Publication of JPH01282940A publication Critical patent/JPH01282940A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Small-Scale Networks (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To clear the memory independently in the component by providing a means setting the transfer direction of read/writhe independently of a bus node in a component of the bus node. CONSTITUTION:A head address of a memory area to be cleared in an address generating circuit ADG at first and a byte number desired to be cleared is set to a control circuit CNT and the transfer direction of a data is set to a bus node 1 as the read direction by using a control signal S1. When the node 1 is started from CPU 7, since the node 1 is set in the read direction, the data is in the input mode and the memory is also in the input mode and all data buses DB go to a high level by a pullup resistor R. As a result, the CNT writes the data of high level to the memory by the number designated from the designated address to clear the memory.

Description

【発明の詳細な説明】 〔概 要〕 複数のバスノードをリング状に結合してなるネットワー
クのデータ同期転送方式におけるメモリクリア方式に関
し、 バスノードを介したブロック転送とは独立にメモリをク
リアすることによりリングバスの使用効率を向上させC
PUの負担を軽減させることを目的とし、 リングバスによりリング状に結合された複数のバスノー
ドと、前記バスノードの各々に接続されたコンポーネン
トを有し、前記バスノード間で単方向にブロック転送を
行うデータ同期転送方式におけるメモリクリア方式であ
って、前記コンポーネント内に、前記バスノードおよび
メモリへの読出し/書込みタイミングを制御する制御手
段と、前記バスノードの転送方向とこれに接続されるメ
モリの転送方向を独立に設定する転送方向設定手段を備
え、前記転送方向制御手段は、CPUの指令に基づき前
記メモリを書込み方向に設定し、前記バスノードを読出
し方向に設定することにより前記メモリに書込みを行い
クリアするように構成する。
[Detailed Description of the Invention] [Summary] Regarding a memory clear method in a data synchronous transfer method for a network in which a plurality of bus nodes are connected in a ring shape, the present invention clears the memory independently of block transfer via the bus nodes. Improving ring bus usage efficiencyC
The purpose of this system is to reduce the load on the PU, and it has a plurality of bus nodes connected in a ring shape by a ring bus and a component connected to each of the bus nodes, and data is transferred in blocks in one direction between the bus nodes. A memory clearing method in a synchronous transfer method, wherein the component includes a control means for controlling read/write timing to the bus node and the memory, and the transfer direction of the bus node and the transfer direction of the memory connected thereto are independent. The transfer direction control means sets the memory in a write direction based on a command from a CPU, and sets the bus node in a read direction to write and clear the memory. Configure.

〔産業上の利用分野〕[Industrial application field]

本発明はメモリクリア方式に関し、特に、複数の装置間
でイメージデータの如き多量のデータを高速転送すると
きに、複数のバスノードをリング状に結合したネットワ
ークを構成し、各バスノードのデータをブロックデータ
として隣接ノードへ並列的かつ同期的に順次ブロック転
送するデータ同期転送方式におけるメモリクリア方式に
関する。
The present invention relates to a memory clearing method, and in particular, when transferring a large amount of data such as image data between multiple devices at high speed, a network is configured in which multiple bus nodes are connected in a ring shape, and the data of each bus node is converted into block data. This paper relates to a memory clearing method in a data synchronous transfer method that sequentially transfers blocks in parallel and synchronously to adjacent nodes.

〔従来の技術〕[Conventional technology]

第3図はデータ同期転送方式の基本構成図である。■は
システムを構成する複数のバスノードN0〜N5.2は
各バスノード間を接続するリングバス、3はリングバス
2の一部を構成するデータバス、4はリングバス2の一
部を構成するコントロールバス、5はリングバス2の一
部をu成するプロセス識別バス、6はバスノードに接続
されるシステム構成要素としてのコンポーネントC8〜
C6,7はシステムを制御するCPUである。
FIG. 3 is a basic configuration diagram of the data synchronous transfer method. 2 is a ring bus that connects each bus node, 3 is a data bus that forms part of ring bus 2, and 4 is a control that forms part of ring bus 2. 5 is a process identification bus forming part of the ring bus 2; 6 is a component C8 as a system component connected to the bus node;
C6 and C7 are CPUs that control the system.

このような基本構成において、データバス3はデータの
ブロック転送を行うが、その形式はシーケンシャルデー
タ転送用のバスであり、一連のデータ転送において転送
方向が一定である。従って転送制御のための基本モード
として出力モード、入力モード、人力およびバスモード
の3つの動作モードを必要とする。出力モードは前段バ
スノードからのデータバスの不使用を示すエンプティト
ークンを入力して自バスノードに接続されたコンポーネ
ントのメモリから人力したデータをバス上に生成する。
In such a basic configuration, the data bus 3 performs block transfer of data, but its format is a bus for sequential data transfer, and the transfer direction is constant in a series of data transfers. Therefore, three operating modes are required as basic modes for transfer control: output mode, input mode, manual power mode, and bus mode. In the output mode, an empty token indicating non-use of the data bus from the previous stage bus node is input, and manually generated data from the memory of the component connected to the own bus node is generated on the bus.

そして自バスノードから送出したデータがリングバス2
を一周して前段から人力されるとこれを取得する。また
、入力モードは一対一の転送において設定されるもので
、このモードが設定されたバスノードは前段バスノード
から指定されたプロセスのデータを入力するとそれを取
得してコンポーネントへ出力する。さらに、人力および
バスモードはマルチドロップ転送において設定されるも
のでこのモードに設定さ・れたバスノードは、前段バス
ノードから指定されたプロセスのデータを入力するとそ
のデータをコンポーネントへ出力するとともに後段バス
ノードへ転送する。
Then, the data sent from the own bus node is transferred to the ring bus 2.
This is obtained by going all the way around and being manually powered from the previous stage. Further, the input mode is set for one-to-one transfer, and when a bus node set to this mode receives data of a specified process from a previous stage bus node, it acquires the data and outputs it to the component. Furthermore, the manual and bus modes are set in multi-drop transfer, and when a bus node set to this mode receives data from the specified process from the previous bus node, it outputs that data to the component and also to the subsequent bus node. Forward.

また、各バスノードはその内部に転送バッファを有して
おり、出力および入力モードが設定されたバスノードは
CPU7から指定された転送バッファの空き容量により
、出力するバスノードに対して転送中断、転送再開を制
御するトークンをバス上に生成する。
In addition, each bus node has a transfer buffer inside, and a bus node set to output or input mode can suspend or resume transfer for the output bus node depending on the available capacity of the transfer buffer specified by the CPU 7. Generate a controlling token on the bus.

第4図は従来のコンポーネントの一構成例である。バス
ノードlは第3図のバスノードN0〜N、のいずれかで
あり、コンポーネント6はC0〜C5のいずれかである
。コンポーネント6は多量のデータを高速に転送するた
め人容囚を有するメモリMと、スタートアドレスを設定
するアドレス発生回路ADGと、データ転送方向等のI
)MA制御をする制御回路CNTを有する。また、Rは
データバスDs+l:g流を与える。ブルア・リブ抵抗
である。
FIG. 4 shows an example of a conventional component configuration. The bus node 1 is one of the bus nodes N0 to N in FIG. 3, and the component 6 is one of the bus nodes C0 to C5. Component 6 includes a memory M having a human capacity for transferring a large amount of data at high speed, an address generation circuit ADG for setting a start address, and an I for data transfer direction, etc.
) It has a control circuit CNT that performs MA control. Further, R provides a data bus Ds+l:g flow. This is Brua Rib resistance.

メモリMのクリアは次のように行われる。即ち、まず、
バスノード1にリード/ライトの方向を設定し次にアド
レス発生回路ADGにスタートアドレスADDを設定し
た後バスノード1を起動することによりメモリ上の任意
のアドレスから任意の数の転送を高速に行う。メモIJ
Mのアクセスはバスノード1からハンドシェーク信号に
より制御され、バスノード1からの転送方向表示信号S
0によりリード/ライト制御を行う。転送元のバスノー
ドも同様に起動されメモリMにデータが書き込まれてメ
モ’JMがクリアされる。この場合の転送方向表示信号
S。は前述の動作モードを指示するものであり、各モー
ドを示すフラグを有する。また、制御信号S1およびS
2はバスノードおよびメモリの転送タイミングを制御す
るためのもの゛である。
Clearing of the memory M is performed as follows. That is, first,
After setting the read/write direction in the bus node 1 and then setting the start address ADD in the address generation circuit ADG, the bus node 1 is activated to perform an arbitrary number of transfers from an arbitrary address on the memory at high speed. Memo IJ
Access to M is controlled by a handshake signal from bus node 1, and transfer direction indication signal S from bus node 1
Read/write control is performed by 0. The transfer source bus node is activated in the same way, data is written to memory M, and memo 'JM is cleared. Transfer direction indicating signal S in this case. indicates the above-mentioned operation mode, and has flags indicating each mode. In addition, control signals S1 and S
2 is for controlling the transfer timing of bus nodes and memory.

〔発明が解決しようとする課題〕 以上のように、このような形態のシス壬ムではメモリを
クリアする場合は他のバスノードからのデータ転送によ
る方法でしかメモリをクリアできないという問題がある
。即ち、例えばタスクの切換え時に誤動作防止の面から
メモリの内容をすべてクリアする必要があるが、このよ
うなリング形状のシステムではCPUが直接的にメモリ
をクリアすることは出来ず、バス上のCPUに隣接する
メモリに一旦消去データ、例えば“00・・・0”を格
納し、このデータをクリアすべきメモリにバスおよびバ
スノードを介してブロック転送することにより行われる
。従って、メモリのクリアはバス上のデータ転送のみに
よって行われており、この場合、クリアされるメモリ以
外のバス及びバスノードも起動しなければならない。従
ってこのためのCPUの処理量が増大し、またり°Jア
を行っている間、クリアされるメモリ側でないバスノー
ドも他の転送ができないという問題がある。
[Problems to be Solved by the Invention] As described above, in this type of system, there is a problem in that the memory can only be cleared by data transfer from another bus node. In other words, for example, when switching tasks, it is necessary to clear all memory contents to prevent malfunctions, but in such a ring-shaped system, the CPU cannot directly clear the memory, and the CPU on the bus This is done by temporarily storing erase data, for example "00...0" in a memory adjacent to the memory, and then transferring this data as a block to the memory to be cleared via a bus and a bus node. Therefore, memory is cleared only by data transfer on the bus, and in this case, buses and bus nodes other than the memory to be cleared must also be activated. Therefore, the processing amount of the CPU for this increases, and there is also the problem that bus nodes other than those on the side of the memory to be cleared cannot perform other transfers while the JA is being performed.

本発明の目的は、上述の如<CPUがメモリをクリアす
るときには他のバスノードからのデータ転送によってし
かクリアできないという問題に鑑み、コンポーネント内
に点CPU即ちバスノードとは独立にリード/ライトの
転送方向を設定できる手段を設ける点に着目し、メモリ
をそのコンポーネント内で独立にクリアできるようにし
てバスノードの使用効率を向上させるCPUの負担を軽
減することにある。
An object of the present invention is to solve the above-mentioned problem that when the CPU clears memory, it can only clear it by data transfer from another bus node. The purpose of this invention is to provide a means for setting the memory, and to enable the memory to be cleared independently within the component, thereby reducing the burden on the CPU and improving the usage efficiency of the bus node.

〔課題を解決するための手段および作用〕第1図は本発
明の原理ブロック図である。
[Means and operations for solving the problems] FIG. 1 is a block diagram of the principle of the present invention.

図に示す如く、本発明はバス(2)によりリング状に結
合された複数のバスノード(1)と、前記バスノードの
各々:こ接続されたコンポーネント(6)を有し、前記
バスノード間で単方向にブロック転送を行うデータ同期
転送方式におけるメモリクリア方式であって、前記コン
ポーネント内に、前記バスノードおよびメモリへの読み
だし/書込みタイミングを制御する制御手段(CNT)
と、前記バスノードの転送方向とこれに接続されるメモ
リ  (M)の転送方向を独立に設定する転送方向設定
手段(RG)を備え、前記転送方向制御手段は、CPU
 (7)の指令に基づき前記メモリを書込み方向に設定
し、前記バスノードを読出し方向に設定することにより
前記メモリに書込みを行いクリアすることを特徴とする
As shown in the figure, the present invention has a plurality of bus nodes (1) connected in a ring shape by a bus (2), and a component (6) connected to each of the bus nodes, with a unidirectional connection between the bus nodes. A memory clearing method in a data synchronous transfer method that performs block transfer at a time, wherein the component includes a control means (CNT) for controlling read/write timing to the bus node and the memory.
and transfer direction setting means (RG) for independently setting the transfer direction of the bus node and the transfer direction of the memory (M) connected thereto, and the transfer direction control means includes a CPU
The present invention is characterized in that the memory is set in the write direction based on the command in (7), and the bus node is set in the read direction, thereby writing to and clearing the memory.

〔実施例〕〔Example〕

第2図は本発明に係るメモリクリア方式の一実施例構成
図である。図においてRGはメモリをリード/ライトす
るため例えば複数のフリップフロップからなるレジスタ
である。図示のように、第4図に示す従来の構成にレジ
スタRGを追加することによりコンポーネント6内にお
いてバスノードとは独立にメモリをクリアすることがで
きる。
FIG. 2 is a block diagram of an embodiment of the memory clear method according to the present invention. In the figure, RG is a register consisting of, for example, a plurality of flip-flops for reading/writing the memory. As shown, by adding register RG to the conventional configuration shown in FIG. 4, memory can be cleared within component 6 independently of the bus node.

レジスタRGはリードかライトかの転送方向を設定でき
る機能をもち、バスノード1とメモリMの転送方向をバ
スノード1へのリードとメモIJ Mへのライトとして
逆方向に設定し起動することによりメモIJ Mをクリ
アする。前述の如〈従来はメモIJ Mのリード/ライ
トをバスノード1からの転送方向表示信号Soにより切
り換えていた。
Register RG has a function to set the transfer direction of read or write, and by setting the transfer direction of bus node 1 and memory M in the opposite direction as read to bus node 1 and write to memo IJM and start, memory IJ Clear M. As mentioned above, conventionally, reading/writing of the memory IJM was switched by the transfer direction indicating signal So from the bus node 1.

本方式によるメモリクリアは、まずアドレス発生回路A
DGにクリアしたいメモリ領域の先頭アドレスADDを
設定し、次に制御回路CNTにクリアしたいバイト数(
ワード数)を設定し、バスノード1にはデータの転送方
向を制御信号SIによりリード方向として設定する。ま
た、レジスタRGにはCPUからのライトコマンドS、
によりライト方向の設定を行いバスノード1を起動する
To clear memory using this method, first address generation circuit A
Set the start address ADD of the memory area you want to clear in DG, then set the number of bytes you want to clear in control circuit CNT (
The number of words) is set, and the data transfer direction for bus node 1 is set as the read direction by control signal SI. Also, write command S from the CPU is stored in register RG.
The write direction is set and the bus node 1 is activated.

このときバスノード1はリード方向に設定されているの
で一夕は人力モードとなり従ってメモリも入力となり、
データバスDBはプルアップ抵抗Rにより全てハイレベ
ルとなる。制御回路CNTはレジスタRGからの制御信
号Ssによりライト状態に設定されているのでデータバ
スDB上でバスノード1とハンドシェークを行いながら
全てハイレベルのデータを指定されたアドレスから指定
された数だけメモリにライトする。明らかなように、従
来のバスノードからの転送方向表示信号Soは不要とな
るが、この信号S。を転送バッファとバスノードからの
出力が衝突しないように保膜回路を設けるときなどに使
用してもよい。また、クリアの終了(ライト動作の終了
)は通常の転送の終了と同様にCPU通知される。
At this time, bus node 1 is set in the read direction, so it becomes a manual mode overnight, and the memory also becomes an input.
The data bus DB is all brought to a high level by the pull-up resistor R. Since the control circuit CNT is set to the write state by the control signal Ss from the register RG, it transfers all high-level data from the specified address to the specified number of memories while handshaking with bus node 1 on the data bus DB. Write. As is clear, the transfer direction indicating signal So from the conventional bus node is no longer necessary, but this signal S. It may also be used when providing a membrane protection circuit to prevent the outputs from the transfer buffer and the bus node from colliding. Furthermore, the end of clearing (end of write operation) is notified to the CPU in the same way as the end of normal transfer.

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

以上説明したように、本発明によれば、リード/ライト
の転送方向を設定するレジスタを付加することによって
、メモリをバスノードを介してクリアすることなく、コ
ンポーネント内で独立にクリアすることができるので、
バスノードの使用効率を向上させることができる。
As explained above, according to the present invention, by adding a register to set the read/write transfer direction, memory can be cleared independently within a component without being cleared via a bus node. ,
The usage efficiency of bus nodes can be improved.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例構成図、 第3図はデータ同期転送方式の基本構成図、および 第4図は従来の構成図である。 (符号の説明) 1・・・バスノード、    2・・・リングバス、3
・・・f’−タバス、    4・・・コント1−ルバ
ス、5・・・プロセス識別バス、6・・・コンポーネン
ト、7・・・CPU、       M・・・メモリ、
ADG・・・アドレス発生回路、 CNT・・・制御回路、 RG・・・メモリリード/ライトレジスタ。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is a basic configuration diagram of a data synchronous transfer system, and FIG. 4 is a conventional configuration diagram. (Explanation of symbols) 1...Bus node, 2...Ring bus, 3
...f'-tabus, 4...control bus, 5...process identification bus, 6...component, 7...CPU, M...memory,
ADG: Address generation circuit, CNT: Control circuit, RG: Memory read/write register.

Claims (1)

【特許請求の範囲】 バス(2)によりリング状に結合された複数のバスノー
ド(1)と、前記バスノードの各々に接続されたコンポ
ーネント(6)を有し、前記バスノード間で単方向にブ
ロック転送を行うデータ同期転送方式におけるメモリク
リア方式であって、前記コンポーネント内に、 前記バスノードおよびメモリへの読出し/書込みタイミ
ングを制御する制御手段(CNT)と、前記バスノード
の転送方向とこれに接続されるメモリ(M)の転送方向
を独立に設定する転送方向設定手段(RG)を備え、 前記転送方向制御手段は、CPU(7)の指令に基づき
前記メモリを書込み方向に設定し、前記バスノードを読
出し方向に設定することにより前記メモリに書込みを行
いクリアするようにしたメモリクリア方式。
[Scope of Claims] A plurality of bus nodes (1) connected in a ring shape by a bus (2), and a component (6) connected to each of the bus nodes, wherein blocks are unidirectionally transferred between the bus nodes. A memory clearing method in a data synchronous transfer method that performs a data synchronous transfer method, wherein the component includes a control means (CNT) that controls read/write timing to the bus node and the memory, and a control means (CNT) that controls the transfer direction of the bus node and is connected to the control means (CNT). The transfer direction setting means (RG) independently sets the transfer direction of the memory (M), and the transfer direction control means sets the memory in the write direction based on a command from the CPU (7) and reads the bus node. A memory clearing method that writes to and clears the memory by setting the direction.
JP11045888A 1988-05-09 1988-05-09 Memory clear method Pending JPH01282940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11045888A JPH01282940A (en) 1988-05-09 1988-05-09 Memory clear method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11045888A JPH01282940A (en) 1988-05-09 1988-05-09 Memory clear method

Publications (1)

Publication Number Publication Date
JPH01282940A true JPH01282940A (en) 1989-11-14

Family

ID=14536220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11045888A Pending JPH01282940A (en) 1988-05-09 1988-05-09 Memory clear method

Country Status (1)

Country Link
JP (1) JPH01282940A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003521156A (en) * 2000-01-24 2003-07-08 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Apparatus and method for sharing memory using a single ring data bus connection configuration

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003521156A (en) * 2000-01-24 2003-07-08 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Apparatus and method for sharing memory using a single ring data bus connection configuration

Similar Documents

Publication Publication Date Title
JPH0248747A (en) Microprocessor
JPH01282940A (en) Memory clear method
JP3002406B2 (en) Graphic processor
JPH0222748A (en) Non-volatile memory control circuit
JPH02181886A (en) straight line drawing device
JPH03152651A (en) Information transmission system
JP3204297B2 (en) DMA transfer control device
JPH02307149A (en) Direct memory access control method
JPH04160549A (en) Personal computer system
JPS61214047A (en) Memory data transfer circuit
JPS60176106A (en) Sequence controller
JPH01321540A (en) Interface circuit
JPH07134685A (en) Computer system and memory data transfer method thereof
JPH01250163A (en) Bus controller
JPS60181959A (en) Multi-processor system
JPS61153770A (en) Image processor
JPS62147557A (en) Data transfer system between memories
JPS62262170A (en) Data transfer system
JPS61259289A (en) Display controller
JPH02141860A (en) Data transfer controller
JPH04148253A (en) Memory read/write control system
JPS6255167B2 (en)
JPH0239383A (en) Image processor
JPH0561814A (en) Data transfer device with rearrangement function
JPS60246464A (en) Data transferring system of buffer memory