Electronic device, reconfiguration method, and program

The electronic device and method address the challenge of soft errors in FPGAs by employing internal configuration data switching to reset the FPGA, eliminating the need for external circuits and reducing replacement costs.

JP2024142031AActive Publication Date: 2024-10-10YOKOGAWA ELECTRIC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023053987
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-10
Estimated Expiration
2043-03-29

AI Technical Summary

Technical Problem

Existing technologies face challenges in easily resolving soft errors in FPGAs without adding an external reconfiguration circuit, particularly in electronic equipment that is not equipped with such a circuit, leading to high costs and resource-intensive replacements.

Method used

An electronic device and method that utilizes a configuration data switching mechanism within the FPGA to reload default configuration data upon detecting a soft error, effectively resetting the FPGA without requiring an external reconfiguration circuit.

Benefits of technology

Enables easy elimination of soft errors in FPGAs by resetting the device using internal configuration data switching, reducing the need for costly replacements and external circuit installations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To easily eliminate a soft error without adding an external circuit.SOLUTION: An electronic device (10) comprises a program ROM(11), a CRAM(121), a user processing section (123a), a configuration data switching section (122b), and a configuration controller (120). The program ROM(11) stores first configuration data (11b). The first configuration data (11b) is loaded to the CRAM(121). The user processing section (123a) performs user processing included in the first configuration data (11b). The configuration data switching section (122b) performs switching to intangible second configuration data (11c) in the program ROM(11) when a soft error is detected in the CRAM(121) while the user processing is being performed. The configuration controller (120) re-loads the first configuration data (11b) to the CRAM(121) by assuming that switching to the second configuration data (11c) is an error.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an electronic device, a reconfiguration method, and a program. [Background technology]

[0002] In recent years, DCS (Distributed Control System) and SIS (Safety Instrumented System) have become more important in plants. Many of the electronic devices used in plants, such as DCS, SIS, communication devices, and other FA (Factory Automation) devices, are equipped with FPGA (Field Programmable Gate Array), which is an integrated circuit.

[0003] FPGAs are at risk of soft errors, which can destroy data in the internal configuration memory, CRAM (Configuration Random Access Memory), due to disturbances such as cosmic rays. Therefore, when configuring logic that requires reliability, measures to prevent this are necessary.

[0004] In addition, FPGA vendors often implement a soft error detection function in FPGAs as a standard feature, so FPGA users can take measures such as equipping their electronic devices with an external circuit that, when a soft error signal is output by such a detection function, triggers the FPGA to be reconfigured. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2014-052781 A Summary of the Invention [Problem to be solved by the invention]

[0006] However, the conventional technology has room for further improvement in terms of easily eliminating soft errors without adding an external circuit.

[0007] For example, when using the above-mentioned external circuit, it is necessary to mount the external circuit in advance on the electronic device, which poses a problem that the conventional technology cannot be applied to electronic devices that do not mount the external circuit.

[0008] One possible solution to this problem would be to replace the electronic devices with products equipped with external circuits so that conventional technology could be applied; however, the number of electronic devices installed in the plant is enormous, and this is not an easy solution when considering only the cost aspects, such as labor costs, personnel costs, and financial costs.

[0009] An object of the present invention is to provide an electronic device, a reconfiguration method, and a program that can easily eliminate soft errors without adding an external circuit. [Means for solving the problem]

[0010] An electronic device according to one aspect includes a first storage unit, a second storage unit, a user processing unit, a switching unit, and a loader. The first storage unit stores first config data. The second storage unit loads the first config data. The user processing unit executes user processing included in the first config data. When a soft error is detected in the second storage unit during execution of the user processing, the switching unit executes switching to second config data that does not exist in the first storage unit. The loader treats the switching to the second config data as an error and reloads the first config data into the second storage unit.

