JPH02227761A - Data transfer controller and data processing system - Google Patents

Data transfer controller and data processing system

Info

Publication number
JPH02227761A
JPH02227761A JP4651689A JP4651689A JPH02227761A JP H02227761 A JPH02227761 A JP H02227761A JP 4651689 A JP4651689 A JP 4651689A JP 4651689 A JP4651689 A JP 4651689A JP H02227761 A JPH02227761 A JP H02227761A
Authority
JP
Japan
Prior art keywords
memory
data
data transfer
initialization
bus
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
JP4651689A
Other languages
Japanese (ja)
Inventor
Makoto Yamada
真 山田
Shigeaki Yoshida
吉田 重秋
Ryoichi Sano
亮一 佐野
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 Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer Engineering 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 Ltd, Hitachi Microcomputer Engineering Ltd filed Critical Hitachi Ltd
Priority to JP4651689A priority Critical patent/JPH02227761A/en
Publication of JPH02227761A publication Critical patent/JPH02227761A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To shorten the initializing time by using a memory means to set the information which designates a memory area and the initialization data and controlling the writing operations based on the set information. CONSTITUTION:A DMAC 2 performs the data transfer control in place of the access control of a CPU 1 and carries out the data control between memories as well as between a memory 3 and an input/output circuit. A function is added to initialize the memory 3 in a prescribed timing in a system working state and to rewrite a memory cell array of the memory 3 into a prescribed data pattern. The information which designates a memory area in the memory 3 and the initialization data are set based on the control information produced by the CPU 1. The CPU 1 writes the initialization data into the memory area and controls it based on the information set in the memory 3. As a result, the access time is minimized and the initializing time is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はメモリに対するイニシャライズ技術さらにはデ
ータ転送制御装置やメモリを含むデータ処理システムに
関し、例えば、ダイレクト・メモリ・アクセス・コント
ローラとメモリを含むシングルボードコンピュータに適
用して有効な技術に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory initialization technique and a data processing system including a data transfer control device and a memory. The present invention relates to technology that is effective when applied to board computers.

〔従来技術〕[Prior art]

