JPS6318452A - Dma controller - Google Patents

Dma controller

Info

Publication number
JPS6318452A
JPS6318452A JP16300786A JP16300786A JPS6318452A JP S6318452 A JPS6318452 A JP S6318452A JP 16300786 A JP16300786 A JP 16300786A JP 16300786 A JP16300786 A JP 16300786A JP S6318452 A JPS6318452 A JP S6318452A
Authority
JP
Japan
Prior art keywords
data
register
signal
dma controller
output
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
JP16300786A
Other languages
Japanese (ja)
Inventor
Yukihiko Hirose
広瀬 幸彦
Noriyuki Oura
大浦 範之
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP16300786A priority Critical patent/JPS6318452A/en
Publication of JPS6318452A publication Critical patent/JPS6318452A/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 improve a processing speed by providing a DMA controller formed in an information processor for executing binary format data transfer with a circuit converting an ASCII code into a binary format. CONSTITUTION:What data are sent from an information processor to an I/O device 12 in the information processor 1, the device 12 sends a signal DREQ to the DMA controller 1. The controller 11 sends a signal HRQ to a CPU14. When a signal HLDA is returned from the CPU 14, the controller 11 sends a signal RD to the device 12. Data sent from the device 12 are stored in a register 113a. Reference data are stored in a register 113b. When the contents stored in the registers 113a, 113b coincide with each other, the contents of the register 113a are sent to a converter circuit 111a for converting an ASCII code into a binary format. Since data transfer is executed by using the converted data, the processing speed can be improved.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は情報処理装置間のデータ転送を行なうのに使用
されるDMAコントローラに関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a DMA controller used to transfer data between information processing devices.

従来の技術 情報処理装置内に設けられた従来のDMAコントローラ
にあっては、送られてきたバイナリデータをそのまま他
の情報処理装置に転送していた。
A conventional DMA controller provided in a conventional technical information processing device transfers the sent binary data as is to another information processing device.

しかし、データ転送路のプロトコルにより使用できない
コードがある場合には転送データをあらかじめ変換して
から転送する必要がある。この変換されたデータは受信
側で逆変換を行なってもとのバイナリデータに戻す。こ
の場合、従来のDMAコントローラには両方向のバッフ
ァしか備わっていないため必要なデータ以外にも、単に
変換したことを示すだけのデータ等の不要なデータまで
が記憶装置に読み込まれてしまうっさらに、変換を行な
うためには余分のソフトウェアが必要となるため有効に
利用できる記憶領域が狭くなる。
However, if there is a code that cannot be used due to the protocol of the data transfer path, it is necessary to convert the transfer data in advance before transferring it. This converted data is inversely converted on the receiving side to return it to the original binary data. In this case, since conventional DMA controllers are equipped with only bidirectional buffers, in addition to necessary data, unnecessary data such as data simply indicating that the conversion has been performed is read into the storage device. Since extra software is required to perform the conversion, the storage area that can be effectively used is reduced.

発明が解決しようとする問題点 以上説明したように、従来のDMAコントローラは、単
にデータをそのまま転送させていた。このため、必要に
より転送の際にデータ変換が行なわれると、受信側でソ
ウトウエアを用いて逆変換していた。ソフトウェアが必
要となる結果として、処理速度が低下するうえ、記憶装
置内で有効に利用できる記憶領域が狭くなるという欠点
があった。
Problems to be Solved by the Invention As explained above, conventional DMA controllers simply transfer data as is. For this reason, if data is converted as necessary during transfer, the receiving side performs reverse conversion using software. As a result of the need for software, processing speed is reduced and the storage area that can be effectively used in the storage device is reduced.

本発明は、コントローラ内にデータ変換のハードウェア
を設けて上記問題点を解決しようとするものである。
The present invention attempts to solve the above problems by providing data conversion hardware within the controller.