[0011] A reconfiguration method according to one aspect includes a computer having a first memory unit that stores first configuration data and a second memory unit to which the first configuration data is loaded, the computer executes user processing included in the first configuration data loaded into the second memory unit, and when a soft error in the second memory unit is detected during execution of the user processing, the computer switches to second configuration data that has no substance in the first memory unit, and treats the switch to the second configuration data as an error and reloads the first configuration data into the second storage unit.

[0012] A program according to one aspect causes a computer having a first memory unit that stores first config data and a second memory unit to which the first config data is loaded to execute user processing included in the first config data loaded to the second memory unit, and when a soft error in the second memory unit is detected during execution of the user processing, executes switching to second config data that has no substance in the first memory unit, and treats the switching to the second config data as an error and reloads the first config data into the second memory unit. Effect of the Invention

[0013] According to one embodiment, it is possible to provide an electronic device, a reconfiguration method, and a program that can easily eliminate soft errors without adding an external circuit. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is a block diagram showing an example of the configuration of an electronic device according to an existing technique. [Diagram 2] 1 is a block diagram showing an example of the configuration of an electronic device according to an embodiment; [Diagram 3] FIG. 1 is an explanatory diagram of a reconfiguration method according to an embodiment. [Figure 4] 5 is a flowchart showing a process performed by the electronic device according to the embodiment. [Diagram 5]FIG. 2 is a hardware configuration diagram illustrating an example of a computer that realizes the functions of the electronic device according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, the embodiments of the electronic device, reconfiguration method, and program disclosed in the present application will be described in detail with reference to the drawings. Note that the present invention is not limited to these embodiments. Also, the same elements are given the same reference numerals, duplicated descriptions are omitted as appropriate, and each embodiment can be appropriately combined within a range that does not cause inconsistency.

[0016] In the following, the electronic device 10 (see FIG. 2) according to the embodiment will be described mainly with reference to a case where an FPGA 12 (see FIG. 1) is implemented. The FPGA 12 is an example of a programmable logic device (PLD), and is an integrated circuit whose internal logic circuitry can be reconfigured by a user.

[0017] "Configuration" refers to this FPGA 12 loading the circuit configuration information (logic and wiring) of the logic circuit from the program ROM (Read Only Memory) 11 (see Figure 1) to the CRAM 121 (see Figure 1). Hereinafter, this "configuration" will be abbreviated to "config" as appropriate. Accordingly, soft error "reconfiguration" will be abbreviated to "reconfig" as appropriate. "Reconfiguration" can be interpreted as "reset" or "restart" as appropriate.

[0018] In the following description, the reconfiguration method according to the embodiment is assumed to be a reconfiguration method for the FPGA 12.

[0019] The reconfiguration method according to the present embodiment will be described with reference to Figs. 1 to 3. Fig. 1 is a block diagram showing a configuration example of an electronic device 10A according to the existing technology. Fig. 2 is a block diagram showing a configuration example of an electronic device 10 according to the embodiment. Fig. 3 is an explanatory diagram of the reconfiguration method according to the embodiment.

[0020] In FIG. 1 and the corresponding FIG. 2, only components necessary for explaining this embodiment are shown in functional blocks, and descriptions of general components are omitted.

[0021] [Examples of electronic device configurations related to existing technology] First, the problems when using the existing technology will be described in more detail. As shown in Fig. 1, an electronic device 10A according to the existing technology has a program ROM 11, an FPGA 12, and a reconfiguration circuit 13. The program ROM 11, the FPGA 12, and the reconfiguration circuit 13 are implemented, for example, on a PWB (Printed Wired Board) mounted on the electronic device 10A.

[0022] The program ROM 11 stores configuration data 11a. The configuration data 11a is data including circuit configuration information to be loaded into the CRAM 121 of the FPGA 12. The configuration data 11a may be read as "program data." Note that the capacity of the program ROM 11 is limited to one piece of program data for the FPGA 12 from the viewpoint of cost and the like.