プロセッサやメモリを含むデータ処理システムにおいて
は、電源を投入したり、メモリのデータ領域設定を行っ
たりするとき、メモリに対するイニシャライズが行われ
る。このようなイニシャライズは、システム動作の安定
化や信頼性向上のために必要とされるものであり、例え
ば電源投入後にシステムの状態チエツクを行うようなと
き、メモリは論理「1」又は論理rOJのような一定の
データパターンに初期化される。また、ビデオRAM(
ランダム・アクセス・メモリ)のような画像メモリに対
しては、描画を行う性質上、システム動作中においても
イニシャライズが必要になる場合がある。
In a data processing system including a processor and memory, the memory is initialized when the power is turned on or when the data area of the memory is set. Such initialization is necessary to stabilize system operation and improve reliability. For example, when checking the system status after power is turned on, the memory is set to logic "1" or logic rOJ. It is initialized to a certain data pattern such as In addition, video RAM (
Image memories such as random access memory (random access memory) may need to be initialized even during system operation due to the nature of drawing.

メモリに対するイニシャライズは基本的に書き込みサイ
クルを繰り返すことによって行われるため、システム全
体の制御を司るようなプロセッサがメモリのイニシャラ
イズを行っていたのではプロセッサに負担がかかり、効
率的にもしくは高速にメモリのイニシャライズを行うこ
とができない。
Initializing memory is basically done by repeating write cycles, so if the processor that controls the entire system were to initialize the memory, it would place a burden on the processor, and it would be difficult to use the memory efficiently or quickly. Unable to initialize.

そこで、システム中にダイレクト・メモリ・アクセス・
コントローラを含む場合には、プロセッサの負担軽減並
びにイニシャライズ動作の高速化という観点から当該ダ
イレフ1〜・メモリ・アクセス・コントローラを利用す
ることができる。
Therefore, there is no direct memory access in the system.
When a controller is included, the memory access controller can be used from the viewpoint of reducing the burden on the processor and speeding up the initialization operation.

ところで、ダイレクト・メモリ・アクセス・コン1−ロ
ーラによるデータ転送制御は、デュアル・アドレシング
方式とシングル・アドレシング方式に大別され、前者の
場合には、ダイレクト・メモリ・アクセス・コントロー
ラが転送元回路をリード・アクセスしてデータを読み込
み、読み込んだデータを転送先回路にライ1−・アクセ
スする。また、後者の場合には、例えば転送元回路をリ
ードアクセスしてデータをバスに読み出すと共に、入出
力回路のような転送先回路の動作をストローブ信号など
によって制御して直接そのバス上のデータを書き込み制
御する。また、シングル・アドレシングモードにおいて
は、入出力回路のような転送元回路からメモリのような
転送先回路へのデータ転送にも利用することができる。
By the way, data transfer control by the direct memory access controller 1-roller is broadly divided into dual addressing method and single addressing method. In the former case, the direct memory access controller controls the transfer source circuit. Read data is read, and the read data is accessed to the transfer destination circuit. In the latter case, for example, in addition to read accessing the transfer source circuit and reading the data onto the bus, the operation of the transfer destination circuit such as the input/output circuit is controlled by a strobe signal, etc., and the data on the bus is directly read. Write control. Furthermore, in single addressing mode, it can also be used for data transfer from a transfer source circuit such as an input/output circuit to a transfer destination circuit such as a memory.

したがって、デュアル・アドレシング方式によってメモ
リをイニシャライズする場合にはデータ転送先回路とし
ての当該メモリのアクセス回数分だけ転送元回路をリー
ドアクセスしなければならず、バスサイクルの起動回数
が増えてしまう。また、シングル・アドレシング方式に
よってメモリをイニシャライズする場合であっても、ダ
イレクト・メモリ・アクセス・コントローラは、外部の
転送元回路及び転送先回路の双方を制御しなければなら
ず、何れの方式においても、ダイレフ1〜・メモリ・ア
クセス・コントローラは、転送元回路並びに転送先回路
の双方をアクセス制御するための様々な処理に時間を費
やさなければならない。
Therefore, when a memory is initialized using the dual addressing method, the transfer source circuit must be read accessed by the number of times the memory is accessed as the data transfer destination circuit, which increases the number of bus cycle activations. Furthermore, even when the memory is initialized using the single addressing method, the direct memory access controller must control both the external transfer source circuit and the transfer destination circuit. , Dairef 1 - The memory access controller must spend time on various processes for controlling access to both the transfer source circuit and the transfer destination circuit.

尚、ダイレクト・メモリ・アクセス・コントローラにつ
いて記載された文献の例としては昭和60年9月株式会
社日立製作所発行の「日立マイクロコンピュータデータ
ブツク8/16ビツトマイクロコンピユータ周辺LSI
J P389〜P442がある。
An example of a document describing direct memory access controllers is "Hitachi Microcomputer Data Book 8/16-bit Microcomputer Peripheral LSI" published by Hitachi, Ltd. in September 1985.
There are JP389 to P442.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、メモリのイニシャライズにダイレクト・
メモリ・アクセス・コン1−ローラを利用しても、従来
のダイレクト・メモリ・アクセス・コントローラにはメ
モリのイニシャラズを行うための専用機能が備えられて
いないため、イニシャライズ対象メモリのアクセス回数
分だけ転送元回路をリードアクセスすることが必要にな
ったり、外部の転送元回路及び転送先回路の双方に対し
て各種の制御を行わなければならなくなり、イニシャラ
イズ対象メモリの記憶容量が増大するに従ってメモリの
イニシャライズに要する時間が著しく増大するという問
題点があった。
However, there is no direct way to initialize memory.
Even if a memory access controller is used, conventional direct memory access controllers do not have a dedicated function to initialize memory, so only the number of times the memory to be initialized is accessed is transferred. It becomes necessary to read access the source circuit, perform various types of control over both the external transfer source circuit and the transfer destination circuit, and as the storage capacity of the memory to be initialized increases, the memory is initialized. There was a problem in that the time required for this process increased significantly.

本発明の目的は、メモリのイニシャライズ時間を短縮す
ることができるデータ転送制御装置さらにはそのデータ
転送制御装置を含むデータ処理システムを提供すること
にある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data transfer control device that can shorten memory initialization time, and a data processing system including the data transfer control device.

本発明の前記ならびにそのほかの目的と新規な特徴は、
本明細書の記述及び添付図面から明らかになるであろう
The above and other objects and novel features of the present invention include:
It will become clear from the description of this specification and the accompanying drawings.

〔課題を解決するための手段〕[Means to solve the problem]

本願において開示される発明のうち代表的なものの概要
を簡単に説明すれば下記の通りである。
A brief overview of typical inventions disclosed in this application is as follows.

すなわち、ダイレクト・メモリ・アクセス・コントロー
ラのようなデータ転送制御装置に、メモリ領域を指定す
るための情報とイニシャライズデータとを任意に設定可
能な記憶手段と、この記憶手段に設定された情報に従っ
て上記メモリ領域にイニシャライズデータを書き込み制
御して当該メモリ領域をイニシャライズするための制御
手段とを設けるものである。このとき上記制御手段は、
特定の制御情報を受け取ることにより、他のデータ転送
形態にも兼用可能なデータ転送チャネルに対して、メモ
リ領域をイニシャライズするための動作を指示するよう
に構成することができる。
That is, a data transfer control device such as a direct memory access controller is provided with a storage means that can arbitrarily set information for specifying a memory area and initialization data, and the above-mentioned information is stored in accordance with the information set in this storage means. A control means for initializing the memory area by controlling writing of initialization data into the memory area is provided. At this time, the control means
By receiving specific control information, it is possible to instruct a data transfer channel that can also be used for other data transfer formats to perform an operation for initializing a memory area.

少なくとも中央処理装置とメモリを含むデータ処理ステ
ムには上記データ転送制御装置を含めることができ、こ
の場合に、当該データ転送制御装置を、中央処理装置か
ら発行されるイニシャライズコマンドなどの特定の制御
情報を受付けたときにイニシャライズデータの書き込み
制御を行うような動作モードを実行可能に構成すること
ができる。
A data processing system including at least a central processing unit and a memory may include the data transfer control device, and in this case, the data transfer control device may be controlled by specific control information such as an initialization command issued from the central processing unit. It is possible to configure an operation mode in which writing control of initialization data is performed when a request is received.

このようなデータ処理システムにおいては、上記データ
転送制御装置とメモリを結合する第1バスと、上記中央
処理装置が結合される第2バスとを、ゲート手段を介し
て選択的に分離可能にし、メモリをイニシャライズする
ときに分離させるようにすることができる。
In such a data processing system, a first bus connecting the data transfer control device and memory and a second bus connecting the central processing unit can be selectively separated via gate means, It is possible to separate the memory when initializing it.

〔作 用〕[For production]

上記した手段によれば、メモリのイニシャライズ動作を
行うデータ転送制御装置は、イニシャライズ対象メモリ
との間だけでイニシャライズデータやメモリアドレスさ
らには必要なハンドシェーク信号をやりとりすればよく
なるから、このことが、データ転送制御装置が起動すべ
きバスサイクル数や外部に対するアクセス制御時間を最
小限にするように作用し、その結果として、メモリに対
するイニシャライズ動作時間の短縮を達成するものであ
る。
According to the above-mentioned means, the data transfer control device that performs the memory initialization operation only needs to exchange initialization data, memory addresses, and necessary handshake signals with the memory to be initialized. The transfer control device acts to minimize the number of bus cycles to be activated and the time required to control access to the outside, and as a result, the initialization time for the memory can be shortened.

中央処理装置から発行されるような特定の制御情報に基
づいて、他のデータ転送形態にも兼用可能なデータ転送
チャネルを用いてメモリのイニシャライズ動作を行うよ
うにすることは、イニシャライズ動作のためのデータ転
送チャネルを専用化して追加する必要がないため、既存
のデータ転送制御装置にメモリのイニシャライズ機能を
組み込むことを容易化するように作用する。
Performing the memory initialization operation using a data transfer channel that can also be used for other data transfer formats based on specific control information issued from the central processing unit is an effective method for initializing the initialization operation. Since there is no need to dedicate and add a data transfer channel, the memory initialization function can be easily incorporated into an existing data transfer control device.

また、メモリをイニシャライズするとき、上記ゲート手
段によって達成される第1バスと第2バスの分離状態は
、メモリイニシャライズ動作に並行して中央処理装置の
外部アクセス動作を可能とするように作用する。
Further, when initializing the memory, the separation state between the first bus and the second bus achieved by the gate means acts to enable external access operations of the central processing unit in parallel with the memory initialization operation.

〔実施例〕〔Example〕

第2図には本発明の一実施例であるシングルボードコン
ピュータのブロック図が示される。同図に示されるシン
グルボードコンピュータは、特に制限されないが、夫々
別々のチップもしくは半導体集積回路で構成された中央
処理装置(以下単にCPUとも記す)1、ダイレクト・
メモリ・アクセス・コントローラ(以下単にDMACと
も記す)2、CPUIの動作プログラムを含まないメモ
リ3、及びその他のメモリやコントローラさらには入出
力回路を個別的に含む周辺回路群4が配線基板上に搭載
され、そのDMAC2とメモリ3が例えば8ビツトの第
1バス5に結合されると共に、CPUIと周辺回路群4
などが例えば8ビツトの第2バス6に結合され、双方の
バス5,6はグー1−手段の一例である双方向型のバッ
ファ回路7により選択的に接続/分離可能にされている
FIG. 2 shows a block diagram of a single board computer which is an embodiment of the present invention. The single-board computer shown in the figure includes, but is not particularly limited to, a central processing unit (hereinafter simply referred to as CPU) 1, which is composed of separate chips or semiconductor integrated circuits, and a direct processor.
A memory access controller (hereinafter simply referred to as DMAC) 2, a memory 3 that does not include a CPU operation program, and a peripheral circuit group 4 that individually includes other memories, controllers, and input/output circuits are mounted on the wiring board. The DMAC 2 and memory 3 are coupled to, for example, an 8-bit first bus 5, and the CPU and peripheral circuit group 4
are connected to, for example, an 8-bit second bus 6, and both buses 5 and 6 can be selectively connected/separated by a bidirectional buffer circuit 7, which is an example of a grouping means.

上記DMAC2はCPUIのアクセス制御に代えてデー
タ転送制御を行うためのコントローラである。このDM
AC2は、メモリ間のデータ転送制御やメモリと入出力
回路の間のデータ転送制御に利用されることはいうまで
もないが、特に、電源投入後あるいはシステム動作中に
おける所定のタイミングで上記メモリ3をイニシャライ
ズする機能を備えている。ここで、メモリ3のイニシャ
ライズとは、当該メモリ3の図示しないメモリセルアレ
イを論理「1」又は論理rOJのような所定のデータパ
ターンに書き換えることである。
The DMAC 2 is a controller for controlling data transfer in place of CPUI access control. This DM
It goes without saying that AC2 is used to control data transfer between memories and between memory and input/output circuits, but in particular, AC2 is used to control data transfer between memories and between memory and input/output circuits. It has a function to initialize. Here, initializing the memory 3 means rewriting a memory cell array (not shown) of the memory 3 to a predetermined data pattern such as logic "1" or logic rOJ.

上記DMAC2の詳細な一例が示されている第1図に従
えば、当該DMAC2は、特に制限されないが、データ
転送のための第1チヤネルと第2チヤネルを内蔵する。
According to FIG. 1, which shows a detailed example of the DMAC 2, the DMAC 2 includes a first channel and a second channel for data transfer, although this is not particularly limited.

第1チヤネルはメモリ間のデータ転送やメモリと入出力
回路の間のデータ転送に利用されるものであり、転送元
アドレスを指定する第2レジスタREG2、転送先アド
レスを指定する第2レジスタREG2、及び転送語数を
指定する第3レジスタREG3を有し、それらはCPU
Iによって任意にデータ設定される。一方、第2チヤネ
ルはメモリと入出力回路の間でのデータ転送に利用され
ると共に1本実施例では特にメモリ3に対するイニシャ
ライズにも利用される。
The first channel is used for data transfer between memories and data transfer between memory and input/output circuit, and includes a second register REG2 that specifies the transfer source address, a second register REG2 that specifies the transfer destination address, and a third register REG3 that specifies the number of words to be transferred.
Data is arbitrarily set by I. On the other hand, the second channel is used for data transfer between the memory and the input/output circuit, and in this embodiment, it is also used for initializing the memory 3 in particular.

この第2チヤネルは、CPUIによって任意にデータ設
定可能な第4レジスタREG 4、第5レジスタRE 
G、 5、及び第6レジスタを有し、メモリと入出力回
路の間のデータ転送では、第4レジスタREG4にはメ
モリアドレスが設定され、第5レジスタREG5には入
出力回路のアドレスが設定され、第6レジスタREG6
には転送語数が設定される。メモリ3をイニシャライズ
する場合には、第4レジスタREG4にはメモリ3のア
クセスアドレスが設定され、第5レジスタ5にはメモリ
3に書き込むべきイニシャライズデータが設定され、第
6レジスタREG6にはイニシャライズに必要なデータ
転送語数が設定される。尚、イニシャライズデータは、
メモリ3のデータ入出力ビット数に対応され、例えばメ
モリ3がバイl−中位でデータを入出力する場合には、
イニシャライズデータはバイトデータとされる。
This second channel has a fourth register REG 4 and a fifth register RE, which can be set arbitrarily by the CPU.
In data transfer between the memory and the input/output circuit, the memory address is set in the fourth register REG4, and the address of the input/output circuit is set in the fifth register REG5. , sixth register REG6
The number of words to be transferred is set. When initializing the memory 3, the access address of the memory 3 is set in the fourth register REG4, the initialization data to be written to the memory 3 is set in the fifth register 5, and the data necessary for initialization is set in the sixth register REG6. The number of data transfer words is set. In addition, the initialization data is
It corresponds to the number of data input/output bits of the memory 3. For example, when the memory 3 inputs/outputs data in the by-l-middle order,
The initialization data is byte data.

第1及び第2チヤネルに対するイネーブルビットなどの
情報はステータスレジスタ5REGに設定される。例え
ば第1チヤネルに対応するイネーブルビットに「1」が
書き込まれると第1チヤネルによるデータ転送動作が可
能になり、第2チャネルに対応するイネーブルピッ1−
に「1」が書き込まれると第2チヤネルによるデータ転
送動作が可能になる。
Information such as enable bits for the first and second channels is set in the status register 5REG. For example, when "1" is written to the enable bit corresponding to the first channel, data transfer operation by the first channel is enabled, and the enable bit corresponding to the second channel is written to "1".
When "1" is written in , data transfer operation via the second channel becomes possible.

第1及び第2チヤネルに対する動作モードはモードレジ
スタMREG及びモードレジスタの一種とされるイニシ
ャライズコマンドレジスタ(、REGの設定内容によっ
て決定される。イニシャライズコマンドレジスタCRE
Gは第2チヤネルにメモリ3のイニシャライズ動作をさ
せるための専用レジスタとされ、単数もしくは複数ビッ
トから成るイニシャライズコマンドのような制御情報が
第1バス5及び第2バス6を介してCPUIによって設
定される。モードレジスタMREGは第1及び第2チヤ
ネルにおけるその他のデータ転送モードを指定するため
のレジスタとされ、第1及び第2チヤネルによるデータ
転送形態を指定するための制御ビット群が設定される。
The operation mode for the first and second channels is determined by the settings of the mode register MREG and the initialization command register (REG), which is a type of mode register.
G is a dedicated register for causing the second channel to initialize the memory 3, and control information such as an initialization command consisting of one or more bits is set by the CPU via the first bus 5 and the second bus 6. Ru. The mode register MREG is a register for specifying other data transfer modes in the first and second channels, and has a control bit group set therein for specifying data transfer modes in the first and second channels.

DMAC2に対するデータ転送制御動作の要求は、デー
タ転送形態により相違され、周辺回路とメモリ間のデー
タ転送要求は周辺回路群4に含まれる入出力回路から与
えられる転送要求信号DREQI、DREQ2によって
指示され、またメモリとメモリの間のデータ転送要求は
CPUIによるステータスレジスタ5REGやモードレ
ジスタMREGに対する所定の条件設定に呼応して与え
られ、さらにメモリ3のイニシャライズ動作はCPUI
から与えられるイニシャライズコマンドにより与えられ
る。上記転送要求信号DREQIは第1チヤネルに、そ
して転送要求信号DREQ2は第2チヤネルに対応され
、それら信号は転送要求コントローラ10に与えられる
Requests for data transfer control operations for the DMAC 2 differ depending on the data transfer format, and data transfer requests between peripheral circuits and memory are instructed by transfer request signals DREQI and DREQ2 applied from input/output circuits included in the peripheral circuit group 4. Further, data transfer requests between memories are given in response to predetermined condition settings for the status register 5REG and mode register MREG by the CPU, and furthermore, the initialization operation of the memory 3 is performed by the CPU.
It is given by the initialize command given from . The transfer request signal DREQI corresponds to the first channel, and the transfer request signal DREQ2 corresponds to the second channel, and these signals are applied to the transfer request controller 10.

転送要求コントローラ10は、特に制限されないが、転
送要求信号DREQI、DREQ2が競合した場合に両
者による要求を所定の優先順位に従って調停すると共に
、受付けた転送要求に応答する転送アクルッジ信号DA
CKI又はDACK2を対応する転送要求元に返す。デ
ータ転送要求が認められた入出力回路は、特に制限され
ないが、割込みなどの手段によりDMAC2によるデー
タ転送制御に必要な条件設定をCPUIに指示する。例
えば、第1チヤネルを利用して入出力回路からメモリへ
データ転送する場合に、第ルジスタREGIには入出力
回路のアドレスが、第2レジスタREG2にはメモリの
先頭アドレスが、そして第3レジスタREG3には転送
語数が設定されると共に、ステータスレジスタ5REG
には第1チヤネルのイネーブルビットなどに「ユ」が書
き込まれ、更にモードレジスタMREGには当該データ
転送形態を指示する制御情報が書き込まれる。
Although not particularly limited, the transfer request controller 10 arbitrates the requests from the two in accordance with a predetermined priority when the transfer request signals DREQI and DREQ2 conflict, and also generates a transfer acknowledge signal DA in response to an accepted transfer request.
Return CKI or DACK2 to the corresponding transfer request source. The input/output circuit for which the data transfer request has been accepted instructs the CPU to set conditions necessary for data transfer control by the DMAC 2 by means such as an interrupt, although this is not particularly limited. For example, when data is transferred from the input/output circuit to the memory using the first channel, the address of the input/output circuit is stored in the first register REGI, the start address of the memory is stored in the second register REG2, and the third register REG3 The number of words to be transferred is set in , and the status register 5REG
``U'' is written in the enable bit of the first channel, and control information instructing the data transfer mode is written in the mode register MREG.

CPUIがメモリ間のデータ転送を要求する場合には、
その前に、CPUIは、第1チヤネル用のレジスタRE
GIに転送元メモリの先頭アドレスを設定すると共に、
レジスタREG2に転送先メモリの先頭アドレスを設定
し、更にレジスタREG3に転送語数を設定し、その後
モードレジスタMREGに当該データ転送形態を指示す
る制御情報を書き込み、そして、ステータスレジスタ5
REGに第1チヤネルのイネーブルビットなどに「1」
を書き込む。
When the CPUI requests data transfer between memories,
Before that, the CPUI registers RE for the first channel.
In addition to setting the start address of the transfer source memory in GI,
Set the start address of the transfer destination memory in register REG2, further set the number of transfer words in register REG3, then write control information instructing the data transfer form in mode register MREG, and then write control information instructing the data transfer form to mode register MREG.
Set "1" to the enable bit of the first channel in REG.
Write.

CPUIがメモリ3のイニシャライズ動作を要求する場
合には、その前に第2チヤネル用のレジスタREG4に
メモリ3の先頭アドレスを、そしてレジスタREG5に
イニシャライズデータを設定し、更にレジスタREG6
に転送語数を設定する。その後に、イニシャライズコマ
ンドレジスタCREGにイニシャライズコマンドを書き
込む。
When the CPUI requests the initialization operation of the memory 3, first set the start address of the memory 3 in the register REG4 for the second channel, the initialization data in the register REG5, and then set the initialization data in the register REG6.
Set the number of words to be transferred. After that, an initialize command is written to the initialize command register CREG.

上記ステータスレジスタ5REG、モードレジスタMR
EG、並びにイニシャライズコマンドレジスタCREG
の設定内容、及び転送要求コントローラ10によって受
付けられたチャネルの種別は、データ転送コントローラ
11によって参照され、これに従ってデータ転送コント
ローラ11は上記各種データ転送要求のうちの1つに対
してデータ転送制御を行う。データ転送制御に当たりデ
ータ転送コントローラ11はバスコントローラ12に上
記バスリクエスト信号BREQをアサートさせ、これに
対する応答信号としてのパスアクルッジ信号BACKが
アサートされることによりバス権を獲得してデータ転送
動作を開始する。
Above status register 5REG, mode register MR
EG and initialize command register CREG
The setting contents and the type of channel accepted by the transfer request controller 10 are referenced by the data transfer controller 11, and in accordance with this, the data transfer controller 11 performs data transfer control for one of the various data transfer requests. conduct. In data transfer control, the data transfer controller 11 causes the bus controller 12 to assert the bus request signal BREQ, and when the pass acknowledge signal BACK is asserted as a response signal to this, the data transfer controller 11 acquires the bus right and starts the data transfer operation.

第1チヤネルを介してメモリ間のデータ転送を行うとき
は、第2レジスタREG2の転送元アドレスにより転送
元回路をリードアクセスしてデータを図示しないレジス
タに読み込み、読み込んだデータを第2レジスタREG
2の転送先アドレスで指定されるメモリ領域にライトア
クセスする。
When data is transferred between memories via the first channel, the transfer source circuit is read accessed using the transfer source address of the second register REG2, data is read into a register (not shown), and the read data is transferred to the second register REG2.
Write access to the memory area specified by the transfer destination address in step 2.

このときのメモリリード/ライトアクセスに必要なアク
セス制御信号やメモリからの応答信号などのハンドシェ
ーク信号は、信号線群14に含まれる所定の信号線を介
してやりとりされる。このようにして1バイト単位でデ
ータ転送を行うとき、インクリメンタ/デクリメンタ1
3は、第ルジスタREGIに設定された転送元先頭メモ
リア1−レスと第2レジスタREG2に設定された転送
先の先頭メモリアドレスを1バイトのデータ転送動作毎
にモードレジスタMREGの設定内容に従ってインクリ
メント又はデクリメントして、第1−レジスタREGI
及び第2レジスタREG2にネクストアドレスを保有さ
せていく。第3レジスタREG3に設定されている転送
語数は1バイトのブタ転送動作毎にインクリメンタ/デ
クリメンタ13によりデクリメントされ、その値がゼロ
クリアされたことをデータ転送コントローラ11が検出
することによりDMAC2は当該データ転送動作を終了
する。斯るデータ転送動作の終了は、バスコントローラ
12がバスリクエスト信号BREQをネゲートすること
によりCPUIに通知される。
Handshake signals such as access control signals and response signals from the memory necessary for memory read/write access at this time are exchanged via predetermined signal lines included in the signal line group 14. When data is transferred in 1-byte units in this way, incrementer/decrementer 1
3 increments or increments the transfer source start memory address set in the first register REGI and the transfer destination start memory address set in the second register REG2 according to the settings of the mode register MREG for each 1-byte data transfer operation. Decrement the first register REGI
And the next address is held in the second register REG2. The number of transfer words set in the third register REG3 is decremented by the incrementer/decrementer 13 for each 1-byte pig transfer operation, and when the data transfer controller 11 detects that the value has been cleared to zero, the DMAC2 transfers the data. Ends the transfer operation. The end of the data transfer operation is notified to the CPUI by the bus controller 12 negating the bus request signal BREQ.

第1チヤネル又は第2チヤネルを介してメモリと入出力
回路の間でデータ転送が行われる場合には、レジスタR
EGI、REG2、又はREG4に設定された転送元又
は転送先の先頭メモリアドレスは1バイトのデータ転送
動作毎にインクリメンタ/デクリメンタ13によりモー
ドレジスタMREGの設定内容に従ってインクリメント
又はデクリメントされてネクストアドレスを保有してい
くが、入出力回路のアドレリスは、モードレジスタMR
EGの設定内容に従って固定又はインクリメンタ/デク
リメンタ13による逐次更新が可能とされる。このとき
のデータ転送では、転送元回路をリードアクセスしてデ
ータをバスに読み出すと共に、直接そのバス上のデータ
を転送先回路に書き込む動作モードが選択可能にされて
いる。こりとき、メモリ及び入出力回路をリード/ライ
トアクセスするためのアクセス制御信号や応答信号など
のハンドシェーク信号は上記信号線14に含まれる所定
の信号線を介してやりとりされる。このとき、第3レジ
スタREG3に設定された転送語数は1バイトのデータ
転送動作毎にインクリメンタ/デクリメンタ13により
デクリメントされ、その値がゼロクリアされたことをデ
ータ転送コントローラ11が検出することによりDMA
C2は当該データ転送動作を終了する。斯るデータ転送
動作の終了は、上記同様バスコントローラ12がバスリ
クエスト信号BREQをネゲー1〜することによりCP
UIに通知される。
When data is transferred between the memory and the input/output circuit via the first channel or the second channel, the register R
The start memory address of the transfer source or transfer destination set in EGI, REG2, or REG4 is incremented or decremented by the incrementer/decrementer 13 according to the settings of the mode register MREG for each 1-byte data transfer operation, and holds the next address. However, the address list of the input/output circuit is the mode register MR.
Depending on the settings of the EG, it can be fixed or updated sequentially by the incrementer/decrementer 13. In this data transfer, it is possible to select an operation mode in which the transfer source circuit is read accessed to read data onto the bus, and the data on the bus is directly written to the transfer destination circuit. At this time, handshake signals such as access control signals and response signals for read/write access to the memory and input/output circuits are exchanged via predetermined signal lines included in the signal line 14. At this time, the number of transfer words set in the third register REG3 is decremented by the incrementer/decrementer 13 for each 1-byte data transfer operation, and when the data transfer controller 11 detects that the value has been cleared to zero, the DMA
C2 ends the data transfer operation. The end of such a data transfer operation is achieved by the bus controller 12 negating the bus request signal BREQ to 1 or higher as described above.
The UI will be notified.

第2チヤネルを介してメモリ3のイニシャライズ動作を
行うときは、第4レジスタREG4のメモリアドレスと
第5レジスタのイニシャライズデータによりメモリ3を
ライトアクセス毎タ。このときメモリ3に対するアクセ
ス制御信号は信号線14に含まれる所定の信号線を介し
て与えられるが、アクセス対象はメモリ3だけであるか
らメモリ3からDMAC2に与えられるハントシェーク
信号は書き込み応答信号MREPだけとされる。
When initializing the memory 3 via the second channel, the memory 3 is initialized every write access using the memory address of the fourth register REG4 and the initialization data of the fifth register. At this time, an access control signal to the memory 3 is given via a predetermined signal line included in the signal line 14, but since only the memory 3 is accessed, the hunt shake signal given from the memory 3 to the DMAC 2 is the write response signal MREP. It is said that only

この応答信号MREPはメモリ3の書き込み終了タイミ
ングに呼応してメモリ3のライトアクセス毎にアサート
される。データ転送コントローラ11は、この応答信号
MREPのアサートにより1バイトデータの書き込み終
了を確認する。このようにして1バイト単位のデータ転
送を行うとき、インクリメンタ/デクリメンタ13は、
第4レジスタREG4に設定されたメモリ3の転送先の
先頭メモリアドレスを1バイトのデータ転送動作毎にモ
ードレジスタMREGの設定内容に従ってインクリメン
ト又はデクリメントして、その第4レジスタREG4に
ネクストアドレスを保有させていく。第6レジスタRE
G6に設定された転送語数は1バイトのデータ転送動作
毎にインクリメンタ/デクリメンタ13によりデクリメ
ントされ、その値がゼロクリアされたことをデータ転送
コントローラ11が検出することによりDMAC2は当
該データ転送動作を終了する。斯るデータ転送動作の終
了は、上記同様バスコントローラ12がバスリクエスト
信号BREQをネゲートすることによりCPUIに通知
される。第5レジスタREG5に設定されているイニシ
ャライズデータは1バイトのデータ転送動作毎に第1バ
ス5に出力される。特に、データ転送コントローラ11
は、イニシャライズモードを実行するときゲート制御信
号BCONTをバッファ回路7にアサートして第1バス
5と第2バス6を電気的に分離制御し、イニシャライズ
モードの実行中にCPUIは第2バス6に結合される周
辺回路群4などに対してアクセス可能にされる。したが
って、CPUIがイニシャライズコマンドを発行したと
きBREQがアサートされてもCP U 1はバス権を
放棄しないようになっている。
This response signal MREP is asserted every time a write access is made to the memory 3 in response to the write end timing of the memory 3. The data transfer controller 11 confirms the completion of writing one byte data by asserting this response signal MREP. When transferring data in 1-byte units in this way, the incrementer/decrementer 13
The first memory address of the transfer destination of the memory 3 set in the fourth register REG4 is incremented or decremented according to the settings of the mode register MREG for each 1-byte data transfer operation, and the next address is held in the fourth register REG4. To go. 6th register RE
The number of transfer words set in G6 is decremented by the incrementer/decrementer 13 for each 1-byte data transfer operation, and when the data transfer controller 11 detects that the value has been cleared to zero, the DMAC 2 ends the data transfer operation. do. The end of such data transfer operation is notified to the CPUI by the bus controller 12 negating the bus request signal BREQ, as described above. The initialization data set in the fifth register REG5 is output to the first bus 5 every 1-byte data transfer operation. In particular, the data transfer controller 11
When executing the initialization mode, the gate control signal BCONT is asserted to the buffer circuit 7 to electrically separate and control the first bus 5 and the second bus 6, and during the execution of the initialization mode, the CPU is connected to the second bus 6. The connected peripheral circuit group 4 and the like are made accessible. Therefore, even if BREQ is asserted when the CPUI issues an initialize command, the CPU 1 does not relinquish the bus right.

次にDMAC2によるメモリ3のイニシャライズ動作を
第3図をも参照しながら説明する。
Next, the initializing operation of the memory 3 by the DMAC 2 will be explained with reference to FIG.

メモリ3をイニシャライズするとき、CPUIはDMA
C2の第4レジスタREG4にメモリ3の先頭アドレス
を、第5レシズタRE G 5にイニシャライズデータ
を、そして、第6レジスタREGにメモリ3をイニシャ
ライズするのに必要なデータ転送語数を設定する(ステ
ップSl)。そしてイニシャライズコマンドレジスタC
REGにイニシャライズコマンドを書き込む(ステップ
S2)。尚、イニシャライズ動作のためのCPUIによ
る初期設定において、特に制限されないが、第2チヤネ
ルのためのイネーブルビットやデータ転送方向を指示す
る情報をステータスレジスタ5REGやモー1−レジス
タMREGに設定する必要はない。イニシャライズコマ
ンドによりそれら情報に応する内容は一義的にデータ転
送コントローラ]1が認識するからである。
When initializing memory 3, the CPU
The start address of the memory 3 is set in the fourth register REG4 of C2, the initialization data is set in the fifth register REG5, and the number of data transfer words required to initialize the memory 3 is set in the sixth register REG (step Sl). ). and initialize command register C
An initialize command is written to REG (step S2). In the initial settings by the CPU for the initialization operation, although there are no particular restrictions, it is not necessary to set the enable bit for the second channel or information instructing the data transfer direction in the status register 5REG or the mode 1 register MREG. . This is because the data transfer controller] 1 uniquely recognizes the contents corresponding to the information by the initialize command.

