JP2003256357A - Data processing apparatus and method therefor - Google Patents

Data processing apparatus and method therefor

Info

Publication number
JP2003256357A
JP2003256357A JP2002058060A JP2002058060A JP2003256357A JP 2003256357 A JP2003256357 A JP 2003256357A JP 2002058060 A JP2002058060 A JP 2002058060A JP 2002058060 A JP2002058060 A JP 2002058060A JP 2003256357 A JP2003256357 A JP 2003256357A
Authority
JP
Japan
Prior art keywords
data
processing unit
bus
central processing
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.)
Withdrawn
Application number
JP2002058060A
Other languages
Japanese (ja)
Inventor
Shinichiro Kobayashi
新一郎 小林
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002058060A priority Critical patent/JP2003256357A/en
Publication of JP2003256357A publication Critical patent/JP2003256357A/en
Withdrawn legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data processing apparatus and method therefor capable of effectively transferring data. <P>SOLUTION: First of all, a CPU sends out a start address from an address bus to a memory during time t0 corresponding to 1 clock. In that case, an amount of transfer data indicating an amount of data to be sent out therefrom is sent out to a data bus. In the following time (T1), data (D0) are sent out to the data bus, and the data obtained by dividing the next data (D1) of the data (D0) into one-half are sent out to the address bus. In the following time (T2), the rest of the divided data is sent out to the address bus, and the next data (D2) of the data (D1) are sent out to the data bus. In this way, three words (data) are transferred by two clocks. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、中央演算処理装置
とメモリ等の被処理装置との間でデータの授受を行うデ
ータ処理装置及びデータ処理方法に関する。特には、効
率よくデータ転送を行うことができるデータ処理装置及
びデータ処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device and a data processing method for exchanging data between a central processing unit and a processed device such as a memory. In particular, the present invention relates to a data processing device and a data processing method capable of efficiently transferring data.

【0002】[0002]

【従来の技術】これまで、CPU(Central Processing
Unit)やMPU(Micro ProcessingUnit)といった中
央演算処理装置と、ROM(Read Only Memory)やRA
M(Random Access Memory)といったメモリ(被処理装
置)との間でデータを転送する時には、データ毎にアド
レスバスに目的のアドレスを送出し、これを受けたメモ
リ等は、指定されたアドレスに格納されているデータを
送出していた。
2. Description of the Related Art Up to now, CPU (Central Processing)
Unit) or MPU (Micro Processing Unit) and a central processing unit, ROM (Read Only Memory) or RA
When data is transferred to or from a memory (device to be processed) such as M (Random Access Memory), the target address is sent to the address bus for each data, and the memory etc. receiving this stores it at the specified address. The data being sent was being sent.

【0003】図3は、従来のCPUとメモリとの間のデ
ータ処理装置を示す図である。図3には、所定の演算処
理を行うCPU101と、CPU101に接続されたメ
モリ102が示されている。CPU101とメモリ10
2との間には、32bitのアドレスバスと、64bitのデ
ータバスと、CS(Chip Select)信号線と、R/W(R
ead/Write)信号線と、CNT(count)線とが設けられ
ている。
FIG. 3 is a diagram showing a conventional data processing device between a CPU and a memory. FIG. 3 shows a CPU 101 that performs predetermined arithmetic processing and a memory 102 connected to the CPU 101. CPU 101 and memory 10
A 32-bit address bus, a 64-bit data bus, a CS (Chip Select) signal line, and an R / W (R
An ead / Write) signal line and a CNT (count) line are provided.

