JP2000155738A - Data processor - Google Patents

Data processor

Info

Publication number
JP2000155738A
JP2000155738A JP10346564A JP34656498A JP2000155738A JP 2000155738 A JP2000155738 A JP 2000155738A JP 10346564 A JP10346564 A JP 10346564A JP 34656498 A JP34656498 A JP 34656498A JP 2000155738 A JP2000155738 A JP 2000155738A
Authority
JP
Japan
Prior art keywords
bus
separation
dma
cpu
bus line
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
JP10346564A
Other languages
Japanese (ja)
Inventor
Koji Kuwata
耕司 桑田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP10346564A priority Critical patent/JP2000155738A/en
Publication of JP2000155738A publication Critical patent/JP2000155738A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a data processor capable of speeding up the system even if sufficient memories can not be secured for both a system bus and an I/O bus by connecting and disconnecting both buses according to whether or not DMA transfer is in process. SOLUTION: This data processor which sends and receives data to and from an external device by DMA transfer is equipped with a 1st bus line 2 to which a CPU 1 is connected, a DMA control means 3 which controls the DMA transfer, a storage means 4 which stores data sent and received by the DMA transfer, a 2nd bus line 5 to which the DMA control means and storage means are connected, and a connection/disconnection arbitrating means 6 which is interposed between the 1st and 2nd bus lines and connects and disconnects the 1st and 2nd bus lines.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、外部装置との間で
データをDMA転送によって送受信するデータ処理装置
に関し、特に、CPUに接続するバスラインと、DMA
転送によって送受信するデータを記憶するメモリに接続
するバスラインとを備えたデータ処理装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing apparatus for transmitting and receiving data to and from an external device by DMA transfer, and more particularly, to a bus line connected to a CPU and a DMA.
And a bus line connected to a memory for storing data to be transmitted and received by transfer.

【0002】[0002]

【従来の技術】コンピュータを使ってデータ処理を行う
装置の一つにOA(オフイス・オートメイション)機器
がある。近年、このOA機器はカラー化や高速化や高解
像度化等の要求により、処理するデータ量が増加の傾向
にある。これらのデータを取り扱うため、入出力装置か
らDMA(直接メモリアクセス)転送されるデータ量が
増えている。このデータ量の増大に対応するために、シ
ステムバスの幅を広くして一度に大量のデータを送受信
させたり、クロックを早くして一定時間に大量のデータ
を送受信させるようにしている。これらの処置の他に、
CPUが接続されたシステムバスにより転送されるデー
タ量を減少させるために、DMA転送が行われるデータ
のメモリ領域をシステムバス用のメモリ領域上にとら
ず、別のバス、例えば、I/Oバス用のメモリ領域を使
って行う方法が提案されている(特開平9−20439
1号公報)。
2. Description of the Related Art One of the devices for performing data processing using a computer is an office automation (OA) device. In recent years, the amount of data to be processed by this OA device has been increasing due to demands for colorization, high speed, and high resolution. To handle such data, the amount of data transferred from the input / output device by DMA (direct memory access) is increasing. In order to cope with this increase in the amount of data, the width of the system bus is widened so that a large amount of data can be transmitted and received at one time, or the clock is advanced so that a large amount of data can be transmitted and received in a fixed time. In addition to these actions,
In order to reduce the amount of data transferred by the system bus to which the CPU is connected, a memory area for data to be subjected to DMA transfer is not provided on a memory area for the system bus, but is provided on another bus such as an I / O bus. (Japanese Patent Laid-Open No. 9-20439).
No. 1).

【0003】[0003]

