JP2011215853A - Semiconductor device and control method for the same - Google Patents

Semiconductor device and control method for the same Download PDF

Info

Publication number
JP2011215853A
JP2011215853A JP2010083004A JP2010083004A JP2011215853A JP 2011215853 A JP2011215853 A JP 2011215853A JP 2010083004 A JP2010083004 A JP 2010083004A JP 2010083004 A JP2010083004 A JP 2010083004A JP 2011215853 A JP2011215853 A JP 2011215853A
Authority
JP
Japan
Prior art keywords
processor
failure information
cpu
normal
semiconductor device
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
JP2010083004A
Other languages
Japanese (ja)
Inventor
Tomohiro Iwashita
智博 岩下
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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2010083004A priority Critical patent/JP2011215853A/en
Publication of JP2011215853A publication Critical patent/JP2011215853A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a semiconductor device in which the configuration is simplified and the yield is improved.SOLUTION: Fuses 122, 132 store information whether a CPU 120 and a CPU 130 are normal respectively. When the fuse 122 stores information concerned with failure, the CPU 120 is not started. When the fuse 122 stores information concerned with normality, the CPU 120 is started, and after starting the CPU 120, the CPU 130 is controlled not to be started. When the fuse 132 stores information concerned with failure, the CPU 130 is not started. When the fuse 132 stores information concerned with normality, the CPU 130 is started, and after starting the CPU 130, the fuse 122 is referred to, and when the fuse 122 stores information concerned with normality, the CPU 130 is controlled not to be started. When the fuse 122 stores information concerned with failure, processing of the CPU 130 is continued and the CPU 120 is controlled not to be started.

Description

本発明は半導体装置及びその制御方法に関し、特にマルチプロセッサコア型のCPU(Central Processing Unit)を搭載した半導体装置及びその制御方法に関する。   The present invention relates to a semiconductor device and a control method thereof, and more particularly to a semiconductor device equipped with a multiprocessor core type CPU (Central Processing Unit) and a control method thereof.

現在、プロセッサコアを複数搭載したマルチプロセッサコア型の半導体装置が広く普及している。当該半導体装置においては、複数のプロセッサコアを搭載するためにダイサイズが増大する。ダイサイズの増大により、半導体装置の製造時における歩留まりの低下が問題となっている。   Currently, multiprocessor core type semiconductor devices having a plurality of processor cores are widely used. In the semiconductor device, since a plurality of processor cores are mounted, the die size increases. Due to the increase in die size, there is a problem of a decrease in yield at the time of manufacturing a semiconductor device.

しかしマルチプロセッサコア型の半導体装置であっても、その使用用途によっては搭載されたプロセッサコアの全てを使用しない場合がある。このように一部のプロセッサコアのみを使用すればよい場合、製造工程においていくつかのプロセッサコアに故障があっても、故障していないプロセッサコアのみを使うように制御をする機構を持つことにより良品の半導体装置として出荷することが可能である。   However, even a multiprocessor core type semiconductor device may not use all of the installed processor cores depending on the intended use. When it is sufficient to use only some of the processor cores in this way, even if some processor cores have a failure in the manufacturing process, by having a mechanism that controls to use only the processor cores that have not failed It can be shipped as a good semiconductor device.

特許文献1には、半導体製造時の部分コア良品チップの救済による歩留まりの向上を可能とする技術が開示されている。図7は、特許文献1に記載のマルチコアプロセッサの構成を示すブロック図である。   Patent Document 1 discloses a technique that can improve the yield by relieving a partial core non-defective chip during semiconductor manufacturing. FIG. 7 is a block diagram showing the configuration of the multi-core processor described in Patent Document 1.

特許文献1に記載のマルチコアプロセッサでは、半導体製造時のウェハーテストにて各コアプロセッサの良否状態をヒューズに反映する。あるコアプロセッサが不良状態である場合、当該コアプロセッサに対応するヒューズが切断される。一方、あるコアプロセッサが不良状態ではない場合、当該コアプロセッサに対応するヒューズは切断されない。   In the multi-core processor described in Patent Document 1, the pass / fail state of each core processor is reflected in the fuse in a wafer test during semiconductor manufacturing. When a certain core processor is in a defective state, a fuse corresponding to the core processor is cut. On the other hand, when a certain core processor is not in a defective state, the fuse corresponding to the core processor is not cut.

ヒューズが切断されている場合、論理ゲート91n(nは1以上の整数)が遮断される。これにより、JTAG(Joint Test Action Group)インターフェイスを介して入力されたロードデータ等は、設定用レジスタ(911または912)に対して書き込まれない。ロードデータ等が書き込まれないことにより、正常稼働可能なコアプロセッサのみが動作する。   When the fuse is blown, the logic gate 91n (n is an integer of 1 or more) is cut off. As a result, load data or the like input via a JTAG (Joint Test Action Group) interface is not written to the setting register (911 or 912). Only the core processor that can operate normally operates by not loading the load data or the like.

特開2006−003949号公報JP 2006-003949 A

しかしながら、特許文献1に記載のマルチコアプロセッサには、以下の問題がある。特許文献1に記載のマルチコアプロセッサでは、JTAGインターフェイスを介して入力される制御信号が全てのコアブロック(Core-n Block)に対する共通の制御信号となってしまう。そのため、各コアブロックに対する個別の制御を行うためには、制御を行いたい回路に対応する専用回路が必要となる。これにより、回路の制御方法が複雑になる。   However, the multi-core processor described in Patent Document 1 has the following problems. In the multi-core processor described in Patent Document 1, a control signal input via the JTAG interface becomes a common control signal for all core blocks (Core-n Block). Therefore, in order to perform individual control for each core block, a dedicated circuit corresponding to the circuit to be controlled is required. This complicates the circuit control method.