問題点を解決するための手段 上記問題点を解決するための本発明のDMAコントロー
ラは、比較の基準となるデータを記憶する第1のレジス
タと、転送されるデータを順番に記憶する第2のレジス
タと、第1、第2のレジスタの記憶内容を比較する比較
器と、第1のレジスタと第2のレジスタの記録内容を比
較して一致している場合には第2のレジスタの内容をA
SCIIコードからバイナリ形式に変換する変換回路と
、該変換回路の出力データを保持するラッチと、該ラッ
チの出力を一時記憶させるバッファと、第1のレジスタ
と第2のレジスタの記憶内容を比較して一致していない
場合には第2のレジスタのデータ内容をそのまま一時記
憶させるバッファとを備える。
Means for Solving the Problems The DMA controller of the present invention for solving the above problems has a first register that stores data serving as a reference for comparison, and a second register that sequentially stores data to be transferred. A comparator that compares the stored contents of the register, the first and second registers, and a comparator that compares the recorded contents of the first register and the second register, and if they match, compares the contents of the second register. A
A conversion circuit that converts from SCII code to binary format, a latch that holds the output data of the conversion circuit, a buffer that temporarily stores the output of the latch, and the stored contents of the first register and the second register are compared. and a buffer for temporarily storing the data contents of the second register as they are if they do not match.

作用 転送すべきデータがプロトコルにより予約されている場
合には、DMAコントローラ11内に設けた変換回路1
11aを用いてASCIIコードからバイナリ形式に変
換を行なう。変換された転送データはラッチ115a、
 115bを介してバフ 7 yl16a、 116b
に一時記憶される。
If the data to be transferred is reserved by the protocol, the conversion circuit 1 provided in the DMA controller 11
11a to convert from ASCII code to binary format. The converted transfer data is sent to the latch 115a,
Buff through 115b 7 yl16a, 116b
is temporarily stored.

転送すべきデータがプロトコルにより予約されていない
場合には、データはそのままの形でバッファ116cに
一時記憶される。
If the data to be transferred is not reserved by the protocol, the data is temporarily stored as is in the buffer 116c.

バッファ116a、 116b、 116cに記憶され
たデータは、内部データバス16に出力された後、記憶
装置用アドレスカウンタ112bに設定されている記憶
装置13のアドレスに書き込まれる。
The data stored in the buffers 116a, 116b, and 116c is output to the internal data bus 16 and then written to the address of the storage device 13 set in the storage device address counter 112b.

実施例 以下、本発明について図面を参照して説明する。Example Hereinafter, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

情報処理装置2からのデータを本発明のDMAコントロ
ーラを備える情報処理装置1に転送する。
Data from the information processing device 2 is transferred to the information processing device 1 including the DMA controller of the present invention.

転送するデータの一例である第3図Q:1)に示すデー
タ4をバイナリ形式の10101011 (OA B 
H)と仮定する。このデータ4は10101011 B
 (OA B H)であり、このまま転送できることが
望ましい。しかし、プロトコルに同じデータ0ABHが
既に予約されている場合にはデータ4をそのまま転送す
ることはできない。
The data 4 shown in Figure 3 Q:1), which is an example of the data to be transferred, is transferred to the binary format 10101011 (OA B
Assume that H). This data 4 is 10101011 B
(OA B H), and it is desirable to be able to transfer it as is. However, if the same data 0ABH is already reserved in the protocol, data 4 cannot be transferred as is.

プロトコルにデータ4が予約されている場合には、上位
データであるl0IOBを第3図(a)中に示したデー
タ2へASCIIコードに変換し、下位データであるl
0IIBを第3図(a)中に示したデータ3へASCI
Iコードに変換して転送すればよい。
If data 4 is reserved in the protocol, the upper data l0IOB is converted to data 2 shown in FIG. 3(a) in ASCII code, and the lower data l0IOB is
ASCII 0IIB to data 3 shown in Figure 3(a)
All you have to do is convert it to an I code and transfer it.