【0004】図4は、上述のデータ処理装置を用いてデ
ータ転送を行う際のデータ処理方法の一例を示す図であ
る。図4においては、まず、1クロックに相当する時間
(T0)の間に、CPU101はアドレスバスからアド
レス(A0)をメモリ102に送出する。その際に、デ
ータバスには、アドレス(A0)に指定されるデータ
(D0)が送出される。その後も、1クロックに相当す
る時間(T1〜T5)の間に、アドレスバスにアドレス
(A1〜A5)、データバスにアドレス(A1〜A5)
に指定されるデータ(D1〜D5)が送出される。この
ようにして、1クロックで1ワード(データ)の転送が
できるので、32ワードのデータを授受するためには、
従来は32クロックを必要とする。
FIG. 4 is a diagram showing an example of a data processing method when data is transferred using the above-described data processing device. In FIG. 4, first, the CPU 101 sends the address (A0) from the address bus to the memory 102 during the time (T0) corresponding to one clock. At this time, the data (D0) designated by the address (A0) is sent to the data bus. After that, during the time (T1 to T5) corresponding to one clock, the address bus has addresses (A1 to A5) and the data bus has addresses (A1 to A5).
The data (D1 to D5) designated by is transmitted. In this way, one word (data) can be transferred in one clock, so in order to transfer 32 words of data,
Conventionally, 32 clocks are required.

【0005】[0005]

【発明が解決しようとする課題】ここで、中央演算処理
装置とメモリとの間で大量のデータの授受が発生する場
合には、キャッシュの更新等の比較的連続したデータを
ブロック単位で授受することが多い。その場合には、基
本的にはスタートアドレスと転送量を知ることで対応可
能であるにもかかわらず、中央演算処理装置からはデー
タ毎にアドレスをメモリに通知していたため、データ処
理に時間がかかっていた。
When a large amount of data is exchanged between the central processing unit and the memory, relatively continuous data such as cache update is exchanged in block units. Often. In that case, basically, by knowing the start address and the transfer amount, the central processing unit notifies the memory of the address for each data. It was hanging.

【0006】また、データの授受に関しては、各種モー
ドが提唱されているが、基本的には、データの授受を行
うデータバスの幅で転送データ量が制限されていた。
Various modes have been proposed for data transfer, but basically, the transfer data amount is limited by the width of the data bus for data transfer.

【0007】本発明は、このような問題に鑑みてなされ
たものであって、効率よくデータ転送を行うことができ
るデータ処理装置及びデータ処理方法を提供することを
目的とする。
The present invention has been made in view of such a problem, and an object thereof is to provide a data processing device and a data processing method capable of efficiently transferring data.

【0008】[0008]

【課題を解決するための手段】上記の課題を解決するた
め、本発明のデータ処理装置は、 所定の機能を実現す
る中央演算処理装置と、 該中央演算処理装置に接続さ
れる被処理装置と、前記中央演算処理装置と前記被処理
装置との間に設けられるアドレスバス及びデータバス
と、 前記中央演算処理装置と前記被処理装置の各々に
設けられ、データを所定量に分割・結合する分割結合回
路と、 を具備し、 前記両分割結合回路が前記アドレ
スバスを介して接続されていることを特徴とする。
In order to solve the above-mentioned problems, a data processing apparatus of the present invention comprises a central processing unit which realizes a predetermined function, and an apparatus to be processed connected to the central processing unit. An address bus and a data bus provided between the central processing unit and the processed device, and a division provided in each of the central processing unit and the processed device for dividing / combining data into a predetermined amount And a coupling circuit, wherein both split coupling circuits are connected via the address bus.

【0009】本発明のデータ処理方法は、 中央演算処
理装置と、該中央演算処理装置に接続される被処理装置
と、の間でデータの転送を行うデータ処理方法であっ
て、前記中央演算処理装置と前記被処理装置との間に設
けられるデータバスを介して前記データを転送するとと
もに、 前記データを所定量に分割し、前記中央演算処
理装置と前記被処理装置との間に設けられるアドレスバ
スを介してデータを転送することを特徴とする。
A data processing method of the present invention is a data processing method for transferring data between a central processing unit and a processing target device connected to the central processing unit, wherein the central processing unit An address provided between the central processing unit and the processed device while transferring the data through a data bus provided between the device and the processed device and dividing the data into a predetermined amount. It is characterized by transferring data via a bus.