【発明が解決しようとする課題】上記の特開平9−20
4391で提案されている方法は、システムバス、I/
Oバスの双方により転送するデータに対して十分なメモ
リを確保出来るシステムにおいては、データを高速に処
理する方法として有効である。しかしながら、システム
バス、I/Oバスの双方により転送するデータに対して
十分なメモリを確保出来なかったり、小規模なシステム
のためにシステム用データを記憶するメモリとDMA用
データを記憶するメモリとでメモリを共用させる必要が
あったり、または外部I/O装置から転送されるデータ
に対してCPUが介在して処理する必要がある場合に
は、上記で提案されている方法を採用してもデータの高
速処理を達成することは出来なかった。そこで、本発明
は上記の点に鑑みてなされたもので、DMA転送中か否
かにより、システムバス、I/Oバスの双方を接続また
は分離させるかにより、双方のバスに十分なメモリを確
保出来ない場合であっても、システム全体の高速化を図
ることができるデータ処理装置を提供することにある。
The above-mentioned JP-A-9-20
The method proposed in US Pat.
In a system that can secure a sufficient memory for data transferred by both O buses, it is effective as a method for processing data at high speed. However, it is not possible to secure a sufficient memory for data transferred by both the system bus and the I / O bus, or a memory for storing system data and a memory for storing DMA data for a small-scale system. In the case where it is necessary to share a memory or to process data transferred from an external I / O device through a CPU, the method proposed above may be adopted. High-speed processing of data could not be achieved. In view of the above, the present invention has been made in view of the above points, and a sufficient memory is secured in both buses by connecting or disconnecting both a system bus and an I / O bus depending on whether or not a DMA transfer is being performed. It is an object of the present invention to provide a data processing device capable of increasing the speed of the entire system even if it cannot be performed.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するため
に、請求項1記載の発明では、外部装置との間でデータ
をDMA転送によって送受信するデータ処理装置におい
て、CPUを接続した第一のバスラインと、DMA転送
を制御するDMA制御手段と、DMA転送により送受信
するデータを記憶する記憶手段と、前記DMA制御手段
と前記記憶手段とを接続する第二のバスラインと、前記
第一のバスラインと前記第二のバスラインとの間にあ
り、前記第一のバスラインと前記第二のバスラインとを
接続又は分離させる接離調停手段と、を備えたことを特
徴とする。また、請求項2記載の発明では、請求項1記
載のデータ処理装置において、前記接離調停手段は、第
二のバスラインを通して画像データをDMA転送により
送受信している間中、第一のバスラインと第二のバスラ
インとを分離させることを特徴とする。また、請求項3
記載の発明では、請求項1または請求項2記載のデータ
処理装置において、CPUから記憶手段へのアクセス
と、DMA転送による送受信データを書き込むための記
憶手段へのアクセスとが同時に実施された場合、前記接
離調停手段は、前記アクセスが拒否された方の前記CP
Uまたは前記DMA制御手段をWAIT状態にすること
を特徴とする。
According to the first aspect of the present invention, there is provided a data processing apparatus for transmitting and receiving data to and from an external device by DMA transfer, comprising: A bus line, a DMA control unit for controlling DMA transfer, a storage unit for storing data transmitted and received by DMA transfer, a second bus line connecting the DMA control unit and the storage unit, A connection / separation arbitration means for connecting or separating the first bus line and the second bus line between the bus line and the second bus line; In the data processing device according to the first aspect of the present invention, the connection / separation arbitration unit may transmit and receive the image data via the second bus line by DMA transfer. The line and the second bus line are separated. Claim 3
In the data processing device according to the first or second aspect of the present invention, when the access from the CPU to the storage unit and the access to the storage unit for writing transmission / reception data by DMA transfer are simultaneously performed, The contact / separation arbitration unit is configured to control the CP of the access denied.
U or the DMA control means is set to a WAIT state.

【0005】上記のように構成された請求項1の発明
は、接離調停手段によって、第一のバスラインと第二の
バスラインとを接続または分離させることが出来るよう
になっているので、両方のバスラインが接続していると
きは、CPUから第二のバスラインに接続している記憶
手段にアクセスすることが可能となり、データを記憶す
る記憶手段を第一のバスライン側に持つ必要がなくな
る。また、両方のバスラインが分離しているときは、第
一のバスラインと第二のバスラインとは並行に独立した
動作を行うことが出来る。また、請求項2の発明は、請
求項1のように構成されたデータ処理装置の発明に加え
て、DMA転送によってデータを第二のバスラインを通
して送受信している間中、接離調停手段によって第一の
バスラインと第二のバスラインとを分離させるようにし
たので、DMA転送によってデータを送受信中も、CP
Uは第一のバスライン上にあるデバイスにアクセスする
ことが出来る。また、請求項3の発明は、請求項1また
は請求項2のように構成されたデータ処理装置の発明に
加えて、CPUとDMA制御手段が同時に記憶手段にア
クセスした場合、接離調停手段は、アクセスを拒否させ
た方の前記CPUまたは前記DMA制御手段をWAIT
状態にするので、前記CPUまたは前記DMA制御手段
は、第一のバスラインと第二のバスラインとの分離状態
を意識することなく、記憶手段にアクセスすることが可
能となり、効率のよいシステムを提供することが出来
る。
According to the first aspect of the present invention, the first bus line and the second bus line can be connected or separated by the connection / separation arbitration means. When both bus lines are connected, the CPU can access the storage means connected to the second bus line, and it is necessary to have storage means for storing data on the first bus line side. Disappears. When both bus lines are separated, the first bus line and the second bus line can perform independent operations in parallel. According to a second aspect of the present invention, in addition to the data processing apparatus of the first aspect, while the data is being transmitted and received through the second bus line by the DMA transfer, the connection / separation arbitration means is provided. The first bus line and the second bus line are separated from each other.
U can access devices on the first bus line. According to a third aspect of the present invention, in addition to the data processing apparatus of the first or second aspect, when the CPU and the DMA control means simultaneously access the storage means, the connection / separation arbitration means is provided. , The CPU or the DMA control means which has denied access
State, the CPU or the DMA control means can access the storage means without being conscious of the separation state between the first bus line and the second bus line, thereby providing an efficient system. Can be provided.

【0006】[0006]