[0023] As described above, the FPGA 12 is an integrated circuit whose internal logic circuit can be reconfigured by a user. The FPGA 12 includes a configuration controller 120, a CRAM 121, a standard function block 122, and a user logic block 123.

[0024] The configuration controller 120 corresponds to a so-called “loader.” When the power supply of the electronic device 10A is turned on and the FPGA 12 starts up, the configuration controller 120 reads the configuration data 11a from the program ROM 11 and loads it into the CRAM 121 to execute a configuration.

[0025] Furthermore, when the configuration controller 120 receives a reconfiguration command from the reconfiguration circuit 13 , it executes reconfiguration by rereading the configuration data 11 a from the program ROM 11 and reloading it into the CRAM 121 .

[0026] The CRAM 121 develops the configuration data 11a including the circuit configuration information on the memory image.

[0027] The standard function block 122 is a logic block that executes standard functions provided by the vendor of the FPGA 12. The standard function block 122 includes a soft error detection unit 122a. The soft error detection unit 122a monitors the occurrence of soft errors caused by disturbances such as cosmic rays, and outputs a soft error detection signal when a soft error occurs.

[0028] The user logic block 123 is a logic block that can be arbitrarily reconfigured by a user of the FPGA 12. The user logic block 123 has a user processing unit 123a. The user processing unit 123a executes processing according to an algorithm arbitrarily described by the user using a hardware description language (HDL).

[0029] In the existing technology, as a countermeasure in the event that the above-mentioned soft error occurs, an external circuit may be installed in advance, and a soft error signal may be used as a trigger to have this external circuit issue a reconfiguration command, thereby executing reconfiguration and eliminating the soft error.

[0030] The reconfiguration circuit 13 corresponds to this external circuit. The reconfiguration circuit 13 is connected to the FPGA 12 via external pins PN1 and PN2. When the soft error detection unit 122a detects a soft error, it outputs a soft error signal to the external pin PN1.

[0031] When the reconfiguration circuit 13 receives a soft error signal via the external pin PN1, it issues a reconfiguration command to the external pin PN2, activating the external pin PN2. When the configuration controller 120 detects the activation of the external pin PN2 by this reconfiguration command, the configuration controller 120 executes reconfiguration by rereading the configuration data 11a from the program ROM 11 and reloading it into the CRAM 121.

[0032] However, when using this reconfiguration circuit 13, it is necessary to mount the reconfiguration circuit 13 in advance in the electronic device 10A. This causes a problem in that the existing technology cannot be applied to, for example, an electronic device that does not mount the reconfiguration circuit 13.

[0033] One possible solution to this problem would be to replace the electronic devices with products equipped with reconfiguration circuits 13 so that existing technology can be applied, but the number of electronic devices installed in a plant is enormous, and this is particularly noticeable in communication devices connecting the field side and the instrumentation side. Therefore, even if we only consider the cost aspects, such as work costs, human costs, and financial costs, this is not an easy solution.

[0034] Therefore, in the reconfiguration method of the embodiment, an electronic device 10 having a program ROM 11 that stores first configuration data and a CRAM 121 into which the first configuration data is loaded executes a user process included in the first configuration data loaded into the CRAM 121, and if a soft error in the CRAM 121 is detected during execution of the user process, switches to second configuration data that has no entity in the program ROM 11, and reloads the first configuration data into the CRAM 121, treating the switch to the second configuration data as an error.

[0035] [Example of the configuration of the electronic device according to the embodiment] An example of the configuration of an electronic device 10 according to the embodiment is shown in Fig. 2. Note that Fig. 2 corresponds to Fig. 1, and therefore differences from Fig. 1 will be mainly described here.

[0036] As shown in FIG. 2, the electronic device 10 according to the embodiment differs from the electronic device 10A according to the existing technology in that, in addition to storing first configuration data 11b in the program ROM 11, second configuration data 11c is also disguised as being stored therein.