DMAC2はイニシャライズコマンドを受け取ると、バ
スリクエスト信号BREQをアサートし、パスアクルッ
ジ信号BACKによりこれに対する応答を受けることに
よってバス権を獲得した後、ゲート制御信号BCONT
をアサ−1へして第1バス5と第2バス6を分離する(
ステップS3)。
When the DMAC 2 receives the initialize command, it asserts the bus request signal BREQ, acquires the bus right by receiving a response to this with the pass acknowledge signal BACK, and then outputs the gate control signal BCONT.
to Asser 1 to separate the first bus 5 and the second bus 6 (
Step S3).

このときCPU]はバス権を放棄せず、必要がある場合
には第2バス6に結合された周辺回路群4に含まれる回
路ブロックをアクセスしてデータ処理やイニシャライズ
を行うことができる。CPU1とDMAC2は並行して
バス権を持っても、第1バス5と第2バス6は分離され
ているためデータの衝突は生じない。そしてDMAC2
は第4レジスタREG4に設定されているメモリ3の先
頭アドレスを第1バス5に出力すると共に(ステップS
4)、第5レジスタREG5設定されているイニシャラ
イズデータを第1バス5に出力することにより(ステッ
プS5)、メモリ3をライトアクセス制御する。
At this time, the CPU does not relinquish bus ownership, and can access circuit blocks included in the peripheral circuit group 4 connected to the second bus 6 to perform data processing and initialization, if necessary. Even if the CPU 1 and the DMAC 2 have bus rights in parallel, data collision will not occur because the first bus 5 and the second bus 6 are separated. And DMAC2
outputs the start address of the memory 3 set in the fourth register REG4 to the first bus 5 (step S
4) Write access control of the memory 3 is performed by outputting the initialization data set in the fifth register REG5 to the first bus 5 (step S5).

