JPS60142767A - Asynchronous type bus dominating system - Google Patents

Asynchronous type bus dominating system

Info

Publication number
JPS60142767A
JPS60142767A JP24842083A JP24842083A JPS60142767A JP S60142767 A JPS60142767 A JP S60142767A JP 24842083 A JP24842083 A JP 24842083A JP 24842083 A JP24842083 A JP 24842083A JP S60142767 A JPS60142767 A JP S60142767A
Authority
JP
Japan
Prior art keywords
bus
memory access
direct memory
memory
access channel
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
JP24842083A
Other languages
Japanese (ja)
Inventor
Takashi Harada
敬 原田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP24842083A priority Critical patent/JPS60142767A/en
Publication of JPS60142767A publication Critical patent/JPS60142767A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
    • G06F13/30Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal with priority control

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

PURPOSE:To shorten the time when a central processing unit cannot dominate a bus by limiting a bus dominating right of a direct memory access channel controller only to a direct memory access channel with priority. CONSTITUTION:A common bus 8 connects a CPU6 and each memory block (MB)7 via a direct memory access channel controller (DMAC)10. The MBs 7 is divided into MB1-MBn and MBn-MBN and DMA11-DMAnm as the direct memory channel block (DMA)9 with priority are subordinated to the MB1- MBn. Moreover, DMA request lines BREQ1-Qn are connected in paralle with with DMAC10 from each DMA9. Thus, the bus dominating right of the DMAC10 is exerted only to the limited DMA in this way so as to shorten the time when the CPU6 cannot dominate the bus.

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明は中央処理装置とメモリ間及びメモリと複数の直
接メモリアクセスチャネル間は共通のバスで結ばれてい
るシステムにおいて、該バスの支配権について複数の直
接メモリアクセスチャネルの支配全直接メそリアクセス
チャネル制御装置を介して中央処理装置に優先して行う
非同期型のバス支配方式に関する〇 Φ)従来技術と問題点 一般に中型以上のコンピュータでは直接メモリアクセス
チャネル装置が標準機器となっているので、入力/出力
されるデータはレジスタを媒介して行われる。そのため
データ処理速度が大幅に遅くなるため、小型コンピュー
タではレジスタに介させずに@接入力/出力装置との間
にデータのや多とりできる機器を接続している。
Detailed Description of the Invention (a) Technical Field of the Invention The present invention relates to a system in which a central processing unit and a memory and a memory and a plurality of direct memory access channels are connected by a common bus. Regarding the control of multiple direct memory access channels, all direct memory access channels are given priority over the central processing unit via an asynchronous bus control system.〇Φ) Conventional technology and problems Generally, in medium-sized or larger computers, Since direct memory access channel devices have become standard equipment, data input/output is performed through registers. As a result, the data processing speed is significantly slowed down, so in small computers, a device that can handle a large amount of data is connected to the input/output device without using a register.

例えば、第1図は従来の非同期型バスをもつシステムを
示し、中央処理装置(以下CPU)1とメモリ2.メモ
リ2と複数の直接メモリアクセスチャネル(以下D M
 At〜N)3は共通のバス4で結ばれ、さらに各D 
MA、は直接メモリアクセスチャネル制御装置(以下D
MAC)5を介してCPU、と接続される。CPU1と
メモリ2間、メモリ2とDMA3間のデータのやりとり
が行われる。なおりMA3とメモリ2間のデータ処理順
位はDMA、からIMANの順である。
For example, FIG. 1 shows a conventional system having an asynchronous bus, including a central processing unit (hereinafter referred to as CPU) 1 and a memory 2. Memory 2 and multiple direct memory access channels (DM
At to N) 3 are connected by a common bus 4, and each D
MA is a direct memory access channel controller (D
It is connected to the CPU via MAC) 5. Data is exchanged between the CPU 1 and the memory 2, and between the memory 2 and the DMA 3. Note that the data processing order between MA3 and memory 2 is from DMA to IMAN.