[0037] The first configuration data 11b is the same as the configuration data 11a shown in Fig. 1. The first configuration data 11b is default configuration data that is loaded first into the CRAM 121 when the power is turned on.

[0038] On the other hand, the second configuration data 11c has no substance. The second configuration data 11c is made to look as if it is stored in the program ROM 11 due to the setting of a configuration data switching command, which will be described later. In other words, the second configuration data 11c is "dummy" configuration data, as shown in FIG. 2.

[0039] Furthermore, the electronic device 10 differs from the electronic device 10A according to the existing technology in that the standard function block 122 further includes a configuration data switching unit 122b. The configuration data switching unit 122b executes switching of configuration data, which is one of the standard functions provided by the vendor of the FPGA 12. In this embodiment, the configuration data switching unit 122b is "enabled" in advance by the user so that this function can be executed, as shown in FIG.

[0040] The configuration data switching unit 122b is configured to issue a configuration data switching command to the configuration controller 120 instructing the switching of configuration data when an arbitrary trigger signal designated by the user is input.

[0041] In this embodiment, the configuration data switching unit 122b is designated in advance by the user as a trigger signal to be a soft error signal from the soft error detection unit 122a. Also, the configuration data switching unit 122b is designated in advance by the user to issue a configuration data switching command for instructing switching from the first configuration data 11b to the second configuration data 11c when a soft error signal is input.

[0042] As a result, in this embodiment, when a soft error signal is input from the soft error detection unit 122a, the configuration data switching unit 122b issues a configuration data switching command to the configuration controller 120 to instruct switching from the first configuration data 11b to the second configuration data 11c. A reconfiguration method executed by the electronic device 10 configured in this manner is shown in FIG.

[0043] [Description of the reconfiguration method according to the embodiment] As shown in FIG. 3, in the reconfiguration method according to the embodiment, when the electronic device 10 is powered on, the configuration controller 120 of the FPGA 12 executes a configuration for loading the first configuration data 11b of the program ROM 11 into the CRAM 121.

[0044] When the configuration controller 120 receives a configuration data switching command from the configuration data switching unit 122b while the electronic device 10 is running, the configuration controller 120 executes reconfiguration to load the second configuration data 11c in the program ROM 11 into the CRAM 121.

[0045] However, as described above, the second configuration data 11c is dummy data and has no substance, so this reconfiguration results in an "error." In the reconfiguration method according to the embodiment, the electronic device 10 is intentionally configured in this way so that reconfiguration to the second configuration data 11c results in an error.

[0046] Then, when an error occurs while reconfiguring to the second configuration data 11c, the configuration controller 120 executes reconfiguration by loading the first configuration data 11b, which is the default, into the CRAM 121. As a result, according to the reconfiguration method of the embodiment, reconfiguration using the first configuration data 11b is executed in response to the soft error, so that the first configuration data 11b is reloaded into the CRAM 121, and the soft error can be resolved.

[0047] In this way, in the reconfiguration method according to the embodiment, a situation is deliberately created in which an error occurs in reconfiguring to the second configuration data 11c, thereby making it possible to ultimately achieve reconfiguration using the first configuration data 11b.

[0048] That is, in the reconfiguration method according to the embodiment, a reset of the FPGA 12 is substantially realized by using a configuration data switching algorithm that is not a reset algorithm that resets the FPGA 12 .

[0049] Therefore, according to the reconfiguration method of the embodiment, even if the vendor of the FPGA 12 does not provide a reset function as a standard function, the FPGA 12 can be reset using a configuration data switching function instead, thereby eliminating the soft error.

[0050] As a result, even if a reset function is provided by the vendor of the FPGA 12, tasks such as replacing configuration data for the existing electronic device 10 or replacing the product will no longer be necessary.