また、特許文献1に記載の技術では、各コアブロックを制御するための専用の内部論理(図中の900)が必要となる。当該内部論理の作りこみが必要となるため、半導体装置の設計が複雑になってしまう。さらにまた、既存のコアブロックから異なる種別のコアブロックを用いた半導体装置を設計する場合、新たな制御回路(図7中の900相当部分)を新たに設計開発する必要性が生じる。   In the technique described in Patent Document 1, dedicated internal logic (900 in the figure) for controlling each core block is required. Since it is necessary to create the internal logic, the design of the semiconductor device becomes complicated. Furthermore, when designing a semiconductor device using a different type of core block from existing core blocks, a new control circuit (a portion corresponding to 900 in FIG. 7) needs to be newly designed and developed.

本発明にかかる半導体装置の一態様は、第1の優先順位を有する第1のプロセッサと、前記第1のプロセッサが正常か否かを示す第1の故障情報を記憶する第1の記憶部と、電源投入時に前記第1の故障情報が正常である事を示す値である場合には前記第1のプロセッサを起動させ、前記第1の故障情報が正常でないことを示す値である場合には前記第1のプロセッサを起動させない第1の制御部と、前記第1の優先順位より低い第2の優先順位を有する第2のプロセッサと、前記第2のプロセッサが正常か否かを示す第2の故障情報を記憶する第2の記憶部と、電源投入時に前記第2の故障情報が正常である事を示す値である場合には前記第2のプロセッサを起動させ、前記第2の故障情報が正常でないことを示す値である場合には前記第2のプロセッサを起動させない第2の制御部と、を有し、前記第1のプロセッサは、起動時に前記第2のプロセッサの動作を停止させた後に前記第1プロセッサで処理を継続すると共に、前記第2プロセッサは、起動時に前記第1の故障情報を参照し、前記第1の故障情報が正常でないことを示す値である場合には、前記第2のプロセッサで前記処理を継続することを特徴とするものである。   One aspect of the semiconductor device according to the present invention includes a first processor having a first priority, and a first storage unit that stores first failure information indicating whether or not the first processor is normal. When the first failure information is a value indicating that the first failure information is normal when the power is turned on, the first processor is activated, and when the first failure information is a value indicating that the failure information is not normal. A first control unit that does not activate the first processor; a second processor having a second priority lower than the first priority; and a second that indicates whether the second processor is normal A second storage unit that stores the failure information of the second, and when the second failure information is a value indicating normality when the power is turned on, the second processor is started, and the second failure information Is a value indicating that it is not normal, A second control unit that does not start the processor of the first processor, and the first processor continues the processing in the first processor after stopping the operation of the second processor at the time of startup, and the second processor The two processors refer to the first failure information at the time of start-up, and when the first failure information is a value indicating that it is not normal, the second processor continues the processing. To do.

本発明においては、第1の記憶部及び第2の記憶部が、プロセッサが正常か否かを示す故障情報を記憶し、当該情報を用いてプロセッサの起動処理の制御及び処理の継続の制御を行う。この記憶部に記憶された情報を用いることにより正常なプロセッサのみが動作するように制御されるため、半導体装置の歩留まりの向上が実現される。また、本発明にかかる半導体装置は上述の記憶部を備えることのみにより、正常なプロセッサが動作するように制御可能である。よって回路構成の単純化が図れる。   In the present invention, the first storage unit and the second storage unit store failure information indicating whether or not the processor is normal, and control the startup process of the processor and the control of the continuation of the process using the information. Do. By using the information stored in the storage unit, it is controlled so that only a normal processor operates, so that the yield of the semiconductor device can be improved. In addition, the semiconductor device according to the present invention can be controlled so that a normal processor operates only by including the above-described storage unit. Therefore, the circuit configuration can be simplified.

本発明によれば、回路構成が単純化され、かつ、歩留まり向上が可能となる半導体装置を提供することが可能となる。   According to the present invention, it is possible to provide a semiconductor device in which the circuit configuration is simplified and the yield can be improved.

実施の形態1にかかる半導体装置の構成を示す図である。1 is a diagram illustrating a configuration of a semiconductor device according to a first embodiment; 実施の形態1にかかる半導体装置の選別処理を示す図である。FIG. 6 is a diagram showing a semiconductor device sorting process according to the first embodiment; 実施の形態1にかかるCPU1、2がともに故障していない場合の半導体装置の動作を示すフローチャートである。3 is a flowchart showing the operation of the semiconductor device when both of the CPUs 1 and 2 according to the first embodiment have not failed. 実施の形態1にかかるCPU2のみが故障している場合の半導体装置の動作を示すフローチャートである。3 is a flowchart showing the operation of the semiconductor device when only the CPU 2 according to the first embodiment is faulty. 実施の形態1にかかるCPU1のみが故障している場合の半導体装置の動作を示すフローチャートである。3 is a flowchart showing the operation of the semiconductor device when only the CPU 1 according to the first embodiment is faulty. 実施の形態2にかかる半導体装置の構成を示す図である。FIG. 3 is a diagram illustrating a configuration of a semiconductor device according to a second embodiment. 特許文献1に記載のマルチコアプロセッサの図である。1 is a diagram of a multi-core processor described in Patent Document 1. FIG.