【発明の実施の形態】次に、本発明の実施の形態を添付
図面に基づいて詳細に説明する。図1は本発明における
データ処理装置の代表例である画像処理装置20の主要
部を示すブロック図である。図において、CPU1は、
主にプログラムソフトを格納したROM9と、CPU1
の演算結果等を一時的に記憶させるRAMで構成された
サブメモリ8と一体になって、画像処理装置20の各部
間のシステム全体を制御するシステム制御部としての機
能を持っている。具体的には、画像処理装置20の各部
の動作タイミングを決定したり、各部が正常に動作して
いるか否かをチェックしたり、各部に発生したエラーを
検知して図示しない表示部上にエラー表示を出させたり
する。また、ROM9の一部には文字表示用のフォント
が格納されている。また、画像処理部7は、外部装置か
ら受信した画像データを、既に設定済みである設定条件
に従って画像処理し、バイナリビットデータのような印
刷可能なデータに変換処理する。処理された画像データ
は、図示しない画像形成部等により印刷される。ここ
で、CPU1、サブメモリ8、ROM9、および画像処
理部7等は第一のバスラインであるシステムバス2に接
続されている。システムバス2は、CPU1を中心に画
像処理を施すためのバスラインと言える。また、第二の
バスラインであるI/O(Input Output)バス5には、
外部装置21との間でデータを送受信する外部インター
フェイス(I/F)10、外部装置21との間で画像デ
ータをDMA転送によって送受信可能とさせるDMA制
御部3、及び送受信する画像データを記憶する記憶部で
あるメインメモリ4等が接続している。I/Oバス5
は、主に外部装置21とデータを送受信するためのバス
ラインと言える。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing a main part of an image processing apparatus 20 which is a typical example of a data processing apparatus according to the present invention. In the figure, CPU 1
ROM 9 mainly storing program software and CPU 1
Has a function as a system control unit that controls the entire system between the units of the image processing apparatus 20 integrally with the sub-memory 8 that is configured by a RAM that temporarily stores the calculation results and the like. Specifically, it determines the operation timing of each unit of the image processing apparatus 20, checks whether each unit is operating normally, detects an error that has occurred in each unit, and displays an error on a display unit (not shown). Display. A font for character display is stored in a part of the ROM 9. Further, the image processing unit 7 performs image processing on the image data received from the external device according to the already set setting conditions, and converts the image data into printable data such as binary bit data. The processed image data is printed by an image forming unit (not shown) or the like. Here, the CPU 1, the sub memory 8, the ROM 9, the image processing unit 7, and the like are connected to the system bus 2, which is a first bus line. The system bus 2 can be said to be a bus line for performing image processing mainly on the CPU 1. In addition, an I / O (Input Output) bus 5, which is a second bus line, includes:
An external interface (I / F) 10 for transmitting and receiving data to and from the external device 21, a DMA control unit 3 for enabling image data to be transmitted and received to and from the external device 21 by DMA transfer, and storing image data to be transmitted and received. The main memory 4 serving as a storage unit is connected. I / O bus 5
Is a bus line for mainly transmitting and receiving data to and from the external device 21.

【0007】また、システムバス2とI/Oバス5の間
には、両バスを接続させたり、分離させたりする接離調
停部6が設けられている。さらに、この接離調停部6
は、システム調停バス11によりシステムバス2と接続
され、I/O調停バス12によりI/Oバス5と接続さ
れている。例えば、接離調停部6によりシステムバス2
とI/Oバス5が接続された状態においては、CPU1
は、システムバス2から接離調停部6を介して、I/O
バス5を経由し、メインメモリ4にアクセスすること、
または、外部インターフェイス10を通して外部装置2
1にアクセスすること等が出来る。CPU1からメイン
メモリ4にアクセスするために、CPU1と接離調停部
6との間にはCPU接離信号線13が接続されている。
また、DMA制御部3と接離調停部6の間には、DMA
接離信号線14が接続されており、接離調停部6は、D
MA接離信号線14を介してDMA制御部3からDMA
転送の開始情報を受け取ると、システムバス2とI/O
バス5を分離した状態にする。
[0007] A connection / separation arbitration unit 6 is provided between the system bus 2 and the I / O bus 5 for connecting and disconnecting both buses. Further, the contact / separation arbitration unit 6
Are connected to the system bus 2 by a system arbitration bus 11 and connected to the I / O bus 5 by an I / O arbitration bus 12. For example, the system bus 2
When the I / O bus 5 is connected to the
I / O from the system bus 2 via the connection / separation arbitration unit 6
Accessing the main memory 4 via the bus 5;
Alternatively, the external device 2 through the external interface 10
1 can be accessed. In order to access the main memory 4 from the CPU 1, a CPU contact / separation signal line 13 is connected between the CPU 1 and the contact / separation arbitration unit 6.
Further, a DMA is provided between the DMA control unit 3 and the contact / separation arbitration unit 6.
The contact / separation signal line 14 is connected.
DMA from the DMA control unit 3 via the MA contact / separation signal line 14
When the transfer start information is received, the system bus 2 and the I / O
The bus 5 is separated.

