JPH02166547A - Information processor - Google Patents

Information processor

Info

Publication number
JPH02166547A
JPH02166547A JP32308688A JP32308688A JPH02166547A JP H02166547 A JPH02166547 A JP H02166547A JP 32308688 A JP32308688 A JP 32308688A JP 32308688 A JP32308688 A JP 32308688A JP H02166547 A JPH02166547 A JP H02166547A
Authority
JP
Japan
Prior art keywords
data
bytes
transfer
address space
data 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
JP32308688A
Other languages
Japanese (ja)
Inventor
Yoshihiro Hagiwara
萩原 佳博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP32308688A priority Critical patent/JPH02166547A/en
Publication of JPH02166547A publication Critical patent/JPH02166547A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To improve the DMA (direct memory access) data transfer ability by preparing a data bus of a data transfer unit of N times as much as the transfer unit M of a CPU and a function which changes the address of an address space secured in a main storage. CONSTITUTION:At DMA transfer of data performed by a buffer memory 3, 4 or 5, an address space changing function is used to perform the transfer of data to two banks every 4 bytes. In other words, a data bus 12 has the data transfer width of 4 bytes double as much as 2 bytes, i.e., the data trasnfer unit of a CPU 1. Furthermore a function is added to apparently change a certain address space into another one. Thus the bus occupying time required for the DMA data transfer can be reduced down to 1/2 (=2 bytes/4 bytes) compared with the conventional value.

Description

【発明の詳細な説明】 玖五且ヱ 本発明は情報処理装置に関し、特にDMA (旧rec
t Henory Access)転送を行うことがで
きるチャネルを有する情報処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing device, and particularly to a DMA (formerly rec
The present invention relates to an information processing apparatus having a channel capable of performing tHenory Access) transfer.

疋土及韮 従来、この種の情報処理装置においては、中央処理装置
のデータ転送単位とDMAでのデータ転送単位とが同−
若しくはDMAでのデータ転送単位の方が中央処理装置
のデータ転送単位より小さくなっていた。
Conventionally, in this type of information processing device, the data transfer unit of the central processing unit and the data transfer unit of DMA are the same.
Alternatively, the data transfer unit in DMA was smaller than the data transfer unit in the central processing unit.

したがって、最大のデータ転送単位は中央処理装置のデ
ータ転送単位であるため、複数の入出力装置及びチャネ
ルを含んで構成されている場合において、多量のデータ
を連続して転送する際にはデータ転送能力を上げること
ができなかった。そのため、入出力装置のデータ転送能
力を十分に発揮できなくなるだけでなく、入出力装置の
バス占有時間が増大し、中央処理装置の処理能力が低下
するという欠点があった。
Therefore, the largest data transfer unit is that of the central processing unit, so when a configuration includes multiple input/output devices and channels, data transfer is required when continuously transferring a large amount of data. I couldn't improve my abilities. As a result, not only the data transfer capability of the input/output device cannot be fully utilized, but also the bus occupancy time of the input/output device increases, resulting in a decrease in the processing capability of the central processing unit.

九五百1週 本発明の目的は、多量のデータを連続して転送する際の
DMAによるデータ転送能力を向上させることができる
情報処理装置を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide an information processing apparatus that can improve data transfer capability using DMA when continuously transferring a large amount of data.

111口1戊 本発明による情報処理装置は、主記憶装置と、M(M>
0)バイト単位で前記主記憶装置に対してデータ転送を
行う中央処理装置と、前記主記憶装置に対してデータ転
送を行うチャネルと、前記中央処理装置から前記主記憶
装置へのデータ転送時、前記主記憶装置のMバイトの所
定アドレス空間に対してアクセスを行い、前記チャネル
から前記主記憶装置へのデータ転送時、前記主記憶装置
の前記所定アドレス空間のN(N>1>倍のアドレス空
間に対してアクセスを行うアクセス制御手段とを有する
ことを特徴とする。
111 Ports 1 An information processing device according to the present invention includes a main memory and M (M>
0) a central processing unit that transfers data to the main storage device in byte units; a channel that transfers data to the main storage device; and when transferring data from the central processing unit to the main storage device; A predetermined address space of M bytes of the main memory is accessed, and when data is transferred from the channel to the main memory, an address of N (N>1> times the predetermined address space of the main memory) is accessed. The present invention is characterized by comprising an access control means for accessing the space.

監1透 以下、図面を用いて本発明の詳細な説明する。Supervisor 1 Tooru Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明による情報処理装置の一実施例の構成を
示すブロック図である0図において、本発明の一実施例
による情報処理装置は中央処理装置(CPU)1と、入
出力装置(Ilo)6.7及び8と、バッファ記憶(チ
ャネル)3.4及び5と、主記憶装置2とを含んで構成
されており、これらはデータバス12を介して夫々接続
されている。
FIG. 1 is a block diagram showing the configuration of an embodiment of an information processing apparatus according to the present invention. In FIG. Ilo) 6.7 and 8, buffer memories (channels) 3.4 and 5, and a main memory 2, which are connected to each other via a data bus 12.

