JPH10302460A - Microcontroller - Google Patents

Microcontroller

Info

Publication number
JPH10302460A
JPH10302460A JP9109744A JP10974497A JPH10302460A JP H10302460 A JPH10302460 A JP H10302460A JP 9109744 A JP9109744 A JP 9109744A JP 10974497 A JP10974497 A JP 10974497A JP H10302460 A JPH10302460 A JP H10302460A
Authority
JP
Japan
Prior art keywords
dram
state
register
address
clock
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.)
Granted
Application number
JP9109744A
Other languages
Japanese (ja)
Other versions
JP4174835B2 (en
Inventor
Yasunori Miyajima
靖典 宮島
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP10974497A priority Critical patent/JP4174835B2/en
Publication of JPH10302460A publication Critical patent/JPH10302460A/en
Application granted granted Critical
Publication of JP4174835B2 publication Critical patent/JP4174835B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make a hard perform an access by releasing the self-refresh state of a DRAM with the autonomy of the hard in a microcontroller controlling the self-refresh state of the DRAM while transmitting strobe signals based on the data written in a register. SOLUTION: This microcontroller makes the DRAM be in a self-refresh state when the data written in a register 44 are, for example, 'H'. In the case an access with respect to the DRAM becomes necessary, a decoder 41 detects the necessity to generate an access request signal acsREQ being 'H'. When the signal acsREQ becomes 'H', and AND gate 45 makes holding information of the register 44 an 'L' forcibly. As a result, strobe signals RAS, CAS are changed to release the self-refresh state of the DRAM.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、DRAM(Dynami
c Random Access Memory)を制御するDRAMコントロ
ーラを備えたマイクロコントローラに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DRAM (Dynami
The present invention relates to a microcontroller provided with a DRAM controller for controlling c Random Access Memory.

【0002】[0002]

【従来の技術】従来、この分野の技術としては、例え
ば、次のような文献に記載されるものがあった。 文献;株式会社日立マイコンシステム編集“SH760
4ハードウエアマニュアル”第1版(平6−9),株式
会社日立製作所発行、P/160-161 上記文献には、DRAMの行うセルフリフレッシュを制
御する方法等が示されている。図2は、従来のDRAM
コントローラを内蔵したマイクロコントローラの一例を
示す構成ブロック図である。
2. Description of the Related Art Conventionally, as a technique in this field, for example, there is a technique described in the following literature. Literature; Edited by Hitachi Microcomputer Systems, Inc. “SH760
4 Hardware Manual, 1st Edition (Heisei 6-9), published by Hitachi, Ltd., P / 160-161. The above document describes a method for controlling self-refresh performed by a DRAM. , Conventional DRAM
FIG. 2 is a configuration block diagram illustrating an example of a microcontroller including a controller.

【0003】このマイクロコントローラは、CPU(Ce
ntral Processor Unit)1と、クロックコントローラ2
と、R0M(Read Only Memory)3と、DRAMコント
ローラ4と、バスコントローラ5とを備え、これらがア
ドレスバスB1及びデータバスB2によって互いに接続
されている。CPU1は、ROM3上のプログラムを読
み出して実行するものである。クロックコントローラ2
は、CPU1、ROM3、DRAMコントローラ4、及
びバスコントローラ5に対してクロックCKを与えるも
のであるが、該CPU1からの命令により、消費電力削
減のために該クロックCKの供給を停止する機能を有し
ている。DRAMコントローラ4は、このマイクロコン
トローラに直接接続されたDRAMに対し、外部バスB
3を経由してアクセスを行なう機能を持つと共に、DR
AMに対して定期的にリフレッシュを行う機能を有して
いる。さらに、DRAMコントローラ4は、CPU1か
らの信号write を受けてDRAMをセルフリフレッシュ
状態にする機能を有している。バスコントローラ5は、
それらを結ぶデータバスB2及び外部バスB3の制御を
行うものである。
This microcontroller has a CPU (Ce
ntral Processor Unit) 1 and clock controller 2
, R0M (Read Only Memory) 3, a DRAM controller 4, and a bus controller 5, which are connected to each other by an address bus B1 and a data bus B2. The CPU 1 reads and executes a program on the ROM 3. Clock controller 2
Supplies a clock CK to the CPU 1, the ROM 3, the DRAM controller 4, and the bus controller 5, and has a function of stopping supply of the clock CK in order to reduce power consumption in accordance with an instruction from the CPU 1. doing. The DRAM controller 4 supplies an external bus B to the DRAM directly connected to the microcontroller.
3 and a function to access via
It has a function to periodically refresh the AM. Further, the DRAM controller 4 has a function of receiving the signal write from the CPU 1 and putting the DRAM into a self-refresh state. The bus controller 5
It controls the data bus B2 and the external bus B3 connecting them.

【0004】図3は、図2中のDRAMコントローラ4
の要部を示す構成ブロック図である。DRAMコントロ
ーラ4は、アドレスバスB1に接続されたアドレスデコ
ーダ(デコーダ)4aと、2入力のセレクタ4bとを備
えている。アドレスデコーダ4aの出力側には、ストロ
ーブ信号制御回路4cが接続され、セレクタ4bの出力
側には、遅延型フリップフロップ(DFF)で構成され
たセルフリフレッシュストローブ信号制御レジスタ4d
が接続されている。レジスタ4dの出力端子はストロー
ブ信号制御回路4cに接続されると共に、セレクタ4b
の一方の入力端子に帰還接続されている。セレクタ4b
は、CPU1からの信号write を選択信号とし、レジス
タ4dから帰還されたデータDT4dまたはCPU1から
与えられたデータDT1 を選択し、選択したデータをレ
ジスタ4dに出力する構成になっている。ストローブ信
号制御回路4cは、データDT4dとアドレスデコーダ4
aの出力信号とに応じたストローブ信号RAS,CAS
を出力するものである。次に、従来のマイクロコントロ
ーラの動作を説明する。
FIG. 3 shows a DRAM controller 4 shown in FIG.
FIG. 2 is a configuration block diagram showing a main part of FIG. The DRAM controller 4 includes an address decoder (decoder) 4a connected to the address bus B1, and a two-input selector 4b. A strobe signal control circuit 4c is connected to the output side of the address decoder 4a, and a self-refresh strobe signal control register 4d composed of a delay flip-flop (DFF) is connected to the output side of the selector 4b.
Is connected. The output terminal of the register 4d is connected to the strobe signal control circuit 4c, and the selector 4b
Are connected in a feedback manner to one of the input terminals. Selector 4b
Is configured to use the signal write from the CPU 1 as a selection signal, select the data DT 4d fed back from the register 4d or the data DT 1 given from the CPU 1 , and output the selected data to the register 4d. The strobe signal control circuit 4c stores the data DT 4d and the address decoder 4
a strobe signals RAS and CAS corresponding to the output signal
Is output. Next, the operation of the conventional microcontroller will be described.

【0005】DRAMに対してアクセスを行う場合、C
PUlがDRAMに対応するアドレスをアドレスバスB
1に出力する。DRAMコントローラ4中のアドレスデ
コーダ4aは、アドレスをデコードして監視している。
アドレスのデコードの結果、DRAMにアクセスする必
要があると判断した場合、アドレスデコーダ4aはアク
セス要求acsREQをストローブ信号制御回路4cに送出す
る。アクセス要求acsREQを受けてストローブ信号制御回
路4cは、DRAMがアクセスを行えるようにストロー
ブ信号RASを先に活性化し(アサート状態に設定す
る)、続いてストローブ信号をCASをアサート状態に
する。これにより、DRAMにアクセスが指示される。
また、この時、バスコントローラ5は、アドレスバスB
1上のDRAMに対するアドレスを2回に別けて外部バ
スB3を介して出力する。このようにしてDRAMのア
クセスを実行する。
When accessing the DRAM, C
PUl transfers the address corresponding to the DRAM to the address bus B.
Output to 1. The address decoder 4a in the DRAM controller 4 decodes and monitors the address.
As a result of decoding the address, if it is determined that it is necessary to access the DRAM, the address decoder 4a sends an access request acsREQ to the strobe signal control circuit 4c. Upon receiving the access request acsREQ, the strobe signal control circuit 4c activates the strobe signal RAS first (sets it to an asserted state) so that the DRAM can access, and then sets the strobe signal CAS to the asserted state. Thereby, access is instructed to the DRAM.
At this time, the bus controller 5 sets the address bus B
The address for the DRAM on 1 is divided into two and output via the external bus B3. The access to the DRAM is executed in this manner.

【0006】DRAMをセルフリフレッシュを行うセル
フリフレッシュ状態にする場合にも、DRAMコントロ
ーラ4は、ストローブ信号RAS,CASを用いてDR
AMに指示する。この場合、CPUlが信号write に
“1”を示すと共に、データDT1 として例えば“H”
を示す。信号write が“1”のとき、セレクタ4bはデ
ータDT1 を選択してレジスタ4dに与える。レジスタ
4dはクロックCKに同調して“H”のデータを取込
む。即ち、レジスタ4dには“H”のデータが書き込ま
れる。レジスタ4dは書き込まれたデータを保持して、
ストローブ信号制御回路4cに与える。ストローブ信号
制御回路4cは、DRAMがセルフリフレッシュを行う
ように、ストローブ信号RAS,CASをアサートにし
てDRAMに出力する。つまり、ストローブ信号CAS
を先にアサートにしてストローブ信号RASをアサート
にする。これとは逆に、DRAMをセルフリフレッシュ
状態から通常動作状態に復帰させる場合には、CPU1
からのデータDT1 を“L”とし、レジスタ4dにセル
フリフレッシュ状態解除のための“L”のデータを書き
込むことによって行なわれる。
When the DRAM is put into a self-refresh state in which the DRAM is self-refreshed, the DRAM controller 4 uses the strobe signals RAS and CAS to output the DR.
Instruct AM. In this case, CPUL with indicating "1" in the signal write, for example, the data DT 1 "H"
Is shown. When the signal write is "1", the selector 4b gives the register 4d select the data DT 1. The register 4d takes in "H" data in synchronization with the clock CK. That is, "H" data is written to the register 4d. The register 4d holds the written data,
The signal is given to the strobe signal control circuit 4c. The strobe signal control circuit 4c asserts the strobe signals RAS and CAS and outputs the signal to the DRAM so that the DRAM performs self-refresh. That is, the strobe signal CAS
Is asserted first, and the strobe signal RAS is asserted. Conversely, when returning the DRAM from the self-refresh state to the normal operation state, the CPU 1
And the data DT 1 "L" from is performed by writing the data of "L" for the self-refresh state release to the register 4d.

【0007】一方、マイクロコントローラが、クロック
を停止して消費電力削減モードに移行する手順は、まず
最初にCPU1の命令(信号write を“1”に設定する
と共に、データDT1 を“H”にすること) により、D
RAMコントローラ4に対してDRAMがセルフリフレ
ッシュ状態になるように、レジスタ4dに“H”のデー
タを書き込み、該DRAMがセルフリフレッシュを行う
ように、ストローブ信号RAS,CASをアサートにす
る。その後、CPU1の命令により、クロックコントロ
ーラ2に対してクロックCKの供給を停止させ、消費電
力削減モードヘの移行を完了する。マイクロコントロー
ラが、クロックCKの供給を再開して消費電力削減モー
ドから通常動作モードに移行する手順は、割り込み等の
発生によりクロックコントローラ2がクロックCKの供
給を再開した後、CPUlから命令(信号write を
“1”に設定すると共に、データDT1 を“L”にす
る)を出し、DRAMコントローラ4に対してDRAM
が通常動作状態になるように、レジスタ4dにセルフリ
フレッシュ動作モードモード解除のための“L”のデー
タを書き込み、ストローブ信号を解除させる。
On the other hand, the procedure for the microcontroller to stop the clock and shift to the power consumption reduction mode is to first set the instruction of the CPU 1 (set the signal write to "1" and set the data DT1 to "H"). That), D
"H" data is written into the register 4d so that the DRAM enters the self-refresh state with respect to the RAM controller 4, and the strobe signals RAS and CAS are asserted so that the DRAM performs the self-refresh. Thereafter, the supply of the clock CK to the clock controller 2 is stopped according to a command from the CPU 1, and the transition to the power consumption reduction mode is completed. The procedure in which the microcontroller resumes the supply of the clock CK and shifts from the power consumption reduction mode to the normal operation mode is performed after the clock controller 2 resumes the supply of the clock CK due to the occurrence of an interrupt or the like and then issues a command (signal write Is set to "1" and the data DT1 is set to "L".
Is written in the register 4d to release the self-refresh operation mode, and the strobe signal is released.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、従来の
マイクロコントローラでは、次の(1)〜(3)ような
課題があった。 (1) マイクロコントローラの動作モードが消費電力
削減モードでなく通常モードで動作している状態で、D
RAMがセルフリフレッシュを行っている最中に、その
DRAMにアクセスさせようとすると、該DRAMへの
データの書き込みやDRAMからのデータの読み出しが
正しく行なわれず、その後のマイクロコントローラの動
作が保証されなくなる。これを防ぐためには、DRAM
にアクセスさせる前に、必ずセルフリフレッシュ状態か
らDRAMを通常状態に戻す命令を実行し、その後にD
RAMにアクセスする必要があった。 (2) マイクロコントローラが消費電力削減モードに
移行する際にDRAMをセルフリフレッシュ状態にする
場合において、DRAMコントローラ4に対してDRA
Mがセルフリフレッシュを行うようなストローブ信号R
AS,CASを発生させるためのCPU1の命令を行な
わずに、消費電力削減モードへの移行命令だけを行なう
と、DRAMがセルフリフレッシュを行わず、DRAM
の保持するデータが破壊されてしまう。これを防ぐため
には、プログラムによって、必ず、クロックCKが停止
される前にDRAMがセルフリフレッシュ状態になるよ
うなストローブ信号RAS,CASを発生させる必要が
あった。
However, the conventional microcontroller has the following problems (1) to (3). (1) When the operation mode of the microcontroller is not the power consumption reduction mode but the normal mode,
If an attempt is made to access the DRAM while the RAM is performing self-refresh, writing of data to the DRAM and reading of data from the DRAM are not performed correctly, and subsequent operation of the microcontroller is not guaranteed. . To prevent this, DRAM
Before accessing the DRAM, an instruction for returning the DRAM from the self-refresh state to the normal state is always executed.
It needed to access RAM. (2) When the microcontroller shifts to the power consumption reduction mode and puts the DRAM in a self-refresh state, the DRA is
Strobe signal R such that M performs self-refresh
If only the command to shift to the power consumption reduction mode is issued without issuing an instruction from CPU 1 for generating AS and CAS, the DRAM does not perform self-refreshing, and
Will be destroyed. In order to prevent this, it is necessary to generate strobe signals RAS and CAS such that the DRAM enters a self-refresh state before the clock CK is stopped.

【0009】(3) マイクロコントローラを消費電力
削減モードから通常動作モードに復帰させてDRAMを
通常状態にする場合、即ち、外部割り込み等によってク
ロックコントローラ2がクロックCKの供給を再開し、
消費電力削減モードから通常動作モードに移行する場合
には、DRAMのセルフリフレッシュ状態を通常動作状
態に戻す必要がある。このとき、CPU1の命令によっ
てDRAMコントローラ4に対してDRAMが通常動作
状態になるように、レジスタ4dに、セルフリフレッシ
ュを解除するためのデータ“L”の書き込みを行なわな
いと、DRAMは、セルフリフレッシュ状態のままにな
る。よって、その後のDRAMアクセスが正しく行なわ
れない。これを防ぐために、プログラムによって、必ず
クロックCKの供給を再開するとその直後に、DRAM
を通常動作状態に戻す必要があった。以上の(1)〜
(3)のように、従来のマイクロコントローラではプロ
グラムの負担が大きく、プログラムが複雑になるという
課題があった。
(3) When the microcontroller is returned from the power consumption reduction mode to the normal operation mode to bring the DRAM into the normal state, that is, the clock controller 2 restarts the supply of the clock CK by an external interrupt or the like,
When shifting from the power consumption reduction mode to the normal operation mode, it is necessary to return the self-refresh state of the DRAM to the normal operation state. At this time, if the data "L" for canceling the self-refresh is not written in the register 4d so that the DRAM enters the normal operation state with respect to the DRAM controller 4 in accordance with the instruction of the CPU 1, the DRAM does not perform the self-refresh. Remains in a state. Therefore, subsequent DRAM access is not performed correctly. In order to prevent this, if the supply of the clock CK is always restarted by the program, the DRAM
Had to be returned to the normal operating state. The above (1)-
As in (3), the conventional microcontroller has a problem that the load on the program is large and the program is complicated.

【0010】[0010]

【課題を解決するための手段】前記課題を解決するため
に、本発明のうちの第1の発明は、接続されたDRAM
に対して第1のストローブ信号を出力する第1端子と第
2のストローブ信号を出力する第2端子とアドレスを転
送するアドレス端子とを有し、プログラムに基づき第1
及び第2のストローブ信号を所定のタイミングで活性化
すると共にDRAMにアドレスを転送してそのDRAM
にアクセスを実行させる機能と、プログラムに基づきD
RAMに対してアクセスを実行させる場合とは異なった
タイミングで第1及び第2のストローブ信号を活性化し
DRAMにセルフリフレッシュを行わせる機能とを有す
るマイクロコントローラにおいて、次のようなレジス
タ、デコーダ、状態設定回路、ストローブ信号制御回
路、及びアドレス転送手段を、備えている。レジスタ
は、プログラムによって設定された第1の状態または第
2の状態を保持するものである。デコーダはアドレスバ
スに接続され、アドレスバス上でDRAMに対するアド
レスを検出した場合にはアクセス要求を発生する機能を
有している。状態設定回路は、デコーダに接続され、デ
コーダがアクセス要求を発生したときにはレジスタの保
持する状態を強制的に第2の状態に設定するものであ
る。
In order to solve the above-mentioned problems, a first aspect of the present invention is to provide a connected DRAM.
Has a first terminal for outputting a first strobe signal, a second terminal for outputting a second strobe signal, and an address terminal for transferring an address.
And activating the second strobe signal at a predetermined timing and transferring an address to the DRAM,
Function to execute the access, and D based on the program
In a microcontroller having a function of activating the first and second strobe signals at a timing different from the case of performing access to the RAM and causing the DRAM to perform self-refresh, the following register, decoder, state A setting circuit, a strobe signal control circuit, and an address transfer unit are provided. The register holds the first state or the second state set by the program. The decoder is connected to the address bus and has a function of generating an access request when an address for the DRAM is detected on the address bus. The state setting circuit is connected to the decoder, and forcibly sets the state held by the register to the second state when the decoder generates an access request.

【0011】ストローブ信号制御回路は、レジスタとデ
コーダとに接続され、レジスタから第1の状態を入力し
ているときにはDRAMがセルフリフレッシュを行うよ
うに第1及び第2のストローブ信号を活性化し、レジス
タの保持状態が第1の状態から第2の状態に変化したと
きには第1及び第2のストローブ信号を変化させてDR
AMにおけるセルフリフレッシュを解除し、レジスタか
ら第2の状態を入力している状態でデコーダからアクセ
ス要求を入力した場合にはDRAMがアクセスを行うよ
うに第1及び第2のストローブ信号を活性化する機能を
有している。そして、アドレス転送手段は、ストローブ
信号制御手段が第1及び第2のストローブ信号を活性化
してDRAMにアクセスを行わせるときに、アドレスバ
ス上のアドレスをアドレス端子を介してDRAMへ転送
するようになっている。第2の発明は、マイクロコント
ローラにおいて、クロック制御回路、レジスタ、、モー
ド設定回路、デコーダ、ストローブ信号制御回路、及び
アドレス転送手段を備えている。
The strobe signal control circuit is connected to the register and the decoder, and activates the first and second strobe signals so that the DRAM performs a self-refresh when the first state is input from the register, and Is changed from the first state to the second state, the first and second strobe signals are changed to change the DR state.
When the self-refresh in the AM is canceled and an access request is input from the decoder while the second state is being input from the register, the first and second strobe signals are activated so that the DRAM accesses. Has a function. The address transfer means transfers the address on the address bus to the DRAM via the address terminal when the strobe signal control means activates the first and second strobe signals to access the DRAM. Has become. According to a second aspect, a microcontroller includes a clock control circuit, a register, a mode setting circuit, a decoder, a strobe signal control circuit, and address transfer means.

【0012】レジスタ、デコーダ、ストローブ信号制御
回路及びアドレス転送手段は、第1の発明と同様のもの
である。クロック制御回路は、当該マイクロコントロー
ラの内部回路に対してクロックを供給して通常動作モー
ドを設定する機能と、クロックの供給を停止して内部回
路における消費電力削減モードを設定する機能とを有す
ると共に、クロックの供給を停止するときにはクロック
供給停止信号を出力するものである。モード設定回路
は、クロック制御回路からクロック供給停止信号が出力
されているときにはレジスタの保持する状態を強制的に
第1の状態に設定するものである。第3の発明は、第2
の発明のモード設定回路は、クロック制御回路がクロッ
ク供給停止信号を出力することによってDRAMがセル
フリフレッシュを行うようになったときに、クロック制
御回路にクロック供給停止信号の出力を停止させる構成
にしている。第4の発明は、第1の発明における状態設
定回路を、第2または第3の発明のマイクロコントロー
ラに設けている。
The register, decoder, strobe signal control circuit and address transfer means are the same as in the first invention. The clock control circuit has a function of supplying a clock to an internal circuit of the microcontroller and setting a normal operation mode, and a function of stopping supply of the clock and setting a power consumption reduction mode in the internal circuit. When the supply of the clock is stopped, a clock supply stop signal is output. The mode setting circuit forcibly sets the state held by the register to the first state when the clock supply stop signal is output from the clock control circuit. The third invention is the second invention
The mode setting circuit of the invention of the present invention has a configuration in which the clock control circuit stops outputting the clock supply stop signal when the DRAM starts self-refreshing by outputting the clock supply stop signal by the clock control circuit. I have. According to a fourth aspect, the state setting circuit according to the first aspect is provided in the microcontroller according to the second or third aspect.

【0013】第1の発明によれば、以上のようにマイク
ロコントローラを構成したので、DRAMに対してアク
セスする場合、DRAMに対するアドレス発生したこと
がデコーダによって検出され、アクセス要求が発生す
る。例えば、DRAMがセルフリフレッシュ状態のとき
でも、このアクセス要求を受けた状態設定回路により、
レジスタの保持状態は強制的に第2の状態に設定され
る。レジスタが第2の状態となることにより、セルフリ
フレッシュ状態が解除される。その後、正しいDRAM
のアクセスが行なわれる。
According to the first invention, since the microcontroller is configured as described above, when accessing the DRAM, the occurrence of an address for the DRAM is detected by the decoder, and an access request is generated. For example, even when the DRAM is in the self-refresh state, the state setting circuit receiving this access request can
The holding state of the register is forcibly set to the second state. When the register enters the second state, the self-refresh state is released. Then the correct DRAM
Is accessed.

【0014】第2の発明によれば、クロック制御回路
が、クロックを停止するときに、クロック供給停止信号
を出力する。このクロック停止信号を受けたモード設定
回路により、レジスタは強制的に第1の状態を保持する
ようになる。レジスタが第1の状態を保持することによ
り、ストローブ信号制御回路は、DRAMがセルフリフ
レッシュ状態になるような第1及び第2のストローブ信
号を出力する。第3の発明によれば、クロック供給停止
信号を発生した結果で、DRAMがセルフリフレッシュ
を行うようになったときに、クロック制御回路における
クロック供給停止信号が停止する。そのため、レジスタ
の保持状態が強制されなくなり、例えばクロックの供給
を再開するときに、レジスタが第2の状態を保持するよ
うになる。即ち、セルフリフレッシュ状態が解除され
る。従って、前記課題を解決できるのである。
According to the second aspect, the clock control circuit outputs the clock supply stop signal when stopping the clock. The register is forced to hold the first state by the mode setting circuit that has received the clock stop signal. When the register holds the first state, the strobe signal control circuit outputs the first and second strobe signals so that the DRAM enters a self-refresh state. According to the third aspect, the clock supply stop signal in the clock control circuit stops when the DRAM starts self-refreshing as a result of generating the clock supply stop signal. Therefore, the holding state of the register is not forced, and the register holds the second state when, for example, the supply of the clock is restarted. That is, the self-refresh state is released. Therefore, the above problem can be solved.

【0015】[0015]

【発明の実施の形態】第1の実施形態 図4は、本発明の第1の実施形態を示すマイクロコント
ローラの構成ブロック図である。このマイクロコントロ
ーラは、プログラムを実行するCPU10と、クロック
制御回路であるクロックコントローラ20と、該プログ
ラムを格納したR0M30と、DRAMコントローラ4
0と、アドレス転送手段であるバスコントローラ50と
を備え、これらがアドレスバスB1によって互いに接続
されると共に、データバスB2によっても互いに接続さ
れている。マイクロコントローラの内部回路であるCP
U10、ROM30、DRAMコントローラ40、及び
バスコントローラ50には、クロックコントローラ20
からクロックCKが与えられる接続になっている。クロ
ックコントローラ20は、CPU10からの命令によ
り、例えば消費電力削減のためにそのクロックCKの供
給を停止する機能を有している。DRAMコントローラ
40は、このマイクロコントローラに直接接続されたD
RAM60に対して外部バスB3を経由してアクセスを
行なうために、第1のストローブ信号RASと第2のス
トローブ信号CASとを第1の端子T1及び第2の端子
T2からそれぞれ出力する共に、該ストローブ信号RA
S,CASとを用いて、DRAM60をセルフリフレッ
シュさせる機能を有している。バスコントローラ50
は、それらを結ぶデータバスB2及び外部バスB3の制
御を行うものである。外部バスB3はアドレス端子T3
を介してDRAM60に接続されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment FIG. 4 is a block diagram showing a configuration of a microcontroller according to a first embodiment of the present invention. This microcontroller includes a CPU 10 for executing a program, a clock controller 20 as a clock control circuit, an R0M30 storing the program, and a DRAM controller 4.
0 and a bus controller 50 as an address transfer means, which are connected to each other by an address bus B1 and also to each other by a data bus B2. CP which is the internal circuit of the microcontroller
The U10, the ROM 30, the DRAM controller 40, and the bus controller 50 include a clock controller 20.
Are connected to receive a clock CK. The clock controller 20 has a function of stopping supply of the clock CK in response to an instruction from the CPU 10 to reduce power consumption, for example. The DRAM controller 40 has a DRAM connected directly to this microcontroller.
In order to access the RAM 60 via the external bus B3, the first strobe signal RAS and the second strobe signal CAS are output from the first terminal T1 and the second terminal T2, respectively. Strobe signal RA
It has a function of self-refreshing the DRAM 60 using S and CAS. Bus controller 50
Controls the data bus B2 and the external bus B3 connecting them. The external bus B3 has an address terminal T3
Is connected to the DRAM 60 via the.

【0016】図1は、本発明の第1の実施形態を示すマ
イクロコントローラ中のDRAMコントローラの要部を
示す図であり、図3中のDRAMコントローラ40が示
されている。DRAMコントローラ40は、アドレスバ
スB1に接続されたアドレスデコーダ(デコーダ)41
と、2入力のセレクタ42とを備えている。アドレスデ
コーダ41の出力側には、ストローブ信号制御回路43
が接続され、セレクタ42の出力側には、遅延型フリッ
プフロップ(DFF)で構成されたセルフリフレッシュ
ストローブ信号制御レジスタ44が、接続されている。
レジスタ44の出力端子は、ストローブ信号制御回路4
3に接続されると共に、状態設定回路である2入力のA
NDゲート45の一方の入力端子に接続されている。A
NDゲート45は、従来のマイクロコントローラにはな
く新たに設けられたものであり、該ANDゲート45の
他方の入力端子には、アドレスデコーダ41の出力信号
を反転した信号が入力されるようになっている。AND
ゲート45の出力端子が、セレクタ42の一方に帰還接
続されている。セレクタ42の他方の入力端子には、C
PU10から与えられたデータDT10が入力されるよう
になっている。また、セレクタ42は、CPU10から
信号write が選択信号として与えられる構成になってい
る。
FIG. 1 is a diagram showing a main part of a DRAM controller in a microcontroller according to a first embodiment of the present invention, and shows a DRAM controller 40 in FIG. The DRAM controller 40 includes an address decoder (decoder) 41 connected to the address bus B1.
And a two-input selector 42. On the output side of the address decoder 41, a strobe signal control circuit 43
The self-refresh strobe signal control register 44 composed of a delay flip-flop (DFF) is connected to the output side of the selector 42.
The output terminal of the register 44 is connected to the strobe signal control circuit 4
3 and a 2-input A which is a state setting circuit.
It is connected to one input terminal of the ND gate 45. A
The ND gate 45 is newly provided instead of the conventional microcontroller. A signal obtained by inverting the output signal of the address decoder 41 is input to the other input terminal of the AND gate 45. ing. AND
An output terminal of the gate 45 is connected to one side of the selector 42 by feedback. The other input terminal of the selector 42 has C
The data DT10 given from the PU 10 is input. The selector 42 is configured to receive a signal write from the CPU 10 as a selection signal.

【0017】ストローブ信号制御回路43の出力側に、
端子T1,T2が設けられ、DRAM60に対してアク
セスを行うための2つストローブ信号RAS,CASが
該端子T1,T2から出力される構成になっている。こ
のストローブ信号RAS,CASの状態により、DRA
M60はアクセス可能な通常状態或いはセルフリフレッ
シュを行うセルフリフレッシュ状態に設定される。次
に、マイクロコントローラの動作を説明する。DRAM
60に対してアクセスを行う場合、CPU10は、DR
AM60に対応するアドレスADをアドレスバスB1に
出力する。DRAMコントローラ40中のアドレスデコ
ーダ41は、アドレスADをデコードして監視してい
る。アドレスADのデコードの結果、DRAM60に対
してアクセスする必要があると判断した場合、アドレス
デコーダ41はアクセス要求acsSREQ をストローブ信号
制御回路43に出力する。アクセス要求acsREQを受けて
ストローブ信号制御回路43は、ストローブ信号RAS
を先にアサートの“L”レベルに設定し,続いてストロ
ーブ信号CASを“L”に設定する。これにより、DR
AM60にアクセスが指示される。また、この時、バス
コントローラ50は、DRAM60に対するアドレスを
分割して2度に分け、外部バスB3を介してDRAM6
0に与える。DRAM60では、ストローブ信号RA
S,CASとアドレスとに基づいてアクセスを行う。
On the output side of the strobe signal control circuit 43,
Terminals T1 and T2 are provided, and two strobe signals RAS and CAS for accessing the DRAM 60 are output from the terminals T1 and T2. DRA is determined by the state of strobe signals RAS and CAS.
M60 is set to an accessible normal state or a self-refresh state for performing a self-refresh. Next, the operation of the microcontroller will be described. DRAM
When accessing the CPU 60, the CPU 10
The address AD corresponding to the AM 60 is output to the address bus B1. An address decoder 41 in the DRAM controller 40 decodes and monitors the address AD. When the address decoder 41 determines that it is necessary to access the DRAM 60 as a result of decoding the address AD, the address decoder 41 outputs an access request acsSREQ to the strobe signal control circuit 43. In response to the access request acsREQ, the strobe signal control circuit 43 outputs the strobe signal RAS
Is first set to the “L” level of the assertion, and then the strobe signal CAS is set to “L”. Thereby, DR
Access is instructed to AM 60. At this time, the bus controller 50 divides the address for the DRAM 60 into two parts and divides the address into the DRAM 60 via the external bus B3.
Give to 0. In the DRAM 60, the strobe signal RA
Access is performed based on S, CAS and address.

【0018】このマイクロコントローラは、ストローブ
信号RAS,CASの与えかたによってDRAM60を
アクセス可能な通常動作状態にするか、セルフリフレッ
シュ状態にする。図5は、図4のマイクロコントローラ
の動作例を示すタイムチャートであり、この図5を参照
しつつ、DRAM60を通常動作状態からセルフリフレ
ッシュ状態に設定し、さらに、セルフリフレッシュ状態
を解除してDRAM60にアクセスを実行させる場合の
動作を説明する。マイクロコントローラが、消費電力削
減モードでなく通常モードで動作しているとき、DRA
Mコントローラ40中のレジスタ44が、第2の状態で
ある“L”を保持しているものとする。DRAM60を
セルフリフレッシュ状態にする場合、図5のように、C
PU10はレジスタ44宛のアドレスAD44をアドレス
バスB1に出力する。これと同時に、“1”の信号writ
e と“H”のデータDT10とがセレクタ42に与えら
れ、セレクタ42はデータDT10を選択してレジスタ4
4に与える。従って、レジスタ44は第1の状態である
“H”を保持して出力する。ストローブ信号制御回路4
3は、レジスタ44から与えられた“H”に基づき、ス
トローブ信号CASを先にアサートの“L”に設定し、
続いてストローブ信号RASをアサートの“L”に設定
する。これにより、DRAM60はセルフリフレッシュ
状態に設定される。
The microcontroller brings the DRAM 60 into a normal operation state in which it can be accessed or into a self-refresh state depending on how strobe signals RAS and CAS are applied. FIG. 5 is a time chart showing an operation example of the microcontroller shown in FIG. 4. Referring to FIG. 5, the DRAM 60 is set from the normal operation state to the self-refresh state, and the self-refresh state is released to release the DRAM 60. The operation in the case where the user performs the access will be described. When the microcontroller is operating in normal mode instead of power saving mode, DRA
It is assumed that the register 44 in the M controller 40 holds the second state “L”. When the DRAM 60 is set to the self-refresh state, as shown in FIG.
PU10 outputs the address AD 44 addressed register 44 to the address bus B1. At the same time, the signal writ of "1"
e and the data DT 10 of “H” are given to the selector 42, and the selector 42 selects the data DT 10 and
Give to 4. Therefore, the register 44 holds and outputs the first state “H”. Strobe signal control circuit 4
3 sets the strobe signal CAS to "L" for assertion first based on "H" given from the register 44,
Subsequently, the strobe signal RAS is set to an asserted “L”. Thereby, DRAM 60 is set to a self-refresh state.

【0019】DRAM60がセルフリフレッシュ状態の
とき、CPU10がDRAM60に対応するアドレスA
60をアドレスバスB1に出力すると、DRAMコント
ローラ40中のアドレスデコーダ41は、アドレスAD
60が到来したことを検出してDRAM60に対してアク
セスする必要があると判断する。そして、アドレスデコ
ーダ41は、“H”レベルのアクセス要求acsREQを発生
する。アクセス要求acsREQが発生すると、ANDゲート
45の出力信号は“L”となり、レジスタ44の保持状
態は強制的に“H”から“L”に変化する。レジスタ4
4の保持情報が“L”になることで、ストローブ信号制
御回路43は、ストローブ信号RAS,CASのレベル
を“H”に戻し、DRAM60のセルフリフレッシュ状
態を解除して一旦通常動作状態に戻す。続いて、ストロ
ーブ信号制御回路43は、ストローブ信号RASを先に
アサートの“L”レベルに設定すると共に、ストローブ
信号CASを“L”に設定する。これにより、DRAM
60にアクセスが指示され、DRAM60のアクセスが
行われる。
When the DRAM 60 is in the self-refresh state, the CPU 10 operates at the address A corresponding to the DRAM 60.
And outputs a D 60 to the address bus B1, the address decoder 41 in the DRAM controller 40, an address AD
Detecting that 60 has arrived, it is determined that access to DRAM 60 is necessary. Then, the address decoder 41 generates an access request acsREQ of “H” level. When the access request acsREQ occurs, the output signal of the AND gate 45 becomes "L", and the holding state of the register 44 is forcibly changed from "H" to "L". Register 4
4 becomes “L”, the strobe signal control circuit 43 returns the levels of the strobe signals RAS and CAS to “H”, cancels the self-refresh state of the DRAM 60, and temporarily returns to the normal operation state. Subsequently, the strobe signal control circuit 43 first sets the strobe signal RAS to an asserted “L” level and sets the strobe signal CAS to “L”. Thereby, DRAM
Access is instructed to the DRAM 60, and the DRAM 60 is accessed.

【0020】以上のように、この第1の実施形態では、
アクセス要求acsREQが発生したときにレジスタ44の保
持情報を“L”に設定するANDゲート45を設けたの
で、DRAM60をセルフリフレッシュ状態から通常動
作状態にするときに、CPU10からの命令でレジスタ
44に“L”を書き込んで保持させなくても通常動作状
態に移行させることができる。そのため、CPU10の
命令によってセルフリフレッシュ状態の解除をしなくて
も、正しいアクセスが可能になる。よって、例えばセル
フリフレッシュ状態のDRAM60をアクセスするとい
うプログラムにおいて、バグによって生じるマイクロコ
ントローラの暴走や停止が防止できるという効果も得ら
れる。
As described above, in the first embodiment,
An AND gate 45 for setting the information held in the register 44 to “L” when an access request acsREQ is generated is provided. It is possible to shift to the normal operation state without writing and holding “L”. Therefore, correct access is possible without releasing the self-refresh state by an instruction from the CPU 10. Therefore, for example, in a program for accessing the DRAM 60 in a self-refresh state, an effect is obtained that runaway and stop of the microcontroller caused by a bug can be prevented.

【0021】第2の実施形態 図6は、本発明の第2の実施形態を示すマイクロコント
ローラの構成ブロック図である。このマイクロコントロ
ーラは、プログラムを実行するCPU70と、クロック
制御回路であるクロックコントローラ80と、該プログ
ラムを格納したR0M90と、DRAMコントローラ1
00と、バスコントローラ120とを備え、これらが互
いに、アドレスバスB1及びデータバスB2によって第
1の実施形態と同様に接続されている。マイクロコント
ローラの内部回路であるCPU70、ROM90、DR
AMコントローラ100、及びバスコントローラ120
には、クロックコントローラ80からクロックCKが与
えられるようになっている。クロックコントローラ80
は、CPU10からの命令により、消費電力削減のため
にそのクロックCKの供給を停止する機能を有してい
る。このクロックコントローラ80は、第1の実施形態
とは異なり、クロックCKの供給を停止するときに、D
RAMコントローラ100に対してアサートにしたクロ
ック供給停止信stopREQ を与え、該クロック供給停止信
号stopREQ を与えた結果の応答信号であるアサートされ
たクロック停止承諾信号stopACK が、該DRAMコント
ローラ100から入力される接続になっている。クロッ
ク停止承諾信号stopACK が入力されたときには、アサー
トにしたクロック供給停止信stopREQ の出力を停止する
ようになっている。
Second Embodiment FIG. 6 is a block diagram showing the configuration of a microcontroller according to a second embodiment of the present invention. This microcontroller includes a CPU 70 for executing a program, a clock controller 80 as a clock control circuit, an R0M 90 storing the program, and a DRAM controller 1.
00 and a bus controller 120, which are connected to each other by an address bus B1 and a data bus B2 in the same manner as in the first embodiment. CPU 70, ROM 90, DR which are internal circuits of the microcontroller
AM controller 100 and bus controller 120
Is supplied with a clock CK from the clock controller 80. Clock controller 80
Has a function of stopping the supply of the clock CK in order to reduce power consumption in response to an instruction from the CPU 10. The clock controller 80 differs from the first embodiment in that when the supply of the clock CK is stopped,
The asserted clock supply stop signal stopREQ is supplied to the RAM controller 100, and the asserted clock stop acknowledge signal stopACK, which is a response signal resulting from the application of the clock supply stop signal stopREQ, is input from the DRAM controller 100. Connected. When the clock stop acknowledge signal stopACK is input, the output of the asserted clock supply stop signal stopREQ is stopped.

【0022】DRAMコントローラ100は、このマイ
クロコントローラの外部に直接接続されたDRAM13
0に対し、外部バスB3を経由してアクセスを行なうた
めに、第1及び第2のストローブ信号RAS,CASを
出力する機能を持つと共に、該第1及び第2のストロー
ブ信号RAS,CASでDRAM130をセルフリフレ
ッシュ状態に設定する機能を有している。バスコントロ
ーラ120は、それらを結ぶデータバスB1及び外部バ
スB3の制御を行うものである。ストローブ信号RA
S,CASは、第1及び第2の端子T1,T2からDR
AM130に与えられる接続になっている。外部バスB
3は、アドレスをDRAM130に転送するものであ
り、該外部バスB3はアドレス端子T3を介してDRA
M130に接続されている。図7は、図6中のDRAM
コントローラ100の要部を示す図である。DRAMコ
ントローラ100は、アドレスバスB1に接続されたア
ドレスデコーダ(デコーダ)101と、2入力のセレク
タ102と、アドレスデコーダ101の出力側に接続さ
れたストローブ信号制御回路103と、遅延型フリップ
フロップ(DFF)で構成されたセルフリフレッシュス
トローブ信号制御レジスタ104とを備えている。さら
に、このDRAMコントローラ100には、第1の実施
形態と同様に機能するANDゲート105と、第1の実
施形態に対して新たに設けられたモード設定回路110
とが設けられている。
The DRAM controller 100 includes a DRAM 13 directly connected to the outside of the microcontroller.
0 to output the first and second strobe signals RAS and CAS in order to access the DRAM 130 via the external bus B3. Is set to a self-refresh state. The bus controller 120 controls the data bus B1 and the external bus B3 connecting them. Strobe signal RA
S and CAS are connected from the first and second terminals T1 and T2 to DR.
The connection is provided to the AM 130. External bus B
3 transfers the address to the DRAM 130, and the external bus B3 is connected to the DRA via the address terminal T3.
M130. FIG. 7 shows the DRAM in FIG.
FIG. 3 is a diagram illustrating a main part of the controller 100. The DRAM controller 100 includes an address decoder (decoder) 101 connected to the address bus B1, a two-input selector 102, a strobe signal control circuit 103 connected to the output side of the address decoder 101, and a delay flip-flop (DFF). ) And a self-refresh strobe signal control register 104. Further, the DRAM controller 100 includes an AND gate 105 functioning in the same manner as in the first embodiment and a mode setting circuit 110 newly provided for the first embodiment.
Are provided.

【0023】ストローブ信号回路103は、第1の実施
形態とは異なり、クロック供給停止信号stopREQ を入力
し、該クロック供給停止信号stopREQ に対する応答信号
であるクロック停止承諾信号stopACK を出力する構成に
なっている。モード設定回路110は、クロック供給停
止信号stopREQ の反転信号とクロック停止承諾信号stop
ACK とを入力とするNANDゲート111と、クロック
供給停止信号stopREQとクロック停止承諾信号stopACK
の反転信号とを入力とするANDゲート112とを、有
している。NANDゲートの出力端子は、セレクタ10
2の出力端子に一方の入力端子が接続された2入力AN
Dゲート113の他方の入力端子に接続されている。A
NDゲート112の出力端子は、レジスタ104の出力
信号を一方の入力端子に入力する2入力ORゲート11
4の他方の入力端子に接続されてる。ANDゲート11
3の出力端子が、レジスタ104の入力端子に接続され
ている。また、ORゲート114の出力端子は、2入力
ANDゲート105の一方の入力端子に接続されてい
る。
Unlike the first embodiment, the strobe signal circuit 103 receives the clock supply stop signal stopREQ and outputs a clock stop acceptance signal stopACK which is a response signal to the clock supply stop signal stopREQ. I have. The mode setting circuit 110 includes an inverted signal of the clock supply stop signal stopREQ and a clock stop acceptance signal stop.
ACK as input, a clock supply stop signal stopREQ and a clock stop acknowledge signal stopACK
And an AND gate 112 which receives the inverted signal of the AND gate 112 as an input. The output terminal of the NAND gate is connected to the selector 10
Two-input AN with one input terminal connected to two output terminals
It is connected to the other input terminal of D gate 113. A
The output terminal of the ND gate 112 is a two-input OR gate 11 that inputs the output signal of the register 104 to one input terminal.
4 is connected to the other input terminal. AND gate 11
3 is connected to the input terminal of the register 104. The output terminal of the OR gate 114 is connected to one input terminal of the two-input AND gate 105.

【0024】ANDゲート105の他方の入力端子に
は、デコーダ101の出力するアクセス要求acsREQが入
力される接続であり、該ANDゲート105の出力端子
がセレクタ102の一方の入力端子に接続されている。
セレクタ102の他方の入力端子には、CPU70から
のデータDT70が入力されるようになっている。また、
このセレクタ102には、CPU70からの命令信号wr
ite が選択信号として入力されるようになっている。ス
トローブ信号制御回路103は、DRAM130に対し
てアクセスを行うための2つストローブ信号RAS,C
ASを出力する機能を有すると共に、アサートにしたク
ロック停止承諾信号stopACK を出力する機能を有してい
る。ストローブ信号RAS,CASの状態により、DR
AM130は通常動作状態或いはセルフリフレッシュ状
態に設定される。次に、このマイクロコントローラの動
作を説明する。図6のマイクロコントローラでは、クロ
ックコントローラ80にクロックCKを発生させて通常
モードで動作する場合と、CPU70からの命令でクロ
ックコントローラ80からのクロック供給を停止させ消
費電力削減モードに設定される場合とがある。
The other input terminal of the AND gate 105 is a connection to which an access request acsREQ output from the decoder 101 is input, and the output terminal of the AND gate 105 is connected to one input terminal of the selector 102. .
Data DT 70 from the CPU 70 is input to the other input terminal of the selector 102. Also,
The selector 102 has a command signal wr from the CPU 70.
ite is input as a selection signal. The strobe signal control circuit 103 includes two strobe signals RAS and C for accessing the DRAM 130.
It has a function of outputting an AS and a function of outputting an asserted clock stop acknowledge signal stopACK. Depending on the state of strobe signals RAS and CAS, DR
AM 130 is set to a normal operation state or a self-refresh state. Next, the operation of the microcontroller will be described. The microcontroller shown in FIG. 6 operates in the normal mode by generating the clock CK in the clock controller 80, and in the case where the clock supply from the clock controller 80 is stopped by an instruction from the CPU 70 to set the power consumption reduction mode. There is.

【0025】通常動作モードにおいては、CPU70、
クロックコントローラ80及びバスコントローラ120
と、DRAMコントローラ100中のデコーダ101、
セレクタ102、ストローブ信号制御回路103、レジ
スタ104及びANDゲート105とが、第1の実施形
態のCPU10、クロックコントローラ20、バスコン
トローラ50、デコーダ41、セレクタ42、ストロー
ブ信号制御回路43、レジスタ44及びANDゲート4
5と同様に動作する。そのため、DRAM130をセル
フリフレッシュ状態に設定する動作、及び、そのセルフ
リフレッシュ状態を解除して通常動作状態に戻し、DR
AM130に対してアクセスを行う動作は、図5と同様
にして行われる。図8は、図6のマイクロコントローラ
における消費電力削減モードへの移行とその解除を示す
タイムチャートである。
In the normal operation mode, the CPU 70,
Clock controller 80 and bus controller 120
And a decoder 101 in the DRAM controller 100,
The selector 102, the strobe signal control circuit 103, the register 104, and the AND gate 105 constitute the CPU 10, the clock controller 20, the bus controller 50, the decoder 41, the selector 42, the strobe signal control circuit 43, the register 44, and the AND of the first embodiment. Gate 4
The operation is the same as in the case of FIG. Therefore, the operation of setting the DRAM 130 to the self-refresh state and the operation of releasing the self-refresh state to return to the normal operation state,
The operation of accessing the AM 130 is performed in the same manner as in FIG. FIG. 8 is a time chart showing the transition to the power consumption reduction mode and its release in the microcontroller of FIG.

【0026】マイクロコントローラが消費電力削減モー
ドに移行する場合、DRAM130をセルフリフレッシ
ュ状態に設定する。このセルフリフレッシュ状態を設定
する前のマイクロコントローラが通常モードのときに
は、DRAMコントローラ100内のレジスタ104
は、図8のように“L”を保持している。マイクロコン
トローラが消費電力削減モードに移行する直前に、クロ
ックコントローラ80は、クロック供給停止信号stopRE
Q を“H”レベルにする。これにより、ANDゲート1
12の出力も“H”になり、ORゲート114の出力が
“H”、ANDゲート105の出力が“H”になる。こ
のとき、NANDゲート111の出力も“H”であり、
レジスタ104には強制的に“H”が書き込まれる。レ
ジスタ104はストローブ信号制御回路103に“H”
の信号を出力する。ストローブ信号制御回路103は、
DRAM120がセルフリフレッシュを行うにように、
ストローブ信号CASのレベルをアサートの“L”に設
定し、ストローブ信号RASを“L”に設定する。この
後、ストローブ信号制御回路103は、クロック停止承
諾信号stopACK をアサートにして“H”にする。“H”
のクロック停止承諾信号はクロックコントローラ80に
与えられ、クロックコントローラ80がクロック供給停
止信号stopREQ のレベルを“L”にすると共にクロック
CKの供給を停止する。このようにしてマイクロコント
ローラは、消費電力削減モードへの移行を完了する。消
費電力削減モードへの移行が行われたときにNAND1
11の出力信号“L”になる。
When the microcontroller shifts to the power consumption reduction mode, the DRAM 130 is set to a self-refresh state. When the microcontroller is in the normal mode before setting the self-refresh state, the register 104 in the DRAM controller 100
Holds “L” as shown in FIG. Immediately before the microcontroller shifts to the power saving mode, the clock controller 80 controls the clock supply stop signal stopRE.
Q is set to “H” level. Thereby, the AND gate 1
12 also becomes “H”, the output of the OR gate 114 becomes “H”, and the output of the AND gate 105 becomes “H”. At this time, the output of the NAND gate 111 is also “H”,
“H” is forcibly written to the register 104. The register 104 outputs “H” to the strobe signal control circuit 103.
The signal of is output. The strobe signal control circuit 103
Just like the DRAM 120 performs self-refresh,
The level of the strobe signal CAS is set to "L" for assertion, and the strobe signal RAS is set to "L". Thereafter, the strobe signal control circuit 103 asserts the clock stop acknowledge signal stopACK to make it "H". “H”
Is given to the clock controller 80, and the clock controller 80 sets the level of the clock supply stop signal stopREQ to "L" and stops the supply of the clock CK. Thus, the microcontroller completes the transition to the power consumption reduction mode. When the transition to the power consumption reduction mode is performed, the NAND1
The output signal becomes "L".

【0027】マイクロコントローラが、消費電力削減モ
ードを解除して通常モードに移行する際には、DRAM
130を通常動作状態に設定する。例えば、外部割り込
みによつてクロックコントローラ80がクロックCKの
供給を再開すると、クロック停止要求信号stopREQ が
“L”なので、NANDゲート111の出力信号は
“L”であり、レジスタ104の保持状態は“L”に変
化する。これを受けてストローブ信号制御回路103
は、クロック停止承諾信号stopACK を“H”から“L”
に変化させ、セルフリフレッシュ用のストローブ信号R
AS,CASをネゲートの“H”にしてDRAM130
のセルフリフレッシュ状態を解除する。この動作によっ
て、消費電力削減モードから通常動作モードに移行す
る。
When the microcontroller releases the power consumption reduction mode and shifts to the normal mode, the
130 is set to the normal operation state. For example, when the clock controller 80 resumes the supply of the clock CK due to an external interrupt, the output signal of the NAND gate 111 is “L” and the holding state of the register 104 is “L” because the clock stop request signal stopREQ is “L”. L ”. In response, the strobe signal control circuit 103
Changes the clock stop acknowledge signal stopACK from “H” to “L”.
To the strobe signal R for self-refresh.
AS and CAS are negated to “H” and the DRAM 130
Is released from the self-refresh state. With this operation, the mode shifts from the power consumption reduction mode to the normal operation mode.

【0028】以上のように、この第2の実施形態では、
消費電力削減モードにするときに、クロックコントロー
ラ80がアサートにしたクロック供給停止信号stopREQ
を出力する構成にすると共に、該クロック供給停止信号
stopREQ を入力してレジスタ104の保持状態を“H”
にするモード設定回路110を設けたので、マイクロコ
ントローラが消費電力削減モードに移行する際にDRA
M130をセルフリフレッシュ状態にするときに、CP
U70の命令によってレジスタ104に“H”を書き込
まなくてもよくなり、DRAMコントローラ100が自
動的にDRAM130をセルフリフレッシュ状態にする
ように、ストローブ信号RAS,CASを発生すること
ができる。即ち、プログラムに基づくCPU70の命令
がなくても、DRAM130をセルフリフレッシュ状態
に移行させることが可能になっている。また、クロック
コントローラ80がアサートにしたクロック供給停止信
号stopREQ を出力する期間を、アサートされたクロック
停止承諾信号stopACK が入力されるまでとしたので、マ
イクロコントローラが消費電力削減モードから通常動作
モードに復帰する際に、DRAM130を通常動作状態
にするCPU70の命令を実行してレジスタ104に
“L”を書き込まなくても、クロックCKの供給を再開
すれば、直ちにDRAM130を通常動作状態に移行さ
せることが可能である。即ち、マイクロコントローラが
消費電力削減モードに移行する際に、同時にDRAM1
30をセルフリフレッシュ状態になり、通常動作に移行
する際に同時にDRAM130を通常状態にすることが
可能となる。
As described above, in the second embodiment,
When the power consumption reduction mode is set, the clock supply stop signal stopREQ asserted by the clock controller 80 is set.
And the clock supply stop signal
Input stopREQ to change the holding state of register 104 to “H”.
Mode setting circuit 110 is provided, so that when the microcontroller shifts to the power saving mode, the DRA
When M130 is in the self-refresh state,
It is not necessary to write “H” to the register 104 by the instruction of U70, and the strobe signals RAS and CAS can be generated so that the DRAM controller 100 automatically brings the DRAM 130 into the self-refresh state. That is, it is possible to shift the DRAM 130 to the self-refresh state without the instruction of the CPU 70 based on the program. In addition, since the clock controller 80 outputs the asserted clock supply stop signal stopREQ until the asserted clock stop acknowledge signal stopACK is input, the microcontroller returns from the power consumption reduction mode to the normal operation mode. When the clock CK is restarted, the DRAM 130 can be immediately shifted to the normal operation state without executing the instruction of the CPU 70 for setting the DRAM 130 to the normal operation state and writing “L” to the register 104. It is possible. That is, when the microcontroller shifts to the power consumption reduction mode, the DRAM 1
30 goes into a self-refresh state, and the DRAM 130 can be brought into the normal state at the same time as the transition to the normal operation.

【0029】なお、本発明は、上記実施形態に限定され
ず種々の変形が可能である。その変形例としては、例え
ば次のようなものが考えられる。 (i) 第1の実施形態では、クロックコントローラ2
0を設け、消費電力削減モードを設定することが可能な
マイクロコントローラについて説明しているが、消費電
力削減モードを設定しない場合でも、ANDゲート45
のような状態設定回路を設けることで、第1の実施形態
と同様の効果が得られる。 (ii) 第2の実施形態では、第1の実施形態のAND
ゲート45と同様の機能を有するANDゲート105を
設けているが、このANDゲート105を用いない場合
でも、消費電力削減モードに対する移行とその解除を行
う際には、第2の実施形態と同様の効果が得られる。
The present invention is not limited to the above embodiment, but can be variously modified. For example, the following modifications can be considered. (I) In the first embodiment, the clock controller 2
0, the microcontroller capable of setting the power consumption reduction mode is described. However, even when the power consumption reduction mode is not set, the AND gate 45
By providing such a state setting circuit, the same effect as in the first embodiment can be obtained. (Ii) In the second embodiment, the AND of the first embodiment is used.
Although the AND gate 105 having the same function as the gate 45 is provided, even when the AND gate 105 is not used, when the transition to the power consumption reduction mode and the release thereof are performed, the same as in the second embodiment. The effect is obtained.

【0030】[0030]

【発明の効果】以上詳細に説明したように、第1の発明
によれば、第1の状態または第2の状態を保持するレジ
スタと、アクセス要求を発生するデコーダと、レジスタ
の保持状態を強制的に第2の状態に設定する状態設定回
路と、ストローブ信号制御回路と、アドレス転送手段と
を、マイクロコントローラに設けたので、DRAMに対
するアドレスが発生した場合に、アクセス要求に基づき
レジスタの保持状態は強制的に第2の状態に設定され
る。そのため、例えばセルフリフレッシュを行っている
DRAMにアクセスをする場合のプログラムにおいて、
DRAMのセルフリフレッシュを解除するような第1及
び第2のストローブ信号を発生させるためにレジスタに
第2の状態を書き込む命令が、不要になる。第2の発明
によれば、消費電力削減モードを設定するクロック制御
回路と、レジスタと、強制的にレジスタの保持状態を第
1の状態に設定するモード設定回路と、デコーダと、ス
トローブ信号制御回路と、アドレス転送手段とを、マイ
クロコントローラに設けたので、消費電力削減モードに
移行する前にDRAMにセルフリフレッシュを行わせる
ような第1及び第2のストローブ信号を発生させるため
にレジスタに書き込む命令が、不要になる。
As described above in detail, according to the first aspect, the register for holding the first state or the second state, the decoder for generating the access request, and the holding state of the register are forcibly set. Since the microcontroller is provided with a state setting circuit for setting to the second state, a strobe signal control circuit, and an address transfer means, when an address to the DRAM is generated, the state of the register is held based on an access request. Is forcibly set to the second state. Therefore, for example, in a program for accessing a DRAM performing self-refresh,
An instruction to write the second state to the register to generate the first and second strobe signals for releasing the self-refresh of the DRAM becomes unnecessary. According to the second invention, a clock control circuit for setting a power consumption reduction mode, a register, a mode setting circuit for forcibly setting the holding state of the register to the first state, a decoder, and a strobe signal control circuit And the address transfer means are provided in the microcontroller, so that the first and second strobe signals for causing the DRAM to perform a self-refresh before shifting to the power consumption reduction mode are written into the register. However, it becomes unnecessary.

【0031】第3の発明によれば、第2の発明における
モード設定回路を、クロック制御回路がクロック供給停
止信号を出力することによってDRAMがセルフリフレ
ッシュを行うようになったときに、該クロック制御回路
にクロック供給停止信号の出力を停止させる構成にした
ので、マイクロコントローラを消費電力削減モードから
通常動作モードに戻す際に、DRAMのセルフリフレッ
シュを解除するような第1及び第2のストローブ信号を
発生させるためにレジスタに書き込む命令が、不要にな
る。
According to the third aspect of the present invention, the mode setting circuit according to the second aspect of the present invention is used to control the clock control circuit when the clock control circuit outputs a clock supply stop signal and the DRAM starts self-refreshing. Since the circuit is configured to stop outputting the clock supply stop signal, the first and second strobe signals for releasing the self-refresh of the DRAM when returning the microcontroller from the power consumption reduction mode to the normal operation mode are provided. Instructions to write to registers to generate them are not needed.

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

【図1】本発明の第1の実施形態を示すマイクロコント
ローラ中のDRAMコントローラの要部を示す図であ
る。
FIG. 1 is a diagram illustrating a main part of a DRAM controller in a microcontroller according to a first embodiment of the present invention.

【図2】従来のDRAMコントローラ4を内蔵したマイ
クロコントローラの一例を示す構成ブロック図である。
FIG. 2 is a configuration block diagram showing an example of a microcontroller having a conventional DRAM controller 4 built therein.

【図3】図2中のDRAMコントローラの要部を示す構
成ブロック図である。
FIG. 3 is a configuration block diagram illustrating a main part of a DRAM controller in FIG. 2;

【図4】本発明の第1の実施形態を示すマイクロコント
ローラの構成ブロック図である。
FIG. 4 is a configuration block diagram of a microcontroller according to the first embodiment of the present invention.

【図5】図4のマイクロコントローラの動作例を示すタ
イムチャートである。
FIG. 5 is a time chart illustrating an operation example of the microcontroller of FIG. 4;

【図6】本発明の第2の実施形態を示すマイクロコント
ローラの構成ブロック図である。
FIG. 6 is a configuration block diagram of a microcontroller showing a second embodiment of the present invention.

【図7】図6中のDRAMコントローラ100の要部を
示す図である。
FIG. 7 is a diagram showing a main part of the DRAM controller 100 in FIG. 6;

【図8】図6のマイクロコントローラにおける消費電力
削減モードへの移行とその解除を示すタイムチャートで
ある。
FIG. 8 is a time chart showing a transition to a power consumption reduction mode in the microcontroller of FIG. 6 and its release.

【符号の説明】[Explanation of symbols]

10,70 CPU 20,80 クロックコントローラ 30,90 RAM 40,100 DRAMコントローラ 41,101 デコーダ 42,102 セレクタ 43,103 ストローブ信号制御回路 44,104 レジスタ 45,105 ANDゲート(状態設定回
路) 50,120 バスコントローラ 60,130 DRAM 110 モード設定回路 acsREQ アクセス要求 AD アドレス stopREQ クロック供給停止信号 stopACK クロック停止承諾信号 CK クロック RAS,CAS 第1及び第2のストローブ
信号
10, 70 CPU 20, 80 Clock controller 30, 90 RAM 40, 100 DRAM controller 41, 101 Decoder 42, 102 Selector 43, 103 Strobe signal control circuit 44, 104 Register 45, 105 AND gate (state setting circuit) 50, 120 Bus controller 60, 130 DRAM 110 mode setting circuit acsREQ access request AD address stopREQ clock supply stop signal stopACK clock stop acceptance signal CK clock RAS, CAS first and second strobe signals

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 接続されたDRAMに対して第1のスト
ローブ信号を出力する第1端子と第2のストローブ信号
を出力する第2端子とアドレスを転送するアドレス端子
とを有し、プログラムに基づき該第1及び第2のストロ
ーブ信号を所定のタイミングで活性化すると共に該DR
AMにアドレスを転送して該DRAMにアクセスを実行
させる機能と、該プログラムに基づき該DRAMに対し
て該アクセスを実行させる場合とは異なったタイミング
で該第1及び第2のストローブ信号を活性化し該DRA
Mにセルフリフレッシュを行わせる機能とを有するマイ
クロコントローラにおいて、 前記プログラムによって設定された第1の状態または第
2の状態を保持するレジスタと、 アドレスバスに接続され、該アドレスバス上で前記DR
AMに対するアドレスを検出した場合にはアクセス要求
を発生するデコーダと、 前記デコーダに接続され、該デコーダが前記アクセス要
求を発生したときには前記レジスタの保持する状態を強
制的に前記第2の状態に設定する状態設定回路と、 前記レジスタと前記デコーダとに接続され、前記レジス
タから前記第1の状態を入力しているときには前記DR
AMがセルフリフレッシュを行うように前記第1及び第
2のストローブ信号を活性化し、前記レジスタの保持状
態が該第1の状態から第2の状態に変化したときには該
第1及び第2のストローブ信号を変化させて該DRAM
におけるセルフリフレッシュを解除し、該レジスタから
第2の状態を入力している状態で該デコーダから前記ア
クセス要求を入力した場合には、該DRAMがアクセス
を行うように該第1及び第2のストローブ信号を活性化
するストローブ信号制御回路と、 前記ストローブ信号制御手段が前記第1及び第2のスト
ローブ信号を活性化して前記DRAMにアクセスを行わ
せるときに、前記アドレスバス上のアドレスを前記アド
レス端子を介して該DRAMへ転送するアドレス転送手
段とを、 備えたことを特徴とするマイクロコントローラ。
A first terminal for outputting a first strobe signal to a connected DRAM; a second terminal for outputting a second strobe signal; and an address terminal for transferring an address, based on a program. Activating the first and second strobe signals at a predetermined timing, and
A function of transferring an address to an AM to execute access to the DRAM, and activating the first and second strobe signals at a different timing from the case of executing the access to the DRAM based on the program. The DRA
A microcontroller having a function of causing M to perform a self-refresh operation, comprising: a register for holding a first state or a second state set by the program; and a register connected to an address bus;
A decoder for generating an access request when an address for AM is detected; and a decoder connected to the decoder and forcibly setting the state held by the register to the second state when the decoder generates the access request. A state setting circuit, which is connected to the register and the decoder, and when the first state is being input from the register, the DR
The AM activates the first and second strobe signals so as to perform self-refresh, and when the holding state of the register changes from the first state to the second state, the first and second strobe signals are activated. The DRAM
, The self-refresh is canceled, and the access request is input from the decoder while the second state is being input from the register, so that the first and second strobes are accessed by the DRAM. A strobe signal control circuit for activating a signal; and when the strobe signal control means activates the first and second strobe signals to access the DRAM, the address on the address bus is changed to the address terminal. And an address transfer means for transferring the data to the DRAM via the microcontroller.
【請求項2】 接続されたDRAMに対して第1のスト
ローブ信号を出力する第1端子と第2のストローブ信号
を出力する第2端子とアドレスを転送するアドレス端子
とを有し、プログラムに基づき該第1及び第2のストロ
ーブ信号を所定のタイミングで活性化すると共に該DR
AMに対するアドレスを転送して該DRAMにアクセス
を実行させる機能と、該プログラムに基づき該DRAM
に対して該アクセスを実行させる場合とは異なったタイ
ミングで該第1及び第2のストローブ信号を活性化し該
DRAMにセルフリフレッシュを行わせる機能とを有す
るマイクロコントローラにおいて、 当該マイクロコントローラの内部回路に対してクロック
を供給して通常動作モードを設定し、該クロックの供給
を停止して該内部回路における消費電力削減モードを設
定すると共に該クロックの供給を停止するときにはクロ
ック供給停止信号を出力するクロック制御回路と、 前記プログラムによって設定された第1の状態または第
2の状態を前記クロックに同調して受け取って保持する
レジスタと、 前記クロック制御回路から前記クロック供給停止信号が
出力されているときには前記レジスタの保持する状態を
強制的に第1の状態に設定するモード設定回路と、 アドレスバスに接続され、該アドレスバス上で前記DR
AMに対するアドレスを検出した場合にはアクセス要求
を発生するデコーダと、 前記レジスタと前記デコーダとに接続され、前記レジス
タから第1の状態を入力しているときには前記DRAM
がセルフリフレッシュを行うためのセルフリフレッシュ
状態を設定するストローブ信号を送出し、前記レジスタ
の保持状態が該第1の状態から第2の状態に変化したと
きには該第1及び第2のストローブ信号を変化させて該
DRAMにおけるセルフリフレッシュを解除し、該レジ
スタから第2の状態を入力している状態で該デコーダか
らアクセス要求信号を入力した場合には該DRAMがア
クセスを行うように該第1及び第2のストローブ信号を
活性化するストローブ信号制御回路と、 前記ストローブ信号制御手段が前記第1及び第2のスト
ローブ信号を活性化して前記DRAMにアクセスを行わ
せるときに、前記アドレスバス上のアドレスを前記アド
レス端子を介して該DRAMへ転送するアドレス転送手
段とを、備えたことを特徴とするマイクロコントロー
ラ。
2. A semiconductor device comprising: a first terminal for outputting a first strobe signal to a connected DRAM; a second terminal for outputting a second strobe signal; and an address terminal for transferring an address, based on a program. Activating the first and second strobe signals at a predetermined timing, and
A function of transferring an address to the AM to execute access to the DRAM;
A microcontroller having a function of activating the first and second strobe signals at a different timing from the case where the access is executed and causing the DRAM to perform self-refresh. A clock for supplying a clock to the internal circuit, setting a normal operation mode, stopping the supply of the clock, setting a power consumption reduction mode in the internal circuit, and outputting a clock supply stop signal when stopping the supply of the clock. A control circuit; a register for receiving and holding the first state or the second state set by the program in synchronization with the clock; and a register for outputting the clock supply stop signal from the clock control circuit. Forcibly set the state held by the register to the first state A mode setting circuit that is connected to the address bus, the DR on the address bus
A decoder for generating an access request when an address for the AM is detected; and a DRAM connected to the register and the decoder when a first state is input from the register.
Sends a strobe signal for setting a self-refresh state for performing a self-refresh, and changes the first and second strobe signals when the holding state of the register changes from the first state to the second state. Then, the self-refresh in the DRAM is released, and when an access request signal is input from the decoder in a state where the second state is input from the register, the first and second signals are accessed so that the DRAM accesses. A strobe signal control circuit for activating the first and second strobe signals, and an address on the address bus when the strobe signal control means activates the first and second strobe signals to access the DRAM. Address transfer means for transferring the data to the DRAM via the address terminal. Microcontroller.
【請求項3】 前記モード設定回路は、前記クロック制
御回路が前記クロック供給停止信号を出力することによ
って前記DRAMがセルフリフレッシュを行うようにな
ったときに、該クロック制御回路にクロック供給停止信
号の出力を停止させる構成にしたことを特徴とする請求
項2記載のマイクロコントローラ。
3. The mode setting circuit, when the clock control circuit outputs the clock supply stop signal and the DRAM starts self-refreshing, the clock control circuit outputs the clock supply stop signal. 3. The microcontroller according to claim 2, wherein the output is stopped.
【請求項4】 前記デコーダに接続され、該デコーダが
前記アクセス要求を発生したときには前記レジスタの保
持する状態を強制的に前記第2の状態に設定する状態設
定回路を設けたことを特徴とする請求項2または3記載
のマイクロコントローラ。
4. A state setting circuit connected to the decoder, wherein a state setting circuit for forcibly setting a state held by the register to the second state when the decoder generates the access request is provided. The microcontroller according to claim 2.
JP10974497A 1997-04-25 1997-04-25 Microcontroller Expired - Fee Related JP4174835B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10974497A JP4174835B2 (en) 1997-04-25 1997-04-25 Microcontroller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10974497A JP4174835B2 (en) 1997-04-25 1997-04-25 Microcontroller

Publications (2)

Publication Number Publication Date
JPH10302460A true JPH10302460A (en) 1998-11-13
JP4174835B2 JP4174835B2 (en) 2008-11-05

Family

ID=14518157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10974497A Expired - Fee Related JP4174835B2 (en) 1997-04-25 1997-04-25 Microcontroller

Country Status (1)

Country Link
JP (1) JP4174835B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202777A (en) * 2000-01-20 2001-07-27 Casio Electronics Co Ltd Control device for sdram
US8169852B2 (en) 2009-05-08 2012-05-01 Canon Kabushiki Kaisha Memory control circuit, control method, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202777A (en) * 2000-01-20 2001-07-27 Casio Electronics Co Ltd Control device for sdram
US8169852B2 (en) 2009-05-08 2012-05-01 Canon Kabushiki Kaisha Memory control circuit, control method, and storage medium

Also Published As

Publication number Publication date
JP4174835B2 (en) 2008-11-05

Similar Documents

Publication Publication Date Title
US6073223A (en) Memory controller and method for intermittently activating and idling a clock signal for a synchronous memory
US5247655A (en) Sleep mode refresh apparatus
JP5427775B2 (en) Data processing device with low power cache access mode
US5634106A (en) Power saving system and method for refreshing a computer memory by switching between interval refresh and self-refresh operations
JP4083847B2 (en) Memory refresh method and system
US6597615B2 (en) Refresh control for semiconductor memory device
JP3728468B2 (en) Memory control device
US20030084235A1 (en) Synchronous DRAM controller and control method for the same
JPH10133714A (en) Integrated circuit device
JP2001034530A (en) Microcomputer and memory access control method
JPH05108548A (en) Dma controller
JPH10302460A (en) Microcontroller
JPH0789346B2 (en) DMA controller
US5487157A (en) Microprogrammed microcomputer with high-speed interrupt for DRAM refresh
JP3939858B2 (en) Synchronous DRAM access method, interface circuit, and semiconductor integrated circuit device
JP2701752B2 (en) Microprocessor clock supply control circuit
US20030041276A1 (en) Semiconductor device allowing control of clock supply to processor on a clock cycle basis
JP2002341980A (en) Microcomputer
JPH087562A (en) Dynamic random access memory
JP2002207541A (en) Microcomputer and data processor
JP2004070880A (en) Memory interface circuit
JP3302149B2 (en) Computer system
JPH10240496A (en) Register circuit
JP2001067218A (en) Microcomputer and pulse signal control method
JP2003162412A (en) Power-saving circuit for cpu

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040420

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061121

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070925

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080603

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080729

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080811

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 4

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130829

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees