JPS58189719A - Data transfer control system - Google Patents

Data transfer control system

Info

Publication number
JPS58189719A
JPS58189719A JP7209682A JP7209682A JPS58189719A JP S58189719 A JPS58189719 A JP S58189719A JP 7209682 A JP7209682 A JP 7209682A JP 7209682 A JP7209682 A JP 7209682A JP S58189719 A JPS58189719 A JP S58189719A
Authority
JP
Japan
Prior art keywords
data
register
data area
address
size
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
JP7209682A
Other languages
Japanese (ja)
Inventor
Kaoru Hachiman
八幡 薫
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.)
Toshiba Engineering Corp
Original Assignee
Toshiba Engineering Corp
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 Toshiba Engineering Corp filed Critical Toshiba Engineering Corp
Priority to JP7209682A priority Critical patent/JPS58189719A/en
Publication of JPS58189719A publication Critical patent/JPS58189719A/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

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 perform processing at a high speed, by providing plural data areas within a main storage device and performing a DMA transfer while switching the data areas during the transfer of the data. CONSTITUTION:This system includes a size register 1 which sets the size of the data area of a main storage device MM by the information given from a CPU via an input/output bus 6 and a bus interface 7, a buffer number register 2 which sets the number of data areas of the MM, and address registers 3-5 which set the start address of each data area of the MM. A multiplexer MPX8 selects the start addresses given from the registers 3-5 and then delivers them to the MM via an interface 9 and a DMA bus 10. The input data is stored to an internal memory of an FIFO circuit 13. When the use of the bus 10 is permitted, a data is delivered to the data area of the MM from an address selected by an MPX8. A counter 11 counts down to switch the data area every time when the data on only the size set to the register 1 is transferred.

Description

【発明の詳細な説明】 本発明は電子計算機におけるデータ転送制葡方式に係り
、特にダイレクトメモリアクセス転送方式の改良に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transfer system in an electronic computer, and more particularly to an improvement in a direct memory access transfer system.

従来針算機システムのデータ転送方式に主記憶装置に対
して直接、データを転送するダイレクトメモリアクセス
(以下DMAと略称する)転送方式が知られている。と
ころでこのような転送方式を行なうDMA型アナログ入
力装置におけるデータ転送では主記憶装置の指定された
データエリアに対して指定されたポイント数に対応する
だけのデータを転送する。そしてこの転送が終了した後
、該データを使用しあるいは他の入出力機器へ複写する
ようにしている。しかしながらこのようなものでは各ポ
イントのすンプリングを繰返して行ないこのデータを読
み取るような場合にはデータ量が増大し必然的に処理速
度が低下することになる。
2. Description of the Related Art A direct memory access (hereinafter abbreviated as DMA) transfer method for directly transferring data to a main storage device is known as a data transfer method for conventional point-counter systems. By the way, in data transfer in a DMA type analog input device that performs such a transfer method, data corresponding to a specified number of points is transferred to a specified data area of the main storage device. After this transfer is completed, the data is used or copied to another input/output device. However, in such a system, when each point is repeatedly sampled and the data is read, the amount of data increases and the processing speed inevitably decreases.

本発明はt記の事情に鑑みてなされたもので主記憶装置
内に複数のデータエリアを設け、データ転送時にこのデ
ータエリアを切換えながらDMA転送方式を行なうこと
により高速処理を行なえるデータ転送制御方式を提供す
ることを目的とするものである。
The present invention has been made in view of the circumstances mentioned in section t.The present invention provides data transfer control that enables high-speed processing by providing a plurality of data areas in the main memory and performing a DMA transfer method while switching these data areas during data transfer. The purpose is to provide a method.

以下本発明の一実施例をvI1図に示すブロック図を参
照して詳細に説明する。図中1は主記憶装置におけるデ
ータエリアのサイズを格納するサイズレジスタ、2は該
主記憶装置におけるデータエリア数を格納するバッファ
数レジスタ、3.4.5は該主記憶装置におけるデータ
エリアのスタートアドレスを格納する第1乃至第3のア
ドレスレジスタである。なお上記各レジスタ1〜5には
初期設定時に図示しない中央処理装置から入出力バス6
およびインタフェイス7を介して所望のデータがセット
される。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the block diagram shown in FIG. vI1. In the figure, 1 is a size register that stores the size of the data area in the main memory, 2 is a buffer number register that stores the number of data areas in the main memory, and 3.4.5 is the start of the data area in the main memory. These are first to third address registers that store addresses. Note that each of the above registers 1 to 5 is connected to an input/output bus 6 from a central processing unit (not shown) at the time of initial setting.
And desired data is set via the interface 7.