実施の形態1
以下、図面を参照して本発明の実施の形態について説明する。以下の例では、CPUを二つ搭載したマルチプロセッサコア型の半導体装置を想定して説明する。図1は、本実施の形態にかかる半導体装置の構成を示す図である。図1には、半導体装置のハードウェア構成と、ソフトウェア処理と、が記載されている。
Embodiment 1
Embodiments of the present invention will be described below with reference to the drawings. In the following example, a multiprocessor core type semiconductor device having two CPUs will be described. FIG. 1 is a diagram illustrating a configuration of a semiconductor device according to the present embodiment. FIG. 1 shows a hardware configuration of a semiconductor device and software processing.

半導体装置100は、Reset制御回路110と、CPU1(120)と、CPUIDレジスタ121と、Fuse1(122)と、論理ゲート123と、CPU2(130)と、CPUIDレジスタ131と、Fuse2(132)と、論理ゲート133と、を備える。   The semiconductor device 100 includes a reset control circuit 110, a CPU 1 (120), a CPU ID register 121, a fuse 1 (122), a logic gate 123, a CPU 2 (130), a CPU ID register 131, and a fuse 2 (132). A logic gate 133.

Reset制御回路110は、CPU1(120)及びCPU2(130)に対してReset信号を供給するための制御回路である。CPU1(120)及びCPU2(130)は、プロセッサコアである。   The Reset control circuit 110 is a control circuit for supplying a Reset signal to the CPU 1 (120) and the CPU 2 (130). CPU1 (120) and CPU2 (130) are processor cores.

CPUIDレジスタ121は、CPU1(120)のプロセッサID(プロセッサを識別する識別子)を記憶するためのレジスタである。本例においてCPUIDレジスタ121には、CPU1(120)の識別子である"1"が記憶されている。同様に、CPUIDレジスタ131は、CPU2(130)のプロセッサIDを記憶するためのレジスタである。本例においてCPUIDレジスタ131には、CPU2(130)の識別子である"2"が記憶されている。CPUIDレジスタ121及びCPUIDレジスタ131の値は半導体装置100の製造時に設定され、書き換えられることが無い値である。   The CPU ID register 121 is a register for storing the processor ID (identifier for identifying the processor) of the CPU 1 (120). In this example, the CPU ID register 121 stores “1”, which is the identifier of the CPU 1 (120). Similarly, the CPU ID register 131 is a register for storing the processor ID of the CPU 2 (130). In this example, the CPU ID register 131 stores “2”, which is the identifier of the CPU 2 (130). The values of the CPUID register 121 and the CPUID register 131 are values that are set when the semiconductor device 100 is manufactured and are not rewritten.

Fuse1(122)は、CPU1(120)が正常か否かを示す故障情報を記憶する記憶部として動作する。Fuse1(122)の情報は、半導体装置100の製造時点において設定される。同様に、Fuse2(132)は、CPU2(130)が正常か否かを示す故障情報を記憶する記憶部として動作する。Fuse2(132)の情報は、半導体装置100の製造時点において設定される。Fuse1(122)及びFuse2(132)は、対応するCPUが正常ではない場合に切断される。   The Fuse 1 (122) operates as a storage unit that stores failure information indicating whether the CPU 1 (120) is normal. The information of Fuse 1 (122) is set when the semiconductor device 100 is manufactured. Similarly, Fuse2 (132) operates as a storage unit that stores failure information indicating whether the CPU2 (130) is normal. The information of Fuse 2 (132) is set when the semiconductor device 100 is manufactured. Fuse 1 (122) and Fuse 2 (132) are disconnected when the corresponding CPU is not normal.

論理ゲート123は、CPU1(120)に対してReset信号を供給する論理ゲートである。論理ゲート123は、Fuse1(122)が切断されている場合、すなわちCPU1(120)が正常ではない場合にReset信号をCPU1(120)に出力し続ける。Reset信号が入力されたCPU1(120)は、起動しない。   The logic gate 123 is a logic gate that supplies a Reset signal to the CPU 1 (120). The logic gate 123 continues to output the Reset signal to the CPU 1 (120) when the Fuse 1 (122) is disconnected, that is, when the CPU 1 (120) is not normal. The CPU 1 (120) to which the Reset signal is input does not start.

論理ゲート133は、CPU2(130)に対してReset信号を供給する論理ゲートである。論理ゲート133は、Fuse2(132)が切断されている場合、すなわちCPU2(130)が正常ではない場合にReset信号をCPU2(130)に出力し続ける。Reset信号が入力されたCPU2(130)は、起動しない。   The logic gate 133 is a logic gate that supplies a Reset signal to the CPU 2 (130). The logic gate 133 continues to output the Reset signal to the CPU 2 (130) when the Fuse 2 (132) is disconnected, that is, when the CPU 2 (130) is not normal. The CPU 2 (130) to which the Reset signal is input does not start.

次に、各CPUの起動時に実行されるソフトウェアの制御について図1(B)を用いて説明する。各CPUは、対応するFuseが切断されていない場合に起動する(S1)。対応するFuseが切断されている場合、各CPUにはReset信号が供給されるため、当該CPUは起動することが出来ない。各CPUは、起動が成功した場合にリセットベクタに書き込まれている命令を実行する。   Next, software control executed when each CPU is activated will be described with reference to FIG. Each CPU is activated when the corresponding Fuse is not disconnected (S1). When the corresponding Fuse is disconnected, a Reset signal is supplied to each CPU, so that the CPU cannot be activated. Each CPU executes the instruction written in the reset vector when the activation is successful.

起動(S1)の後に、各CPUは対応するCPUIDレジスタからCPUIDを読み出す(S2)。各CPUは、読み出したCPUIDから自身がCPU1(120)であるか否かを判定する(S3)。   After activation (S1), each CPU reads the CPUID from the corresponding CPUID register (S2). Each CPU determines whether it is CPU1 (120) from the read CPUID (S3).

