JPS60151764A - Channel controlling device - Google Patents

Channel controlling device

Info

Publication number
JPS60151764A
JPS60151764A JP562784A JP562784A JPS60151764A JP S60151764 A JPS60151764 A JP S60151764A JP 562784 A JP562784 A JP 562784A JP 562784 A JP562784 A JP 562784A JP S60151764 A JPS60151764 A JP S60151764A
Authority
JP
Japan
Prior art keywords
transfer
bus
data
transfer mode
generated
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
JP562784A
Other languages
Japanese (ja)
Inventor
Hiroyuki Noguchi
博之 野口
Mitsuo Takakura
高倉 満郎
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.)
Hitachi Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Engineering Co Ltd
Hitachi 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 Hitachi Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Engineering Co Ltd
Priority to JP562784A priority Critical patent/JPS60151764A/en
Publication of JPS60151764A publication Critical patent/JPS60151764A/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
    • 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/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer

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 effective time of transfer by setting the direction of transfer in a transfer direction controlling register that determines the direction of data transfer before starting direct memory access transfer and enabling data transfer of an optional transfer direction. CONSTITUTION:When a direct memory access channel start request is generated, a control logic DMAC8 generates a counter address 12, and releases a bus buffer 10 that makes connection control of an address bus 5 and data bus 6. Synchronizing with the counter address 12 generated by the DMAC8, information of a transfer mode setting register 9 is sent out to a transfer mode control signal circuit 11 as a DMA transfer mode signal 17. A sending signal of data is generated in an inputting/outputting device 3 synchronizing with a transfer mode signal 14 generated from the DMAC8. OUT1 information of the inputting/outputting device 3 is sent out to the data bus 6 and stored in the DMAC8.

Description

【発明の詳細な説明】 〔発明の4u用分野〕 本元四は、磁子計算愼に2け0ダイレクトメモリアクセ
ス(以1’1)iVA)転送制御方式に係υ、特Vこ、
1)MA転送起励前に、データの転送方向を決定する転
送方向+1tlJ岬レジスタに転送方向を設定し、−回
のDMA転送で、任、tの転送方向のデータ転送を可能
とすることによシ、転送実効時間金短雇するに好41チ
ャネル制御11装置に関する。
[Detailed Description of the Invention] [Field of the Invention for 4U] The present invention relates to a 2-digit 0 direct memory access (iVA) transfer control method for magnetic computing,
1) Before activating the MA transfer, set the transfer direction in the transfer direction +1tlJ cape register that determines the data transfer direction, and make it possible to transfer data in the transfer direction of t and t with - DMA transfers. However, it is better to reduce the effective transfer time and cost for the 41 channel control 11 equipment.

〔発明の背泉〕[Back spring of invention]

従来の計算機システムに於けるD IS4 Aチャネル
を使用したデータ転送方式は、同一の転送方向にデータ
全転送する方式でろる。
The data transfer method using the DIS4 A channel in a conventional computer system is a method in which all data is transferred in the same transfer direction.

又、任意の転べ方向tもつデータ転送方式は、PCMA
方式又は、DMA方式により転送方向の変化毎に複訣回
起動をかける方式がある。
Also, the data transfer method with arbitrary rotation direction t is PCMA.
Alternatively, there is a method in which activation is performed multiple times each time the transfer direction changes using a DMA method.

現任、計算峡システムの多様化に従い、システムバスの
有効な利用方法が要求さ扛でいる。
Currently, with the diversification of computing systems, effective use of system buses is required.

第4図に、l’cMA方式とDMA方式による複数回起
動方式に於けるシステムバスの転送方向切替に2ける参
考しUを示す。
FIG. 4 shows a reference example U in 2 for switching the transfer direction of the system bus in the multiple activation method using the l'cMA method and the DMA method.

PCMA方式では、命令フェッチ処理サイクルが膚に、
システムバスの実効転送時間に係9合って分り、システ
ムバスの実効転送時間は、処理時間の2/3以下となっ
てしまう。
In the PCMA method, the instruction fetch processing cycle is
This depends on the effective transfer time of the system bus, and the effective transfer time of the system bus is less than 2/3 of the processing time.

又、転送語数が増加するに従い、システムプログラム存
置が増加し、転送方向mlj ++11がプログラムで
行なわれるため、処理時間も増加する。
Furthermore, as the number of transferred words increases, the number of system programs increases and the transfer direction mlj++11 is performed by the program, so the processing time also increases.