これによりメモリ3の先頭ア1−レスにイニシャライズ
データが書き込まれ(ステップs6)、メモリ3は書き
込み終了に呼応するタイミングで応答信号MREPをア
サートして最初の書き込み動作を終了する(ステップS
7)。
As a result, the initialization data is written to the first address of the memory 3 (step s6), and the memory 3 asserts the response signal MREP at the timing corresponding to the end of writing, and ends the first write operation (step s6).
7).

DMAC2はその応答信号MREPを受け取ると(ステ
ップS8)、第6レジスタの設定値をインクリメン/デ
クリメンタ13によりデクリメントすると共に(ステッ
プS9)、デクリメントしたその値がゼロクリアされて
いるが否かに基づいてメモリ3の終了アドレスまでイニ
シャラズを行ったか否かを判別する(ステップ510)
。この結果終了アドレスまで到達していないと判定した
場合にはインクリメン/デクリメンタ13により第4レ
ジスタ4のメモリアドレスを次のアドレスに更新して(
ステップ5ll)、上記ステップS5に戻り、以下同様
に順次メモリアドレスを更新しながら終了アドレスまで
イニシャライズデータの書き込みサイクルを繰り返す。
When the DMAC 2 receives the response signal MREP (step S8), it decrements the set value of the sixth register using the increment/decrementer 13 (step S9), and also writes the memory based on whether the decremented value has been cleared to zero or not. Determine whether initialization has been performed up to the end address of 3 (step 510)
. If it is determined that the end address has not been reached, the increment/decrementer 13 updates the memory address of the fourth register 4 to the next address (
Step 5ll), the process returns to step S5, and the initialization data write cycle is repeated until the end address while sequentially updating the memory addresses in the same manner.

