JPH04190443A - Data transfer device - Google Patents

Data transfer device

Info

Publication number
JPH04190443A
JPH04190443A JP32199190A JP32199190A JPH04190443A JP H04190443 A JPH04190443 A JP H04190443A JP 32199190 A JP32199190 A JP 32199190A JP 32199190 A JP32199190 A JP 32199190A JP H04190443 A JPH04190443 A JP H04190443A
Authority
JP
Japan
Prior art keywords
data
system bus
bit width
data transfer
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
JP32199190A
Other languages
Japanese (ja)
Inventor
Katsuhiko Yanagisawa
克彦 柳沢
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP32199190A priority Critical patent/JPH04190443A/en
Publication of JPH04190443A publication Critical patent/JPH04190443A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To increase the utilization efficiency of a system bus and to shorten the processing time by putting data on a data transfer request device together into data close to the bit width of a system bus and passing the data through the system bus. CONSTITUTION:A packing/unpacking part 9 is provided halfway in a transfer path and when data are transferred from the data transfer request DMA device 8 to a data transfer area 1, several data read out of the DMA device 8 are put together into data whose bit width is equal or close to the bit width of the system bus 2. When data are transferred from the transfer area 1 to the DMA device 8, the data are transferred to the packing/unpacking part 9 in units of the bit width of the system bus 2. Thus, the utilization efficiency of the system bus is improved and the occupation time of the system bus is shortened to improve the efficiency of processing.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、データのビット幅が転送に使用するシステム
バスのビット幅より小であっても、システムバスを効率
よく利用し、しかも短時間で転送できるデータ転送装置
に関するものである。
The present invention relates to a data transfer device that efficiently utilizes a system bus and can transfer data in a short time even if the bit width of data is smaller than the bit width of a system bus used for transfer.

【従来の技術】[Conventional technology]

第2図に、従来のデータ転送装置を示す。第2図におい
て、1はデータ転送領域、2はシステムバス、3はシス
テムインタフェース、4はデハイスハスハノファ、5は
データ転送制御部、6はアドレスカウンタ、7はデバイ
スインタフェース、8はデータ転送要求デバイス(以下
、「DMAデバイス」という。D M A −Dire
ct Memory AccesS)である。このよう
な装置において、DMAデバイス8のポート幅、従って
そこからのデータのビット幅が、システムバス2のビッ
ト幅より小さい場合がしばしばある。そのような場合の
例として、いまDMAデバイス8のデータのビット幅は
8ビット、システムバス2のヒ゛ノド輻は32ビ。 トである場合を例↓ことる。 データの転送は、DMAデバイス8→データ転送領域1
へ、或いは逆にデータ転送領域1−DMAデバイス8へ
と行われる。DMAデバイス8→デーク転送領域1への
転送の際には、D M Aデバイス8から読み出された
8ビ、・ト幅のデータが、デハイスハスハソファ4.シ
ステムインタフェース3を通って32ビツト幅の7ステ
ムハス2に入り、データ転送領域1へと書き込まれる。 アドレスカウンタ6は、書き込みをするアドレスを指定
する。DMAデバイス8からの読み出しやデハイスハス
ハノファ4の転送方向の指定は、デバイスインタフェー
ス7からの信号によって行われ、転送を行うにあたって
のタイミング等の制御は、データ転送制御部5によって
行われる。。データ転送領域1→DMAデバイス8への
転送は、方向は上記とは逆方間だが、同様にして行われ
る。
FIG. 2 shows a conventional data transfer device. In Fig. 2, 1 is a data transfer area, 2 is a system bus, 3 is a system interface, 4 is a device, 5 is a data transfer control unit, 6 is an address counter, 7 is a device interface, and 8 is a data transfer. Request device (hereinafter referred to as "DMA device") DMA-Dire
ct Memory AccessS). In such devices, the port width of the DMA device 8, and therefore the bit width of the data therefrom, is often smaller than the bit width of the system bus 2. As an example of such a case, the data bit width of the DMA device 8 is 8 bits, and the node width of the system bus 2 is 32 bits. Here is an example of the case where it is ↓. Data transfer is from DMA device 8 to data transfer area 1
or vice versa, from data transfer area 1 to DMA device 8. When transferring from the DMA device 8 to the data transfer area 1, the 8-bit wide data read from the DMA device 8 is transferred to the data transfer area 4. It passes through the system interface 3, enters the 32-bit wide 7-stem hash 2, and is written to the data transfer area 1. Address counter 6 specifies the address to be written. The reading from the DMA device 8 and the designation of the transfer direction of the device 4 are performed by a signal from the device interface 7, and the timing etc. of the transfer is controlled by the data transfer control section 5. . Transfer from data transfer area 1 to DMA device 8 is performed in the same manner, although the direction is opposite to that described above.