【0008】このシステムバス2とI/Oバス5の分離
した状態では、外部装置21からの画像データは、DM
A制御部3の制御のもとに、外部インターフェイス10
とI/Oバス5を経由して、DMA転送にてメインメモ
リ4に書き込まれる。また、メインメモリ4に記憶され
た画像データは、DMA制御部3の制御のもとにI/O
バス5と外部インターフェイス10を経由して、DMA
転送にて外部装置21に渡される。上記のI/Oバス5
を経由したDMA転送中には、システムバス2とI/O
バス5が分離した状態になっているため、CPU1はシ
ステムバス2に接続した各デバイスに指令を出して、画
像処理を進めることが出来る。例えば、サブメモリ8に
取り込んだ1部の画像データを、画像処理部7によって
印刷する形式のデータに変換したり、ROM9に格納さ
れているフォントの中から該当するフォントを探し出し
たりする。この場合のようにサブメモリ8は、CPU1
の演算途中の結果を記憶したり、画像処理中の一部の画
像データを記憶すればよいので、メインメモリ4の容量
と比較して非常に少ない容量で足りる。
In a state where the system bus 2 and the I / O bus 5 are separated, image data from the external device 21
Under the control of the A control unit 3, the external interface 10
Via the I / O bus 5 and written in the main memory 4 by DMA transfer. The image data stored in the main memory 4 is transmitted to the I / O under the control of the DMA controller 3.
DMA via bus 5 and external interface 10
It is transferred to the external device 21 by transfer. The above I / O bus 5
During the DMA transfer via the I / O, the system bus 2 and the I / O
Since the bus 5 is in a separated state, the CPU 1 can issue a command to each device connected to the system bus 2 to proceed with image processing. For example, one copy of the image data taken into the sub-memory 8 is converted into data in a format to be printed by the image processing unit 7, or a corresponding font is searched for from the fonts stored in the ROM 9. As in this case, the sub memory 8 stores the CPU 1
It is only necessary to store the result of the calculation in the middle or to store a part of the image data during the image processing, so that a very small capacity is sufficient compared with the capacity of the main memory 4.

【0009】図2は、図1における接離調停部6をより
詳細に示したブロック図である。また、図2の動作とし
ては、特に接離調停部6だけに限って説明することと
し、その他は図1で説明した通りとする。図において、
接離調停部6は大きく分けると、接離調停制御部6aと
接離実行部6bから構成されている。また、上述したシ
ステム調停バス11はシステムバス制御ライン11aと
システムバス接離ライン11bから構成されており、I
/O調停バス12はI/Oバス制御ライン12aとI/
O接離ライン12bから構成されている。システムバス
制御ライン11aとI/Oバス制御ライン12aは接離
調停制御部6aの両端に接続され、常に接離調停制御部
6aによりシステムバス2とI/Oバス5の状態が監視
出来るようになっている。さらに、接離調停制御部6a
には、CPU接離信号線13がCPU1との間に接続さ
れ、DMA接離信号線14がDMA制御部3との間に接
続されている。また、システムバス接離ライン11bと
I/O接離ライン12bは、接離実行部6bの一部を構
成しており、システムバス2とI/Oバス5を実際に接
続させたり、分離させたりする橋渡し動作を受け持って
いる。
FIG. 2 is a block diagram showing the contact / separation arbitration unit 6 in FIG. 1 in more detail. In addition, the operation of FIG. 2 will be particularly described only for the contact / separation arbitration unit 6, and the other operations are the same as those described with reference to FIG. In the figure,
The contact / separation arbitration unit 6 is roughly composed of a contact / separation arbitration control unit 6a and a contact / separation execution unit 6b. The above-described system arbitration bus 11 includes a system bus control line 11a and a system bus connection / disconnection line 11b.
The / O arbitration bus 12 is connected to the I / O bus control line 12a and the I / O bus
It is composed of an O contact / separation line 12b. The system bus control line 11a and the I / O bus control line 12a are connected to both ends of the connection / separation arbitration control unit 6a so that the state of the system bus 2 and the I / O bus 5 can be constantly monitored by the connection / separation arbitration control unit 6a. Has become. Further, the contact / separation arbitration control unit 6a
, The CPU contact / separation signal line 13 is connected to the CPU 1 and the DMA contact / separation signal line 14 is connected to the DMA controller 3. The system bus contact / separation line 11b and the I / O contact / separation line 12b constitute a part of the contact / separation execution unit 6b, and actually connect or separate the system bus 2 and the I / O bus 5. It is in charge of bridging action.

