JPH1078836A - Data processor - Google Patents

Data processor

Info

Publication number
JPH1078836A
JPH1078836A JP8234860A JP23486096A JPH1078836A JP H1078836 A JPH1078836 A JP H1078836A JP 8234860 A JP8234860 A JP 8234860A JP 23486096 A JP23486096 A JP 23486096A JP H1078836 A JPH1078836 A JP H1078836A
Authority
JP
Japan
Prior art keywords
data
circuit
storage elements
memory
internal data
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
JP8234860A
Other languages
Japanese (ja)
Inventor
Junichi Nishimoto
順一 西本
Koshi Yamada
孔司 山田
Miki Takeuchi
幹 竹内
Hiroyuki Tanigawa
博之 谷川
Yasuhisa Shimazaki
靖久 島崎
Nobuyoshi Kobayashi
伸好 小林
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP8234860A priority Critical patent/JPH1078836A/en
Publication of JPH1078836A publication Critical patent/JPH1078836A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce the power consumption by reducing the leakage current during standby of a data processor. SOLUTION: Plural sequential circuits in a CPU + core 114 are constituted of plural scannable flip flops and plural combined circuits. The data of those flip flops are successively scanned-out and saved to a ferroelectric memory 110 by the control of a control circuit 103 before transition from a normal state to a waiting state. Data held in memories in a cache 122 or an RAM 127 are also successively read and saved by the control of the control circuit 103, and a power source switching circuit 146 is controlled so that power supply to those inside modules can be interrupted. The power source switching circuit 146 is controlled so that the power supply to those inside modules can be resumed before transition form the standby state to the normal state. Those saved data are successively read out of the ferroelectric memory 110, and written in the inside module which holds each data.

Description

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

【0001】[0001]

【発明の属する技術の分野】本発明は待機状態における
消費電力を低減した、マイクロプロセッサ等のデータ処
理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processor, such as a microprocessor, which has reduced power consumption in a standby state.

【0002】[0002]

【従来の技術】マイクロプロセッサ等のいろいろのデー
タ処理装置における技術的課題の一つは、データ処理装
置が待機状態にあるときの消費電力を低減することであ
る。消費電力低減のためにいろいろな工夫が従来なされ
ている。その典型的な方法は、データ処理装置の内部に
供給するクロックを停止することである。
2. Description of the Related Art One of technical problems in various data processing devices such as a microprocessor is to reduce power consumption when the data processing device is in a standby state. Various devices have been conventionally devised to reduce power consumption. A typical method is to stop the clock supplied to the inside of the data processing device.

【0003】通常、データ処理装置を構成する複数の内
部モジュールの多くは順序回路により構成され、しかも
その順序回路は、複数の組み合わせ回路とそれらととも
に順序回路を構成するための複数の記憶素子(例えば、
ラッチあるいはフリップフロップ)とで構成されている
場合が多い。各内部モジュールでは、各記憶素子の出力
がいずれかの組み合わせ論理回路に接続され、その組み
合わせ論理回路の出力はさらに他の記憶素子に接続さ
れ、これらの記憶素子は、データ処理装置の内部で発生
したクロック若しくはその外部から与えられたクロック
に従って動作する。すなわち、いずれかの記憶素子路に
保持したデータが読み出され、その記憶素子に接続され
たいずれかの組み合わせ回路に入力され、その組み合わ
せ回路の出力はさらに他の記憶素子に入力される。
Usually, most of a plurality of internal modules constituting a data processing device are constituted by a sequential circuit, and the sequential circuit includes a plurality of combinational circuits and a plurality of storage elements (for example, a plurality of storage elements) for constituting a sequential circuit together therewith. ,
Latch or flip-flop) in many cases. In each internal module, the output of each storage element is connected to one of the combinational logic circuits, and the output of the combinational logic circuit is further connected to another storage element, and these storage elements are generated inside the data processing device. It operates according to the set clock or a clock externally provided. That is, the data held in one of the storage element paths is read out, input to one of the combinational circuits connected to the storage element, and the output of the combinational circuit is further input to another storage element.

【0004】その内部モジュールに対する電源電圧を供
給した状態で、そのモジュールへのクロックの供給を停
止したとしても、その内部モジュールの内部状態は保持
されるため、その後任意のタイミングでその内部モジュ
ールに対するクロックの供給を再開すれば、その内部モ
ジュールは動作を再開することができる。従って、従来
は、データ処理装置が待機状態にあるときに使用されな
い内部モジュールに対してクロックの供給を停止するこ
とにより、データ処理装置の待機状態での消費電力を低
減している。具体的な動作態様としては、例えばCPU
のみの動作を停止し、そこへのクロックの供給を停止
し、周辺回路モジュールにはクロックを供給し続け、従
って、クロック発生回路も動作し続けるスリープモード
や、CPUにも周辺モジュールにもクロックの供給を停
止し、従ってクロック発生回路も動作を停止するスタン
バイモードなどが存在する。
Even if the supply of the clock to the module is stopped while the power supply voltage to the internal module is being supplied, the internal state of the internal module is maintained. Then, the operation of the internal module can be resumed. Therefore, conventionally, the supply of the clock to the internal module not used when the data processing device is in the standby state is stopped, thereby reducing the power consumption of the data processing device in the standby state. As a specific operation mode, for example, a CPU
Only in the sleep mode, the supply of the clock to it is stopped, and the clock is continuously supplied to the peripheral circuit module. There is a standby mode or the like in which the supply is stopped and the operation of the clock generation circuit is also stopped.

【0005】データ処理装置が待機状態にあるときに、
内部モジュールへのクロックの供給を停止したとして
も、その内部モジュール内の記憶素子に、そのときまで
に保持していた情報を保持させるためには、その内部モ
ジュールに供給するクロックのレベルおよび電源電圧を
下げることはできない。従って、この内部モジュール内
では依然としてリーク電流が発生し続け、それによる消
費電力が発生する。このため、待機状態にある回路のリ
ーク電流を低減する有効な方法が望まれる。
When the data processing device is in a standby state,
Even if the supply of the clock to the internal module is stopped, the level of the clock to be supplied to the internal module and the power supply voltage must be maintained in order for the storage element in the internal module to retain the information held up to that time. Cannot be lowered. Therefore, a leak current continues to be generated in the internal module, which results in power consumption. For this reason, an effective method for reducing the leak current of the circuit in the standby state is desired.

【0006】そのための一つの試みとして、データ処理
装置が搭載された半導体集積回路に待機時に基板バイア
スを印加する方法も提案されている。例えば、黒田ほ
か、「スピードを維持した50%省電力化回路」(信学
技報、ED95−38、1995−06、pp.9−1
5)参照。
As one attempt for that, a method has been proposed in which a substrate bias is applied to a semiconductor integrated circuit on which a data processing device is mounted during standby. For example, Kuroda et al., “50% power saving circuit maintaining speed” (IEICE Technical Report, ED95-38, 1995-06, pp. 9-1)
See 5).

【0007】また、最近では、いろいろの利便性を考慮
して、マイクロプロセッサ上に書き換え可能な不揮発性
メモリを搭載することが多くなってきている。不揮発性
メモリの種類としてはEPROMやEEPROMやFL
ASHメモリなどがあるが、書き換え回数の制限や書き
込み方法の不便さがあった。しかし、最近では書き換え
回数や書き込み、読み出し方式もDRAMに近づいた不
揮発性のメモリとして、強誘電体メモリ(FRAM)が
現われてきている。FRAMは、不揮発性であるため、
データ保持にリフレッシュ動作が必要でとせず、待機時
のこのメモリの消費電力は非常に小さくできるだけでな
く、DRAMと同等のアクセス時間を有し、さらに、S
RAMと比べると、大幅にセル面積が小さいという利点
も有する。FRAMの詳細については塩嵜他 編、「強
誘電体薄膜メモリ」(サイエンスフォーラム社、pp.
2−260)を参照のこと。
In recent years, rewritable nonvolatile memories have been increasingly mounted on microprocessors in consideration of various conveniences. Non-volatile memory types include EPROM, EEPROM, and FL.
Although there is an ASH memory or the like, there are limitations on the number of rewrites and inconvenience of the writing method. However, recently, a ferroelectric memory (FRAM) has emerged as a non-volatile memory whose number of rewrites, writing, and reading have approached that of a DRAM. Since FRAM is non-volatile,
Since a refresh operation is not required for holding data, the power consumption of this memory during standby can be extremely small, and the access time is equivalent to that of a DRAM.
There is also an advantage that the cell area is significantly smaller than that of the RAM. For details of FRAM, refer to “Ferroelectric Thin-Film Memory” edited by Shiozaki et al.
2-260).

【0008】マイクロプロセッサ等のいろいろのデータ
処理装置における他の技術的課題の一つは、回路の故障
検出のためのテスト時間の短縮である。従来、マイクロ
プロセッサの故障検出に主に用いられてきた方法には、
テストパターンをマイクロプロセッサ外部から与える方
法がある。しかし、この方法では、外部からテストパタ
ーンの量は、マイクロプロセッサの高速化、高集積化に
伴い膨大となり、このために、テスト時間が増大すると
いう問題がある。とくに、順序回路の故障検出用のテス
トパターンの生成は、組み合わせ回路の故障検出用のテ
ストパターンの生成に比べて難しいということが知られ
ている。このため、最近では多くのマイクロプロセッサ
が順序回路を前述のように複数の論理回路とそれらに接
続された複数のフリップフロップで構成し、それらのフ
リップフロップに対するスキャン回路を有するようにな
った。これにより、これらのフリップフロップに任意の
値を設定できるようになるため順序回路の故障検出は容
易になり、故障検出の問題は、組み合わせ回路だけの問
題に帰着する。
Another technical problem in various data processing devices such as a microprocessor is to reduce a test time for detecting a circuit failure. Conventionally, methods mainly used for detecting a failure of a microprocessor include:
There is a method of providing a test pattern from outside the microprocessor. However, this method has a problem in that the amount of test patterns from the outside becomes enormous as the microprocessor becomes faster and more highly integrated, thereby increasing the test time. In particular, it is known that generation of a test pattern for detecting a failure in a sequential circuit is more difficult than generation of a test pattern for detecting a failure in a combinational circuit. For this reason, recently, many microprocessors have constituted a sequential circuit with a plurality of logic circuits and a plurality of flip-flops connected thereto as described above, and have provided a scan circuit for the flip-flops. As a result, an arbitrary value can be set to these flip-flops, so that the failure detection of the sequential circuit is facilitated, and the problem of failure detection is reduced to a problem of only the combinational circuit.

【0009】この組み合わせ回路の故障検出を高速に行
う最近の手法として、組み込み自己テスト回路BIST
(Built−In Self−Test)が存在す
る。BISTとはプロセッサに内蔵された1つのモジュ
ールのことであり、このモジュールがランダムパターン
を発生し、組み合わせ回路へそのパターンを与え、組み
合わせ回路からの出力を受け取り、結果を圧縮して外部
へ出力するといった動作をする。この出力を用いてマイ
クロプロセッサ上の故障の有無を判定する。このBIS
Tの詳細については「A Tutorial on B
uilt−InSelf−Test Part 1:
Principles」(IEEE DESIGN &
TEST OF COMPUTERS, MARC
H,1993,pp.73−82)と、「A Tuto
rial on Built−InSelf−Test
Part 2:Applications」(IEE
EDESIGN & TEST OF COMPUTE
RS,JUNE,1993,pp.69−77)を参照
のこと。
As a recent technique for detecting a fault in the combinational circuit at high speed, a built-in self-test circuit BIST is used.
(Built-In Self-Test). The BIST is a module built in the processor. This module generates a random pattern, gives the pattern to the combinational circuit, receives the output from the combinational circuit, compresses the result, and outputs the result to the outside. Such an operation is performed. Using this output, the presence or absence of a fault on the microprocessor is determined. This BIS
For more information on T, see "A Tutorial on B
uilt-InSelf-Test Part 1:
Principles "(IEEE DESIGN &
TEST OF COMPUTERS, MARC
H, 1993, pp. 139-157. 73-82) and "A Tuto
real on Built-In Self-Test
Part 2: Applications ”(IEEE
EDESSIGN & TEST OF COMPUTER
RS, JUNE, 1993, pp. 69-77).

【0010】この技術を使用するとしても、多数のテス
トパターンをBIST回路から検査対象モジュールに供
給し、それらに対する応答データを検査対象モジュール
からBIST回路に回収する必要がある。検査の高速化
のためには、これらのテストパターンの供給およびそれ
ぞれに対する応答データの回収を高速化することが望ま
しい。
Even if this technique is used, it is necessary to supply a large number of test patterns from the BIST circuit to the module to be inspected and to collect response data corresponding to the test patterns from the module to be inspected to the BIST circuit. To speed up the inspection, it is desirable to speed up the supply of these test patterns and the collection of response data for each.

【0011】[0011]

【発明が解決しようとする課題】プロセッサ待機時に、
その内部の不使用の内部モジュールに対するクロック供
給を停止する従来の方法でも、待機時にリーク電流によ
る消費電力が発生する。今後プロセッサが高集積化さ
れ、高速化すると、このリーク電流による消費電力がプ
ロセッサ全体の消費電力に占める割合が増大することは
明らかである。
When the processor is on standby,
Even in the conventional method of stopping the clock supply to the unused internal modules, power consumption occurs due to leakage current during standby. It is clear that as processors become more highly integrated and operate at higher speeds, the ratio of the power consumption due to the leakage current to the total power consumption of the processor will increase.

【0012】本発明の目的は、待機時の消費電力をさら
に低減可能なデータ処理装置を提供することである。
An object of the present invention is to provide a data processing device capable of further reducing power consumption during standby.

【0013】本発明のより具体的な目的は、比較的簡単
な回路を付加するだけで待機時の消費電力をさらに低減
可能なデータ処理装置を提供することである。
A more specific object of the present invention is to provide a data processing device capable of further reducing power consumption during standby by adding a relatively simple circuit.

【0014】本発明の他の目的は、組み込み自己テスト
回路を用いた故障検出における、テストパターンの供給
およびそれぞれに対する応答データの回収を高速に行い
うるデータ処理装置を提供することである。
Another object of the present invention is to provide a data processing device capable of supplying test patterns and collecting response data for each of them at high speed in failure detection using a built-in self-test circuit.

【0015】[0015]

【課題を解決するための手段】上記目的を達成するため
に、本発明によるデータ処理装置内の命令を実行する処
理装置が、複数の組み合わせ論理回路とそれらと組み合
わされた複数の記憶素子とからなる順序回路にて構成さ
れ、このデータ処理装置は、退避用のメモリと、上記複
数の記憶素子に保持された複数の内部データを上記待機
用のメモリに退避し、後に上記退避用のメモリに退避さ
れた複数の内部データを上記複数の記憶素子に回復する
退避回復回路と、上記退避回復回路により上記複数の内
部データが退避された後に上記処理装置に退避状態用の
電源電圧を供給し、上記退避回復回路により上記退避さ
れた複数の内部データが回復される前に上記処理装置に
通常動作用の電源電圧を供給するように、上記処理装置
に供給する電源電圧を切り換えるための電源供給切り替
え回路とを有する。
In order to achieve the above object, a processor for executing an instruction in a data processor according to the present invention comprises a plurality of combinational logic circuits and a plurality of storage elements combined therewith. This data processing device saves a plurality of internal data held in the plurality of storage elements to the standby memory, and later saves the plurality of internal data held in the plurality of storage elements to the standby memory. A save / restore circuit that restores the saved plurality of internal data to the plurality of storage elements, and supplies a power supply voltage for an save state to the processing device after the save / restore circuit saves the plurality of internal data; A power supply for supplying to the processing device such that a power supply voltage for normal operation is supplied to the processing device before the plurality of saved internal data is recovered by the save / restore circuit. And a power supply switching circuit for switching a.

【0016】特に、本発明の望ましい態様では、上記退
避回復回路は、上記複数の記憶素子に保持された上記複
数の内部データを退避するときには、それらの内部デー
タを順次スキャンアウトし、上記退避用のメモリに退避
された上記複数の内部データを上記複数の記憶素子に回
復するときには、上記退避された複数の内部データを上
記複数の記憶素子に順次スキャンインするスキャン回路
と、上記複数の記憶素子に保持された上記複数の内部デ
ータを退避するときには、上記複数の記憶素子からスキ
ャンアウトされた上記複数の内部データを上記待機用の
メモリに順次書き込み、上記退避用のメモリに退避され
た上記複数の内部データを上記複数の記憶素子に回復す
るときには、上記退避された上記複数の内部データを順
次読み出すメモリ制御回路とを有する。
In particular, in a desirable mode of the present invention, when saving the plurality of internal data held in the plurality of storage elements, the save / recovery circuit sequentially scans out the internal data and saves the internal data. A scan circuit for sequentially scanning in the plurality of saved internal data into the plurality of storage elements when recovering the plurality of internal data saved in the memory to the plurality of storage elements; When saving the plurality of internal data held in the memory, the plurality of internal data scanned out from the plurality of storage elements are sequentially written to the standby memory, and the plurality of internal data saved in the save memory are written. A memory for sequentially reading out the plurality of saved internal data when the internal data of the plurality of storage elements are restored to the plurality of storage elements; And a control circuit.

【0017】特に、本発明の望ましい他の態様では、上
記退避用のメモリは、書き換え可能な不揮発性メモリ、
望ましくは強誘電体メモリからなる。
In particular, in another desirable mode of the present invention, the evacuation memory is a rewritable nonvolatile memory,
Preferably, it comprises a ferroelectric memory.

【0018】[0018]

【発明の実施の形態】以下、本発明に係るデータ処理装
置を図面に示した実施の形態を参照してさらに詳細に説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a data processing apparatus according to the present invention will be described in more detail with reference to embodiments shown in the drawings.