【発明が解決しようとする課題】[Problem to be solved by the invention]

(問題点) しかしながら、前記した従来のデータ転送装置には、次
のような問題点があった。第1の問題点は、システムバ
ス2の利用効率が悪いという点である。第2の問題点は
、ノステムノ\ス2を占有している時間が長く、他の処
理を遅延させるという点である。 (問題点の説明) 前記した例のように、システムバス2が32ビツトであ
り、データが8ビツトである場合、データカシステムバ
ス2を通る時には、システムバス2のデータ転送能力の
僅か4分の1を利用しているだけであり、非常に利用効
率が悪い。また、利用効率が悪いために、データ量の割
りには長時間システムバス2を占有することになる。例
えば、転送するデータ量が合計して64ビツト分あった
場合、もしノステムノ<ス2の転送能カー杯(32ビツ
ト幅)に使って転送すれば、2回の転送サイクルの時間
で終了するところ、8ビツト幅では8回の転送サイクル
を要することになる。転送中はシステムバス2を占有し
ているから、他の処理を行うことは出来ない。従って、
他の処理を遅延させることになる。 本発明は、以上のような問題点を解決することを課題と
するものである。
(Problems) However, the conventional data transfer device described above has the following problems. The first problem is that the system bus 2 is used inefficiently. The second problem is that the time that Nostem No. 2 is occupied is long, which delays other processing. (Explanation of the problem) As in the above example, if the system bus 2 is 32 bits and the data is 8 bits, when the data card passes through the system bus 2, only 4% of the data transfer capacity of the system bus 2 is used. This means that only one of the following methods is used, which is extremely inefficient. Furthermore, due to poor utilization efficiency, the system bus 2 is occupied for a long time considering the amount of data. For example, if the total amount of data to be transferred is 64 bits, if the data is transferred using the full transfer capacity (32-bit width) of No. 2, the transfer will be completed in two transfer cycles. , 8 bit width requires 8 transfer cycles. Since the system bus 2 is occupied during the transfer, other processing cannot be performed. Therefore,
This will delay other processing. An object of the present invention is to solve the above-mentioned problems.

【課題を解決するための手段】[Means to solve the problem]

前記課題を解決するため、本発明では、データ転送SJ
f域とシステムバスのビット幅より小さいビット幅を有
するデータ転送要求デバイスとの間でシステムバスを経
由してデータ転送を行うデータ転送装置において、デー
タ転送要求デバイスからデータ転送領域へ転送する際に
は、データ転送要求デバイスのデータを幾つかまとめて
システムバスのビット幅と同じビット幅、ないしは該デ
ータのビット幅の倍数で且つシステムバスのビット幅に
最も近いビット幅のデータにし、逆にデータ転送領域か
らデータ転送要求デバイスに転送する際には、データ転
送要求デバイスのビット幅に分けるパックアンパック部
を具えることとした。
In order to solve the above problems, the present invention provides data transfer SJ
In a data transfer device that transfers data via the system bus between the f area and a data transfer requesting device having a bit width smaller than the bit width of the system bus, when transferring data from the data transfer requesting device to the data transfer area. The data transfer request device combines several pieces of data into data with a bit width that is the same as the bit width of the system bus, or a multiple of the bit width of the data and is closest to the bit width of the system bus, and vice versa. When transferring data from the transfer area to the data transfer requesting device, a pack-unpacking section is provided that divides the data into bit widths of the data transfer requesting device.

【作  用】[For production]