ASCIIコードに変換されるとデータ2は41H(バ
イナリ形式の0AH)となり、データ3は42H(バイ
ナリ形式の0BH)となる。なお、データ1はバイナリ
形式をASCIIコードに変換したことを示す特殊デー
タである。ここではデータlを2DHと仮定しておく。
When converted into ASCII code, data 2 becomes 41H (0AH in binary format) and data 3 becomes 42H (0BH in binary format). Note that data 1 is special data indicating that the binary format has been converted into an ASCII code. Here, it is assumed that the data l is 2DH.

以下第1図に示したブロック図を第4図のタイミングチ
ャートを参照しながら説明する。
The block diagram shown in FIG. 1 will be explained below with reference to the timing chart shown in FIG. 4.

情報処理装置2からデータが情報処理装置1内の入出力
装置12に送られると、この入出力装置12は第4図(
1)に示すようにDMAコントローラ11にデータリク
エスト信号DREQを送る。するとDMAコントローラ
11は、システムバスの制御をリクエストするために第
4図(2)に示すホールドリクエスト信号HRQを中央
処理装置14に送る。中央処理装置14からは第4図(
3)に示すホールドアクノリッジ信号HLDAが折り返
しD〜1Aコントローラ11に送られる。このホールド
アクノリッジ信号は、システムバスの制御が放棄された
かどうかを示す。DMAコントローラ11は今度は第4
図(8)に示すリード信号RDを入出力装置12に送る
。第4図(4)、(5)かられかるように、このリード
信号と同期してDMAコントローラ11内の入出力装置
用アドレスカウンク112aに設定されている入出力装
置12のアドレスのデータをレジスタ113aに記憶す
る。
When data is sent from the information processing device 2 to the input/output device 12 in the information processing device 1, this input/output device 12 is operated as shown in FIG.
As shown in 1), a data request signal DREQ is sent to the DMA controller 11. Then, the DMA controller 11 sends a hold request signal HRQ shown in FIG. 4(2) to the central processing unit 14 to request control of the system bus. From the central processing unit 14, as shown in FIG.
The hold acknowledge signal HLDA shown in 3) is sent back to the D-1A controller 11. This hold acknowledge signal indicates whether control of the system bus has been relinquished. The DMA controller 11 is now the fourth
A read signal RD shown in FIG. 8 is sent to the input/output device 12. As can be seen from FIG. 4 (4) and (5), in synchronization with this read signal, the address data of the input/output device 12 set in the input/output device address counter 112a in the DMA controller 11 is read. It is stored in the register 113a.

入出力装置12はリード信号を受けて、第4図(6)に
示す入出力データアクノリッジ信号I 0DACKをD
MAコントローラ11に送り返す。
The input/output device 12 receives the read signal and outputs the input/output data acknowledge signal I0DACK shown in FIG. 4(6).
It is sent back to the MA controller 11.

データは入出力装置12から内部データバス16に読み
出され、レジスタ113aに記憶される。もう−方のレ
ジスタは特殊データ設定用レジスタ113bで、本実施
例ではデータ1、すなわち20Hが記憶されている。な
お、第1図では、情報処理装置2からデータをレジスタ
113bに記憶する径路は省略しである。
Data is read from the input/output device 12 onto the internal data bus 16 and stored in the register 113a. The other register is a special data setting register 113b, in which data 1, ie, 20H, is stored in this embodiment. Note that in FIG. 1, the path for storing data from the information processing device 2 in the register 113b is omitted.

両レジスタl’13a、 113bに記憶されているデ
ータはデータ比較器114aにより比較される。レジス
タ113aに記憶されたデータとレジスタ113bに記
憶されたデータが同じ、すなわちどちらのデータもデー
タ1(20H)の場合にはデータ比較器114aからイ
ネーブル信号E、。が発生して、タイミング発生器11
8aに人力される。もし、レジスタ113aに記憶され
たデータとレジスタ113bに記憶されたデータが異な
っている場合にはイネーブル信号Elnは発生しない。
The data stored in both registers l'13a and 113b are compared by a data comparator 114a. When the data stored in the register 113a and the data stored in the register 113b are the same, that is, both data are data 1 (20H), an enable signal E is sent from the data comparator 114a. occurs, the timing generator 11
8a will be manually operated. If the data stored in register 113a and the data stored in register 113b are different, enable signal Eln will not be generated.