本実施例においては中央処理装置1のデータ転送単位は
2 [Bytel入出力装置6,7及び8のデータ転送
単位は1 [Bytelである。また、入出力装置6.
7及び8からのデータはバッファ記憶3゜4及び5によ
って4 [Bytelのデータ転送単位に変換されてデ
ータバス12に送出される。なお、データバス12のデ
ータ転送単位は4 [Bytelである。
In this embodiment, the data transfer unit of the central processing unit 1 is 2 Bytel, and the data transfer unit of the input/output devices 6, 7, and 8 is 1 Bytel. In addition, the input/output device 6.
The data from 7 and 8 is converted into a data transfer unit of 4 bytes by buffer memories 3, 4 and 5, and sent to the data bus 12. Note that the data transfer unit of the data bus 12 is 4 [Bytel].

主記憶袋rI12は記憶領域9及び10と、アドレス制
御部11とを含んで構成されている。アドレス制御部1
1はDMA転送時に記憶領域10のアドレス空間を変更
し、記憶領域9と同一のアドレス空間にする機能を有す
るものである。また、データバス13は2 [Byte
lの幅を持ち、データバス12の4 [Bytelのう
ちの中央処理装置1が使用しない(つまり、残り) 2
 [Bytelと接続されている。つまり、データバス
14と15とが接続されていることになる。
The main memory bag rI12 includes storage areas 9 and 10 and an address control section 11. Address control section 1
1 has a function of changing the address space of the storage area 10 during DMA transfer to make it the same address space as the storage area 9. Furthermore, the data bus 13 has 2 [Byte
The data bus 12 has a width of 4 [Bytel, which is not used by the central processing unit 1 (that is, the remainder) 2
[Connected to Bytel.] In other words, data buses 14 and 15 are connected.

この主記憶装置2の記憶領域9及び10によるアドレス
空間は第2図に示されているように00000 [H]
からFFFFF  [H]までがバンク0〜Fに分割さ
れて構成されているものとする。そして、それらバンク
0〜Fは交互に記憶領域9及び10に対して割当てられ
ているものとする。したがって、記憶領域9には0.2
.4.・・・・・・の各バンク、記憶領域10には1.
3.5・・・・・・の各バンクが割当てられていること
になる。
The address space of the storage areas 9 and 10 of the main storage device 2 is 00000 [H] as shown in FIG.
It is assumed that the data from FFFFF [H] is divided into banks 0 to F. It is assumed that banks 0 to F are alternately allocated to storage areas 9 and 10. Therefore, storage area 9 has 0.2
.. 4. Each bank and storage area 10 has 1.
This means that each bank of 3.5... is allocated.

また、記憶領域10の各バンクに対してはアドレス空間
を変更する機能が設けられている。その機能について、
第3図を用いて説明する。第3図はアドレス空間を変更
する機能の構成を示すブロック図である6図において、
31はアドレス指定レジスタ、32はデコーダ、33は
ある1つのバンクである。記憶領域10内の他のバンク
についても同等の構成となっている。
Further, each bank of the storage area 10 is provided with a function to change the address space. Regarding its function,
This will be explained using FIG. FIG. 3 is a block diagram showing the configuration of the function for changing the address space. In FIG. 6,
31 is an addressing register, 32 is a decoder, and 33 is one bank. Other banks within the storage area 10 also have the same configuration.

アドレス指定レジスタ31は予め転送対象となるアドレ
ス空間を指定するためのアドレス信号となるデータが格
納されるものである。そして、このアドレス指定レジス
タ31からの出力信号Bはデコーダ32において本来の
アドレス信号Aと比較され、その結果が一致を示したと
きにのみ対応するバンクへのイネーブル信号320がア
クティブになり、当該バンク33の全アドレス空間のデ
ータ転送が行われるのである。
The address designation register 31 stores in advance data serving as an address signal for designating an address space to be transferred. Then, the output signal B from this address designation register 31 is compared with the original address signal A in the decoder 32, and only when the result shows a match, the enable signal 320 for the corresponding bank becomes active, and the enable signal 320 for the corresponding bank becomes active. Data transfer for all 33 address spaces is performed.

つまり、このアドレス指定レジスタ31には中央処理装
置1からの転送時にはそのバンクへの本来のアドレス信
号となるデータが格納され、バッファ記憶3.4及び5
からのDMA転送時には変更後のバンクのアドレス信号
となるデータが格納されるのである。
In other words, this address designation register 31 stores data that becomes the original address signal for that bank during transfer from the central processing unit 1, and buffer memories 3.4 and 5
At the time of DMA transfer from , data that becomes the changed bank address signal is stored.

第1図に戻り、かかる構成とされた本実施例の情報処理
装置の動作について説明する。
Returning to FIG. 1, the operation of the information processing apparatus of this embodiment having such a configuration will be described.

まず、中央処理袋?I!1からの通常の転送時において
は、アドレス指定レジスタ31に本来のアドレス信号と
なるデータが格納される。したがって、中央処理装置1
からのアドレス信号に応じて転送の対象となるバンクに
対して2 [Byte]単位のデ−タ転送が行われるこ
とになる。
First, central processing bags? I! At the time of normal transfer from 1, data that becomes the original address signal is stored in the address designation register 31. Therefore, central processing unit 1
Data transfer in units of 2 [Byte] is performed to the bank to be transferred in accordance with the address signal from.

一方、バッファ記憶3.4又は5からのDMA転送時に
おいては、上述したアドレス空間を変更する機能を用い
、2つのバンクに対して4 [Byte]単位のデータ
転送が行われることになる。この場合、例えば、第2図
中のバンク8のアドレス空間をバンク7のアドレス空間
に変更する場合には、バンク8に対して設けられている
アドレス指定レジスタ31にバンク7のアドレス信号と
なるデータを格納すれば良い、これにより、バンク8に
はみかけ上、バンク7と同じアドレスが割当てられたこ
とになる。したがって、バンク7に対するアクセスは連
続した隣のバンク8に対しても同時に行われることにな
る。
On the other hand, at the time of DMA transfer from buffer storage 3.4 or 5, the above-mentioned address space changing function is used to transfer data in units of 4 [Byte] to two banks. In this case, for example, when changing the address space of bank 8 in FIG. As a result, bank 8 is apparently assigned the same address as bank 7. Therefore, access to bank 7 is also performed simultaneously to successive adjacent bank 8.

つまり、本実施例では、中央処理装置1のデータ転送単
位である2 [Bytelの2倍の4 [Bytelの
データ転送幅のデータバス12を設け、さらにあるアド
レス空間をみかけ1他のアドレス空間に変更する機能を
設けたことにより、DMA転送時のバス占有時間を従来
の1/2 (=2 [Bytel /4 [Bytel
 )とすることができるのである。
In other words, in this embodiment, a data bus 12 is provided with a data transfer width of 2 Bytes, which is the data transfer unit of the central processing unit 1, and 4 Bytes, which is twice the data transfer width of the central processing unit 1. By providing a function to change the bus occupancy time during DMA transfer, the bus occupancy time during DMA transfer is reduced to 1/2 (=2 [Bytel/4 [Bytel
) can be done.

なお、本実施例においては記憶領域9内の各バンクに対
してのみアドレス空間を変更する機能を設けた場合につ
いて説明したが、主記憶装置2内の全バンク(つまり、
記憶領域9及び10)に対してその機能を設けても良い
ことは明らかである。
In this embodiment, a case has been described in which the function of changing the address space is provided only for each bank in the storage area 9, but all banks in the main storage device 2 (i.e.,
It is clear that the storage areas 9 and 10) may be provided with this function.

その場合には、アドレス指定レジスタを書換えることに
よりアドレス空間をより自由に変更できることになる。
In that case, the address space can be changed more freely by rewriting the address designation register.

また、本実施例においては2つの連続するバンク(例え
ば、バンク7と8)に対して同時にアクセスする場合に
ついて説明したが、連続しないバンク(例えば、バンク
7とA)に対してもアドレス指定レジスタを書換えるこ
とにより、同時にアクセスすることができることも明ら
かである。
Furthermore, in this embodiment, the case where two consecutive banks (for example, banks 7 and 8) are accessed simultaneously is explained, but the addressing registers can also be used for non-consecutive banks (for example, banks 7 and A). It is also clear that simultaneous access is possible by rewriting .

さらにまた、本実施例においては中央処理装置で扱うデ
ータ転送単位が2 [Bytel 、DMA転送による
データ転送単位が4 [Bytelの場合について説明
したが、他の場合についても同様にバス占有時間を短く
することができることは明らかである0例えば、中央処
理装!で扱うデータ転送単位が4 [Bytel 、D
MA転送によるデータ転送単位が5 [Bytelとす
れば5/4=1.25 (=N)倍となり、やはりバス
占有時間を短くすることができる。ただし、N>1でな
ければバス占有時間を短くすることができない。
Furthermore, in this embodiment, the data transfer unit handled by the central processing unit is 2 Bytes, and the data transfer unit by DMA transfer is 4 Bytes. It is clear that it can be 0, for example, a central processing unit! The data transfer unit handled by 4 [Bytel, D
If the data transfer unit by MA transfer is 5 bytes, it becomes 5/4=1.25 (=N) times, and the bus occupation time can also be shortened. However, if N>1, the bus occupation time cannot be shortened.

九匪座羞1 以上説明したように本発明は、中央処理装置のデータ転
送単位MのN倍のデータ転送単位のデータバス及び主記
憶装置内のアドレス空間のアドレスを変更する機能を設
けることにより、DMA転送時には通常時のN倍の転送
が可能となり、データバスの占有時間を短くすることが
できるとともにDMA転送によるデータ転送能力を向上
させることができるという効果がある。
As explained above, the present invention provides a function to change the address of the data bus and the address space in the main memory in a data transfer unit that is N times the data transfer unit M of the central processing unit. During DMA transfer, N times the normal transfer is possible, which has the effect of shortening the data bus occupation time and improving the data transfer capability by DMA transfer.

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

第1図は本発明の実施例による情報処理装置の構成を示
すブロック図、第2図は主記憶装置のアドレス空間を示
す概念図、第3図はアドレス制御部11内に設けられた
アドレス空間を変更する機能の構成を示すブロック図で
ある。 主要部分の符号の説明 1・・・・・・中央処理装置 2・・・・・・主記憶装置 3.4.5・・・・・・バッファ記憶 6.7.8・・・・・・入出力装置 12・・・・・・データバス
FIG. 1 is a block diagram showing the configuration of an information processing device according to an embodiment of the present invention, FIG. 2 is a conceptual diagram showing the address space of the main storage device, and FIG. 3 is an address space provided in the address control unit 11. FIG. Explanation of symbols of main parts 1...Central processing unit 2...Main memory 3.4.5...Buffer storage 6.7.8... Input/output device 12...Data bus

Claims (1)

【特許請求の範囲】[Claims] (1)主記憶装置と、M(M>0)バイト単位で前記主
記憶装置に対してデータ転送を行う中央処理装置と、前
記主記憶装置に対してデータ転送を行うチャネルと、前
記中央処理装置から前記主記憶装置へのデータ転送時、
前記主記憶装置のMバイトの所定アドレス空間に対して
アクセスを行い、前記チャネルから前記主記憶装置への
データ転送時、前記主記憶装置の前記所定アドレス空間
のN(N>1)倍のアドレス空間に対してアクセスを行
うアクセス制御手段とを有することを特徴とする情報処
理装置。
(1) A main storage device, a central processing unit that transfers data to the main storage device in units of M (M>0) bytes, a channel that transfers data to the main storage device, and the central processing unit. When transferring data from the device to the main storage device,
When accessing a predetermined M-byte address space of the main memory, and transferring data from the channel to the main memory, an address that is N (N>1) times the predetermined address space of the main memory. An information processing device comprising: access control means for accessing a space.
JP32308688A 1988-12-21 1988-12-21 Information processor Pending JPH02166547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32308688A JPH02166547A (en) 1988-12-21 1988-12-21 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32308688A JPH02166547A (en) 1988-12-21 1988-12-21 Information processor

Publications (1)

Publication Number Publication Date
JPH02166547A true JPH02166547A (en) 1990-06-27

Family

ID=18150920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32308688A Pending JPH02166547A (en) 1988-12-21 1988-12-21 Information processor

Country Status (1)

Country Link
JP (1) JPH02166547A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716392B2 (en) 2004-07-14 2010-05-11 Oki Semiconductor Co., Ltd. Computer system having an I/O module directly connected to a main storage for DMA transfer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716392B2 (en) 2004-07-14 2010-05-11 Oki Semiconductor Co., Ltd. Computer system having an I/O module directly connected to a main storage for DMA transfer

Similar Documents

Publication Publication Date Title
JPH02166547A (en) Information processor
JP2699482B2 (en) Data transfer control device
JP2687679B2 (en) Program development equipment
JP2547256B2 (en) DMA device
JPS58218091A (en) Data transfer system
JPH0926780A (en) Display control circuit
JPS63245743A (en) Memory access system
JP2590695B2 (en) Time division switch circuit
JPS61198351A (en) Direct memory access control circuit
JPS6383854A (en) Data transfer circuit
JPH10275113A (en) Storage device
JPH0651751A (en) Image display device
JPH04160458A (en) DMA controller peripheral circuit
JPS6336021B2 (en)
JPH01233515A (en) information processing equipment
JPS63153655A (en) Memory access control system
JPH05197620A (en) Address space expansion method
JPH06131519A (en) IC card
JPH06337847A (en) Multiprocessor equipment
JPS60140421A (en) Output control device
JPH01305769A (en) Picture reducing device
JPS60142756A (en) Time division multiplex memory bank control system
JPH01123285A (en) Screen display device
JP2001291101A (en) Image processing device
JPH0769885B2 (en) Data transfer device