起動したCPUがCPU1(120)である場合(S3:Yes)、当該CPUは、CPU2(130)をWFI(Wait For Interrupt)の状態に設定する(S4)。その後に、CPU1である当該CPUは通常処理に移行する。   When the activated CPU is the CPU 1 (120) (S3: Yes), the CPU sets the CPU 2 (130) to a WFI (Wait For Interrupt) state (S4). Thereafter, the CPU which is the CPU 1 shifts to normal processing.

一方、起動したCPUがCPU1(120)ではない場合(S3:No)、当該CPUはFuse1(122)を読み出す(S6)。起動した当該CPUは、読み出したFuse1(122)の状態からCPU1(120)が故障している(Fail状態)か否かを判定する(S7)。   On the other hand, when the activated CPU is not CPU1 (120) (S3: No), the CPU reads Fuse1 (122) (S6). The activated CPU determines whether or not the CPU 1 (120) is out of order (Fail state) from the state of the read Fuse 1 (122) (S7).

CPU1(120)が故障している場合(S7:Yes)、起動したCPUはCPU1(120)をWFI状態に設定し(S8)、通常処理に移行する。一方、CPU1(120)が故障していない場合(S7:No)、当該CPUは自身をWFI状態に設定する(S10)。   When the CPU 1 (120) is out of order (S7: Yes), the activated CPU sets the CPU 1 (120) to the WFI state (S8) and shifts to normal processing. On the other hand, when the CPU 1 (120) has not failed (S7: No), the CPU sets itself to the WFI state (S10).

続いて、本実施の形態にかかる半導体装置の選別処理について図2を用いて説明する。本例では、選別対象となる半導体装置の各CPUに対応するFuseには、製造時の故障情報が反映されている。すなわち、製造時に故障しているCPUに対応するFuseは切断されている。なお、各CPUが故障しているか否かは例えばウェハーテストの結果により判断される。   Next, the semiconductor device sorting process according to the present embodiment will be described with reference to FIG. In this example, the failure information at the time of manufacture is reflected in the Fuse corresponding to each CPU of the semiconductor device to be selected. That is, the Fuse corresponding to the CPU that has failed during manufacture is disconnected. Whether or not each CPU has failed is determined, for example, from the result of a wafer test.

選別時には、選別対象の半導体装置のFuse1及びFuse2の状態を調べる。Fuse1及びFuse2が共にFail状態(切断されている状態)ではない場合、当該半導体装置はマルチコア対応製品としても、シングルコア対応製品としても出荷することが可能である。   At the time of sorting, the states of Fuse 1 and Fuse 2 of the semiconductor device to be sorted are examined. When both Fuse 1 and Fuse 2 are not in the Fail state (disconnected state), the semiconductor device can be shipped as a multi-core compatible product or a single-core compatible product.

Fuse1またはFuse2のいずれか一方がFail状態(切断されている状態)である場合、当該半導体装置はシングルコア対応製品として出荷が可能である。この場合、Fail状態ではないFuseに対応づけられたCPUが動作する。   When either Fuse 1 or Fuse 2 is in a Fail state (a disconnected state), the semiconductor device can be shipped as a single core compatible product. In this case, the CPU associated with the Fuse that is not in the Fail state operates.

Fuse1及びFuse2がFail状態(切断されている状態)である場合、当該半導体装置はシングルコア対応製品としても、マルチコア対応製品としても動作することが出来ない。そのため、当該半導体装置は出荷することが出来ない。   When Fuse 1 and Fuse 2 are in the Fail state (disconnected state), the semiconductor device cannot operate as a single-core compatible product or a multi-core compatible product. Therefore, the semiconductor device cannot be shipped.

次に、本実施の形態にかかる半導体装置において、CPU1、2がともに故障していなかった場合、すなわちFuse1及びFuse2が切断されていない場合の処理フローについて図3を用いて説明する。   Next, in the semiconductor device according to the present embodiment, a processing flow when both the CPUs 1 and 2 have not failed, that is, when Fuse 1 and Fuse 2 are not disconnected will be described with reference to FIG.

CPU1は、Fuse1が切断されていないため、起動する(S1)。起動したCPU1は、リセットベクタに格納されている処理内容をプログラムカウンタにセットし、実行する。続いてCPU1は、CPUIDを読み込む(S2)。ここで、CPU1が読み込んだCPUIDは"CPU1"にかかるものであるため(S3:Yes)、CPU1はCPU2をWFIの状態に設定する(S4)。そして、CPU1は通常処理に移行する(S5)。   The CPU 1 is activated because Fuse 1 is not disconnected (S1). The activated CPU 1 sets the processing content stored in the reset vector in the program counter and executes it. Subsequently, the CPU 1 reads the CPU ID (S2). Here, since the CPU ID read by the CPU 1 is related to “CPU 1” (S3: Yes), the CPU 1 sets the CPU 2 to the WFI state (S4). Then, the CPU 1 shifts to normal processing (S5).

CPU2は、Fuse2が切断されていないため、起動する(S1)。起動したCPU2はリセットベクタに格納されている処理に内容をプログラムカウンタにセットし、実行する。続いてCPU1は、CPUIDを読み込む(S2)。ここで、CPU1が読み込んだCPUIDは"CPU1"にかかるものではないため(S3:No)、CPU1に対応するFuseを読み込む(S6)。Fuseは切断されていないため、CPU2はCPU1が正常であると判定し(S7:No)、CPU2はCPU2自身をWFI状態に設定する(S10)。   The CPU 2 is activated because the Fuse 2 is not disconnected (S1). The activated CPU 2 sets the contents of the processing stored in the reset vector in the program counter and executes them. Subsequently, the CPU 1 reads the CPU ID (S2). Here, since the CPU ID read by the CPU 1 is not related to “CPU 1” (S3: No), the Fuse corresponding to the CPU 1 is read (S6). Since the Fuse is not disconnected, the CPU 2 determines that the CPU 1 is normal (S7: No), and the CPU 2 sets itself to the WFI state (S10).

