JPH0567037A - Dma transferring device - Google Patents
Dma transferring deviceInfo
- Publication number
- JPH0567037A JPH0567037A JP3227599A JP22759991A JPH0567037A JP H0567037 A JPH0567037 A JP H0567037A JP 3227599 A JP3227599 A JP 3227599A JP 22759991 A JP22759991 A JP 22759991A JP H0567037 A JPH0567037 A JP H0567037A
- Authority
- JP
- Japan
- Prior art keywords
- data
- signal
- memory
- read
- dmac
- 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
Links
Landscapes
- Bus Control (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は情報処理装置における入
出力装置のダイレクト・メモリ・アクセス装置(以下D
MACという)に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a direct memory access device (hereinafter referred to as D) of an input / output device in an information processing device.
MAC).
【0002】[0002]
【従来の技術】DMACは、磁気ディスク装置,通信装
置,ディスプレイ装置などの入出力装置が共通データ転
送経路(以下システムバスという)に接続された時に、
転送速度を上げるために入出力装置と主記憶装置(以下
メモリという)との間のデータ転送を中央処理装置(以
下CPUという)に代って高速に行なうための装置であ
る。2. Description of the Related Art A DMAC is used when an input / output device such as a magnetic disk device, a communication device or a display device is connected to a common data transfer path (hereinafter referred to as a system bus).
This is a device for performing high-speed data transfer between an input / output device and a main storage device (hereinafter referred to as a memory) instead of a central processing unit (hereinafter referred to as a CPU) in order to increase the transfer speed.
【0003】DMACは、CPUがリードサイルとライ
トサイクルを交互に行なうことによりデータ転送を行な
うのに対し、リードサイクルとライトサイクルを一緒に
行なうフライバイ転送方式を使うことができ、これによ
り転送速度をCPUの2倍程度に上げることができる。In the DMAC, while the CPU transfers data by alternately performing a read cycle and a write cycle, a fly-by transfer method in which a read cycle and a write cycle are carried out at the same time can be used. Can be doubled.
【0004】[0004]
【発明が解決しようとする課題】しかし、上述したフラ
イバイ転送方式は、入出力装置のデータ端子のシステム
バス上の位置によりメモリにリードライトできるアドレ
スが決まってしまう。例えば、入出力装置のデータ端子
の幅が8ビット(ID7−0)で、システムバスのデー
タ幅が16ビット(SD15−0)であり、ID7−0
がSD7−0に接続されいるような場合、フライバイ転
送で入出力装置から読出されたデータはメモリの偶数番
地には書込めるが、奇数番地には書込めないという様な
問題点がある。However, in the fly-by transfer method described above, the address at which data can be read and written to the memory is determined by the position of the data terminal of the input / output device on the system bus. For example, the width of the data terminal of the input / output device is 8 bits (ID7-0), the data width of the system bus is 16 bits (SD15-0), and ID7-0.
If the data is connected to SD7-0, the data read from the input / output device by fly-by transfer can be written in even addresses of the memory, but cannot be written in odd addresses.
【0005】本発明の目的は、フライバイ転送において
システムバス幅が16ビット以上のとき、入出力装置か
らリードライトしたデータがメモリ上の任意の番地にリ
ード・ライト出来るようにしたDMA転送装置を提供す
ることにある。An object of the present invention is to provide a DMA transfer device capable of reading / writing data read / written from an input / output device to an arbitrary address on a memory when the system bus width is 16 bits or more in fly-by transfer. To do.
【0006】[0006]
【課題を解決するための手段】本発明のDMA転送装置
の構成は、バス幅,アドレス信号に従って入力データを
8の倍数ビット単位(8,16,32ビット…)でシフ
トあるいはローテートできるアライナと;入出力装置お
よびメモリに対してリード,ライト信号を出力する回路
と;DMA転送開始時に前記リード信号,ライト信号を
アクティブにし次にこれら信号をインアクティブにする
場合に前記リード信号を先にインアクティブにし、この
リード信号がインアクティブで前記ライト信号がアクテ
ィブである間に前記アライナにより任意のバイト位置に
アラインしたデータを出力して前記メモリあるいは前記
入出力装置に書込む制御回路とを備えることを特徴とす
る。A DMA transfer device according to the present invention comprises an aligner capable of shifting or rotating input data in units of multiples of 8 bits (8, 16, 32 bits ...) According to a bus width and an address signal. A circuit for outputting a read / write signal to the input / output device and the memory; when the DMA transfer is started, the read signal and the write signal are made active, and when these signals are made inactive, the read signal is made inactive first And a control circuit for outputting data aligned to an arbitrary byte position by the aligner and writing the data in the memory or the input / output device while the read signal is inactive and the write signal is active. Characterize.
【0007】[0007]
【実施例】図1は本発明の一実施例を説明するブロック
図である。この実施例では、情報処理装置はCPU1
1,メモリ12,DMAC14入出力装置15およびア
ライン機構13から構成され、これらの構成要素は、シ
ステムバス(データバス19,アドレスバス20)を通
して相互に接続される。1 is a block diagram for explaining an embodiment of the present invention. In this embodiment, the information processing device is the CPU 1
1, a memory 12, a DMAC 14, an input / output device 15, and an aligning mechanism 13, and these components are mutually connected through a system bus (data bus 19, address bus 20).
【0008】ここでは、入出力装置15からデータを読
出し、メモリ12へデータを書込む場合を例に説明す
る。また、入出力装置15のデータ幅を16ビット、シ
ステムバスのデータ幅を32ビットとする。Here, a case where data is read from the input / output device 15 and written in the memory 12 will be described as an example. The data width of the input / output device 15 is 16 bits, and the data width of the system bus is 32 bits.
【0009】図2は図1内のアライン機構13の内部構
成を示すブロック図であり、レジスタ21,アライナ2
2,出力バッファ23および制御回路24から構成され
る。また、図3は本実施例を説明するタイミング図であ
る。FIG. 2 is a block diagram showing the internal structure of the aligning mechanism 13 shown in FIG. 1. The register 21 and the aligner 2 are shown in FIG.
2, composed of an output buffer 23 and a control circuit 24. Further, FIG. 3 is a timing chart for explaining the present embodiment.
【0010】本実施例において、入出力装置15からメ
モリ12へDMAC14を用いてフライバイ転送方式で
データ転送を行なうと、DMAC14はシステムバス
(A31−0)にメモリアドレスを出力し、入出力装置
15にDMA転送許可信号DACK17を送り、リード
バスサイクルを開始し、リード信号IORの反転信号1
8をアクティブにしてデータ読出しを開始する。また、
メモリにい対してライト信号MWの反転信号16を出力
する。入出力装置15はDACK信号,IOR反転信号
18がアクティブになるのに対応してリードデータをシ
ステムバスのデータ(D31−0)の一部D15−0に
出力する。In this embodiment, when data is transferred from the input / output device 15 to the memory 12 using the DMAC 14 by the fly-by transfer method, the DMAC 14 outputs a memory address to the system bus (A31-0) and the input / output device 15 The DMA transfer permission signal DACK17 is sent to start the read bus cycle, and the inverted signal 1 of the read signal IOR
8 is activated and data reading is started. Also,
The inverted signal 16 of the write signal MW is output to the memory. The input / output device 15 outputs the read data to a part D15-0 of the data (D31-0) of the system bus in response to the activation of the DACK signal and the IOR inversion signal 18.
【0011】DMACのアライン機構13は、システム
バスのデータ(D15−0)に出力されたデータをレジ
スタ21に記憶し、DMAC14からアドレス(A1−
0),バス幅の情報を得てアライナ22を制御するシフ
ト数を決定する。これらアドレス(A1−0),バス幅
とアライナ制御の関係は表1のように示される。The DMAC alignment mechanism 13 stores the data output as the system bus data (D15-0) in the register 21, and the DMAC 14 sends the address (A1-
0), the number of shifts for controlling the aligner 22 is determined by obtaining the bus width information. The relationship between these addresses (A1-0), bus width and aligner control is shown in Table 1.
【0012】[0012]
【表1】 [Table 1]
【0013】次に、DMAC14はIOR反転信号18
をインアクティブにしてMW反転信号16をアクティブ
のままとし、入出力装置15からのデータの読出しを終
了し、アライナ機構13は、アライナ22と制御回路2
4とにより、入出力装置15から読出されたデータを任
意の番地にアラインし、出力バッファ23をアクティブ
にしてシステムバスのデータ(D31−0)に出力す
る。Next, the DMAC 14 outputs the IOR inversion signal 18
Is made inactive, the MW inversion signal 16 is kept active, the reading of data from the input / output device 15 is completed, and the aligner mechanism 13 causes the aligner 22 and the control circuit 2 to operate.
4, the data read from the input / output device 15 is aligned with an arbitrary address, the output buffer 23 is activated, and the data (D31-0) of the system bus is output.
【0014】図3に示すようにDMA転送許可信号DA
CK17の反転信号がアクティブの間入出力装置15か
らデータ31を読出し、その反転信号がインアクティブ
でライト信号MWの反転信号16がアクティブの間アラ
イン機構13が任意番地にアラインしたデータ32をデ
ータ出力端子に出力する。As shown in FIG. 3, the DMA transfer permission signal DA
While the inversion signal of CK17 is active, the data 31 is read from the input / output device 15, and while the inversion signal is inactive and the inversion signal 16 of the write signal MW is active, the alignment mechanism 13 outputs the data 32 aligned at an arbitrary address. Output to the terminal.
【0015】この様にしてフライバイ転送方式と同様に
高速にデータを転送でき、かつメモリの任意の番地に転
送できるDMA転送装置を実現できる。In this way, it is possible to realize a DMA transfer device which can transfer data at high speed similarly to the fly-by transfer system and can transfer the data to any address of the memory.
【0016】[0016]
【発明の効果】以上説明したように本発明は、フライバ
イ転送方式においてリード信号よりライト信号を長く
し、リード信号がインアクティブ,ライト信号がアクテ
ィブのときに任意番地にアラインしたデータを出力して
メモリに書込むことにより、メモリの任意の番地に転送
できるという効果がある。As described above, the present invention makes the write signal longer than the read signal in the fly-by transfer system, and outputs the data aligned at an arbitrary address when the read signal is inactive and the write signal is active. Writing to the memory has an effect that it can be transferred to an arbitrary address in the memory.
【図1】本発明の一実施例における情報処理装置のブロ
ック図。FIG. 1 is a block diagram of an information processing apparatus according to an embodiment of the present invention.
【図2】図1の実施例におけるアライナ機構13のブロ
ック図。FIG. 2 is a block diagram of an aligner mechanism 13 in the embodiment of FIG.
【図3】図1の実施例における動作タイミング図。3 is an operation timing chart in the embodiment of FIG.
11 CPU 12 メモリ(MEM) 13 アライン機構 14 DMAC 15 入出力装置(I/O) 16 ライト反転信号 17 DMA転送許可信号(DACK) 18 リード信号(IOR) 19 データバス 20 アドレスバス 21 レジスタ 22 アライナ 23 出力バッファ 24 制御回路 11 CPU 12 Memory (MEM) 13 Alignment Mechanism 14 DMAC 15 Input / Output Device (I / O) 16 Write Inversion Signal 17 DMA Transfer Permission Signal (DACK) 18 Read Signal (IOR) 19 Data Bus 20 Address Bus 21 Register 22 Aligner 23 Output buffer 24 Control circuit
Claims (1)
タを8の倍数ビット単位(8,16,32ビット…)で
シフトあるいはローテートできるアライナと;入出力装
置およびメモリに対してリード,ライト信号を出力する
回路と;DMA転送開始時に前記リード信号,ライト信
号をアクティブにし次にこれら信号をインアクティブに
する場合に前記リード信号を先にインアクティブにし、
このリード信号がインアクティブで前記ライト信号がア
クティブである間に前記アライナにより任意のバイト位
置にアラインしたデータを出力して前記メモリあるいは
前記入出力装置に書込む制御回路とを備えることを特徴
とするDMA転送装置。1. An aligner capable of shifting or rotating input data in units of multiples of 8 bits (8, 16, 32 bits ...) According to a bus width and an address signal; and outputting read and write signals to an input / output device and a memory. A circuit for making the read signal and the write signal active at the start of the DMA transfer and then making the read signal inactive first when making these signals inactive,
A control circuit for outputting data aligned to an arbitrary byte position by the aligner and writing the data in the memory or the input / output device while the read signal is inactive and the write signal is active. DMA transfer device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3227599A JPH0567037A (en) | 1991-09-09 | 1991-09-09 | Dma transferring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3227599A JPH0567037A (en) | 1991-09-09 | 1991-09-09 | Dma transferring device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0567037A true JPH0567037A (en) | 1993-03-19 |
Family
ID=16863460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3227599A Pending JPH0567037A (en) | 1991-09-09 | 1991-09-09 | Dma transferring device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0567037A (en) |
-
1991
- 1991-09-09 JP JP3227599A patent/JPH0567037A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20010013743A (en) | Method and system for storing and processing multiple memory addresses | |
JPH0567037A (en) | Dma transferring device | |
JPS61138330A (en) | Buffer circuit | |
JPH03177953A (en) | Data transfer system | |
TW394887B (en) | ATAPI interface control circuit and DVD player for this interfere control circuit | |
JP2642087B2 (en) | Data transfer processing mechanism between main storage devices | |
JPS6361351A (en) | Data transfer method | |
JP2821176B2 (en) | Information processing device | |
JP3028998B2 (en) | DMA transfer circuit | |
JPH047657A (en) | Inter-memory data transfer system | |
JPS5936389A (en) | Storage device | |
JPH03144842A (en) | Data transfer controller | |
JPS59114660A (en) | Field selecting and reading system | |
JPS61214047A (en) | Memory data transfer circuit | |
JPH01251152A (en) | Data processor | |
JPH05113954A (en) | Data transfer method for time division multiplexer | |
JPH01195563A (en) | Bus controller | |
JPH07271517A (en) | Information processor | |
JPS63228359A (en) | Data transfer control system | |
JPH05232925A (en) | System for processing character or the like | |
JPH01158554A (en) | Data processing system providing dma device | |
JPH039453A (en) | Data transfer controller | |
JPH07281997A (en) | Data transfer system | |
JPH0652039A (en) | Data transfer system | |
JPH01250163A (en) | Bus controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Effective date: 20060209 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
A131 | Notification of reasons for refusal |
Effective date: 20090317 Free format text: JAPANESE INTERMEDIATE CODE: A131 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090714 |