まず、データ比較器114aからイネーブル信号E l
 nが発生する場合の説明を行なう。この場合、以下の
動作が順次行なわれることになる。
First, the enable signal E l is sent from the data comparator 114a.
The case where n occurs will be explained. In this case, the following operations will be performed in sequence.

データ1に続いてデータ2 (41H)が上に述べたと
同様の動作でレジスタ113aに記憶される。このレジ
スタ113aに記憶されたデータ2は変換回路111a
に送られ、そこでASCIIコードからバイナリ形式に
変換される。
Following data 1, data 2 (41H) is stored in register 113a in the same manner as described above. Data 2 stored in this register 113a is stored in the conversion circuit 111a.
where it is converted from ASCII code to binary format.

第2図に変換回路111aの詳細な回路を示す。変換回
路にはASCIIコードの下位5ビツトD。、Dl、D
l、D3、D4が入力される。D4 は非反転バッファ
2旧、202.203.204の制御入力端子に入力さ
れる。またD4は反転バッファ205.208の制御入
力端子にも反転されて入力される。
FIG. 2 shows a detailed circuit of the conversion circuit 111a. The conversion circuit uses the lower 5 bits D of the ASCII code. ,Dl,D
1, D3, and D4 are input. D4 is input to the control input terminal of non-inverting buffer 2 old, 202.203.204. D4 is also inverted and input to the control input terminals of the inverting buffers 205 and 208.

D、はさらに非反転バッファ206.207の制御入力
端子に反転されて人力される。D3は非反転バッファ2
01に入力されると同時に、反転バッファ205にも入
力される。Dlは非反転バッファ202とORゲート2
10に人力される。ORゲート210の出力は、非反転
ゲート206の入力に接続している。Dlは非反転バッ
ファ203とANDゲート211とXORゲート212
とに人力される。ANDゲート211の出力がORゲー
ト210のもう一方の人力となっている。XORゲート
212の出力は非反転バッファ207の入力に接続され
ている。最下位ビットD。は非反転ゲート204とAN
Dゲート211のもう一方の入力端子とXORゲート2
12のもう一方の入力端子と反転ゲート208とに人力
される。
D is further inverted and input to the control input terminals of non-inverting buffers 206 and 207. D3 is non-inverting buffer 2
01 and simultaneously input to the inversion buffer 205. Dl is the non-inverting buffer 202 and OR gate 2
10 will be man-powered. The output of OR gate 210 is connected to the input of non-inverting gate 206. Dl is a non-inverting buffer 203, an AND gate 211, and an XOR gate 212
It is man-powered. The output of the AND gate 211 serves as the other input for the OR gate 210. The output of XOR gate 212 is connected to the input of non-inverting buffer 207. Least significant bit D. is the non-inverting gate 204 and AN
The other input terminal of D gate 211 and XOR gate 2
12 and the inverting gate 208 .

非反転バッファ201の出力と反転バッファ205の出
力とは接続されていて、いずれかのバッファからの出力
が変換値としての出力となる。これと同様に、非反転バ
ッファ202と206の出力、非反転バッファ203と
207の出力、非反転バッファ204の出力と反転バッ
ファ208の出力がそれぞれ接続されている。
The output of the non-inverting buffer 201 and the output of the inverting buffer 205 are connected, and the output from either buffer becomes the output as a converted value. Similarly, the outputs of non-inverting buffers 202 and 206, the outputs of non-inverting buffers 203 and 207, and the output of non-inverting buffer 204 and inverting buffer 208 are connected, respectively.