[0051] Returning to the explanation of Fig. 2, the reconfiguration method according to the embodiment makes it "unnecessary" to mount the reconfiguration circuit 13, as shown in Fig. 2. This also makes it unnecessary to use the external pins PN1 and PN2. Therefore, the reconfiguration method according to the embodiment makes it unnecessary to replace the existing electronic device 10 with a product that includes the reconfiguration circuit 13, and makes it possible to easily eliminate soft errors.

[0052] Moreover, according to the reconfiguration method of the embodiment, the program ROM 11 is disguised with the second configuration data 11c, which has no substance. That is, the program ROM 11 is not actually used due to the second configuration data 11c. Therefore, according to the reconfiguration method of the embodiment, even if there is a restriction that the program ROM 11 has a capacity for only one piece of configuration data, it is possible to easily eliminate a soft error without replacing the program ROM 11.

[0053] As described above, the reconfiguration method according to the embodiment is particularly useful in a plant or the like in which a huge number of electronic devices 10 are installed.

[0054] [Processing Procedure] Next, a process procedure executed by the electronic device 10 according to the embodiment will be described with reference to Fig. 4. Fig. 4 is a flowchart showing a process procedure executed by the electronic device 10 according to the embodiment.

[0055] 4, the electronic device 10 first enables the configuration data switching unit 122b in response to a user instruction (step S101).Then, the user instructs the configuration data switching unit 122b to switch to the second configuration data 11c using a soft error signal as a trigger (step S102).

[0056] On this premise, when the electronic device 10 is powered on (step S103), it first loads the default first configuration data 11b into the CRAM 121 (step S104).

[0057] Then, in the electronic device 10, the user processing unit 123a executes the user process (step S105). During the execution of the user process, the soft error detection unit 122a monitors the occurrence of a soft error (step S106).

[0058] If it is determined that a soft error has occurred (step S106, Yes), the configuration data switching unit 122b of the electronic device 10 issues a configuration data switching command to the configuration controller 120 (step S107). In response to this, the configuration controller 120 executes switching to the second configuration data 11c (step S108).

[0059] However, since the second configuration data 11c is dummy configuration data with no substance, a switching error occurs (step S109).

[0060] Then, in the electronic device 10, the configuration controller 120 reloads the first configuration data 11b as an abnormality process (step S110). This causes the electronic device 10 to resolve the soft error. Then, the electronic device 10 repeats the process from step S105.

[0061] Furthermore, if a soft error has not occurred in step S106 (step S106, No), the electronic device 10 repeats the process from step S105.

[0062] [effect] As described above, the electronic device 10 according to the embodiment includes a program ROM 11 (corresponding to an example of a "first storage unit"), a CRAM 121 (corresponding to an example of a "second storage unit"), a user processing unit 123a, a configuration data switching unit 122b, and a configuration controller 120 (corresponding to an example of a "loader"). The program ROM 11 stores the first configuration data 11b. The first configuration data 11b is loaded into the CRAM 121. The user processing unit 123a executes user processing included in the first configuration data 11b. When a soft error is detected in the CRAM 121 during the execution of the user processing, the configuration data switching unit 122b executes switching to the second configuration data 11c that does not exist in the program ROM 11. The configuration controller 120 regards the switching to the second configuration data 11c as an error and reloads the first configuration data 11b into the CRAM 121. Therefore, according to the electronic device 10 according to the embodiment, it is possible to easily eliminate soft errors without adding a reconfiguration circuit 13 (corresponding to an example of an "external circuit").

[0063] Moreover, the program ROM 11 has a capacity for one piece of configuration data. Therefore, according to the electronic device 10 according to the embodiment, even if there is a restriction that the program ROM 11 has a capacity for only one piece of configuration data, it is possible to easily resolve a soft error without replacing the program ROM 11 by disguising the existence of the imaginary second configuration data 11c.