【0019】<発明の実施の形態> (1)装置の概要 図1で、101は、本発明に係るマイクロコンピュータ
を表す。これは一つの大規模集積回路(ワンチップ)上
に搭載されている。マイクロコンピュータ101には、
CPUコア114と、キャッシュ122と、RAM12
7が設けられている。RAM127は、このマイクロプ
ロセッサ101の主記憶の一部として使用するRAMで
あり、CPUコア114が使用するデータを保持する。
この主記憶の残りの大部分は、このマイクロプロセッサ
101が搭載されているチップとは別に設けられている
RAM(図示せず)により実現される。キャッシュ12
2は、RAM127とこの図示していない外部のRAM
により実現される主記憶内のデータの一部の写を保持す
るキャッシュである。
<Embodiment of the Invention> (1) Outline of Apparatus In FIG. 1, reference numeral 101 denotes a microcomputer according to the present invention. It is mounted on one large-scale integrated circuit (one chip). The microcomputer 101 includes:
CPU core 114, cache 122, RAM 12
7 are provided. The RAM 127 is a RAM used as a part of the main memory of the microprocessor 101, and holds data used by the CPU core 114.
Most of the remaining main memory is realized by a RAM (not shown) provided separately from a chip on which the microprocessor 101 is mounted. Cache 12
2 is a RAM 127 and an external RAM (not shown)
Is a cache that holds a copy of a part of the data in the main memory realized by.

【0020】CPUコア114は、このマイクロコンピ
ュータが必要とするマイクロ命令を実行するもので、本
実施の形態では、マイクロ命令を記憶したROMは、こ
のマイクロコンピュータの外部の設けられ、簡単化のた
めに図示されていない。
The CPU core 114 executes a microinstruction required by the microcomputer. In the present embodiment, the ROM storing the microinstruction is provided outside the microcomputer, and is provided for simplification. Not shown in FIG.

【0021】制御回路103は、マイクロプロセッサ1
01での退避動作、回復動作、テスト動作の実行を制御
する回路である。この回路は、マイクロプロセッサ10
1を待機状態にする前に、マイクロプロセッサ101が
待機状態にあるときには使用されないいくつかの内部モ
ジュール、具体的には、CPUコア114と、キャッシ
ュ122と、RAM127の内部データをパススイッチ
112を介して強誘電体メモリ110に退避させる。こ
の待機動作のために、クロック生成回路104にテスト
クロックTCLKを生成させ、待機動作中の内部モジュ
ールにその内部データが全て待機されるまで供給する。
その後、マイクロプロセッサ101を待機状態にする。
待機状態では、これらの内部モジュール、強誘電体メモ
リ110、パススイッチ112、BIST回路132な
どの、待機時に使用しない内部モジュールへの電源の供
給を電源切り替え回路146に遮断させる。マイクロプ
ロセッサ101を待機状態から通常動作状態に戻す前
に、これらの内部モジュールへの電源の供給を電源切り
替え回路146に再開させ、強誘電体メモリ110に退
避された内部データを上記CPUコア114、キャッシ
ュ122、RAM127にパススイッチ112を介して
回復させる。
The control circuit 103 includes the microprocessor 1
01 is a circuit for controlling execution of a save operation, a recovery operation, and a test operation. This circuit includes the microprocessor 10
Before putting the CPU 1 into the standby state, some internal modules that are not used when the microprocessor 101 is in the standby state, specifically, the internal data of the CPU core 114, the cache 122, and the RAM 127 are transferred via the path switch 112. To the ferroelectric memory 110. For this standby operation, the test clock TCLK is generated by the clock generation circuit 104, and the test clock TCLK is supplied to the internal module during the standby operation until all the internal data is on standby.
Thereafter, the microprocessor 101 is set in a standby state.
In the standby state, the power supply switching circuit 146 interrupts the supply of power to the internal modules not used during standby, such as the internal modules, the ferroelectric memory 110, the path switch 112, and the BIST circuit 132. Before returning the microprocessor 101 from the standby state to the normal operation state, supply of power to these internal modules is restarted by the power supply switching circuit 146, and the internal data saved in the ferroelectric memory 110 is transferred to the CPU core 114, The cache 122 and the RAM 127 are restored via the path switch 112.

【0022】強誘電体メモリ110は、マイクロプロセ
ッサ101内の退避すべき内部データを低消費電力でも
って保持するために設けられ、パススイッチ112と
は、上記退避動作および上記回復動作、上記テスト動作
の間、上記いくつかの内部モジュールと上記強誘電体メ
モリ140の間のデータ転送に使用される。ここで、強
誘電体メモリは、強誘電体絶縁膜の履歴特性を利用した
不揮発性のメモリである。強誘電体メモリには、先に引
用した文献に記載の通りいくつかの種類があるが、本実
施の形態では、いずれの種類も原理的に使用可能であ
る。
The ferroelectric memory 110 is provided for holding the internal data to be saved in the microprocessor 101 with low power consumption. The ferroelectric memory 110 is connected to the pass switch 112 in the save operation, the recovery operation, and the test operation. During this time, it is used for data transfer between the some internal modules and the ferroelectric memory 140. Here, the ferroelectric memory is a non-volatile memory utilizing the hysteresis characteristics of the ferroelectric insulating film. Although there are several types of ferroelectric memories as described in the above-cited documents, in this embodiment, any type can be used in principle.

【0023】クロック生成回路104は、制御回路10
3の制御の下で、供給するクロックを切り換え可能にな
っている。すなわち、通常動作時には通常動作クロック
CLKをこのマイクロプロセッサ内部のいろいろの内部
モジュールに、それらに共通の線107を介して供給
し、上記退避動作、上記回復動作およびマイクロプロセ
ッサ101のテスト動作の間、通常クロックと同じ周波
数のテストクロックTCLKを出力し、制御回路103
が、上記退避動作、回復動作、およびテスト動作に関与
している、マイクロプロセッサ101内の特定の内部モ
ジュール、ここではCPUコア114、キャッシュ12
2、またはRAM127に、このテストクロックを選択
的に供給する。
The clock generation circuit 104 includes the control circuit 10
Under the control of 3, the supplied clock can be switched. That is, during the normal operation, the normal operation clock CLK is supplied to various internal modules inside the microprocessor through the common line 107, and during the save operation, the recovery operation, and the test operation of the microprocessor 101, A test clock TCLK having the same frequency as the normal clock is output, and the control circuit 103
Are specific internal modules in the microprocessor 101, here the CPU core 114 and the cache 12 which are involved in the save operation, the recovery operation, and the test operation.
2 or the RAM 127 is selectively supplied with the test clock.

【0024】クロック生成回路104は、マイクロプロ
セッサ101が待機状態になったときには、マイクロプ
ロセッサ101内の、制御回路103以外の内部モジュ
ール、具体的には、CPUコア114、キャッシュ12
2、RAM127、強誘電体メモリ109、パススイッ
チ112、BIST回路132への通常クロックCLK
の供給を制御回路103の制御の下で停止する。このた
めに、CPUコア114、キャッシュ122、RAM1
27等の、制御回路103以外の内部モジュールに通常
クロックCLKをクロック生成回路104から供給する
線107は、制御回路103に通常クロックCLKをク
ロック生成回路104から供給する信号線151とは区
別して設けられている。
When the microprocessor 101 is in a standby state, the clock generation circuit 104 includes an internal module other than the control circuit 103 in the microprocessor 101, specifically, the CPU core 114 and the cache 12
2. Normal clock CLK to RAM 127, ferroelectric memory 109, path switch 112, and BIST circuit 132
Is stopped under the control of the control circuit 103. For this purpose, the CPU core 114, the cache 122, the RAM 1
The line 107 for supplying the normal clock CLK from the clock generation circuit 104 to an internal module other than the control circuit 103 such as 27 is provided separately from the signal line 151 for supplying the normal clock CLK to the control circuit 103 from the clock generation circuit 104. Have been.

【0025】電源切り替え回路146には、通常動作用
の電源147と待機時用の電源148(これは接地電位
に等しい)が外部から供給されており、電源切り替え回
路146は、マイクロコンピュータ101が待機状態に
なったときに、上記CPUコア114、キャッシュ12
2、RAM127等の不使用状態となる、制御回路10
3とクロック生成回路104以外の内部モジュールへの
電源供給を制御回路103の制御の下で停止する。この
ため、CPUコア114、キャッシュ122、RAM1
27、強誘電体メモリ109、パススイッチ112、B
IST回路132等の、制御回路103とクロック生成
回路104以外の内部モジュールに電源電位を供給する
線149は、制御回路103とクロック生成回路104
に電源電位を供給する線147とは区別して設けられて
いる。なお、制御回路103とクロック生成回路104
には、通常動作用の電源が線147を介して常時供給さ
れる。以上により、マイクロプロセッサ101が待機状
態にある間、制御回路103とクロック生成回路104
以外の内部モジュールでのリーク電流による消費電力を
低減する。
The power supply switching circuit 146 is externally supplied with a power supply 147 for normal operation and a power supply 148 for standby (which is equal to the ground potential). When the state is reached, the CPU core 114, the cache 12
2. The control circuit 10 which is in an unused state such as the RAM 127
3 and the power supply to the internal modules other than the clock generation circuit 104 is stopped under the control of the control circuit 103. Therefore, the CPU core 114, the cache 122, the RAM 1
27, ferroelectric memory 109, path switch 112, B
A line 149 for supplying a power supply potential to an internal module other than the control circuit 103 and the clock generation circuit 104 such as the IST circuit 132 is connected to the control circuit 103 and the clock generation circuit 104.
Are provided separately from the line 147 for supplying the power supply potential to the power supply. Note that the control circuit 103 and the clock generation circuit 104
, Power for normal operation is always supplied via a line 147. As described above, while the microprocessor 101 is in the standby state, the control circuit 103 and the clock generation circuit 104
Power consumption due to leakage current in other internal modules.

【0026】一般にデータ処理装置を構成する内部モジ
ュールは、複数のランダムモジュールとマクロモジュー
ルとを含む。ここでランダムモジュールとは順序回路を
主要構成要素とするモジュールであり、通常は自動論理
合成により生成されるモジュールのことである。本実施
の形態では、この順序回路は、複数の記憶素子(ここで
はフリップフロップと仮定する)とそれらを相互に接続
する複数の組み合わせ論理回路とからなる。またマクロ
モジュールとはROMやRAMなどのメモリを主要構成
要素とするモジュールを指す。これらのモジュールの数
はデータ処理装置の規模により変わる。図1では、CP
Uコア114はランダムモジュールであり、キャッシュ
112とRAM127はマクロモジュールである。
Generally, an internal module constituting a data processing device includes a plurality of random modules and a macro module. Here, the random module is a module having a sequential circuit as a main component, and is usually a module generated by automatic logic synthesis. In the present embodiment, this sequential circuit includes a plurality of storage elements (here, assumed to be flip-flops) and a plurality of combinational logic circuits interconnecting them. The macro module refers to a module having a memory such as a ROM or a RAM as a main component. The number of these modules depends on the size of the data processing device. In FIG. 1, the CP
The U core 114 is a random module, and the cache 112 and the RAM 127 are macro modules.

【0027】本実施の形態では、CPUコア114のよ
うなランダムモジュールを構成する順序回路の複数の記
憶素子に対して、それぞれが保持する複数の内部データ
を所定の順に順次退避し、さらに、それらの退避された
内部データをそれぞれの記憶素子に順次回復するスキャ
ン回路を使用する。しかも、このスキャン回路の主要部
をテスト動作に使用されるスキャン回路と共用すること
により、少ない回路の追加でもって、上記退避回復を実
現している。
In the present embodiment, a plurality of internal data held by each of a plurality of storage elements of a sequential circuit constituting a random module such as the CPU core 114 are sequentially saved in a predetermined order. A scan circuit for sequentially recovering the saved internal data to each storage element is used. In addition, by sharing the main part of the scan circuit with the scan circuit used for the test operation, the above-described save / recovery is realized with the addition of a small number of circuits.

【0028】BIST回路132はこのマイクロプロセ
ッサのテストをパススイッチ112と強誘電体メモリ1
40を使用して行うようになっている。その際、強誘電
体メモリ140を複数のテストパターン保持用のバッフ
ァおよびそれらに対するCPUコア114からの複数の
応答データの保持用のバッファとして使用する。以下、
図1の装置とその動作の詳細をさらに説明する。
The BIST circuit 132 checks the microprocessor test with the path switch 112 and the ferroelectric memory 1.
40 is used. At this time, the ferroelectric memory 140 is used as a buffer for holding a plurality of test patterns and a buffer for holding a plurality of response data from the CPU core 114 for the plurality of buffers. Less than,
The details of the apparatus of FIG. 1 and its operation will be further described.

【0029】(2)内部データの退避 (2A)待機動作の起動 マイクロプロセッサ101の待機状態への遷移と通常状
態への遷移は、図示しない他のプロセッサから線102
を介して制御回路103に与えられる停止信号STPお
よび起動信号STARTにより起動される。さらに、B
IST回路132から線108を介してテスト開始要求
TESTもこの制御回路103に与えられる。
(2) Saving of Internal Data (2A) Activation of Standby Operation The transition of the microprocessor 101 to the standby state and the transition to the normal state are performed by a line 102 from another processor (not shown).
Is started by a stop signal STP and a start signal START given to the control circuit 103 through the control circuit 103. Further, B
A test start request TEST is also provided from the IST circuit 132 to the control circuit 103 via the line 108.

【0030】図4を参照するに、制御回路103では、
起動回路401が、停止信号STP、起動信号STAR
T、テスト開始要求TESTを受信し、それぞれの信号
の受信をステートマシーン405に線403を介して通
知する。このステートマシーン405は、この受信され
た要求に対応する動作が実行されるように、制御回路1
03内のいろいろの回路をそれぞれの回路に応じて定め
たタイミングで線408を介して起動する。
Referring to FIG. 4, in the control circuit 103,
The start circuit 401 receives the stop signal STP and the start signal STAR.
T, the test start request TEST is received, and the reception of each signal is notified to the state machine 405 via the line 403. The state machine 405 controls the control circuit 1 so that an operation corresponding to the received request is executed.
Various circuits in 03 are activated via a line 408 at timings determined according to the respective circuits.

【0031】具体的には、起動回路401は、上記起動
信号STARTを受信すると、以下のようにして、退避
対象の内部モジュールの内部データの退避動作を以下の
ようにして起動する。図6には、この退避動作に関係す
るいくつかの信号のタイミングチャートを示す。
Specifically, upon receiving the start signal START, the start circuit 401 starts the operation of saving the internal data of the internal module to be saved as follows. FIG. 6 shows a timing chart of some signals related to the save operation.

【0032】起動回路401は、先ず、線402を介し
てクロック切り替え制御回路404に、テストクロック
の生成要求を出力する。クロック切り替え制御回路40
4は、この要求に応答して、退避動作を実行すべき全て
の内部モジュールでの待機動作が完了するまでの間、テ
ストクロックの生成要求を線105を介してクロック生
成回路104に供給する。クロック生成回路104は、
このテストクロック生成要求に応答して、テストクロッ
クTCLKを線106を介して制御回路103に与える
とともに、強誘電体メモリ110、パススイッチ11
2、BIST回路132等の、通常動作以外の動作時に
使用する内部モジュールにも線106を介して与える。
このテストクロックTCLKは、退避回復対象の内部モ
ジュールの全ての退避動作が完了するまで供給される。
The starting circuit 401 first outputs a request for generating a test clock to the clock switching control circuit 404 via the line 402. Clock switching control circuit 40
In response to this request, 4 supplies a request for generating a test clock to the clock generation circuit 104 via the line 105 until the standby operation is completed in all the internal modules for which the save operation is to be performed. The clock generation circuit 104
In response to this test clock generation request, the test clock TCLK is supplied to the control circuit 103 via the line 106, and the ferroelectric memory 110 and the path switch 11
2. An internal module, such as the BIST circuit 132, used during an operation other than the normal operation is also provided via the line 106.
The test clock TCLK is supplied until all save operations of the internal module to be saved and recovered are completed.

【0033】さらに、起動回路401は、ステートマシ
ン405に退避動作の開始を線403を通して指示す
る。ステートマシン405は、この退避動作の開始指示
に応答して、制御回路103内のいろいろの回路を制御
する。まず、モジュール指定回路407に退避動作のた
めのモジュールの選択を指示する。
Further, the activation circuit 401 instructs the state machine 405 to start the save operation via a line 403. The state machine 405 controls various circuits in the control circuit 103 in response to the instruction to start the save operation. First, the module designation circuit 407 is instructed to select a module for the save operation.

【0034】モジュール指定回路407は、この指示に
応答して、退避動作の対象とする内部モジュール、今の
例では、CPUコア114、キャッシュ122、RAM
127を予め定めた順に従って順次選択する。選択され
た内部モジュールでの退避動作が完了したときに、次の
内部モジュールを選択する。モジュール指定回路407
は、CPUコア114、キャッシュ122、RAM12
7を選択したときに、それぞれセレクト信号TSEL
1、TSEL2、TSEL3を線409、410、41
1に出力する。モジュール指定回路407は、それぞれ
の内部モジュールでの退避動作が完了するまで、それぞ
れの内部モジュールに対するセレクト信号を、それぞれ
の内部モジュール内の内部データの退避に必要な期間だ
け出力し続ける。
In response to this instruction, the module specifying circuit 407 responds to the instruction by an internal module to be subjected to the save operation, in this example, the CPU core 114, the cache 122, and the RAM.
127 are sequentially selected according to a predetermined order. When the save operation in the selected internal module is completed, the next internal module is selected. Module designation circuit 407
Are the CPU core 114, the cache 122, the RAM 12
7 are selected, the select signal TSEL
1, TSEL2, TSEL3 are connected to lines 409, 410, 41
Output to 1. The module specifying circuit 407 continues to output a select signal for each internal module for a period necessary for saving the internal data in each internal module until the save operation in each internal module is completed.