上記ステップS10において最終アドレスまで到達した
ことが判定されると、バスリクエスト信号B RE Q
をネゲートして(ステップS 12) 、CPUIにメ
モリイニシャライズ動作の終了を知らせ、その後ゲート
制御信号BCONTをネゲートして(ステップ513)
バッファ回路7を接続状態に戻す。
When it is determined in step S10 that the final address has been reached, the bus request signal BREQ
(step S12) to notify the CPUI of the end of the memory initialization operation, and then negates the gate control signal BCONT (step 513).
The buffer circuit 7 is returned to the connected state.

上記実施例によれば以下の作用効果を得るものである。According to the above embodiment, the following effects can be obtained.

(1)DMAC2は、CPUIによって初期設定された
第4レジスタREG4上のメモリ3の先頭アドレス、第
5レジスタREG5上のイニシャライズデータ、第6レ
ジスタRE ’G 6上の転送語数、そしてイニシャラ
イズコマンドレジスタCREGに書き込まれたイニシャ
ライズコマンドに基づいて、第2チヤネルを利用してメ
モリ3のイニシャライズ動作を実行し、このとき、DM
AC2はメモリ3との間だけでイニシャライズデータや
メモリアドレスさらには必要なハンドシェーク信号をや
りとりすればよく、言い換えるなら、1バイlへのデー
タ転送動作では1回バスサイクルを起動すれば済むと共
に、1つのメモリ3との間だけでアクセス制御信号や応
答信号MREPのようなハンドシェーク信号をやりとり
すればよく、これにより、外部の転送元回路及び転送先
回路の双方とアクセス制御信号やハンドシェーク信号を
やりとりしてそれらをアクセス制御する通常のダイレク
ト・メモリ・アクセス方式を利用ゝしてメモリ3をイニ
シャライズする場合に比べ、メモリ3のイニシャライズ
動作時間を短縮することができる。
(1) DMAC2 contains the start address of memory 3 on the fourth register REG4 initialized by the CPUI, the initialization data on the fifth register REG5, the number of transfer words on the sixth register RE'G6, and the initialization command register CREG. Based on the initialization command written in the DM, the memory 3 is initialized using the second channel, and at this time, the DM
AC2 only needs to exchange initialization data, memory addresses, and necessary handshake signals with memory 3. In other words, a data transfer operation of 1 byte only requires activating one bus cycle, and 1 It is only necessary to exchange access control signals and handshake signals such as the response signal MREP with one memory 3, and thereby, access control signals and handshake signals can be exchanged with both the external transfer source circuit and transfer destination circuit. Compared to the case where the memory 3 is initialized using a normal direct memory access method in which access is controlled by the memory 3, the initialization time of the memory 3 can be shortened.