【0010】次に、接離調停部6の動作をブロック図に
従って詳細に述べる。接離実行部6bの主要構成は、図
のように逆向きに並行に置かれた2つのゲート回路6b
1、6b2からなっている。2つのゲート回路6b1、
6b2は、それぞれの出力端が相手の入力端に接続され
た構成になっており、ゲート回路6b1、6b2の両端
からバス接続信号線6b4、6b5が出ている。また、
2つのゲート回路6b1、6b2には、2つのゲート回
路のON、OFFを制御するゲート信号線6b3が接離
調停制御部6aに接続されている。このようなゲート回
路6b1、6b2と、バス接続信号線6b4、6b5
と、ゲート信号線6b3とからなる組合わせが、システ
ムバス2とI/Oバス5を接続するのに必要な数だけ接
離実行部6b内に存在する。また、接離調停制御部6a
は、CPU接離信号線13やDMA接離信号線14を介
してDMA転送の要求指令やDMA転送の開始情報を受
け取ることが出来る。このようにして、DMA転送が開
始したことを知った接離調停制御部6aは、ゲート信号
線6b3をHigh状態にさせる。ゲート信号線6b3
がHigh状態になると、ゲート回路6b1、6b2が
ONになり、ゲート回路6b1、6b2の両端部が導通
状態になって、システムバス2からI/Oバス5、I/
Oバス5からシステムバス2へと情報を流すことが出来
る。
Next, the operation of the contact / separation arbitration unit 6 will be described in detail with reference to a block diagram. The main configuration of the contact / separation execution unit 6b is composed of two gate circuits 6b placed in parallel in opposite directions as shown in the figure.
1, 6b2. Two gate circuits 6b1,
6b2 is configured such that each output terminal is connected to the other input terminal, and bus connection signal lines 6b4 and 6b5 are output from both ends of the gate circuits 6b1 and 6b2. Also,
The two gate circuits 6b1 and 6b2 have a gate signal line 6b3 for controlling ON / OFF of the two gate circuits connected to the connection / separation arbitration control unit 6a. Such gate circuits 6b1 and 6b2 and bus connection signal lines 6b4 and 6b5
And the number of gate signal lines 6b3 in the connection / separation execution unit 6b required for connecting the system bus 2 and the I / O bus 5. The contact / separation arbitration control unit 6a
Can receive a DMA transfer request command and DMA transfer start information via the CPU contact / separation signal line 13 and the DMA contact / separation signal line 14. In this manner, the connection / separation arbitration control unit 6a, which has learned that the DMA transfer has started, sets the gate signal line 6b3 to the high state. Gate signal line 6b3
Are in a high state, the gate circuits 6b1 and 6b2 are turned on, and both ends of the gate circuits 6b1 and 6b2 are turned on, so that the I / O buses 5 and I / O
Information can flow from the O bus 5 to the system bus 2.

【0011】また、接離調停制御部6aは、DMA制御
部3からDMA転送が終了した連絡を受けると、ゲート
信号線6b3をLow状態にさせる。ゲート信号線6b
3がLow状態になると、ゲート回路6b1、6b2が
OFFになり、ゲート回路6b1、6b2の両端部が非
導通状態になって、システムバス2とI/Oバス5が分
離される。また、接離調停制御部6aは、CPU接離信
号線13とDMA接離信号線14を介して、CPU1か
らのメインメモリ4へのアクセスと、DMA制御部3か
らのメインメモリ4へのアクセスとが同時に行われたこ
とを検知出来る。このようにCPU1からとDMA制御
部3からとのメインメモリ4へのアクセスとが同時に行
われた場合、接離調停制御部6aは、CPU1かDMA
制御部3の一方をWAIT状態にして、メインメモリ4
へのアクセスを待たすようになっている。例えば、CP
U1からとDMA制御部3からとのメインメモリ4への
アクセスが同時に行われてCPU1からのメインメモリ
4へのアクセスが出来なかった場合、接離調停制御部6
aは、CPU接離信号線13を介してCPU1をWAI
T状態にして、メインメモリ4へのアクセスを待たすよ
うにする。逆に、DMA制御部3からのメインメモリ4
へのアクセスが出来なかった場合、接離調停制御部6a
は、DMA接離信号線14を介してDMA制御部3をW
AIT状態にして、メインメモリ4へのアクセスを待た
すようにする。
Further, upon receiving a notification from the DMA control unit 3 that the DMA transfer has been completed, the contact / separation arbitration control unit 6a sets the gate signal line 6b3 to a low state. Gate signal line 6b
When 3 is in the Low state, the gate circuits 6b1 and 6b2 are turned off, the both ends of the gate circuits 6b1 and 6b2 are turned off, and the system bus 2 and the I / O bus 5 are separated. The contact / separation arbitration control unit 6 a accesses the main memory 4 from the CPU 1 and the access from the DMA control unit 3 to the main memory 4 via the CPU contact / separation signal line 13 and the DMA contact / separation signal line 14. Can be detected at the same time. When the access to the main memory 4 from the CPU 1 and the DMA control unit 3 is performed at the same time as described above, the connection / separation arbitration control unit 6a sets the CPU 1 or the DMA
One of the control units 3 is set to the WAIT state, and the main memory 4
Waiting for access to. For example, CP
If the access to the main memory 4 from the U1 and the DMA control unit 3 is performed simultaneously and the access to the main memory 4 from the CPU 1 cannot be performed, the connection / separation arbitration control unit 6
a, the CPU 1 is connected to the WAI via the CPU contact / separation signal line 13;
In the T state, access to the main memory 4 is waited. Conversely, the main memory 4 from the DMA control unit 3
If access to the server is not possible, the contact / separation arbitration control unit 6a
Sends the DMA control unit 3 via the DMA contact / separation signal line 14 to W
In the AIT state, access to the main memory 4 is waited.