上記の構成の変換回路の動作をデータ2 (41H)が
入力された場合を例にとって以下に説明する。
The operation of the conversion circuit having the above configuration will be described below, taking as an example the case where data 2 (41H) is input.

この場合データビット(Do 、D= 、Dl 、D3
、D、)は(0,1,0,0,0)となる。D4が0で
あることから、この値がそのまま制御入力端子に人力さ
れることになる非反転バッファ201.202.203
.204はカットされた状態になる。これに対し、反転
バッファ205.208と非反転バッファ206.20
7には、D、が反転された値、すなわち1が制御人力と
して人力されるので変換値としてはこれらバッファ20
5.206.207.208の出力値が出力されること
になる。
In this case, the data bits (Do, D=, Dl, D3
,D,) becomes (0,1,0,0,0). Since D4 is 0, this value is directly input to the control input terminal of the non-inverting buffers 201, 202, and 203.
.. 204 is in a cut state. In contrast, the inverting buffer 205.208 and the non-inverting buffer 206.20
7 is the inverted value of D, that is, 1, which is manually inputted as the control input, so these buffers 20 and 20 are input as converted values.
The output value of 5.206.207.208 will be output.

D3が0であることから、このD3が人力される反転バ
ッファ205の出力は1となる。同様に、D、が直接人
力される反転バッファ208は、今の場合D0が1であ
るから0を出力する。ANDゲ−)211にはり。とD
l 、すなわち1と0が人力されるから0が出力されて
ORゲート210に人力される。このORゲート210
のもう一方の人力はDlでやはり0であるから、ORゲ
ート210からは0が出力される。従って、ORゲート
210の出力が人力される非反転バッファ206からは
0が出力される。XORゲート212にはり。とDlが
人力される。値はそれぞれ1.0であるから、このXO
Rゲート212の出力はlとなる。この出力が非反転ゲ
ート207に人力されるため、出力は1となる。以上よ
り、変換された結果は上位ビットから1.0.1.0と
なる。
Since D3 is 0, the output of the inversion buffer 205 to which D3 is manually input is 1. Similarly, the inversion buffer 208 to which D is directly input outputs 0 since D0 is 1 in this case. AND game) 211. and D
1, that is, 1 and 0 are input manually, so 0 is output and input to the OR gate 210. This OR gate 210
Since the other human power is Dl, which is also 0, the OR gate 210 outputs 0. Therefore, 0 is output from the non-inverting buffer 206 to which the output of the OR gate 210 is input. Connect to XOR gate 212. and Dl are manually operated. Since each value is 1.0, this XO
The output of the R gate 212 becomes l. Since this output is input to the non-inverting gate 207, the output becomes 1. From the above, the converted result becomes 1.0.1.0 starting from the upper bit.

第2図に示した変換回路111aに人力されたデータ2
 (41H)は、バイナリ形式の上位データとしてl0
IOB(OAH)に再変換されることがわかった。第4
図(11)かられかるように、データ2の位置でのリー
ド信号に同期して、タイミング発生器118aからのイ
ネーブル信号E。utlがロウとなる。
Data 2 manually entered into the conversion circuit 111a shown in FIG.
(41H) is l0 as upper data in binary format.
It was found that it was reconverted to IOB (OAH). Fourth
As shown in FIG. 11, the enable signal E from the timing generator 118a is synchronized with the read signal at the data 2 position. utl becomes low.

このためデータ保持用ラッチ115aがディスエーブル
になり再変換されたデータ1010B (OAH)がラ
ッチされるっ データ2に続し)て、データ3(42H)が上に述べた
と同様の動作でレジスタ113aに記憶される。
Therefore, data holding latch 115a is disabled and reconverted data 1010B (OAH) is latched (following data 2), and data 3 (42H) is transferred to register 113a in the same manner as described above. is memorized.

このレジスタ113aに記憶されたデータ3は変換回路
111aに送られ、データ2の場合と同様にして、AS
CIIコードからバイナリ形式に変換される。
Data 3 stored in this register 113a is sent to the conversion circuit 111a, and in the same way as data 2, the AS
Converted from CII code to binary format.