(2)メモリ3のイニシャライズ動作はCPUIから与
えられるイニシャライズコマンドによって指示され、こ
れによって指示されるイニシャライズ動作は他のデータ
転送形態にも兼用可能な第2チヤネルを用いて実行され
るから、イニシャライズ動作のためのデータ転送チャネ
ルを専用化して追加する必要がなく、メモリのイニシャ
ライズ機能を既存のDMACに容易に組み込み可能にす
ることができる。
(2) The initialization operation of the memory 3 is instructed by the initialization command given from the CPUI, and the initialization operation instructed by this is executed using the second channel that can also be used for other data transfer forms. There is no need to dedicate and add a data transfer channel for this purpose, and the memory initialization function can be easily incorporated into an existing DMAC.

(3)シングルボートコンピュータのようなデータ処理
システムにおいて、第1バス5と第2バス6はバッファ
回路7により選択的に接続/分離可能にされていて、こ
のバッファ回路7はメモリ3のイニシャライズ時に分離
されるようになっているから、CPUIはDMAC2に
よるイニシャライズ動作に並行してその他の回路ブロッ
クに対するイニシャライズやその他必要な外部アクセス
を行うことができる。
(3) In a data processing system such as a single-board computer, the first bus 5 and the second bus 6 can be selectively connected/separated by a buffer circuit 7, and this buffer circuit 7 is used when the memory 3 is initialized. Since it is separated, the CPUI can initialize other circuit blocks and perform other necessary external accesses in parallel with the initialization operation by the DMAC2.