例えば、CPU1からメモリ2のどのアドレスから伺個
のデータ全どのDMA3に送るかという指令をDMA 
Csが受けると、CPU1とメモリ2の動き線中断され
、指令された出力動作k 、DMA Caにより拙文に
D M Asとメモリ20間で行われる。通常出力が終
了すると、そのことを割込みの形でDMACaKよりc
pu1に知らせ、CPU遣とメモリ2の動きが再開され
る。なお、DMA5とメモリ2のデータ処理の優先順位
Ff、DMA1からDMAnの順である。
For example, the CPU 1 sends a command from which address in memory 2 to which DMA 3 all the data is to be sent.
When Cs is received, the movement line between the CPU 1 and the memory 2 is interrupted, and the commanded output operation k is performed between the DMAs and the memory 20 by the DMA Ca. When the normal output ends, it is notified by DMACaK in the form of an interrupt.
pu1 is notified, and the CPU and memory 2 operations are resumed. Note that the data processing priority order of DMA5 and memory 2 is Ff, and the order is DMA1 to DMAn.

DMA5 i−j上記のようにバス4全体に支配権をも
ち’、DMAakメモリ2間のデータのやりとりの間は
、CPU1は上記のようにウェイトせざろを得ない。D
MA5 t”多数動かすようなシステムにおいては、こ
のウェイト時間が無視できないという問題がある。
DMA5 i-j has dominion over the entire bus 4 as described above, and during data exchange between the DMAak memories 2, the CPU 1 has no choice but to wait as described above. D
In a system in which a large number of MA5 t'' units are operated, there is a problem that this wait time cannot be ignored.

(c) 発明の目的 本発明の目的は共通バス構造金もつコンピ−タシステム
において、直接メモリアクセスチャネル制御装置のバス
支配権を限定させたメモリアドレスの空間のみに及ぶよ
うにすることで、中央処。
(c) Object of the Invention The object of the present invention is to provide a computer system with a common bus structure in which the control of the bus by a direct memory access channel control device extends only to a limited memory address space. .

理装置のバス支配できない(ウェイトする)時間を短か
くする非同期型のバス支配方式を提供することvcある
〇 (d) 発明の構成 そしてこの目的は不発明によれば、中央処理装置メモリ
間及びメモリと複数の直接メモリアクセスチャネル間は
共通のバスで結ばれ、該バスの前記直接メモリアクセス
チャネルの支配権に前記直接メモリアクセスチャネルを
制御する直接メモリアクセスチャネル制御装置を介して
前記中央処理装置に優先して行われる非同期型のバス支
配方式において、前記バスと前記メモリを複数のプロン
3− りに分けて構成、該複数のメモリブロックの一部又は全
部に前記直接メモリアクセスチャネル全夫々従属させる
とともに、該直接メモリアクセスチャネルを分割し優先
順位を付したブロックとし、該直接メモリアクセスチャ
ネルブロックのバス支配権は前記メモリアクセスチャネ
ル制御装置を介し前記メモリブロックの咳当ブロックの
みとしたことを特徴とする非同期型のバス支配方式を提
供することにより達成される。
An object of the present invention is to provide an asynchronous bus control method that shortens the time during which a central processing unit cannot control the bus (wait time). A common bus connects the memory and a plurality of direct memory access channels, and the central processing unit gains control of the direct memory access channels of the bus via a direct memory access channel control device that controls the direct memory access channels. In an asynchronous bus control method that is given priority to the above, the bus and the memory are divided into a plurality of three-pronged blocks, and each of the direct memory access channels is subordinated to a part or all of the plurality of memory blocks. At the same time, the direct memory access channel is divided into prioritized blocks, and the bus control of the direct memory access channel block is limited to the control block of the memory block via the memory access channel control device. This is achieved by providing a unique asynchronous bus control method.

(e) 発明の実施例 以下不発明の実施例を図面により詳述する。(e) Examples of the invention Hereinafter, embodiments of the invention will be described in detail with reference to the drawings.

第2図は本発明の非同期型のバス支配方式の1実施例を
示す構成図である。
FIG. 2 is a block diagram showing one embodiment of the asynchronous bus control system of the present invention.

図において、6はCPU、はメモリブロック(MB。In the figure, 6 is a CPU, and 6 is a memory block (MB).

〜N)、8はCPU6と各MB 7 k DMACs。~N), 8 is the CPU 6 and each MB 7k DMACs.

