Semiconductor device and information processing device comprising same

The integration of a register monitoring circuit within semiconductor devices for periodic CRC checks addresses the inefficiencies and malfunctions caused by garbled data, enhancing processing speed and reducing power consumption by eliminating the need for frequent data re-storage and external data retrieval.

WO2024190403A1PCT designated stage expired Publication Date: 2024-09-19ROHM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/007100
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-16
Filing Date
2024-02-27
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Conventional semiconductor devices face inefficiencies and potential malfunctions due to garbled data in registers, requiring frequent data re-storage and resource allocation for error detection, which can lead to increased processing time and power consumption.

Method used

Incorporating a register monitoring circuit that periodically checks data integrity using a cyclic redundancy check (CRC) within the semiconductor device, eliminating the need for frequent data re-storage and reducing resource allocation, while allowing for efficient monitoring and error detection without external data retrieval.

Benefits of technology

This approach reduces processing time, suppresses internal control malfunctions, and conserves power by allowing the semiconductor device to monitor data integrity efficiently and detect errors before they affect internal control operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024007100_19092024_PF_FP_ABST
    Figure JP2024007100_19092024_PF_FP_ABST
Patent Text Reader

Abstract

A semiconductor device 3 includes a register 6 and a register monitoring circuit 7. The register 6 can store prescribed data. The register monitoring circuit 7 is configured to monitor the register 6 so as to periodically determine whether a data group D stored in the register 6 is normal.
Need to check novelty before this filing date? Find Prior Art

Description

Semiconductor device and information processing device including the same

[0001] The present disclosure relates to a semiconductor device and an information processing device including the same.

[0002] Conventionally, there is a semiconductor device including a register and an internal control circuit (see Patent Document 1). The register described in Patent Document 1 is capable of storing various data. The internal control circuit reads out a group of data stored in the register as needed to perform predetermined internal control.

[0003] JP 2012-227917 A

[0004] In conventional semiconductor devices, there is room for further study on how to deal with data corruption in registers.

[0005] The semiconductor device disclosed in this specification includes a register and a register monitoring circuit. The register is capable of storing predetermined data. The register monitoring circuit is configured to monitor the register to periodically determine whether a group of data stored in the register is normal.

[0006] The information processing device disclosed in this specification includes the semiconductor device having the above-described configuration and a control circuit, the control circuit being configured to be able to write a group of data to the register.

[0007] According to the semiconductor device disclosed in this specification, it becomes possible to monitor whether or not data in a register is corrupted.

[0008] Furthermore, the information processing device disclosed in this specification can provide an information processing device capable of monitoring whether or not data in a register is corrupted.

[0009] Fig. 1 is a block diagram showing the overall configuration of an information processing device. Fig. 2 is a diagram showing an outline of a data group. Fig. 3 is a block diagram showing a register and a register monitoring circuit. Fig. 4 is a timing chart showing the operation of the semiconductor device.