すなわち、データ3はバイナリ形式の下位データとして
l0IIB(OBH)に再変換される。第4図(12)
かられかるように、データ3の位置でのリード信号に同
期して、タイミング発生器118aからのイネーブル信
号E。ut2がロウとなる。このためデータ保持用ラッ
チ115bがディスエーブルになり再変換されたデータ
l0IIB(OBH)がラッチされる。
That is, data 3 is reconverted to l0IIB (OBH) as lower data in binary format. Figure 4 (12)
As shown, the enable signal E from the timing generator 118a is synchronized with the read signal at the data 3 position. ut2 becomes low. Therefore, the data holding latch 115b is disabled and the reconverted data l0IIB (OBH) is latched.

以上の動作が終了するとDMAコントローラ11は、中
央処理装置14に向けて第4図(2)に示すホールドリ
クエスト(HRQ)信号を送る。中央処理装置14から
は、第4図(3)かられかるようにホールドアクノリッ
ジ(HLDA)信号がD M Aコントローラ11に送
り返される。DMAコントローラ11からは今度は記憶
装置13に向けて第4図(9)に示すライト信号WRが
送られる。これと同期してタイミング発生器118aか
らはライト信号WRIが発生し、データ用バッファ11
6a、 116bが出力許可される。従ってデータ保持
用ラッチ115a、 115bにラッチされていた上位
データ(OAH)、下位データ(OBH)は、バイナリ
形式の10101011  (OABH)として、記憶
装置13に書き込まれる。アドレスは、DMAコントロ
ーラ11内の記憶装置用アドレスカウンタ112bに設
定されていて、内部アドレスバス15を介して指定され
る。書き込みが終了すると記憶装置13は、第4図(7
)に示すメモリデータアクノリッジ信号MDACKをD
MAコントローラ11に送り返す。以上で一連の動作が
終了する。
When the above operations are completed, the DMA controller 11 sends a hold request (HRQ) signal shown in FIG. 4(2) to the central processing unit 14. The central processing unit 14 sends a hold acknowledge (HLDA) signal back to the DMA controller 11, as shown in FIG. 4(3). The DMA controller 11 then sends the write signal WR shown in FIG. 4 (9) toward the storage device 13. In synchronization with this, a write signal WRI is generated from the timing generator 118a, and the data buffer 11
6a and 116b are permitted to be output. Therefore, the upper data (OAH) and lower data (OBH) latched in the data holding latches 115a and 115b are written to the storage device 13 as 10101011 (OABH) in binary format. The address is set in the storage device address counter 112b in the DMA controller 11 and specified via the internal address bus 15. When the writing is completed, the storage device 13 is stored in the state shown in FIG. 4 (7).
) is the memory data acknowledge signal MDACK shown in D.
It is sent back to the MA controller 11. This completes the series of operations.

次に、データ比較器114aからイネーブル信号E i
 nが発生しない場合の説明を行なう。この場合はDM
Aコントローラ11がデータを変換することはない。D
MAコントローラ11はホールドリクエスト信号HRQ
を中央処理袋214に送る。すると中央処理装置14か
らはホールドアクノリッジ信号HLDAがDMAコント
ローラ11に送り返される。DMAコントローラ11は
今度はライト信号WRを記憶装置13に送る。このとき
タイミング発生器118aからはライト信号WR2が発
生してデータ用バッファ116Cが出力許可される。従
って、データはそのままの形で記憶装置13に書き込ま
れる。アドレスは、DMAコントローラ内の記憶装置用
アドレスカウンタ112bに設定されていて、内部アド
レスバス15を介して指定される。書き込みが終了する
と記憶装置13はメモリデータアクノリッジ信号MDA
CKをDMAコントローラ11に送り返し、一連の動作
が終了する。
Next, the enable signal E i from the data comparator 114a
The case where n does not occur will be explained. In this case DM
The A controller 11 does not convert data. D
MA controller 11 receives hold request signal HRQ
is sent to the central processing bag 214. Then, the central processing unit 14 sends a hold acknowledge signal HLDA back to the DMA controller 11. The DMA controller 11 then sends the write signal WR to the storage device 13. At this time, the timing generator 118a generates a write signal WR2 to enable the data buffer 116C to output. Therefore, the data is written to the storage device 13 as is. The address is set in the storage device address counter 112b in the DMA controller and specified via the internal address bus 15. When writing is completed, the storage device 13 outputs a memory data acknowledge signal MDA.
The CK is sent back to the DMA controller 11, and the series of operations ends.