を介して結ぶ共通バス、9は直接メモリアクセスチャネ
ルプロ、り(DMAlt〜DMA1 m)、10 il
:直接メモリアクセスチャネル制御装置(DMAC)を
示す。
9 is a direct memory access channel pro (DMAlt to DMA1 m), 10 il
: Indicates a direct memory access channel controller (DMAC).

不発明では、第1図に示す従来の1本の共通バス4とメ
モリ21r、複数のブロックに分けて構成し4− ている。例えばメモリ2を第2図に示すよりに1〜nプ
ロyり(MB1〜MBn)とn−Nブロック(MBn〜
MBN)のメモリ20間(MB )りに分け、該1〜n
ブロツクのMB7に夫々第1図に示すDMAaを従属さ
せている。)ざらに該DMA3t−不発明では夫々分割
し、優先順位を付したDMAブロック9としている( 
DM A、t −IDMA s m 、 D MAt 
t 〜D MAt m l−DMAn、 〜DMAnm
)oなお、DMAプロ、り9よりn本のDMA要求線E
REQI〜nが並列に、DMACl0に対し持っている
In the present invention, the conventional single common bus 4 and memory 21r shown in FIG. 1 are divided into a plurality of blocks 4-. For example, the memory 2 has 1 to n blocks (MB1 to MBn) and n-N blocks (MBn to
MBN) memory is divided into 20 (MB) sections, and the memory is divided into 1 to n
DMAa shown in FIG. 1 is subordinated to each block MB7. ) Roughly speaking, the DMA3t is divided into DMA blocks 9 and prioritized (
DMA,t-IDMAs m,D MAt
t ~D MAt ml-DMAn, ~DMAnm
) o In addition, from DMA Pro, ri9, n DMA request lines E
REQI~n are held in parallel to DMACl0.

