JPS63204592A - Memory refresh control system - Google Patents

Memory refresh control system

Info

Publication number
JPS63204592A
JPS63204592A JP62036377A JP3637787A JPS63204592A JP S63204592 A JPS63204592 A JP S63204592A JP 62036377 A JP62036377 A JP 62036377A JP 3637787 A JP3637787 A JP 3637787A JP S63204592 A JPS63204592 A JP S63204592A
Authority
JP
Japan
Prior art keywords
address
microinstruction
register
memory
main 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.)
Pending
Application number
JP62036377A
Other languages
Japanese (ja)
Inventor
Toshiyuki Hattori
俊幸 服部
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 JP62036377A priority Critical patent/JPS63204592A/en
Publication of JPS63204592A publication Critical patent/JPS63204592A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute refreshing operation with a simple circuit constitution by storing a microinstruction for executing refreshing operation in the main memory of a control memory and generating an interruption to the microinstruction at a fixed period to execute the refreshing operation of the main memory. CONSTITUTION:The microinstruction for executing the refreshing operation of the main memory 2 from a fixed address is previously stored in the control memory 12, the fixed address is formed at the fixed period and an interruption to the microinstruction is generated from a means 8. When the interruption is generated in the fixed address on the way of processing an instruction word by the microinstruction, the refreshing operation of the main memory 2 is executed by the microinstruction started from the fixed address at the end of the processing of the instruction word. Since the refreshing operation is controlled by the microinstruction, the dynamic RAM can be refreshed with a simple hardware.

Description

【発明の詳細な説明】 技術分野 本発明はメモリリフレッシュ制御方式に関し、特に情報
処理装置にお()る主記憶のダイナミック型ランダムア
クセスメモリのりフレフシ1制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a memory refresh control system, and more particularly to a dynamic random access memory refresh 1 control system for a main memory in an information processing apparatus.

従来技術 従来のこの種のダイナミック型うンダl\アクセスメモ
リのリフレッシュ制御方式を、図面を用いて説明づる。
BACKGROUND OF THE INVENTION A conventional refresh control method of this type of dynamic under-access memory will be explained with reference to the drawings.

第2図に示すのが、典へ?的なダイブミック型256に
bitx 1構成のランダムアクセスメモリブツブの外
観図であり、第3図が当該メモリチップのビンの名称と
I能とを夫々対応して示ずものである。
What is shown in Figure 2? FIG. 3 is an external view of a random access memory block having a dynamic type 256 and bitx 1 configuration, and FIG. 3 does not show the corresponding names and functions of the bins of the memory chip.