【0010】前記データ処理方法においては、 前記デ
ータの転送を行う際に、まず、前記データのスタートア
ドレス及び前記データの転送データ量を前記被処理装置
に転送することが好ましい。
In the data processing method, when the data is transferred, it is preferable to first transfer the start address of the data and the transfer data amount of the data to the device to be processed.

【0011】上述のように、本発明のデータ処理装置及
びデータ処理方法によれば、アドレスバスを経由してデ
ータを授受することにより、効率よくデータ転送を行う
ことができる。
As described above, according to the data processing device and the data processing method of the present invention, data can be transferred efficiently by exchanging data via the address bus.

【0012】[0012]

【発明の実施の形態】以下、図面を参照しつつ説明す
る。図1は、本発明の実施の形態に係るデータ処理装置
を示す図である。以下、一例として、CPUとメモリと
の間のデータ処理について説明するが、中央演算処理装
置と、PCI(Peripheral Component Interconnect)
スロット、ビデオカード、グラフィックアクセラレー
タ、ネットワークカード等の周辺機器(被処理装置)と
のデータ処理も同様にして行うことができる。
DETAILED DESCRIPTION OF THE INVENTION A description will be given below with reference to the drawings. FIG. 1 is a diagram showing a data processing device according to an embodiment of the present invention. Hereinafter, as an example, data processing between the CPU and the memory will be described. A central processing unit and a PCI (Peripheral Component Interconnect)
Data processing with peripheral devices (devices to be processed) such as slots, video cards, graphic accelerators, and network cards can be performed in the same manner.

【0013】図1には、所定の演算処理を行うCPU1
と、CPU1に接続されたメモリ2が示されている。C
PU1とメモリ2との間には、32bitのアドレスバス
と、64bitのデータバスと、CS(Chip Select)信号
線と、R/W(Read/Write)信号線と、CNT(coun
t)線とが設けられている。CPU1とメモリ2の内部
には、各々64bitのデータを32bitに分割してアドレ
スバスを介して転送した後、再び結合して64bitのデ
ータをして認識するための回路が設けられている。な
お、ここでは、64bitのデータを32bitに分割・結合
したが、データ量及び分割量はこれに限定されるのもで
はない。
FIG. 1 shows a CPU 1 which performs a predetermined arithmetic processing.
And the memory 2 connected to the CPU 1 is shown. C
A 32-bit address bus, a 64-bit data bus, a CS (Chip Select) signal line, an R / W (Read / Write) signal line, and a CNT (coun) are provided between the PU 1 and the memory 2.
t) line is provided. Inside the CPU 1 and the memory 2, there is provided a circuit for dividing 64-bit data into 32 bits, transferring them via an address bus, and then re-combining them to recognize 64-bit data. Note that here, 64-bit data is divided and combined into 32 bits, but the data amount and the division amount are not limited to this.

【0014】図2は、上述のデータ処理装置を用いてデ
ータ転送を行う際のデータ処理方法の一例を示す図であ
る。図2においては、まず、1クロックに相当する時間
(T0)の間に、CPU1はアドレスバスからスタート
アドレスをメモリ2に送出する。その際に、データバス
には、これから送出するデータの量を示す転送データ量
が送出される。次の時間(T1)には、データバスにデ
ータ(D0)が送出され、アドレスバスにはデータ(D
0)の次のデータ(D1)を半分に分割したものが送出
される。その次の時間(T2)には、時間(T1)に送
出したデータ(D1)を半分に分割したものの内の残り
のデータがアドレスバスに送出される。また、その時、
データバスには、データ(D1)の次のデータ(D2)
が送出される。
FIG. 2 is a diagram showing an example of a data processing method when data is transferred using the above-described data processing device. In FIG. 2, first, the CPU 1 sends the start address from the address bus to the memory 2 during the time (T0) corresponding to one clock. At that time, the transfer data amount indicating the amount of data to be transmitted is transmitted to the data bus. At the next time (T1), data (D0) is sent to the data bus and data (D0) is sent to the address bus.
The data (D1) next to 0) is transmitted in half. At the next time (T2), the remaining data of the data (D1) sent at the time (T1) divided in half is sent to the address bus. Also, at that time,
The data bus (D1) is followed by the next data (D2).
Is sent.