上記のようにn不のDMA要求線BREQ、〜nを並列
にもつDMACl0では、バス支配要求を出した時、即
ち第3図(イ)に示すようにBREQnがアクティブの
時、CPU6がアドレスバウンダリのメモリブロックM
Bnにアクセス(リード/ライト動作)すると同時に、
CPU6にウェイト(バス支配できない)をかけ、現在
実行中の第3図(切に示すイベント1(バス使用状態)
を強制的に中断させ、第3図(→に示すようにイベント
切替割込処理を行い、第3図ヒプに示すイベント2t実
行させる0バス支配要求を終了した時、即ち第3図((
)に示すBREQnがインアクティブになった時点で、
第3図eうに示すCPUのイベント2を第3図←)に示
すようにイベント1に戻し、CYC+mから再度実行さ
せる、 第4図はCPUのバスサイクルCYCrrnの拡大図を
示す。CYClrnは図示のように命令フェッチaとア
ドレスフェッチbとデータライト・リードCで構成され
、DMAC10はアドレス7エツチbの矢印で示す時点
で、イベント切替割込みをかけると同時にCPU6Th
ウエイトする。
As described above, in DMACl0, which has n DMA request lines BREQ, ~n in parallel, when a bus control request is issued, that is, when BREQn is active as shown in FIG. memory block M
At the same time as accessing Bn (read/write operation),
A wait is placed on the CPU 6 (cannot control the bus), and event 1 (bus usage state) shown in Fig.
When the 0 bus control request that causes the event 2t shown in FIG. 3 to be forcibly interrupted, the event switching interrupt processing is performed as shown in FIG.
), when BREQn becomes inactive,
The CPU event 2 shown in FIG. 3e is returned to the event 1 as shown in FIG. CYClrn is composed of instruction fetch a, address fetch b, and data write/read C as shown in the figure, and the DMAC 10 issues an event switching interrupt at the time indicated by the arrow at address 7
Wait.

本発明では上記のようにMBn全アクセスするバスサイ
クルCYCが存在した時のみCPU6のイベントヲ中断
されるだけで、それ以外は何ら実行中のイベントは影響
全受けない0例えば、DMA+ 1〜DMA+mのバス
支配要求BREQ、であれば、CPU・6とMBI 7
の間のイベントが中断され、他のMB2〜MBnとCP
U間のイベントは実行されている。なお、DMA+ 1
−DMA+mは付加されている優先順位にデータ処理さ
れる。
In the present invention, as described above, the event of the CPU 6 is only interrupted when there is a bus cycle CYC that accesses all MBn, and no other events in progress are affected. For example, DMA+1 to DMA+m If the bus mastership request is BREQ, CPU 6 and MBI 7
The events between are interrupted and other MB2 to MBn and CP
The event between U is being executed. In addition, DMA+1
-DMA+m is data processed according to the assigned priority order.

上記のように本発明ではDMACl0のバス支配権を限
定されたメモリアドレス空間にだけ及ぶようにしており
、従来のDMAC5のバス支配権のようにバス全体にな
いので、CPU6がバスを支配できない(ウェイトする
)時間を短かくできる。
As described above, in the present invention, the bus mastership of DMACl0 extends only to a limited memory address space, and unlike the bus mastership of the conventional DMAC5, which does not cover the entire bus, the CPU 6 cannot dominate the bus ( Waiting time) can be shortened.

さらに、第2図において、例えばMB、とDMA+ s
〜D MAI mとイベントを含めて1つのブロックと
し、そのブロックを夫々MBI〜Mnに対応して構成す
れば、各ブロックのDMA実行権は完全に独立して動作
し、従来のように動作中のDMAがあると他のDMAが
待たされることもなく、又ブロック間のDMAのバス支
配権は該当するMBとCPUのバスだけでよく、他はC
PU処理が行われるので、CPU処理の遅延は少なくな
る。
Furthermore, in FIG. 2, for example, MB, and DMA+s
~D If MAI m and events are included in one block and each block is configured to correspond to MBI ~ Mn, the DMA execution rights of each block will operate completely independently, and will continue to operate as before. If there is a DMA, other DMAs will not have to wait, and bus control of the DMA between blocks only needs to be given to the bus of the corresponding MB and CPU, while the other DMAs are
Since PU processing is performed, the delay in CPU processing is reduced.

なお、図示のようにMBn+1〜MBNにDMAを従属
させない構成とすれば、DMAの影響を受けないメモリ
ブロックとすることができ、CPU処理を中途しないの
で、よりCPU処理の遅延は少ない0 (f) 発明の効果 7− 以上詳細に説明したように本発明の非同期型ノ(ス方式
は共通バス構造全もつコンピュータシステムにおいて、
メモリを分割してメモリブロックとし、該メモリブロッ
クに直接メモリアクセスチャネルを夫々従属させ、直接
メモリアクセスチャネルのバス支配権を対応しているメ
モリブロックとCPU間のバスのみとし、他に支配が及
ばないようにすることで、従来のよりに直接メモリアク
セスチャネルのバス支配権がバス全体にないので、中央
処理装置のバス支配できない(ウェイトする)時間を短
かくすることができる0従って直接メモリアクセスチャ
ネル全多数動かすシステムにおいてμ特にその効果に太
きい。
Note that if the configuration is such that DMA is not subordinated to MBn+1 to MBN as shown in the figure, the memory block can be made unaffected by DMA, and since CPU processing is not interrupted, there is less delay in CPU processing. ) Effect of the Invention 7 - As explained in detail above, the asynchronous bus system of the present invention has the following advantages:
The memory is divided into memory blocks, direct memory access channels are subordinated to each memory block, the bus control of the direct memory access channels is limited to the bus between the corresponding memory block and the CPU, and control is extended to others. Since the direct memory access channel does not have bus control over the entire bus compared to conventional methods, the time during which the central processing unit cannot control the bus (wait) can be shortened. In a system in which all channels are operated, the effect of μ is particularly strong.

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

第1図は従来の非同期型のバス支配方式を説明するシス
テム構成図、第2図は本発明の非同期型のバス支配方式
の1実施例金示す構成図、第3図はイベント切替原理を
説明するための図、第4図はCPUのバスサイクルの拡
大図を示す0図において、6はCPU、7はメモリブロ
ック、8− 8は共通バス、9は直接メモリアクセスチャネルブロッ
ク、10は直接メモリアクセスチャネル制御装置である
Figure 1 is a system configuration diagram illustrating a conventional asynchronous bus control system, Figure 2 is a configuration diagram showing one embodiment of the asynchronous bus control system of the present invention, and Figure 3 is an explanation of the event switching principle. Figure 4 is an enlarged diagram of the CPU bus cycle. In Figure 4, 6 is the CPU, 7 is the memory block, 8-8 is the common bus, 9 is the direct memory access channel block, and 10 is the direct memory 0, which is an access channel control device.

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置とメモリ間処びメモリと複数の直接メモリ
と複数の直接メモリアクセスチャネル間は共通のバスで
結ばれ、該バスに対する前記直接メモリアクセスチャネ
ルの支配権は前記直接メモリアクセスチャネルを制御す
る直接メモリアクセスチャネル制御装置を介して前記中
央処理装置に優先して行われる非同期型のバス支配方式
において、前記バスと前記メモリを複数のブロックに分
けて構成し、該複数のメモリブロックの一部又は全部に
前記直接メモリアクセスチャネルを夫々従属させるとと
もに、咳直接メモリアクセスチャ、ネルを分割し優先順
位を付したブロックとし、紙直接メモリアクセスチャネ
ルブロックのバス支配mは前記メモリアクセスチャネル
制御装置分介し前記メモリブロックの該当ブロックのみ
とした・ことを特徴とする非同期型のバス支配方式。
A common bus connects the central processing unit, the memory allocation memory, the plurality of direct memories, and the plurality of direct memory access channels, and the control of the direct memory access channel over the bus controls the direct memory access channel. In an asynchronous bus control method in which direct memory access is given priority to the central processing unit via a channel control device, the bus and the memory are divided into a plurality of blocks, and a part of the plurality of memory blocks is configured. Alternatively, the direct memory access channels are made dependent on each of the direct memory access channels, and the direct memory access channels are divided and prioritized into blocks, and the bus control m of the paper direct memory access channel block is controlled by the memory access channel control device. An asynchronous bus control method characterized in that only the corresponding block of the memory block is controlled via the memory block.
JP24842083A 1983-12-29 1983-12-29 Asynchronous type bus dominating system Pending JPS60142767A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24842083A JPS60142767A (en) 1983-12-29 1983-12-29 Asynchronous type bus dominating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24842083A JPS60142767A (en) 1983-12-29 1983-12-29 Asynchronous type bus dominating system

Publications (1)

Publication Number Publication Date
JPS60142767A true JPS60142767A (en) 1985-07-27

Family

ID=17177852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24842083A Pending JPS60142767A (en) 1983-12-29 1983-12-29 Asynchronous type bus dominating system

Country Status (1)

Country Link
JP (1) JPS60142767A (en)

Similar Documents

Publication Publication Date Title
EP0550164B1 (en) Method and apparatus for interleaving multiple-channel DMA operations
EP0550163B1 (en) Circuit architecture for supporting multiple-channel DMA operations
KR100344132B1 (en) A device for a computer memory interface, a portable mobile computer and a method for fetching program instructions and performing a data write / read request on the computer
JPH0430053B2 (en)
JPS62156752A (en) Multiplex processor calculation system
JPS63296158A (en) Information processor
JPS60142767A (en) Asynchronous type bus dominating system
JPH02171843A (en) Interface device
JP3413369B2 (en) Information processing device
JPS603049A (en) Bus interface apparatus
JP2002278753A (en) Data processing system
JPS61136159A (en) Single chip microcomputer
JP2003186666A (en) Microcomputer and dma control circuit
JPH056333A (en) Multi-processor system
JPH0460257B2 (en)
JPS60181867A (en) Processor switching control system
JPH04111149A (en) Circuit system for dma device
JPH04307652A (en) Inter-multiprocessor communication system
JPS61165172A (en) Memory access controlling system
JPS5942331B2 (en) Prosetsusasouchinoseigiohoshiki
JPH0869382A (en) Semiconductor device
JPS61267149A (en) Data processor
JPH05151137A (en) Electronic computer device
JPH02224048A (en) Information processor
JPH0424733B2 (en)