JPH0447348A - Memory control circuit - Google Patents

Memory control circuit

Info

Publication number
JPH0447348A
JPH0447348A JP15375790A JP15375790A JPH0447348A JP H0447348 A JPH0447348 A JP H0447348A JP 15375790 A JP15375790 A JP 15375790A JP 15375790 A JP15375790 A JP 15375790A JP H0447348 A JPH0447348 A JP H0447348A
Authority
JP
Japan
Prior art keywords
data
main memory
address
write
signal
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
JP15375790A
Other languages
Japanese (ja)
Inventor
Takumi Yamazaki
山崎 琢己
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 Ibaraki Ltd
Original Assignee
NEC Ibaraki 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 NEC Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP15375790A priority Critical patent/JPH0447348A/en
Publication of JPH0447348A publication Critical patent/JPH0447348A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To read and write optional continuous data by outputting an address strobe signal, a write-in instructing signal, and a data output instructing signal, etc., in the number of necessary cycles, and utilizing the page access system of a dynamic RAM. CONSTITUTION:A data buffer 12 controls the input/output of the data at the time of reading and writing the data between a CPU 1 and a main storage circuit 5. The CPU 1 outputs a command to write an address to an address bus and write the optional number of the data to a command bus, and simultaneously, it makes main storage access continuation signal 8 active. A main storage access control circuit 9 outputs the address strobe signal and the write-in instructing signal to the main storage circuit 5, and further, it outputs an address summing signal 10 to an address addition circuit 7. Thus, write-in data is written in the continuous addresses. Thus, the optional continuous data can be read and written.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はメモリ制御回路、特に、主記憶回路からのデー
タの連続読出し及び主記憶回路へのデータの連続書込み
を制御するメモリ制御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory control circuit, and particularly to a memory control circuit that controls continuous reading of data from a main memory circuit and continuous writing of data to the main memory circuit.

〔従来の技術〕[Conventional technology]

従来、この種の主記憶回路は、安価なリフレッシュメモ
リ(例えばダイナミックRAM)を記憶素子として大容
量化され、更には高速アクセス可能なダイナミックRA
Mを用いて高速化されつつあるが、中央処理装置(以下
CPUと呼ぶ)のスピードと比較すると主記憶回路のス
ピードはがなり遅い。
Conventionally, this type of main memory circuit has been increased in capacity by using an inexpensive refresh memory (for example, dynamic RAM) as a storage element, and has also been developed using a dynamic RA that can be accessed at high speed.
Although speeds are being increased using M, the speed of the main memory circuit is much slower than that of the central processing unit (hereinafter referred to as CPU).