以上本発明者によってなされた発明を実施例に基づいて
具体的に説明したが、本発明はそれに限定されるもので
はなく、その要旨を逸脱しない範囲において種々変更す
ることができる。
Although the invention made by the present inventor has been specifically described above based on examples, the present invention is not limited thereto, and various changes can be made without departing from the gist thereof.

例えば上記実施例ではメモリのイニシャライズ動作をそ
の他のデータ転送形態にも利用可能な第2チヤネルを兼
用して行うようにしたが、メモリイニシャライズ用の専
用チャネルを設けるようにしてもよい。また、データ転
送語数の代わりに終了アドレスをレジスタに設定し、こ
の終了アドレスをアクセスアドレスと毎回比較してイニ
シャライズ動作の終了を判定するようにしてもよい。ま
た、DMACに含まれるデータ転送チャネルの数やそれ
に対する制御方式は上記実施例に限定されず適宜変更可
能である。ニシャライズコマンドはDMACに対してイ
ニシャライズ動作を指示するための制御情報であれば充
分である。また、−に記実施例で第1バス5と第バス6
の間に設けたバラできる。また、メモリ3が画像用メモ
リである場合には、それに対するイニシャライズ動作は
電源投入やシステムリセッ1−時に行うことに限定され
ず、データ処理中における所定のタイミングで行うこと
もできる。また、本明細書において中央処理装置とは、
マイクロプロセッサやマイクロコンピュータとして把握
することができる。
For example, in the above embodiment, the memory initialization operation is performed using the second channel which can also be used for other data transfer formats, but a dedicated channel for memory initialization may be provided. Alternatively, an end address may be set in a register instead of the number of data transfer words, and this end address may be compared with the access address each time to determine whether the initialization operation is complete. Further, the number of data transfer channels included in the DMAC and the control method therefor are not limited to the above embodiments, but can be changed as appropriate. It is sufficient that the initialize command is control information for instructing the DMAC to perform an initialize operation. In addition, in the embodiment described in -, the first bus 5 and the first bus 6
A rose can be placed in between. Furthermore, when the memory 3 is an image memory, the initialization operation for it is not limited to being performed at power-on or system reset, but can also be performed at a predetermined timing during data processing. In addition, in this specification, the central processing unit is
It can be understood as a microprocessor or microcomputer.

以上の説明では主として本発明者によってなされた発明
をその背景となった利用分野であるシングルボードコン
ピュータに適用した場合について説明したが、本発明は
それに限定されず、ダイレクト・メモリ・アクセス・コ
ントローラそれ自体や、ダイレクト・メモリ・アクセス
・コン1〜ローラ及びメモリを含むシングルチップマイ
クロコンピュータなどに広く適用することができる。本
発明は、少なくともメモリをイニシャライズする条件の
ものに適用することができる。
In the above description, the invention made by the present inventor was mainly applied to a single board computer, which is the background field of application, but the present invention is not limited thereto; It can be widely applied to single-chip microcomputers including direct memory access controllers and memory. The present invention can be applied at least to conditions for initializing memory.

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

本願において開示される発明のうち代表的なものによっ
て得られる効果を簡単に説明すれば書きの通りである。
A brief explanation of the effects obtained by typical inventions disclosed in this application is as follows.

すなわち、データ転送制御装置は、イニシャライズ対象
メモリとの間だけでイニシャライズデータやメモリアド
レスさらには必要なハンドシェーク信号をやりとりして
メモリをイニシャライズするから、メモリのイニシャラ
イズに際してデータ転送制御装置が起動すべきバスサイ
クル数や外部に対するアクセス制御時間を最小限にする
ことができ、これによって、メモリに対するイニシャラ
イズ動作時間を短縮することができるという効果がある
In other words, the data transfer control device initializes the memory by exchanging initialization data, memory addresses, and necessary handshake signals only with the memory to be initialized. The number of cycles and the time for controlling access to the outside can be minimized, which has the effect of shortening the initialization time for the memory.

また、中央処理装置から発行されるような特定の制御情
報に基づいて、他のデータ転送形態にも兼用可能なデー
タ転送チャネルを用いてメモリのイニシャライズ動作を
行うようにすることにより、イニシャライズ動作のため
のデータ転送チャネルを専用化して追加する必要がない
ため、既存のデータ転送制御装置にメモリのイニシャラ
イズ機能を容易に組み込み可能にすることができる。
Furthermore, by performing the memory initialization operation using a data transfer channel that can also be used for other data transfer formats, based on specific control information issued from the central processing unit, the initialization operation can be performed. Since there is no need to dedicate and add a data transfer channel for this purpose, it is possible to easily incorporate a memory initialization function into an existing data transfer control device.

そして、上記データ転送制御装置と共に中央処理装置や
メモリを含むデータ処理システムにおいて、データ転送
制御装置とメモリを結合する第1バスと、上記中央処理
装置が結合される第2バスとを、メモリのイニシャライ
ズ動作に呼応して分離させるようにすることにより、中
央処理装置は、メモリイニシャライズ動作に並行して、
上記第2バスに結合されているその他の回路ブロックを
イニシャライズしたりアクセスしたりして必要なデータ
処理を効率的に行うことができるという効果がある。
In a data processing system including a central processing unit and memory together with the data transfer control device, a first bus connecting the data transfer control device and the memory and a second bus connecting the central processing unit to the memory are connected to each other. By separating in response to the initialization operation, the central processing unit can perform the
This has the advantage that necessary data processing can be efficiently performed by initializing or accessing other circuit blocks connected to the second bus.

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