【0035】テストクロック供給回路420は、退避回
復動作の対象とする内部モジュールに対応する複数のA
NDゲート415A、415B、415Cを有し、これ
らのANDゲートには、クロック生成回路104が供給
するテストクロックTCLKと上記セレクト信号TSE
L1、TSEL2、TSEL3の一つが供給されてい
る。こうして、ANDゲート415A、415B、41
5Cは、それぞれに対応するCPUコア114、キャッ
シュ122、RAM127が選択されると、それぞれ線
136、137、138を介して、その対応する内部モ
ジュールにテストクロックTCLK1、TCLK2、T
CLK3を供給する。こうして、それぞれの内部モジュ
ールでの内部データの読み出しが順次起動される。
The test clock supply circuit 420 includes a plurality of As corresponding to internal modules to be subjected to the evacuation / recovery operation.
ND gates 415A, 415B, and 415C. These AND gates are connected to a test clock TCLK supplied by the clock generation circuit 104 and the select signal TSE.
One of L1, TSEL2, and TSEL3 is supplied. Thus, the AND gates 415A, 415B, 41
5C, when the corresponding CPU core 114, cache 122, and RAM 127 are selected, the test clocks TCLK1, TCLK2, and TCLK are supplied to the corresponding internal module via lines 136, 137, and 138, respectively.
CLK3. Thus, the reading of the internal data in each internal module is sequentially activated.

【0036】(2B)CPUコア114からのデータの
読み出し 図2を参照するに、CPUコア114は、通常動作状態
では、電源切り替え回路146から線149を介して通
常動作電源が供給され、クロック生成回路104から線
107を介して供給される通常動作クロックCLKに応
答して動作する。CPUコア114は、前述の退避動
作、回復動作、およびテスト動作の状態では、制御回路
103から線136を介して供給されるテストクロック
TCLK1に応答して動作する。
(2B) Reading of Data from CPU Core 114 Referring to FIG. 2, in the normal operation state, the CPU core 114 is supplied with the normal operation power from the power supply switching circuit 146 via the line 149 to generate the clock. It operates in response to a normal operation clock CLK supplied from circuit 104 via line 107. The CPU core 114 operates in response to the test clock TCLK1 supplied from the control circuit 103 via the line 136 in the above-described save operation, recovery operation, and test operation.

【0037】CPUコア114は、命令を解読する回
路、解読された命令を複数のパイプラインステージに分
けて実行する回路、その解読された命令が要求する演算
を実行するための複数の演算器あるいは命令で使用され
る複数のレジスタその他からなる複数の基本回路部分に
より構成されるが、これらの基本回路部分の大部分は、
順序回路により構成される。
The CPU core 114 includes a circuit for decoding an instruction, a circuit for executing the decoded instruction by dividing it into a plurality of pipeline stages, a plurality of arithmetic units for executing an operation required by the decoded instruction, or It is composed of a plurality of basic circuit parts consisting of a plurality of registers and the like used in the instruction, and most of these basic circuit parts are
It is composed of a sequential circuit.

【0038】上記CPUコア114は、通常動作時に
は、バス126および133を介してそれぞれ、キャッ
シュ122、RAM127からの読み出しデータDO2
またはDO3を受け取り、このデータを適当な一つの基
本単位回路に入力する。その基本単位回路の出力が、C
PUコア114からの出力データDI2またはDI3と
してそれぞれキャッシュ122またはRAM127にバ
ス118または119を介して供給される。CPUコア
114へ入力されたデータを供給する基本単位回路の選
択とあるいはCPUコア114から出力すべきデータを
供給すべき基本単位回路の選択は、図示しないスイッチ
により行われる。
During normal operation, the CPU core 114 reads data DO2 from the cache 122 and the RAM 127 via the buses 126 and 133, respectively.
Alternatively, DO3 is received, and this data is input to one appropriate basic unit circuit. The output of the basic unit circuit is C
The output data DI2 or DI3 from the PU core 114 is supplied to the cache 122 or the RAM 127 via the bus 118 or 119, respectively. Selection of a basic unit circuit for supplying data input to the CPU core 114 or selection of a basic unit circuit for supplying data to be output from the CPU core 114 is performed by a switch (not shown).

【0039】本実施の形態では、各基本回路部分の順序
回路は、記憶素子である複数のフリップフロップ(F
F)と、複数の組み合わせ回路により実現される。図で
は、CPUコア114内の複数の基本回路部分に含まれ
るL個(Lは複数)の順序回路の内部構造として、この
様に接続された複数のフリップフロップ(FF)205
と、複数の組み合わせ回路208を模式的に示す。
In the present embodiment, the sequential circuit of each basic circuit portion includes a plurality of flip-flops (F
F) and a plurality of combinational circuits. In the figure, a plurality of flip-flops (FF) 205 connected in this manner are used as an internal structure of L (L is a plurality) sequential circuits included in a plurality of basic circuit portions in the CPU core 114.
And a plurality of combination circuits 208 are schematically shown.

【0040】以下では、簡単化のために、各順序回路の
フリップフロップ群がM×M個のフリップフロップから
なり、各フリップフロップ群をM行、M列に配置する。
ここでMは、各順序回路に供給されるデータのビット数
に等しく、本実施の形態では、CPUコア114のバス
113、123のデータ幅に等しい。従って、同じ列の
M個のフリップフロップが同じデータのMビットの一つ
を保持する。さらに、列数Mはこの順序回路で実行され
る論理演算の段数を表すことになる。従って、通常動作
時には、この順序回路には、図の最も左列のM個のFF
にMビットのデータが供給され、図の最も右列のM個の
FFからMビットのデータが出力されることを示す。
In the following, for simplicity, the flip-flop group of each sequential circuit is composed of M × M flip-flops, and each flip-flop group is arranged in M rows and M columns.
Here, M is equal to the number of bits of data supplied to each sequential circuit, and is equal to the data width of the buses 113 and 123 of the CPU core 114 in the present embodiment. Therefore, the M flip-flops in the same column hold one of the M bits of the same data. Further, the number of columns M indicates the number of stages of the logical operation executed in this sequential circuit. Therefore, during normal operation, this sequential circuit includes M FFs in the leftmost column in the figure.
Shows that M-bit data is supplied and M-bit data is output from the M FFs in the rightmost column of FIG.

【0041】さらに、各順序回路のフリップフロップ群
の最下段の行のフリップフロップが次ぎの順序回路の最
上の行のフリップフロップに接続する。これにより、全
順序回路のフリップフロップ群が、総数N×M(但し、
N=L×M)個のフリップフロップからなると仮定す
る。最初の順序回路の第1行のM個のフリップフロップ
の退避回復動作時の入力線203は入力バッファ201
からデータを受け取るように接続され、最終の順序回路
の最下行のM個のフリップフロップの退避動作用の出力
線206は出力バッファ211にデータを供給するよう
に接続される。
Further, the flip-flop in the lowermost row of the flip-flop group of each sequential circuit is connected to the flip-flop in the uppermost row of the next sequential circuit. Thereby, the flip-flop group of the all-sequence circuit has the total number N × M (however,
Assume that N = L × M) flip-flops. The input line 203 during the save / recovery operation of the M flip-flops in the first row of the first sequential circuit is connected to the input buffer 201.
, And the output line 206 for the save operation of the M flip-flops in the bottom row of the final sequential circuit is connected to supply data to the output buffer 211.

【0042】ここで、各フリップフロップには、それら
のフリップフロップが属する行のアドレスiと列のアド
レスjとをそのフリップフロッピに割り当て、そのフリ
ップフロップをFF[i、j]と表し、そのフリップフ
ロップの通常出力側に接続された組み合わせ論理回路を
C[i、j]と表す。
Here, for each flip-flop, the address i of the row to which the flip-flop belongs and the address j of the column are assigned to the flip-flop, and the flip-flop is represented as FF [i, j]. The combinational logic circuit connected to the normal output side of the loop is denoted by C [i, j].

【0043】各フリップフロップは、4入力2出力を有
し、スキャンラッチを構成する。各FF[i、j]に
は、通常動作クロックCLKとテストクロックTCLK
1との一方がそれぞれ線107または136を介して供
給される。
Each flip-flop has four inputs and two outputs and constitutes a scan latch. Each FF [i, j] has a normal operation clock CLK and a test clock TCLK
One is supplied via line 107 or 136, respectively.

【0044】通常動作時には、同じ行アドレスiを有す
るM個のフリップフロップが一つのシフトレジスタを構
成するように動作する。すなわち、各FF[i、j]
は、そこに通常動作クロックCLKが供給された場合に
は、入力204を取り込み、各FF[i、j]の出力2
07は、そのFF[i、j]に接続された出力側の組み
合わせ論理回路C[i、j]に供給され、その組み合わ
せ論理回路C[i、j]の出力は次のFF[i、j+
1]に供給される。なお、各行の先頭のフリップフロッ
プFF[i、1]の入力は、CPUコア114にバス1
26または133から図示しないスイッチを介して入力
されるデータの1ビットである。各行の最後のフリップ
フロップFF[i、M]の出力は、図示しないスイッチ
回路を介してバス118または119に供給される。こ
うして、通常動作時には、CPUコア114内の多数の
フリップフロップ205と多数の組み合わせ論理回路2
08は、バス126または133から供給されたデータ
に対してCPUコア114が実行すべき処理の一つを施
し、その結果データを出力する。
In normal operation, M flip-flops having the same row address i operate so as to constitute one shift register. That is, each FF [i, j]
Captures the input 204 and outputs the output 2 of each FF [i, j] when the normal operation clock CLK is supplied thereto.
07 is supplied to the combinational logic circuit C [i, j] on the output side connected to the FF [i, j], and the output of the combinational logic circuit C [i, j] is supplied to the next FF [i, j +
1]. The input of the flip-flop FF [i, 1] at the head of each row is supplied to the CPU core 114 via the bus 1
This is one bit of data input from the switch 26 or 133 via a switch (not shown). The output of the last flip-flop FF [i, M] in each row is supplied to the bus 118 or 119 via a switch circuit (not shown). Thus, during normal operation, a number of flip-flops 205 in the CPU core 114 and a number of combinational logic circuits 2
08 performs one of the processes to be executed by the CPU core 114 on the data supplied from the bus 126 or 133, and outputs the result data.

【0045】なお、いずれかの順序回路のフリップフロ
ップの段数が、データ幅Mより大きいときには、その順
序回路を構成するフリップフロップ群をそれぞれM段以
下の段数を有する複数の部分フリップフロップ群に分
け、それらの複数の部分フリップフロップ群の各群の退
避回復用の入力線203、206を他のフリップフロッ
プ群に接続するときには、その部分フリップフロップ群
をそれらの部分フリップフロップ群の一つまたは他の順
序回路のフリップフロップ群に図2のM列の行列を形成
するように接続すればよい。また、いずれかの順序回路
のフリップフロップの段数が、データ幅Mより小さいと
きには、そのフリップフロップ群の退避回復用の入力線
203、206を他のフリップフロップ群に接続すると
きには、図2のM列の号列を形成するように、M段より
不足する段数のフリップフロップを介してそのフリップ
フロップ群に付加し、それらの付加したフリップフロッ
プを当該他のフリップフロップ群に接続すればよい。
When the number of flip-flops in any one of the sequential circuits is larger than the data width M, the flip-flop group forming the sequential circuit is divided into a plurality of partial flip-flop groups each having M or less stages. When connecting the input / output lines 203 and 206 for evacuation and recovery of each of the plurality of partial flip-flop groups to another flip-flop group, the partial flip-flop group is connected to one or other of the partial flip-flop groups. May be connected to form a matrix of M columns in FIG. Further, when the number of flip-flops in any one of the sequential circuits is smaller than the data width M, when the input / output lines 203 and 206 for save / recovery of the flip-flop group are connected to another flip-flop group, M in FIG. What is necessary is just to add to the flip-flop group via flip-flops of the number of stages less than M stages so as to form a row of columns, and connect the added flip-flop to the other flip-flop group.

【0046】以上の説明から分かるように、CPUコア
114内の順序回路はCPUコアで実行中の一つ又は複
数の命令に関連する情報を含んでいる。省電力のために
CPUコア114の動作を中断し、待機状態に遷移さ
せ、電源供給を遮断した後CPUコア114の動作を再
開するという方法を採る場合、CPUコア114の内部
状態を、待機状態に遷移する直前のCPUコア114の
内部状態に復元することが出来れば、使用者は中断時点
のプログラム実行状態からマイクロプロセッサを引き続
き使用できる。しかし、これらの順序回路を構成するフ
リップフロップは揮発性であり、電源電圧がこのCPU
コア114に供給されなくなると、これらのフリップフ
ロップに保持されたこれらの情報は消滅してしまう。こ
のための、本実施の態様では、CPUコア114に対す
る電源遮断の前に、CPUコア114内の複数の順序回
路のフリップフロップに保持された内部データを退避
し、後にそれらを回復するようにしている。この退避を
実現するために、以下に説明するように、通常状態から
待機状態への遷移時には、これらのフリップフロップに
保持された内部データをスキャンアウトして退避し、通
常状態から待機状態への遷移時には、これらの退避され
た内部データをこれらのフリップフロップにスキャンイ
ンするスキャン回路を使用する。
As can be seen from the above description, the sequential circuit in the CPU core 114 contains information relating to one or more instructions being executed by the CPU core. In the case where the operation of the CPU core 114 is interrupted for power saving, the operation is shifted to the standby state, and the operation of the CPU core 114 is restarted after the power supply is cut off, the internal state of the CPU core 114 is changed to the standby state. Can be restored to the internal state of the CPU core 114 immediately before the transition to the state, the user can continue to use the microprocessor from the program execution state at the time of interruption. However, the flip-flops constituting these sequential circuits are volatile, and the power supply voltage is
When the information is no longer supplied to the core 114, the information held in these flip-flops disappears. For this purpose, in the present embodiment, before shutting off the power to the CPU core 114, the internal data held in the flip-flops of the plurality of sequential circuits in the CPU core 114 are saved, and the data is restored later. I have. In order to realize this saving, as described below, at the time of transition from the normal state to the standby state, the internal data held in these flip-flops are scanned out and saved, and the normal state is changed to the standby state. At the time of transition, a scan circuit that scans these saved internal data into these flip-flops is used.