【0015】次の時間(T3)には、データバスにデー
タ(D2)の次のデータ(D3)が送出され、アドレス
バスにはデータ(D3)の次のデータ(D4)を半分に
分割したものが送出される。その次の時間(T4)に
は、時間(T3)に送出したデータ(D4)を半分に分
割したものの内の残りのデータがアドレスバスに送出さ
れる。また、その時、データバスには、データ(D4)
の次のデータ(D5)が送出される。
At the next time (T3), the data (D3) next to the data (D2) is sent to the data bus, and the data (D4) next to the data (D3) is divided in half into the address bus. Things are sent out. At the next time (T4), the data (D4) sent at the time (T3) is divided in half, and the remaining data is sent to the address bus. At that time, the data (D4) is written on the data bus.
The next data (D5) is transmitted.

【0016】上述の時間(T1、T2)、(T3、T
4)のように、2クロックの間に、3つのデータ(ワー
ド)を送出する。このようにして、2クロックで3ワー
ド(データ)の転送ができるので、32ワードのデータ
を授受するためには、スタートアドレスと転送量の設定
用の1クロックと、データ送出用の21クロックの計2
2クロックで済む。
The above times (T1, T2), (T3, T
As in 4), three data (words) are transmitted in two clocks. In this way, since 3 words (data) can be transferred in 2 clocks, in order to transfer and receive 32 words of data, 1 clock for setting the start address and transfer amount and 21 clocks for sending data are used. Total 2
It takes 2 clocks.

【0017】[0017]

【発明の効果】以上の説明から明らかなように、本発明
によれば、アドレスバスを経由してデータを授受するこ
とにより、効率よくデータ転送を行うことができる。
As is apparent from the above description, according to the present invention, data can be transferred efficiently by exchanging data via the address bus.

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

【図1】 本発明の実施の形態に係るデータ処理装置を
示す図である。
FIG. 1 is a diagram showing a data processing device according to an embodiment of the present invention.

【図2】 上述のデータ処理装置を用いてデータ転送を
行う際のデータ処理方法の一例を示す図である。
FIG. 2 is a diagram showing an example of a data processing method when performing data transfer using the above-described data processing device.

【図3】 従来のCPUとメモリとの間のデータ処理装
置を示す図である。
FIG. 3 is a diagram showing a conventional data processing device between a CPU and a memory.

【図4】 上述のデータ処理装置を用いてデータ転送を
行う際のデータ処理方法の一例を示す図である。
FIG. 4 is a diagram showing an example of a data processing method when performing data transfer using the above-described data processing device.

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