従来のf)MA方式では、転送方向の切#毎に、1)M
Aチャネルモードを切替えるための尾埋サイクルが実効
転送時に係り合い、転送方向切替回数に比例して処理時
間に対するシステムバス実効転送時間が1@、激に減少
する。
In the conventional f) MA method, for each cut # in the transfer direction, 1) M
The tail filling cycle for switching the A channel mode is involved in effective transfer, and the effective system bus transfer time relative to the processing time is drastically reduced by 1@ in proportion to the number of transfer direction switches.

第5図に、PCMA方式、従来のDMA方式に於ける処
理時間と転送方向切替回数の関係を示す。
FIG. 5 shows the relationship between the processing time and the number of transfer direction switching in the PCMA method and the conventional DMA method.

本図はシステムバスとローカルバス間でデータ転送を行
なった例を示す。
This figure shows an example of data transfer between the system bus and local bus.

PCMA方式では、プログラムで転送方向の指定全行な
うため、転送切替回故に従って処理時間が多くなる。
In the PCMA method, the transfer direction is all designated by a program, so the processing time increases as the transfer switching cycle occurs.

PCMA方式で処理時間全減少する方法は、プログラム
処理速度の向上、又は、バス転送速度の向上が必要とな
シ、処理時間を短縮させるためシステム1曲格の屑大金
J召く。
The method of reducing the total processing time using the PCMA method requires an improvement in the program processing speed or the bus transfer speed, and it costs a lot of money to shorten the processing time.

従来のDMA方式は、転送方向l;7J替回故の増加に
■り処理時間は急激に増大する。
In the conventional DMA system, the processing time increases rapidly due to an increase in the number of transfer errors in the transfer direction.

〔発明の目的〕[Purpose of the invention]

本発明の目的はデータの転送方向の切替回故に依存せず
、連続して任意の転送方向を指定してシステムバスをア
クセスし、データ転送処理時間を短縮し、システムバス
実効転送時間を短縮するDMAチャネルkJ是供するに
ある。
The purpose of the present invention is to access a system bus by continuously specifying an arbitrary transfer direction without depending on the switching cycle of the data transfer direction, thereby shortening the data transfer processing time and shortening the effective system bus transfer time. DMA channel kJ is provided.

〔発明の、概要〕[Summary of the invention]

本発明は、データ転送に1)MA転送方式を利用し、シ
ステムバス実効転送時間を短縮する上で、転送方向切替
回故に実効転送時間が依存して増力口する間!e解消す
る手段として、J)MA転送時に発生するカウンタアド
レスに同期して、転送方向全圧点に制tloT能な、転
送モード制御レジスタと転送モード制+1jllロジッ
クと付加することに欣り、転送方向の切替回故に関係な
く、転送語数のみに依存し、システムバスの実効転送時
間を短a ’oJ 能とし友ものである。
The present invention utilizes the MA transfer method for data transfer to shorten the effective transfer time of the system bus. As a means to solve the problem, J) Add a transfer mode control register and transfer mode control + 1jll logic that can control the transfer direction full pressure point in synchronization with the counter address generated during MA transfer. Regardless of the direction switching cycle, it depends only on the number of words to be transferred, and the effective transfer time of the system bus can be shortened.

〔発明の実施例〕[Embodiments of the invention]

第1図に従来のDMA転送方式の例を示す。従来のDん
fA方式は、通常のD M A ?li制御ロジック(
以下DMACと略す)より出力される転送モード信+−
)14は、1回の1)MA転送時間は、同一の転送モー
ドしか発生させることが出来なかった。
FIG. 1 shows an example of a conventional DMA transfer method. The conventional DfA method is a normal DMA? li control logic (
Transfer mode signal +- output from DMAC (hereinafter abbreviated as DMAC)
)14, only the same transfer mode could be generated during one 1) MA transfer time.

第2図に本発明の一実施りllを示す。本実施例は、同
一バス16に接続された入出力装置2,3間に本発明の
f)MAチャネル制御装置4を応用した例である。
FIG. 2 shows one embodiment of the present invention. This embodiment is an example in which f) MA channel control device 4 of the present invention is applied between input/output devices 2 and 3 connected to the same bus 16.