DMAコントローラ11内にはブータカランク119a
ト信号WRIまたはWR2のタイミングによりデータ数
のカウントを行なう。条件が満たされた段階で割込発生
器117aに信号を送り出す。この割込発生器117a
はデータカウンタ119aからの信号またはターミナル
カウント信号TCを受けた場合に中央処理装置14に向
けて割込信号INTを送り出す。
In the DMA controller 11 there is a booter rank 119a.
The number of data is counted according to the timing of the start signal WRI or WR2. When the conditions are met, a signal is sent to the interrupt generator 117a. This interrupt generator 117a
sends an interrupt signal INT to the central processing unit 14 when receiving a signal from the data counter 119a or a terminal count signal TC.

以上でデータ転送が終了する。This completes the data transfer.

発胡の効果 以上詳しく説明したように、本発明のD M Aコント
ローラには、ASCIIコードで表わされたデータをバ
イナリ形式°に変換する回路が設けである。このため、
ASCIIコードをバイナリ形式に変換するためのソフ
トウェアが必要なくなるので処理速度が向上するという
効果がある。
Effects of Hakko As explained in detail above, the DMA controller of the present invention is provided with a circuit that converts data expressed in ASCII code into binary format. For this reason,
This has the effect of improving processing speed because software for converting ASCII code into binary format is no longer required.

また、記憶装置の記憶領域を有効に使用できるという効
果もある。
Another advantage is that the storage area of the storage device can be used effectively.

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