例えば、物理ビン番シシ1はピン名称へ8であり、これ
t、19ビツトからなるアドレスのうちの1ビツトの入
力ビンである。このメモリはl’<AS、C△S、WI
Eの3つの制御入力ビンを待っており、この3つの制御
ビンの組含拷によって4つの動作モードすなわら、ライ
1−七−ド、リード七−ド、すフレッシコモード、スタ
ンバイ[−ドを選択するようになっている。この様子を
第4図に示す。
For example, the physical bin number 1 has a pin name of 8, and is the input bin for 1 bit of the 19-bit address. This memory is l'<AS, C△S, WI
E is waiting for three control input bins, and the combination of these three control bins provides four modes of operation: read 1-7 mode, read 7-mode, freshco mode, and standby [-mode]. You can now choose. This situation is shown in FIG.

また、このメモリは256にbitX 1の構成であっ
てアドレスが18ビツト必要であるが、アドレスだ(プ
で18ビンら必要となり、チップサイズを大きくしてし
まう。そこで、このアドレスを2分割して上位9ビツト
(カラムアドレスと称する)と下位9ビツト(ロウアド
レスと称する)とし、それぞれCAS、RAS信号が“
0″レベルになったときに内部にそのアドレスを取込む
ようになっている。
Also, this memory has a configuration of 256 bits x 1 and requires 18 bits for the address, which requires 18 bins for the address (pull), increasing the chip size.Therefore, we divided this address into two. The upper 9 bits (referred to as a column address) and the lower 9 bits (referred to as a row address) are the upper 9 bits (referred to as a column address) and the lower 9 bits (referred to as a row address).
When the level reaches 0'', the address is internally read.

第5j図にメモリブツブのアドレスピンと内部アドレス
の関係を示す。第5図において、2°〜217はアドレ
スの手みづけであり、20〜28がロウアドレス、29
〜217がカラムアドレスになっている。また、21〜
28はリフレッシュアドレスと称しており、このうちの
あるひとつのアドレスが一度アクセスされた、すなわち
リードサイクルかライトサイクルかりフレッシュサイク
ルかのいずれかになった侵、4ミリ秒以内に再びアクセ
スされればそのアドレスがリフレッシュされる。
FIG. 5j shows the relationship between the address pins of the memory block and internal addresses. In FIG. 5, 2° to 217 are the addresses, 20 to 28 are row addresses, and 29
~217 is the column address. Also, 21~
28 is called a refresh address, and if one of these addresses is accessed once, that is, during a read cycle, write cycle, or fresh cycle, if it is accessed again within 4 milliseconds. The address is refreshed.

これをこのリフレッシュアドレスすべてに対して行うこ
とにより、このメモリのすべでの記憶素子がフリレッシ
ュされる。従って、4ミリ秒÷28−16マイクロ秒ご
とにリフレッシュアドレスを1ずつ増加させ、かつリー
ドサイクルでメ℃りを動性さUれば、ブ[1t!ツサか
ら読出しかまたは21込み指示がなくても主記憶はその
記憶内容を保持し続りることになる。
By doing this for all refresh addresses, all storage elements of this memory are refreshed. Therefore, if we increment the refresh address by 1 every 4 milliseconds/28-16 microseconds, and dynamically remove the memory in the read cycle, then BU[1t! The main memory will continue to hold its memory contents even if there is no read or 21-in instruction from the sleeve.

第6図にはこのメ[りの4つの動作モード時の各入出力
g=子のタイムチ↑l−トを示す。例えば、メLりから
記憶されいるデータを読出す場合、RA S = 0と
してAO〜八8へロウアドレスを入力し、次にCAS=
0どしてAO−A8にカラムアドレスを入力すれば、[
)out端fに該当づるアドレスのデータが表われる。
FIG. 6 shows time charts for each input/output g=child in these four operating modes. For example, when reading data stored from the memory, input the row address to AO to 88 with RA S = 0, then CAS =
0 and input the column address to AO-A8, [
) The data of the corresponding address appears at the out end f.

プロセッサが主記憶をアクセスする場合、基本的には第
7図のようなアドレス、ライトデータ。
When a processor accesses main memory, it basically uses addresses and write data as shown in Figure 7.

リードデータおよびREAD、WRITE指示信号のイ
ンタフェースであるのが酋通である。例えば、主記憶か
らデータを読出すときは、アドレス線に読出したいデー
タのアドレスを出力し、READ (、i¥′J・を出
すことによって、主記憶はリードデーク信号線に読出さ
れたデータを出力し、プロセッサはこれを内部に取込む
。これらの条件を満すグイノミツク望ランダムアクセス
メモリを主記憶とする情報処理装首の例を第8図に示す
The passthrough is an interface for read data and READ and WRITE instruction signals. For example, when reading data from the main memory, the address of the data to be read is output to the address line, and by outputting READ (, i\'J・, the main memory outputs the read data to the read data signal line. Then, the processor takes this information internally.An example of an information processing device whose main memory is a guinomic random access memory that satisfies these conditions is shown in FIG.

この情報処yP装置はダイナミック型ランダムアクセス
メモリを主2a!25とし、その主記憶25に格納され
た命令語によって、同じく主記憶25に格納されたデー
タの処理を行うプロセッサ24と、このブロセッ1J2
4から出された読出しまたは書込み指示信号から、:t
−記憶25のリード/ライ1へ/リフレッシュサイクル
のタイミングを発生するリフレッシュコントローラ26
とからなっている。
This information processing yP device mainly uses dynamic random access memory 2a! 25, a processor 24 that processes data also stored in the main memory 25 according to instructions stored in the main memory 25, and this processor 1J2.
From the read or write instruction signal issued from 4: t
- Refresh controller 26 that generates read/write 1/refresh cycle timing for memory 25
It consists of

この装置の動作を簡単に説明すると、プロセッサ24が
主記憶25からデータを読出したい場合、18ビツトの
アドレスレジスタ27に主記憶25のアドレスをセット
し、RE A D信号を出力する。
Briefly explaining the operation of this device, when the processor 24 wants to read data from the main memory 25, it sets the address of the main memory 25 in the 18-bit address register 27 and outputs the READ signal.

これに応答してリフレッシュコントローラ26はまずア
ドレスレジスタ27のアドレスのうらロウアドレス部9
ビットをアドレスマルチプレクサ28、ロウアドレスセ
レクタ32を選択して主記憶25の八〇−A8に出力し
タイミング発生回路29によりRAS−0とする。
In response to this, the refresh controller 26 first updates the row address part 9 of the address register 27.
The bit is selected by the address multiplexer 28 and the row address selector 32 and output to 80-A8 of the main memory 25, and the timing generation circuit 29 sets it as RAS-0.

次に、アドレスレジスタ27のアドレスのうちカラムア
ドレス部9ビットを同じようにアドレスフル1プレクサ
28.ロウアドレスセレクタ32を選択して主記憶のへ
〇〜へ8に出力し、タイミング発生回路29によりCA
S=Oとする。すると、主記憶25は第6図に示すリー
ドサイクルであるため、該当するアドレスのデータをD
QIJt端子に出力し、プロセッサ24はこのデータを
取込む。また、このリフレッシュコントローラ26は1
6IJsのパルス発生器31を内蔵しており、16埒毎
に主記憶25がリフレッシュサイクルになるように制御
している。これは、16虐毎に1加口される8ビツトの
リフレッシュカウンタ30の出力が△0〜Δ7に入力さ
れるように、ロウアドレスセレクタ32を選択し、タイ
ミング発生回路29によりRAS−0とすることによっ
て行っている。
Next, 9 bits of the column address part of the address of the address register 27 are transferred to the address full 1 plexer 28. The row address selector 32 is selected and output to 8 to 8 of the main memory, and the timing generation circuit 29 outputs the CA
Let S=O. Then, since the main memory 25 is in the read cycle shown in FIG.
The data is output to the QIJt terminal, and the processor 24 takes in this data. Moreover, this refresh controller 26 has 1
It has a built-in pulse generator 31 of 6 IJs, and is controlled so that the main memory 25 undergoes a refresh cycle every 16 IJs. This selects the row address selector 32 so that the output of the 8-bit refresh counter 30, which is incremented by 1 every 16 cycles, is input to Δ0 to Δ7, and the timing generation circuit 29 sets it to RAS-0. It is done by doing this.

この際に問題となるのは、プロセッサ24がREAD信
号またはWRITE信号を出力し、かつリフレッシュコ
ントローラ26が主記憶25に対してリフレッシュサイ
クルを実行するように制御する場合には、通常はタイミ
ング発生回路29からプロセッサを持たせるI−I A
 L T信号を出力してフリレッシュサイクルとプロセ
ッサの主記憶の動作要求との競合を、プロセッサのRE
ADまたはWRITE要求を遅らせることによって回M
するようになっている。
The problem in this case is that when the processor 24 outputs a READ signal or a WRITE signal and the refresh controller 26 controls the main memory 25 to execute a refresh cycle, normally the timing generation circuit I-I A to have a processor from 29
The L T signal is output to eliminate the conflict between the refresh cycle and the processor's main memory operation request.
By delaying AD or WRITE requests
It is supposed to be done.

すなわち、HALT信号がリフレッシュコントローラ2
6から出されると、プロセッサ24は動性停止し、リフ
レッシュサイクルflIわると)IALT信号が出なく
なり、再びプロセッサ24はREAD信号を出力し、今
度はリフレッシュコントローラ26は要求を受付けて主
記憶25はリードサイクルにはいる。この様子を第9図
に示す。
In other words, the HALT signal is
6, the processor 24 stops operating, and when the refresh cycle flI ends, the IALT signal is no longer output, the processor 24 outputs the READ signal again, and this time the refresh controller 26 accepts the request, and the main memory 25 Enter the lead cycle. This situation is shown in FIG.

このように、第8FnのJ、うな従来の情報処理装置で
は、一定周期でリフレッシュサイクルを動作させるため
に、一定周期のパルス発生器31と、リフレッシュアド
レスを発生ずるりフレッシコカウンタ30と、プロセッ
サからのアドレスとりフレフシ1カウンタ30とを選択
して出力するセレクタ32ど、リフレッシュサイクルと
プロセッサからの1([Δr)/WRITEWRITE
信号た時にプロセッサ”を停」1−状態にさせる回路2
9を内蔵している。
In this way, in the conventional information processing apparatus of the eighth Fn, in order to operate the refresh cycle at a constant period, a pulse generator 31 of a constant period, a refresh address generating counter 30, and a processor are used. The selector 32 selects and outputs the address from the flexible 1 counter 30, the refresh cycle and the 1([Δr)/WRITEWRITE from the processor.
Circuit that causes the processor to “stop” 1-state when a signal is received 2
It has 9 built-in.

上述した従来のダイナミック型ランダムアクセスメモリ
のリフレッシュ制御方式は、一定周期毎に主記憶をリフ
レッシュ1ノイクルで動作させ、しかも(の際ブロセッ
十Yから主記憶への動作要求があると、ブロセッ(すを
停止状態にさせるというバードウノアが必要である。す
イzわら、リフレッシュアドレスを発生するリフレッシ
ュカウンタと、リフレッシ」カウンタとプロセッサから
のアドレスを選択するセレクタと、リフレッシュ勺イク
ルとブロセッ(1からのREAD/WRtTE要求が競
合した時にプロセッサを停止状態にさせる回路とが必要
であるという欠点がある。
The refresh control method of the conventional dynamic random access memory described above operates the main memory with one refresh cycle at regular intervals. A refresh counter that generates a refresh address, a selector that selects an address from the refresh counter and the processor, and a refresh cycle and a procedure (READ from 1) are required. The drawback is that it requires circuitry to halt the processor when /WRtTE requests conflict.

発明の目的 本発明の目的は、筒中な回路構成でダイナミック型ラン
ダムアクセスメモリのリフレッシュを行うことができる
メモリリフレッシュ制御方式を提供することである。
OBJECTS OF THE INVENTION An object of the present invention is to provide a memory refresh control method that can refresh a dynamic random access memory with a compact circuit configuration.

発明の構成 本発明によれば、ダイナミック型ランダムアクセスメモ
リからなる主記憶に格納されている命令語を制御記憶に
格納されているマイク[1命令により解読して実行する
ようにした情報処理装置におGJるメモリリフレッシュ
制御方式であって、前記制御記憶にその固定番地から前
記主記憶のリフレッシュ8作を行うためのマイクロ命令
を予め格納しておき、一定周期で前記固定番地を生成し
てマイクロ命令に対して割込みを発生する手段を設け、
前記制御記憶に格納へれているマイクロ命令が命令語の
処理を行っている途中において前記固定番地に7111
込みが発生した場合、前記命令語の処理の終了時点で前
記固定番地から始まるマイクロ命令により前記主記憶の
リフレッシュ動性を行うようにしたことを特徴とするメ
モリリフレッシュ制御方式が観1られる。
According to the present invention, an instruction word stored in a main memory consisting of a dynamic random access memory is decoded and executed by a microphone stored in a control memory. This is a memory refresh control method in which a microinstruction for refreshing the main memory 8 operations is stored in the control memory in advance from the fixed address, and the fixed address is generated at a constant cycle and the microinstruction is Provide a means to generate an interrupt for an instruction,
While the microinstruction stored in the control memory is processing an instruction word, the microinstruction stored in the control memory is stored at the fixed address 7111.
A memory refresh control method is proposed, characterized in that when an interrupt occurs, the main memory is refreshed by a microinstruction starting from the fixed address at the end of processing of the instruction word.

1府上 次に、本発明の実施例について図面を参照して説明する
1. Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。主
記憶2は第2図に示づ256にbitx 1 bit 
Hi成のダイナミック型ランダムアクセスメモリを並列
に32個並べて256に旧tX32b口構成とした1記
憶装置である。RAS、CΔS、WEのそれぞれの信号
にJ:ってライト[−ド、リードL−ド、リフレッシュ
モード、スタンバイモードが夫々選択可能となっている
。また、ロウアドレス、カラムアドレス、リフレッシュ
アドレスの定義、J3J、びそれぞれ4つの動作℃−ド
時の信号線のダプミックヂi!−トなとは第4図〜第7
図に示づ゛とJ3す、従来技術の第8図で説明したもの
と同じである。
FIG. 1 is a block diagram showing one embodiment of the present invention. The main memory 2 has bitx 1 bit in 256 as shown in FIG.
This is one storage device with 256 old tX32b configurations in which 32 Hi-configuration dynamic random access memories are arranged in parallel. For each of the RAS, C.DELTA.S, and WE signals, a write mode, a read mode, a refresh mode, and a standby mode can be selected. In addition, the definition of row address, column address, refresh address, J3J, and each of the four operations C-mode signal line dupmic di! -Tona is Figures 4 to 7
J3 shown in the figure is the same as that described in FIG. 8 of the prior art.

ブロセッ奢す1は主記憶2に格納されている命令]−ド
部とオペランドとなるレジスタの指定部および主記憶2
のアドレス指定部からなる命令語を読出して解読し、同
じく主記憶2に格納されているデータを読出して演算し
、その演算結果を主記憶2に格納する情報処理装置であ
る。
1 is an instruction stored in the main memory 2] - the code part, the register specification part that becomes the operand, and the main memory 2
This is an information processing device that reads and decodes a command word made up of an address designation part, reads out data stored in the main memory 2, performs an operation, and stores the result of the operation in the main memory 2.

リフレッシュコントローラ3はプロセッサ1から土間+
r12へのデータの読出しまたは書込みを指示する信号
およびアドレス信号を受取り、主記憶2の[(ΔS、C
AS、WE、AO〜八8の信号のタイミングをへ成する
回路である。
Refresh controller 3 is connected to Doma + from processor 1
It receives a signal instructing to read or write data to r12 and an address signal, and writes [(ΔS,C
This circuit sets the timing of the signals AS, WE, AO to 88.

命令レジスタ4は主記憶2に保持されていた命令語を読
出して一時保持するレジスタである。データレジスタ5
は主記憶2に保持されていたデータを読出して一時保持
するレジスタである。命令デコーダ6は命令レジスタ4
の命令コード部から対応するマイクロ命令の開始番地を
出力するデコーダである。マイクロ命令アドレスレジス
タ7は実行中のマイクロ命令の次のマシンサイクルに実
行するマイクロ命令のアドレスを保持するレジスタであ
る。固定番地発生器8は主記憶2のリフレッシュ動作を
するマイクロ命令の先頭アドレスを発生する回路である
。4IIISパルス発生回路9は主記憶2の電荷が一定
は以下になって記憶されている内容が失われる時間より
も短い4ミリ秒周期でパルスを発生する回路である。
The instruction register 4 is a register that reads and temporarily holds the instruction word held in the main memory 2. data register 5
is a register that reads data held in the main memory 2 and temporarily holds it. The instruction decoder 6 is the instruction register 4
This is a decoder that outputs the start address of the corresponding microinstruction from the instruction code section of the microinstruction. The microinstruction address register 7 is a register that holds the address of the microinstruction to be executed in the next machine cycle of the microinstruction being executed. The fixed address generator 8 is a circuit that generates the start address of a microinstruction for refreshing the main memory 2. The 4IIIS pulse generating circuit 9 is a circuit that generates pulses at a period of 4 milliseconds, which is shorter than the time required for the stored contents to be lost when the electric charge in the main memory 2 falls below a certain level.

マイクロ命令アドレスセレクタ10はマイクロ命令が命
令レジスタ4に格納されている命令語の処理途中ではマ
イク[1命令アドレスレジスタ7の内容を出力し、また
命令器nの最後のマシンサイクルでは命令デコーダ6の
内容を出力する。また、このセレクタ10は命令語の最
後のマシンサイクルで4msパルス発生回路9からのパ
ルスがあると、固定番地発生器8の内容を出力するセレ
クタである。次マイクロ命令アドレス発生器11;ま、
マイクロ命令アドレスセレクタ10の出力に1を加えて
マイクロ命令アドレスレジスタ7にセットする回路であ
る。
The micro-instruction address selector 10 outputs the contents of the micro-instruction address register 7 during the processing of the instruction word stored in the instruction register 4, and also outputs the contents of the instruction address register 7 in the last machine cycle of the instruction unit n. Output the contents. Further, this selector 10 is a selector that outputs the contents of the fixed address generator 8 when a pulse from the 4 ms pulse generating circuit 9 is received in the last machine cycle of the instruction word. Next microinstruction address generator 11;
This circuit adds 1 to the output of the microinstruction address selector 10 and sets it in the microinstruction address register 7.

制御記憶12は第10図にそのフォーマットを示すマイ
クロ命令を保持しており、そのマイクロ命令は命令語の
最後の処理をするマイクロ命令ステップであることを意
味している。このマイクロ命令はマイクロ命令アドレス
セレクタ10を制御するフィールド“E N D ”と
、主記憶2へのデータの読出しおよび書込みの実行を指
示するフィールド゛I R!1.“W”と、命令レジス
タ4に保持された命令語を解読して指定されたオペラン
ドに対して演Ωを行うことを制御するフィールド゛SE
L 14 ” 、  “5EL17″、S E L 1
8 ” 。
The control memory 12 holds a microinstruction whose format is shown in FIG. 10, which means that this microinstruction is a microinstruction step that processes the last instruction word. This microinstruction includes a field "END" which controls the microinstruction address selector 10, and a field "IR!" which instructs execution of data reading and writing into the main memory 2. 1. “W” and a field “SE” that controls decoding the instruction word held in the instruction register 4 and performing the operation on the specified operand.
L 14”, “5EL17”, S E L 1
8”.

°゛ΔL U ”〜” D I R″、定数を指定する
フィールド’ CON S T ”からなる第10図に
示すような形式である。
The format is as shown in FIG. 10, which consists of ``ΔL U'' to ``DIR'' and a field ``CONST'' for specifying a constant.

マイクロ命令レジスタ13は制御記憶12の出力を一時
保持し、その出力でマイクロ命令アドレスセレクタ10
やオペランドの演算を制御して主記憶2へのデータの読
出しおよび書込みの実行を指示するレジスタである。
The microinstruction register 13 temporarily holds the output of the control memory 12, and the microinstruction address selector 10 uses the output.
This is a register that instructs execution of reading and writing of data to the main memory 2 by controlling operations on and operands.

ここで、このプロセッサの命令語のフォーマットを第1
1図に示すと、OPは命令コード部であり、命令デコー
ダ6の入力となる。GRlは汎用レジスタ指定部であり
セレクタ14の入力となる。
Here, the format of the instruction word of this processor is set to the first
As shown in FIG. 1, OP is an instruction code section and serves as an input to the instruction decoder 6. GRl is a general-purpose register designation section and serves as an input to the selector 14.

GR2も汎用レジスタ指定部でありセレクタ14の入力
となる。Dは主記憶のアドレスのディスプレースメント
(変位)部でありセレクタ17の入力どなる。
GR2 is also a general-purpose register designation section and serves as an input to the selector 14. D is a displacement part of the address of the main memory, and is an input to the selector 17.

第12図に代表的な2つの命令について命令コードとそ
の機能について示す。例えばADMGは命令コードはQ
2  (tlex、)であり、GR2で指定される汎用
レジスタとDの和をアドレスとするワードを主記憶から
読出してGRlで指定される汎用レジスタとの和を計算
し、G R1で指定される汎用レジスタに格納する命令
である。
FIG. 12 shows the instruction codes and their functions for two typical instructions. For example, ADMG has an instruction code of Q
2 (tlex,), reads the word whose address is the sum of the general-purpose register specified by GR2 and D from the main memory, calculates the sum with the general-purpose register specified by GR1, and calculates the sum of the general-purpose register specified by GR1. This is an instruction to store in a general-purpose register.

固定番地発生器15は汎用レジスタ群16の中に含まれ
る命令カウンタ値を取出すために、命令カウンタ値が格
納されているアドレスを発生してセレクタ14に入力す
る回路である。セレクタ14は命令レジスタ4のGRI
、GR2および固定番地発l[・器15の出力を、マイ
ク[1命令レジスタ13の5EL14フイールドで選択
して出力して汎用レジスタ群16のアドレスとなるセレ
クタである。汎用レジスタ群16は命令カウンタを含み
、各種演算を行うための複数の汎用レジスタを右するレ
ジスタ群である。
The fixed address generator 15 is a circuit that generates an address where the instruction counter value is stored and inputs it to the selector 14 in order to retrieve the instruction counter value included in the general-purpose register group 16. Selector 14 is GRI of instruction register 4
, GR2 and the output of the fixed address generator 15 are selected by the 5EL14 field of the microphone [1 instruction register 13 and outputted to become the address of the general-purpose register group 16. The general-purpose register group 16 is a register group that includes an instruction counter and serves as a plurality of general-purpose registers for performing various operations.

セレクタ17は命令レジスタ4のDフィールドと、デー
タレジスタ5と、汎用レジスタl’ff16と、後述す
るワークレジスタ20とをマイクロ命令レジスタ13の
5EL2フイールドで選択して出力し、後述する演算器
19の片方の入力とするセレクタである。セレクタ18
はマイクロ命令レジスタ13のC0N5Tフイールドの
内容と、ワークレジスタ20の出力とをマイク〔1命令
レジスタ13の5EL3フイールドによって選択して出
力し、後述する演n器19のもうlt方の入力とするセ
レクタである。
The selector 17 selects and outputs the D field of the instruction register 4, the data register 5, the general-purpose register l'ff16, and the work register 20 (described later) using the 5EL2 field of the microinstruction register 13, and outputs the D field of the instruction register 4, the data register 5, the general-purpose register l'ff16, and the work register 20, which will be described later, using the 5EL2 field of the microinstruction register 13. This is a selector that takes one input. Selector 18
is a selector that selects and outputs the contents of the C0N5T field of the microinstruction register 13 and the output of the work register 20 by the 5EL3 field of the microinstruction register 13, and serves as the other input of the enumerator 19, which will be described later. It is.

演算器19はセレクタ17とセレクタ18を入力とし、
マイクロ命令レジスタ13のALUフィールドによって
制御され、演算を行って後述するワークレジスタ20お
よびアドレスレジスタ21に出力するものである。ワー
クレジスタ20は演算器19の出力を一時保持し、セレ
クタ17.セレクタ18.汎用レジスタ群16の入力と
し、また主記憶2の書込みデータとするレジスタである
The arithmetic unit 19 receives the selector 17 and the selector 18 as input,
It is controlled by the ALU field of the microinstruction register 13, performs calculations, and outputs the results to a work register 20 and an address register 21, which will be described later. The work register 20 temporarily holds the output of the arithmetic unit 19, and selector 17. Selector 18. This register is used as an input to the general-purpose register group 16 and as write data to the main memory 2.

アドレスレジスタ21は?1lritI器1つの出力を
一時保持し、主記憶2のアドレスとするレジスタである
What about address register 21? This is a register that temporarily holds the output of one unit and uses it as an address in the main memory 2.

アドレスマルブブレクリ22はアドレス21に保持され
るアドレスのカラムアドレス部とロウアドレス部とをタ
イミング発生回路23の制御で選択して主記憶2のアド
レスAO−A8に出力するセレクタである。タイミング
発11回路23はマイクロ命令レジスタ13のW、Rフ
ィールドにより出力されるWRITE、、REΔD信号
から主記憶2のRAS、CAS、WE、およびアドレス
マルヂブレクサ22の選択をするタイミングを発生する
回路である。
The address multiple block 22 is a selector that selects the column address part and row address part of the address held in the address 21 under the control of the timing generation circuit 23 and outputs the selected column address part and row address part to the addresses AO-A8 of the main memory 2. The timing generator 11 circuit 23 generates timing for selecting RAS, CAS, WE of the main memory 2 and the address multiplexer 22 from the WRITE, REΔD signals output by the W and R fields of the microinstruction register 13. It is a circuit.

次に順を追ってこの回路の動作を説明する。前に述べた
ΔDMG命令および1記fi2のリフレッシュ動作を詳
しく説明する。第13図は第1図の制御記憶12に格納
されているマイクロ命令のうち、へ〇MG命令を処理す
るモジュールと、主記憶2のリフレッシュ動作を制御す
るモジュールを扱き出して示したものである。
Next, the operation of this circuit will be explained step by step. The previously mentioned ΔDMG instruction and the refresh operation of fi2 will be explained in detail. FIG. 13 shows a module that processes the MG instruction and a module that controls the refresh operation of the main memory 2 among the microinstructions stored in the control memory 12 of FIG. .

まず、命令レジスタ4にADMG命令が格納されると、
命令コード部が命令デコーダ6によって)゛二l−ドさ
れて、その処理の開始番地である00Q(flex、)
を出力し、マイクロ命令アドレスセレクタ10を通って
制御記憶12のアドレスとなり、000(IIQX、)
番地を読出してマイクロ命令レジスタ13にセットされ
る。このマイクロ命令の内容は、セレクタ14をGR2
に、セレクタ17を汎用レジスタ群16にして、GR2
の内容を読出してワークレジスタ20にセットすること
を意味している。これと同時にマイクロ命令アドレスは
レクタ10の出力であるO OO(lleX、)に、次
マイクロ命令アドレス発生困11によって1が加えられ
て001(Hex、)がマイクロ命令アドレスレジスタ
7にセットされる。
First, when the ADMG instruction is stored in the instruction register 4,
The instruction code section is decoded by the instruction decoder 6, and the processing start address is 00Q (flex, ).
is output, passes through the microinstruction address selector 10, becomes the address of the control memory 12, and becomes 000 (IIQX,)
The address is read and set in the microinstruction register 13. The content of this microinstruction is to set the selector 14 to GR2.
Then, change the selector 17 to the general-purpose register group 16 and set it to GR2.
This means reading the contents of and setting them in the work register 20. At the same time, 1 is added to the microinstruction address OOO(lleX,), which is the output of the rector 10, by the next microinstruction address generation error 11, and 001 (Hex,) is set in the microinstruction address register 7.

従って、次のマシンサイクルでは、マイクロ命令アドレ
スレジスタ7の出力001(flex、)がマイクロ命
令アドレスセレクタ10を通って制御記憶12をアクセ
スし、その結果、OO1(lleX、)番地のマイクロ
命令が実行される。以下同様に002.003,004
.・・・・・・と続けてマイクロ命令が実行される。
Therefore, in the next machine cycle, the output 001 (flex,) of the microinstruction address register 7 passes through the microinstruction address selector 10 and accesses the control memory 12, and as a result, the microinstruction at address OO1 (lleX,) is executed. be done. Similarly below 002.003,004
.. The microinstructions are then executed.

さて、OO1(llcx、)番地のマイクロ命令では、
セレクタ17を命令レジスタ4のD(変位)フィールド
を出力するように制御し、ワークレジスタ20をセレク
タ18から出力し、ワークレジスタの内容と、命令レジ
スタのD部とを加粋してアドレスレジスタ21にセット
する。次に、002(flax、 )番地のマイク[1
命令では、主記憶2への読出し指示信号を出力し、GR
lの内容8L!レクタ17および演Q器19を通してワ
ークレジスタ20にセットし、また主記憶2の出力をf
−タレジスタにセットする。
Now, in the microinstruction at address OO1 (llcx,),
The selector 17 is controlled to output the D (displacement) field of the instruction register 4, the work register 20 is output from the selector 18, and the contents of the work register and the D section of the instruction register are added to the address register 21. Set to . Next, the microphone at address 002 (flax, ) [1
The command outputs a read instruction signal to the main memory 2, and
The content of l is 8L! is set in the work register 20 through the director 17 and the Q operator 19, and the output of the main memory 2 is set to f.
– set in the data register.

次に、003(flex、)番地のマイクロ命令でtよ
、データレジスタ5の内容と、1ノークレジスタ20の
内容とを加算して再びワークレジスタ20にセットする
。次に004 (flex、)番地のマイクロ命令では
、dt用レしスタl!¥16のG R1にワークレジス
タ20の内容を占込む。
Next, the microinstruction at address 003 (flex,) t adds the contents of the data register 5 and the contents of the 1 node register 20 and sets it in the work register 20 again. Next, in the microinstruction at address 004 (flex,), the dt register l! The contents of the work register 20 are allocated to GR1 of ¥16.

次に、OO5(flax、)番地のマイクロ命令では、
汎用レジスタ群16に含まれる命令カウンタの内容をセ
レクタ17に読出し、マイク[1命令レジスタ13のC
0N5Tフイールドの定数1を加えて次の命令語の主記
憶2に格納されているアドレスを51算してワークレジ
スタ20とアドレスレジスタ21にセットする。次に、
OO6(llex、)番地のマイクロ命令では、ADM
G命令の処理の最後のステップであることを示す信号を
マイクロ命令アドレスセレクタ10に出力し、主記憶2
の読出し指示信号を出力し、ワークレジスタ20の内容
を汎用レジスタ群16の命令カウンタが保持されている
部分に書込み、命令レジスタ4には次に実行すべき命令
語をセットする。
Next, in the microinstruction at address OO5 (flax,),
The contents of the instruction counter included in the general-purpose register group 16 are read to the selector 17, and
Adding the constant 1 of the 0N5T field, the address stored in the main memory 2 of the next instruction word is calculated by 51 and set in the work register 20 and address register 21. next,
In the microinstruction at address OO6 (llex,), ADM
A signal indicating that this is the last step in the processing of the G instruction is output to the microinstruction address selector 10, and the main memory 2
The contents of the work register 20 are written to the part of the general-purpose register group 16 where the instruction counter is held, and the instruction word to be executed next is set in the instruction register 4.

次のマシンサイクルでは、この命令語の処理がADMG
命令と同様に始まる。この006(l(ax、)番地の
マイク[1命令を実行しているときに、41sパルス発
生回路9からパルスが出力されていると、マイクロ命令
アドレスセレクタ10は固定番地発生器8の内容を出力
して、リフレッシュ制御ルーブンへとジャンプする。こ
の100 (flax、)番地ではワークレジスタ20
とアドレスレジスタ21に初期値Oをセットする。次の
101(IIQX、)番地では、ワークレジスタ20の
値に2を加えてリフレッシ1アドレスを変え、再びワー
クレジスタ20とアドレスレジスタ21にヒットシ、ま
た主記憶2を読出す。これをリフレッシコアドレスすべ
てに1して繰返して、200 (IIQX、)番地で終
了すると、次のマシンサイクルでは中断されていた次の
命令の実行がif1間される。
In the next machine cycle, this instruction word is processed by ADMG.
It begins like a command. When the micro-instruction address selector 10 outputs a pulse from the 41s pulse generation circuit 9 while executing the microphone [1 instruction at address 006(l(ax,)), the micro-instruction address selector 10 selects the contents of the fixed address generator 8. Output and jump to refresh control routine.At address 100 (flax,), work register 20
and sets the initial value O in the address register 21. At the next address 101 (IIQX, ), 2 is added to the value of the work register 20 to change the refresh 1 address, the work register 20 and address register 21 are hit again, and the main memory 2 is read out. This is repeated by setting all the refresho addresses to 1 and ending at address 200 (IIQX,). In the next machine cycle, execution of the next suspended instruction is continued for a period of if1.

以上のように、記憶素子から電荷が失われてその記憶内
容が失われる前にパルスを発生さけ、そのパルスの発生
があった時点でマイクロ命令は命令語の処理を終えた侵
に、主記憶のりフレッシコ!IIIJ作を行うマイクロ
命令シーケンスに分岐してリレッシュを行い、その終了
後に再び次の命令の実行を再開・するのである。
As described above, a pulse is generated before the charge is lost from the memory element and its memory contents are lost, and when the pulse is generated, the microinstruction is sent to the main memory even after the instruction word has been processed. Nori freshco! It branches to a microinstruction sequence that performs a IIIJ operation, performs a refresh, and resumes execution of the next instruction after the refresh is completed.

発明の詳細 な説明したように本発明によれば、グイナミックy1ラ
ンダムアクセスメエリのリフレッシュ制御をマイクロ命
令で行うことにより、従来必要であったリフレッシュア
ドレスを発生させるリフレッシュカウンタと、リフレッ
シlアドレスとリフレッシュカウンタとを選択するセレ
クタと、リフレッシュサイクルとブロセッ(J−からの
READ/WRITE要求が競合した時にプロセッサを
停止状態にする回路とが必要でなくなり、簡単なハード
ウェアでダイナミック型ランダムアクセスメモリのりフ
レッシコを行うことができるという効果がある。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, by performing refresh control of the Guinamik Y1 random access memory using microinstructions, a refresh counter that generates a refresh address that was conventionally necessary, a refresh l address, and a refresh address are provided. This eliminates the need for a selector that selects a counter and a circuit that stops the processor when a READ/WRITE request from J- conflicts with the refresh cycle, and allows dynamic random access memory to be refreshed with simple hardware. It has the effect of being able to do the following.

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

第1図は本発明の一実施例である情報処理装置の構成を
表わすブロック図、第2図はダイナミック型ランダムア
クセスメモリの外観図、第3図は第2図のメモリのピン
番号とそれに対応する機能を示した図、第4図は第2図
のメモリの動作モードと制御信号との関係を示した図、
第5図は第2図のメ[りのアドレス入力端子と内部アド
レス。 カラムアドレス、ロウアドレス、リフレッシュアドレス
の関係を示した図、第6図は第2図のメ七りの各動作モ
ードにJ7ける信号線の時間的推移を示したタイムチャ
ート、第7図はプロセッサと主記憶の一般的なインタフ
ェースのタイムチャート、第8図は従来のダイナミック
型ランダムアクセスメモリを主記憶とづる情報処理装置
の一例を示したブロック図、第9図は第8図の情報処理
像;nにおいてリフレッシュコントローラが主記憶に対
してリフレッシュサイクルを実行している時にプロセッ
サから主記憶のリード要求がでたときの様子を示寸タイ
ムヂャート、第10図は第1図の情報処理像71のマイ
クロ命令の形式とその意味を示した図、第11図【よ第
1図の情報処理装置の命令語の形式を示した図、第12
図は第1図の情報処理装置の命令の例とその機能とを示
した図、第13図は第1図の情報処理装置においてAD
MG命令の処理および主記憶のリフレッシュを制御する
マイクロ命令例を示す図ある。 主要部分の符号の1涜明 1・・・・・・プ[1セッリ 2・・・・・・主記憶 3・・・・・・リフレッシュコントローラ8・・・・・
・固定番地発生器 9・・・・・・4msパルス発生回路 10・・・・・・マイクロ命令アドレスセレクタ11・
・・・・・次マイクロ命令アドレス発生器12・・・・
・・ル(制御記憶
Fig. 1 is a block diagram showing the configuration of an information processing device that is an embodiment of the present invention, Fig. 2 is an external view of a dynamic random access memory, and Fig. 3 is the pin number of the memory shown in Fig. 2 and its corresponding correspondence. FIG. 4 is a diagram showing the relationship between the operation mode of the memory in FIG. 2 and the control signal.
Figure 5 shows the address input terminal and internal address of Figure 2. Figure 6 is a diagram showing the relationship between column addresses, row addresses, and refresh addresses. Figure 6 is a time chart showing the temporal transition of signal lines in J7 in each operation mode of Figure 2. Figure 7 is a processor diagram. 8 is a block diagram showing an example of an information processing device using a conventional dynamic random access memory as the main memory, and FIG. 9 is an image of the information processing in FIG. 8. ; FIG. 10 is a time chart showing the situation when a read request to the main memory is issued from the processor while the refresh controller is executing a refresh cycle for the main memory in n. FIG. 11 is a diagram showing the format of a microinstruction and its meaning; FIG.
The figure shows examples of commands and their functions in the information processing device of FIG. 1, and FIG.
2 is a diagram illustrating an example of a microinstruction for controlling processing of an MG instruction and refreshing of main memory; FIG. 1. Disclosure of the codes of the main parts 1...P[1]...Main memory 3...Refresh controller 8...
・Fixed address generator 9...4ms pulse generation circuit 10...Micro instruction address selector 11・
...Next microinstruction address generator 12...
... le (control memory

Claims (1)

【特許請求の範囲】[Claims] ダイナミック型ランダムアクセスメモリからなる主記憶
に格納されている命令語を制御記憶に格納されているマ
イクロ命令により解読して実行するようにした情報処理
装置におけるメモリリフレッシュ制御方式であって、前
記制御記憶にその固定番地から前記主記憶のリフレッシ
ュ動作を行うためのマイクロ命令を予め格納しておき、
一定周期で前記固定番地を生成してマイクロ命令に対し
て割込みを発生する手段を設け、前記制御記憶に格納さ
れているマイクロ命令が命令語の処理を行っている途中
において前記固定番地に割込みが発生した場合、前記命
令語の処理の終了時点で前記固定番地から始まるマイク
ロ命令により前記主記憶のリフレッシュ動作を行うよう
にしたことを特徴とするメモリリフレッシュ制御方式。
A memory refresh control method for an information processing device in which a command word stored in a main memory consisting of a dynamic random access memory is decoded and executed by a microinstruction stored in a control memory, the control memory A microinstruction for refreshing the main memory is stored in advance from the fixed address in the memory,
Means is provided for generating the fixed address at a constant cycle and generating an interrupt for the microinstruction, and an interrupt is generated at the fixed address while the microinstruction stored in the control memory is processing an instruction word. If a refresh occurs, the main memory is refreshed by a microinstruction starting from the fixed address at the end of processing of the instruction word.
JP62036377A 1987-02-19 1987-02-19 Memory refresh control system Pending JPS63204592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62036377A JPS63204592A (en) 1987-02-19 1987-02-19 Memory refresh control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62036377A JPS63204592A (en) 1987-02-19 1987-02-19 Memory refresh control system

Publications (1)

Publication Number Publication Date
JPS63204592A true JPS63204592A (en) 1988-08-24

Family

ID=12468156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62036377A Pending JPS63204592A (en) 1987-02-19 1987-02-19 Memory refresh control system

Country Status (1)

Country Link
JP (1) JPS63204592A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07326188A (en) * 1994-05-31 1995-12-12 Nec Corp Apparatus and method for memory refresh

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07326188A (en) * 1994-05-31 1995-12-12 Nec Corp Apparatus and method for memory refresh

Similar Documents

Publication Publication Date Title
KR100285136B1 (en) Processor system with synchronous dynamic memory
US4747045A (en) Information processing apparatus having an instruction prefetch circuit
JPH04140880A (en) Vector processor
US4316248A (en) Memory refresh means including means for providing refresh addresses during power failures
US4330823A (en) High speed compact digital computer system with segmentally stored microinstructions
US5079694A (en) Data processing apparatus having a working memory area
US4360868A (en) Instruction prefetch means having first and second register for storing and providing a current PC while generating a next PC
JPS63204592A (en) Memory refresh control system
JPH06275066A (en) Single-clock memory provided with page mode
KR0153537B1 (en) Signal processing structure preselecting memory address data
JP2851777B2 (en) Bus control method and information processing device
JP2504974B2 (en) Sequencer high-speed processing method
JP3866259B2 (en) Processor
JP4073947B2 (en) Processor system
JPH09185883A (en) Memory access controller
JPH05197612A (en) Data access circuit
JPH02153444A (en) Memory control circuit
JPS6232500B2 (en)
JPH0326860B2 (en)
JPS61120396A (en) Microprocessor
JPS5947649A (en) Data processor
JPS5862886A (en) Storage controlling system
JPH04343132A (en) Central processing unit
JPH1011356A (en) Memory access system
JPH07302219A (en) Data processor and data processing method