本構成は、CPUIとDMAチャネルIttlJ#装置
4と入出力装置2,3が、同一バス16に接続されてお
シ、入出力装置2のOUT 11青報金入出力装置1の
INI清報として転送し、又、入出力装置1のOU T
 1 v゛**報ケ出力装置2のINIの情報として転
送するもので一回の1)MA起動に威りDMAチャネル
装置4を使用し転送するクリである。
In this configuration, the CPU and DMA channel IttlJ# devices 4 and the input/output devices 2 and 3 are connected to the same bus 16. Also, the OUT of input/output device 1
This information is transferred as INI information of the 1 v** report output device 2, and is transferred using the DMA channel device 4 upon one-time 1) MA activation.

第1図に示すブロック図に伝送モード設定レジスタ9を
付加し、DMACから発生するオウ/タアドレス12に
対応した転送モード情報全設定する。
A transfer mode setting register 9 is added to the block diagram shown in FIG. 1, and all transfer mode information corresponding to the master address 12 generated from the DMAC is set.

DMAチャネル起動起動要求金石と、1)MAC8は、
カウンタアドレス12f:発生させ、アドレスバス5と
データバス6との接続111J 1卸き行なうバスバッ
ファ1OJt開放する。
DMA channel activation activation request Kinishi and 1) MAC8,
Counter address 12f: Generates connection 111J of address bus 5 and data bus 6. Opens bus buffer 1OJt.

カウンタアドレスはアドレスバス5上に伝達され、入出
力装置3の0UTlをアクティブにする。
The counter address is transmitted onto the address bus 5 and activates 0UTl of the input/output device 3.

この時、L)MAC8より発生するカライタアドレス1
2に同期して、転送モード設建レジスタ9の清報が、1
)MA転送モード信号17として、転送モードrlII
J御1g号回路11に送出される。
At this time, L) Colorizer address 1 generated from MAC8
In synchronization with 2, the transfer mode construction register 9's refresh report is 1.
) As the MA transfer mode signal 17, transfer mode rlII
The signal is sent to the J control No. 1g circuit 11.

1)MAC8より発生する転送モード1言号14と同期
を取り、入出力装置3に対してノータの送出は号を発生
させる。
1) In synchronization with the transfer mode 1 word 14 generated by the MAC 8, the noter is sent to the input/output device 3 to generate a signal.

入出力装置3の0UTII青報がデータバス6に送出さ
れ1)MAe8に格納される。
The 0UTII blue report from the input/output device 3 is sent to the data bus 6 and stored in 1) MAe8.

次に、カウンタアドレス12が更新され、入出力装置2
のINI金アクティプリこし、f)MAC8に格納され
た転送情報を格納し、−回のDMAサイクルを終了する
のである。
Next, the counter address 12 is updated and the input/output device 2
f) stores the transfer information stored in the MAC 8, and completes - times of DMA cycles.

発明の特徴は、DMAC8のカウンタアドレスに同期し
て、転送モードレジスタ9の情報が転送モードを制御し
ている点でるる。本発明は効率の良いシステムバスのD
MA転送を可能とし、DMA転送処理中の転送モード切
換時間を不要とじたものである。
A feature of the invention is that the information in the transfer mode register 9 controls the transfer mode in synchronization with the counter address of the DMAC 8. The present invention provides efficient system bus D.
This enables MA transfer and eliminates the need for transfer mode switching time during DMA transfer processing.

第3図に也の実施例2示す。FIG. 3 shows a second embodiment of the invention.

本実施例は異種のバス−]のDMAチャネルに依る転送
列である。
This embodiment is a transfer sequence based on DMA channels of different types of buses.

異種のバスrアクセスするため、転送モード制御回路2
0.21が、異種のバス27.16金制+illするた
め、別々に設dされている。
Transfer mode control circuit 2 is used to access different types of buses r.
0.21 is installed separately to accommodate different types of buses 27.16 and 27.16.