次に、本実施の形態にかかる半導体装置において、CPU2のみが故障していた場合、すなわちFuse2のみが切断されていた場合の処理フローについて図4を用いて説明する。   Next, in the semiconductor device according to the present embodiment, a processing flow when only the CPU 2 has failed, that is, only the Fuse 2 has been disconnected will be described with reference to FIG.

CPU1は、Fuse1が切断されていないため、起動し(S1)、CPUIDを読み込む(S2)。ここで、CPU1が読み込んだCPUIDは"CPU1"にかかるものであるため(S3:Yes)、CPU1はCPU2をWFIの状態に設定する(S4)。そして、CPU1は通常処理に移行する(S5)。   Since Fuse 1 is not disconnected, CPU 1 starts up (S 1) and reads the CPU ID (S 2). Here, since the CPU ID read by the CPU 1 is related to “CPU 1” (S3: Yes), the CPU 1 sets the CPU 2 to the WFI state (S4). Then, the CPU 1 shifts to normal processing (S5).

次にCPU2にかかる動作ついて説明する。Fuse2が切断されているため、CPU2は常にReset状態、すなわち起動しないように制御される。CPU2は起動しないため、CPUIDの読み込み等の処理は実行されない。これにより、CPU2のみが製造時点において故障していた場合、CPU1のみが正常動作するように制御される。   Next, the operation of the CPU 2 will be described. Since Fuse 2 is disconnected, CPU 2 is always controlled to be in the Reset state, that is, not activated. Since the CPU 2 is not activated, processing such as reading of the CPU ID is not executed. Thus, when only the CPU 2 has failed at the time of manufacture, only the CPU 1 is controlled to operate normally.

次に、本実施の形態にかかる半導体装置において、CPU1のみが故障していた場合、すなわちFuse1のみが切断されていた場合の処理フローについて図5を用いて説明する。   Next, in the semiconductor device according to the present embodiment, a processing flow when only the CPU 1 has failed, that is, only the Fuse 1 has been disconnected will be described with reference to FIG.

まず、CPU1にかかる動作ついて説明する。Fuse1が切断されているため、CPU1は常にReset状態、すなわち起動しないように制御される。このため、CPUIDの読み込み等の処理は実行されない。   First, the operation of the CPU 1 will be described. Since Fuse 1 is disconnected, CPU 1 is always controlled to be in the Reset state, that is, not activated. For this reason, processing such as reading of the CPUID is not executed.

次にCPU2にかかる動作について説明する。CPU2は、Fuse2が切断されていないため、起動する(S1)。起動したCPU2は、自身のCPUIDを読み込む(S2)。ここで、CPU2が読み込んだCPUIDは"CPU2"にかかるものであるため(S3:No)、CPU1に対応するFuse1の状態を読み込む(S6)。CPU1は前述のように故障しているため、Fuse1は切断されている。そのため、CPU2はCPU1が正常ではないと判断する(S7:Yes)。CPU1が正常ではないため、CPU2はCPU1をWFIの状態に設定する(S8)。その後、CPU2は通常処理に移行する(S9)。   Next, the operation | movement concerning CPU2 is demonstrated. The CPU 2 is activated because the Fuse 2 is not disconnected (S1). The activated CPU 2 reads its own CPU ID (S2). Here, since the CPU ID read by the CPU 2 is related to “CPU 2” (S3: No), the state of Fuse 1 corresponding to the CPU 1 is read (S6). Since CPU 1 has failed as described above, Fuse 1 is disconnected. Therefore, the CPU 2 determines that the CPU 1 is not normal (S7: Yes). Since the CPU 1 is not normal, the CPU 2 sets the CPU 1 to the WFI state (S8). Thereafter, the CPU 2 shifts to normal processing (S9).

上述のように、CPU1のみが正常ではない場合、通常は動作しないCPU2が動作することになる。これにより、CPU1のみが故障状態であっても、シングルコアプロセッサとして正常動作することが出来る。   As described above, when only the CPU 1 is not normal, the CPU 2 that does not normally operate operates. Thereby, even if only the CPU 1 is in a failure state, it can operate normally as a single core processor.

続いて本実施の形態にかかる半導体装置の効果について説明する。上述のように本実施の形態にかかる半導体装置は、各CPUに対してFuse等の記憶部のみを備え、当該記憶部に記憶された故障情報を用いて各CPUを起動する。起動した後の各CPUは、他のCPUの故障情報に応じて制御が行われる。   Next, effects of the semiconductor device according to the present embodiment will be described. As described above, the semiconductor device according to the present embodiment includes only a storage unit such as a fuse for each CPU, and activates each CPU using the failure information stored in the storage unit. Each CPU after activation is controlled according to the failure information of the other CPUs.

また上述のCPUの制御は、ソフトウェアを用いることにより実現される。そのため、ハードウェアによる複雑な制御を行う必要が無くなる。また、制御を行うためのハードウェア構成が不要となるため、回路構成が単純化する。回路構成が単純化することにより、回路規模が縮小するという効果も奏する。   The control of the CPU described above is realized by using software. Therefore, it is not necessary to perform complicated control by hardware. In addition, since a hardware configuration for performing control is not necessary, the circuit configuration is simplified. By simplifying the circuit configuration, the circuit scale can be reduced.