第1図は、本発明のDMAコントローラを備える情報処
理装置の一実施例のブロック図、第2図は、本発明のD
MAコントローラ内に設けられたデータ変換回路の実施
例、 第3図は、データ構造を示す図、 第4図は、第1図に示した情報処理装置のタイミングを
示すタイミング図である。 (主な参照番号) l、2・・情報処理装置 11・・DMAコントローラ 12・・人出カ装置13
・・記憶装置   14・・中央処理装置15・・内部
アドレスバス 16・・内部データバス111a・・変
換回路 112a、 112b・・アドレスカウンタ113a、
113b・・レジスタ114a・・比較器!15a、 
115b ・・ラッチ 116a1116bs 116c ・・ハフ 7711
7a・・割込発生器  118a・・タイミング発生器
119a・・データカウンタ 2旧、202.203.204.206.20?・・非
反転バッファ205.2(l(・・反転バッファ データ1  テ゛−夕2  デ!り3 デゝり4 第3図
FIG. 1 is a block diagram of an embodiment of an information processing apparatus including a DMA controller of the present invention, and FIG.
Embodiment of the data conversion circuit provided in the MA controller. FIG. 3 is a diagram showing the data structure. FIG. 4 is a timing chart showing the timing of the information processing apparatus shown in FIG. (Main reference numbers) l, 2...Information processing device 11...DMA controller 12...Population device 13
...Storage device 14..Central processing unit 15..Internal address bus 16..Internal data bus 111a..Conversion circuits 112a, 112b..Address counter 113a,
113b...Register 114a...Comparator! 15a,
115b...Latch 116a1116bs 116c...Hough 7711
7a...Interrupt generator 118a...Timing generator 119a...Data counter 2 old, 202.203.204.206.20? ...Non-inverting buffer 205.2(l(...Inverting buffer data 1 data 2 data! 3 data 4 Fig. 3

Claims (1)

【特許請求の範囲】[Claims] バイナリ形式のデータ転送を行なう情報処理装置内に設
けられたDMAコントローラであって、該DMAコント
ローラは、比較の基準となるデータを記憶する第1のレ
ジスタと、転送されるデータを順番に記憶する第2のレ
ジスタと、第1、第2のレジスタの記憶内容を比較する
比較器と、第1のレジスタと第2のレジスタの記録内容
を比較して一致している場合には第2のレジスタの内容
をASCIIコードからバイナリ形式に変換する変換回
路と、該変換回路の出力データを保持するラッチと、該
ラッチの出力を一時記憶させるバッファと、第1のレジ
スタと第2のレジスタの記憶内容を比較して一致してい
ない場合には第2のレジスタのデータ内容をそのまま一
時記憶させるバッファとを備えることを特徴とするDM
Aコントローラ。
A DMA controller provided in an information processing device that transfers data in binary format, the DMA controller including a first register that stores data serving as a reference for comparison, and a first register that sequentially stores data to be transferred. a comparator that compares the stored contents of the second register and the first and second registers; and a comparator that compares the recorded contents of the first register and the second register, and if they match, the second register; a conversion circuit that converts the contents of from ASCII code to binary format, a latch that holds the output data of the conversion circuit, a buffer that temporarily stores the output of the latch, and the storage contents of the first register and the second register. DM characterized in that it is equipped with a buffer that temporarily stores the data contents of the second register as is if they do not match.
A controller.
JP16300786A 1986-07-10 1986-07-10 Dma controller Pending JPS6318452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16300786A JPS6318452A (en) 1986-07-10 1986-07-10 Dma controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16300786A JPS6318452A (en) 1986-07-10 1986-07-10 Dma controller

Publications (1)

Publication Number Publication Date
JPS6318452A true JPS6318452A (en) 1988-01-26

Family

ID=15765423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16300786A Pending JPS6318452A (en) 1986-07-10 1986-07-10 Dma controller

Country Status (1)

Country Link
JP (1) JPS6318452A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193886A (en) * 2010-03-05 2011-09-21 Lsi公司 DMA engine capable of concurrent data manipulation

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56118148A (en) * 1980-02-25 1981-09-17 Toshiba Corp Control system for input and output

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56118148A (en) * 1980-02-25 1981-09-17 Toshiba Corp Control system for input and output

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193886A (en) * 2010-03-05 2011-09-21 Lsi公司 DMA engine capable of concurrent data manipulation
JP2011187039A (en) * 2010-03-05 2011-09-22 Lsi Corp Dma engine for concurrent data manipulation

Similar Documents

Publication Publication Date Title
JPS6318452A (en) Dma controller
GB2060961A (en) Data processing system having memory modules with distributed address information
JPH07200432A (en) Data communication method and system-linking device
JPH04367058A (en) Information device
JP2976443B2 (en) Information processing device that exchanges data via system bus
JPH0311448A (en) Direct memory access control system
JPS63278168A (en) Bus controller
JPS5979336A (en) Data transfer system
JPS6269348A (en) Data transfer device
JP3028998B2 (en) DMA transfer circuit
JPS6015976B2 (en) Device for selectively exchanging information
JPH0635841A (en) Bus controller
JPH01145753A (en) Direct memory access controller
JPH06175980A (en) Data switching exchange
JPS63201810A (en) Time system for information processing system
JPH01234925A (en) Ic card reader/writer
JPS5917091U (en) data transfer system
JPS63126057A (en) Data transfer system
JPS60169962A (en) Memory access control system
JPH05298133A (en) Data transfer device
JPS6336462A (en) Serial data receiving circuit
JPH07281997A (en) Data transfer system
JPH02257350A (en) Bi-directional direct data transfer system
JPS6121543A (en) Data transfer device
JPH03142654A (en) Data transfer processing system