【0012】図3は、CPU1と接離調停部6との間に
はCPU接離信号線13が接続され、DMA制御部(D
MAC)3と接離調停部6との間に、DMA接離信号線
14が接続されている様子を示している。CPU接離信
号線13とDMA接離信号線14の信号は、共にメイン
メモリ4にアクセスするためにの信号の一部と信号の向
きを示す。また、図4は、CPU1とDMA制御部3か
らメインメモリ4にアクセスする信号の通常のタイミン
グ状態の一例を示す。例えば、CPU1から、READ
(読み取り)信号か、または、WRITE(書き込み)
信号を要求に合わせて出力する。そして、READまた
は、WRITE(R/W)信号を出力すると、直ぐにメ
モリへのチップセレクト信号であるCSMEM信号を出
力する。接離調停部6側では、メインメモリ4へのアク
セスが確定する間、CPU1にWAIT信号を送って、
メインメモリ4へのデータ送出を待たすようになってい
る。このWAIT信号のLOW状態の幅は、メインメモ
リ4の立ち上がり速度によって、大きく左右される。
In FIG. 3, a CPU contact / separation signal line 13 is connected between the CPU 1 and the contact / separation arbitration unit 6, and a DMA control unit (D
2 shows a state in which a DMA contact / separation signal line 14 is connected between the MAC) 3 and the contact / separation arbitration unit 6. The signals on the CPU contact / separation signal line 13 and the DMA contact / separation signal line 14 both indicate a part of the signal for accessing the main memory 4 and the direction of the signal. FIG. 4 shows an example of a normal timing state of a signal for accessing the main memory 4 from the CPU 1 and the DMA control unit 3. For example, from CPU1, READ
(Read) signal or WRITE (write)
Outputs signals as required. When a READ or WRITE (R / W) signal is output, a CSMEM signal, which is a chip select signal to the memory, is output immediately. The contact / separation arbitration unit 6 sends a WAIT signal to the CPU 1 while the access to the main memory 4 is determined.
The transmission of data to the main memory 4 is waited. The width of the WAIT signal in the LOW state largely depends on the rising speed of the main memory 4.

【0013】図5は、CPU1とDMA制御部3からの
メインメモリ4へのアクセスとが同時に行なわれた場合
における、DMA制御部3側からのアクセスを優先さ
せ、CPU1をWAIT状態にして、メインメモリ4へ
のアクセスを待たせるタイミング図である。図5の下側
に書かれたDMA制御部3側からの、DMAC:R/W、DMAC:C
SMEM 、及び図示しないアドレス等の信号はメインメモ
リ4に入力される。その間中、CPU1はWAITを掛
けられる。DMA制御部3側からのアクセスが終了した
時点で、初めてCPU1側からの、CPU:R/W 、CPU: CSM
EM、及び図示しないアドレス等の信号がメインメモリ4
に入力される。従って、CPU1とDMA制御部3と
は、WAIT信号が解除されてからでなければ次のアク
セスに進めないことになる。
FIG. 5 shows a case where the access from the DMA control unit 3 is prioritized when the CPU 1 and the access to the main memory 4 from the DMA control unit 3 are performed at the same time, the CPU 1 is in the WAIT state, FIG. 6 is a timing chart for waiting for access to the memory 4. DMAC: R / W, DMAC: C from the DMA control unit 3 side written in the lower part of FIG.
SMEM and signals such as addresses (not shown) are input to the main memory 4. During that time, the CPU 1 is put on WAIT. When the access from the DMA control unit 3 ends, the CPU: R / W, CPU: CSM
EM and signals such as addresses (not shown) are stored in the main memory 4.
Is input to Therefore, the CPU 1 and the DMA control unit 3 cannot proceed to the next access until the WAIT signal is released.

【0014】[0014]