DMAデバイスとデータ転送領域との間でシステムバス
を経由してデータを転送するのに、DMAデバイスでの
データを幾つかまとめて、システムバスのビット幅と同
じビット幅、ないしは該データのビット幅の倍数で且つ
システムバスのビ。 ト幅に最も近いビット幅のデータにし、システムバスを
julさせる。これにより、システムバスの利用効率を
向上させることが出来る。また、システムバスを占有し
ている時間が従来より短くなるので、他の処理を待たせ
る時間を従来より短くすることが可能となる。
When data is transferred between a DMA device and a data transfer area via a system bus, several pieces of data in the DMA device are grouped together and the bit width is the same as the bit width of the system bus, or the bit width of the data is and the system bus. data with a bit width closest to the bit width of the target width, and jug the system bus. This makes it possible to improve the system bus usage efficiency. Furthermore, since the time that the system bus is occupied is shorter than before, it is possible to make other processing wait shorter than before.

【実 施 例】【Example】

以下、本発明の実施例を図面に基づいて詳細に説明する
。第1図は、本発明の実施例にかかわるデータ転送装置
である。符号は第2図のものに対応し、4−1はデバイ
スデータ用バスバッファ、4−2はデバイスアクセス用
バスバッファ、9はパックアンパック部(Pack ・
Unpack) 、10はレジスタハソファ、11はレ
ジスタである。デバイスデータ用バスバッファ4−1は
、従来例におけるデハイスハスバソファ4の機能の内、
データを通過させる機能を独立させたものであり、デバ
イスアクセス用パスハソファ4−2は、アクセス信号を
通過させる機能を独立させたものである。これらは必ず
しも独立させる必要はないが、本発明ではデータの通過
経路にパックアンパック部9が設けられるので、これに
関する制御も加わってデータの経路における制御が複雑
になる。そこで、出来るだけ制御を簡単にするため、こ
の例では独立させている。従来例と同じ符号が付されて
いる箇所の動作は、従来例のときと略同様であるので説
明は省略し、異なっている部分についてのみ、以下説明
する。 パンクアンパック部9は、データが転送される経路の途
中に設けられ、DMAデバイス8→データ転送領域1へ
と転送する際には、DMAデバイス8から読み出したデ
ータを幾つかまとめて(Packして)、システムバス
2のビット幅と同じ1−’:・ト幅、ないしは該データ
のビット幅の倍数で且つシステムバス2のビット幅に最
も近いビット幅のデータにする。DMAデバイス8のデ
ータが8ビ7トで、システムバス2のビット幅が32ビ
、ノドであれば、4つのデータをまとめて32ビ、トの
データとする。第1図のレジスタ11を点線で4つユニ
区切っているのは、8ビツトのデータを4つ受は入れる
′ように構成した場合を示している。なお、データがデ
バイスデータ用バスバッファ4−1を通過する場合の転
送方向の指定等は、デバイスインタフェース7からの指
示によって行われる。 32ビ・7トにまとめられたデータは、システムインタ
フェース3→システムバス2→データ転送領域lへと転
送されるが、この時には32ビット幅のシステムバス2
の転送能力を100%活用しているから、システムバス
2の利用効率はよい。 また、従来例では4回の転送サイクルを要していたデー
タ(8ビツトX4=32ビア))を送るのに、1回の転
送サイクルで済む(32ビツト×1=32ビツト)から
、システムバス2を占有している時間が短くなり、他の
処理を待たせる時間は従来より短くなる。 逆にデータ転送領域l→DMAデノ\イス8へと転送す
る際には、データを7ステムノ\ス2のビット幅の単位
で、即ち上側に従えば32ビット幅で、システムバス2
.システムインタフエース3を経由してパックアンパッ
ク部9へ転送する。従ってこの場合にも、データはシス
テムバス2の転送能力を100%活用しつつ、送られる
ことになる。 パックアンバック部9に送られて来たデータは、DMA
デバイス8のビット幅のデータに分けられ(Unpac
kされ)、レジスタ11に格納され、順次DMAデバイ
ス8へ送られる。その時のデバイスデータ用バスバッフ
ァ4−1における転送方向の指定等は、デバイスインタ
フェース7によって行われる。
Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 shows a data transfer device according to an embodiment of the present invention. The symbols correspond to those in FIG. 2, 4-1 is a device data bus buffer, 4-2 is a device access bus buffer, and 9 is a pack/unpack unit (Pack/Unpack unit).
10 is a register housing, and 11 is a register. The device data bus buffer 4-1 has the functions of the conventional device data bus buffer 4.
The device access path sofa 4-2 has an independent function of passing data, and the device access path sofa 4-2 has an independent function of passing access signals. Although these do not necessarily need to be independent, in the present invention, the pack-unpack unit 9 is provided on the data path, and control related to this is also added, making the control on the data path complicated. Therefore, in order to simplify control as much as possible, in this example, they are made independent. The operations of the parts designated by the same reference numerals as in the conventional example are substantially the same as in the conventional example, so a description thereof will be omitted, and only the different parts will be described below. The puncture unpacking section 9 is provided in the middle of the data transfer path, and when transferring data from the DMA device 8 to the data transfer area 1, it packs several pieces of data read from the DMA device 8. ), the bit width is the same as the bit width of the system bus 2, or a bit width that is a multiple of the bit width of the data and is closest to the bit width of the system bus 2. If the data of the DMA device 8 is 8 bits and the bit width of the system bus 2 is 32 bits, then the four pieces of data are combined into 32 bits of data. The dotted line dividing the register 11 into four units in FIG. 1 indicates that the register 11 is configured to accept four pieces of 8-bit data. Note that the designation of the transfer direction when data passes through the device data bus buffer 4-1 is performed by instructions from the device interface 7. The data grouped into 32 bits/7 bits is transferred from system interface 3 to system bus 2 to data transfer area l, but at this time, the 32 bit wide system bus 2
Since 100% of the transfer capacity of the system bus 2 is utilized, the system bus 2 is used efficiently. In addition, data that required four transfer cycles in the conventional example (8 bits 2 is occupied, and the time that other processes are made to wait is shorter than before. Conversely, when transferring data from data transfer area 1 to DMA device 8, data is transferred in units of bit width of 7 stem nodes 2, that is, 32 bits wide according to the upper part, and transferred to system bus 2.
.. It is transferred to the pack-unpack section 9 via the system interface 3. Therefore, in this case as well, data is sent while making full use of the transfer capacity of the system bus 2. The data sent to the pack unback section 9 is DMA
Divided into device 8 bit width data (Unpac
k), stored in the register 11, and sequentially sent to the DMA device 8. At that time, the device interface 7 specifies the transfer direction in the device data bus buffer 4-1.

【発明の効果】【Effect of the invention】

以上述べた如く、本発明のデータ転送装置では、DMA
デバイスからデータ転送領域へ転送する際には、DMA
デバイスから読み出したデータを幾つかまとめて、シス
テムバスのピノ扁と同じビット幅、ないしは該データの
ビット幅の倍数で且つシステムバスのビット幅に最も近
いビット幅のデータにし、システムバスを通過させるよ
うにし、また、それとは逆方向に転送する際には、シス
テムバスを通過した後、DMAデバイスのビット幅に分
けてDMAデバイスに送り込むようにした。 そのため、システムバスの利用効率が向上する。 また、システムバスを占有している時間が従来より短く
なるので、他の処理を待たせる時間が従来より短くなる
As described above, in the data transfer device of the present invention, the DMA
When transferring from the device to the data transfer area, DMA
Combine several pieces of data read from the device into data with the same bit width as the pinot width of the system bus, or a multiple of the bit width of the data and the closest bit width to the bit width of the system bus, and pass it through the system bus. In addition, when transferring in the opposite direction, after passing through the system bus, the data is divided into bit widths of the DMA device and sent to the DMA device. Therefore, the system bus usage efficiency is improved. Furthermore, since the time that the system bus is occupied is shorter than before, the time that other processing is made to wait is shorter than before.

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

第1図・・・本発明の実施例にかかわるデータ転送装置 第2図・・・従来のデータ転送装置 図において、lはデータ転送領域、2はシステムバス、
3はシステムインタフェース、4はデハイスバスバッフ
ァ、4−1はデバイスデータ用ハスハ、ファ、4−2は
デバイスアクセス用ハスノ・ノファ、5はデータ転送制
御部、6はアドレスカウンタ、7はデバイスインタフェ
ース、8はDMAデバイス、9はパックアンバック部、
10はレジスタバッファ、IIはレジスタである。 特許出願人   冨士ゼロックス株式会社代理人弁理士
  本 庄 冨 雄 第1rlA 第2図
FIG. 1: Data transfer device according to an embodiment of the present invention FIG. 2: In the diagram of a conventional data transfer device, 1 is a data transfer area, 2 is a system bus,
3 is a system interface, 4 is a high speed bus buffer, 4-1 is a device data hub, 4-2 is a device access hub, 5 is a data transfer control unit, 6 is an address counter, 7 is a device interface, 8 is a DMA device, 9 is a pack unback unit,
10 is a register buffer, and II is a register. Patent Applicant Fuji Xerox Co., Ltd. Representative Patent Attorney Tomio Honjo No. 1rlA Figure 2

Claims (1)

【特許請求の範囲】[Claims] データ転送領域とシステムバスのビット幅より小さいビ
ット幅を有するデータ転送要求デバイスとの間でシステ
ムバスを経由してデータ転送を行うデータ転送装置にお
いて、データ転送要求デバイスからデータ転送領域へ転
送する際には、データ転送要求デバイスのデータを幾つ
かまとめてシステムバスのビット幅と同じビット幅、な
いしは該データのビット幅の倍数で且つシステムバスの
ビット幅に最も近いビット幅のデータにし、逆にデータ
転送領域からデータ転送要求デバイスに転送する際には
、データ転送要求デバイスのビット幅に分けるパックア
ンパック部を具えたことを特徴とするデータ転送装置
In a data transfer device that transfers data via a system bus between a data transfer area and a data transfer requesting device having a bit width smaller than the bit width of the system bus, when transferring data from the data transfer requesting device to the data transfer area. To do this, combine several pieces of data from the data transfer requesting device into data with a bit width that is the same as the bit width of the system bus, or a bit width that is a multiple of the bit width of the data and is closest to the bit width of the system bus, and vice versa. A data transfer device comprising a pack-unpack unit that divides the data into bit widths of the data transfer requesting device when transferring data from the data transfer area to the data transfer requesting device.
JP32199190A 1990-11-26 1990-11-26 Data transfer device Pending JPH04190443A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32199190A JPH04190443A (en) 1990-11-26 1990-11-26 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32199190A JPH04190443A (en) 1990-11-26 1990-11-26 Data transfer device

Publications (1)

Publication Number Publication Date
JPH04190443A true JPH04190443A (en) 1992-07-08

Family

ID=18138707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32199190A Pending JPH04190443A (en) 1990-11-26 1990-11-26 Data transfer device

Country Status (1)

Country Link
JP (1) JPH04190443A (en)

Similar Documents

Publication Publication Date Title
JPH0463430B2 (en)
TW535054B (en) Multi-tiered memory bank having different data buffer sizes with a programmable bank select
JPH04190443A (en) Data transfer device
JPS61165170A (en) Bus controlling system
JPH07271654A (en) Controller
JP3151832B2 (en) DMA controller
JP3149436B2 (en) Microprocessor
JP3703958B2 (en) Information processing device
JPS6019816B2 (en) microprogram control adapter
JPH01224851A (en) Data processor
JPH113274A (en) Memory access control system
JPS63217460A (en) Buffer control circuit
JP2581144B2 (en) Bus control device
JPS63201810A (en) Time system for information processing system
JPH03184143A (en) Memory access system
JPH01154272A (en) Multiprocessor device
JPS61210464A (en) Data buffer device
JPH03214275A (en) Semiconductor integrated circuit
JPS6314231A (en) Data transfer device
JPS6180447A (en) Store control system of memory
JPS61120262A (en) Inter-memory intelligent dma controller
JPH04209059A (en) Semiconductor integrated circuit
JPS60129855A (en) Signal processor
JPH02249052A (en) Data transfer device
JPS6095667A (en) High speed access system in external address space