さらにまた、半導体装置の設計変更により、異なるIPコア(半導体装置を構成するための部分的な回路情報)、すなわち異なる種類のCPUを使う場合であっても、上述の制御を行うソフトウェアを適用することが可能である。これにより、上述の制御処理の開発工数を削減することが可能となる。   Furthermore, software for performing the above-described control is applied even when different IP cores (partial circuit information for configuring the semiconductor device), that is, different types of CPUs are used due to a design change of the semiconductor device. It is possible. Thereby, it becomes possible to reduce the development man-hour of the above-mentioned control processing.

実施の形態2
本発明の実施の形態2にかかる半導体装置は、正常ではないCPUに対して電源供給を行わないことを特徴とする。図6を参照して、本実施の形態にかかる半導体装置の構成を説明する。なお、図6において、同一名及び同一符号を付した処理部は実施の形態1と基本的に同じ処理を行う。
Embodiment 2
The semiconductor device according to the second embodiment of the present invention is characterized in that power is not supplied to an abnormal CPU. The configuration of the semiconductor device according to the present embodiment will be described with reference to FIG. In FIG. 6, processing units having the same name and the same reference numerals perform basically the same processing as in the first embodiment.

図6は、本実施の形態にかかる半導体装置の構成を示す図である。本実施の形態にかかる半導体装置は、Reset制御回路110にかわり電源制御回路140を備える。電源制御回路140は、各CPUに対して電源を供給するために動作する制御回路である。また、各CPUに対応する電源スイッチ(151、152)を備える。   FIG. 6 is a diagram showing a configuration of the semiconductor device according to the present embodiment. The semiconductor device according to the present embodiment includes a power supply control circuit 140 instead of the Reset control circuit 110. The power supply control circuit 140 is a control circuit that operates to supply power to each CPU. In addition, power switches (151 and 152) corresponding to each CPU are provided.

電源スイッチ151は、CPU1(120)に対する電源の供給を制御する電源スイッチである。電源スイッチ152は、CPU2(130)に対する電源の供給を制御する電源スイッチである。電源スイッチ151、152は、対応するFuseが切断されている場合にOFFの状態となる。すなわち、各電源スイッチに対して、正常ではないCPUに対しての電源が遮断されるように制御する制御信号が入力される。一方、対応するFuseが切断されていない場合、電源スイッチはONの状態となる。すなわち、各電源スイッチに対して、正常なCPUに対しては電源を供給するように制御する制御信号が入力される。   The power switch 151 is a power switch that controls supply of power to the CPU 1 (120). The power switch 152 is a power switch that controls supply of power to the CPU 2 (130). The power switches 151 and 152 are turned off when the corresponding fuse is disconnected. That is, a control signal for controlling the power supply to the abnormal CPU is input to each power switch. On the other hand, when the corresponding Fuse is not disconnected, the power switch is turned on. That is, a control signal for controlling power supply to a normal CPU is input to each power switch.

続いて、本実施の形態にかかる半導体装置の効果について説明する。上述のように本実施の形態にかかる半導体装置は、正常ではないCPUに対しては電源供給を行わないように制御を行う。これにより、必要な電源の供給のみが行われることとなり、消費電力の削減が図れる。   Next, effects of the semiconductor device according to this embodiment will be described. As described above, the semiconductor device according to this embodiment performs control so that power is not supplied to an abnormal CPU. As a result, only necessary power is supplied, and power consumption can be reduced.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。たとえば、半導体装置が備えるCPUの個数は、2つに限られず、任意の数のCPUを備えることが出来る。3つ以上のCPUを備える半導体装置の制御例の概略について以下に説明する。   Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention. For example, the number of CPUs provided in the semiconductor device is not limited to two, and an arbitrary number of CPUs can be provided. An outline of a control example of a semiconductor device including three or more CPUs will be described below.

CPU1が正常である場合、CPU1は起動するとともに他のCPUを全てWFI状態に設定する。一方、CPU1が正常ではない場合、例えばCPU1に続いて優先順位の高いCPU2が正常であれば起動し、かつ他のCPUを全てWFI状態に設定する。CPU1及びCPU2が正常ではない場合、次に優先順位の高いCPUが起動する。すなわち、優先順位の高い順に起動し、起動したCPUよりも優先順位が低いCPUをWFI状態に設定する。優先順位が低いプロセッサが起動した場合には、自身よりも優先順位が高いプロセッサがある場合には自らをWFI状態に設定する。以上の処理により所望の制御が可能となる。なお、優先順位は予め定められているものとする。   When the CPU 1 is normal, the CPU 1 is activated and all other CPUs are set to the WFI state. On the other hand, if the CPU 1 is not normal, for example, if the CPU 2 with higher priority following the CPU 1 is normal, the CPU 1 is activated and all other CPUs are set to the WFI state. If CPU1 and CPU2 are not normal, the CPU with the next highest priority is activated. That is, the CPUs are activated in the order of higher priority, and CPUs with lower priority than the activated CPU are set in the WFI state. When a processor with a lower priority is activated, if there is a processor with a higher priority than itself, it sets itself to the WFI state. Desired control becomes possible by the above processing. Note that the priority order is determined in advance.

100 半導体装置
110 Reset制御回路
120、130 CPU
121、131 CPUIDレジスタ
122、132 Fuse
123、133 論理ゲート
140 電源制御回路
151、152 電源スイッチ
100 Semiconductor Device 110 Reset Control Circuit 120, 130 CPU
121, 131 CPUID register 122, 132 Fuse
123, 133 Logic gate 140 Power control circuit 151, 152 Power switch