[0064] The electronic device 10 also includes a programmable logic device. The programmable logic device includes a CRAM 121, a user processing unit 123a, a configuration data switching unit 122b, and a configuration controller 120. Therefore, according to the electronic device 10 according to the embodiment, when a programmable logic device, such as a PAL (Programmable Array Logic), a GAL (Generic Array Logic), a CPLD (Complex Programmable Logic Device), or an FPGA 12 is mounted, it is possible to easily eliminate soft errors without adding a reconfiguration circuit 13.

[0065] In addition, the configuration data switching unit 122b is enabled in advance so as to be able to switch between the first configuration data 11b and the second configuration data 11c. Therefore, according to the electronic device 10 according to the embodiment, by utilizing the configuration data switching that is a standard function of the FPGA 12, it is possible to easily resolve soft errors without adding the reconfiguration circuit 13.

[0066] In addition, the configuration data switching unit 122b can issue a configuration data switching command (corresponding to an example of a "switching command") to the configuration controller 120 by specifying an arbitrary trigger signal, and is set in advance to issue a configuration data switching command to instruct switching to the second configuration data 11c to the configuration controller 120 when a soft error signal is input in the case where the above soft error is detected. Therefore, according to the electronic device 10 according to the embodiment, by deliberately creating a situation in which an error occurs in reconfiguring to the second configuration data 11c, it is possible to finally realize reconfiguration using the first configuration data 11b. That is, the electronic device 10 according to the embodiment substantially realizes resetting the FPGA 12 by using a configuration data switching algorithm that is not a reset algorithm that resets the FPGA 12. Therefore, according to the electronic device 10 according to the embodiment, even if the vendor of the FPGA 12 does not provide a reset function as a standard function, the FPGA 12 can be reset by the configuration data switching function instead, and the soft error can be eliminated.

[0067] Moreover, the programmable logic device is an FPGA 12. Therefore, according to the electronic device 10 according to the embodiment, when the FPGA 12 is mounted, it is possible to easily eliminate soft errors without adding a reconfiguration circuit 13.

[0068] Moreover, the electronic device 10 is installed in a plant. Therefore, according to the electronic device 10 according to the embodiment, in a plant where a huge number of electronic devices 10 are installed, it is possible to easily eliminate soft errors without adding a reconfiguration circuit 13.

[0069] Moreover, the electronic device 10 is provided as a communication device in the plant. Therefore, according to the electronic device 10 according to the embodiment, it is possible to easily eliminate soft errors in communication devices, which tend to be provided in greater numbers in a plant than other devices, without adding a reconfiguration circuit 13.

[0070] In addition, in the reconfiguration method according to the embodiment, an electronic device 10 (corresponding to an example of a "computer") including a program ROM 11 storing first configuration data 11b and a CRAM 121 to which the first configuration data 11b is loaded executes a user process included in the first configuration data 11b, and if a soft error in the CRAM 121 is detected during execution of the user process, executes a process of switching to second configuration data 11c that does not exist in the program ROM 11, and reloads the first configuration data 11b into the CRAM 121, regarding the switching to the second configuration data 11c as an error. Therefore, according to the reconfiguration method according to the embodiment, a soft error can be easily eliminated without adding a reconfiguration circuit 13.

[0071] Moreover, the program according to the embodiment causes an electronic device 10 (corresponding to an example of a "computer") including a program ROM 11 storing first configuration data 11b and a CRAM 121 to which the first configuration data 11b is loaded to execute a user process included in the first configuration data 11b, and if a soft error in the CRAM 121 is detected during execution of the user process, to execute a process of switching to second configuration data 11c that does not exist in the program ROM 11, and reloading the first configuration data 11b into the CRAM 121, regarding the switching to the second configuration data 11c as an error. Therefore, according to the program according to the embodiment, a soft error can be easily eliminated without adding a reconfiguration circuit 13.

[0072] Furthermore, according to the program of the embodiment, the additional elements for realizing the program are closed inside the FPGA 12, so that the program can be applied to an existing electronic device 10 by adding them later (by reconfiguring the logic circuit inside the FPGA 12).

