JPS6258356A - Dma controller - Google Patents
Dma controllerInfo
- Publication number
- JPS6258356A JPS6258356A JP11163785A JP11163785A JPS6258356A JP S6258356 A JPS6258356 A JP S6258356A JP 11163785 A JP11163785 A JP 11163785A JP 11163785 A JP11163785 A JP 11163785A JP S6258356 A JPS6258356 A JP S6258356A
- Authority
- JP
- Japan
- Prior art keywords
- address
- transfer
- memory
- dma
- speed
- 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
- 230000015654 memory Effects 0.000 claims abstract description 55
- 102100035587 Distal membrane-arm assembly complex protein 1 Human genes 0.000 abstract description 7
- 101000930299 Homo sapiens Distal membrane-arm assembly complex protein 1 Proteins 0.000 abstract description 7
- 238000000034 method Methods 0.000 abstract description 6
- MHABMANUFPZXEB-UHFFFAOYSA-N O-demethyl-aloesaponarin I Natural products O=C1C2=CC=CC(O)=C2C(=O)C2=C1C=C(O)C(C(O)=O)=C2C MHABMANUFPZXEB-UHFFFAOYSA-N 0.000 description 7
- 230000004913 activation Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Bus Control (AREA)
Abstract
Description
【発明の詳細な説明】
(発明の分野)
この発明は、DMA対象アドレス空間を構成する各アド
レス毎に転送方向指定を可能としたDMA制御装置に関
する。DETAILED DESCRIPTION OF THE INVENTION (Field of the Invention) The present invention relates to a DMA control device that is capable of specifying a transfer direction for each address constituting a DMA target address space.
(発明の概要)
この発明は、高速アクセスメモリの各アドレスに当該ア
ドレスのDMA転送に係る1ビットの転送方向情報を記
憶させ、これをアドレス歩進と同期して読出しDMA転
送に係る相互機器に供給することにより、アドレス毎に
転送方向が異なるような場合であっても、DMA対象ア
ドレス空間の指定及び起動指令については一括して1回
で行なうことができるようにしたものである。(Summary of the Invention) The present invention stores 1-bit transfer direction information related to DMA transfer of the address in each address of a high-speed access memory, reads this in synchronization with address increment, and transmits it to mutual equipment related to DMA transfer. By supplying this information, even if the transfer direction differs for each address, the designation of the DMA target address space and the activation command can be performed all at once.
(従来技術とその問題点)
第11図に従来のDMA制御装置のハードウェア構成を
示す。(Prior art and its problems) FIG. 11 shows the hardware configuration of a conventional DMA control device.
同図において、ダイレクトメモリアクセスコントローラ
(以下、単にDMACという)1は、例えばモトローラ
社の68・44等、に代表されるもので、図示しないC
PUからのDMA対象アドレス空間の指定及びDMA転
送起動指令を受けて、当該アドレス空間を構成する一連
のアドレス信号を順次アドレスバス上に送出するもので
おる。In the figure, a direct memory access controller (hereinafter simply referred to as DMAC) 1 is represented by, for example, Motorola's 68/44, etc.
Upon receiving a designation of a DMA target address space and a DMA transfer activation command from the PU, a series of address signals constituting the address space are sequentially sent onto the address bus.
チップ選択回路2,3は、それぞれDMACIからDM
A中信号が到来するのに対応し、かつアドレスバスの所
定上位桁をデコードすることによってチップセレクト信
号を形成し、該当するメモリ4,5にそれぞれ供給する
。Chip selection circuits 2 and 3 each have DMACI to DM
In response to the arrival of the A medium signal, a chip select signal is formed by decoding a predetermined upper digit of the address bus, and is supplied to the corresponding memories 4 and 5, respectively.
また、DMAC1からはR/W信号が各アドレッシング
のたびに出力され、これをインバータ6で反転すること
により、DMA転送を行なう相互のメモリ4,5の一方
にはR信号が、また他方にはW信号がそれぞれ供給され
る。In addition, an R/W signal is output from the DMAC 1 for each addressing, and by inverting this signal with an inverter 6, an R signal is sent to one of the mutual memories 4 and 5 that performs DMA transfer, and to the other. W signals are respectively supplied.
今ここで、第12図に示されるように、メモリA4とメ
モリB5とは同一のアドレス空間に割り当てられ、かつ
アドレス空間$0000〜$1FFFについてはメモリ
AからメモリBへ向けて、またアドレス空間$2000
〜$3FFFについてはメモリBからメモリAへとDM
A転送を行なうものと仮定する。この場合、CPUにお
けるDMA転送用のプログラムは第13図のフローチャ
ートの如く表わされる。−
すなわち、まず、DMAC1に対して転送領域を$00
00〜$1 FFFにセットし、同時にR/W信号をリ
ードにセットする(ステップ1300)。Now, as shown in FIG. 12, memory A4 and memory B5 are allocated to the same address space, and for address spaces $0000 to $1FFF, from memory A to memory B, and from address space $2000
~For $3FFF, DM from memory B to memory A.
Assume that A transfer is performed. In this case, the program for DMA transfer in the CPU is expressed as shown in the flowchart of FIG. - That is, first, set the transfer area for DMAC1 to $00.
00 to $1 FFF, and at the same time set the R/W signal to read (step 1300).
次いで、DMAC1に対して、DMA転送起動を指令す
る(ステップ1301 )。Next, the DMAC 1 is instructed to start DMA transfer (step 1301).
次いで、メモリ八からメモリBへのDMA転送が終了し
たならば、今度はDMAC1に対して転送領域を$20
00〜$3FFFにセットし、同時にR/W信号をライ
トにセットする(ステップ1302>。Next, when the DMA transfer from memory 8 to memory B is completed, the transfer area for DMAC1 is set to $20.
00 to $3FFF, and at the same time set the R/W signal to write (step 1302>).
次いでDMAC1に対して、DMA転送起動指令を与え
る(ステップ1303)。Next, a DMA transfer activation command is given to DMAC1 (step 1303).
このように、従来のこの種DMA制御装置にあっては、
連続する一連のアドレス空間に対してDMA転送を行な
う場合であっても、転送方向が部分的に異なるような場
合には、転送方向が同一である領域毎に転送領域を設定
し直さねばならず、このため一連のアドレス空間の中で
小領域毎に転送方向が異なるような場合には、転送領域
設定処理を頻繁に行なう結果、DMA転送による高速転
送のメリットを充分に発揮し得ないという問題点があっ
た。In this way, in the conventional DMA control device of this type,
Even when performing DMA transfer to a continuous series of address spaces, if the transfer direction is partially different, the transfer area must be reset for each area with the same transfer direction. Therefore, when the transfer direction is different for each small area within a series of address spaces, the transfer area setting process is performed frequently, resulting in the problem that the benefits of high-speed transfer by DMA transfer cannot be fully utilized. There was a point.
(発明の目的)
この発明の目的は、一連のアドレス空間が更に転送方向
の異なる小空間に分割されているような場合であっても
、DMACに対する転送領域の設定処理Z111rで済
ますことができ、これによりDMA転送による高速化の
メリットを充分に発揮できるようにしたDMA制御装置
を提供することにある。(Object of the Invention) The object of the present invention is that even if a series of address spaces is further divided into small spaces with different transfer directions, the transfer area setting process Z111r for the DMAC can be sufficient. The object of the present invention is to provide a DMA control device that can fully utilize the advantages of speeding up DMA transfer.
(発明の構成と効果)
この発明は上記の目的を達成するために、CPUから与
えられるDMA対象アドレス空間情報に基づいて、該当
する一連のアドレス信号を順次発生し、これをDMA転
送に係る相互の機器に供給するアドレス管理手段と;
前記アドレス信号でアクセス可能な高速メモリを有する
とともに、該メモリの各アドレスには当該アドレスのD
MA転送に係る1ビットの転送方向情報が記憶され、各
アドレス信号に対応して読み出された転送方向情報をD
MAに係る相互の機器に供給する転送方向管理手段と:
を具備することを特徴とする。(Structure and Effects of the Invention) In order to achieve the above object, the present invention sequentially generates a series of corresponding address signals based on DMA target address space information given from the CPU, and uses these signals for mutual communication related to DMA transfer. address management means for supplying the device to the device; having a high-speed memory that can be accessed by the address signal, and each address of the memory has a D address of the address;
One bit of transfer direction information related to MA transfer is stored, and the transfer direction information read out corresponding to each address signal is stored in D.
It is characterized by comprising: a transfer direction management means for supplying mutual devices related to MA;
このような構成によれば、一連のアドレス空間が更に転
送方向の異なる小空間に分割されているような場合であ
っても、転送領域の設定処理については1回で済ますこ
とができ、DMA転送による高速化のメリットを充分に
発揮させることができる。According to such a configuration, even if a series of address spaces is further divided into small spaces with different transfer directions, the transfer area setting process can be completed only once, and DMA transfer It is possible to fully utilize the advantages of speeding up.
(実施例の説明)
第1図に本発明に係るDMA制御装置のハードウェア構
成を示す。なお、同図において従来例と同一構成部分に
ついては同符号を付して説明は省略する。(Description of Embodiments) FIG. 1 shows the hardware configuration of a DMA control device according to the present invention. In addition, in the figure, the same reference numerals are given to the same components as those of the conventional example, and the explanation thereof will be omitted.
この実施例の特徴は、R/W信号を、リード/ライト制
御回路7が発生させる点にある。The feature of this embodiment is that the read/write control circuit 7 generates the R/W signal.
第2図に示されるように、リード/ライト制御回路7は
、メモリ△4.B5のアクセスタイムに比べ、充分に高
速なアクセスタイムを有する高速メモリ71を内蔵して
おり、この高速メモリ71はメモリA4.メモリB5と
同一のアドレス空間に割り当てられている。As shown in FIG. 2, the read/write control circuit 7 controls the memory Δ4. A built-in high-speed memory 71 having a sufficiently faster access time than that of memory A4.B5 is built-in. It is allocated to the same address space as memory B5.
また、高速メモリ7つは、アドレスバスを介してDMA
C1でアクセス可能になされ、またDMA中信号によっ
てチップセレクトされる。In addition, the seven high-speed memories are connected to DMA via the address bus.
It is made accessible by C1 and is chip selected by the DMA signal.
高速メモリ7つの各アドレスには、第3図に示されるよ
うに、各アドレスの転送方向に対応する1ビットの情報
が格納されており、従って順次各アドレスがアクセスさ
れることにより、高速メモリ71からはl(111また
はO″が各アドレス毎に出力される。そして、読み出さ
れた信号はメモリA4に対してR信号として、またイン
バータ72で反転されメモリB5に対してW信号として
供給される。As shown in FIG. 3, each address of the seven high-speed memories stores 1-bit information corresponding to the transfer direction of each address. Therefore, by sequentially accessing each address, the high-speed memory 71 l(111 or O'' is output for each address.Then, the read signal is sent to the memory A4 as an R signal, and inverted by the inverter 72 and supplied to the memory B5 as a W signal. Ru.
なお、高速メモリ71としては、予め転送情報の出込ま
れたROMで構成したり、RAMで構成しシステムのイ
ニシャル処理によって転送方向情報を書込むなど様々な
構成を採用することができる。Note that the high-speed memory 71 may have various configurations, such as a ROM into which transfer information has been loaded in advance, or a RAM in which transfer direction information is written during initial processing of the system.
第4図は、CPUで行なわれるDMA制御処理の内容を
示すフローチャートである。同図に示されるように、こ
の実施例では、一連のアドレス空間か転送方向の異なる
小空間に分割されているような場合であっても、まず一
連のアドレス空間$oooo〜$3FFFに転送領域を
セットし、(ステップ400)、次いでDMAC1に対
して転送起動指令を1回だけ与えさえすればよい(ステ
ップ401)。FIG. 4 is a flowchart showing the contents of DMA control processing performed by the CPU. As shown in the figure, in this embodiment, even if a series of address spaces is divided into small spaces with different transfer directions, the transfer area is first divided into a series of address spaces $oooo to $3FFF. (step 400), and then it is only necessary to give a transfer activation command to DMAC1 only once (step 401).
このように、この実施例に市っては、予め高速メモリの
各アドレスに転送方向情報を記憶しておきざえすれば、
DMA転送時にあっては、DMAC1に対して転送領域
全体を一括して指定すればよく、このため一連のアドレ
ス空間が多数の転送領域に区画され、それぞれ転送領域
が異なるような場合であっても、転送領域の設定処理に
ついては1回で済み、DMA転送による高速化のメリッ
トを充分に発揮させることができる。As described above, in this embodiment, if transfer direction information is stored in each address of the high-speed memory in advance,
At the time of DMA transfer, it is sufficient to specify the entire transfer area to DMAC1 at once. Therefore, even if a series of address spaces is divided into many transfer areas and each transfer area is different, The transfer area setting process only needs to be performed once, and the advantages of speeding up the DMA transfer can be fully utilized.
なお、前記実施例では全アドレス空間を2つの小領域に
分け、DMA転送する場合で説明したが、第5図、第6
図に示す如く、全アドレス空間を更に多数の小領域に分
割した場合でも、第6図に示されるように各小領域毎に
転送方向情報を高速メモリに記憶させればよいのは勿論
である。In the above embodiment, the entire address space is divided into two small areas and DMA transfer is performed.
Even if the entire address space is further divided into a large number of small areas as shown in the figure, it is of course only necessary to store transfer direction information for each small area in a high-speed memory as shown in Fig. 6. .
更に、前記実施例では、2個のメモリ相互間に゛ おい
てDMA転送を行なう場合で説明したが、第7図に示さ
れるように、アドレスバスに対してn個のメモリM、〜
Mnを接続し、順次各メモリから読み出されたデータを
他のメモリへと転送するような場合には、第8図に示す
如く各メモリに接続されたR/W制御回路RW +〜R
Wn内の高速メモリ内に、第10図に示す如く各アドレ
ス領域毎のデータ転送方向情報を記憶させ、他方第9図
に示す如く高速メモリの非反転出力を各メモリM1〜M
nのR/W端子に供給すればよい。Furthermore, in the above embodiment, the case was explained in which DMA transfer was performed between two memories, but as shown in FIG. 7, n memories M, .
When connecting Mn and sequentially transferring data read from each memory to another memory, R/W control circuits RW + to R connected to each memory as shown in FIG.
The data transfer direction information for each address area is stored in the high-speed memory in Wn as shown in FIG. 10, and the non-inverted output of the high-speed memory is stored in each memory M1 to M as shown in FIG.
It is sufficient to supply it to the R/W terminal of n.
この場合にも、DMA転送起動については1回で済むた
め、何等cpui理によって時間を費されるものではな
い。In this case as well, the DMA transfer only needs to be started once, so no time is wasted on CPU processing.
このように本発明によれば、DMACに対する転送領域
設定処理及び起動指令を1回で済ませることができ、在
来のDMACを用いた転送の場合に比べ、全体の転送時
間の短縮を図り、DMA転送のメリットを充分に発揮さ
せることができる。As described above, according to the present invention, the transfer area setting process and activation command for the DMAC can be completed only once, and the overall transfer time can be shortened compared to the case of transfer using the conventional DMAC. It is possible to fully utilize the benefits of transfer.
第1図は本発明実施例のハードウェア構成を示すブロッ
ク図、第2図はり一ド/ライト制御回路の詳細を示すブ
ロック図、第3図は高速メモリの記憶内容を示すメモリ
マツプ、第4図はCPUで行なわれるDMA制御処理の
フローチャート、第5図及び第6図はDMA転送領域を
多数の小領域に分割した場合における例を説明するメモ
リマツプ、第7図は多数のメモリ間においてDMA転送
を行なう場合における本発明ハードウェア構成を示すブ
ロック図、第8図は同多数のメモリ間におけるDMA転
送を行なう場合の高速メモリのメモリマツプ、第9図は
各リード・ライト制御回路RWの詳細を示す図、第10
図は各高速メモリM。
〜Mnの記憶内容を示すメモリマツプである。
1・・・・・・・・・DMAC
2,3・・・チップ選択回路
4.5・・・メモリ
7・・・・・・・・・リード/ライト制御回路71・・
・・・・・・・高速メモリ
第1図
第2図
第3図 第4図
第5図 第6図
第8図 第9図
・第1O図
第72図
手続補正書
昭和60年6月12日FIG. 1 is a block diagram showing the hardware configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing details of the read/write control circuit, FIG. 3 is a memory map showing the storage contents of the high-speed memory, and FIG. 4 is a block diagram showing the details of the read/write control circuit. is a flowchart of DMA control processing performed by the CPU, FIGS. 5 and 6 are memory maps explaining an example when the DMA transfer area is divided into many small areas, and FIG. 7 is a flowchart of DMA transfer between multiple memories. FIG. 8 is a memory map of a high-speed memory when DMA transfer is performed between the same number of memories, and FIG. 9 is a diagram showing details of each read/write control circuit RW. , 10th
The figure shows each high-speed memory M. This is a memory map showing the memory contents of ~Mn. 1...DMAC 2, 3...Chip selection circuit 4.5...Memory 7...Read/write control circuit 71...
・・・・・・High-speed memory Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 8 Figure 9/Figure 1O Figure 72 Procedural amendment June 12, 1985
Claims (1)
報に基づいて、該当する一連のアドレス信号を順次発生
し、これをDMA転送に係る相互の機器に供給するアド
レス管理手段と; 前記アドレス信号でアクセス可能な高速メモリを有する
とともに、該メモリの各アドレスには当該アドレスのD
MA転送に係る1ビットの転送方向情報が記憶され、各
アドレス信号に対応して読み出された転送方向情報をD
MAに係る相互の機器に供給する転送方向管理手段と; を具備することを特徴とするDMA制御装置。(1) Address management means that sequentially generates a series of corresponding address signals based on DMA target address space information given from the CPU and supplies them to mutual devices involved in DMA transfer; accessible by the address signals; It has a high-speed memory, and each address of the memory has a D of the address.
One bit of transfer direction information related to MA transfer is stored, and the transfer direction information read out corresponding to each address signal is stored in D.
A DMA control device comprising: transfer direction management means for supplying signals to mutual devices related to MA;
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11163785A JPS6258356A (en) | 1985-05-24 | 1985-05-24 | Dma controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11163785A JPS6258356A (en) | 1985-05-24 | 1985-05-24 | Dma controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6258356A true JPS6258356A (en) | 1987-03-14 |
Family
ID=14566356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11163785A Pending JPS6258356A (en) | 1985-05-24 | 1985-05-24 | Dma controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6258356A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007039060A (en) * | 2005-08-01 | 2007-02-15 | Toyo Seikan Kaisha Ltd | Oxygen barrier cap with pull ring |
US10191087B2 (en) | 2007-08-14 | 2019-01-29 | Fluke Corporation | Automated storage of successive stable measurements in a digital multimeter |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5597630A (en) * | 1979-01-17 | 1980-07-25 | Hitachi Ltd | Data transfer system for data process system |
JPS5759222A (en) * | 1980-09-29 | 1982-04-09 | Hitachi Ltd | Dma data transfer system |
-
1985
- 1985-05-24 JP JP11163785A patent/JPS6258356A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5597630A (en) * | 1979-01-17 | 1980-07-25 | Hitachi Ltd | Data transfer system for data process system |
JPS5759222A (en) * | 1980-09-29 | 1982-04-09 | Hitachi Ltd | Dma data transfer system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007039060A (en) * | 2005-08-01 | 2007-02-15 | Toyo Seikan Kaisha Ltd | Oxygen barrier cap with pull ring |
US10191087B2 (en) | 2007-08-14 | 2019-01-29 | Fluke Corporation | Automated storage of successive stable measurements in a digital multimeter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4340932A (en) | Dual mapping memory expansion unit | |
EP0818731B1 (en) | Memory board, memory access method and memory access device | |
JPS6258356A (en) | Dma controller | |
JP2000003305A (en) | Flash memory and system loading the same | |
JPS6143367A (en) | Register control system | |
JPS6059453A (en) | Circuit device for communication equipment | |
JPH04167039A (en) | Data write system | |
JPS6211751B2 (en) | ||
JP2841432B2 (en) | Data transfer device | |
KR0165505B1 (en) | Communication device using shared memory | |
JPH05120207A (en) | Data transfer method | |
JPS62276663A (en) | Program transfer method | |
JP2666419B2 (en) | Information processing device | |
JPS6211753B2 (en) | ||
JPH0619867A (en) | Memory check system | |
JPS61198351A (en) | Direct memory access control circuit | |
JPH03147593A (en) | bit block transfer device | |
JPS6364474A (en) | Image memory control device | |
JPS6383854A (en) | Data transfer circuit | |
JPS638553B2 (en) | ||
JPS62216059A (en) | Check system for storage device | |
JPS61128347A (en) | Memory address setting system | |
JPS6017133B2 (en) | Address extension method | |
JPH02135560A (en) | Address allocating method | |
JPH04268936A (en) | memory device |