1 CPU 2 メモリ 1 CPU 2 memory

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 所定の機能を実現する中央演算処理装置
と、 該中央演算処理装置に接続される被処理装置と、 前記中央演算処理装置と前記被処理装置との間に設けら
れるアドレスバス及びデータバスと、 前記中央演算処理装置と前記被処理装置の各々に設けら
れ、データを所定量に分割・結合する分割結合回路と、 を具備し、 前記両分割結合回路が前記アドレスバスを介して接続さ
れていることを特徴とするデータ処理装置。
1. A central processing unit that realizes a predetermined function, a processing target device connected to the central processing unit, an address bus provided between the central processing unit and the processing target device, and A data bus, and a split / coupling circuit provided in each of the central processing unit and the processing target device for splitting / combining data into a predetermined amount. A data processing device characterized by being connected.
【請求項2】 中央演算処理装置と、該中央演算処理装
置に接続される被処理装置と、の間でデータの転送を行
うデータ処理方法であって、 前記中央演算処理装置と前記被処理装置との間に設けら
れるデータバスを介して前記データを転送するととも
に、 前記データを所定量に分割し、前記中央演算処理装置と
前記被処理装置との間に設けられるアドレスバスを介し
てデータを転送することを特徴とするデータ処理方法。
2. A data processing method for transferring data between a central processing unit and a processing target device connected to the central processing unit, the central processing unit and the processing target device. The data is transferred via a data bus provided between the central processing unit and the processing target device, and the data is divided into a predetermined amount and the data is transferred via an address bus provided between the central processing unit and the processed device. A data processing method characterized by transferring.
【請求項3】 前記データの転送を行う際に、まず、前
記データのスタートアドレス及び前記データの転送デー
タ量を前記被処理装置に転送することを特徴とする請求
項2記載のデータ処理方法。
3. The data processing method according to claim 2, wherein when the data is transferred, first, a start address of the data and a transfer data amount of the data are transferred to the device to be processed.
JP2002058060A 2002-03-04 2002-03-04 Data processing apparatus and method therefor Withdrawn JP2003256357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002058060A JP2003256357A (en) 2002-03-04 2002-03-04 Data processing apparatus and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002058060A JP2003256357A (en) 2002-03-04 2002-03-04 Data processing apparatus and method therefor

Publications (1)

Publication Number Publication Date
JP2003256357A true JP2003256357A (en) 2003-09-12

Family

ID=28668128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002058060A Withdrawn JP2003256357A (en) 2002-03-04 2002-03-04 Data processing apparatus and method therefor

Country Status (1)

Country Link
JP (1) JP2003256357A (en)

Similar Documents

Publication Publication Date Title
US11144492B2 (en) Flex bus protocol negotiation and enabling sequence
US6950910B2 (en) Mobile wireless communication device architectures and methods therefor
US9952644B2 (en) Device power management state transition latency advertisement for faster boot time
KR101661259B1 (en) Fast deskew when exiting low-power partial-width high speed link state
JPH1078934A (en) Multi-size bus connection system for packet switching computer system
JP2001142842A (en) Dma handshake protocol
JP2018523217A (en) Transmission of transaction-specific attributes in the peripheral component interconnect express (PCIE) system
US6256693B1 (en) Master/slave data bus employing undirectional address and data lines and request/acknowledge signaling
US10108568B2 (en) Master capable of communicating with slave and system including the master
CN108304334B (en) Application processor and integrated circuit including interrupt controller
JP2005108213A (en) Communication device having common platform, and communication method
JPWO2006046482A1 (en) Multiprocessor system, synchronization control device, and synchronization control method
US20150113196A1 (en) Emi mitigation on high-speed lanes using false stall
JP2011113568A (en) Bandwidth synchronization circuit, bandwidth synchronization method, and data processing system including the same
US20070198879A1 (en) Method, system, and medium for providing interprocessor data communication
JP2003256357A (en) Data processing apparatus and method therefor
US20210286740A1 (en) In-line memory module (imm) computing node with an embedded processor(s) to support local processing of memory-based operations for lower latency and reduced power consumption
US6643726B1 (en) Method of manufacture and apparatus of an integrated computing system
JP2007059047A (en) Semiconductor memory system, and semiconductor memory chip
US6483753B1 (en) Endianess independent memory interface
JP4838458B2 (en) Semiconductor device
CN113992470B (en) Data transmitting method, data receiving method, master device, slave device and electronic device
JP2009151486A (en) Dma transfer processor
US20150378957A1 (en) Employing multiple i2c devices behind a microcontroller in a detachable platform
JP2000137674A (en) Burst transfer memory mapped register

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050510