Claims (11)

第1の優先順位を有する第1のプロセッサと、
前記第1のプロセッサが正常か否かを示す第1の故障情報を記憶する第1の記憶部と、
電源投入時に前記第1の故障情報が正常である事を示す値である場合には前記第1のプロセッサを起動させ、前記第1の故障情報が正常でないことを示す値である場合には前記第1のプロセッサを起動させない第1の制御部と、
前記第1の優先順位より低い第2の優先順位を有する第2のプロセッサと、
前記第2のプロセッサが正常か否かを示す第2の故障情報を記憶する第2の記憶部と、
電源投入時に前記第2の故障情報が正常である事を示す値である場合には前記第2のプロセッサを起動させ、前記第2の故障情報が正常でないことを示す値である場合には前記第2のプロセッサを起動させない第2の制御部と、
を有し、
前記第1のプロセッサは、起動時に前記第2のプロセッサの動作を停止させた後に前記第1プロセッサで処理を継続すると共に、前記第2プロセッサは、起動時に前記第1の故障情報を参照し、前記第1の故障情報が正常でないことを示す値である場合には、前記第2のプロセッサで前記処理を継続することを特徴とする半導体装置。
A first processor having a first priority;
A first storage unit that stores first failure information indicating whether or not the first processor is normal;
When the first failure information is a value indicating that the first failure information is normal when the power is turned on, the first processor is activated, and when the first failure information is a value indicating that the first failure information is not normal, A first control unit that does not activate the first processor;
A second processor having a second priority lower than the first priority;
A second storage unit for storing second failure information indicating whether or not the second processor is normal;
When the second failure information is a value indicating that the second failure information is normal when the power is turned on, the second processor is started. When the second failure information is a value indicating that the second failure information is not normal, A second control unit that does not activate the second processor;
Have
The first processor continues processing in the first processor after stopping the operation of the second processor at the time of startup, and the second processor refers to the first failure information at the time of startup, If the first failure information is a value indicating that it is not normal, the second processor continues the processing.
前記第1のプロセッサは、前記第2のプロセッサの動作を停止させる場合に、前記第2のプロセッサをWFI(Wait For Interrupt)状態に設定することを特徴とする請求項1に記載の半導体装置。   The semiconductor device according to claim 1, wherein the first processor sets the second processor to a WFI (Wait For Interrupt) state when stopping the operation of the second processor. 前記第1の制御部は、電源投入時に前記第1の故障情報が正常ではないことを示す値である場合には、前記前記第1のプロセッサのリセット信号を活性化させた状態に固定することを特徴とする請求項1または請求項2に記載の半導体装置。   The first control unit fixes the reset signal of the first processor in an activated state when the first failure information is a value indicating that the first failure information is not normal when power is turned on. The semiconductor device according to claim 1, wherein: 前記第1のプロセッサへの電源の供給を制御する第1の電源スイッチをさらに有し、
前記第1の制御部は電源投入時に、前記第1の故障情報が正常でないことを示す値である場合には、前記第1のプロセッサへの電源の供給を停止することを特徴とする請求項1または請求項2に記載の半導体装置。
A first power switch for controlling supply of power to the first processor;
The power supply to the first processor is stopped when the first control unit is a value indicating that the first failure information is not normal when the power is turned on. 3. The semiconductor device according to claim 1 or 2.
第1の記憶部及び第2の記憶部はヒューズにより構成されていることを特徴とする請求項1乃至請求項4のいずれか1項に記載の半導体装置。   5. The semiconductor device according to claim 1, wherein the first storage unit and the second storage unit are configured by fuses. 6. 第1の優先順位を有する第1のプロセッサと、前記第1のプロセッサが正常か否かを示す第1の故障情報を記憶する第1の記憶部と、前記第1の優先順位より低い第2の優先順位を有する第2のプロセッサと、前記第2のプロセッサが正常か否かを示す第2の故障情報を記憶する第2の記憶部と、を備える半導体装置の制御方法であって、
電源投入時に前記第1の故障情報が正常である事を示す値である場合には前記第1のプロセッサを起動させ、前記第1の故障情報が正常でないことを示す値である場合には前記第1のプロセッサを起動させないように制御し、
電源投入時に前記第2の故障情報が正常である事を示す値である場合には前記第2のプロセッサを起動させ、前記第2の故障情報が正常でないことを示す値である場合には前記第2のプロセッサを起動させないように制御し、
前記第1のプロセッサの起動時に前記第2のプロセッサの動作を停止させた後に前記第1プロセッサで処理を継続し、前記第2のプロセッサの起動時に前記第1の故障情報を参照し、前記第1の故障情報が正常でないことを示す値である場合には、前記第2のプロセッサで前記処理を継続することを特徴とする半導体装置の制御方法。
A first processor having a first priority; a first storage for storing first failure information indicating whether or not the first processor is normal; and a second lower than the first priority A control method of a semiconductor device comprising: a second processor having a priority of: a second storage unit that stores second failure information indicating whether or not the second processor is normal;
When the first failure information is a value indicating that the first failure information is normal when the power is turned on, the first processor is activated, and when the first failure information is a value indicating that the first failure information is not normal, Control the first processor not to start,
When the second failure information is a value indicating that the second failure information is normal when the power is turned on, the second processor is started. When the second failure information is a value indicating that the second failure information is not normal, Control not to start the second processor,
The first processor continues processing after stopping the operation of the second processor when starting the first processor, refers to the first failure information when starting the second processor, and When the failure information of 1 is a value indicating that the failure information is not normal, the process is continued by the second processor.
前記第1のプロセッサの起動時に前記第2のプロセッサの動作を停止させる場合に、前記第2のプロセッサをWFI(Wait For Interrupt)状態に設定することを特徴とする請求項6に記載の半導体装置の制御方法。   7. The semiconductor device according to claim 6, wherein when the operation of the second processor is stopped when the first processor is started, the second processor is set to a WFI (Wait For Interrupt) state. Control method. 電源投入時に前記第1の故障情報が正常ではないことを示す値である場合には、前記前記第1のプロセッサのリセット信号を活性化させた状態に固定することを特徴とする請求項6または請求項7に記載の半導体装置の制御方法。   7. The reset signal of the first processor is fixed to an activated state when the first failure information is a value indicating that the first failure information is not normal when power is turned on. A method for controlling a semiconductor device according to claim 7. 電源投入時に、前記第1の故障情報が正常でないことを示す値である場合には、前記第1のプロセッサへの電源の供給を停止することを特徴とする請求項6または請求項7に記載の半導体装置の制御方法。   8. The power supply to the first processor is stopped when the first failure information is a value indicating that the first failure information is not normal when the power is turned on. Method for controlling a semiconductor device. 第1の記憶部及び第2の記憶部はヒューズにより構成されていることを特徴とする請求項6乃至請求項9のいずれか1項に記載の半導体装置。   The semiconductor device according to claim 6, wherein the first storage unit and the second storage unit are configured by fuses. 起動に関する優先順位を有する複数のプロセッサと、
前記複数のプロセッサの各々に対応づけられ、対応づけられたプロセッサが正常か否かを示す故障情報を記憶する複数の記憶部と、を有する半導体装置の制御方法であって、
電源投入時に前記故障情報が正常であることを示す値を保持する前記記憶部と対応するプロセッサを起動させ、前記故障情報が正常ではないことを示す値を保持する前記記憶部と対応するプロセッサを起動させないように制御し、
前記複数のプロセッサの一は、起動時に前記優先順位が最も高い場合には当該プロセッサで処理を継続し、他のプロセッサの前記優先順位が当該プロセッサの前記優先順位よりも高い場合に当該プロセッサでの処理を継続しないことを特徴とする半導体装置の制御方法。
A plurality of processors having priorities for activation;
A method for controlling a semiconductor device, comprising: a plurality of storage units that are associated with each of the plurality of processors and store failure information indicating whether or not the associated processors are normal;
A processor corresponding to the storage unit holding a value indicating that the failure information is normal when power is turned on, and a processor corresponding to the storage unit holding a value indicating that the failure information is not normal Control not to start,
One of the plurality of processors continues processing in the processor when the priority is highest at the time of startup, and in the processor when the priority of another processor is higher than the priority of the processor A method for controlling a semiconductor device, characterized in that the processing is not continued.
JP2010083004A 2010-03-31 2010-03-31 Semiconductor device and control method for the same Pending JP2011215853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010083004A JP2011215853A (en) 2010-03-31 2010-03-31 Semiconductor device and control method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010083004A JP2011215853A (en) 2010-03-31 2010-03-31 Semiconductor device and control method for the same