[0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present disclosure will now be described with reference to the accompanying drawings. 1 is a block diagram showing the overall configuration of an information processing device 1. As shown in FIG.

[0011] 1, the information processing device 1 includes a control circuit 2 and a semiconductor device 3. The control circuit 2 and the semiconductor device 3 are electrically connected to each other. The control circuit 2 is a CPU (Central Processing Unit) (more specifically, an MCU (Micro Controller Unit)). The control circuit 2 controls the semiconductor device 3.

[0012] The control circuit 2 transmits to the semiconductor device 3 a data group D (=data d0 to d27) and determination data CRCW (=data d28).

[0013] 2 is a diagram showing an outline of data group D. In FIG. 2, areas in which bit data b0 to b15 are stored are shown hatched, and areas in which bit data b0 to b15 are not stored are shown as white. FIG. 2 also shows addresses adr0 to adrn where data d0 to d28 are stored, respectively.

[0014] 2, the data group D is configured to include data d0 to d27. The data d0 to d27 include parameter data necessary for the internal control of the internal control circuit 13, which will be described later, or execution flags necessary for the internal processing executed by the internal control circuit 13.

[0015] Each of the data d0 to d28 is bit data of multiple bits (up to 16 bits in this case). Each of the data d0 to d28 may store all of the bit data b0 to b15, or may store any of the bit data b0 to b15.

[0016] Specifically, data d0 includes one 1-bit data (such as a flag of 0 or 1), as indicated by bit b0. Data d2 includes one 3-bit data (such as a parameter that can take eight values ​​from 0 to 7), as indicated by bits b1 to b3. Data d27 includes one 1-bit data and two 2-bit data (such as a parameter that can take four values ​​from 0 to 3), as indicated by bit b0, bits b2 to b3, and bits b14 to b15, respectively.

[0017] As indicated by bits b0 to b15, data d28 is a single 16-bit data (validation data CRCW for validity determination). Data d28 is attached to the end of data group D (=data d27). Hereinafter, data d28 will also be referred to as validation data CRCW.

[0018] Each of the data d0 to d28 is stored in an area specified by the storage address adr0 to adrn (more specifically, in one of the data storage areas 9 in the register 6, which will be described later).

[0019] The determination data CRCW is calculated by a CRC (Cyclic Redundancy Check) calculation based on the normal data group D. The control circuit 2 calculates the determination data CRCW in advance and then transmits the data group D and the determination data CRCW to the semiconductor device 3.

[0020] 1 , the control circuit 2 can be configured to include a nonvolatile memory 12. In this case, the control circuit 2 transmits the data group D stored in the nonvolatile memory 12 to the semiconductor device 3.

[0021] The semiconductor device 3 is an integrated circuit (IC) that integrates multiple elements, and includes a receiving circuit 4, a reception determination circuit 5, a register 6, a register monitoring circuit 7, an internal control circuit 13, and a transmitting circuit 8.

[0022] The receiving circuit 4 is a circuit that receives various data from the control circuit 2. The receiving circuit 4 is capable of transmitting the data group D and the determination data CRCW received from the control circuit 2 to the register 6.

[0023] The reception judgment circuit 5 is electrically connected to the receiving circuit 4. The reception judgment circuit 5 judges whether the data group D and judgment data CRCW received by the receiving circuit 4 are normal. More specifically, it judges whether data d0 to data d28 are normal values. The reception judgment circuit 5 transmits the result of this judgment (hereinafter referred to as the "judgment result S1") to the transmitting circuit 8, which will be described later. The judgment by the reception judgment circuit 5 will be described in detail later.

[0024] The register 6 is electrically connected to the receiving circuit 4. The register 6 is capable of storing predetermined data. Specifically, the register 6 is capable of storing a data group D and determination data CRCW.

[0025] The register monitoring circuit 7 is electrically connected to the register 6. The register monitoring circuit 7 monitors the register 6. Specifically, the register monitoring circuit 7 monitors the register 6 by periodically determining whether the data group D stored in the register 6 is normal (more specifically, whether the data d0 to data d27 stored in the register 6 are normal values).

[0026] Details of the monitoring of the register 6 are as follows: The register monitoring circuit 7 reads a data group D (=data d0 to data d27) from the register 6, and calculates a predetermined check code CRCR (see FIG. 3) based on the read data group D. The check code CRCR can be calculated by CRC calculation based on the data group D (=data d0 to d27).

[0027] The register monitoring circuit 7 compares the check code CRCR with the determination data CRCW and determines whether they match. If the check code CRCR and the determination data CRCW match, the data group D is determined to be normal (more specifically, data d0 to data d27 have normal values). If the check code CRCR and the determination data CRCW do not match, the data group D is determined to be abnormal (more specifically, at least one of data d0 to data d27 has an abnormal value).

[0028] The register monitoring circuit 7 transmits a determination result S2 indicating whether the data group D is normal to the transmission circuit 8. If the determination result S2 indicates that the data group D is normal, then, after a predetermined time has elapsed since the transmission of the determination result S2, the register monitoring circuit 7 again reads the data group D stored in the register 6, calculates the check code CRCR, and determines whether the data group D is normal as described above. Thereafter, the register monitoring circuit 7 periodically calculates the check code CRCR and determines whether the data group D is normal as described above. At this time, the register monitoring circuit 7 reads the data group D stored in the register 6 each time and calculates the check code CRCR.

[0029] The internal control circuit 13 performs predetermined internal control based on the data group D (=data d0 to data d27) stored in the register 6.

[0030] The transmission circuit 8 receives the determination result S1 and outputs the determination result S1 to the outside (more specifically, to the control circuit 2). The transmission circuit 8 also receives the determination result S2 and outputs the determination result S2 to the outside (more specifically, to the control circuit 2).

[0031] When the control circuit 2 receives the determination result S1 or S2 indicating that the data group D is abnormal from the transmission circuit 8, the control circuit 2 transmits the data group D to the semiconductor device 3 (more specifically, the reception circuit 4).

[0032] Next, the storage of the data group D in the register 6 and the calculation of the check code CRCR will be described in detail.

[0033] 3 is a block diagram showing the register 6 and the register monitoring circuit 7. As shown in FIG. 3, the register 6 is configured to include a plurality of (here, 28) parameter storage areas 9, a determination data storage area 10, and a code storage unit 11. Addresses adr0 to adr27 are assigned to each parameter storage area 9. Address adrn is assigned to the determination data storage area 10.

[0034] When the data group D and the determination data CRCW are transmitted from the control circuit 2 to the receiving circuit 4, the data d0 to d27 are allocated and stored one by one in each parameter storage area 9. The determination data CRCW (=data d28) is stored in the determination data storage area 10. The check code CRCR is stored in the code storage unit 11.

[0035] Returning to FIG. 1, the receiving circuit 4 receives data d0 to d28 one by one from the control circuit 2 in order.

[0036] When the control circuit 2 transmits the data d0 to d28 to the semiconductor device 3 (more specifically, the receiving circuit 4), it also transmits the corresponding determination codes along with the data d0 to d28. That is, when the control circuit 2 transmits the data d0, it transmits the determination code corresponding to the data d0 together with the data d0. When the control circuit 2 transmits the data d1, it transmits the determination code corresponding to the data d1 together with the data d1. The same applies to the data d2 to d28.

[0037] Details of the judgment made by the reception judgment circuit 5 are as follows: When the reception circuit 4 receives one of the data d0 to d28, the reception judgment circuit 5 compares the data d0 to d28 with the judgment code received along with it, and judges whether they match.

[0038] If they match, it is determined that one of the data d0 to d28 received by the receiving circuit 4 is normal. If they do not match, it is determined that one of the data d0 to d28 is abnormal.

[0039] Each time the receiving circuit 4 receives data d0 to d28, a determination is made by the reception determination circuit 5. Each time a determination is made, a determination result S1 is transmitted to the transmitting circuit 8. If the determination result S1 indicates that the data d0 to d28 received by the receiving circuit 4 are normal values, the control circuit 2 transmits the subsequent data d1 to d28 to the receiving circuit 4.

[0040] To explain the judgment by the reception judgment circuit 5 in more detail, first, when the receiving circuit 4 receives data d0 from the control circuit 2, the reception judgment circuit 5 judges whether or not the data d0 is normal. If the data d0 is normal, the receiving circuit 4 stores the data d0 in a predetermined parameter storage area 9 (more specifically, the parameter storage area 9 corresponding to address adr0) (see FIG. 3). Then, the receiving circuit 4 receives data d1 from the control circuit 2. Similarly, the reception judgment circuit 5 judges whether or not the data d1 is normal. If the data d1 is normal, the receiving circuit 4 stores the data d1 in the parameter storage area 9 (more specifically, the parameter storage area 9 corresponding to address adr1). Thereafter, the receiving circuit 4 similarly receives data d2 to d28 and stores them in the parameter storage area 9 and the judgment data storage area 10.

[0041] If the reception judgment circuit 5 judges that at least one of the data d0 to d28 received by the receiving circuit 4 is not normal, the control circuit 2, upon receiving the judgment result S1, suspends the transmission of the data d0 to d28 to the semiconductor device 3. Then, the control circuit 2 again transmits the data d0 to d28 to the semiconductor device 3 in order, starting with the first data d0.

[0042] 3, the register monitoring circuit 7 includes a calculation circuit 14 and a register determination circuit 15. The calculation circuit 14 is a circuit that performs a CRC calculation based on data d0 to d27 to generate a check code CRCR. The calculation circuit 14 stores the generated check code CRCR in the code storage unit 11.

[0043] The register judgment circuit 15 compares the check code CRCR stored in the code storage unit 11 with the judgment data CRCW stored in the judgment data storage area 10, determines whether the two match, and outputs the judgment result S2 to the transmission circuit 8.

[0044] Next, the operation of the semiconductor device 3 will be described with reference to the timing chart shown in Fig. 4. Fig. 4 is a timing chart showing the operation of the semiconductor device 3. From top to bottom, it shows the chip select signal CSB, the serial input signal SDI, the monitoring status (CRC status) of the register monitoring circuit 7, the error flag (Error REG), and the status of the semiconductor device 3 (IC status).

[0045] 4, first, at time t1, the control circuit 2 starts writing data group D (data d0) to the register 6. Then, the chip select signal CSB falls to a low level. At this time, the semiconductor device 3 is in a standby state in which internal control is stopped.

[0046] When the process of storing data d0 in the parameter storage area 9 is completed at time t2, the chip select signal CSB rises to a high level.

[0047] After that, a predetermined time has passed, and at time t3, the process of storing data d1 in the parameter storage area 9 begins. Then, the chip select signal CSB falls to low level again. When the process of storing data d1 ends at time t4, the chip select signal CSB rises to high level. Similarly, data d2 to d27 are successively stored in the parameter storage area 9.

[0048] When time t5 arrives and the storage process of data d27 is completed, the determination data CRCW is then stored in the register 6. More specifically, data d28 is stored in the determination data storage area 10.

[0049] While the data group D and the determination data CRCW are being written to the register 6 (=from time t1 to time t6), the monitoring status (CRC status) of the register monitoring circuit 7 is in the stopped state (Stop calc).

[0050] When the storage process of the data d28 is completed at time t6, the monitoring state of the register monitoring circuit 7 becomes the monitoring state (CRC calc). Specifically, the register monitoring circuit 7 starts monitoring the register 6 at time t6.

[0051] More specifically, when time t6 arrives, the calculation circuit 14 acquires data d0 to d27 from each parameter storage area 9 and starts generating the check code CRCR. Then, until time t7, the calculation circuit 14 stores the generated check code CRCR in the code storage unit 11, and the register determination circuit 15 acquires and compares the check code CRCR with the determination data CRCW, determines whether the determination of the data group D is normal, and transmits the determination result S2 to the transmission circuit 8.

[0052] Here, the check code CRCR and the determination data CRCW match, and the data group D is determined to be normal (more specifically, the data d0 to d27 stored in the register 6 are normal values). One determination process (the process performed between time t6 and time t7) is completed in several μs to several tens of μs.

[0053] If the data group D is determined to be normal, the semiconductor device 3 (more specifically, the internal control circuit 13) starts internal control. Therefore, at time t7, the state of the semiconductor device 3 becomes active.

[0054] Furthermore, at time t7, the calculation circuit 14 again acquires data d0 to d27 from the parameter storage area 9 and performs the same processing as that performed from time t6 to time t7 described above. Then, monitoring of the register 6 (= the processing from time t6 to time t7 described above) is periodically repeated. If the register monitoring circuit 7 determines that the data group D is abnormal while monitoring the register 6, it stops monitoring the register 6.

[0055] Here, as shown in FIG. 4, let us assume that noise such as static electricity occurs during monitoring of register 6 (= timing of time t8), causing an unintentional change to the value of data group D, i.e., at least one of data d0 to d27. This causes the check code CRCR and the determination data CRCW to no longer match. The register monitoring circuit 7 then determines that data group D is abnormal and transmits a determination result S2 to the transmission circuit 8. Note that this mismatch can also occur if the determination data CRCW is unintentionally changed.

[0056] Then, at time t9, the error flag (Error REG) rises to high level. When the error flag (Error REG) rises to high level, the semiconductor device 3 again transitions to a standby state in which internal control is stopped.

[0057] A predetermined time has elapsed since time t9, and at time t10, an error clear command ERCLR is sent from the control circuit 2, and data dx for executing error clear is stored in the parameter storage area 9. At this time, the chip select signal CSB falls from high to low. When time t11 arrives and the storage of data dx is completed, the error flag (Error REG) falls from high to low. Note that data dx may not be included in the above-mentioned data group D (i.e., data that does not correspond to data d0 to d27).

[0058] When a predetermined time has elapsed since time t11 and time t12 arrives, writing of the data group D (=data d0 to d27) and the judgment data CRCW (=data d28) to the register 6 begins again. Then, the same processing as that from time t1 to time t6 described above is performed. As a result, a normal data group D (more specifically, normal values ​​of data d0 to d27) is stored in the register 6.

[0059] When data d28 is stored in the determination data storage area 10 at time t13, the register monitoring circuit 7 enters the monitoring state (CRC calc). Specifically, when time t13 arrives, the register monitoring circuit 7 begins monitoring the register 6. Then, when time t14 arrives and the data group D is determined to be normal, the semiconductor device 3 resumes internal control and enters the active state (not shown). Thereafter, the register monitoring circuit 7 continues monitoring the register 6.

[0060] <Considerations on Countermeasures for Register Errors> Here, we consider countermeasures for so-called register error. Register error is a phenomenon in which data in a register is unintentionally changed or corrupted.

[0061] In a conventional semiconductor device having a register and an internal control circuit, the control circuit (CPU, MCU, etc.) is generally connected, and data groups are transmitted from the control circuit to the semiconductor device and stored in the register.

[0062] Some of these semiconductor devices include a nonvolatile memory built in. In this case, the semiconductor device stores a group of data written in the nonvolatile memory in a register. An internal control circuit then reads the group of data stored in the register and performs predetermined internal control.

[0063] Furthermore, some semiconductor devices are capable of reading data groups from a nonvolatile memory located outside the semiconductor device (for example, inside a control circuit) and storing the data groups in a register. In this case, the control circuit stores the data groups from the nonvolatile memory in the register.

[0064] In these semiconductor devices, various considerations have been made to prevent malfunctions in the internal control described above when an abnormality (so-called register corruption) occurs in the data group stored in the register. For example, a method has been considered in which the data group is periodically re-stored in the register from the nonvolatile memory.

[0065] However, reading data from a nonvolatile memory requires a relatively long time, and therefore, when this method is adopted, even if a semiconductor device includes a nonvolatile memory, there is a risk that the time required for internal processing may not meet the time required from the viewpoint of functional safety, leading to problems.

[0066] Furthermore, in a semiconductor device configured to store data groups from an external non-volatile memory in a register, the control circuit must periodically store the data groups in the register of the semiconductor device, which results in the control circuit having to allocate extra resources to deal with register corruption, resulting in inefficiency.

[0067] <Regarding the Present Disclosure> In contrast, as described above, the semiconductor device 3 of the above embodiment according to the present disclosure is configured such that the register monitoring circuit 7 periodically determines whether the data group D stored in the register 6 is normal. This eliminates the need to periodically re-store the data group D that is not necessarily abnormal, thereby reducing the time required to overwrite the register 6. This makes it possible to reduce the time required for internal control while suppressing malfunctions in the internal control.

[0068] As described above, the calculation circuit 14 can calculate the check code CRCW based on the data group D stored in the register 6. The determination data that the register determination circuit 15 uses to compare with the check code CRCW is also stored in the register 6. This eliminates the need to read out additional data from outside the semiconductor device 3 (here, the nonvolatile memory 12) when determining whether the data group D in the register 6 is normal, making it easier to monitor the register 6. This reduces the time required for the above-mentioned determination.

[0069] Furthermore, when determining whether the data group D in the register 6 is normal or not, the control circuit 2 does not need to store the data group D in the register 6. Therefore, it is no longer necessary to allocate resources of the control circuit 2 to measures against register corruption.

[0070] As described above, the register monitoring circuit 7 can determine whether the data group D is normal or not by a cyclic redundancy check using the check code CRCR calculated by the CRC calculation and the determination data CRCW. This makes it possible to more effectively determine whether the data group D is normal or not compared to when other error detection methods are used.

[0071] Furthermore, as described above, while the data group D is being written to the register 6, the register monitoring circuit 7 stops monitoring the register 6. While the data group D has been abnormal and a normal data group D is being written to the register 6, it is clear that the data group D stored in the register 6 is abnormal, and so there is no need to monitor the register 6. Therefore, by temporarily stopping monitoring by the register monitoring circuit 7 during this period, the power consumption of the semiconductor device 3 can be reduced.

[0072] As described above, the reception judgment circuit 5 is capable of judging whether the data group D received by the receiving circuit 12 is normal or not. If the judgment result S1 indicates that the data group D is not normal, the data group D is stored again in the register 6. This makes it possible to discover any defects in the data group D during reception when the data group D is stored in the register 6 from outside. Therefore, it is possible to re-store a normal data group D in the register 6 before a defect occurs in the internal control of the semiconductor device 3.

[0073] The present invention is not limited to the above embodiment, and various modifications are possible without departing from the spirit of the present invention. For example, as a method for monitoring the register 6 according to the above embodiment, the check code CRCR is calculated by a CRC calculation to determine whether the data group D is normal, but this is not limiting. For example, it is also possible to determine whether the data group D is normal using an error detection method such as parity or a checksum.

[0074] Furthermore, in the above embodiment, the nonvolatile memory 12 is included in the control circuit 2, but this is not limiting. For example, the nonvolatile memory 12 may be omitted, and a nonvolatile memory may be included inside the semiconductor device 3. In this case, the control circuit 2 writes the data group D and the determination data CRCW to this nonvolatile memory. The data group D and the determination data CRCW are then stored in the register 6 from this nonvolatile memory.

[0075] In this case, the register monitoring circuit 7 periodically monitors the register 6, eliminating the need to repeatedly read data from the nonvolatile memory as in the conventional semiconductor device described above. As a result, the time required to take measures against data corruption in the register 6 is relatively short.

[0076] In the above embodiment, the data group D is configured with 28 pieces of data (= data d0 to d27), but this is not limiting. The data group D may be configured with n-1 pieces of data, and the data related to the CRCW for validity determination may be the nth piece of data following the last piece of data in the data group D, as in the above embodiment.

[0077] In the above embodiment, the data group D is incremented by one from data d0 to data d27, but this is not limiting. That is, the data group D may not include any of data d0 to d27.

[0078] The semiconductor device (3) disclosed in the specification has a configuration (first configuration) including a register (6) capable of storing predetermined data, and a register monitoring circuit (7) configured to monitor the register (6) so as to periodically determine whether a data group (D) stored in the register (6) is normal or not.

[0079] In addition, the semiconductor device (3) having the first configuration may be configured such that judgment data (CRCW) based on a normal data group (D) and the data group (D) are stored in a register (6), and the register monitoring circuit (7) compares a check code (CRCR) calculated from the data group (D) stored in the register (6) with the judgment data (CRCW) to determine whether the data group (D) stored in the register (6) is a normal value (second configuration).

[0080] In addition, in the semiconductor device (3) having the second configuration, the register monitoring circuit (7) may be configured to calculate the check code (CRCR) by CRC calculation (third configuration).

[0081] Furthermore, in the semiconductor device (3) having the third configuration, the determination data (CRCW) is a value calculated in advance by CRC calculation of the data group (D) based on the normal values ​​of the configuration data (d0 to d27), and the register monitoring circuit (7) is configured to determine whether the determination data (CRCW) matches or does not match the check code (CRCR) to determine whether the data group (D) is normal or not (fourth configuration).

[0082] The semiconductor device (3) having the first configuration may be configured to include a transmission circuit (8) for transmitting the determination result (S2) of the data group (D) to the outside (fifth configuration).

[0083] In addition, in the semiconductor device (3) having the fifth configuration, the register monitoring circuit (7) may be configured to stop monitoring the register (6) while the data group (D) is being written to the register (6) from the outside, and to resume monitoring the register (6) after the writing of the data group (D) to the register (6) from the outside is completed (sixth configuration).

[0084] Furthermore, the semiconductor device (3) having the first configuration may be configured to include a receiving circuit (4) that receives from the outside a data group (D) to be written to the register (6), and a receiving judgment circuit (5) that judges whether the data group (D) received by the receiving circuit (4) is normal or not (seventh configuration).

[0085] The information processing device (1) disclosed in the specification has a configuration (eighth configuration) including a semiconductor device (3) having any of the first to seventh configurations and a control circuit (2) configured to be able to write a data group (D) to a register (6).

[0086] The information processing device (1) disclosed in the specification includes a semiconductor device (3) of the fifth or sixth configuration, and a control circuit (2) configured to be able to write a data group (D) to a register (6), and the control circuit (2) is configured (ninth configuration) to write the data group (D) to the register (6) when a monitoring result indicating that the data group (D) is abnormal is received.

[0087] According to the semiconductor device (3) of the first configuration, it is possible to periodically determine whether the data group (D) stored in the register (6) is normal. This eliminates the need to periodically re-store the data group (D), thereby shortening the time required to overwrite the register (6). This allows the register (6) to be monitored in a relatively short read time, thereby preventing malfunctions in internal control.

[0088] According to the semiconductor device (3) of the second configuration, the check code (CRCR) can be calculated based on the data group (D) stored in the register (6). Furthermore, the judgment data (CRCW) used for comparison with the check code (CRCR) is also stored in the register (6). Therefore, when determining whether the data group (D) in the register (6) is normal or not, there is no need to read data separately from outside the semiconductor device (3), and monitoring of the register (6) is simplified. Therefore, the time required for the above-mentioned judgment can be shortened.

[0089] According to the semiconductor device (3) of the third configuration, it is possible to more suitably calculate the check code (CRCR), and it is possible to suitably determine whether the data group (D) is normal or not.

[0090] According to the semiconductor device (3) of the fourth configuration, it is possible to more preferably calculate the check code (CRCR) and the judgment data (CRCW), and it is possible to more preferably determine whether the data group (D) is normal or not.

[0091] According to the semiconductor device (3) of the fifth configuration, it is possible to configure a system that is capable of various controls using the judgment result (S2) outputted to the outside.

[0092] According to the semiconductor device (3) of the sixth configuration, while a normal data group (D) is being written to the register (6) after the data group (D) has been abnormal, it is not necessary to determine whether the data group (D) stored in the register (6) is normal. Therefore, by suspending monitoring by the register monitoring circuit (7) during this period, it is possible to suppress a decrease in the efficiency of the semiconductor device (3).

[0093] According to the semiconductor device (3) of the seventh configuration, when the data group (D) is stored in the register (6) from the outside, a defect in the data group (D) can be detected during reception, and therefore, it is possible to re-store the normal data group (D) in the register (6) before a defect occurs in the internal control of the semiconductor device (3).

[0094] According to the information processing device (1) of the eighth configuration, it is possible to provide an information processing device (1) that can monitor the register (6) in a relatively short read time and prevent malfunctions from occurring in the internal control of the semiconductor device (3). Furthermore, it is possible to monitor the data group (D) in the register (6) without allocating resources of the control circuit (2) to monitoring the register (6). Therefore, it is possible to prevent a decrease in the efficiency of the control circuit (2).

[0095] According to the information processing device (1) of the ninth configuration, when it is determined that the data group (D) stored in the register (6) is not normal, it becomes possible to store a normal data group (D) in the register (6) again.

[0096] REFERENCE SIGNS LIST 1 Information processing device 2 Control circuit 3 Semiconductor device 4 Receiving circuit 5 Reception judgment circuit 6 Register 7 Register monitoring circuit 8 Transmitting circuit 9 Parameter storage area 10 Judgment data storage area 11 Code storage section 12 Non-volatile memory 13 Internal control circuit 14 Calculation circuit 15 Register judgment circuit adr0 to adr27, adrn Address CRCW Judgment result CRCR Check code CSB Chip select signal d0 to d28, dx Data D Data group S1, S2 Judgment result SDI Serial input signal t1 to t14 Time

Claims

1. A semiconductor device comprising: a register capable of storing specified data; and a register monitoring circuit configured to monitor the register to periodically determine whether a group of data stored in the register is normal.

2. The semiconductor device of claim 1, wherein judgment data based on the data group that is normal and the data group are stored in the register, and the register monitoring circuit compares a check code calculated from the data group stored in the register with the judgment data to judge whether the data group stored in the register is normal or not.

3. The semiconductor device according to claim 2, wherein the register monitoring circuit calculates the check code by a CRC operation.

4. The semiconductor device described in claim 3, wherein the judgment data is a value calculated in advance by CRC calculation based on the normal values ​​of each data that constitutes the data group, and the register monitoring circuit determines whether the judgment data matches or does not match the check code to determine whether the data group is normal.

5. The semiconductor device according to claim 1, further comprising a transmission circuit for transmitting the determination result of said data group to an external device.

6. The semiconductor device according to claim 5, wherein the register monitoring circuit stops monitoring the register while the group of data is being written to the register from the outside, and resumes monitoring the register after the writing of the group of data to the register from the outside has been completed.

7. The semiconductor device according to claim 1, further comprising: a receiving circuit that receives from the outside the data group to be written to the register; and a reception determination circuit that determines whether the data group received by the receiving circuit is normal.

8. An information processing device comprising: a semiconductor device according to any one of claims 1 to 7; and a control circuit configured to be able to write the group of data into the register.

9. An information processing device comprising: a semiconductor device according to claim 5 or 6; and a control circuit configured to be able to write the group of data to the register, wherein the control circuit writes the group of data to the register when the control circuit receives a monitoring result indicating that the group of data is abnormal.

Citation Information

Patent Citations

  • Method for writing / reading out in / from storage device, and data storage system

    JP2005234883A

  • Zero Overhead Code Coverage Analysis

    US20170031750A1