そこで、アドレスが連続したデータの読出しあるいは書
込みを行う場合は、ダイナミックRAMの機能として一
般的に知られているページアクセス方式等を採用し、主
記憶をある大きさのブロックに分割し、このブロック単
位を一回の主記憶アクセスで読出すことが可能な機能(
以下ブロックリードと呼ぶ)、更にはブロック単位に一
回の主記憶アクセスでデータを書込むことが可能な機能
(以下ブロックライトと呼ぶ)により、CPUがらの主
記憶アクセスを高速化している。
Therefore, when reading or writing data with consecutive addresses, a page access method, which is generally known as a function of dynamic RAM, is used to divide the main memory into blocks of a certain size. A function that allows units to be read in one main memory access (
Main memory accesses by the CPU are sped up by a function (hereinafter referred to as "block write") that allows data to be written in blocks by a single access to the main memory (hereinafter referred to as "block read").

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

上述した従来の主記憶回路のアクセス方式は、アドレス
が連続したデータの読出しあるいは書込みを行う場合、
ブロックリードあるいはブロックライト機能により高速
化しているが、連続したデータがブロック単位よりも大
きい場合は複数回のブロックリードまたはブロックライ
トを行わなければならない。また、連続したデータがブ
ロック単位よりも小さい場合には余分な時間がかかつて
しまうという欠点がある。
In the conventional main memory circuit access method described above, when reading or writing data with consecutive addresses,
Although the speed is increased by the block read or block write function, if the continuous data is larger than a block unit, the block read or block write must be performed multiple times. Another disadvantage is that if the continuous data is smaller than a block unit, extra time is required.

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

本発明のメモリ制御回路は、中央処理装置と主記憶回路
との間に設けられ、中央処理装置からの主記憶アクセス
アドレスを順次加算するアドレス加算回路と、アドレス
が連続したデータに対し任意のバイト数をアクセスする
ための主記憶コマンドと主記憶アクセスの継続を制御す
る主記憶アクセス継続信号に応じて、主記憶アクセスア
ドレスから順次データを読出す手段及びデータを書込む
手段を有している。
The memory control circuit of the present invention is provided between a central processing unit and a main memory circuit, and includes an address addition circuit that sequentially adds main memory access addresses from the central processing unit, and an address addition circuit that sequentially adds main memory access addresses from the central processing unit; It has means for sequentially reading data from a main memory access address and means for writing data in response to a main memory command for accessing a number and a main memory access continuation signal for controlling continuation of main memory access.

〔実施例〕 次に本発明について図面を参照して説明する。〔Example〕 Next, 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.

1は中央処理装置(CPU)であり、2はデータバス、
3はアドレスバス、4はデータの読出し及び書込み指示
が出力されるコマンドバスである。5は安価なリフレッ
シュメモリ(例えばダイナミックRAM)で構成された
主記憶回路である。
1 is a central processing unit (CPU), 2 is a data bus,
3 is an address bus, and 4 is a command bus to which data read and write instructions are output. 5 is a main memory circuit composed of an inexpensive refresh memory (eg, dynamic RAM).

CPU 1から主記憶回路5に対しデータの読出しある
いは書込みが指示されると、アドレスバス3から主記憶
アクセスアドレスがアドレスバッファ6を介してアドレ
ス加算回路7に入力される。
When CPU 1 instructs main memory circuit 5 to read or write data, a main memory access address is input from address bus 3 to address adder circuit 7 via address buffer 6 .

8は連続したデータの読出しあるいは書込みを行う際の
主記憶アクセス継続信号であり、9はコマンドバス4か
らの主記憶アクセスコマンドと主記憶アクセス継続信号
8とによってアドレス加算回路7ヘアドレス加算信号1
0及び主記憶回路5ヘアドレスのストローブ信号、書込
み指示信号、データ出力指示信号等の主記憶アクセス信
号11を出力する主記憶アクセス制御回路である。
8 is a main memory access continuation signal when reading or writing continuous data, and 9 is an address addition signal 1 to the address addition circuit 7 by the main memory access command from the command bus 4 and the main memory access continuation signal 8.
This is a main memory access control circuit that outputs main memory access signals 11 such as a strobe signal for address 0 and the main memory circuit 5, a write instruction signal, and a data output instruction signal.

12はCPUIと主記憶回路5との間でデータの読出し
、書込みを行う際のデータの入出力を制御するデータバ
ッファであり、13はアドレス加算回路7から主記憶回
路5へ出力されるアドレス信号である。
12 is a data buffer that controls data input/output when reading and writing data between the CPUI and the main memory circuit 5; 13 is an address signal output from the address addition circuit 7 to the main memory circuit 5; It is.

次にタイミングチャートを用いて本発明の動作について
説明する。
Next, the operation of the present invention will be explained using a timing chart.

第2図はデータの読出し時のタイミングチャートである
0本タイミングチャートは連続した10ワードのデータ
を読出す時の例である。
FIG. 2 is a timing chart when reading data. The zero timing chart is an example when reading 10 consecutive words of data.

20はCPUIの基本クロックである。SOステージで
CPUIはアドレスバス3城にアドレスAO及びコマン
ドバス4上に任意のデータ数を読出すためのコマンドC
ROを出力する。そして、同時に主記憶アクセス継続信
号8をアクティブ(“H″)にする。
20 is the basic clock of the CPUI. At the SO stage, the CPU sends an address AO to the address bus 3 and a command C to read an arbitrary number of data onto the command bus 4.
Output RO. At the same time, the main memory access continuation signal 8 is made active (“H”).

主記憶アクセス制御回路9はコマンドCROと主記憶ア
クセス継続信号8とから、アドレスストローブ信号11
a及びデータ出力指示信号11bを81ステージから8
10ステージまでアクティブにし、主記憶回路5に出力
する。
The main memory access control circuit 9 receives an address strobe signal 11 from the command CRO and the main memory access continuation signal 8.
a and the data output instruction signal 11b from the 81st stage.
It activates up to 10 stages and outputs it to the main memory circuit 5.

そして、アドレス加算信号10によってアドレス加算回
路7からのアドレス出力13はS1ステージ以降AO,
Al・・・A9となり、対応する読出しデータRDO−
・RD9がデータバス2に出力される。
Then, the address output 13 from the address addition circuit 7 is outputted by the address addition signal 10 to AO,
Al...A9, and the corresponding read data RDO-
- RD9 is output to data bus 2.

第3図はデータの書込み時のタイミングチャートであり
、10ワードのデータを連続して書込む例である。
FIG. 3 is a timing chart when writing data, and is an example in which 10 words of data are written continuously.

SOステージでCPUIはアドレスバス3上にアドレス
AO及びコマンドバス4上に任意のデータ数を書込むコ
マンドCWOを出力する。そして、同時に主記憶アクセ
ス継続信号8をアクティブ(“H″)にする。
At the SO stage, the CPU outputs an address AO onto the address bus 3 and a command CWO to write an arbitrary number of data onto the command bus 4. At the same time, the main memory access continuation signal 8 is made active (“H”).

主記憶アクセス制御回路9は主記憶回路5に対し、アド
レスストローブ信号11a、書込み指示信号11cをS
l〜SIOステージ間出力し、支出力ドレス加算回路7
にアドレス加算信号10を出力する。
The main memory access control circuit 9 sends an address strobe signal 11a and a write instruction signal 11c to the main memory circuit 5.
Output between l and SIO stages and output power dress addition circuit 7
The address addition signal 10 is output to.

これによってアドレス出力13はAO〜A9となり、連
続したアドレスに書込みデータWDO〜WD9が書込ま
れる。
As a result, the address output 13 becomes AO to A9, and write data WDO to WD9 are written to consecutive addresses.

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

以上説明したように本発明は、主記憶アクセスアドレス
を加算するアドレス加算回路を設け、連続したアドレス
の任意のデータ数の読出し及び書込みコマンドと主記憶
アクセス継続信号とにより、主記憶回路ヘアドレススト
ローブ信号、書込み指示信号、データ出力指示信号等を
必要サイクル数出力し、ダイナミックRAMのページア
クセス方式を利用することにより、任意の連続したデー
タの読出し・書込みができる効果がある。
As explained above, the present invention provides an address addition circuit that adds main memory access addresses, and uses a read/write command for an arbitrary number of data in consecutive addresses and a main memory access continuation signal to control the main memory circuit address strobe. By outputting a signal, a write instruction signal, a data output instruction signal, etc. for the required number of cycles and using the dynamic RAM page access method, it is possible to read and write arbitrary continuous data.

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

第1図は本発明の一実施例を示すブロック図、第2図は
データ読出し時のタイミングチャート、第3図はデータ
書込み時のタイミングチャートである。 1・・・中央処理装置f(CPU)、2・・・データバ
ス、3・・・アドレスバス、4・・・コマンドバス、5
・・・主記憶回路、6・・・アドレスバッファ、7・・
・アドレス加算回路、8・・・主記憶アクセス継続信号
、9・・・主記憶アクセス制御回路、10・・・アドレ
ス加算信号、11・・・主記憶アクセス信号、lla・
・・アドレスストローブ信号、llb・・・データ出力
指示信号、llc・・・データ書込み指示信号、12・
・データバッファ、13・・・アドレス出力信号。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a timing chart when reading data, and FIG. 3 is a timing chart when writing data. 1... Central processing unit f (CPU), 2... Data bus, 3... Address bus, 4... Command bus, 5
...Main memory circuit, 6...Address buffer, 7...
- Address addition circuit, 8... Main memory access continuation signal, 9... Main memory access control circuit, 10... Address addition signal, 11... Main memory access signal, lla.
...address strobe signal, llb...data output instruction signal, llc...data write instruction signal, 12.
・Data buffer, 13...address output signal.

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置と主記憶回路との間に設けられ前記中央処
理装置からの主記憶アクセスアドレスを順次加算するア
ドレス加算回路と、アドレスが連続したデータに対し任
意のデータ数をアクセスするための主記憶コマンド及び
前記主記憶コマンドによる主記憶アクセスの継続を制御
する主記憶アクセス継続信号に応じて前記主記憶アクセ
スアドレスから順次データを読出す手段及び順次データ
を書込む手段とを含むことを特徴とするメモリ制御回路
an address addition circuit provided between a central processing unit and a main memory circuit to sequentially add main memory access addresses from the central processing unit; and a main memory for accessing an arbitrary number of data with consecutive addresses. It is characterized by comprising means for sequentially reading data from the main memory access address and means for sequentially writing data in response to a command and a main memory access continuation signal that controls continuation of main memory access by the main memory command. Memory control circuit.
JP15375790A 1990-06-12 1990-06-12 Memory control circuit Pending JPH0447348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15375790A JPH0447348A (en) 1990-06-12 1990-06-12 Memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15375790A JPH0447348A (en) 1990-06-12 1990-06-12 Memory control circuit

Publications (1)

Publication Number Publication Date
JPH0447348A true JPH0447348A (en) 1992-02-17

Family

ID=15569464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15375790A Pending JPH0447348A (en) 1990-06-12 1990-06-12 Memory control circuit

Country Status (1)

Country Link
JP (1) JPH0447348A (en)

Similar Documents

Publication Publication Date Title
US7707328B2 (en) Memory access control circuit
JP2947664B2 (en) Image-dedicated semiconductor storage device
JPH0447348A (en) Memory control circuit
JPH0546527A (en) Dual port memory circuit
GB2399901A (en) Method for using a reduced width instruction set in an active memory device
JPH05189360A (en) Data transfer and storage system
JPH06103026A (en) Memory system
JP2797836B2 (en) Double buffer memory system
JP2552366B2 (en) Bit block transfer controller
JP2845746B2 (en) Micro program controller
JPH04142638A (en) Information processor
JPH04148442A (en) Information processor
JPH04116750A (en) Dma memory transfer device
JPH03269654A (en) Information processor
JPH05298177A (en) Access control system for main storage circuit
JPS59191184A (en) Memory device
JPH01260559A (en) Microcomputer system
JPH06301629A (en) Main storage device
JPH03141425A (en) Logic arithmetic system
JPH02292793A (en) Memory controller
JPH04199450A (en) Direct memory access control circuit
JPH0348549B2 (en)
JPH0353318A (en) Two-port memory
JPH0546467A (en) Dram controller and memory system using the same
JPH0438560A (en) Store data transfer system