Publications (1)

Publication Number Publication Date
JP2011215853A true JP2011215853A (en) 2011-10-27

Family

ID=44945521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010083004A Pending JP2011215853A (en) 2010-03-31 2010-03-31 Semiconductor device and control method for the same

Country Status (1)

Country Link
JP (1) JP2011215853A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021005379A (en) * 2019-06-26 2021-01-14 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Method for detecting deep learning chip, device, electronic apparatus, and computer storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021005379A (en) * 2019-06-26 2021-01-14 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Method for detecting deep learning chip, device, electronic apparatus, and computer storage medium
JP6993472B2 (en) 2019-06-26 2022-01-13 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Methods, devices, electronic devices, and computer storage media for detecting deep learning chips
US11615296B2 (en) 2019-06-26 2023-03-28 Kunlunxin Technology (Beijing) Company Limited Methods, electronic devices, and computer storage media for testing depth learning chip

Similar Documents

Publication Publication Date Title
KR100388550B1 (en) Changing the thread capacity of a multithreaded computer processor
JP3706542B2 (en) Method and apparatus for dynamically updating processing core usage
JP4215393B2 (en) Integrated circuit repair method
JP3683838B2 (en) Method for continuing normal computer processing and multi-threaded computer system
US9063907B2 (en) Comparison for redundant threads
US7882277B2 (en) Processor, data transfer unit, multicore processor system
JP2006003949A (en) Multicore processor control method
JPS621031A (en) Data processor
JP2007011426A (en) Processor
JP2013225208A (en) Information processing apparatus, information processing method and program
JP4653838B2 (en) Arithmetic processing device, control method of arithmetic processing device, and control program
CN100451950C (en) Information processing apparatus and exception control circuit
JP2011215853A (en) Semiconductor device and control method for the same
KR101478907B1 (en) Signal processing circuit and testing apparatus using the same
JP2011065565A (en) Cache system and multiprocessor system
US20060195849A1 (en) Method for synchronizing events, particularly for processors of fault-tolerant systems
US10540222B2 (en) Data access device and access error notification method
KR20090107689A (en) Semiconductor device
JP5860265B2 (en) Semiconductor memory device and test method thereof
JP2001256044A (en) Data processor
JP2007026084A (en) Microprocessor
JPH10242288A (en) Semiconductor device and system
JP4853620B2 (en) Multiprocessor system and initial startup method and program
JP2000347758A (en) Information processor
US9342359B2 (en) Information processing system and information processing method