転送モード設定レジスタ9に転送モード1′Vv報全設
置し、バス16系のアクセス全行yl )か、バス27
系のアクセスを行なう設定レジスタ23に情−fFi金
設定し、DMA起動要求を発すると、バス27に接続さ
れた人出力説l[f22がアクティブになった時1.1
)MAC8より送出される転送モード信号4とバス変換
信号26と同JIA金取ったバス27系の転送モード1
百号を1転送モ一ド設足レジスタ9の・清報に従った転
送モードitj[ll卸IN号17に依り、転送モード
信号28全元生させ、入出力装置22の転送情報をDM
AC8に格納する。
Set transfer mode 1'Vv information in transfer mode setting register 9, and access all lines of bus 16 (yl) or bus 27.
When the information is set in the setting register 23 that accesses the system and a DMA start request is issued, the output register connected to the bus 27 becomes active (1.1).
)Transfer mode signal 4 sent from MAC8 and bus conversion signal 26 and transfer mode 1 of the bus 27 series that received the same JIA money
Transfer mode 100 is set to 1 according to the transfer mode setting register 9 and the transfer mode itj [ll wholesale IN No. 17, all the transfer mode signals 28 are generated, and the transfer information of the input/output device 22 is sent to DM.
Store in AC8.

次に、カウノタアドレス24が更新され、同期してバス
変換信号26が変化し、転送モード制御回路20がアク
ティブとなり、転送モード設定レジスタ9の情報により
・畝込モードは号17が送mされ、転送モード偏号14
に同期して、払込モード1言号7が送出さAする。この
時、バス接続バッファ6は、バス16側をアクセスして
29、人出力説1d2へI)MAC8に・心拍さnたI
M報を転送する。
Next, the counter address 24 is updated, the bus conversion signal 26 changes synchronously, the transfer mode control circuit 20 becomes active, and according to the information in the transfer mode setting register 9, No. 17 is sent in the ridge mode. , transfer mode polarization 14
In synchronization with , payment mode 1 word 7 is sent out. At this time, the bus connection buffer 6 accesses the bus 16 side and goes to the human output theory 1d2.
Forward M-news.

本実施列の特畝は、DMAC8と転送モード設定レジス
タ9と転送モード+jlJ +1ti1回路20に、異
種のバス27i山IJ 1111するための伝送モード
制御回路21とバス変換レジスタ23i追加すめの与で
異、1事のバス間の任、態の転送方向を指定可能fzD
MAチャネル1同岬が従来の同一転送り ivi Aと
同一時間で処4!可能となる。
The special feature of this implementation column is that a transmission mode control circuit 21 and a bus conversion register 23i are added to the DMAC 8, the transfer mode setting register 9, the transfer mode +jlJ +1ti1 circuit 20, and the transmission mode control circuit 21 and the bus conversion register 23i for converting different types of buses 27i and 1111. , it is possible to specify the direction of transfer of status between buses for one thing fzD
MA channel 1 same cape is the same transfer as conventional ivi A and processed 4 at the same time! It becomes possible.

1云送モード市Ij++14ルジスタと転送モード市I
I +410シツクのハードウェアの追ノ用により、第
4図に示す様に、システムバスの実効転送時間は、デー
タの転送方向が混圧しても、−回りD IM、 A転込
起励のみで0T能とlt)、/ステムバス実効転送時間
…は、PCMk方式、従来のI)MAA方式比較して、
最低でも2/3以下に短縮することができる。つまp、
i’CMA方式のフェッチサイクルFE及び従来のDM
A方式のモードセットザイクルIV S時間が、システ
ムバスSB、、アクセス時の実効転送時間に反映さ21
にと/z<、I)MAの1回のモードセットティクル以
外のDMA転送時間のみが実効転送時間ス で必る。
1 transfer mode city Ij++14 Lujista and transfer mode city I
As shown in Figure 4, due to the addition of hardware to the +410 switch, the effective transfer time of the system bus can be reduced by only -turn D IM, A transfer excitation, even if the data transfer direction is mixed. 0T capacity and lt), / stem bus effective transfer time... are compared with the PCMk method and the conventional I) MAA method.
It can be shortened to at least 2/3 or less. Tsuma p,
i'CMA fetch cycle FE and conventional DM
The mode set cycle IV S time of method A is reflected in the effective transfer time when accessing the system bus SB21
/z<, I) Only the DMA transfer time other than one mode set tickle of the MA is required in the effective transfer time.

第5図は一例として、2KW、1転送ナイクル2 / 
u sで、i’ CtV A方式、従来のi) ivl
 A方式、本発明のシステムバスの実効転送時間と転送
方向切替回数金示す。
Figure 5 shows, as an example, 2KW, 1 transfer Nykle 2/
u s, i' CtV A method, conventional i) ivl
The effective transfer time and number of transfer direction switching times of the system bus of the A method and the present invention are shown.

