JPS6338731B2 - - Google Patents

Info

Publication number
JPS6338731B2
JPS6338731B2 JP54161963A JP16196379A JPS6338731B2 JP S6338731 B2 JPS6338731 B2 JP S6338731B2 JP 54161963 A JP54161963 A JP 54161963A JP 16196379 A JP16196379 A JP 16196379A JP S6338731 B2 JPS6338731 B2 JP S6338731B2
Authority
JP
Japan
Prior art keywords
address
data
bus
signal
memory
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.)
Expired
Application number
JP54161963A
Other languages
Japanese (ja)
Other versions
JPS5685135A (en
Inventor
Hidekazu Kudo
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP16196379A priority Critical patent/JPS5685135A/en
Publication of JPS5685135A publication Critical patent/JPS5685135A/en
Publication of JPS6338731B2 publication Critical patent/JPS6338731B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は周辺装置と記憶装置間で直列データの
転送を行なう(以下、ダイレクト、メモリ、アク
セス:DMA転送という)記憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a storage device that transfers serial data between a peripheral device and a storage device (hereinafter referred to as direct, memory, access: DMA transfer).

従来データ処理装置はプログラムによりデータ
の処理を行なう中央処理装置(CPU)100、
記憶(メモリ)装置102、周辺装置103及び
DMA制御装置101を有し、各装置間はデータ
バス105、アドレスバス104及び制御信号を
転送する制御バス106により相互に接続されて
いる。ここでメモリ装置102は複数のメモリチ
ツプからなり、そのうちの所定のメモリチツプが
DMA転送に用いられるように構成されている。
Conventional data processing devices include a central processing unit (CPU) 100 that processes data according to programs;
Storage (memory) device 102, peripheral device 103 and
It has a DMA control device 101, and each device is interconnected by a data bus 105, an address bus 104, and a control bus 106 for transferring control signals. Here, the memory device 102 consists of a plurality of memory chips, of which a predetermined memory chip is
It is configured to be used for DMA transfer.

かかる従来のデータ処理装置で通常のプログラ
ム処理はCPU100とメモリ102と周辺装置
103との間で各接続バスを用いてデータ転送を
行ないながら実行される。この時はDMA制御装
置101は処理に関与せず、バスから切り離され
た状態にある。一方、周辺装置103がメモリと
直接データの転送を実行する場合には、周辺装置
103はCPU100にDMA要求信号を出し、こ
れに対してCPU100はDMA許可信号をDMA
制御装置に出力する。この結果データバス、アド
レスバス、制御バスの使用権はDMA制御装置1
01に渡される。この後、DMA制御装置100
は所定のスタートアドレスから順次アドレスを発
生し、アドレスバス104を介してDMA用メモ
リチツプに与える。これによりメモリチツプにデ
ータ書き込み信号が入力されていれば周辺装置1
03からデータバス105を介して送られるデー
タがDMA制御装置101によつて指定されたメ
モリのアドレスに書き込まれ、又データ読み出し
信号が入力されている場合にはそのアドレスに格
納されているデータが周辺装置に読み出される。
この様にDMA転送時にはCPU100の制御なく
してDMA用メモリチツプと周辺装置103との
間で直接データ転送を行なうことができる。しか
しながら、最近ではメモリチツプとして低価格か
つ大容量の機能を有するダイナミツクメモリチツ
プが多く用いられているが、記憶時間が短かいた
めこのダイナミツクメモリチツプに対しては一定
の時間サイクルでデータの再書き込み(リフレツ
シユ)を行なわなければならない。かかるリフレ
ツシユ動作はCPU100がアドレスバス104
に一定のサイクルタイムで順次リフレツシユ用ア
ドレスを出力する様に設定されているが、上記
DMA転送時にはCPUがアドレスバスを使用する
ことができないため、従来はDMA転送を強制的
に中断させてメモリのリフレツシユを行なつてい
た。従つてDMA転送処理が非常に長くなり、処
理効率が大幅に低下していた。かかる欠点はメモ
リ容量の増加に比例して、より大きな欠点とな
る。更にDMA制御装置を単体のチツプとして有
しているために処理装置全体のコストが高くなる
という経済的な問題も生じていた。
In such a conventional data processing device, normal program processing is executed while transferring data between the CPU 100, memory 102, and peripheral device 103 using each connection bus. At this time, the DMA control device 101 is not involved in the processing and is disconnected from the bus. On the other hand, when the peripheral device 103 directly transfers data to and from the memory, the peripheral device 103 issues a DMA request signal to the CPU 100, and in response, the CPU 100 sends a DMA permission signal to the DMA request signal.
Output to control device. As a result, the right to use the data bus, address bus, and control bus is granted to the DMA control device 1.
Passed to 01. After this, the DMA control device 100
generates addresses sequentially from a predetermined start address and supplies them to the DMA memory chip via address bus 104. As a result, if the data write signal is input to the memory chip, peripheral device 1
The data sent from 03 via the data bus 105 is written to the memory address specified by the DMA control device 101, and if a data read signal is input, the data stored at that address is Read out to peripheral device.
In this way, during DMA transfer, data can be transferred directly between the DMA memory chip and the peripheral device 103 without the control of the CPU 100. However, recently, dynamic memory chips with low cost and large capacity functions have been widely used as memory chips. Writing (refreshing) must be performed. Such a refresh operation is performed when the CPU 100 uses the address bus 104.
The refresh address is set to be output sequentially at a constant cycle time, but the above
Since the CPU cannot use the address bus during DMA transfer, conventionally the DMA transfer has been forcibly interrupted to refresh the memory. Therefore, DMA transfer processing becomes extremely long, and processing efficiency is significantly reduced. This drawback becomes more significant as the memory capacity increases. Furthermore, since the DMA control device is provided as a single chip, an economical problem arises in that the cost of the entire processing device becomes high.

本発明の目的は低価格でしかもDMA転送処理
時間の短かい記憶装置を提供することにある。
An object of the present invention is to provide a storage device that is low in cost and has a short DMA transfer processing time.

本発明の記憶装置はDMA転送に用いられるメ
モリチツプ内にDMA転送用アドレス発生回路を
設け、DMA転送時にはCPUから出力されるアド
レスを使用することなく、メモリチツプ内部で
DMA転送用アドレスを発生してDMA転送を行
なうようにしたものである。従つてCPUとDMA
転送用メモリチツプ以外のメモリチツプとを接続
するアドレスバスをDMA転送のために独占する
ことはないので、DMA転送と並行して他のメモ
リチツプのリフレツシユを行なうことができる。
これにより、高速でDAM転送を実行できるとと
もにDMA制御装置を単独のチツプで構成する必
要もないので、装置全体のコストも非常に安くな
る。
The storage device of the present invention has a DMA transfer address generation circuit in the memory chip used for DMA transfer, and does not use the address output from the CPU during DMA transfer.
It is designed to generate a DMA transfer address and perform DMA transfer. Therefore CPU and DMA
Since the address bus connecting memory chips other than the transfer memory chip is not monopolized for DMA transfer, other memory chips can be refreshed in parallel with DMA transfer.
This makes it possible to perform DAM transfers at high speed and eliminates the need for the DMA control device to consist of a separate chip, making the overall cost of the device extremely low.

以下、図面を参照して本発明の一実施例を詳細
に説明する。第2図は本実施例のDMA転送用メ
モリチツプ内の回路ブロツクを示したものであ
る。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings. FIG. 2 shows circuit blocks within the DMA transfer memory chip of this embodiment.

本実施例のDMA用メモリチツプはCPU(図示
せず)あるいはその他の制御系統から送られる15
ビツトA0〜14の外部アドレスを入力する端子15
と外部アドレスを導入する外部アドレスバス13
とチツプ内部で発生されたDMA用アドレスを導
入する内部アドレスバス14とを備え、これら両
アドレスはゲート2により選択されてアドレスデ
コーダ3を介してメモリブロツク4に与えられ
る。メモリ4への書き込み及び読み出しデータは
ゲート6を介して8ビツトの内部データバス1
6,ID0〜7へ入出力される。この内部データバス
16はデータバツフア5を介して外部データバス
導出路18と接続され、データは外部データバス
端子17に導かれる。あるいはこの端子17から
入力される。内部データバス16上のデータはゲ
ート8を介して第1のレジスタ9へ供給されると
ともに直接第2のレジスタ11へも供給される。
第1のレジスタに設定されたデータはラツチ回路
10を介してゲート2と+1(インクリメント)
あるいは−1(デイクリメント)機能を持つ論理
演算部(ALU)7とに入力される。ALU7で+
1あるいは−1演算がなされたデータはゲート8
を介して再び第1のレジスタ9へ格納される。更
にこの第1のレジスタ9と第2のレジスタ11と
の記憶データは比較器12で比較される。これら
各回路の制御は制御回路1によつて行なわれる。
The DMA memory chip of this embodiment is 15
Bit A Terminal 15 for inputting external address 0 to 14
and an external address bus 13 that introduces external addresses.
and an internal address bus 14 for introducing DMA addresses generated inside the chip, both of which are selected by the gate 2 and applied to the memory block 4 via the address decoder 3. Data written to and read from memory 4 is transferred to 8-bit internal data bus 1 via gate 6.
6. Input/output to ID 0-7 . This internal data bus 16 is connected to an external data bus lead-out path 18 via a data buffer 5, and data is guided to an external data bus terminal 17. Alternatively, it is input from this terminal 17. Data on internal data bus 16 is supplied via gate 8 to first register 9 and also directly to second register 11 .
The data set in the first register is passed through the latch circuit 10 to gate 2 and +1 (increment).
Alternatively, it is input to an logic operation unit (ALU) 7 having a -1 (decrement) function. + with ALU7
The data on which the 1 or -1 operation was performed is sent to gate 8.
The data is stored in the first register 9 again via the . Further, the data stored in the first register 9 and the second register 11 are compared by a comparator 12. Control of each of these circuits is performed by a control circuit 1.

かかる回路構成を持つDMA用メモリチツプを
含むデータ処理装置の動作を第3図のタイミング
図を参照して以下に説明する。
The operation of a data processing device including a DMA memory chip having such a circuit configuration will be described below with reference to the timing diagram of FIG.

第2図の制御回路チツプ1に入力される各制御
信号はCPUあるいはその他の制御機構から出力
されるもので、リセツト信号RST、制御信号
I/M、データ読み出し制御信号、データ書
き込み制御信号、チツプ選択信号を含む。
Each control signal input to the control circuit chip 1 in FIG. 2 is output from the CPU or other control mechanism, and includes a reset signal RST, control signal I/M, data read control signal, data write control signal, and chip Contains a selection signal.

今、CPUから“1”レベル(タイミングA)
のリセツト信号RSTが制御回路1に入力される
と制御信号G3が“1”レベルになり、外部アド
レスA14〜0を選択ゲート2の出力とする。このゲ
ート2の出力はアドレスデコーダ3に入力され解
続されてメモリ群4の一部を指定する。ここで
I/M信号が“0”、信号及び信号が
“0”であれば(タイミングB)制御回路1は制
御信号G1を“1”レベルとし、これによりデー
タバツフア5は外部データバス18上の情報
D7〜0を内部バス16,ID7〜0へ取り込む。又制御
回路1の制御信号G2は“1”となりゲート6は
内部バス16上の情報ID7〜0をメモリ群4のうち
外部アドレスA14〜0で指定された番地に書込むべ
く出力され、その番地に記憶させる。これにより
外部アドレスA14〜0で指示された記憶素子へデー
タバスから情報が書き込まれる。一方、I/M信
号が“0”、信号が“0”、信号が“0”の
とき(タイミングC)制御信号G2は“1”とな
りゲート6は外部アドレスA14〜0によつて指定さ
れた記憶素子の情報を内部バスID7〜0に出力する。
更に制御信号G1“0”と信号“0”によつ
てデータバツフア5は開かれ、内部バス16上の
情報ID7〜0を外部データバス18に出力する。即
ち、外部アドレスA14〜0で指示された記憶素子か
ら外部データバスD7〜0に情報が読み出される。
Now “1” level from CPU (timing A)
When the reset signal RST is input to the control circuit 1, the control signal G3 goes to the "1" level, and the external addresses A14-0 are output from the selection gate 2. The output of this gate 2 is input to an address decoder 3 and is connected to designate a part of the memory group 4. Here, if the I/M signal is "0" and the signal and signal are "0" (timing B), the control circuit 1 sets the control signal G1 to the "1" level, and thereby the data buffer 5 is connected to the external data bus 18. information
Take in D7 ~0 to internal bus 16, ID7 ~0 . Further, the control signal G2 of the control circuit 1 becomes "1", and the gate 6 outputs the information ID 7 to 0 on the internal bus 16 to be written to the address specified by the external address A 14 to 0 in the memory group 4. Store it in that address. As a result, information is written from the data bus to the storage element designated by the external address A14-0 . On the other hand, when the I/M signal is "0", the signal is "0", and the signal is "0" (timing C), the control signal G2 becomes "1" and the gate 6 is specified by the external address A14-0 . Outputs the information of the stored memory elements to internal bus IDs 7 to 0 .
Furthermore, the data buffer 5 is opened by the control signal G1 "0" and the signal "0", and the information IDs 7 to 0 on the internal bus 16 are output to the external data bus 18. That is, information is read from the storage element designated by the external address A14-0 onto the external data bus D7-0 .

このようにリセツト後はこのメモリチツプは
CPUと関連づけられて通常のデータ処理におけ
る読み出し書込みメモリ装置としての動作をす
る。
After resetting like this, this memory chip is
It is associated with the CPU and operates as a read/write memory device in normal data processing.

次に、タイミングDでI/O信号が“1”レベ
ルとなり信号が“0”レベルの時に、“0”レ
ベルの第1の信号1が入力されると、制御
信号G1が“1”となりデータバスバツフア5が
開かれ外部データ端子17から8ビツトの第1の
データD7〜0が内部データバス16に入力される。
この第1のデータは制御回路1に入力され、ラツ
チ10の内容をゲート2に出力する制御を行なう
制御信号G3を“0”レベルとする。更にALU
7をインクリメントするかデクリメントするかを
指定する制御信号Cが発生される(本実施例では
インクリメントするように設定する)。かかる一
連の動作によりDMA転送処理のための初期設定
が実行される。この時、メモリ群4と内部データ
バス16とは制御信号G2が“0”レベルとなつ
ているためゲート6によつて互いに切り離されて
いる。次に“0”レベルの第2の信号2
入力されると、外部データ端子17から第2のデ
ータが内部データバス16に取り込まれる。この
時、“1”レベルのリセツト信号により制御回路
1の制御信号G4は“0”となつているのでゲー
ト8は内部バス16上の第2のデータをレジスタ
9へ出力する。更に第2の信号2“0”で
制御回路1の制御信号R1Lは“1”となりゲー
ト8の出力をレジスタ9の下位8桁へ格納する。
更に第3の信号3“0”により第3のデー
タがデータバツフア5、内部バス16、ゲート8
を介してレジスタ9の上位7桁へ格納される。こ
こでレジスタ9の上位、下位合せて15桁に設定さ
れたデータ(第2のデータ+第3のデータ)はメ
モリ4のスタートアドレスとして使われる。第3
の信号3の立上りで、レジスタ9に設定さ
れたスタートアドレスはラツチ10に取り込ま
れ、更にゲート2を介してアドレスデコーダ3に
入力され、ここでデコードされメモリ群4の一部
を指定する。第4信号4“0”が発生する
と、制御回路1の制御信号R2Lが“1”となり
第4のデータがデータバスバツフア5、内部バス
ID7〜0、を介してレジスタ11の下位8桁に記憶
される。引き続き第5の信号5“0”で制
御回路1の制御信号R2Hが“1”となり、第5
のデータがデータバスバツフア5、内部バス
ID6〜0を介してレジスタ11の上位7桁に記憶さ
れる。ここでレジスタ11に設定されたデータは
エンドアドレスとして使用される。更にALU7
からの出力をゲート8の出力とすべく制御信号G
4は第5の信号5の立上りで“1”となり
DMA動作のための初期化が完了する。
Next, at timing D, the I/O signal becomes "1" level and when the signal is "0" level, when the first signal 1 of "0" level is input, the control signal G1 becomes "1" and the data The bus buffer 5 is opened and 8-bit first data D 7 -0 is input from the external data terminal 17 to the internal data bus 16 .
This first data is input to the control circuit 1 and sets the control signal G3, which controls outputting the contents of the latch 10 to the gate 2, to the "0" level. Furthermore, ALU
A control signal C is generated that specifies whether to increment or decrement 7 (in this embodiment, it is set to increment). Initial settings for DMA transfer processing are executed through this series of operations. At this time, the memory group 4 and the internal data bus 16 are separated from each other by the gate 6 because the control signal G2 is at the "0" level. Next, when the second signal 2 at the "0" level is input, the second data is taken into the internal data bus 16 from the external data terminal 17. At this time, since the control signal G4 of the control circuit 1 is at "0" due to the reset signal at the "1" level, the gate 8 outputs the second data on the internal bus 16 to the register 9. Further, when the second signal 2 is "0", the control signal R1L of the control circuit 1 becomes "1", and the output of the gate 8 is stored in the lower eight digits of the register 9.
Furthermore, the third data is sent to the data buffer 5, internal bus 16, and gate 8 by the third signal 3 “0”.
The data is stored in the upper seven digits of register 9 via . Here, the data (second data + third data) set in the upper and lower digits of register 9, totaling 15 digits, is used as the start address of memory 4. Third
At the rising edge of the signal 3 , the start address set in the register 9 is taken into the latch 10, and further inputted to the address decoder 3 via the gate 2, where it is decoded and specifies a part of the memory group 4. When the fourth signal 4 "0" is generated, the control signal R2L of the control circuit 1 becomes "1" and the fourth data is transferred to the data bus buffer 5 and the internal bus.
It is stored in the lower eight digits of the register 11 via IDs 7 to 0 . Subsequently, when the fifth signal 5 becomes "0", the control signal R2H of the control circuit 1 becomes "1", and the fifth signal R2H becomes "1".
data is transferred to data bus buffer 5, internal bus
It is stored in the upper seven digits of the register 11 via IDs 6 to 0 . The data set in register 11 here is used as an end address. Furthermore, ALU7
control signal G to make the output from gate 8 the output from gate 8.
4 becomes “1” at the rising edge of the fifth signal 5 .
Initialization for DMA operation is completed.

次にタイミングEで信号“0”、信号
“0”となると制御信号G1,G2が各々“1”
となりラツチ10のスタートアドレスで指定され
たメモリ4のアドレスに外部データバスから情報
がデータバスバツフア5、内部バスID7〜0、ゲー
ト6を介して入力され記憶される。更に、ラツチ
10のスタートアドレスはレジスタ11のエンド
アドレスと比較器12で比較され両者が一致して
いなければ比較器12の出力は“0”となり、制
御回路1に知らせる。又、制御回路1の制御信号
Cによりインクリメント(+1)として設定され
たALU7はラツチ10のアドレスを+1しゲー
ト8を介してレジスタ9へ入力する。このときラ
ツチ10は制御信号Lが“0”であるため、まだ
スタートアドレスを記憶し出力している。この後
WR信号の立上りで制御信号Lが“1”となり、
レジスタ9に新たに設定されたアドレスがラツチ
10を介してメモリ4に読み出される。更に次の
CS信号“0”、信号“0”の入力により制御
信号G1,G2を各々“1”とし、新たなアドレ
スで指定されたメモリ4の番地に外部データバス
D7〜0の情報が入力され記憶される。又、ラツチ
10の新たなアドレスはレジスタ11のエンドア
ドレスと比較器12で比較され一致していなけれ
ば比較器12の出力は“0”となり制御回路1に
知らせる。更に前述したのと同様にALU7はラ
ツチ10のアドレスをインクリメント(+1)
し、ゲート8を介してレジスタ9へインクリメン
トされたアドレス即ちスタートアドレス+2を設
定する。このアドレスは信号の立上りでラツ
チ10に入力され、ラツチ10はスタートアドレ
ス+2を出力する。前述した如くレジスタ9のア
ドレスは信号“0”の発生により順次インク
リメントされてメモリ4を順次アドレス指定し、
各番地には外部データバス18から送られてくる
周辺回路の情報が記憶される。これらインクリメ
ントされたアドレスはレジスタ11に記憶されて
いるエンドアドレスと逐次比較され、一致しない
場合は更に前記動作をくり返し、一致した場合に
は比較器12の出力が“1”となり、次に来る
WR信号“0”即ちエンドアドレスに一致したア
ドレスで指定されたメモリ4の番地に最後の情報
が記憶される。更に比較器12の出力“1”によ
つてこの信号の立上りで、制御回路1の制御
信号G3を“1”にし内部アドレスバス14をゲ
ート2から切り離す(タイミングF)。かかる動
作の終了とともにDMA転送処理が終了する。
Next, at timing E, the signal becomes “0”, and when the signal becomes “0”, the control signals G1 and G2 each become “1”.
Information is input from the external data bus to the address of the memory 4 designated by the start address of the latch 10 via the data bus buffer 5, internal buses ID7-0 , and gate 6 and is stored therein. Further, the start address of the latch 10 is compared with the end address of the register 11 by the comparator 12, and if the two do not match, the output of the comparator 12 becomes "0" and the control circuit 1 is notified. Further, the ALU 7 set to increment (+1) by the control signal C of the control circuit 1 increments the address of the latch 10 by +1 and inputs it to the register 9 via the gate 8. At this time, since the control signal L is "0", the latch 10 is still storing and outputting the start address. After this
At the rising edge of the WR signal, the control signal L becomes “1”,
The address newly set in register 9 is read out to memory 4 via latch 10. Further next
By inputting the CS signal "0" and the signal "0", the control signals G1 and G2 are set to "1", and the external data bus is transferred to the memory 4 address specified by the new address.
D7-0 information is input and stored. Further, the new address of the latch 10 is compared with the end address of the register 11 by the comparator 12, and if they do not match, the output of the comparator 12 becomes "0" and is notified to the control circuit 1. Furthermore, in the same way as described above, ALU7 increments (+1) the address of latch 10.
Then, the incremented address, that is, the start address +2, is set in the register 9 via the gate 8. This address is input to latch 10 at the rising edge of the signal, and latch 10 outputs the start address +2. As mentioned above, the address of the register 9 is sequentially incremented by the generation of the signal "0" to sequentially address the memory 4,
Peripheral circuit information sent from the external data bus 18 is stored at each address. These incremented addresses are successively compared with the end address stored in the register 11, and if they do not match, the above operation is repeated, and if they match, the output of the comparator 12 becomes "1", and the next
The last information is stored in the address of the memory 4 designated by the WR signal "0", that is, the address that matches the end address. Further, at the rising edge of this signal due to the output "1" of the comparator 12, the control signal G3 of the control circuit 1 is set to "1" and the internal address bus 14 is disconnected from the gate 2 (timing F). Upon completion of this operation, the DMA transfer process ends.

尚、本実施例においてDMA動作のための初期
設定後、信号“0”の変わりに信号“0”
を入力すればメモリ4からの情報をゲート6、内
部バス16、データバツフア5を介して外部デー
タバス18に読み出すことも勿論可能である。
Note that in this embodiment, after the initial setting for DMA operation, the signal “0” is changed instead of the signal “0”.
It is of course possible to read out information from the memory 4 to the external data bus 18 via the gate 6, internal bus 16, and data buffer 5 by inputting .

以上の様に本実施例によればDMA転送のため
のDMAアドレスをDMA転送用メモリチツプ内
で発生させることができるため、DMA転送時に
他のダイナミツクメモリのリフレツシユ動作を外
部アドレスバスを用いて並行して実行することが
できる。このためDMA転送を中断することなく
高速で実行できる。又、チツプ内部でDMA転送
用アドレスを発生させているので、外部にDMA
転送用アドレスバスを必要とせず、かつDMA制
御装置も不要となるため経済的にも非常に有利で
装置自体も単純化される。
As described above, according to this embodiment, since the DMA address for DMA transfer can be generated within the DMA transfer memory chip, the refresh operation of other dynamic memories can be performed in parallel using the external address bus during DMA transfer. and can be executed. Therefore, DMA transfer can be executed at high speed without interruption. In addition, since the DMA transfer address is generated internally on the chip, no DMA transfer address is generated externally.
Since a transfer address bus and a DMA control device are not required, it is very economically advantageous and the device itself is simplified.

尚、本実施例のメモリチツプがDMA転送に使
用されている時にCPU及びそれ以外は制御機器
が外部アドレスバスを用いてリフレツシユ処理以
外のデータ処理を実行できることは明らかであ
る。この際、CPU、メモリ、周辺回路を接続す
るデータバスの使用が問題となるが、DMA転送
に使用されるメモリと周辺回路とを接続するバス
を別に形成すればよいし、あるいは共通バスの場
合にはタイムシユアリンダ方式(時分割方式)を
用いてもよい。更に、ALU7の機能をデユクリ
メント(−1)にしてもアドレスの指定順序が変
わるだけで本発明の効果が十分得られるものであ
る。又、本実施例ではCPU、メモリ、周辺回路
等を夫々独立したチツプで構成した例を提示した
が、これらを1チツプ化してDMAメモリ部に本
発明を適用してもよい。更にDMA転送用のメモ
リのアドレス空間が予め決められている場合に
は、本実施例のようにエンドアドレスとの比較を
とる必要は必ずしもない。この場合には比較器1
2、レジスタ11の変わりに計数回路あるいはタ
イマー等を設け、所定数のアドレスを発生するよ
うに設定しておけばよい。更に本実施例のDMA
用メモリはスタテイツクメモリで形成されたもの
を例示しているが、このメモリチツプをダイナミ
ツクメモリで形成しても、内部アドレスをリフレ
ツシユ用アドレスとして用いれば内部データバス
を介して極めて容易にリフレツシユを実行するこ
とができる。
It is clear that when the memory chip of this embodiment is used for DMA transfer, the CPU and other control equipment can perform data processing other than refresh processing using the external address bus. In this case, the use of a data bus that connects the CPU, memory, and peripheral circuits becomes a problem, but it is sufficient to form a separate bus that connects the memory and peripheral circuits used for DMA transfer, or in the case of a common bus. A time-shu Linda method (time division method) may be used. Further, even if the function of the ALU 7 is set to decrement (-1), the effects of the present invention can be sufficiently obtained by simply changing the address designation order. Furthermore, although this embodiment has presented an example in which the CPU, memory, peripheral circuits, etc. are each constructed from independent chips, the present invention may be applied to the DMA memory section by integrating these into one chip. Furthermore, if the address space of the memory for DMA transfer is determined in advance, it is not necessarily necessary to compare with the end address as in this embodiment. In this case, comparator 1
2. Instead of the register 11, a counting circuit or a timer may be provided and set to generate a predetermined number of addresses. Furthermore, the DMA of this example
Although the memory chip is formed of static memory in the example shown, even if this memory chip is formed of dynamic memory, if the internal address is used as the refresh address, it can be refreshed very easily via the internal data bus. can be executed.

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

第1図は従来のDMA制御機能を有するデータ
処理装置を示すブロツク図で、第2図は本発明の
一実施例を示すDMA転送用メモリチツプの回路
ブロツク図、第3図はその動作タイミング図であ
る。 100……中央処理装置、101……DMA制
御装置、102……メモリ装置、103……周辺
装置、104……アドレスバス、105……デー
タバス、106……制御バス、1……制御回路、
2……ゲート、3……アドレスデコーダ、4……
記憶回路、5……データバスバツフア、6……ゲ
ート、7……論理演算回路、8……ゲート、9…
…レジスタ、10……ラツチ、11……レジス
タ、12……比較器、13……外部アドレス導入
バス、14……内部アドレスバス、15……外部
アドレスバス端子、16……内部データバス、1
7……外部データバス端子、18……外部データ
入出力バス。
Fig. 1 is a block diagram showing a conventional data processing device having a DMA control function, Fig. 2 is a circuit block diagram of a memory chip for DMA transfer showing an embodiment of the present invention, and Fig. 3 is an operation timing diagram thereof. be. 100... central processing unit, 101... DMA control device, 102... memory device, 103... peripheral device, 104... address bus, 105... data bus, 106... control bus, 1... control circuit,
2...Gate, 3...Address decoder, 4...
Memory circuit, 5...Data bus buffer, 6...Gate, 7...Logic operation circuit, 8...Gate, 9...
...Register, 10...Latch, 11...Register, 12...Comparator, 13...External address introduction bus, 14...Internal address bus, 15...External address bus terminal, 16...Internal data bus, 1
7...External data bus terminal, 18...External data input/output bus.

Claims (1)

【特許請求の範囲】[Claims] 1 中央処理装置の介在なしに周辺装置との間で
直接データ転送を行なうことができる記憶装置で
あつて、該記憶装置は複数半導体チツプによつて
構成され、各チツプは外部アドレスバスに接続さ
れる外部アドレス入力部、リフレツシユが必要な
ダイナミツクメモリ、内部アドレス発生部、デー
タ入出力部、切換ゲートおよび制御部からなり、
前記直接データ転送時には前記制御部の制御によ
り、内部アドレス発生部はデータ入出力部からの
外部データを初期設定値として取り込み、それに
基いて順次内部アドレスを発生するとともに、前
記切換ゲートを介して前記内部アドレス発生部と
前記ダイナミツクメモリとを接続し、非直接デー
タ転送時には前記制御部の制御により前記切換ゲ
ートを介して前記外部アドレス入力部と前記ダイ
ナミツクメモリとを接続するようになされ、所定
のチツプが前記直接データ転送を行なつている
時、他のチツプはそれ以外の動作をなしうること
を特徴とする記憶装置。
1 A storage device that can directly transfer data to and from a peripheral device without the intervention of a central processing unit, the storage device being composed of a plurality of semiconductor chips, each chip being connected to an external address bus. It consists of an external address input section, a dynamic memory that requires refresh, an internal address generation section, a data input/output section, a switching gate, and a control section.
During the direct data transfer, under the control of the control section, the internal address generation section takes in external data from the data input/output section as an initial setting value, sequentially generates internal addresses based on it, and generates the internal address via the switching gate. The internal address generation section and the dynamic memory are connected, and during non-direct data transfer, the external address input section and the dynamic memory are connected via the switching gate under the control of the control section. A storage device characterized in that when one chip is performing the direct data transfer, other chips can perform other operations.
JP16196379A 1979-12-13 1979-12-13 Storage device Granted JPS5685135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16196379A JPS5685135A (en) 1979-12-13 1979-12-13 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16196379A JPS5685135A (en) 1979-12-13 1979-12-13 Storage device

Publications (2)

Publication Number Publication Date
JPS5685135A JPS5685135A (en) 1981-07-11
JPS6338731B2 true JPS6338731B2 (en) 1988-08-02

Family

ID=15745392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16196379A Granted JPS5685135A (en) 1979-12-13 1979-12-13 Storage device

Country Status (1)

Country Link
JP (1) JPS5685135A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0455222U (en) * 1990-09-14 1992-05-12

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5436138A (en) * 1977-08-26 1979-03-16 Nec Corp Direct memory access system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5436138A (en) * 1977-08-26 1979-03-16 Nec Corp Direct memory access system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0455222U (en) * 1990-09-14 1992-05-12

Also Published As

Publication number Publication date
JPS5685135A (en) 1981-07-11

Similar Documents

Publication Publication Date Title
US6804743B2 (en) Two step memory device command buffer apparatus and method and memory devices and computer systems using same
JPS5942396B2 (en) semiconductor memory device
JPH0612613B2 (en) Semiconductor memory device
JPS6242396A (en) Dynamic memory refresh and parity checking circuit
JPS5958700A (en) Memory protection judge method
US5765203A (en) Storage and addressing method for a buffer memory control system for accessing user and error imformation
US5379263A (en) Semiconductor memory device which can provide required data flexibly under simplified control and operating method therefor
JPS59116850A (en) Processor system
JPS6128198B2 (en)
US4964037A (en) Memory addressing arrangement
JPS6338731B2 (en)
JPH1069430A (en) Semiconductor storage
JPS623504B2 (en)
JPS6386191A (en) Dynamic memory
JPH02136921A (en) Register access system
JP2715524B2 (en) Timer circuit
JP2570271B2 (en) Semiconductor memory controller
JP2548206B2 (en) Semiconductor memory device
JPS61276200A (en) Writing system for programmable rom
JPS59114657A (en) Memory interface circuit of microcomputer
JPS63225995A (en) Semiconductor memory device
JPS61246848A (en) Operation hysteresis storage circuit
JPS61128347A (en) Memory address setting system
JPS6329295B2 (en)
JPS63220352A (en) Data transfer circuit for inter-cpu