【0047】テストクロックTCLK1が各フリップフ
ロップに供給されたときには、同じ列アドレスjを有す
るN個のフリップフロップが一つのシフトレジスタを構
成するように動作する。すなわち、各FF[i、j]
は、そこにテストクロックTCLK1が供給された場合
には、テスト入力203を取り込み、各FF[i、j]
の出力206は、そのFF[i、j]に接続された出力
側のFF[i+1、j]に供給される。出力バッファ2
11へはFF[N、1]からFF[N、M]のそれぞれ
の出力信号206がテストクロック106に同期して並
列に格納される。つまりテストクロックでの動作が開始
すると {FF[N、1]、 FF[N、2]、 ‥‥‥‥、FF[N、M]} {FF[N−1、1]、FF[N−1、2]、‥‥‥‥、FF[N−1、M]} {FF[N−2、1]、FF[N−2、2]、‥‥‥‥、FF[N−2、M]} : : {FF[1、1]、 FF[1、2]、 ‥‥‥‥、FF[1、M]} の順に出力バッファ211を通してデータバス123へ
全フリップフロップの内容が読み出される。なお、以上
に述べた内部データの読み出し動作は、CPUコア11
4のテスト動作の時にも使用される。
When the test clock TCLK1 is supplied to each flip-flop, the N flip-flops having the same column address j operate so as to constitute one shift register. That is, each FF [i, j]
Captures the test input 203 when the test clock TCLK1 is supplied thereto, and outputs each FF [i, j].
Is supplied to the output FF [i + 1, j] connected to the FF [i, j]. Output buffer 2
11, the output signals 206 of the FFs [N, 1] to FF [N, M] are stored in parallel in synchronization with the test clock 106. That is, when the operation with the test clock starts, {FF [N, 1], FF [N, 2], ‥‥‥‥, FF [N, M]} {FF [N-1, 1], FF [N- 1,2], ‥‥‥‥, FF [N-1, M]} {FF [N-2, 1], FF [N-2, 2], ‥‥‥‥, FF [N-2, M ]:: The contents of all flip-flops are read out to the data bus 123 through the output buffer 211 in the order of {FF [1,1], FF [1,2], {, FF [1, M]}. The above-described operation of reading the internal data is performed by the CPU core 11.
4 is also used in the test operation.

【0048】後に説明する回復動作の時には、CPUコ
ア114内の全順序回路から退避された複数の内部デー
タがそれぞれのデータの退避順にバス113を介して入
力バッファ201に供給され、それらの順序回路内の全
フリップフロップへ順次転送され、結果として、それぞ
れのフリップフロップから退避されたデータがそれぞれ
のフリップフロップに回復される。すなわち、上記退避
動作時には、CPUコア114内の各順序回路のフリッ
プフロップのデータが順次出力バッファ211にスキャ
ンアウトされ、さらにデータバス123、パススイッチ
112を介して強誘電体メモリ140へ退避される。な
お、以上に述べた内部データの読み出し動作は、CPU
コア114のテスト動作の時にも使用される。
At the time of the recovery operation described later, a plurality of internal data saved from all the sequential circuits in the CPU core 114 are supplied to the input buffer 201 via the bus 113 in the order in which the respective data are saved. Are sequentially transferred to all the flip-flops within, and as a result, the data saved from each flip-flop is restored to each flip-flop. That is, at the time of the saving operation, the data of the flip-flop of each sequential circuit in the CPU core 114 is sequentially scanned out to the output buffer 211 and further saved to the ferroelectric memory 140 via the data bus 123 and the path switch 112. . Note that the above-described internal data read operation is performed by the CPU.
It is also used during the test operation of the core 114.

【0049】以上から分かるように、本実施の形態で
は、CPUコア114内の複数の順序回路内の複数のフ
リップフロップを相互に接続する信号線203、206
および制御回路103内の、これらのフリップフロップ
にテストクロックTCLKを供給するクロック供給回路
420その他の回路は、これらのフリップフロップが保
持するデータを順次スキャンアウトし、あるいは、それ
らのフリップフロップにデータを順次スキャンインする
スキャン回路を実現し、その回路を使用してこれらのフ
リップフロップの内部データを退避回復していることに
なる。
As can be seen from the above description, in the present embodiment, the signal lines 203 and 206 interconnecting a plurality of flip-flops in a plurality of sequential circuits in the CPU core 114.
The clock supply circuit 420 and other circuits in the control circuit 103 that supply the test clock TCLK to these flip-flops sequentially scan out the data held by these flip-flops, or send the data to these flip-flops. This means that a scan circuit for sequentially scanning in is realized, and the internal data of these flip-flops are saved and recovered using the circuit.

【0050】後にテスト動作に関して説明するように、
このCPUコアのテスト動作時には、このスキャン回路
を共用してテスト動作に必要なスキャンアウト動作を実
現するように制御回路を付加することになる。従って、
本実施の形態では、この退避および回復のためのスキャ
ン回路の主要部をテスト用のスキャン回路と共用するよ
うに構成していることになる。このことにより、CPU
コア114のようなランダムモジュールの内部データの
退避および回復を実現する回路を簡単化している。
As will be described later with respect to the test operation,
During the test operation of the CPU core, a control circuit is added so as to realize the scan-out operation required for the test operation by sharing the scan circuit. Therefore,
In the present embodiment, the main part of the scan circuit for saving and restoring is shared with the test scan circuit. This allows the CPU
The circuit for saving and restoring the internal data of the random module such as the core 114 is simplified.

【0051】(2C)強誘電体メモリ110への内部デ
ータの書き込み CPUコア114から内部データが、バス123に読み
出されると、パススイッチ112内のマルチプレクサ1
30は、バス123を選択する。バス123上の内部デ
ータは出力レジスタ129に格納された後、データバス
128を通して強誘電体メモリ110内の内部バス14
2へ転送され、さらに強誘電体メモリセルアレー140
に順次書き込まれる。
(2C) Writing of Internal Data to the Ferroelectric Memory 110 When the internal data is read from the CPU core 114 to the bus 123, the multiplexer 1 in the path switch 112
30 selects the bus 123. After the internal data on the bus 123 is stored in the output register 129, the internal bus 14 in the ferroelectric memory 110 is passed through the data bus 128.
2 and further transferred to the ferroelectric memory cell array 140.
Are written sequentially.

【0052】このときのパススイッチ112の動作は、
制御回路103により制御される。すなわち、制御回路
103では、モジュール指定回路407が先に出力した
セレクト信号TSEL1、TSEL2またはTSEL3
(今の例ではセレクト信号TSEL1)を線111を介
して、マルチプレクサ130に出力し、バス123、1
26、133の内のそのセレクト信号で指示される一つ
のバス(今の例ではバス123)を選択させる。さら
に、ステートマシン405は、上記起動回路401から
の待機状態への遷移指示に応答して、かつ、退避動作中
の内部モジュール(今の例ではCPUコア114)から
の最初の内部データがマルチプレクサ130を介して出
力レジスタ129に供給されるタイミングに同期して、
レジスタ更新制御回路414を線408を介して退避動
作のために起動する。この回路414は、退避動作のた
めに起動されると、マルチプレクサ130により選択さ
れたバス上の内部データの取り込みを指示するセット信
号をテストクロックTCLKに同期して繰り返し生成
し、線416を介して出力レジスタ129に供給する。
出力レジスタ129はこのセット信号に応答して、マル
チプレクサ130から順次供給される内部データを順次
取り込み、バス128を介して強誘電体メモリ110の
内部バス142に供給する。
The operation of the path switch 112 at this time is as follows.
It is controlled by the control circuit 103. That is, in the control circuit 103, the select signals TSEL1, TSEL2, or TSEL3 output earlier by the module designating circuit 407 are output.
(In this example, the select signal TSEL1) is output to the multiplexer 130 via the line 111, and the buses 123, 1
One of the buses 26 and 133 (in this example, the bus 123) designated by the select signal is selected. Further, the state machine 405 responds to the transition instruction from the start-up circuit 401 to the standby state, and outputs the first internal data from the internal module (in this example, the CPU core 114) during the evacuation operation to the multiplexer 130. In synchronization with the timing supplied to the output register 129 via
Register update control circuit 414 is activated via line 408 for a save operation. When activated for the save operation, the circuit 414 repeatedly generates a set signal instructing to take in the internal data on the bus selected by the multiplexer 130 in synchronization with the test clock TCLK. It is supplied to the output register 129.
In response to the set signal, the output register 129 sequentially takes in the internal data sequentially supplied from the multiplexer 130 and supplies the data to the internal bus 142 of the ferroelectric memory 110 via the bus 128.

【0053】強誘電体メモリ110は出力レジスタ12
9からの内部バス142に供給された内部データを内部
バス141を介して強誘電体メモリセルアレー140に
順次書き込む。この書き込みは、制御回路103により
制御される。すなわち、制御回路103内のステートマ
シーン405は、起動回路401からの上記待機動作の
開始指示に応答して、かつ、退避すべき最初の内部デー
タが強誘電体メモリ110内の内部バス142に供給さ
れるタイミングに同期して、強誘電体メモリ制御回路4
13とアドレス生成回路412を線408を介して書き
込み動作のために起動する。強誘電体メモリ制御回路4
13は、書き込み動作のために起動されると、書き込み
信号をテストクロックTCLKに同期して繰り返し発生
し、線109を介して強誘電体メモリ110に供給す
る。アドレス生成回路412は、書き込み動作のために
起動されると、強誘電体メモリセルアレー140内の先
頭位置からは始まり、あらかじめ定めた大きさを有する
連続する退避領域のアドレスをテストクロックTCLK
に同期して順次発生し、線139を介して強誘電体メモ
リセルアレー140に供給する。この退避領域の大きさ
は、各内部モジュールごとに、その内部モジュールから
退避すべき全内部データの量に依存してあらかじめ定め
られる。強誘電体メモリ制御回路413とアドレス生成
回路412は、これらの書き込み信号と書き込みアドレ
スを、退避すべき後続の内部データの各々が強誘電体メ
モリセルアレー140に供給されるのに同期して生成す
る。
The ferroelectric memory 110 has the output register 12
9 is sequentially written to the ferroelectric memory cell array 140 via the internal bus 141. This writing is controlled by the control circuit 103. That is, the state machine 405 in the control circuit 103 supplies the first internal data to be saved to the internal bus 142 in the ferroelectric memory 110 in response to the start instruction of the standby operation from the start circuit 401. The ferroelectric memory control circuit 4
13 and the address generation circuit 412 are activated via line 408 for a write operation. Ferroelectric memory control circuit 4
When activated for the write operation, the write signal 13 repeatedly generates a write signal in synchronization with the test clock TCLK, and supplies the write signal to the ferroelectric memory 110 via the line 109. When activated for a write operation, the address generation circuit 412 starts from a head position in the ferroelectric memory cell array 140 and outputs an address of a continuous save area having a predetermined size to the test clock TCLK.
And is supplied to the ferroelectric memory cell array 140 via the line 139. The size of the save area is determined in advance for each internal module depending on the amount of all internal data to be saved from the internal module. The ferroelectric memory control circuit 413 and the address generation circuit 412 generate these write signals and write addresses in synchronization with the subsequent internal data to be saved being supplied to the ferroelectric memory cell array 140. I do.

【0054】(2D)キャッシュ122の内部データの
退避 キャッシュ122は、キャッシュされている複数のデー
タを保持するメモリおよびそれぞれのデータを検索する
ためのデータを保持するメモリを有する。上記のように
してCPUコア114に対する退避動作が終了した後、
キャッシュ122のこれらのデータが退避が行われる。
すなわち、制御回路103では、上記CPUコア114
の内部データの退避が完了した時点で、モジュール指定
回路407がキャッシュ122のセレクト信号TSEL
2を出力し、テストクロック供給回路409は、キャッ
シュ122に対してテストクロックTCLK2を供給す
る。キャッシュ122に対してテストクロックTCLK
2が供給され始めるタイミング同期して、ステートマシ
ーン405は、マクロモジュール制御回路406を起動
する。この回路406は、キャッシュ122内の上記内
部データを保持するメモリのアドレスを順次発生し、線
144を介してキャッシュ122に供給する。さらに、
読み出し要求を繰り返し発生し、線135を介してキャ
ッシュ122に供給する。こうして、キャッシュ122
内の内部データがバス126に読み出され、CPUコア
114の内部データと同様にして強誘電体メモリ110
に退避される。なお、この退避動作のために必要なキャ
ッシュ122の内部構造は、次に説明するRAM127
の、退避動作のために必要な内部構造と同じであるの
で、その詳細な説明は省略する。
(2D) Saving of Internal Data of Cache 122 The cache 122 has a memory for holding a plurality of cached data and a memory for holding data for searching each data. After the saving operation for the CPU core 114 is completed as described above,
These data in the cache 122 are saved.
That is, in the control circuit 103, the CPU core 114
When the saving of the internal data of the cache 122 is completed, the module designating circuit 407
2 and the test clock supply circuit 409 supplies the test clock TCLK2 to the cache 122. Test clock TCLK for cache 122
The state machine 405 activates the macro module control circuit 406 in synchronism with the timing at which the 2 starts to be supplied. This circuit 406 sequentially generates the address of the memory holding the internal data in the cache 122 and supplies the address to the cache 122 via the line 144. further,
A read request is repeatedly generated and supplied to the cache 122 via the line 135. Thus, the cache 122
Is read to the bus 126, and the ferroelectric memory 110 is read in the same manner as the internal data of the CPU core 114.
Evacuated to The internal structure of the cache 122 required for this save operation is the RAM 127 described below.
Since it is the same as the internal structure necessary for the retreat operation, its detailed description is omitted.

【0055】(2E)RAM127の内部データの退避 上記のようにしてキャッシュ122に対する退避動作が
終了した後、RAM127に対する退避動作が、キャッ
シュ122の場合と同様に行われる。
(2E) Saving the Internal Data in the RAM 127 After the saving operation for the cache 122 is completed as described above, the saving operation for the RAM 127 is performed in the same manner as in the case of the cache 122.

【0056】図3を参照するに、RAM127は、メモ
リセルアレー303と、これに対するデータの読み書き
を行うための入力バッファ301と、アドレスラッチ3
04と、出力バッファ306とを有する。ORゲート3
07、308、309の各々には、通常動作時にクロッ
ク生成回路104から線107を介して通常動作クロッ
クCLKが供給され、退避動作時、回復動作時あるいは
テスト動作等の通常動作以外の時に、制御回路103か
ら線106を介してテストクロックTCLK3が供給さ
れる。アドレスラッチ304には、通常動作時以外の時
に、制御回路103から、アクセスすべきアドレス14
4が与えられる。制御回路103からは、さらに、読み
出し要求または書き込み要求が線135を介して与えら
れる。
Referring to FIG. 3, the RAM 127 includes a memory cell array 303, an input buffer 301 for reading and writing data from and to the memory cell array 303, and an address latch 3
04 and an output buffer 306. OR gate 3
The normal operation clock CLK is supplied from the clock generation circuit 104 via the line 107 during normal operation to each of the devices 07, 308, and 309, and is controlled during normal operation such as save operation, recovery operation, or test operation. The test clock TCLK3 is supplied from the circuit 103 via the line 106. The address latch 304 stores an address 14 to be accessed from the control circuit 103 at times other than the normal operation.
4 is given. The control circuit 103 further provides a read request or a write request via a line 135.

【0057】アドレスラッチ304は、制御回路103
から与えられるテストクロックTCLK3に同期して、
制御回路103から与えられるメモリセル指定アドレス
144を保持する。メモリセルアレー303は、制御回
路103から線135を介して与えられる要求が書き込
み要求であるとき、入力バッファ301に取り込まれた
データをアドレスラッチ304が示すアドレス位置に書
き込む。そうでないときには、アドレスラッチ304が
示すアドレス位置にすでに書き込まれたデータを読み出
す。
The address latch 304 is connected to the control circuit 103
In synchronization with the test clock TCLK3 given by
A memory cell designation address 144 given from the control circuit 103 is held. When the request given from the control circuit 103 via the line 135 is a write request, the memory cell array 303 writes the data fetched into the input buffer 301 into the address position indicated by the address latch 304. Otherwise, the data already written at the address position indicated by the address latch 304 is read.

【0058】出力バッファ306は、制御回路103か
ら与えられるマクロモジュール制御信号135が読み出
しを指示するとき、メモリセルアレー303から読み出
されたデータを、ORゲート309に入力されるテスト
クロックTCLK3か通常動作クロックCLKに同期し
て取り込み、バス133に出力する。入力バッファ30
1は、ORゲート307に入力されるテストクロックT
CLK3に同期して、データバス119上のデータを保
持する。
When the macro module control signal 135 supplied from the control circuit 103 indicates a read operation, the output buffer 306 outputs the data read from the memory cell array 303 to the test clock TCLK3 input to the OR gate 309 or to the normal mode. The data is captured in synchronization with the operation clock CLK and output to the bus 133. Input buffer 30
1 is the test clock T input to the OR gate 307
The data on the data bus 119 is held in synchronization with CLK3.

【0059】従って、待機動作の時には、メモリセルア
レー303に記憶されたデータがバス133に順次読み
出される。これらのデータは、すでに述べた方法で、強
誘電体メモリ110に退避される。なお、後に述べる回
復動作の時には、メモリセルアレー303は、バス11
9、入力バッファ301を介して供給されるデータをア
ドレスラッチ304が示すアドレスに順次記憶する。
Therefore, during the standby operation, data stored in the memory cell array 303 is sequentially read out to the bus 133. These data are saved in the ferroelectric memory 110 by the method already described. At the time of the recovery operation described later, the memory cell array 303
9. The data supplied via the input buffer 301 is sequentially stored at the address indicated by the address latch 304.

【0060】(2F)電源供給の遮断、テストクロック
の供給中止 制御回路103では、ステートマシーン405は、起動
回路401からの上記退避動作開始指示に応答して、か
つ、退避対象の複数の内部モジュールに対する退避動作
が完了した時点で、電源制御回路421を退避動作のた
めに線408を介して起動する。電源制御回路421
は、退避動作のために起動されると、電源切り替え回路
146に電源電圧の変更を線145を介して要求する。
電源切り替え回路146は、この線145による電源変
更要求に従って待機時用の電源148(これは接地電位
に等しい)を選択し、結局、CPUコア114、キャッ
シュ122、RAM127、パススイッチ112、強誘
電体メモリ110、BIST回路131への電源供給を
停止する。これによりこれらのモジュールにおける待機
時のリーク電流を抑えることができる。なお、制御回路
103とクロック生成回路104へは常に通常動作用の
電源が供給されている。
(2F) Power supply cutoff, test clock supply stop In the control circuit 103, the state machine 405 responds to the above-mentioned save operation start instruction from the start-up circuit 401 and generates a plurality of internal modules to be saved. Upon completion of the save operation, the power supply control circuit 421 is activated via the line 408 for the save operation. Power control circuit 421
Requests the power supply switching circuit 146 to change the power supply voltage via the line 145 when activated for the save operation.
The power supply switching circuit 146 selects the standby power supply 148 (which is equal to the ground potential) according to the power supply change request by the line 145, and eventually, the CPU core 114, the cache 122, the RAM 127, the path switch 112, and the ferroelectric substance. The power supply to the memory 110 and the BIST circuit 131 is stopped. As a result, it is possible to suppress the leakage current during standby in these modules. Note that power for normal operation is always supplied to the control circuit 103 and the clock generation circuit 104.

【0061】ステートマシーン405は、必要な内部デ
ータの全ての退避が完了すると、起動回路401に退避
完了を通知し、起動回路401は、この通知を受ける
と、クロック切り替え制御回路404に退避動作の完了
を通知し、このクロック切り替え制御回路404は、ク
ロック生成回路104にテストクロックの生成の終了を
要求する。こうして、テストクロックも生成されなくな
る。以上のようにして、待機動作が終了する。
When all the necessary internal data have been saved, the state machine 405 notifies the start circuit 401 of the completion of the save. When the start circuit 401 receives this notification, the clock switching control circuit 404 performs the save operation. Notifying the completion, the clock switching control circuit 404 requests the clock generation circuit 104 to end the generation of the test clock. Thus, no test clock is generated. The standby operation ends as described above.

【0062】(3)内部データの回復 (3A)電源供給の再開と回復動作の起動 図示しない他のプロセッサから線102を介して制御回
路103に起動信号STARTが与えられると、起動回
路401は、通常状態への遷移動作(回復動作)を起動
する。このときの制御回路103の動作は、退避動作と
類似であるので、以下では、退避動作と異なる点を簡単
に説明するに止める。図7には、この回復動作に関係す
るいくつかの信号のタイミングチャートを示す。
(3) Recovery of Internal Data (3A) Restart of Power Supply and Activation of Recovery Operation When a start signal START is supplied from another processor (not shown) to the control circuit 103 via the line 102, the start circuit 401 Activate the transition operation (recovery operation) to the normal state. Since the operation of the control circuit 103 at this time is similar to the retreat operation, only the points different from the retreat operation will be briefly described below. FIG. 7 shows a timing chart of some signals related to the recovery operation.

【0063】起動回路401は、先ず、退避動作の時と
同様にしてクロック切り替え制御回路404に、テスト
クロックの生成を要求し、さらに、起動回路401は、
ステートマシン405に回復動作の開始を線403を通
して指示する。ステートマシン405は、この回復動作
の開始指示に応答して、制御回路103内のいろいろの
回路を制御する。
The activation circuit 401 first requests the clock switching control circuit 404 to generate a test clock in the same manner as in the save operation, and further, the activation circuit 401
The start of the recovery operation is instructed to the state machine 405 through the line 403. The state machine 405 controls various circuits in the control circuit 103 in response to the instruction to start the recovery operation.

【0064】ステートマシーン405は、上記回復動作
の開始指示に応答して、電源制御回路421を回復動作
のために線408を介して起動する。電源制御回路42
1は、回復動作のために起動されると、電源切り替え回
路146に電源電圧の変更要求PWRを線145を介し
て要求する。電源切り替え回路146は、この線145
による電源変更要求PWRに従って通常動作用の電源1
47を選択し、結局、CPUコア114、キャッシュ1
22、RAM127、パススイッチ112、強誘電体メ
モリ110、BIST回路131への電源供給を再開す
る。
The state machine 405 activates the power supply control circuit 421 via the line 408 for the recovery operation in response to the instruction to start the recovery operation. Power supply control circuit 42
When activated for the recovery operation, 1 requests the power supply switching circuit 146 for a power supply voltage change request PWR via the line 145. The power supply switching circuit 146 is connected to this line 145
Power supply 1 for normal operation according to power supply change request PWR
47, and eventually, the CPU core 114, the cache 1
22, the power supply to the RAM 127, the path switch 112, the ferroelectric memory 110, and the BIST circuit 131 is restarted.

【0065】さらに、モジュール指定回路407に回復
動作のためのモジュールの選択を指示する。このときの
回路407の動作は、退避動作の時と同じであり、テス
トクロック供給回路420によりテストクロックTCL
K1からTCLK3が順次出力されることになる。
Further, it instructs module specifying circuit 407 to select a module for the recovery operation. The operation of the circuit 407 at this time is the same as that at the time of the save operation, and the test clock supply circuit 420
TCLK3 is sequentially output from K1.

【0066】(3B)強誘電体メモリ110からの退避
データの読み出し ステートマシーン405は、起動回路401からの上記
回復動作の開始指示に応答して、強誘電体メモリ制御回
路413とアドレス生成回路412を線408を介して
読み出し動作のために起動する。強誘電体メモリ制御回
路413は、読み出し動作のために起動されると、読み
出し信号をテストクロックTCLKに同期して繰り返し
発生し、線109を介して強誘電体メモリ110に供給
する。アドレス生成回路412は、読み出し動作のため
に起動されると、書き込み動作のために起動された場合
と同じく、強誘電体メモリセルアレー140内の前述し
た退避領域のアドレスをテストクロックTCLKに同期
して順次発生し、線139を介して強誘電体メモリセル
アレー140に供給する。こうして、強誘電体メモリセ
ルアレー140に退避された内部データがそれぞれのデ
ータの退避順と同じ順序で順次読み出され、内部バス1
41、142、117を介してパススイッチ112内の
入力レジスタ115に読み出される。
(3B) Reading of Saved Data from Ferroelectric Memory 110 The state machine 405 responds to the start instruction of the recovery operation from the start-up circuit 401 and the ferroelectric memory control circuit 413 and the address generation circuit 412. Is activated for a read operation via line 408. When activated for the read operation, the ferroelectric memory control circuit 413 repeatedly generates a read signal in synchronization with the test clock TCLK and supplies the read signal to the ferroelectric memory 110 via the line 109. When activated for the read operation, the address generation circuit 412 synchronizes the address of the above-described save area in the ferroelectric memory cell array 140 with the test clock TCLK, similarly to the case where the address generation circuit 412 is activated for the write operation. And supplied to the ferroelectric memory cell array 140 via line 139. In this way, the internal data saved in the ferroelectric memory cell array 140 is sequentially read in the same order as the saving order of each data, and the internal bus 1
The data is read out to the input register 115 in the path switch 112 via 41, 142 and 117.

【0067】(3B)CPUコア114、キャッシュ1
22、RAM127への退避データの書き込み 回復動作時のパススイッチ112の動作は、制御回路1
03により制御される。退避動作のときと異なり、制御
回路103では、ステートマシン405は、上記起動回
路401からの回復動作の開始指示に応答して、かつ、
強誘電体メモリ110からの最初の退避データが入力レ
ジスタ115に供給されるタイミングに同期して、レジ
スタ更新制御回路414を線408を介して回復動作の
ために起動する。この回路414は、バス117上の退
避データの取り込みを指示するセット信号をテストクロ
ックTCLKに同期して繰り返し生成し、線416を介
して入力レジスタ115に供給する。入力レジスタ11
5はこのセット信号に応答して、バス117を介して順
次供給される退避データを順次取り込み、マルチプレク
サ116に供給する。モジュール指定回路407は、待
機動作の時と同様に、線111を介して出力するセレク
ト信号TSEL1、TSEL2またはTSEL3を生成
するが、それぞれの信号はマルチプレクサ116に与え
られる。マルチプレクサ116は、CPUコア114、
キャッシュ122、RAM127に接続されたバス11
3、118、119を線111から供給されているセレ
クト信号に応じて選択する。こうして、CPUコア11
4から退避された内部データが順次そこに供給され、そ
のなかの複数のフリップフロップに書き込まれる。こう
して、CPUコア114の内部データが回復される。従
って、CPUコア114の状態は、退避状態に遷移する
直前の状態となり、CPUコア114は、その状態から
動作を再開することが出来るようになる。
(3B) CPU core 114, cache 1
22, writing of save data to the RAM 127 The operation of the path switch 112 during the recovery operation is performed by the control circuit 1
03. Unlike the save operation, in the control circuit 103, the state machine 405 responds to the start instruction of the recovery operation from the activation circuit 401, and
In synchronization with the timing at which the first save data from the ferroelectric memory 110 is supplied to the input register 115, the register update control circuit 414 is activated via a line 408 for a recovery operation. This circuit 414 repeatedly generates a set signal for instructing the capture of the save data on the bus 117 in synchronization with the test clock TCLK, and supplies it to the input register 115 via the line 416. Input register 11
In response to the set signal, 5 sequentially fetches save data sequentially supplied via the bus 117 and supplies the data to the multiplexer 116. The module specifying circuit 407 generates select signals TSEL1, TSEL2, or TSEL3 output via the line 111 as in the case of the standby operation, and the respective signals are supplied to the multiplexer 116. The multiplexer 116 includes a CPU core 114,
The bus 11 connected to the cache 122 and the RAM 127
3, 118 and 119 are selected according to the select signal supplied from the line 111. Thus, the CPU core 11
The internal data saved from 4 is sequentially supplied to the internal data and written into a plurality of flip-flops. Thus, the internal data of the CPU core 114 is recovered. Accordingly, the state of the CPU core 114 becomes a state immediately before transition to the save state, and the CPU core 114 can resume the operation from that state.

【0068】その後、キャッシュ122から退避された
内部データが順次そこに供給され、そのなかのメモリに
書き込まれる。同様に、RAM127から退避された内
部データが順次そこに供給され、そのなかのメモリセル
アレー303(図3)に書き込まれる。キャッシュ12
2、RAM127への内部データの回復に当たっては、
制御回路103では、ステートマシン405が、マクロ
モジュール制御回路406を回復のために起動する。こ
の回路406は、回復のために起動されると、線135
を介して書き込み要求をキャッシュ122、RAM12
7へ供給する点で退避動作の時と異なる。
Thereafter, the internal data saved from the cache 122 is sequentially supplied to the internal data and written into the memory therein. Similarly, the internal data saved from the RAM 127 is sequentially supplied to the internal data and written into the memory cell array 303 (FIG. 3) therein. Cache 12
2. When recovering the internal data to the RAM 127,
In the control circuit 103, the state machine 405 activates the macro module control circuit 406 for recovery. This circuit 406, when activated for recovery,
Write request via the cache 122 and the RAM 12
7 is different from that during the evacuation operation.

【0069】(3C)通常クロックの供給再開 ステートマシーン405は、必要な内部データの全ての
回復が完了すると、起動回路401に回復完了を通知
し、起動回路401は、この通知を受けると、クロック
切り替え制御回路404に回復動作の完了を要求し、こ
のクロック切り替え制御回路404は、クロック生成回
路104にクロックの切り替えを要求する。クロック生
成回路104は、テストクロックの生成を止め、さら
に、線107を介してCPUコア114、キャッシュ1
22、RAM127へに通常クロックを供給し始める。
こうして、回復動作が終了する。
(3C) Resumption of Supply of Normal Clock When all the necessary internal data have been recovered, the state machine 405 notifies the start-up circuit 401 of the completion of the recovery. The switching control circuit 404 requests the completion of the recovery operation, and the clock switching control circuit 404 requests the clock generation circuit 104 to switch the clock. The clock generation circuit 104 stops the generation of the test clock, and furthermore, the CPU core 114 and the cache 1
22. Start supplying a normal clock to the RAM 127.
Thus, the recovery operation ends.

【0070】(4)テスト動作 故障検出はBIST回路132を用いて行う。図5を参
照するに、セルフテスト起動回路516は、図示しない
外部のプロセッサから起動信号143を受けると、線1
08を通して、テスト動作の開始指示を図1中の制御回
路103に知らせる。制御回路103では、起動回路4
01は、このテスト開始指示に応答して、クロック繰り
替え回路404にクロックの切り替えを指示する。クロ
ック繰り替え回路404は、先に述べた回復動作の場合
と同様に、クロックの切り替えをクロック生成回路10
4に指示する。こうして回復動作の場合と同様にして、
CPUコア114、キャッシュ122、RAM127へ
の線107を介した通常クロックの供給が停止され、代
わりに、テストクロックTCLKが制御回路103およ
び強誘電体メモリ110、パススイッチ112に供給さ
れる。
(4) Test Operation Failure detection is performed using the BIST circuit 132. Referring to FIG. 5, when receiving a start signal 143 from an external processor (not shown), the self-test start circuit 516
Through 08, a test operation start instruction is notified to the control circuit 103 in FIG. In the control circuit 103, the starting circuit 4
01 instructs the clock switching circuit 404 to switch the clock in response to the test start instruction. As in the case of the above-described recovery operation, the clock repetition circuit 404 switches the clock to the clock generation circuit 10.
Instruct 4 In the same way as in the case of the recovery operation,
The supply of the normal clock to the CPU core 114, the cache 122, and the RAM 127 via the line 107 is stopped, and the test clock TCLK is supplied to the control circuit 103, the ferroelectric memory 110, and the path switch 112 instead.

【0071】制御回路103では、起動回路401は、
ステートマシーン405は、BIST制御回路419に
テスト動作の開始を指示する。この回路419は線15
0を介してセルフテストステートマシン514に対して
セルフテストの開始を知らせる。セルフテストステート
マシン514は、制御信号510、504、505、5
11、518を用いてパターン発生器509、内部バス
出力制御回路503、データバッファ506、パターン
圧縮器513、外部バス出力制御回路519の制御を行
う。まず、制御信号510を用いてパターン発生器50
9を起動する。パターン発生器509は、起動される
と、テストパターンデータの異なる部分を順次発生し、
信号線508を通して内部バス出力制御回路503に渡
す。内部バス出力制御回路503は、このテストパター
ンデータの異なる部分を信号線502を通し内部バス5
01に順次出力する。このテストパターンの異なる部分
は、強誘電体メモリ110内の所定の大きさのテストパ
ターン用のバッファ領域に順次格納される。本実施の形
態では、このバッファ領域は強誘電体メモリ110の先
頭位置から始まると仮定する。
In the control circuit 103, the starting circuit 401
The state machine 405 instructs the BIST control circuit 419 to start a test operation. This circuit 419 is connected to line 15
Inform the self test state machine 514 via 0 that the self test has started. The self-test state machine 514 controls the control signals 510, 504, 505, 5
The control of the pattern generator 509, the internal bus output control circuit 503, the data buffer 506, the pattern compressor 513, and the external bus output control circuit 519 is performed using 11, 11 and 518. First, using the control signal 510, the pattern generator 50 is used.
9 is started. When activated, the pattern generator 509 sequentially generates different portions of the test pattern data,
The signal is passed to the internal bus output control circuit 503 through the signal line 508. The internal bus output control circuit 503 transmits the different portions of the test pattern data through the signal line 502 to the internal bus 5.
01 sequentially. The different portions of the test pattern are sequentially stored in a test pattern buffer area of a predetermined size in the ferroelectric memory 110. In the present embodiment, it is assumed that this buffer area starts from the head position of the ferroelectric memory 110.

【0072】強誘電体メモリ110へのこのテストパタ
ーンの書き込みは制御回路103により以下のように行
われる。制御回路103では、ステートマシーン405
は、強誘電体メモリ制御回路413とアドレス生成回路
412をデータ書き込みのために起動する。これらの回
路は、書き込みのために起動されると、退避動作の場合
と同様に、強誘電体メモリ110に対して書き込み要求
を繰り返し供給し、かつ、異なる書き込みアドレスを順
次供給する。こうして、BIST回路132内の内部バ
ス出力制御回路503から順次転送されたテストパター
ンの異なる部分が、強誘電体メモリ110内の強誘電体
メモリセルアレー140に順次書き込まれる。
The writing of the test pattern into the ferroelectric memory 110 is performed by the control circuit 103 as follows. In the control circuit 103, the state machine 405
Starts the ferroelectric memory control circuit 413 and the address generation circuit 412 for writing data. When activated for writing, these circuits repeatedly supply a write request to the ferroelectric memory 110 and sequentially supply different write addresses to the ferroelectric memory 110, as in the case of the save operation. Thus, different portions of the test pattern sequentially transferred from the internal bus output control circuit 503 in the BIST circuit 132 are sequentially written to the ferroelectric memory cell array 140 in the ferroelectric memory 110.

【0073】制御回路103では、ステートマシーン4
05は、上記複数のテストパターンの各々に対して上記
強誘電体メモリ110への書き込みを繰り返す。これら
のテストパターンの書き込みが終了した時点で、強誘電
体メモリ制御回路413とアドレス生成回路412を、
回復動作の場合と同様に、データ読み出しのために起動
する。これらの回路は、読み出しのために起動される
と、回復動作の場合と同様に、強誘電体メモリ110に
対して読み出し要求を繰り返し供給し、かつ、異なる読
み出しアドレスを順次供給する。こうして、強誘電体メ
モリセルアレー140に書き込まれた一つのテストパタ
ーンの異なる部分が、強誘電体メモリ110から順次読
みだされる。
In the control circuit 103, the state machine 4
Step 05 repeats writing to the ferroelectric memory 110 for each of the plurality of test patterns. When the writing of these test patterns is completed, the ferroelectric memory control circuit 413 and the address generation circuit 412
As in the case of the recovery operation, it starts up for data reading. When activated for reading, these circuits repeatedly supply a read request to the ferroelectric memory 110 and sequentially supply different read addresses, as in the case of the recovery operation. Thus, different portions of one test pattern written in the ferroelectric memory cell array 140 are sequentially read from the ferroelectric memory 110.

【0074】制御回路103では、ステートマシーン4
05は、上記一つのテストパターンの先頭の部分データ
の読み出しに同期して、モジュール指定回路407とレ
ジスタ更新制御回路414を、回復動作の場合と同様
に、テスト動作のために起動する。レジスタ更新制御回
路414は、強誘電体メモリ110から読み出された部
分データの取り込みを入力レジスタ線417を介して指
示する。本実施の形態では、スキャン回路を内蔵してい
るCPUコア114のみをテスト対象回路として仮定す
ると、モジュール指定回路407は、テスト動作のため
に起動されると、このCPUコア114を選択し、セレ
クト信号TSEL1をマルチプレクサ116とCPUコ
ア114に出力する。なお、複数のテスト対象モジュー
ルがある時には、それらのモジュールを順次選択するの
は回復動作の時と同様である。
In the control circuit 103, the state machine 4
In step 05, the module specifying circuit 407 and the register update control circuit 414 are activated for the test operation in the same manner as the recovery operation, in synchronization with the reading of the leading partial data of the one test pattern. The register update control circuit 414 instructs, via the input register line 417, the capture of the partial data read from the ferroelectric memory 110. In this embodiment, assuming that only the CPU core 114 having a built-in scan circuit is a circuit to be tested, the module designation circuit 407 selects this CPU core 114 when activated for a test operation, and The signal TSEL1 is output to the multiplexer 116 and the CPU core 114. When there are a plurality of test target modules, those modules are sequentially selected in the same manner as in the recovery operation.

【0075】こうして、強誘電体メモリ110から読み
出されたテストパターンデータの異なる部分がCPUコ
ア114に順次供給され、さらに、テストクロックTC
LK1がCPUコア114に供給される。CPUコア1
14はそのテストパターンデータの異なる部分を順次ス
キャンインする。すでに述べたように、CPUコア11
4には、複数のフリップフロップを連結し、それらが保
持する内部データを順次読み出し、あるいはそれらのフ
リップフロップに複数のデータを順次スキャンインする
スキャン回路が組み込まれている。上記テストパターン
データのスキャンインはこのスキャン回路を、図2を使
用して先に説明した内部データの回復の動作と同じよう
に制御することにより実現される。
In this way, different portions of the test pattern data read from the ferroelectric memory 110 are sequentially supplied to the CPU core 114, and further, the test clock TC
LK1 is supplied to the CPU core 114. CPU core 1
Numeral 14 sequentially scans in different portions of the test pattern data. As described above, the CPU core 11
4 incorporates a scan circuit that connects a plurality of flip-flops and sequentially reads internal data held by the flip-flops, or sequentially scans in a plurality of data into the flip-flops. The scan-in of the test pattern data is realized by controlling the scan circuit in the same manner as the operation of recovering the internal data described above with reference to FIG.

【0076】その後、制御回路103は、上記テストデ
ータに対する上記複数の組み合せ回路の応答データの異
なる部分をそれらのフリップフロップに取り込ませる。
具体的には、図2の各フリップフロップFF[i、j]
の通常動作時のクロックCLKの入力端子107にセッ
ト信号を入力し、このフリップフロップの通常動作時の
データ入力端子204を介して接続された組合せ論理回
路C[i、j−1]の出力をこのフリップフロップに保
持させればよい。このためのセット信号の生成回路は簡
単化のために図2では省略されているが、この様にテス
トデータに対する応答データの異なる部分を順次フリッ
プフロップに取り込ませることはそれ自体は公知であ
る。
Thereafter, the control circuit 103 causes the flip-flops to take different portions of the response data of the plurality of combination circuits with respect to the test data.
Specifically, each flip-flop FF [i, j] in FIG.
Of the combinational logic circuit C [i, j-1] connected via the data input terminal 204 during normal operation of this flip-flop. What is necessary is just to make this flip-flop hold | maintain. The circuit for generating the set signal for this purpose is omitted in FIG. 2 for simplicity, but it is well known that the different portions of the response data to the test data are sequentially taken into the flip-flops.

【0077】その後さらに、制御回路103は、取り込
まれた応答データの異なる部分を順次スキャンアウトさ
せる。このときの動作は、前述の内部データの退避動作
と同じである。こうして、CPUコア114は、生成し
た応答データの異なる部分をそれぞれ順次バス123に
出力する。
Thereafter, the control circuit 103 sequentially scans out different portions of the fetched response data. The operation at this time is the same as the above-described internal data saving operation. Thus, the CPU core 114 sequentially outputs different portions of the generated response data to the bus 123.

【0078】すなわち、今説明しているテスト動作の場
合には、CPUコア114へのテストデータのスキャン
インおよび応答データのスキャンアウトの時には、この
スキャン回路を前述の回復動作および退避動作の場合と
同様に動作させ、このスキャン回路のスキャンアウトの
前に、このテストパターンデータに対するる応答データ
の異なる部分をフリップフロップに保持させればよい。
このように、本実施の形態では、前述の退避回復動の時
とテスト動作の時にスキャン回路を共用し、それの制御
のみを変えることにより二つの動作を実現している。
In other words, in the case of the test operation just described, when the scan data is scanned in to the CPU core 114 and the response data is scanned out, the scan circuit is operated in the same manner as in the above-described recovery operation and save operation. The same operation is performed, and before the scan circuit scans out, a different portion of the response data corresponding to the test pattern data may be held in the flip-flop.
Thus, in the present embodiment, two operations are realized by sharing the scan circuit at the time of the evacuation / recovery operation and at the time of the test operation, and changing only the control of the scan circuit.

【0079】さて、制御回路103では、ステートマシ
ーン405は、上記応答データの異なる部分を、前述の
退避動作の場合と同様にして強誘電体メモリ内の応答デ
ータ用のバッファ領域に順次書き込む。本実施の形態で
は、応答データ用のバッファ領域は、強誘電体メモリセ
ルアレー140の先頭位置から始まり、前述のテストパ
ターン用バッファ領域と同じ領域であると仮定する。こ
のために、強誘電体メモリセルアレー140に保持され
るテストパターンデータの異なる部分の全てが読み出さ
れた後に、それに対する応答データの異なる部分が強誘
電体メモリセルアレー140に供給開始されるように、
強誘電体メモリセルアレー140に保持されるテストパ
ターンデータの異なる部分の総数を定める。
In the control circuit 103, the state machine 405 sequentially writes different portions of the response data in the response data buffer area in the ferroelectric memory in the same manner as in the above-described save operation. In the present embodiment, it is assumed that the buffer area for response data starts from the head position of the ferroelectric memory cell array 140 and is the same area as the buffer area for test pattern described above. For this reason, after all of the different portions of the test pattern data held in the ferroelectric memory cell array 140 have been read, supply of the different portions of response data to the ferroelectric memory cell array 140 is started. like,
The total number of different portions of the test pattern data held in the ferroelectric memory cell array 140 is determined.

【0080】制御回路103では、ステートマシーン4
05は、上記応答データの異なる部分データが強誘電体
メモリセルアレー140に書き込まれた後に、以上の動
作を強誘電体メモリ110に保持された複数のテストパ
ターンに対して繰り返す。その後各テストパターンに対
する応答データの異なる部分データがこの強誘電体メモ
リ110から順次読み出されるように、強誘電体メモリ
制御回路413とアドレス生成回路412を起動する。
但し、テストパターンデータの読み出しの時と異なり、
パススイッチ112にこれらの応答データを取り込ませ
ることはしない。まず、強誘電体メモリセルアレー14
0に書き込まれた一つの応答データの異なる部分が順次
バス141を介してバス142に読み出される。BIS
T回路132では、セルフテストステートマシーン51
4が、バス131を介して順次供給される応答データの
異なる部分データの取り込みを、線505を介してデー
タバッファ506に指示する。データバッファに取り込
まれた各応答パターンはパターン圧縮器513により圧
縮され、さらに、外部バス出力制御回路519により、
図示しない外部のプロセッサに故障解析のために供給さ
れる。強誘電体メモリセルアレー140は、そこに書き
込まれた他の応答データに読み出しを繰り返し、BIS
T回路はそれぞれの応答データに対して上記動作を繰り
返す。
In the control circuit 103, the state machine 4
In step 05, the above operation is repeated for a plurality of test patterns held in the ferroelectric memory 110 after partial data having different response data is written in the ferroelectric memory cell array 140. Thereafter, the ferroelectric memory control circuit 413 and the address generation circuit 412 are activated so that different partial data of response data for each test pattern is sequentially read from the ferroelectric memory 110.
However, unlike when reading out test pattern data,
The path switch 112 does not capture these response data. First, the ferroelectric memory cell array 14
Different parts of one response data written to 0 are sequentially read out to the bus 142 via the bus 141. BIS
In the T circuit 132, the self test state machine 51
4 instructs the data buffer 506 via the line 505 to take in different partial data of the response data sequentially supplied via the bus 131. Each response pattern taken into the data buffer is compressed by the pattern compressor 513, and further, by the external bus output control circuit 519.
It is supplied to an external processor (not shown) for failure analysis. The ferroelectric memory cell array 140 repeats reading the other response data written therein,
The T circuit repeats the above operation for each response data.

【0081】このように、本実施の形態では、複数のテ
ストパターンがBIST回路132から強誘電体メモリ
110内のバッファ領域に連続して転送され、その後、
各テストパターンデータの異なる部分がそのバッファ領
域からテスト対象回路に連続して転送される。さらに、
そのテスト対象回路からの応答データの異なる部分デー
タが強誘電体メモリ110内のバッファ領域に連続して
転送される。以上の動作を、バッファ領域内の異なるテ
ストパターンに繰り返された後に、それらのテストパタ
ーンに対する複数の応答データがバッファ領域からBI
ST回路132に連続して転送される。従って、テスト
対象回路に一つのテストパターンデータを供給し、その
テストデータに応答データをテスト対象回路からBIS
T回路に供給するという一連の動作を異なるテストパタ
ーンデータに対して繰り返す場合よりもはるかに高速に
テストを行うことが出来る。
As described above, in the present embodiment, a plurality of test patterns are successively transferred from the BIST circuit 132 to the buffer area in the ferroelectric memory 110.
Different portions of each test pattern data are continuously transferred from the buffer area to the test target circuit. further,
Different partial data of response data from the test target circuit is continuously transferred to the buffer area in the ferroelectric memory 110. After the above operation is repeated for different test patterns in the buffer area, a plurality of response data corresponding to those test patterns are transmitted from the buffer area to the BI pattern.
The data is continuously transferred to the ST circuit 132. Accordingly, one test pattern data is supplied to the test target circuit, and response data is supplied to the test data from the test target circuit.
The test can be performed much faster than when a series of operations of supplying to the T circuit is repeated for different test pattern data.

【0082】<変形例>本発明は、以上に示した実施の
形態に限定されるのではなく、本発明の主旨を変えない
範囲で以下に例示する変形およびその他の変形を含む。
<Modifications> The present invention is not limited to the above-described embodiments, but includes the following modifications and other modifications without departing from the spirit of the present invention.

【0083】(1)上記実施の形態では、CPUコア内
の全順序回路を構成する全てのフリップフロップ内のデ
ータを退避回復する例を示したが、これらの順序回路の
内、待機状態から通常状態に遷移するときに最小限必要
な一部の順序回路を構成する複数のフリップフロップを
あらかじめ選択しておき、これらの一部のみに対して、
実施の形態で示したスキャン回路を使用してもよいこと
は言うまでもない。
(1) In the above embodiment, an example has been described in which data in all flip-flops constituting all the sequential circuits in the CPU core is saved and recovered. A plurality of flip-flops constituting a minimum required part of the sequential circuit when transitioning to the state are selected in advance, and only a part of these flip-flops is selected.
It goes without saying that the scan circuit described in the embodiment may be used.

【0084】(2)本発明は、マイクロコンピュータ以
外のデータ処理装置、例えば、ディジタルシグナルプロ
セッサその他のプロセッサにも適用できる。
(2) The present invention can be applied to data processing devices other than microcomputers, for example, digital signal processors and other processors.

【0085】(3)上記実施の形態では、待機時に、C
PUコア等に電源電圧を実質的に供給しなかったが、通
常動作用の電源電圧より小さい電圧を供給しても省電力
の効果は生じうる。
(3) In the above-described embodiment, during standby, C
Although the power supply voltage is not substantially supplied to the PU core or the like, the power saving effect can be obtained even if a voltage lower than the power supply voltage for normal operation is supplied.

【0086】(4)強誘電体メモリ103の代わりにF
LASHメモリなどの不揮発性メモリを用いることも可
能である。但し、強誘電体メモリ103は、動作速度、
セル面積、繰り返し動作回数等において、FLASHメ
モリ等より優れている。
(4) F instead of ferroelectric memory 103
It is also possible to use a nonvolatile memory such as a LASH memory. However, the operation speed of the ferroelectric memory 103 is
It is superior to a FLASH memory or the like in cell area, number of repetition operations, and the like.

【0087】(5)マイクロコンピュータ101あるい
はその他のデータ処理装置は複数のチップ上に形成する
ことも可能である。しかし、ワンチップ上に搭載した場
合には、コストの低減、セキュリティの強化、消費電力
の低減などのメリットが生じる。
(5) The microcomputer 101 or other data processing devices can be formed on a plurality of chips. However, when mounted on one chip, there are advantages such as cost reduction, security enhancement, and power consumption reduction.

【0088】(6)状態遷移信号102は通常動作時に
ランダムモジュールから与えられるようにしてもよい。
(6) The state transition signal 102 may be given from a random module during normal operation.

【0089】(7)テスト起動信号143は、マイクロ
プロセッサ101内のいずれかのランダムモジュールに
より発生させるようにすることも可能である。
(7) The test start signal 143 can be generated by any random module in the microprocessor 101.

【0090】(8)CPUコア114の順序回路を構成
するフリップフロップの形態は図2で示したもの以外に
通常動作用にセット信号などを付加した形式のものでも
よい。
(8) The form of the flip-flop constituting the sequential circuit of the CPU core 114 may be a form to which a set signal or the like is added for normal operation in addition to the form shown in FIG.

【0091】(9)データ処理装置101が通常動作モ
ードである間、強誘電体メモリ110をROMとして使
用することも可能である。このために予め、このメモリ
の特定の領域に、上記退避動作、回復動作とは直接関係
しないプログラム命令あるいはデータを格納させてお
く。
(9) While the data processing device 101 is in the normal operation mode, the ferroelectric memory 110 can be used as a ROM. For this purpose, program instructions or data not directly related to the save operation and the recovery operation are stored in a specific area of the memory in advance.

【0092】[0092]

【発明の効果】本発明によりデータ処理装置の待機時に
順序回路の内容をデータ退避用のメモリに退避でき、待
機中に電源電圧を下げることができるため待機時の順序
回路に流れるリーク電流による消費電力を削除すること
が可能となる。
According to the present invention, the contents of the sequential circuit can be saved in the data saving memory when the data processing device is on standby, and the power supply voltage can be reduced during standby, so that the leakage current flowing through the sequential circuit during standby can be consumed. Power can be eliminated.

【0093】とくに、この退避回復回路をスキャン回路
にて構成した場合には、この退避回復回路の構造を簡単
化できる。
In particular, when the save / recovery circuit is constituted by a scan circuit, the structure of the save / recovery circuit can be simplified.

【0094】とくに、上記データ退避用のメモリに不揮
発性メモリを用いた場合には、データ処理装置全体の待
機時の消費電力をさらに削除することができる。
In particular, when a non-volatile memory is used as the data saving memory, the power consumption of the entire data processing apparatus during standby can be further reduced.

【0095】さらに、この不揮発性メモリに強誘電体メ
モリを用いた場合には、待機時の消費電力を削除すると
ともに、データ処理装置の待機状態への移行あるいはそ
れからの回復を高速に行いうる。
Further, when a ferroelectric memory is used as the non-volatile memory, power consumption during standby can be eliminated, and the transition of the data processing apparatus to the standby state or recovery from the standby state can be performed at high speed.

【0096】さらに、データ処理装置内の順序回路にス
キャンラッチを用い、上記データ退避用のメモリに強誘
電体メモリを用い、チップ内にBIST回路を設け、こ
の強誘電体メモリをこのBIST回路から供給される複
数のテストパターンデータを一時的に保持するバッファ
として使用し、さらに検査対象モジュールから出力され
た、BIST回路へ転送すべき複数の応答データを一時
的に保持するパターンのバッファに用いた場合には、高
速に故障検出を行うことが可能となる。
Further, a scan latch is used as a sequential circuit in the data processing apparatus, a ferroelectric memory is used as the memory for saving data, and a BIST circuit is provided in a chip. This ferroelectric memory is separated from the BIST circuit. A plurality of test pattern data supplied are used as a buffer for temporarily holding, and a plurality of response data output from the module to be inspected and to be transferred to the BIST circuit are temporarily stored. In this case, the failure can be detected at high speed.

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

【図1】本発明に係るマイクロプロセッサの全体図を示
す。
FIG. 1 shows an overall view of a microprocessor according to the present invention.

【図2】図1に記述したCPUコアの詳細図を示す。FIG. 2 shows a detailed view of the CPU core described in FIG.

【図3】図1中のRAMの詳細図を示す。FIG. 3 is a detailed view of a RAM in FIG. 1;

【図4】図1中の制御回路の詳細図を示す。FIG. 4 shows a detailed diagram of a control circuit in FIG.

【図5】図1中のBIST回路の詳細図を示す。FIG. 5 is a detailed diagram of a BIST circuit in FIG. 1;

【図6】図1のマイクロプロセッサの、通常状態から待
機状態への遷移時のいろいろの信号のタイミングチャー
トを示す。
FIG. 6 is a timing chart of various signals of the microprocessor of FIG. 1 at the time of transition from a normal state to a standby state.

【図7】図1のマイクロプロセッサの待機状態から通常
状態への遷移時のいろいろの信号のタイミングチャート
を示す。
7 shows a timing chart of various signals when the microprocessor of FIG. 1 transitions from a standby state to a normal state.

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

139 アドレス 144 アドレス 145 電源切り替え信号 147 通常動作用の電源 148 待機時用の電源 205 フリップフロップ(FF) 208 組み合わせ回路 139 Address 144 Address 145 Power switch signal 147 Power supply for normal operation 148 Power supply for standby 205 Flip-flop (FF) 208 Combination circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 1/00 335C (72)発明者 谷川 博之 東京都小平市上水本町五丁目20番1号 株 式会社日立製作所半導体事業部内 (72)発明者 島崎 靖久 東京都小平市上水本町五丁目20番1号 株 式会社日立製作所半導体事業部内 (72)発明者 小林 伸好 東京都小平市上水本町五丁目20番1号 株 式会社日立製作所半導体事業部内──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 6 Identification number Agency reference number FI Technical indication location G06F 1/00 335C (72) Inventor Hiroyuki Tanigawa 5-2-1, Josuihoncho, Kodaira-shi, Tokyo Hitachi, Ltd.Semiconductor Division (72) Inventor Yasuhisa Shimazaki 5-2-1, Josuihonmachi, Kodaira-shi, Tokyo In-house Semiconductor Division, Hitachi Ltd. (72) Nobuyoshi Kobayashi, Kosui, Tokyo 5-20-1, Honmachi Semiconductor Division, Hitachi, Ltd.

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】命令を実行するための処理装置であって、
複数の組み合わせ論理回路とそれらと組み合わされて順
序回路を構成するための複数の記憶素子とからなる順序
回路を有するものと、 退避用のメモリと、 上記複数の記憶素子に保持された複数の内部データを読
み出し、上記待機用のメモリに退避し、上記退避用のメ
モリから上記退避された複数の内部データを読み出し、
上記複数の記憶素子に回復する退避回復回路と、 上記退避回復回路により上記複数の内部データが退避さ
れた後に上記処理装置に待機状態用の電源電圧を供給
し、上記退避回復回路により上記退避された複数の内部
データが回復される前に上記処理装置に通常動作用の電
源電圧を供給するように、上記処理装置に供給する電源
電圧を切り換えるための電源供給切り替え回路とを有す
るデータ処理装置。
1. A processing device for executing an instruction, comprising:
One having a sequential circuit composed of a plurality of combinational logic circuits and a plurality of storage elements for forming a sequential circuit in combination therewith; an evacuation memory; and a plurality of internal circuits held in the plurality of storage elements Reading data, saving to the standby memory, reading the plurality of saved internal data from the saving memory,
A save / restore circuit for restoring the plurality of storage elements; and a power supply voltage for a standby state is supplied to the processing device after the plurality of internal data is saved by the save / recovery circuit. A power supply switching circuit for switching a power supply voltage to be supplied to the processing device so that a power supply voltage for normal operation is supplied to the processing device before the plurality of internal data is recovered.
【請求項2】上記退避回復回路は、 上記複数の記憶素子に保持された上記複数の内部データ
を退避するときには、それらの内部データを順次スキャ
ンアウトし、上記退避用のメモリに退避された上記複数
の内部データを上記複数の記憶素子に回復するときに
は、上記退避された複数の内部データを上記複数の記憶
素子に順次スキャンインするスキャン回路と、 上記複数の記憶素子に保持された上記複数の内部データ
を退避するときには、上記複数の記憶素子からスキャン
アウトされた上記複数の内部データを上記待機用のメモ
リに順次書き込み、上記退避用のメモリに退避された上
記複数の内部データを上記複数の記憶素子に回復すると
きには、上記退避された上記複数の内部データを順次読
み出すメモリ制御回路とを有する請求項1記載のデータ
処理装置。
2. The save / recovery circuit, when saving the plurality of internal data held in the plurality of storage elements, sequentially scans out the internal data and saves the plurality of internal data in the save memory. When restoring a plurality of internal data to the plurality of storage elements, a scan circuit for sequentially scanning in the plurality of saved internal data to the plurality of storage elements; and a plurality of the plurality of storage elements held in the plurality of storage elements. When saving the internal data, the plurality of internal data scanned out from the plurality of storage elements are sequentially written to the standby memory, and the plurality of internal data saved to the save memory is written to the plurality of memory devices. 2. The memory control circuit according to claim 1, further comprising: a memory control circuit for sequentially reading out the plurality of saved internal data when the storage element is restored. Data processing equipment.
【請求項3】上記スキャン回路は、 上記複数の記憶素子は、それぞれの記憶素子の出力を他
の記憶素子の入力に連結するための複数の信号路と、 該複数の記憶素子に保持された内部データを退避すると
きおよび上記退避用のメモリに退避された上記複数の内
部データを上記複数の記憶素子に回復するときに、上記
複数の記憶素子にスキャン用クロックを供給するクロッ
ク供給回路とからなり、 上記複数の記憶素子は、該複数の記憶素子に保持された
内部データを退避するときに供給された上記スキャン用
クロックに応答して、それらに保持された内部データを
上記複数の信号路を介して順次シフトアウトし、上記退
避用のメモリに退避された上記複数の内部データを上記
複数の記憶素子に回復するときに供給された上記スキャ
ン用クロックに応答して、上記退避用のメモリから順次
読み出された内部データを上記複数の信号路を介して順
次シフトインするシフトレジスタを実現する素子からな
る請求項2記載のデータ処理装置。
3. The scanning circuit according to claim 2, wherein the plurality of storage elements include a plurality of signal paths for connecting an output of each storage element to an input of another storage element, and the plurality of storage elements are held in the plurality of storage elements. A clock supply circuit that supplies a scan clock to the plurality of storage elements when the internal data is saved and when the plurality of internal data saved in the save memory is restored to the plurality of storage elements. In response to the scan clock supplied when the internal data held in the plurality of storage elements is saved, the plurality of storage elements transfer the internal data held therein to the plurality of signal paths. And the scan clock supplied when the plurality of internal data saved in the save memory are restored to the plurality of storage elements. In response, the data processor according to claim 2 comprising an internal data sequentially read from the memory for the retreat from the element to realize a shift register for sequentially shifting in through the plurality of signal paths.
【請求項4】上記順序回路のテスト時に、テストデータ
の異なる部分を上記複数の記憶素子に順次スキャンイン
し、そのスキャンインされたテストデータに対する上記
複数の組み合せ論理回路からの応答データの異なる部分
を該複数の記憶素子に保持させ、その保持された応答デ
ータの上記異なる部分を順次スキャンアウトするテスト
用スキャン回路をさらに有し、 上記テスト用スキャン回路は、 該複数の記憶素子に上記テストパターンを上記複数の信
号路を介してスキャンインし、上記応答データを上記複
数の信号路を介してスキャンアウトするように、該複数
の記憶素子に上記テストパターンをスキャンインすると
きおよびそのテストパターンに対する上記応答データを
スキャンアウトするときに、上記複数の記憶素子に上記
スキャン用クロックを供給するように上記クロック供給
回路を制御する回路と、 該複数の記憶素子に上記テストパターンをスキャンイン
した後、そのスキャンインされたテストパターンに対す
る上記複数の論理回路からの上記応答データをスキャン
アウトする前に、上記複数の論理回路からの上記応答デ
ータの異なる部分を上記複数の記憶素子に保持させるた
めの信号を上記複数の記憶素子に供給する回路をさらに
有する請求項3記載のデータ処理装置。
4. When testing the sequential circuit, different portions of test data are sequentially scanned into the plurality of storage elements, and different portions of response data from the plurality of combinational logic circuits to the scanned-in test data. And a test scan circuit for sequentially scanning out the different portions of the held response data, wherein the test scan circuit stores the test pattern in the plurality of storage elements. Is scanned in through the plurality of signal paths, and the response data is scanned out through the plurality of signal paths. When scanning out the response data, the plurality of storage elements are scanned A circuit for controlling the clock supply circuit so as to supply a clock; and after scanning the test pattern into the plurality of storage elements, the response data from the plurality of logic circuits to the scanned-in test pattern is written. 4. The data according to claim 3, further comprising a circuit for supplying a signal for causing the plurality of storage elements to hold different portions of the response data from the plurality of logic circuits before the scan-out, to the plurality of storage elements. Processing equipment.
【請求項5】上記退避用のメモリは、書き換え可能な不
揮発性メモリからなる請求項1から4のいずれか一つに
記載のデータ処理装置。
5. The data processing device according to claim 1, wherein said save memory is a rewritable nonvolatile memory.
【請求項6】上記不揮発性メモリは強誘電体メモリであ
る請求項5記載のデータ処理装置。
6. The data processing device according to claim 5, wherein said nonvolatile memory is a ferroelectric memory.
【請求項7】上記不揮発性メモリはフラッシュメモリで
ある請求項5記載のデータ処理装置。
7. The data processing device according to claim 5, wherein said nonvolatile memory is a flash memory.
【請求項8】上記処理装置が使用するデータを保持する
ランダムアクセスメモリと、 上記処理装置を待機状態にする前に、上記ランダムアク
セスメモリに記憶されたデータを上記待機用のメモリに
退避し、上記処理装置を待機状態にした後、通常動作状
態にする前に上記待機用のメモリに退避された上記ラン
ダムアクセスメモリのデータを上記ランダムアクセスメ
モリに回復するメモリデータ退避回復回路をさらに有
し、 上記電源供給切り替え回路は、上記処理装置へ供給す
る、上記通常動作用の電源電圧と上記待機状態用の電源
電圧とを切り替えるのに同期して、上記ランダムアクセ
スメモリへ上記通常動作用の電源電圧と上記待機状態用
の電源電圧とを切り替えてる請求項5記載のデータ処理
装置。
8. A random access memory for holding data used by the processing device; and evacuation of data stored in the random access memory to the standby memory before putting the processing device into a standby state. After the processing device is in a standby state, before the normal operation state, further comprising a memory data save and recovery circuit to restore the data of the random access memory saved in the memory for standby to the random access memory, The power supply switching circuit supplies the processing device with the power supply voltage for the normal operation in synchronization with switching between the power supply voltage for the normal operation and the power supply voltage for the standby state. 6. The data processing device according to claim 5, wherein the power supply voltage for the standby state is switched.
【請求項9】上記ランダムアクセスメモリの一部のデー
タの写を保持するキャッシュをさらに有し、 上記メモリデータ退避回復回路は、上記処理装置を待機
状態にする前に、上記キュッシュに記憶された情報を上
記待機用のメモリに退避し、上記処理装置を待機状態に
した後、通常動作状態にする前に上記待機用のメモリに
退避された上記キャッシュの情報を上記キャッシュに回
復する回路をさらに有し、 上記電源供給切り替え回路は、上記処理装置へ供給す
る、上記通常動作用の電源電圧と上記待機状態用の電源
電圧とを切り替えるのに同期して、上記ランダムアクセ
スメモリへ上記通常動作用の電源電圧と上記待機状態用
の電源電圧とを切り替えて供給する請求項8記載のデー
タ処理装置。
9. A cache for holding a copy of a part of the data of the random access memory, wherein the memory data save / recovery circuit is stored in the cache before the processing device is put into a standby state. A circuit for saving the information to the standby memory, setting the processing device in the standby state, and restoring the cache information saved in the standby memory to the cache before the normal operation state. Wherein the power supply switching circuit supplies the processing device with the power supply voltage for the normal operation and the power supply voltage for the standby state. 9. The data processing apparatus according to claim 8, wherein the power supply voltage for the standby state and the power supply voltage for the standby state are switched and supplied.
【請求項10】故障診断のために上記処理装置に与える
ランダムテストパターンデータを発生するパターン発生
器と、 該ランダムテストパターンデータに対する応答パターン
データを圧縮するパターン圧縮器と、 上記データ処理装置をテストするときに上記パターン発
生器から順次発生される複数のランダムパターンデータ
を順次上記退避用のメモリに転送し、それらをさらに上
記退避用のメモリから順次読み出し上記処理装置に転送
し、該複数のランダムテストパターンデータに対して上
記処理装置から順次与えられる複数の応答パターンデー
タを上記退避用のメモリ内のバッファ領域に順次転送
し、それらをそのメモリから順次読み出し該パターン圧
縮器に順次転送するデータ転送回路と、 上記複数の記憶素子に該複数のランダムテストパターン
データの各々をスキャンインし、そのスキャンインされ
たランダムテストパターンデータに対する上記複数の論
理回路からの応答パターンデータを上記複数の記憶素子
に保持させ、保持された応答パターンデータをスキャン
アウトするスキャン回路とをさらに有する請求項1記載
のデータ処理装置。
10. A pattern generator for generating random test pattern data to be provided to the processing device for failure diagnosis, a pattern compressor for compressing response pattern data corresponding to the random test pattern data, and testing the data processing device. A plurality of random pattern data sequentially generated from the pattern generator are sequentially transferred to the evacuation memory, and are further sequentially read from the evacuation memory and transferred to the processing device. Data transfer for sequentially transferring a plurality of response pattern data sequentially given from the processing device to the test pattern data to the buffer area in the evacuation memory, sequentially reading them from the memory, and sequentially transferring the read data to the pattern compressor. A plurality of random test circuits in the plurality of storage elements. A scan that scans in each of the pattern data, stores response pattern data from the plurality of logic circuits for the scanned-in random test pattern data in the plurality of storage elements, and scans out the stored response pattern data. The data processing device according to claim 1, further comprising a circuit.
【請求項11】上記データ処理装置はマイクロプロセッ
サを含む請求項1から10のいずれか一つに記載のデー
タ処理装置。
11. The data processing device according to claim 1, wherein said data processing device includes a microprocessor.
【請求項12】複数の組み合わせ論理回路とそれらと組
み合わされて順序回路を構成するための複数の記憶素子
とからなる順序回路と、 退避用の不揮発性メモリと、 上記複数の記憶素子に保持された複数の内部データを読
み出し、上記待機用のメモリに退避し、上記退避用のメ
モリから上記退避された複数の内部データを読み出し、
上記複数の記憶素子に回復する退避回復回路と、 上記退避回復回路により上記複数の内部データが退避さ
れた後に上記順序回路に待機状態用の電源電圧を供給
し、上記退避回復回路により上記退避された複数の内部
データが回復される前に上記順序回路に通常動作用の電
源電圧を供給するように、上記順序回路に供給する電源
電圧を切り換えるための電源供給切り替え回路とを有す
るデータ処理装置。
12. A sequential circuit comprising a plurality of combinational logic circuits and a plurality of storage elements for combining them to form a sequential circuit; a non-volatile memory for evacuation; and a memory held by the plurality of storage elements. Read out the plurality of internal data, save the data to the standby memory, read the plurality of saved internal data from the save memory,
A save / restore circuit for restoring the plurality of storage elements; and a power supply voltage for a standby state is supplied to the sequential circuit after the plurality of internal data is saved by the save / recovery circuit. A power supply switching circuit for switching a power supply voltage supplied to the sequential circuit so as to supply a power supply voltage for normal operation to the sequential circuit before the plurality of internal data is recovered.
【請求項13】上記退避回復回路は、 上記複数の記憶素子に保持された上記複数の内部データ
を退避するときには、それらの内部データを順次スキャ
ンアウトし、上記退避用のメモリに退避された上記複数
の内部データを上記複数の記憶素子に回復するときに
は、上記退避された複数の内部データを上記複数の記憶
素子に順次スキャンインするスキャン回路と、 上記複数の記憶素子に保持された上記複数の内部データ
を退避するときには、上記複数の記憶素子からスキャン
アウトされた上記複数の内部データを上記待機用のメモ
リに順次書き込み、上記退避用のメモリに退避された上
記複数の内部データを上記複数の記憶素子に回復すると
きには、上記退避された上記複数の内部データを順次読
み出すメモリ制御回路とを有する請求項12記載のデー
タ処理装置。
13. The save / recovery circuit, when saving the plurality of internal data held in the plurality of storage elements, sequentially scans out the internal data and saves the internal data in the save memory. When restoring a plurality of internal data to the plurality of storage elements, a scan circuit for sequentially scanning in the plurality of saved internal data to the plurality of storage elements; and a plurality of the plurality of storage elements held in the plurality of storage elements. When saving the internal data, the plurality of internal data scanned out from the plurality of storage elements are sequentially written to the standby memory, and the plurality of internal data saved to the save memory is written to the plurality of memory devices. 13. A memory control circuit for sequentially reading out the plurality of saved internal data when the storage element is restored. Placing the data processing device.
【請求項14】上記スキャン回路は、 上記複数の記憶素子は、それぞれの記憶素子の出力を他
の記憶素子の入力に連結するための複数の信号路と、 該複数の記憶素子に保持された内部データを退避すると
きおよび上記退避用のメモリに退避された上記複数の内
部データを上記複数の記憶素子に回復するときに、上記
複数の記憶素子にスキャン用クロックを供給するクロッ
ク供給回路とからなり、 上記複数の記憶素子は、該複数の記憶素子に保持された
内部データを退避するときに供給された、上記スキャン
用クロックに応答して、それらに保持された内部データ
を上記複数の信号路を介して順次シフトアウトし、上記
退避用のメモリに退避された上記複数の内部データを上
記複数の記憶素子に回復するときに供給された上記スキ
ャン用クロックに応答して、上記退避用のメモリから順
次読み出された内部データを上記複数の信号路を介して
順次シフトインするシフトレジスタを実現する素子から
なる請求項13記載のデータ処理装置。
14. The scan circuit, wherein the plurality of storage elements include a plurality of signal paths for connecting an output of each storage element to an input of another storage element, and the plurality of storage elements are held by the plurality of storage elements. A clock supply circuit that supplies a scan clock to the plurality of storage elements when the internal data is saved and when the plurality of internal data saved in the save memory is restored to the plurality of storage elements. In response to the scan clock supplied when the internal data held in the plurality of storage elements is saved, the plurality of storage elements transmit the internal data held therein to the plurality of signals. The plurality of internal data saved in the save memory are sequentially shifted out through the path, and the scan clock supplied when the plurality of internal data is restored to the plurality of storage elements. In response to the click, the data processing device sequentially read internal data consists element to realize a shift register for sequentially shifting in through the plurality of signal paths according to claim 13 wherein the memory for the retreat.
【請求項15】上記順序回路のテスト時に、テストデー
タの異なる部分を上記複数の記憶素子に順次スキャンイ
ンし、そのスキャンインされたテストデータに対する上
記複数の組み合せ論理回路からの応答データの異なる部
分を該複数の記憶素子に保持させ、その保持された応答
データの上記異なる部分を順次スキャンアウトするテス
ト用スキャン回路をさらに有し、 上記テスト用スキャン回路は、 該複数の記憶素子に上記テストパターンを上記複数の信
号路を介してスキャンインし、上記応答データを上記複
数の信号路を介してスキャンアウトするように、該複数
の記憶素子に上記テストパターンをスキャンインすると
きおよびそのテストパターンに対する上記応答データを
スキャンアウトするときに、上記複数の記憶素子に上記
スキャン用クロックを供給するように上記クロック供給
回路を制御する回路と、 該複数の記憶素子に上記テストパターンをスキャンイン
した後、そのスキャンインされたテストパターンに対す
る上記複数の論理回路からの上記応答データをスキャン
アウトする前に、上記複数の論理回路からの上記応答デ
ータの異なる部分を上記複数の記憶素子に保持させるた
めの信号を上記複数の記憶素子に供給する回路をさらに
有する請求項14記載のデータ処理装置。
15. When testing the sequential circuit, different portions of test data are sequentially scanned into the plurality of storage elements, and different portions of response data from the plurality of combinational logic circuits to the scanned-in test data. And a test scan circuit for sequentially scanning out the different portions of the held response data, wherein the test scan circuit stores the test pattern in the plurality of storage elements. Is scanned in through the plurality of signal paths, and the response data is scanned out through the plurality of signal paths. When scanning out the response data, the scan is stored in the plurality of storage elements. A circuit for controlling the clock supply circuit so as to supply a clock for the test, and after scanning the test pattern into the plurality of storage elements, the response data from the plurality of logic circuits to the scanned-in test pattern. 15. The circuit according to claim 14, further comprising a circuit for supplying a signal for causing the plurality of storage elements to hold different portions of the response data from the plurality of logic circuits to the plurality of storage elements before scanning out. Data processing device.
JP8234860A 1996-09-05 1996-09-05 Data processor Pending JPH1078836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8234860A JPH1078836A (en) 1996-09-05 1996-09-05 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8234860A JPH1078836A (en) 1996-09-05 1996-09-05 Data processor

Publications (1)

Publication Number Publication Date
JPH1078836A true JPH1078836A (en) 1998-03-24

Family

ID=16977488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8234860A Pending JPH1078836A (en) 1996-09-05 1996-09-05 Data processor

Country Status (1)

Country Link
JP (1) JPH1078836A (en)

Cited By (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003519414A (en) * 1998-10-09 2003-06-17 メディアキュー, インコーポレイテッド Programmable flexible power management unit
JP2005528664A (en) * 2001-09-19 2005-09-22 フリースケール セミコンダクター インコーポレイテッド CPU power-down method and apparatus therefor
US7080270B2 (en) 2002-08-27 2006-07-18 Fujitsu Limited Multi-threshold-voltage integrated circuit having a non-volatile data storage circuit
US7219248B2 (en) 2004-06-21 2007-05-15 Fujitsu Limited Semiconductor integrated circuit operable to control power supply voltage
US7269780B2 (en) 2002-10-02 2007-09-11 Matsushita Electric Industrial Co., Ltd. Power management for circuits with inactive state data save and restore scan chain
JP2007536667A (en) * 2004-05-05 2007-12-13 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Mobile device with integrated circuit and method for powering down such a circuit
JP2008204459A (en) * 2007-02-19 2008-09-04 Arm Ltd Hibernation of processing apparatus for processing secure data
JP2008210358A (en) * 2006-09-13 2008-09-11 Rohm Co Ltd Data processor, and data control circuit used therefor
JP2008251013A (en) * 2008-04-02 2008-10-16 Nec Electronics Corp Semiconductor integrated circuit and control method
JP2008262350A (en) * 2007-04-11 2008-10-30 Rohm Co Ltd Data processing apparatus, and data control circuit for use in the same
JP2009237712A (en) * 2008-03-26 2009-10-15 Fujitsu Ltd Circuit system and program
US7716545B2 (en) 2005-12-08 2010-05-11 Nec Electronics Corporation Semiconductor integrated circuit and method for controlling the same
JP2010211665A (en) * 2009-03-12 2010-09-24 Rohm Co Ltd Data processor
US8019929B2 (en) 2006-09-13 2011-09-13 Rohm Co., Ltd. Data processing apparatus and data control circuit for use therein
US8046635B2 (en) 2007-04-11 2011-10-25 Rohm Co., Ltd. Data processing device and data control circuit for use therein
KR20120087087A (en) 2011-01-27 2012-08-06 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Memory circuit
CN102737707A (en) * 2011-03-30 2012-10-17 株式会社半导体能源研究所 Semiconductor device and driving method thereof
KR20120117667A (en) 2011-04-15 2012-10-24 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device and driving method thereof
KR20120120039A (en) 2011-04-21 2012-11-01 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Signal processing circuit
KR20120127286A (en) 2011-05-13 2012-11-21 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Memory circuit and electronic device
KR20120129793A (en) 2011-05-20 2012-11-28 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Memory device and signal processing circuit
KR20120129833A (en) 2011-05-20 2012-11-28 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device
KR20120130070A (en) 2011-05-20 2012-11-28 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Memory device and signal processing circuit
US20130097609A1 (en) * 2011-10-12 2013-04-18 Qualcomm Incorporated System and Method for Determining Thermal Management Policy From Leakage Current Measurement
KR20130132271A (en) 2012-05-25 2013-12-04 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Method for driving memory element
DE112012001395T5 (en) 2011-03-24 2013-12-19 Semiconductor Energy Laboratory Co., Ltd Signal processing circuit
KR20140005788A (en) 2012-07-06 2014-01-15 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device and driving method thereof
KR20140005792A (en) 2012-07-06 2014-01-15 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device and method of driving semiconductor device
KR20140101688A (en) 2013-02-12 2014-08-20 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device
US8873308B2 (en) 2012-06-29 2014-10-28 Semiconductor Energy Laboratory Co., Ltd. Signal processing circuit
US8923076B2 (en) 2011-03-31 2014-12-30 Semiconductor Energy Laboratory Co., Ltd. Memory circuit, memory unit, and signal processing circuit
US9024669B2 (en) 2011-01-05 2015-05-05 Semiconductor Energy Laboratory Co., Ltd. Storage element, storage device, and signal processing circuit
US9064599B2 (en) 2011-02-10 2015-06-23 Semiconductor Energy Laboratory Co., Ltd. Memory circuit
US9064574B2 (en) 2012-11-06 2015-06-23 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof
KR20150102696A (en) 2014-02-28 2015-09-07 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device, method for driving the same, and electronic appliance
US9129667B2 (en) 2012-05-25 2015-09-08 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof
US9135182B2 (en) 2012-06-01 2015-09-15 Semiconductor Energy Laboratory Co., Ltd. Central processing unit and driving method thereof
KR20150105227A (en) 2014-03-07 2015-09-16 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device, driving method thereof, and electronic appliance
US9245589B2 (en) 2013-03-25 2016-01-26 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device having Schmitt trigger NAND circuit and Schmitt trigger inverter
US9293186B2 (en) 2013-03-14 2016-03-22 Semiconductor Energy Laboratory Co., Ltd. Memory device and semiconductor device
US9355687B2 (en) 2011-03-11 2016-05-31 Semiconductor Energy Laboratory Co., Ltd. Storage circuit
US9424921B2 (en) 2010-08-26 2016-08-23 Semiconductor Energy Laboratory Co., Ltd. Signal processing circuit and method for driving the same
US9478704B2 (en) 2011-11-30 2016-10-25 Semiconductor Energy Laboratory Co., Ltd. Semiconductor display device
US9508448B2 (en) 2011-03-08 2016-11-29 Semiconductor Energy Laboratory Co., Ltd. Memory element and signal processing circuit
US9559105B2 (en) 2011-05-20 2017-01-31 Semiconductor Energy Laboratory Co., Ltd. Signal processing circuit
US9569713B2 (en) 2014-10-24 2017-02-14 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device, wireless sensor, and electronic device
US9608005B2 (en) 2013-08-19 2017-03-28 Semiconductor Energy Laboratory Co., Ltd. Memory circuit including oxide semiconductor devices
US9859905B2 (en) 2014-09-26 2018-01-02 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device, wireless sensor, and electronic device
US10090333B2 (en) 2011-05-19 2018-10-02 Semiconductor Energy Laboratory Co., Ltd. Arithmetic circuit and method of driving the same
US10095584B2 (en) 2013-04-26 2018-10-09 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device
US10334196B2 (en) 2016-01-25 2019-06-25 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device

Cited By (83)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4841036B2 (en) * 1998-10-09 2011-12-21 エヌヴィディア コーポレイション Circuit and method for power management
JP2003519414A (en) * 1998-10-09 2003-06-17 メディアキュー, インコーポレイテッド Programmable flexible power management unit
JP2005528664A (en) * 2001-09-19 2005-09-22 フリースケール セミコンダクター インコーポレイテッド CPU power-down method and apparatus therefor
US7080270B2 (en) 2002-08-27 2006-07-18 Fujitsu Limited Multi-threshold-voltage integrated circuit having a non-volatile data storage circuit
US7269780B2 (en) 2002-10-02 2007-09-11 Matsushita Electric Industrial Co., Ltd. Power management for circuits with inactive state data save and restore scan chain
JP2007536667A (en) * 2004-05-05 2007-12-13 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Mobile device with integrated circuit and method for powering down such a circuit
US7219248B2 (en) 2004-06-21 2007-05-15 Fujitsu Limited Semiconductor integrated circuit operable to control power supply voltage
US7716545B2 (en) 2005-12-08 2010-05-11 Nec Electronics Corporation Semiconductor integrated circuit and method for controlling the same
US8019929B2 (en) 2006-09-13 2011-09-13 Rohm Co., Ltd. Data processing apparatus and data control circuit for use therein
JP2008210358A (en) * 2006-09-13 2008-09-11 Rohm Co Ltd Data processor, and data control circuit used therefor
JP2008204459A (en) * 2007-02-19 2008-09-04 Arm Ltd Hibernation of processing apparatus for processing secure data
JP2008262350A (en) * 2007-04-11 2008-10-30 Rohm Co Ltd Data processing apparatus, and data control circuit for use in the same
US8046635B2 (en) 2007-04-11 2011-10-25 Rohm Co., Ltd. Data processing device and data control circuit for use therein
JP2009237712A (en) * 2008-03-26 2009-10-15 Fujitsu Ltd Circuit system and program
JP2008251013A (en) * 2008-04-02 2008-10-16 Nec Electronics Corp Semiconductor integrated circuit and control method
JP2010211665A (en) * 2009-03-12 2010-09-24 Rohm Co Ltd Data processor
US9424921B2 (en) 2010-08-26 2016-08-23 Semiconductor Energy Laboratory Co., Ltd. Signal processing circuit and method for driving the same
US9024669B2 (en) 2011-01-05 2015-05-05 Semiconductor Energy Laboratory Co., Ltd. Storage element, storage device, and signal processing circuit
KR20180118576A (en) 2011-01-05 2018-10-31 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Signal processing circuit
US9818749B2 (en) 2011-01-05 2017-11-14 Semiconductor Energy Laboratory Co., Ltd. Storage element, storage device, and signal processing circuit
US9330759B2 (en) 2011-01-05 2016-05-03 Semiconductor Energy Laboratory Co., Ltd. Storage element, storage device, and signal processing circuit
US9202567B2 (en) 2011-01-27 2015-12-01 Semiconductor Energy Laboratory Co., Ltd. Memory circuit
KR20120087087A (en) 2011-01-27 2012-08-06 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Memory circuit
US9064599B2 (en) 2011-02-10 2015-06-23 Semiconductor Energy Laboratory Co., Ltd. Memory circuit
US9508448B2 (en) 2011-03-08 2016-11-29 Semiconductor Energy Laboratory Co., Ltd. Memory element and signal processing circuit
US9767862B2 (en) 2011-03-08 2017-09-19 Semiconductor Energy Laboratory Co., Ltd. Memory element and signal processing circuit
US9355687B2 (en) 2011-03-11 2016-05-31 Semiconductor Energy Laboratory Co., Ltd. Storage circuit
US8958252B2 (en) 2011-03-24 2015-02-17 Semiconductor Energy Laboratory Co., Ltd. Signal processing circuit
DE112012001395B4 (en) 2011-03-24 2017-11-16 Semiconductor Energy Laboratory Co., Ltd. Signal processing circuit
DE112012001395T5 (en) 2011-03-24 2013-12-19 Semiconductor Energy Laboratory Co., Ltd Signal processing circuit
CN102737707B (en) * 2011-03-30 2016-12-14 株式会社半导体能源研究所 Semiconductor device and driving method thereof
US9076520B2 (en) 2011-03-30 2015-07-07 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof
CN102737707A (en) * 2011-03-30 2012-10-17 株式会社半导体能源研究所 Semiconductor device and driving method thereof
US8923076B2 (en) 2011-03-31 2014-12-30 Semiconductor Energy Laboratory Co., Ltd. Memory circuit, memory unit, and signal processing circuit
JP2012257203A (en) * 2011-04-15 2012-12-27 Semiconductor Energy Lab Co Ltd Semiconductor device and method of driving the same
US9231566B2 (en) 2011-04-15 2016-01-05 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof
KR20120117667A (en) 2011-04-15 2012-10-24 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device and driving method thereof
US9070776B2 (en) 2011-04-15 2015-06-30 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof
KR20120120039A (en) 2011-04-21 2012-11-01 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Signal processing circuit
US8929161B2 (en) 2011-04-21 2015-01-06 Semiconductor Energy Laboratory Co., Ltd. Signal processing circuit
KR20120127286A (en) 2011-05-13 2012-11-21 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Memory circuit and electronic device
JP2012257213A (en) * 2011-05-13 2012-12-27 Semiconductor Energy Lab Co Ltd Memory circuit and electronic appliance
US10090333B2 (en) 2011-05-19 2018-10-02 Semiconductor Energy Laboratory Co., Ltd. Arithmetic circuit and method of driving the same
KR20120130070A (en) 2011-05-20 2012-11-28 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Memory device and signal processing circuit
US9202814B2 (en) 2011-05-20 2015-12-01 Semiconductor Energy Laboratory Co., Ltd. Memory device and signal processing circuit
US9559105B2 (en) 2011-05-20 2017-01-31 Semiconductor Energy Laboratory Co., Ltd. Signal processing circuit
US9536574B2 (en) 2011-05-20 2017-01-03 Semiconductor Energy Laboratory Co., Ltd. Memory device and signal processing circuit
KR20120129793A (en) 2011-05-20 2012-11-28 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Memory device and signal processing circuit
US8964450B2 (en) 2011-05-20 2015-02-24 Semiconductor Energy Laboratory Co., Ltd. Memory device and signal processing circuit
US9336845B2 (en) 2011-05-20 2016-05-10 Semiconductor Energy Laboratory Co., Ltd. Register circuit including a volatile memory and a nonvolatile memory
KR20120129833A (en) 2011-05-20 2012-11-28 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device
US20130097609A1 (en) * 2011-10-12 2013-04-18 Qualcomm Incorporated System and Method for Determining Thermal Management Policy From Leakage Current Measurement
US8595520B2 (en) * 2011-10-12 2013-11-26 Qualcomm Incorporated System and method for determining thermal management policy from leakage current measurement
US10002580B2 (en) 2011-11-30 2018-06-19 Semiconductor Energy Laboratory Co., Ltd. Semiconductor display device
US9478704B2 (en) 2011-11-30 2016-10-25 Semiconductor Energy Laboratory Co., Ltd. Semiconductor display device
US9129667B2 (en) 2012-05-25 2015-09-08 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof
US9502094B2 (en) 2012-05-25 2016-11-22 Semiconductor Energy Laboratory Co., Ltd. Method for driving memory element
KR20130132271A (en) 2012-05-25 2013-12-04 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Method for driving memory element
US9135182B2 (en) 2012-06-01 2015-09-15 Semiconductor Energy Laboratory Co., Ltd. Central processing unit and driving method thereof
US8873308B2 (en) 2012-06-29 2014-10-28 Semiconductor Energy Laboratory Co., Ltd. Signal processing circuit
US9312851B2 (en) 2012-07-06 2016-04-12 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof
KR20140005788A (en) 2012-07-06 2014-01-15 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device and driving method thereof
US9054678B2 (en) 2012-07-06 2015-06-09 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof
US9083327B2 (en) 2012-07-06 2015-07-14 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and method of driving semiconductor device
KR20140005792A (en) 2012-07-06 2014-01-15 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device and method of driving semiconductor device
KR20150082408A (en) 2012-11-06 2015-07-15 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device and driving method thereof
US9064574B2 (en) 2012-11-06 2015-06-23 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof
KR20140101688A (en) 2013-02-12 2014-08-20 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device
US9064596B2 (en) 2013-02-12 2015-06-23 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device
US9536592B2 (en) 2013-03-14 2017-01-03 Semiconductor Energy Laboratory Co., Ltd. Memory device and semiconductor device
US9293186B2 (en) 2013-03-14 2016-03-22 Semiconductor Energy Laboratory Co., Ltd. Memory device and semiconductor device
US9245589B2 (en) 2013-03-25 2016-01-26 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device having Schmitt trigger NAND circuit and Schmitt trigger inverter
US10095584B2 (en) 2013-04-26 2018-10-09 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device
US9608005B2 (en) 2013-08-19 2017-03-28 Semiconductor Energy Laboratory Co., Ltd. Memory circuit including oxide semiconductor devices
US9979386B2 (en) 2014-02-28 2018-05-22 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device, method for driving the same, and electronic appliance
JP2015180052A (en) * 2014-02-28 2015-10-08 株式会社半導体エネルギー研究所 Semiconductor device, driving method therefor and electronic apparatus
KR20150102696A (en) 2014-02-28 2015-09-07 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device, method for driving the same, and electronic appliance
US9225329B2 (en) 2014-03-07 2015-12-29 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device, driving method thereof, and electronic appliance
KR20150105227A (en) 2014-03-07 2015-09-16 가부시키가이샤 한도오따이 에네루기 켄큐쇼 Semiconductor device, driving method thereof, and electronic appliance
US9859905B2 (en) 2014-09-26 2018-01-02 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device, wireless sensor, and electronic device
US10193563B2 (en) 2014-09-26 2019-01-29 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device, wireless sensor, and electronic device
US9569713B2 (en) 2014-10-24 2017-02-14 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device, wireless sensor, and electronic device
US10334196B2 (en) 2016-01-25 2019-06-25 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device

Similar Documents

Publication Publication Date Title
JPH1078836A (en) Data processor
US7788558B2 (en) Semiconductor integrated circuit and control method thereof
JP4455547B2 (en) Semiconductor integrated circuit
KR100388550B1 (en) Changing the thread capacity of a multithreaded computer processor
KR100647526B1 (en) Zero overhead computer interrupts with task switching
US8484448B2 (en) Information processing device
US5793776A (en) Structure and method for SDRAM dynamic self refresh entry and exit using JTAG
US5870411A (en) Method and system for testing self-timed circuitry
KR20020011329A (en) Array-built-in-self-test(abist) for efficient, fast, bitmapping of large embedded arrays in manufacturing test
CN101617242A (en) I/O compression in the integrated circuit and pin reduce
JPH10143390A (en) Processing system with test mechanism
US8689068B2 (en) Low leakage current operation of integrated circuit using scan chain
JPH06109816A (en) Logical integrated circuit
JP4883621B2 (en) Semiconductor integrated circuit
JP2005158061A (en) Memory recovery method and memory device with recovery capability
JPH08321180A (en) Semiconductor memory device
US7913131B2 (en) Scan chain cell with delay testing capability
US20050182993A1 (en) Semiconductor integrated circuit device equipped with read sequencer and write sequencer
JP2002340986A (en) Semiconductor integrated circuit and failure detecting method of semiconductor integrated circuit
US7707445B2 (en) Integrated circuit
JP4176944B2 (en) Semiconductor integrated circuit and recording medium
JP2001243797A (en) Semiconductor device and test method
KR970011582B1 (en) Large-scale integrated circuit device
Zarrineh et al. Self test architecture for testing complex memory structures
JP3628545B2 (en) Built-in self-test circuit for memory devices