第1図は本発明の一実施例であるDMACのブロック図
、 第2図は第1図のDMACを含む本発明の他の実施例で
あるあるシングルボードコンピュータのブロック図、 第3図はDMACによるメモリのイニシャライズ動作手
順の一例を示すフローチャートである。 1・・・CPU、2・DMACl3 ・メモリ、4・・
周辺回路群、5・・・第1バス、6・第2バス、7・バ
ッファ回路、10・・転送要求コン1〜ローラ、1トデ
ータ転送コントローラ、12 ・パスコンl−ローラ、
13・・・インクリメンタ/デクリメンタ、REG4・
・・第4レジスタ、REG5・・第5レジスタ、REG
6・・第6レジスタ、5REG・・ステータスレジスタ
、MREG・・・モードレジスタ、CREG・・・コマ
ンドレジスタ、MREP・・・応答信号、BCONT・
・ゲート制御信号。
FIG. 1 is a block diagram of a DMAC that is an embodiment of the present invention, FIG. 2 is a block diagram of a single board computer that is another embodiment of the invention that includes the DMAC of FIG. 1, and FIG. 3 is a block diagram of a DMAC that is an embodiment of the present invention. 3 is a flowchart illustrating an example of a memory initialization operation procedure according to the present invention. 1...CPU, 2.DMACl3, memory, 4...
Peripheral circuit group, 5...1st bus, 6.2nd bus, 7.buffer circuit, 10..transfer request controller 1-roller, 1.data transfer controller, 12.pass controller l-roller,
13... Incrementer/decrementer, REG4.
...4th register, REG5...5th register, REG
6... 6th register, 5REG... status register, MREG... mode register, CREG... command register, MREP... response signal, BCONT...
・Gate control signal.

Claims (1)

【特許請求の範囲】 1、ダイレクト・メモリ・アクセス制御を行うデータ転
送制御装置において、メモリ領域を指定するための情報
とイニシャライズデータとを任意に設定可能な記憶手段
と、この記憶手段に設定された情報に従って上記メモリ
領域にイニシャライズデータを書き込み制御して当該メ
モリ領域をイニシャライズするための制御手段とを設け
て成るデータ転送制御装置。 2、上記制御手段は、特定の制御情報を受け取ることに
より、他のデータ転送形態にも兼用可能なデータ転送チ
ャネルに対して、メモリ領域をイニシャライズするため
の動作を指示するものである請求項1記載のデータ転送
制御装置。 3、ダイレクトメモリアクセス方式でデータ転送可能な
データ転送制御装置とメモリと中央処理装置とをバスで
結合して成るデータ処理システムにおいて、上記データ
転送制御装置は、メモリ領域を指定するための情報とイ
ニシャライズデータとを任意に設定可能な記憶手段を有
し、上記中央処理装置から発行される特定の制御情報に
基づいて、上記記憶手段に設定されているメモリ領域指
定情報により定義される領域にイニシャライズデータの
書き込み制御を行うためのイニシャライズ動作モードを
実行可能にされて成るデータ処理システム。 4、上記データ転送制御装置とメモリを結合する第1バ
スと、上記中央処理装置が結合される第2バスとを、ゲ
ート手段を介して結合し、このゲート手段は、上記デー
タ転送制御装置がイニシャライズデータの書き込み制御
を行うときに有効とされる制御信号により第1バスと第
2バスを電気的に分離するものである請求項2記載のデ
ータ処理システム。
[Claims] 1. A data transfer control device that performs direct memory access control, comprising a storage means in which information for specifying a memory area and initialization data can be arbitrarily set; and control means for initializing the memory area by controlling the writing of initialization data into the memory area according to the information stored in the memory area. 2. Claim 1, wherein the control means instructs a data transfer channel that can also be used for other data transfer formats to perform an operation for initializing a memory area by receiving specific control information. The data transfer control device described. 3. In a data processing system in which a data transfer control device capable of data transfer using a direct memory access method, a memory, and a central processing unit are coupled via a bus, the data transfer control device has information for specifying a memory area. It has a storage means that can arbitrarily set initialization data, and initializes the area defined by the memory area designation information set in the storage means based on specific control information issued from the central processing unit. A data processing system capable of executing an initialization operation mode for controlling data writing. 4. A first bus connecting the data transfer control device and the memory and a second bus connecting the central processing unit are connected via gate means, and the gate means is configured to connect the data transfer control device 3. The data processing system according to claim 2, wherein the first bus and the second bus are electrically separated by a control signal that is enabled when controlling the writing of initialization data.
JP4651689A 1989-03-01 1989-03-01 Data transfer controller and data processing system Pending JPH02227761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4651689A JPH02227761A (en) 1989-03-01 1989-03-01 Data transfer controller and data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4651689A JPH02227761A (en) 1989-03-01 1989-03-01 Data transfer controller and data processing system

Publications (1)

Publication Number Publication Date
JPH02227761A true JPH02227761A (en) 1990-09-10

Family

ID=12749438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4651689A Pending JPH02227761A (en) 1989-03-01 1989-03-01 Data transfer controller and data processing system

Country Status (1)

Country Link
JP (1) JPH02227761A (en)

Similar Documents

Publication Publication Date Title
US6493803B1 (en) Direct memory access controller with channel width configurability support
US6131127A (en) I/O transactions on a low pin count bus
US5826093A (en) Dual function disk drive integrated circuit for master mode and slave mode operations
US6157970A (en) Direct memory access system using time-multiplexing for transferring address, data, and control and a separate control line for serially transmitting encoded DMA channel number
US6272582B1 (en) PCI-PCI bridge allowing controlling of a plurality of PCI agents including a VGA device
US6347294B1 (en) Upgradeable highly integrated embedded CPU system
WO1999015971A1 (en) Memory transactions on a low pin count bus
KR20010080515A (en) A direct memory access engine for supporting multiple virtual direct memory access channels
EP0651333B1 (en) Direct memory access controller
JPH04363746A (en) Microcomputer system having dma function
US7310717B2 (en) Data transfer control unit with selectable transfer unit size
JP2004227049A (en) Data transfer device, semiconductor integrated circuit and microcomputer
JPS581451B2 (en) Data transfer method
JP2723970B2 (en) Data transfer control device
JP3681590B2 (en) Data processing apparatus and data processing system
US6665748B1 (en) Specialized PCMCIA host adapter for use with low cost microprocessors
JPH0227696B2 (en) JOHOSHORISOCHI
JPS581454B2 (en) Input/output control method
JPH0954748A (en) Computer system and DMA controller provided in this system
JP3839068B2 (en) Semiconductor integrated circuit device
JP2002149626A (en) Microcomputer
JPS603049A (en) Bus interface apparatus
JP2001236305A (en) Semiconductor integrated circuit and data processing device
JPH02207363A (en) Data transfer system, device controller, and memory controller
JPH02252044A (en) Coprocessor and data transfer control method