な2、図中13はD iV A Cデータバス、25は
データバスでめる。
2. In the figure, 13 is a DIV AC data bus, and 25 is a data bus.

〔発明の効果〕〔Effect of the invention〕

本発明によれば実効転送時間τ、PClJ、i’y方式
、DMA方式に比較し、商運で、かつ、転送方向切替回
数に竺く1ぺ存しない。
According to the present invention, compared to the PClJ, i'y method, and DMA method, the effective transfer time τ is less than 1 pe in terms of the number of times the transfer direction is switched.

図面の間車1.A例 第1図は従来のDMA転送方式の系統図、第2凶ハ鴛元
明の一犬ttIIJの同一システムバス、妥j続人出力
装置間の転送+i!I i卸ブロック図、第3図は本発
明の他の実施例で、異種の/ステムバス接11児人出力
装置t間の転送1間呻ブロック図、第4図は本発明とj
’ctnA、従来のDMA方式のバスの動作図、第5図
は本発明を利用した揚せの転送方向切替回収と実効転送
時間金示す図でろる。
Car between drawings 1. Example A Figure 1 is a system diagram of the conventional DMA transfer method, with the same system bus of the second gang member, TtIIJ, and transfer between compatible output devices +i! FIG. 3 is a block diagram of another embodiment of the present invention; FIG.
ctnA is a diagram of the operation of a conventional DMA type bus, and FIG. 5 is a diagram showing transfer direction switching and recovery and effective transfer time using the present invention.

Claims (1)

【特許請求の範囲】 1、 中央処理装置とダイレクトメモリアクセスチャネ
ルtもつ計算制御システムに於いて、+jt前記ダイレ
クトメモリアクセス4に、1に様の転送万同τ前記ダイ
レクトメモリ゛アクセスサイクル扉に4dボすること全
特徴とするチャネル市υ1卸装置。 2、特許請求の範囲第1項に於いて、転送方間?任意に
決定する転送モード制御レジスタを設けたことど特徴と
するナヤイル+ff1J 1卸装置。
[Claims] 1. In a calculation control system having a central processing unit and a direct memory access channel t, if +jt is transferred to the direct memory access 4, and τ is transferred to the direct memory access cycle door 4d. Channel City υ1 wholesale equipment with all the features of BO. 2. In claim 1, what is the transfer method? A Nayair+ff1J1 wholesale device characterized by being provided with a transfer mode control register that can be arbitrarily determined.
JP562784A 1984-01-18 1984-01-18 Channel controlling device Pending JPS60151764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP562784A JPS60151764A (en) 1984-01-18 1984-01-18 Channel controlling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP562784A JPS60151764A (en) 1984-01-18 1984-01-18 Channel controlling device

Publications (1)

Publication Number Publication Date
JPS60151764A true JPS60151764A (en) 1985-08-09

Family

ID=11616389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP562784A Pending JPS60151764A (en) 1984-01-18 1984-01-18 Channel controlling device

Country Status (1)

Country Link
JP (1) JPS60151764A (en)

Similar Documents

Publication Publication Date Title
US4744078A (en) Multiple path multiplexed host to network data communication system
JPS61141065A (en) Bus system
JPS629948B2 (en)
JPH0554144B2 (en)
US4896256A (en) Linking interface system using plural controllable bidirectional bus ports for intercommunication amoung split-bus intracommunication subsystems
GB1491520A (en) Computer with i/o control
JPH056223B2 (en)
US3249924A (en) Asynchronous data processing system
JPS60151764A (en) Channel controlling device
JPS5839331B2 (en) Request selection method
KR100367084B1 (en) DMA controller for the high speed image processor at real time
JPH05282242A (en) Bus control system
JPH0218639A (en) Module type memory
JP3399776B2 (en) Computer and method for transferring peripheral device control data in computer
JP2821176B2 (en) Information processing device
JPH02140852A (en) Dma transfer controller
JP3266610B2 (en) DMA transfer method
JP2820054B2 (en) Bus interface device
SU802957A1 (en) Communication system for computing system
JPS6063654A (en) Common parallel bus system
JPH01191964A (en) Transfer method for memory bus data
JPH1173403A (en) Crossbar switch control circuit
JPS63198144A (en) Direct memory access control system in multi-port memory
JPS61249161A (en) Bus control system
JPS59106024A (en) Dma controller