【発明の効果】以上のように請求項1の発明によれば、
第一のバスラインと第二のバスラインとが接続している
ときは、CPUから第二のバスラインに接続している記
憶手段にアクセスすることが可能となり、両方のバスラ
インが分離しているときは、並行に独立した動作を行う
ことが出来るので、双方のバスにデータを記憶する容量
の大きなメモリを確保する必要がなく、システム全体の
高速化が図れたデータ処理装置を提供出来る。請求項2
の発明によれば、請求項1のデータ処理装置の発明に加
えて、DMA転送によってデータを送受信中も、CPU
は第一のバスライン上にあるデバイスにアクセスするこ
とが出来るので、システム効率の向上を図ったデータ処
理装置を提供出来る。請求項3の発明によれば、請求項
1または請求項2のデータ処理装置の発明に加えて、C
PUまたはDMA制御手段は、第一のバスラインと第二
のバスラインとの分離状態を意識することなく、記憶手
段にアクセスすることができるので、CPUとDMA制
御手段の動作範囲が広がって、システム全体の効率のよ
いデータ処理装置を提供出来る。
As described above, according to the first aspect of the present invention,
When the first bus line and the second bus line are connected, it becomes possible for the CPU to access the storage means connected to the second bus line, and both bus lines are separated from each other. In such a case, independent operations can be performed in parallel, so that it is not necessary to secure a memory having a large capacity for storing data in both buses, and a data processing device capable of increasing the speed of the entire system can be provided. Claim 2
According to the invention of the first aspect, in addition to the invention of the data processing apparatus of the first aspect, even when data is transmitted and received by the DMA transfer,
Can access a device on the first bus line, so that a data processing device with improved system efficiency can be provided. According to the invention of claim 3, in addition to the invention of the data processing apparatus of claim 1 or claim 2, C
Since the PU or DMA control means can access the storage means without being conscious of the separation state between the first bus line and the second bus line, the operating range of the CPU and the DMA control means is expanded, An efficient data processing device for the entire system can be provided.

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

【図1】本発明の実施の形態例を示すデータ処理装置の
主要部を示すブロック図である。
FIG. 1 is a block diagram illustrating a main part of a data processing device according to an embodiment of the present invention.

【図2】図1に示すデータ処理装置の接離調停手段をよ
り詳細に示したブロック図である。
FIG. 2 is a block diagram showing a close / separation arbitration unit of the data processing device shown in FIG. 1 in more detail;

【図3】接離調停手段に接続されている信号線の主要部
を示した説明図である。
FIG. 3 is an explanatory diagram showing a main part of a signal line connected to a contact / separation arbitration unit.

【図4】CPUとDMA制御部からメインメモリにアク
セスする信号の通常のタイミング例を示した説明図であ
る。
FIG. 4 is an explanatory diagram showing a normal timing example of a signal for accessing a main memory from a CPU and a DMA control unit.

【図5】CPUとDMA制御部からメインメモリ4への
アクセスとが同時に行わた場合のタイミング例を示した
説明図である。
FIG. 5 is an explanatory diagram showing an example of timing when access from the CPU and the DMA control unit to the main memory 4 is performed simultaneously.

【符号の説明】[Explanation of symbols]

1・・・CPU、2・・・システムバス(第一のバスラ
イン)、3・・・DMA制御部(DMA制御手段)、4
・・・メインメモリ(記憶手段)、5・・・I/Oバス
(第二のバスライン)、6・・・接離調停部(接離調停
手段)、6a・・・接離調停制御部、6b・・・接離実
行部、7・・・画像処理部、8・・・サブメモリ、9・
・・ROM、10・・・外部インターフェイス、11・
・・システム調停バス、11a・・・システムバス制御
ライン、11b・・・システムバス接離ライン、12・
・・I/O調停バス、12a・・・I/Oバス制御ライ
ン、12b・・・I/O接離ライン、13・・・CPU
接離信号線、14・・・DMA接離信号線、20・・・
画像処理装置(データ処理装置)、21・・・外部装置
1 CPU, 2 system bus (first bus line), 3 DMA controller (DMA controller), 4
... Main memory (storage means), 5 ... I / O bus (second bus line), 6 ... Connection / separation arbitration unit (contact / separation arbitration means), 6a ... Connection / separation arbitration control unit , 6b: contact / separation execution unit, 7: image processing unit, 8: sub memory, 9
..ROM, 10 external interfaces, 11
..System arbitration bus, 11a... System bus control line, 11b.
..I / O arbitration bus, 12a ... I / O bus control line, 12b ... I / O connection / separation line, 13 ... CPU
Attachment / separation signal line, 14 ... DMA Attachment / separation signal line, 20 ...
Image processing device (data processing device), 21 external device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 外部装置との間でデータをDMA転送に
よって送受信するデータ処理装置において、CPUを接
続した第一のバスラインと、DMA転送を制御するDM
A制御手段と、DMA転送により送受信するデータを記
憶する記憶手段と、前記DMA制御手段と前記記憶手段
とを接続する第二のバスラインと、前記第一のバスライ
ンと前記第二のバスラインとの間にあり、前記第一のバ
スラインと前記第二のバスラインとを接続又は分離させ
る接離調停手段と、を備えたことを特徴とするデータ処
理装置。
1. A data processing device for transmitting and receiving data to and from an external device by DMA transfer, comprising: a first bus line connected to a CPU; and a DM bus for controlling DMA transfer.
A control means, storage means for storing data to be transmitted and received by DMA transfer, a second bus line connecting the DMA control means and the storage means, the first bus line and the second bus line And a connection / separation arbitration means for connecting or disconnecting the first bus line and the second bus line.
【請求項2】 請求項1記載のデータ処理装置におい
て、前記接離調停手段は、第二のバスラインを通して画
像データをDMA転送により送受信している間中、第一
のバスラインと第二のバスラインとを分離させることを
特徴とするデータ処理装置。
2. The data processing apparatus according to claim 1, wherein the connection / separation arbitration unit is connected to the first bus line and the second bus line while the image data is transmitted and received by the DMA transfer through the second bus line. A data processing device characterized in that it is separated from a bus line.
【請求項3】 請求項1または請求項2記載のデータ処
理装置において、CPUから記憶手段へのアクセスと、
DMA転送による送受信データを書き込むための記憶手
段へのアクセスとが同時に実施された場合、前記接離調
停手段は、前記アクセスが拒否された方の前記CPUま
たは前記DMA制御手段をWAIT状態にすることを特
徴とするデータ処理装置。
3. The data processing device according to claim 1, wherein an access from the CPU to the storage unit is performed by the CPU.
When the access to the storage means for writing the transmission / reception data by the DMA transfer is performed simultaneously, the connection / separation arbitration means sets the CPU or the DMA control means, to which the access is rejected, to the WAIT state. A data processing device characterized by the above-mentioned.
JP10346564A 1998-11-19 1998-11-19 Data processor Pending JP2000155738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10346564A JP2000155738A (en) 1998-11-19 1998-11-19 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10346564A JP2000155738A (en) 1998-11-19 1998-11-19 Data processor

