JPS60215270A - Access system of direct memory - Google Patents
Access system of direct memoryInfo
- Publication number
- JPS60215270A JPS60215270A JP7148084A JP7148084A JPS60215270A JP S60215270 A JPS60215270 A JP S60215270A JP 7148084 A JP7148084 A JP 7148084A JP 7148084 A JP7148084 A JP 7148084A JP S60215270 A JPS60215270 A JP S60215270A
- Authority
- JP
- Japan
- Prior art keywords
- signal line
- dma
- cpu
- data bus
- ram
- 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
- 238000000034 method Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 4
- 238000010276 construction Methods 0.000 description 2
- 102100031584 Cell division cycle-associated 7-like protein Human genes 0.000 description 1
- 101000777638 Homo sapiens Cell division cycle-associated 7-like protein Proteins 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/28—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bus Control (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、コンピュータシステムのメモリからデータを
読出して外部装置に転送したシ、ある鱒は外部装置のデ
ータをコンピュータシステムのメモリに転送する方式に
おいて、転送時間を短かくするためのダイレクトメモリ
アクセス方式に関する。Detailed Description of the Invention (Industrial Application Field) The present invention relates to a method for reading data from a computer system's memory and transferring it to an external device. relates to a direct memory access method for shortening transfer time.
(従来技術)
従来の第1図に示すようなダイレクトメモリアクセス方
式においては、外部装置、すなわちボートとコンピュー
タシステムのメモリとの間のデータ転送は、ボートとア
キュームレータとの間の転送、ならびにアキュームレー
タとRAMとの間の転送と―う2つの操作によシ行われ
ていた。第1図にお埴て、101はCPU、102はR
OM。(Prior Art) In the conventional direct memory access method as shown in FIG. This was accomplished through two operations: transfer to and from RAM. In Figure 1, 101 is the CPU, 102 is the R
OM.
103はRAM、104はアキュームレータ、。103 is a RAM, 104 is an accumulator.
105はバッファ、106は外部装置を成すボート、1
07はボート106とアキュームレータ104との間の
転送路、108はアキュームレータ104とRAM10
3との間の転送路、10BはDMA転送路、11Gはデ
ータバス、111ははコンピュータシステムである。105 is a buffer, 106 is a boat forming an external device, 1
07 is a transfer path between the boat 106 and the accumulator 104, 108 is the accumulator 104 and the RAM 10
3, 10B is a DMA transfer path, 11G is a data bus, and 111 is a computer system.
上記のようなモードの転送は速度が遅埴ため、ボート1
011とアキュームレータ104との間の転送の操作を
省略し、アキュームレータ104とRAM103との間
の転送のみKよシデータ転送を行う方式が、−わゆるダ
イレクトメモリアクセス方式、すなわちDMA方式でお
石。従来のDMA方式では、データバス110がボー)
108とRAM103との間のバスによシ占有されてし
まうので、CPU101はROM102で構成されたプ
ログラム記憶装置からプログラムコードを読出すことが
でもず、一時停止状態、す表わちホールド状態を余儀な
くされ為という問題があった。Transfer speed in the above mode is slow, so boat 1
The so-called direct memory access method, or DMA method, is a method in which the transfer operation between the 011 and the accumulator 104 is omitted, and data is transferred only between the accumulator 104 and the RAM 103. In the conventional DMA method, the data bus 110 is baud)
Since the bus between 108 and RAM 103 is occupied, the CPU 101 is unable to read the program code from the program storage device composed of ROM 102, and is forced into a temporary halt state, that is, a hold state. There was the problem of being abused.
どの事実は、一つのC!PUKよシ複数の処理を行う多
重処理方式を想定した場合には大きな欠点と外ってした
。Which fact is one C! When assuming a multi-processing method that performs multiple processes compared to PUK, this would be a major drawback.
(発明の目的)
本発明の目的は、アドレスバス、データ、′&らびにメ
モリ書込み信号をそれぞれの切替器を使用してDMA動
作できるように切替えて、DMAモード時のCPUのホ
ールド状態を避けることによシ上記欠点を除去し、多重
処理を必要とするシステムの効率を向上きせると共に1
システム構築上のネックを取除くように構成したダイレ
クトメモリアクセス方式を提供することにある。(Object of the Invention) The object of the present invention is to avoid the hold state of the CPU in DMA mode by switching the address bus, data, '&, and memory write signals using respective switchers to enable DMA operation. In particular, it eliminates the above-mentioned drawbacks, improves the efficiency of systems requiring multiple processing, and
The object of the present invention is to provide a direct memory access method configured to eliminate bottlenecks in system construction.
(発明の構成) 本発明によるメモリアクセス方式はRAMと。(Structure of the invention) The memory access method according to the present invention is RAM.
第1〜第8の切替器とを具備して構成することによシ実
現したものでおる。This is realized by comprising first to eighth switching devices.
RAMはCPUの制御に関連すゐと共に、ダイレクトメ
モリアクセスに使用するためのものである。RAM is used for direct memory access as well as for CPU control.
第1の切替器は、CPUからのアドレスバスか、あるい
はDMA制御器からのアドレスバスかを選択してRAM
にアドレス情報として与えるためのものである。The first switch selects the address bus from the CPU or the address bus from the DMA controller, and
This is for giving as address information to.
第2の切替器は、CPUからのデータバスか、めるりは
外部ポートからのデータバスかを選択してRAMにデー
タ情報として与えるためのものでおる。The second switch is for selecting either a data bus from the CPU or a data bus from an external port, and supplying the data to the RAM as data information.
第8の切替器けCPUからのメモリライト情報線か、あ
る鱒はDMA制御器からのメモリライト情報線かを選択
してRAMKメモリライト情報として与えるためのもの
である。This is to select either the memory write information line from the eighth switch CPU or the memory write information line from the DMA controller and provide it as RAMK memory write information.
(実施例)
次に、本発明によるダイレクトメモリアクセス方式を図
面により説明する。(Example) Next, a direct memory access method according to the present invention will be explained with reference to the drawings.
第2図は、本発明によるダイレクトメモリアクセス方式
を実現するための原理を示すブロック図である。第2図
において、201はRAM。FIG. 2 is a block diagram showing the principle for realizing the direct memory access method according to the present invention. In FIG. 2, 201 is a RAM.
202〜204は第1〜第8の切替器である。RAM2
01への入出力信号を通過させるアドレスバス信号線2
12.データバス信号線213.ならびに書込み制御入
力信号線214を介してRAM201と、それぞれの切
替器202〜204とが接続されて−る。第1の切替器
202はアドレスバス信号線208か、めるーは外部の
DMA制御器からのアドレスバス信号線2011かを選
択する。第2の切替器203はCPUへのデータバス信
号線206か、めるiはポーFとRAM201との間の
データバス信号線207かを選択する。202 to 204 are first to eighth switching devices. RAM2
Address bus signal line 2 that passes input/output signals to 01
12. Data bus signal line 213. Also, the RAM 201 and each of the switches 202 to 204 are connected via a write control input signal line 214. The first switch 202 selects either the address bus signal line 208 or the address bus signal line 2011 from the external DMA controller. The second switch 203 selects the data bus signal line 206 to the CPU, or the data bus signal line 207 between the port F and the RAM 201.
第8の切替器204はCPUからの書込み制御入力信号
線210か、ある−はDMA制御器からの制御入力信号
線211かを選択する。信号線205上のタイミングパ
ルスによって上記切替えは行われる。DMA動作時には
、CPUがホールド状態にならざるを得ないが、これは
RAM201のアドレスバス信号線212やデータバス
亭号線213がCPUのアドレスバス信号線やデータバ
ス信号線と共通罠なってかるためである。The eighth switch 204 selects either the write control input signal line 210 from the CPU or the control input signal line 211 from the DMA controller. The above switching is performed by a timing pulse on signal line 205. During DMA operation, the CPU is forced to enter a hold state, but this is because the address bus signal line 212 and data bus signal line 213 of the RAM 201 become common traps with the CPU's address bus signal line and data bus signal line. It is.
したがって、第2図に示すように第1の切替器202を
使ってCPUからのアドレス情報、あるいはDMA制御
部から出力されるDMA用のアドレス情報を、信号線2
05上のタイミングパルスCI F s ) K Jニ
ッチ時分割LテRAM201 K供給して―る。データ
およびRAMの書込みパルスも同様にして供給されてv
sbo 信号線205上のタイミングパルスは、ROM
より命令コードを読出してφることを示すインヌトラク
シ目ンブエツチ信号でもめる。Therefore, as shown in FIG. 2, the first switch 202 is used to transfer address information from the CPU or DMA address information output from the DMA control unit to the signal line 202.
05 timing pulse CI F s ) K J niche time division LTE RAM 201 K is supplied. The data and RAM write pulses are supplied in a similar manner to v
The timing pulse on the sbo signal line 205 is the ROM
It is also possible to use an internal search signal to indicate that the instruction code is to be read out and φ.
本発明によるダイレクトメモリアクセス方式を実現する
一実施例を第8図に示す。第8図において、301はC
PU、302はアキュームレータ、303はアドレスバ
ス信号線、304はROM。FIG. 8 shows an embodiment of the direct memory access method according to the present invention. In Figure 8, 301 is C
PU, 302 is an accumulator, 303 is an address bus signal line, and 304 is a ROM.
305はRAM、306はデータバス信号線、307〜
309は第1〜第8の切替器、$10はDMA制御器、
311はバッファ、312は外部装置、313は転送要
求信号線、314は制御信号線、315はインストラク
ションフェッチ信号線、31@はアドレス信号線、31
7はデータバス信号線、318はメモリ書込み信号であ
る。第8図は、外部装置から転送要求がめった場合の動
作を示すものである。外部DMA要求信号線313より
DMA制御器310に転送要求が送出されるとDMA制
御器310は制御信号8314を介して上記要求をCP
U301に通知する。これを受けたCPU301はデー
タバス信号線306を介してDMA制御器310にアド
レス情報を送出し、さらに制御信号線314を通してD
MA制御器310のトリガをかける。転送が終了すると
、制御信号線314を通してDMA制御器31Gは上記
転送の終了を通知する。このDMA転送はCPU301
か、SるいはROM304からプログラムを読込むイン
クトラクシ1ンフエツチサイクル期間に行われるため、
CPU301がホールドすることはなり50CPU30
1がプログラムを読込む期間には、信号線315ヘイン
ストラクシヨンフ工ツチ信号が出力される。これによっ
て、第1〜第8の切替器807〜3Q9はそれぞれDM
A制御器310からのアドレス信号線316、外部装置
からのデータバス信号線317゜ならびKDMA制御器
310からのメモリ書込み信号線318を選択するよう
に切替える。したがって、外部装置のデータはDMA制
御器310へのアドレスバス信号線316で指定された
番地に書込まれる。一方、同時にCPU301はデータ
バスfilli号1306t’AしてRAM104から
プログラムコードをアキュームジー夕302に読込み、
通常の動作を行う。305 is a RAM, 306 is a data bus signal line, 307~
309 is the first to eighth switch, $10 is the DMA controller,
311 is a buffer, 312 is an external device, 313 is a transfer request signal line, 314 is a control signal line, 315 is an instruction fetch signal line, 31@ is an address signal line, 31
7 is a data bus signal line, and 318 is a memory write signal. FIG. 8 shows the operation when a transfer request is rarely received from an external device. When a transfer request is sent to the DMA controller 310 from the external DMA request signal line 313, the DMA controller 310 transfers the request to the CP via the control signal 8314.
Notify U301. Upon receiving this, the CPU 301 sends the address information to the DMA controller 310 via the data bus signal line 306, and further sends the address information to the DMA controller 310 via the control signal line 314.
Trigger the MA controller 310. When the transfer ends, the DMA controller 31G notifies the end of the transfer through the control signal line 314. This DMA transfer is performed by the CPU 301
Or, because it is carried out during the index fetch cycle period when the program is read from the ROM 304,
CPU301 will no longer hold 50CPU30
During the period when No. 1 reads the program, an instruction signal is output from the signal line 315. As a result, the first to eighth switching devices 807 to 3Q9 are respectively DM
The address signal line 316 from the A controller 310, the data bus signal line 317° from the external device, and the memory write signal line 318 from the KDMA controller 310 are switched to be selected. Therefore, data from the external device is written to the address specified by address bus signal line 316 to DMA controller 310. On the other hand, at the same time, the CPU 301 uses the data bus 1306t'A to read the program code from the RAM 104 into the accumulator 302.
Perform normal operations.
(発明の効果)
以上説明したように本発明による方式によれば、アドレ
ス情報、データ、ならびにメモリ書込み信号をそれぞれ
の切替器を使用してDMA動作できるように切替えて、
DMAモード時のCPUのホールド状態を避けゐことに
より、多重処理を必要とするシステムの効率が向上する
と共に、システム構築上のネックが取除かれるため、シ
ステムインプリメンテーションが容易になるという効果
があゐ。(Effects of the Invention) As explained above, according to the method according to the present invention, address information, data, and memory write signals are switched using respective switchers to enable DMA operation.
By avoiding the CPU hold state during DMA mode, the efficiency of systems that require multiple processing is improved, and bottlenecks in system construction are removed, making system implementation easier. Ai.
第1図は、従来技術によりダイレクトメモリアクセスを
実現するための装置の一例を示すブロック図である。
第2図は、本発明によりダイレクトメモリアクセスを実
現するための装置の原理的構成を示すブロック図でおる
。
第8図は、第2図の原理を実現するための一実施例を示
すブロック図である。
IQl、301−@−CPU
102.304・・・ROM
103.201.305 ・ ・ ・RAM104.3
02・111アキユームレータ105.311・・・バ
ッファ
1G6,312・・・外部装置
111・魯・・・・・システム
202〜2’04,307〜309・・・切替器310
−−−−−DMA制御器
107〜1 1 0 、2’05〜214,303゜3
06.313〜31B−−・す・俳号縁特許出願人 日
本電気株式会社
代理人 弁理士 井ノ ロ 壽
第1図
22図
L14
23図FIG. 1 is a block diagram showing an example of a device for realizing direct memory access according to the prior art. FIG. 2 is a block diagram showing the basic configuration of a device for realizing direct memory access according to the present invention. FIG. 8 is a block diagram showing an embodiment for realizing the principle of FIG. 2. IQl, 301-@-CPU 102.304...ROM 103.201.305 ・ ・ ・RAM104.3
02/111 Accumulator 105. 311...Buffer 1G6, 312...External device 111/Lo...System 202-2'04, 307-309...Switcher 310
------DMA controller 107~110, 2'05~214, 303°3
06.313~31B--Su・Hai name Patent applicant NEC Corporation Representative Patent attorney Hisashi Inoro Figure 1 Figure 22 L14 Figure 23
Claims (1)
スに使用するためのRAMと、前記CPUからのアドレ
スバスか、7bb埴はDMA制御器からのアドレスバス
かを選択して前記RAMにアドレス情報として与えるた
めの第1の切替器と。 前記CPUからのデータバスか、あるいは外部ボートか
らのデータバスかを選択して前記RAM忙データ情報と
して与えるための第2の切替器と。 前記CPUtらのメモリライト情報線か、あるいは前記
DMA制御器からのメモリライト情報線がを選択して前
記RAMKメモリライト情報として与えるための第8の
切替器とを具備して構成するととKよシ実現したことを
特徴とするダイレクトメモリアクセス方式。[Scope of Claims] A RAM related to CPU control and used for direct memory access, and an address bus from the CPU or an address bus from a DMA controller can be selected and connected to the RAM. a first switch for providing address information; a second switch for selecting either a data bus from the CPU or a data bus from an external port and providing it as the RAM busy data information; An eighth switch for selecting the memory write information line from the CPUt or the memory write information line from the DMA controller and providing it as the RAMK memory write information is configured as K. A direct memory access method that is characterized by the realization of
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7148084A JPS60215270A (en) | 1984-04-10 | 1984-04-10 | Access system of direct memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7148084A JPS60215270A (en) | 1984-04-10 | 1984-04-10 | Access system of direct memory |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60215270A true JPS60215270A (en) | 1985-10-28 |
Family
ID=13461838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7148084A Pending JPS60215270A (en) | 1984-04-10 | 1984-04-10 | Access system of direct memory |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60215270A (en) |
-
1984
- 1984-04-10 JP JP7148084A patent/JPS60215270A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6023557B2 (en) | Time division multiplex data word transfer device | |
JPS63280365A (en) | Control system for direct memory access order contention | |
US4545053A (en) | Time slot interchanger | |
US4485469A (en) | Time slot interchanger | |
JPS60215270A (en) | Access system of direct memory | |
WO1983002016A1 (en) | Data processing system providing improved data transfer between modules | |
JPH02226419A (en) | Data array conversion control system | |
EP0923010A2 (en) | Programmable controller | |
JPS61259358A (en) | Dma circuit | |
SU1539787A1 (en) | Multichannel processor-to-subscribers interface | |
SU1683039A1 (en) | Device for data processing for multiprocessor system | |
EP1193606B1 (en) | Apparatus and method for a host port interface unit in a digital signal processing unit | |
JP2601937B2 (en) | DMA controller | |
JPS6336428Y2 (en) | ||
JP2504528B2 (en) | Bus control system between main memory controllers | |
JPH01293049A (en) | Reception controlling system for distributed processing type packet exchange | |
JPH0367678A (en) | Line buffer switching device | |
JPS63168720A (en) | Memory buffer device | |
JPH0363995A (en) | Dual port memory | |
JPH0436410B2 (en) | ||
JPH03116350A (en) | Bus structure for data transfer | |
JPS6231874B2 (en) | ||
JPH0311446A (en) | Connection control circuit for memory | |
JPH027146A (en) | Direct memory access control device and direct memory access control method | |
JPH05265923A (en) | Data transfer equipment |