Semiconductor integrated circuit device
The integration of noise detection and protection circuits in semiconductor integrated circuits addresses the challenge of electromagnetic noise interference, ensuring stable operation and controlled recovery from noise-induced malfunctions.
Patent Information
- Application Number
- JP2023044388
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-10-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Conventional semiconductor integrated circuit devices struggle to completely prevent electromagnetic noise from entering and causing malfunctions, leading to fatal errors such as freezing or dangerous control.
Incorporation of a noise detection signal generation circuit that generates a detection signal when noise is detected, coupled with protection circuits that isolate internal and external circuits from the noise influence, including system resets, clock gating, input/output terminal management, and emergency stop/recovery processes.
Effectively protects internal and external circuits from electromagnetic noise, preventing malfunctions and ensuring stable operation by isolating circuits during noise events and facilitating controlled recovery.
Smart Images

Figure 2024134199000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a semiconductor integrated circuit device having a function for reducing malfunctions caused by the intrusion of electromagnetic noise. [Background technology]
[0002] In order to prevent the intrusion of electromagnetic noise, conventional semiconductor integrated circuit devices are provided with filters such as decoupling capacitors inside and outside the device, or an electromagnetic shield is implemented to allow the electromagnetic noise to flow to ground, thereby reducing the amount of electromagnetic noise propagating inside the semiconductor integrated circuit device.
[0003] However, there is a limit to how much the above methods can reduce the electromagnetic noise that penetrates into a semiconductor integrated circuit device, and it is difficult to completely prevent it. Therefore, if the electromagnetic noise exceeds a certain level, it will propagate into the semiconductor integrated circuit device, causing the circuit to malfunction, and may result in fatal errors such as freezing, runaway, or dangerous control that is normally prohibited.
[0004] The following Patent Document 1 discloses a noise detection circuit provided in a semiconductor integrated circuit device. This noise detection circuit applies a bias voltage to one input of an operational amplifier, inputs noise superimposed on the bias voltage to the other input, and connects a latch circuit to the output of the operational amplifier, so that when noise enters, the latch circuit operates to detect the noise. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2013-258587 A Summary of the Invention [Problem to be solved by the invention]
[0006] The invention disclosed in Patent Document 1 is intended to stop the supply of voltage to the core logic when noise is detected in order to return a semiconductor integrated circuit device that has fallen into a latch-up state to a normal operating state, and is not intended to protect the semiconductor integrated circuit device from noise itself.
[0007] SUMMARY OF THE PRESENT DISCLOSURE In view of the above circumstances, an object of the present invention is to provide a semiconductor integrated circuit device capable of protecting an internal circuit or an external circuit from electromagnetic noise entering the semiconductor integrated circuit device. [Means for solving the problem]
[0008] In order to solve the above problems, a semiconductor integrated circuit device according to the present invention includes a noise detection signal generating circuit that generates a detection signal when noise is detected, and a protection circuit that puts a circuit to be protected into a state in which it is free from the effects of noise in response to the detection signal generated by the noise detection signal generating circuit. Effect of the Invention
[0009] According to the present invention, it is possible to provide a semiconductor integrated circuit device capable of protecting an internal circuit or an external circuit from electromagnetic noise entering the semiconductor integrated circuit device. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1A is a diagram showing an example of a noise detection circuit according to an embodiment, and FIG. 1B is a diagram showing another example of a noise detection circuit according to an embodiment. [Diagram 2] FIG. 2A is a diagram showing a part of the configuration of the semiconductor integrated circuit device of the first embodiment, and FIG. 2B is a time chart showing the operation of the semiconductor integrated circuit device of FIG. 2A when detecting noise. [Diagram 3] FIG. 3A is a diagram showing a part of the configuration of a semiconductor integrated circuit device of the second embodiment, and FIG. 3B is a time chart showing the operation of the semiconductor integrated circuit device of FIG. 3A when detecting noise. [Figure 4]FIG. 4A is a diagram showing a part of the configuration of a semiconductor integrated circuit device of the third embodiment, and FIG. 4B is a time chart showing the operation of the semiconductor integrated circuit device of FIG. 4A when detecting noise. [Diagram 5] FIG. 5 is a diagram showing a part of the configuration of the semiconductor integrated circuit device of the fourth embodiment. [Figure 6] FIG. 6 shows an address map matrix for data held in the backtrace memory constituting the semiconductor integrated circuit device of the fourth embodiment. [Figure 7] FIG. 7 is a time chart showing the operation of the semiconductor integrated circuit device 400 of the fourth embodiment when detecting noise. [Figure 8] FIG. 8 shows an image of address transition in a program memory when the CPU of the semiconductor integrated circuit device of the fourth embodiment processes a program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0012] The semiconductor integrated circuit devices 100, 200, 300, and 400 of the first to fourth embodiments described below each have a noise detection signal generating circuit 20 as shown in FIG. 1(A) and FIG. 1(B). The noise detection signal generating circuit 20 is provided inside the semiconductor integrated circuit devices 100, 200, 300, and 400, and is connected to a noise receiving unit 10A provided outside as shown in FIG. 1(A), and generates a detection signal when noise is detected. The noise receiving unit 10A in FIG. 1(A) is, for example, a device in which a conductor or a lead is wound several times in a loop shape and capacitors are connected to both ends of the device to output a change in electromagnetic waves as a change in current. Alternatively, the noise detection signal generating circuit 20 may be connected to a known electromagnetic wave detector 10B as shown in FIG. 1(B). The electromagnetic wave detector 10B may be a detector that detects noise by comparing a fluctuation in the voltage value of a power supply voltage with a reference voltage using a comparator, or may be another external detector. In this case, the electromagnetic wave detector 10B generates and outputs a detection level signal corresponding to the magnitude of the detected electromagnetic wave. The detection level signal may be a digital signal or an analog signal.
[0013] The noise detection signal generating circuit 20, which is common to the first to fourth embodiments described below, outputs a noise detection signal when the output from the noise receiving unit 10A in FIG. 1(A) or the output from the electromagnetic wave detector 10B in FIG. 1(B) exceeds a predetermined value. The noise detection signal is, for example, a single pulse wave, but is not limited thereto. The noise detection signal may be a plurality of pulse waves or a signal wave of a predetermined pattern. In the following description, the noise receiving unit 10A and the noise detection signal generating circuit 20 in FIG. 1(A), or the electromagnetic wave detector 10B and the noise detection signal generating circuit 20 in FIG. 1(B) are collectively referred to as a noise detection circuit 30. The semiconductor integrated circuit devices 100-400 of the first to fourth embodiments described below are provided with a protection circuit that prevents the circuit to be protected from the influence of noise in response to the detection signal generated by the noise detection circuit 30, and the protection circuit takes various forms described below. [Embodiment 1] 2(A), a semiconductor integrated circuit device 100 according to the first embodiment will be described. The semiconductor integrated circuit device 100 includes an initialization signal generating circuit 110 that generates an initialization signal for initializing the entire semiconductor integrated circuit device 100 in response to a noise detection signal output by the noise detection circuit 30. Upon receiving the noise detection signal, the initialization signal generating circuit 110 generates an initialization signal or a system reset signal for a predetermined period and supplies it to the semiconductor integrated circuit device 100.
[0014] Fig. 2B is a time chart showing the operation of the semiconductor integrated circuit device 100 of Fig. 2A when noise is detected. As shown in Fig. 2B, when the noise detection circuit 30 detects noise, the noise detection signal is asserted (enabled). The noise detection signal is used as a trigger to cause the initialization signal generating circuit 110 to assert the initialization signal.
[0015] When the noise detection circuit 30 detects noise, a noise detection signal is asserted. This signal triggers the reset generation circuit to assert an initialization signal. In FIG. 2B, the noise detection signal is H active and the initialization signal is L active.
[0016] The initialization signal generating circuit 110 is a logic circuit that operates in synchronization with a clock signal. The period during which the initialization signal, which is the output of the initialization signal generating circuit 110, is asserted can be changed by changing the control parameters of the initialization signal generating circuit, and the expected time until the effect of noise is converged is set.
[0017] According to the above-described embodiment 1, the semiconductor integrated circuit device 100 is initialized upon noise detection, so that it is possible to prevent the system of the semiconductor integrated circuit device 100 from becoming stuck in a state where a fatal error has occurred, such as freezing, running out of control, or the execution of control that is normally prohibited.
[0018] [Embodiment 2] 3A, a semiconductor integrated circuit device 200 according to the second embodiment will be described. The semiconductor integrated circuit device 200 includes a clock generating circuit 210, a clock gating control circuit 220, and a clock gate cell 230.
[0019] The clock generating circuit 210 generates a clock signal of a predetermined frequency as shown in FIG. 3(B) and supplies it to the clock gating control circuit 220 and the clock gate cell 230.
[0020] The clock gating control circuit 220 generates a clock gating signal in synchronization with the clock signal supplied from the clock generating circuit 210 in response to the noise detection signal output by the noise detection circuit 30, and outputs the clock gating signal to the clock gate cell 230. The clock gating signal is a signal for controlling the supply / stop of a system clock within the semiconductor integrated circuit device 200.
[0021] The clock gate cell 230 is a standard logic gate cell dedicated to clock gating, to which the clock signal from the clock generation circuit 210 and the clock gating signal from the clock gating control circuit 220 are input, and which outputs a system clock.
[0022] Fig. 3(B) is a time chart showing the operation of the semiconductor integrated circuit device 200 of Fig. 3(A) when noise is detected. As shown in Fig. 3(B), when the noise detection circuit 30 detects noise, a noise detection signal is asserted. Note that this noise detection signal is a signal that is generated asynchronously, not in synchronization with the clock signal generated by the clock generation circuit 210.
[0023] Using the noise detection signal as a trigger, the clock gating control circuit 220 asserts a clock gating signal synchronized with the clock signal supplied by the clock generation circuit 210 .
[0024] When the clock gating signal is asserted, the clock gate cell 230 stops the supply of the system clock to the semiconductor integrated circuit device 200. On the other hand, when the clock gating signal is negated, the supply of the system clock to the semiconductor integrated circuit device 200 is resumed.
[0025] The period during which the clock gating signal is asserted by the clock gating control circuit 220 is the time expected until the effect of noise is converged, and is, for example, a period of several clocks or a longer period. The period during which the clock gating signal is asserted can be adjusted by appropriately setting the control parameters of the clock gating control circuit 220.
[0026] According to the second embodiment, when noise is detected, the supply of the system clock to the circuits to be protected by the semiconductor integrated circuit device 200 or to the entire device can be temporarily stopped. This reduces the risk that the control circuit (logic) inside the semiconductor integrated circuit device 200 falls into an abnormal operation state. Furthermore, in the semiconductor integrated circuit device 200 of the second embodiment, if the supply of the system clock is resumed, processing can be continued without resetting the system. Note that, although the second embodiment describes a case where the supply of the system clock is temporarily stopped when noise is detected, the present invention is not limited to this, and the clock supply to some of the circuits to be protected by the semiconductor integrated circuit device 200 may be temporarily stopped.
[0027] [Embodiment 3] 4A, a semiconductor integrated circuit device 300 according to the third embodiment will be described. The semiconductor integrated circuit device 300 includes an input / output terminal 310, an I / O circuit 320, an internal circuit 330, a mode switching control circuit 340, and an I / O control signal generation circuit 350.
[0028] The input / output terminal 310 outputs a signal output from the I / O circuit 320 and inputs to the I / O circuit 320 a signal input from an external device.
[0029] The I / O circuit 320 is connected to the internal circuit 330 and the mode switching control circuit 340. In the normal mode, the I / O circuit 320 outputs a signal from the internal circuit 330 to the input / output terminal 310, or outputs an input signal from an external device input to the input / output terminal 310 to the internal circuit 330.
[0030] On the other hand, in the safety function mode, the I / O circuit 320 fixes the input / output terminal 310 to any one of a low output state, a high output state, and an HZ (high impedance) output state in response to an I / O control signal output from the I / O control signal generation circuit 350. That is, the input / output terminal 310 is set to a safe input / output state. Alternatively, in the safety function mode, the I / O circuit 320 may keep some of the input / output terminals 310 in the same state as in the normal mode.
[0031] The mode switching control circuit 340 is a logic circuit that operates in synchronization with the system clock of the semiconductor integrated circuit device 300, and outputs a mode switching signal in response to the noise detection signal output by the noise detection circuit 30. The mode switching signal is asserted, for example, for a predetermined period, and during the asserted period, the I / O control signal generation circuit 350 generates and outputs an I / O control signal for fixing the state of the input / output terminal 310.
[0032] The I / O control signal generation circuit 350 outputs an I / O control signal instructing which state each of the input / output terminals 310 should be fixed to in the safety function mode in response to the mode switching signal output by the mode switching control circuit 340. For example, when the input / output terminal 310 has eight terminals, ie, a first terminal, a second terminal, ..., and an eighth terminal, the I / O control signal generation circuit 350 outputs a signal instructing that the first terminal should be fixed to a low output, the second terminal to a high output, ..., and the eighth terminal to an HZ (high impedance) output. Note that information on which state the input / output terminals 310 should be fixed to in the safety function mode may be stored in a register or the like included in the I / O control signal generation circuit 350. In that case, when the mode switching control circuit 340 is asserted, the I / O control signal generation circuit 350 reads information from the register and outputs it as an I / O control signal.
[0033] Fig. 4B is a time chart showing the operation of the semiconductor integrated circuit device 300 of Fig. 4A when noise is detected. As shown in Fig. 4B, when the noise detection circuit 30 detects noise, a noise detection signal is asserted. The noise detection signal is used as a trigger to cause the mode switching control circuit 340 to assert a mode switching signal for a predetermined period of time.
[0034] When the mode switching signal is asserted by the mode switching control circuit 340, the I / O control signal generation circuit 350 outputs an I / O control signal instructing which state each of the input / output terminals 310 should be fixed to in the safety function mode. The I / O circuit 320 fixes the input / output terminals 310 to any one of a low output state, a high output state, and an HZ (high impedance) output state, or sets the input / output terminals 310 to the same state as in the normal mode, according to the I / O control signal output from the I / O control signal generation circuit 350. In this way, in the semiconductor integrated circuit device 300, when the mode switching signal is asserted, it becomes possible to cause the I / O circuit 320 and the input / output terminals 310 to function in the safety function mode.
[0035] The period during which the mode switching control circuit 340 is asserted can be set by changing the control parameters, and the expected time until the effect of noise is converged can be set. In addition, the state of the input / output terminals 310 in the safety function mode is determined in consideration of the safety of the external devices and elements connected to each input / output terminal 310.
[0036] According to the third embodiment, when it is considered that the internal circuit 330 may temporarily become abnormal due to the influence of noise, it is possible to prevent the external device and elements connected to the input / output terminal 310 from being controlled to a dangerous state. In particular, it is possible to prevent unintended control of an element that handles high power, such as an IGBT (Insulated Gate Bipolar Transistor), as an external element.
[0037] [Embodiment 4] A semiconductor integrated circuit device 400 according to the fourth embodiment will be described with reference to Fig. 5. The semiconductor integrated circuit device 400 is, for example, a microcomputer, and includes a central processing circuit 410 (hereinafter referred to as CPU 410), a program memory (ROM) 420, a data memory (RAM) 430, a peripheral circuit 440, an interrupt controller 450, and an emergency stop / recovery / resume controller 460. The CPU 410, the data memory 430, the peripheral circuit 440, the interrupt controller 450, and the emergency stop / recovery / resume controller 460 are each connected to an address bus and a data bus, enabling data to be exchanged between each component and the CPU 410.
[0038] The CPU 410 sequentially reads out and executes instructions stored in the program memory 420, and exchanges data with components designated by the CPU 410 via an address bus, via a data bus.
[0039] The program memory 420 stores in a non-volatile manner programs for operating the semiconductor integrated circuit device 400. The data memory 430 temporarily stores various data generated when the CPU 410 executes the commands stored in the program memory 420.
[0040] The peripheral circuit 440 includes circuits that enhance the functions of the semiconductor integrated circuit device 400 depending on the application of the microcomputer, such as a timer circuit and an A / D conversion circuit, in addition to SFRs (Specific Function Registers). The operation of these circuits is controlled by the settings of the SFRs.
[0041] When the interrupt controller 450 receives an interrupt signal from the peripheral circuit 440, it outputs an interrupt request signal to the CPU 410, and causes the CPU 410 to preferentially execute a process corresponding to the interrupt request signal.
[0042] The emergency stop / recovery and restart controller 460 includes the noise detection circuit 30, a backtrace memory 470, and an internal control circuit 480, and is a main circuit that controls the emergency stop / recovery and restart process performed by the semiconductor integrated circuit device 400 when noise is detected.
[0043] The backtrace memory 470 acquires and stores as data circuit states such as internal signals and register values of each circuit of the semiconductor integrated circuit device 400. Fig. 6 shows an address map matrix for the data held by the backtrace memory 470.
[0044] Data is written to the backtrace memory 470 by monitoring the state of each circuit for each system clock or synchronous cycle of the semiconductor integrated circuit device 400 and stacking the data row by row at the top of the internal address of the backtrace memory 470. In other words, the internal signals and register values of the circuits of the CPU 410, the peripheral circuit 440, and the interrupt controller 450 are sequentially stored as the top row data of the internal address of the backtrace memory 470 for each system clock or synchronous cycle. When the stored data reaches or exceeds the upper limit of the memory size, the oldest data is discarded.
[0045] Moreover, data is read from the backtrace memory 470 by referring to the data in the column specified by the address of the CPU-IF for the row indicated by the internal address specified by the internal control circuit 480 .
[0046] The internal control circuit 480 transmits and receives various signals between the CPU 410 and the interrupt controller 450, and mediates control related to the backtrace memory 470 and the noise detection circuit 30. The internal control circuit 480 includes an SFR (Specific Function Register). Specifically, when the internal control circuit 480 receives a noise detection signal, it generates an emergency stop interrupt request signal after a time set in the SFR has elapsed, and outputs the signal to the CPU 410. The emergency stop interrupt request signal is an interrupt request with the highest priority level within the semiconductor integrated circuit device 400, and is accepted by the CPU 410 as a non-maskable interrupt request.
[0047] Furthermore, the internal control circuit 480 generates a recovery-resume interrupt request signal simultaneously with the emergency stop request signal, and outputs that signal to the CPU 410. The recovery-resume interrupt request signal has a priority level second only to the emergency stop interrupt request signal within the semiconductor integrated circuit device 400, and is accepted by the CPU 410 as a non-maskable interrupt request.
[0048] Furthermore, upon receiving a noise detection signal, the internal control circuit 480 generates an interrupt request mask signal and outputs it to the interrupt controller 450. Upon receiving the interrupt request mask signal from the internal control circuit 480, the interrupt controller 450 disables interrupt requests from the peripheral circuit 440 until the CPU 410 completes emergency stop processing and recovery / resume processing.
[0049] Furthermore, upon receiving a noise detection signal, the internal control circuit 480 generates an update standby signal and outputs it to the backtrace memory 470. Upon receiving the update standby signal, the backtrace memory 470 stops the writing process of the state monitor signal.
[0050] Furthermore, the internal control circuit 480 generates an initialization signal in response to an instruction for recovery / restart processing performed after the CPU 410 completes emergency shutdown processing, and outputs the signal to the backtrace memory 470. Upon receiving the initialization signal, the backtrace memory 470 copies the contents of the internal address designated by the SFR of the internal control circuit 480 to all other internal addresses.
[0051] Fig. 7 is a time chart showing the operation of the semiconductor integrated circuit device 400 of Fig. 5 when detecting noise. First, as a premise, under normal circumstances, the CPU 410 executes the main routine of the program recorded in the program memory 420 (normal processing). In parallel with this, internal signals of each circuit and state monitor signals indicating register values are written to the backtrace memory 470 for each synchronous cycle of the system clock or the semiconductor integrated circuit device 400.
[0052] When the noise detection circuit 30 detects noise, a noise detection signal is asserted. Next, the internal control circuit 480 uses this noise detection signal as a trigger to simultaneously assert an emergency stop interrupt request signal and a recovery / resume interrupt request signal after the time set in the SFR of the internal control circuit 480 has elapsed, and outputs them to the CPU 410. Also, the internal control circuit 480 uses the noise detection signal as a trigger to output an update standby signal to the backtrace memory 470, and in response to this, the backtrace memory 470 stops writing the state monitor signal. Furthermore, the internal control circuit 480 outputs an interrupt request mask signal to the interrupt controller 450, so that the interrupt request from the peripheral circuit 440 is disabled.
[0053] When the CPU 410 receives an emergency stop interrupt request signal, it immediately starts emergency stop processing. The emergency stop processing includes processing to determine where the emergency stop interrupt request has originated, for example, when multiple noise detection circuits 30 are provided or multiple emergency stop / recovery and restart controllers 460 are provided. This is because, when a non-maskable interrupt request is supplied from multiple request sources, it is necessary to determine the interrupt request source. Alternatively, the emergency stop processing includes processing to stop and initialize the I / O circuit and peripheral circuits to set them to a safe state. Note that, when the next emergency stop interrupt request signal is received during the execution of the emergency stop processing, the CPU 410 immediately accepts it and executes the emergency stop processing again from the beginning.
[0054] When the emergency stop processing is completed, the CPU 410 executes a recovery and restart processing, which includes a processing for setting the I / O circuit and peripheral circuits to a normal state, a processing for reading data before the emergency stop processing from the backtrace memory 470, and a processing for initializing the backtrace memory 470.
[0055] The CPU 410 restores data by reading out data from the first row of the internal address of the backtrace memory 470 or the row stored in the internal address specified by the SFR of the internal control circuit 480 .
[0056] The backtrace memory 470 is initialized by copying the contents of the first row of the internal addresses of the backtrace memory 470 or the contents of the row of the internal address specified by the SFR of the internal control circuit 480 to all other internal addresses.
[0057] When the recovery and restart process of the CPU 410 is completed, the CPU 410 resumes normal processing. Furthermore, the internal control circuit 480 resumes the write process to the backtrace memory 470 after the period set in the SFR has elapsed. Here, the resumption of the write process is set to occur after the recovery and restart process of the CPU 410 is completed.
[0058] If an emergency stop interrupt request is asserted while the recovery / resume process is being executed, the emergency stop process is executed immediately, and after the emergency stop process is completed, the recovery / resume process is executed from the beginning.
[0059] With reference to Fig. 8, a transition will be described when the CPU 410 of the information processing device of the fourth embodiment processes a program recorded in the program memory 420. In the program memory 420, a normal processing program is recorded at the first address of the program memory 420, "0000h", ... "xN" ... "x". In addition, an emergency stop processing program is recorded from address "S" onwards, and a recovery / correct processing program is recorded from address "T" onwards. Normally, the CPU 410 reads and executes instructions in order from the first address "0000h" of the program memory 420.
[0060] When an emergency stop interrupt request is received while executing an instruction at address "x", the CPU 410 branches to processing the start address "S" of the emergency stop processing in the program memory 420, and reads and executes instructions in sequence starting from address "S". When the CPU 410 completes the emergency stop processing, it receives a recovery / resume interrupt request, branches to processing the start address "T" of the recovery / resume processing in the program memory 420, and reads and executes instructions in sequence starting from address "T".
[0061] When the CPU 410 completes the recovery and restart process, it branches to the process of address "xN" that was executed n cycles before the time when the emergency stop interrupt request was received, and reads and executes instructions in order starting from address "xN." Note that "N" is determined by the internal address (row) of the backtrace memory 470 in which the data to be restored is stored, which is set by the SFR of the internal control circuit 480. Specifically, for example, if the data restored by the CPU 410 is data stored in the internal address "5th row" of the backtrace memory 470, the CPU 410 resumes processing from the instruction at address "x-5."
[0062] According to the fourth embodiment, when the circuit becomes unstable due to the influence of noise, the processing can be stopped temporarily and resumed when the noise has subsided. Furthermore, the contents of the emergency stop processing and the recovery / restart processing can be set by a program (software), so that the semiconductor integrated circuit device 400 can be flexibly controlled according to the application.
[0063] The configurations described in the above embodiments 1 to 4 for initializing the semiconductor integrated circuit device when noise is detected, temporarily stopping the supply of the system clock, setting the input / output terminals to a safety function mode, and performing emergency stop / recovery / restart processing may be arbitrarily combined. In that case, for example, a portion of the semiconductor integrated circuit device may be initialized and the supply of the system clock to other portions may be temporarily stopped. [Explanation of symbols]
[0064] 10A Noise receiver 10B Electromagnetic wave detector 20 Noise detection signal generation circuit 30 Noise detection circuit 100 Semiconductor integrated circuit device 110 Initialization signal generating circuit 200 Semiconductor integrated circuit device 210 Clock Generation Circuit 220 Clock gating control circuit 230 Clock Gate Cell 300 Semiconductor integrated circuit device 310 Input / output terminal 320 I / O circuit 330 Internal circuit 340 Mode switching control circuit 350 Control signal generating circuit 400 Semiconductor integrated circuit device 420 Program Memory 430 Data Memory 440 Peripheral Circuits 450 Interrupt Controller 460 Recovery and Resume Controller 470 Backtrace Memory 480 Internal Control Circuit
Claims
1. a noise detection signal generating circuit that generates a detection signal when noise is detected; a protection circuit that puts a circuit to be protected into a state that avoids the effects of noise in response to the detection signal generated by the noise detection signal generation circuit.
2. 2. The semiconductor integrated circuit device according to claim 1, wherein the protection circuit generates a signal for initializing the circuit to be protected in the semiconductor integrated circuit device in response to the detection signal generated by the noise detection signal generation circuit, and supplies the signal to the circuit to be protected.
3. 3. The semiconductor integrated circuit device according to claim 2, wherein said protection circuit is an initialization signal generating circuit which initializes the entire semiconductor integrated circuit device in response to said detection signal generated by said noise detection signal generating circuit.
4. 2. The semiconductor integrated circuit device according to claim 1, wherein said protection circuit temporarily stops clock supply to said circuit to be protected within said semiconductor integrated circuit device in response to said detection signal generated by said noise detection signal generation circuit.
5. 5. The semiconductor integrated circuit device according to claim 4, wherein said protection circuit is a clock gating control circuit which temporarily stops supply of a system clock to said semiconductor integrated circuit device in response to said detection signal generated by said noise detection signal generating circuit.
6. 2. The semiconductor integrated circuit device according to claim 1, wherein said protection circuit sets an input / output terminal to a safe input / output state in response to said detection signal generated by said noise detection signal generating circuit.
7. 7. The semiconductor integrated circuit device according to claim 6, wherein the protection circuit outputs an input / output control signal for fixing an input / output terminal to one of a low output state, a high output state, and a high impedance state for a predetermined period in response to the detection signal generated by the noise detection signal generation circuit.
8. The semiconductor integrated circuit device includes a central processing circuit, the protection circuit generates an emergency stop interrupt request signal and a recovery / restart interrupt request signal in response to the detection signal generated by the noise detection signal generation circuit, and stores a circuit state at the time of receiving the detection signal as data in a backtrace memory; 8. The semiconductor integrated circuit device according to claim 1, wherein the central processing circuit performs emergency stop processing in response to the emergency stop interrupt request signal, and after completing the emergency stop processing, performs recovery / resume processing in response to the recovery / resume interrupt request signal to read data before the emergency stop processing from the backtrace memory.
9. 8. The semiconductor integrated circuit device according to claim 2, wherein the protection circuit temporarily stops clock supply to the circuit to be protected within the semiconductor integrated circuit device in response to the detection signal generated by the noise detection signal generation circuit.
10. 6. The semiconductor integrated circuit device according to claim 2, wherein said protection circuit sets an input / output terminal to a safe input / output state in response to said detection signal generated by said noise detection signal generating circuit.
Citation Information
Patent Citations
Semiconductor integrated circuit
JP2013258587A