[0073] [Other embodiments] Although the embodiment of the present invention has been described above, the present invention may be embodied in various different forms other than the above-described embodiment.

[0074] [system] The information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified.

[0075] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure. In other words, all or part of them can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc.

[0076] Furthermore, each processing function performed by each device may be realized, in whole or in part, by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware using wired logic.

[0077] [Hardware] The electronic device 10 according to the embodiment described above is realized, for example, by a computer 1000 having a configuration as shown in Fig. 5. Fig. 5 is a hardware configuration diagram showing an example of the computer 1000 that realizes the functions of the electronic device 10 according to the embodiment.

[0078] 5, the computer 1000 includes a communication device 1000a, a secondary storage device 1000b, a memory 1000c, and a processor 1000d. The components shown in FIG. 5 are connected to each other via a bus or the like.

[0079] The communication device 1000a is a NIC (Network Interface Card) or the like, and communicates with other devices. The secondary storage device 1000b is realized by a flash memory, a HDD, or the like, and stores programs and databases that operate the functions shown in FIG.

[0080] The processor 1000d reads out a program that executes the same processes as the respective processing units shown in FIG. 2 from the secondary storage device 1000b, etc., and loads it in the memory 1000c, thereby operating a thread that executes each function described in FIG. 2, etc. For example, this thread executes a function similar to that of each processing unit possessed by the electronic device 10. Specifically, the processor 1000d reads out a program having a function similar to that of each functional block possessed by the FPGA 12 from the secondary storage device 1000b, etc. Then, the processor 1000d executes a thread that executes a process similar to that of each functional block possessed by the FPGA 12.

[0081] In this way, the computer 1000 operates as an electronic device that executes various processing methods by reading and executing a program. The computer 1000 can also realize functions similar to those of the above-mentioned embodiment by reading the program from a recording medium using a medium reading device and executing the read program. Note that the program referred to here is not limited to being executed only by the computer 1000. For example, the present invention can be similarly applied to cases where a computer or server having a different hardware configuration executes a program, or where these cooperate to execute a program.

[0082] This program can be distributed via a network such as the Internet. This program can also be recorded on a computer-readable recording medium such as a HDD, a flexible disk (FD), a CD-ROM, a magneto-optical disk (MO), or a digital versatile disk (DVD), and can be executed by being read from the recording medium by a computer. The recording medium on which such a program is recorded is also one aspect of the present disclosure.

[0083] [others] Some examples of combinations of the disclosed technical features are set out below.

[0084] (1) a first storage unit that stores first configuration data; a second storage unit into which the first configuration data is loaded; A user processing unit that executes a user process included in the first configuration data; a switching unit that switches to second configuration data that does not exist in the first storage unit when a soft error in the second storage unit is detected during the execution of the user process; a loader that treats the switching to the second configuration data as an error and reloads the first configuration data into the second storage unit; An electronic device comprising: (2) The first storage unit has a capacity for one piece of configuration data. (1) An electronic device as described in (1). (3) A programmable logic device is provided, The programmable logic device comprises: The second storage unit, the user processing unit, the switching unit, and the loader. An electronic device according to (1) or (2). (4) The switching unit is The first configuration data and the second configuration data are pre-enabled so that switching between them can be performed; (3) An electronic device as described in (3). (5) The switching unit is A switching command can be issued to the loader by specifying an arbitrary trigger signal, and the switching command is set in advance to issue to the loader the switching command instructing the loader to switch to the second configuration data when a soft error signal is input when the soft error is detected. An electronic device according to (3) or (4). (6) The programmable logic device is a field programmable gate array (FPGA). An electronic device according to (3), (4) or (5). (7) Installed in the plant, The electronic device according to any one of (1) to (6). (8) Provided as communication equipment for the plant, (7) An electronic device as described in (7). (9) A computer including a first storage unit that stores first configuration data and a second storage unit to which the first configuration data is loaded, Executing a user process included in the first configuration data loaded in the second storage unit; When a soft error is detected in the second storage unit during execution of the user process, switching to second configuration data that has no substance in the first storage unit is performed; reloading the first configuration data into the second storage unit while treating the switching to the second configuration data as an error; A reconfiguration method to perform the operation. (10) A computer including a first storage unit that stores first configuration data and a second storage unit to which the first configuration data is loaded, Executing a user process included in the first configuration data loaded in the second storage unit; When a soft error is detected in the second storage unit during execution of the user process, switching to second configuration data that has no substance in the first storage unit is performed; reloading the first configuration data into the second storage unit while treating the switching to the second configuration data as an error; A program that executes a process. (11) A computer-readable recording medium on which a program is recorded, The program is A computer including a first storage unit that stores first configuration data and a second storage unit to which the first configuration data is loaded, Executing a user process included in the first configuration data loaded in the second storage unit; When a soft error is detected in the second storage unit during execution of the user process, switching to second configuration data that has no substance in the first storage unit is performed; reloading the first configuration data into the second storage unit while treating the switching to the second configuration data as an error; A computer-readable recording medium that causes processing to be performed. [Explanation of symbols]