そして8は第1乃至第3の各アドレスレジスタ3,4.
5からスタートアドレスを選択してDMAバスインター
フェース9、DMkバス10を介して出力し、主記憶装
置におけるスタートアドレスを指定するマルチプレクサ
である。
8 indicates each of the first to third address registers 3, 4 .
This multiplexer selects a start address from 5 and outputs it via the DMA bus interface 9 and DMk bus 10 to designate the start address in the main memory.

さらに11は主記憶装置に対してDMA転送を行なう都
度、カウントダウンするカウンタでこのカウント値をコ
ントローラ12へ与える。なお13は、たとえばアナロ
グボードでλ/D変換な打なったデジタルデータな一時
的に蓄える内部メモリナ有する先人先出回路()i’1
Fo)である。
Further, numeral 11 is a counter that counts down each time a DMA transfer is performed to the main storage device, and provides this count value to the controller 12. Note that 13 is a predecessor circuit ()i'1 having an internal memory that temporarily stores digital data generated by λ/D conversion on an analog board, for example.
Fo).

このような構成であれば図示しない中央処理装置から初
期設定情報を入出力バス6、インタフェイス7を介して
各レジスタ1,2・・・5に設定する。この後、中央処
理装置からのDMA転送を行なうスタート信号に応動し
て、たとえばアナログボードに対してサンプリングスタ
ート信号を与えて、アナログ信号をサンプリングしてデ
ジタル信号に変換して出力させる。またカウンタ1ノに
サイズレジスタ1の内容をロードし、この値とバッファ
数レジスタ2の出力とに応じてマルチプレクサ8により
第1乃至第3のアドレスレジスタ3,4.5から所定の
アドレスを選択する。そしてF記アナログボードから送
られるデジタルデータな先入先出回路13の内部メモリ
に蓄え、DMAバスが使用許可状態になるとマルチプレ
クサ8で選択されたアドレスから主記憶装置のたとえば
第1のデータエリアへデータを出力する。ここでサイズ
レジスタ1に設定したせイズだけデータの転送を終了す
る毎にカウンタ1ノをカウントダウンし、それによって
ボロー信号が出力されると主記憶装置のデータ転送中の
エリアが1杯になったものと判断する。そしてマルチプ
レクサ8により次のアドレスレジスタを選択し、次から
のデータを主記憶装置の第2のデータエリアへ出力して
記憶させる。なおこの時、カウンタ11は再びサイズレ
ジスタ1の内容をロードするとともに、中央処理装置・
\デーダニリアを切換えたことを知らせるだめにステー
タスデータをセットし、割込みを発生させる。そして入
力データをDMA転送によって主記憶装置の第2のデー
タエリアへ転送する。そ[、て再びカウンタノ1からボ
ロー信号が出力されると、次はマルチプレクサ8により
第3のアドレスレジスタ5の内容が選択され主記憶装置
の第3のデータエリアに切換えられる。そして主記憶装
置の第3のデータエリアが1杯になってもさらにアナロ
グボードからデータが送られる場合は再び第1のアドレ
スレジスタ3の内容がマルチプレクサ8::よって選択
され、書び主記憶装置の第1のデータエリア・\デー蔓
が転送される。
With such a configuration, initial setting information is set in each register 1, 2, . . . 5 from a central processing unit (not shown) via an input/output bus 6 and an interface 7. Thereafter, in response to a start signal for DMA transfer from the central processing unit, a sampling start signal is given to the analog board, for example, to sample the analog signal, convert it to a digital signal, and output it. Also, the contents of the size register 1 are loaded into the counter 1, and a predetermined address is selected from the first to third address registers 3, 4.5 by the multiplexer 8 according to this value and the output of the buffer number register 2. . The digital data sent from the analog board F is stored in the internal memory of the first-in, first-out circuit 13, and when the DMA bus is enabled, the data is transferred from the address selected by the multiplexer 8 to, for example, the first data area of the main memory. Output. Each time the data transfer is completed by the size set in size register 1, the counter 1 is counted down, and when a borrow signal is output, the area of the main memory where the data is being transferred becomes full. judge it as something. Then, the next address register is selected by the multiplexer 8, and the next data is output to the second data area of the main memory and stored therein. At this time, the counter 11 loads the contents of the size register 1 again, and the central processing unit
\Set status data to notify that data has been switched and generate an interrupt. The input data is then transferred to the second data area of the main storage device by DMA transfer. Then, when the borrow signal is output again from the counter 1, the contents of the third address register 5 are selected by the multiplexer 8 and switched to the third data area of the main memory. Even if the third data area of the main memory is full, if further data is to be sent from the analog board, the contents of the first address register 3 are again selected by the multiplexer 8 and written to the main memory. The first data area/data area of is transferred.

すなわち主記憶装置内の記憶データは第2図に示すメモ
リマツプのように第1.第2.第3のデータエリアD、
、D2.D3が順次に配−゛され、その各先頭アドレス
AI r A2+ A3がアドレスレジスタ3,4.5
によって指定されるスタートアドレスになる。なおこの
データエリアの数は3エリアに限定されるものではなく
、適宜なエリア数を設定できることは勿論である。また
その配置、切換え順序等も適宜に設定できることは勿論
である。
That is, the stored data in the main memory is stored in the first . Second. third data area D,
, D2. D3 are sequentially distributed, and each leading address AIrA2+A3 is assigned to address registers 3, 4.5.
becomes the start address specified by . Note that the number of data areas is not limited to three areas, and it goes without saying that an appropriate number of areas can be set. It goes without saying that the arrangement, switching order, etc. can be set as appropriate.

このようにしてDMA転送が行なわれると、中央処理装
置はアドレスレジスタ3,4.5の切換時の割込み信号
およびステータスデータで選択されたデータエリアを知
ることができ、たとえばデータの転送の終了とともに該
データエリアのデータを他の入出力機器へ複写する。
When a DMA transfer is performed in this way, the central processing unit can know the selected data area by the interrupt signal and status data when the address registers 3, 4.5 are switched, and for example, when the data transfer is completed, Copy the data in the data area to another input/output device.

以F詳述したように本発明は主記憶装置内に複数のデー
タエリアを設け、DMA転送時に上記l−タエリアを順
次に切換えて用いるようにしたので選択されたデータエ
リアに対して一括して大量のデータを高速に転送するこ
とができ処理速度の高速化を図ることができる。さらに
DMA転送を行なうことによりDMAバスを用いてデー
タ転送を行ないつつ入出力パスを介して他のデータエリ
アのデータを入出力機器等へ複写することができる。し
たがってこれらのデータ転送を並用することによってさ
らに大量のデータの高速転送を行なうことかで考るデー
タ転送制御方式を提供することができる。
As described in detail below, in the present invention, a plurality of data areas are provided in the main memory, and the data areas are sequentially switched and used during DMA transfer. A large amount of data can be transferred at high speed, and processing speed can be increased. Furthermore, by performing DMA transfer, data in other data areas can be copied to input/output equipment etc. via the input/output path while transferring data using the DMA bus. Therefore, by using these data transfers in parallel, it is possible to provide a data transfer control system that considers whether a large amount of data can be transferred at high speed.

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

第1図は本発明の一実施例を示すブロック図、第2図は
L紀実施例のメモリーマツプを示す図である。 1・・サイズレジスタ 2・・バッファ数レジスタ 3.4.5・・・アドレスレジスタ 6・・・入出力バス 8・・・マルチプレクサ 10・・DMAパス 11 ・カウンタ
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a diagram showing a memory map of the L era embodiment. 1...Size register 2...Buffer number register 3.4.5...Address register 6...I/O bus 8...Multiplexer 10...DMA path 11 -Counter

Claims (1)

【特許請求の範囲】[Claims] 入力データをダイレクトメモリアクセス転送方式によっ
てダイレクトメモリアクセスパスな介して主記憶装置の
複数のデータエリアへ転送するものにおいて、中央処理
装置から与えられル情報によって主記憶装置のデータエ
リアのサイズを設定されるサイズレジスタと、上記中央
処理装置から与えられる情報によって主記憶装置に設け
たデータエリアの数を設定されるバッファ数レジスタと
、を肥土記憶装置の各データエリアに対応して設けられ
中央処理装置がら与えられる情報によって主記憶装置の
各データエリアのスタートアドレスを設定されるアドレ
スレジスタと、各アドレスレジスタに設定されたスター
トアドレスを順次に選択するマルチプレクサと、中央処
理装置から与えられるダイレクトメモリアクセスの指令
に応動してサイズレジスタの値を設定されかつこの設定
値と転送したデータ数が一致する毎に上記マルチプレク
サを制御方式。
When input data is transferred to multiple data areas in the main memory via a direct memory access path using the direct memory access transfer method, the size of the data area in the main memory is set based on information given from the central processing unit. A size register for setting the number of data areas provided in the main storage device based on information given from the central processing unit, and a buffer number register for setting the number of data areas provided in the main storage device, are provided corresponding to each data area of the fertilization storage device. An address register in which the start address of each data area of the main memory is set based on information provided by the device, a multiplexer that sequentially selects the start address set in each address register, and direct memory access provided by the central processing unit. A method in which the value of the size register is set in response to a command from the controller, and the multiplexer is controlled every time the set value matches the number of transferred data.
JP7209682A 1982-04-28 1982-04-28 Data transfer control system Pending JPS58189719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7209682A JPS58189719A (en) 1982-04-28 1982-04-28 Data transfer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7209682A JPS58189719A (en) 1982-04-28 1982-04-28 Data transfer control system

Publications (1)

Publication Number Publication Date
JPS58189719A true JPS58189719A (en) 1983-11-05

Family

ID=13479531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7209682A Pending JPS58189719A (en) 1982-04-28 1982-04-28 Data transfer control system

Country Status (1)

Country Link
JP (1) JPS58189719A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6057457A (en) * 1983-09-07 1985-04-03 Ricoh Co Ltd Dma device
JPS61851A (en) * 1984-06-14 1986-01-06 Nec Corp Data chain system of direct memory access circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6057457A (en) * 1983-09-07 1985-04-03 Ricoh Co Ltd Dma device
JPH0554143B2 (en) * 1983-09-07 1993-08-11 Ricoh Kk
JPS61851A (en) * 1984-06-14 1986-01-06 Nec Corp Data chain system of direct memory access circuit

Similar Documents

Publication Publication Date Title
EP0333594B1 (en) Direct memory access controller
US5961640A (en) Virtual contiguous FIFO having the provision of packet-driven automatic endian conversion
JPH0760423B2 (en) Data transfer method
US5388246A (en) Arrangement and method of controlling memory access requests in digital data processing system
US5944788A (en) Message transfer system and control method for multiple sending and receiving modules in a network supporting hardware and software emulated modules
EP0367995A2 (en) Vector data transfer controller
US5999969A (en) Interrupt handling system for message transfers in network having mixed hardware and software emulated modules
US5983266A (en) Control method for message communication in network supporting software emulated modules and hardware implemented modules
JPS58189719A (en) Data transfer control system
US5842003A (en) Auxiliary message arbitrator for digital message transfer system in network of hardware modules
JPH02171843A (en) Interface device
JPH0512125A (en) Address conversion system
JPH0833869B2 (en) Data processing device
JPH10334038A (en) Data transfer device
JPH0769885B2 (en) Data transfer device
JP2531209B2 (en) Channel device
JPS6220041A (en) Asynchronous data transfer circuit for data processor
JPS6299827A (en) Buffer control system
JPS5922278A (en) Writing method of memory
JPS63228488A (en) Pushup storage
JPH0248749A (en) Buffer storage control device
JPH06161939A (en) Integrated circuit
JPS58161033A (en) Analog scan system
JPS58114299A (en) Test data distribution system
JPH04209059A (en) Semiconductor integrated circuit