Publications (1)

Publication Number Publication Date
JP2000155738A true JP2000155738A (en) 2000-06-06

Family

ID=18384285

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10346564A Pending JP2000155738A (en) 1998-11-19 1998-11-19 Data processor

Country Status (1)

Country Link
JP (1) JP2000155738A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003036487A1 (en) * 2001-10-22 2003-05-01 Apple Computer, Inc. Methods and apparatus for providing a automatic high speed data connection in a firewire enabled portable multimedia device
KR100400851B1 (en) * 2000-07-05 2003-10-08 샤프 가부시키가이샤 Image processing system, and semiconductor device and digital still camera apparatus using image processing system
US6754733B2 (en) * 2001-08-23 2004-06-22 Texas Instruments Incorporated Shared memory architecture for increased bandwidth in a printer controller
WO2005015504A1 (en) * 2003-08-07 2005-02-17 Renesas Technology Corp. Image processing semiconductor processor

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100400851B1 (en) * 2000-07-05 2003-10-08 샤프 가부시키가이샤 Image processing system, and semiconductor device and digital still camera apparatus using image processing system
US6754733B2 (en) * 2001-08-23 2004-06-22 Texas Instruments Incorporated Shared memory architecture for increased bandwidth in a printer controller
WO2003036487A1 (en) * 2001-10-22 2003-05-01 Apple Computer, Inc. Methods and apparatus for providing a automatic high speed data connection in a firewire enabled portable multimedia device
US7054981B2 (en) 2001-10-22 2006-05-30 Apple Computer, Inc. Methods and apparatus for providing automatic high speed data connection in portable device
US7451250B2 (en) 2001-10-22 2008-11-11 Apple Inc. Methods and apparatus for providing automatic high speed data connection in portable device
WO2005015504A1 (en) * 2003-08-07 2005-02-17 Renesas Technology Corp. Image processing semiconductor processor

Similar Documents

Publication Publication Date Title
JP3807250B2 (en) Cluster system, computer and program
JPH01277928A (en) Printer
JPS63255759A (en) Control system
JPH07104826B2 (en) Transfer control device
JP2000155738A (en) Data processor
JP2000347980A (en) Peripheral device, its control method, storage medium and information processing system
JP2988443B2 (en) Data transfer method
JPH1078856A (en) Interruption by priority printing method and system therefor
JP3846089B2 (en) Interface device, control method thereof, and information recording medium
JP2573790B2 (en) Transfer control device
JPH11252150A (en) Network connection device and network connection control method
US6505276B1 (en) Processing-function-provided packet-type memory system and method for controlling the same
JP3399776B2 (en) Computer and method for transferring peripheral device control data in computer
JP2995420B2 (en) Network disconnection method
JP2687716B2 (en) Information processing device
JP2671743B2 (en) Microcomputer
JP2860733B2 (en) Bus connection device
JP2638505B2 (en) Bus interface device
JPH0782468B2 (en) Transfer control device
JPH05233440A (en) Data transfer system equipped with buffer function
JPH0511339B2 (en)
KR100253790B1 (en) How to interface medium and large computer controller boards
JPH07306840A (en) Computer system
JPH01108665A (en) Dma transfer control system
JPH0535693A (en) Data transfer device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050627

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050826

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051024