[0085] 10,10A electronic equipment 11 Program ROM 11a Config data 11b First config data 11c Second config data 12 FPGA 13 Reconfiguration Circuit 120 Config Controller 121 CRAM 122 Standard Function Blocks 122a Soft error detection unit 122b Config data switch 123 User Logical Block 123a User processing section

Claims

1. a first storage unit that stores first configuration data; a second storage unit into which the first configuration data is loaded; A user processing unit that executes a user process included in the first configuration data; a switching unit that switches to second configuration data that does not exist in the first storage unit when a soft error is detected in the second storage unit during execution of the user process; a loader that treats the switching to the second configuration data as an error and reloads the first configuration data into the second storage unit; An electronic device comprising:

2. The first storage unit has a capacity for one piece of configuration data.

2. The electronic device according to claim 1.

3. A programmable logic device is provided, The programmable logic device comprises: The second storage unit, the user processing unit, the switching unit, and the loader.

2. The electronic device according to claim 1.

4. The switching unit is The first configuration data and the second configuration data are enabled in advance so that switching between them can be performed.

4. The electronic device according to claim 3.

5. The switching unit is A switching command can be issued to the loader by specifying an arbitrary trigger signal, and the switching command is set in advance to issue to the loader the switching command instructing switching to the second configuration data when a soft error signal is input when the soft error is detected.

4. The electronic device according to claim 3.

6. The programmable logic device is a field programmable gate array (FPGA).

4. The electronic device according to claim 3.

7. Installed in the plant, 2. The electronic device according to claim 1.

8. Provided as communication equipment for the plant, 8. The electronic device according to claim 7.

9. A computer including a first storage unit that stores first configuration data and a second storage unit to which the first configuration data is loaded, Executing a user process included in the first configuration data loaded in the second storage unit; When a soft error is detected in the second storage unit during the execution of the user process, switching to second configuration data that has no substance in the first storage unit is performed; reloading the first configuration data into the second storage unit while treating the switching to the second configuration data as an error; A reconfiguration method to perform the operation.

10. A computer including a first storage unit that stores first configuration data and a second storage unit to which the first configuration data is loaded, Executing a user process included in the first configuration data loaded in the second storage unit; When a soft error is detected in the second storage unit during the execution of the user process, switching to second configuration data that has no substance in the first storage unit is performed; reloading the first configuration data into the second storage unit while treating the switching to the second configuration data as an error; A program that executes a process.

Citation Information

Patent Citations

  • Error correction circuit of programmable logic circuit

    JP2012053778A

  • Device for mounting FPGA

    JP2015216507A

  • FPGA monitoring control circuit

    JP2014052781A