Electronic device for detecting defect and operation method thereof
The electronic device employs a method to detect defects within electronic devices using multiple processing lanes and an additional lane for comparison, allowing for effective defect identification and response without performance degradation, thus addressing the limitations of existing defect detection methods.
Patent Information
- Application Number
- PCT/KR2023/003527
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-13
- Filing Date
- 2023-03-16
- Publication Date
- 2024-09-19
AI Technical Summary
Existing methods for detecting defects in electronic devices without separate defect detection devices often degrade performance and increase power consumption, as they require simultaneous activation of multiple logics or regular interval testing, which is not suitable for high test coverage.
An electronic device with multiple processing lanes and an additional processing lane that checks comparison result data to detect defects within lane groups, allowing for defect identification and response without degrading performance, using a control unit to manage input and output data and activate/deactivate lanes as needed.
Enables defect detection and response without performance degradation, minimizing hardware area and power consumption by using an additional processing lane to maintain device stability and performance during testing and operation.
Smart Images

Figure KR2023003527_19092024_PF_FP_ABST
Abstract
Description
Electronic device for performing defect detection and method of operating the same
[0001] The present disclosure relates to an electronic device for performing defect detection and an operating method thereof, and more specifically, to an electronic device for detecting a defect occurring inside an electronic device and performing a response thereto, and an operating method thereof.
[0002] System semiconductors control and operate electronic device systems, and are attracting attention as essential for Fourth Industrial Revolution technologies such as the Internet of Things (IoT), Artificial Intelligence (AI), and autonomous driving. System semiconductors may include processors that perform various calculations, control, and information processing. Research is underway to develop methods for detecting internal defects to ensure the stability of electronic devices utilizing system semiconductors.
[0003] In order to detect defects inside electronic devices without a separate defect detection device, a built-in self-test method using a scan chain in the logic has been proposed. However, this method has the problem that the logic cannot be used during the test for defect detection, which reduces the performance of the electronic device. In addition, since multiple logics are activated at the same time, power consumption increases. In addition, a method has been proposed that detects defects by executing a test workload at a certain interval and comparing it with a golden reference. However, this method also has the problem that the logic cannot be used during the test, which reduces the performance of the electronic device. In addition, it is difficult to secure a workload with high test coverage.
[0004] The present disclosure aims to provide an electronic device and an operating method thereof that performs defect detection occurring inside an electronic device without a separate defect detection device in order to solve the above-described problem.
[0005] Furthermore, the present disclosure aims to provide an electronic device and an operating method thereof that respond to a detected defect without degrading the performance of the electronic device.
[0006] The technical problems to be solved by the embodiments according to the present disclosure are not limited to the technical problems described above, and other technical problems can be inferred from the following embodiments.
[0007] An operating method of an electronic device including a plurality of processing lanes and at least one additional processing lane according to an embodiment of the present disclosure may include a step of identifying a lane group including lanes to process the same input data among a plurality of lanes including the plurality of processing lanes and the at least one additional processing lane, a step of identifying, for each of the plurality of lane groups, comparison result data indicating a result of comparing processing result data of lanes included in each lane group, and a step of detecting whether at least one of the plurality of lanes has a defect based on the comparison result data of the plurality of lane groups.
[0008] For example, the step of identifying the above lane group includes the step of identifying a first lane group to process the first input data to an Nth lane group to process the Nth input data, wherein N may be a natural number greater than or equal to 2.
[0009] For example, the N may be set corresponding to the number of the plurality of processing lanes, and the number of lanes included in each of the plurality of lane groups may be set corresponding to the number of the at least one additional processing lane.
[0010] For example, the step of checking the comparison result data for each of the plurality of lane groups may include a step of controlling that first input data is input to each of the lanes included in the first lane group, and a step of controlling that second input data is input to each of the lanes included in the second lane group based on the processing progress status of the lanes included in the first lane group.
[0011] For example, the plurality of lane groups may include a first lane group and a second lane group, the first lane group may include a first lane and a second lane, the second lane group may include a second lane and a third lane, and the step of detecting whether there is a defect in at least one of the plurality of lanes may include a step of checking whether there is a defect in at least one of the first lane, the second lane, and the third lane based on first comparison result data for the first lane group and second comparison result data for the second lane group.
[0012] For example, the comparison result data may have a first value when the processing result data of the lanes included in each lane group matches, and a second value when the processing result data of the lanes included in each lane group does not match, and the step of detecting whether there is a defect in at least one of the plurality of lanes may include a step of increasing a counter value of each lane corresponding to the comparison result data when the comparison result data has the second value, and a step of identifying a lane in which the counter value is greater than or equal to a threshold value as a lane in which a defect has occurred.
[0013] As an example, the operating method may further include a step of controlling the lane in which the defect occurred to be disabled and controlling lanes other than the lane in which the defect occurred among the plurality of lanes to process input data.
[0014] For example, the electronic device can check a counter value corresponding to each of the plurality of lanes according to a set cycle.
[0015] As an example, the electronic device may be one of a Single Instruction Multiple Data (SIMD) processor and a Single Instruction Multiple Thread (SIMT) processor.
[0016] An electronic device according to an embodiment of the present disclosure includes a plurality of processing lanes, at least one additional processing lane, and a control unit, wherein the control unit identifies a lane group including lanes to process the same input data among the plurality of processing lanes and the plurality of lanes including the at least one additional processing lane, identifies comparison result data representing a result of comparing processing result data of lanes included in each lane group for each of the plurality of lane groups, and detects whether at least one of the plurality of lanes has a defect based on the comparison result data of the plurality of lane groups.
[0017] For example, the electronic device may further include an input selection circuit that selects input data to be input to each of the plurality of lanes from among a plurality of input data, and an output selection circuit that outputs comparison result data of the plurality of lane groups and selects a plurality of output data corresponding to the plurality of input data from among processing result data of the plurality of lanes.
[0018] For example, the input selection circuit may include a first multiplexer that selects input data that is input equally to each of the lanes included in each lane group, and the output selection circuit may include a comparator for comparing processing result data of the lanes included in each lane group and a second multiplexer that selects output data from the processing result data of the lanes included in each lane group.
[0019] For example, the electronic device further includes a counter corresponding to each of the plurality of lanes, and the comparison result data has a first value when the processing result data of the lanes included in each lane group matches, and has a second value when the processing result data of the lanes included in each lane group does not match, and the control unit can increase a counter value of a counter corresponding to each of the lanes corresponding to the comparison result data when the comparison result data has the second value, and identify a lane in which the counter value is greater than or equal to a threshold value as a lane in which a defect has occurred.
[0020] For example, the electronic device may further include an output unit that outputs a signal indicating the occurrence of a defect when detecting the presence or absence of a defect in at least one of the plurality of lanes.
[0021] According to an embodiment of the present disclosure, a non-transitory computer-readable recording medium having recorded thereon a program for executing the above-described method on a computer may be provided.
[0022] Specific details of other embodiments are included in the detailed description and drawings.
[0023] An electronic device according to an embodiment of the present disclosure is implemented to include at least one additional processing lane for processing input data, so that the electronic device can be driven without performance degradation even when performing a test operation for defect detection, and problems of increased hardware area and power consumption can be minimized.
[0024] In addition, the electronic device according to the embodiment of the present disclosure can maintain the performance and stability of the electronic device by performing data processing by an additional processing lane by replacing the processing lane in which a defect has been detected.
[0025] The effects of the present disclosure are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the description of the claims.
[0026] FIG. 1 is a block diagram illustrating an electronic device according to an embodiment of the present disclosure.
[0027] FIG. 2A and FIG. 2B are drawings for comparing and explaining the operation of an electronic device according to an embodiment of the present disclosure.
[0028] FIG. 3 is a flowchart illustrating an operation method for detecting a defect in an electronic device according to an embodiment of the present disclosure.
[0029] FIG. 4 is a flowchart illustrating a specific method for detecting the presence or absence of a defect in at least one of a plurality of lanes according to some embodiments of the present disclosure.
[0030] FIG. 5 is a diagram illustrating the structure of an electronic device that performs defect detection according to one embodiment of the present disclosure.
[0031] FIG. 6 is a drawing for explaining a method for detecting a lane in which a defect has occurred in the electronic device illustrated in FIG. 5.
[0032] FIG. 7 is a flowchart illustrating an operating method of an electronic device according to another embodiment of the present disclosure.
[0033] FIG. 8 is a diagram illustrating the structure of an electronic device that performs defect detection and defect response according to an embodiment of the present disclosure.
[0034] FIG. 9 is a diagram illustrating the structure of an electronic device that performs defect detection and defect response according to another embodiment of the present disclosure.
[0035] FIG. 10 is a drawing for explaining a method for detecting a lane in which a defect has occurred in the electronic device illustrated in FIG. 9.
[0036] The terms used in the embodiments have been selected from widely used and common terms, taking into account the functions of the present disclosure. However, these terms may vary depending on the intentions of those skilled in the art, precedents, the emergence of new technologies, etc. Furthermore, in certain cases, terms may be arbitrarily selected by the applicant, in which case their meanings will be described in detail in the relevant description. Therefore, the terms used in this disclosure should not be defined simply as names of terms, but rather based on the meanings of the terms and the overall content of the present disclosure.
[0037] When a part of the specification is said to "include" a component, this does not exclude other components, but rather implies the inclusion of other components, unless otherwise specifically stated. Furthermore, terms such as "part," "module," and "unit" used in the specification mean a unit that processes at least one function or operation, which may be implemented in hardware, software, or a combination of hardware and software.
[0038] An electronic device according to an embodiment of the present disclosure may be a device that performs various operations, controls, information processing, etc. An electronic device according to an embodiment of the present disclosure may include a plurality of processing units that perform parallel computing, and a processing unit may refer to a single unit that performs various operations, controls, and information processing. In the present specification, the electronic device will be described by borrowing the structure of a SIMD (Single Instruction Multi Data) processor, but this is only one embodiment to help understand the present disclosure and does not limit the type of the electronic device according to the present disclosure. For example, an electronic device according to an embodiment of the present disclosure may be any one of various electronic devices including a SIMD processor, a SIMT (Single Instruction Multiple Thread) processor, and a multiprocessor in which a plurality of processors are integrated. In other words, an electronic device according to an embodiment of the present disclosure may be any electronic device that includes a configuration that performs parallel computing through a plurality of processing units.
[0039] In this specification, as the electronic device is described through the structure of a SIMD processor, the term "processing lane" will be understood as a concept corresponding to a processing unit. Meanwhile, if the electronic device according to an embodiment of the present disclosure is implemented as a multi-processor, one processor may be understood as a concept corresponding to a processing unit. In addition, the term "additional processing lane" described in this specification may mean a configuration that performs substantially the same operation as a processing lane, and may be understood as a term used to distinguish it from a processing lane included in an electronic device for the convenience of description. Meanwhile, the term "multiple lanes" described in this specification may be understood as a concept including the above-described processing lane and additional processing lanes.
[0040] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the attached drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein.
[0041] FIG. 1 is a block diagram illustrating an electronic device (10) according to an embodiment of the present disclosure. Referring to FIG. 1, the electronic device (10) according to an embodiment of the present disclosure may include first to Nth processing lanes (110_1, 110_2, ..., 110_N), an additional processing lane (120), and a control unit (130).
[0042] Each of the first to Nth processing lanes (110_1, 110_2, …, 110_N) can perform an operation corresponding to input data and output processing result data derived through the operation. In an embodiment, the first to Nth processing lanes (110_1, 110_2, …, 110_N) can be synchronized to perform an operation corresponding to a command, and the physical or logical circuits for performing the operation included in each of the first to Nth processing lanes (110_1, 110_2, …, 110_N) can have the same structure. The first to Nth processing lanes (110_1, 110_2, …, 110_N) can perform computational operations on input data inputted to each of the first to Nth processing lanes (110_1, 110_2, …, 110_N) in parallel based on a command.
[0043] The additional processing lane (120) can perform operations corresponding to input data and output processing result data derived through the operations. The additional processing lane (120) can also be synchronized with the first to Nth processing lanes (110_1, 110_2, …, 110_N) to perform operations corresponding to commands, and can perform operations on input data in parallel with the first to Nth processing lanes (110_1, 110_2, …, 110_N). In the present specification, for the convenience of explanation, the electronic device (10) is described as including one additional processing lane (120), but this is only one embodiment according to the present disclosure and does not limit the configuration of the electronic device (10) according to the present disclosure. Specifically, the electronic device (10) according to an embodiment of the present disclosure may include a plurality of additional processing lanes, and when the electronic device (120) includes a plurality of additional processing lanes, each of the plurality of additional processing lanes may perform an operation operation on input data corresponding to each of the plurality of additional processing lanes in parallel with the first to Nth processing lanes (110_1, 110_2, ..., 110_N). Meanwhile, a physical or logical circuit for performing an operation included in each of the plurality of additional processing lanes may have the same structure as the processing lane (110_1, 110_2, ..., or 110_N).
[0044] Meanwhile, in this specification, the plurality of lanes (110_1, 110_2, …, 110_N, 120) are described as being arranged in one row or column, but this is only for convenience of description and does not limit the arrangement structure of the plurality of lanes (110_1, 110_2, …, 110_N, 120). The specific configuration and arrangement structure of each of the plurality of lanes (110_1, 110_2, …, 110_N, 120) according to the embodiment of the present disclosure will be described in detail with reference to FIGS. 2A and 2B, which will be described later.
[0045] The control unit (130) can control the operation of a plurality of lanes (110_1, 110_2, …, 110_N, 120). The control unit (130) can be connected to each of the plurality of lanes (110_1, 110_2, …, 110_N, 120) through an internal bus, and the control unit (130) can transmit a signal for controlling the operation of the plurality of lanes (110_1, 110_2, …, 110_N, 120) included in the electronic device (10) through the internal bus. The control unit (130) can decode a command stored in a memory (not shown) and generate a control signal for each of the plurality of lanes (110_1, 110_2, …, 110_N, 120). In an embodiment, the control signal may include at least some of a first control signal that commands the execution of an operation for each of the plurality of lanes (110_1, 110_2, …, 110_N, 120) and a second control signal that controls the activation for each of the plurality of lanes (110_1, 110_2, …, 110_N, 120).
[0046] An electronic device (10) according to an embodiment of the present disclosure can identify a lane group including lanes that process the same input data among a plurality of lanes (110_1, 110_2, ..., 110_N, 120). The number of lanes included in a lane group may be 2 or more, and a classification criterion for identifying a lane group may be based on a set criterion. For example, if a lane group classification criterion is set to identify two physically adjacent lanes as one lane group, a first lane group may include a first lane and a second lane physically adjacent to the first lane, and a second lane group may include a second lane and a third lane physically adjacent to the second lane. In some embodiments, the number of lane groups identified by the electronic device (10) may be set corresponding to the number of processing lanes (110_1, 110_2, ..., 110_N), and the number of lanes included in a lane group may be set corresponding to the number of additional processing lanes (120), but the number of lane groups identified according to embodiments of the present disclosure and the number of lanes included in a lane group are not limited thereto.
[0047] An electronic device (10) according to an embodiment of the present disclosure can check whether an error has occurred in a lane group through a test operation that compares processing result data derived from each of the lanes included in a lane group. Specifically, if all lanes included in a lane group are in a normal state, the same data is input to each of the synchronized lanes, so the same processing result data can be derived from each of the lanes. Meanwhile, if a defect occurs in at least one of the lanes included in a lane group, even if the same data is input to each of the synchronized lanes, at least one of the processing result data derived from each of the lanes can have a different result value. The electronic device (10) can cyclically check whether an error has occurred in each of the plurality of lane groups identified from the electronic device (10), and based on whether an error has occurred in each of the plurality of lane groups, check whether a defect has occurred in at least one of the plurality of lanes (110_1, 110_2, ..., 110_N, 120) included in the electronic device (10).
[0048] Meanwhile, although not illustrated in FIG. 1, the electronic device (10) according to some embodiments of the present disclosure may further include a counter (not illustrated) corresponding to each of the plurality of lanes (110_1, 110_2, ..., 110_N, 120), and the counter corresponding to each of the plurality of lanes (110_1, 110_2, ..., 110_N, 120) may record a counter value indicating a possibility of a defect occurrence. Specifically, when an error occurrence is confirmed in a test operation for one lane group, the electronic device (10) may determine that there is a possibility of a defect occurrence in at least one of the lanes included in one lane group, and may increase a counter value corresponding to each of the lanes. In addition, the electronic device (10) according to some embodiments of the present disclosure may further include an output unit (not shown) for outputting a signal indicating the occurrence of a defect to the outside when detecting the occurrence of a defect for at least one of the plurality of lanes (110_1, 110_2, ..., 110_N, 120).
[0049] According to an embodiment of the present disclosure, since the electronic device (10) includes an additional processing lane (120), even if a test operation for defect detection is performed, the performance of the electronic device (10) to be exhibited through the first to Nth processing lanes (110_1, 110_2, ..., 110_N) may not be degraded. As a specific example, if the electronic device (10) includes first to fourth processing lanes (110_1, 110_2, 110_3, 110_4) and one additional processing lane (120), and the number of lanes included in the lane group identified by the electronic device (10) is set to two, the performance of the electronic device (10) to be exhibited through the existing first to fourth processing lanes (110_1, 110_2, 110_3, 110_4) can be maintained even during a test operation for identifying whether an error has occurred in the lane group.
[0050] In addition, the electronic device (10) according to an embodiment of the present disclosure can perform a fault response operation by disabling a lane in which a fault is detected, and can prevent a data processing error caused by a lane in which a fault has occurred through the fault response operation. As a specific example, if the electronic device (10) includes first to fourth processing lanes (110_1, 110_2, 110_3, 110_4) and one additional processing lane (120), and a defect is detected for the first processing lane (110_1), the control unit (130) can deactivate the first processing lane (110_1), and the electronic device (10) can process data through the second to fourth processing lanes (110_2, 110_3, 110_4) and the additional processing lane (120), thereby maintaining the performance desired to be exhibited through the existing first to fourth processing lanes (110_1, 110_2, 110_3, 110_4) and maintaining stability. Meanwhile, unlike a defect detection method that performs defect detection in a lockstep manner by fully redundantizing the entire hardware, the electronic device (10) according to an embodiment of the present disclosure performs parallel processing on the same input data by adding an additional processing lane (120) (partial redundancy), thereby minimizing the problem of increased area and power consumption due to hardware redundancy.
[0051] FIG. 2A and FIG. 2B are diagrams for comparing and explaining the operation of an electronic device (20b) according to an embodiment of the present disclosure. FIG. 2A is a diagram for explaining the operation of an electronic device (20a) that generally performs parallel operations, and FIG. 2B is a diagram for explaining the operation of an electronic device (20b) that includes an additional processing lane (AL) according to an embodiment of the present disclosure.
[0052] Referring to FIG. 2a, an electronic device (20a) that generally performs parallel operations may include an operand input unit (210), a data processing unit (220), and a data output unit (230). The data processing unit (220) may include a plurality of processing lanes (PL1, PL2, …, PLN).
[0053] The operand input unit (210) can receive input data acquired from the memory by the control unit (130). The operand input unit (210) can include a flip-flop corresponding to each of a plurality of processing lanes (PL1, PL2, …, PLN), and the plurality of flip-flops included in the operand input unit (210) can correspond to registers. The operand input unit (210) can load input data to be input to each of the plurality of processing lanes (PL1, PL2, …, PLN), and transmit the loaded input data to each of the plurality of processing lanes (PL1, PL2, …, PLN) in order to perform data processing corresponding to a command.
[0054] Each of the plurality of processing lanes (PL1, PL2, …, PLN) can process input data input in response to a command and derive processing result data. Each of the plurality of processing lanes (PL1, PL2, …, PLN) can include a first flip-flop for loading the input data, a logic circuit for performing an operation corresponding to the command, and a second flip-flop for loading processing result data corresponding to the command, and the logic circuit included in each of the plurality of processing lanes (PL1, PL2, …, PLN) can be configured to perform an operation processing corresponding to the command and can be synchronized in response to each other's commands.
[0055] The data output unit (230) can output processing result data derived from each of the plurality of processing lanes (PL1, PL2, …, PLN). The data output unit (230) can include a flip-flop corresponding to each of the plurality of processing lanes (PL1, PL2, …, PLN), and the plurality of flip-flops included in the data output unit (230) can correspond to a register.
[0056] Referring to FIG. 2b, the electronic device (20b) according to an embodiment of the present disclosure may further include an input selection circuit (240) and an output selection circuit (250) in addition to the operand input unit (210), the data processing unit (220), and the data output unit (230). The operand input unit (210), the data processing unit (220), and the data output unit (230) included in the electronic device (20b) according to an embodiment of the present disclosure may generally perform the same operations as the operand input unit (210), the data processing unit (220), and the data output unit (230) included in the electronic device (20a) that performs parallel operations, and a detailed description of the corresponding configuration will be omitted.
[0057] According to an embodiment of the present disclosure, the input selection circuit (240) can select input data provided from the operand input unit (210). More specifically, the input selection circuit (240) according to an embodiment of the present disclosure can select input data transmitted from the operand input unit (210) to input the same input data to lanes included in one lane group for the purpose of detecting a defect that has occurred in a plurality of lanes (PL1, PL2, ..., PLN, AL) included in the electronic device (20b), and can transmit the selected input data to each of the plurality of lanes (PL1, PL2, ..., PLN, AL). As a specific example, when the electronic device (20b) includes first to fourth processing lanes (PL1, PL2, PL3, PL4) and an additional processing lane (AL), receives first to fourth input data from the operand input unit (210), and performs a test operation to check whether an error occurs for a lane group including the first and second processing lanes (PL1, PL2), the input selection circuit (240) can transmit the first input data to each of the first and second processing lanes (PL1, PL2), transmit the second input data to the third processing lane (PL3), transmit the third input data to the fourth processing lane (PL4), and transmit the fourth input data to the additional processing lane (AL).
[0058] Meanwhile, the output selection circuit (250) can select processing result data derived from a plurality of lanes (PL1, PL2, …, PLN, AL). As a specific example, when the electronic device (20b) includes first to fourth processing lanes (PL1, PL2, PL3, PL4) and an additional processing lane (AL), and performs a test operation to check whether an error has occurred for a lane group including the first and second processing lanes (PL1, PL2), the output selection circuit (250) may select any one of the first processing result data derived from the first processing lane (PL1) corresponding to the first input data and the second processing result data derived from the second processing lane (PL2) corresponding to the first input data, the third processing result data derived from the third processing lane (PL3) corresponding to the second input data, the fourth processing result data derived from the fourth processing lane (PL4) corresponding to the third input data, and the fifth processing result data derived from the additional processing lane (AL) corresponding to the fourth input data, and transmit the selected processing result data to the data output unit (230).
[0059] In addition, the output selection circuit (250) can compare processing result data derived from lanes included in the lane group to derive comparison result data. As a specific example, when the lane group includes first and second processing lanes (PL1, PL2), the output selection circuit (250) can compare the first processing result data derived from the first processing lane (PL1) corresponding to the first input data and the second processing result data derived from the second processing lane (PL2) corresponding to the first input data, and if the first and second processing result data match, derive comparison result data having a first value for the lane group, and if the first and second processing result data do not match, derive comparison result data having a second value for the lane group.
[0060] The physical or logical structure of the input selection circuit (240) and the output selection circuit (250) described above may have any structure for selecting input data for each of the plurality of lanes (PL1, PL2, …, PLN, AL) and processing result data derived from each of the plurality of lanes (PL1, PL2, …, PLN, AL), and the structure of the input selection circuit (240) and the output selection circuit (250) according to one embodiment of the present disclosure will be described in detail with reference to FIGS. 4 and 6 described below.
[0061] FIG. 3 is a flowchart illustrating an operation method for detecting a defect in an electronic device (10, see FIG. 1) according to an embodiment of the present disclosure.
[0062] In step S310, the electronic device (10) according to an embodiment of the present disclosure can identify a lane group composed of lanes that process the same input data among a plurality of lanes (110_1, 110_2, ..., 110_N, 120) included in the electronic device (10). As described above, in some embodiments, the number of lane groups identified by the electronic device (10) can be set corresponding to the number of the plurality of processing lanes (110_1, 110_2, ..., 110_N), and the number of lanes included in the lane group can be set corresponding to the number of additional processing lanes (120). According to an embodiment of the present disclosure, the structure of the electronic device (10) can be implemented so that lanes included in a lane group can be provided with the same input data.
[0063] As a specific example, if the electronic device (10) includes first to fourth processing lanes (110_1, 110_2, 110_3, 110_4) and an additional processing lane (120), the electronic device (10) can identify first to fourth lane groups, and each of the first to fourth lane groups can include two lanes. In this case, the electronic device (10) can identify a first lane group including the first and second processing lanes (110_1, 110_2), a second lane group including the second and third processing lanes (110_2, 110_3), a third lane group including the third and fourth processing lanes (110_3, 110_4), and a fourth lane group including the fourth processing lane (110_4) and an additional processing lane (120).
[0064] Meanwhile, in some embodiments, when the structure of the electronic device (10) is implemented so that the additional processing lane (120) can be provided with the same input data as each of the first processing lane (110_1) and the Nth processing lane (110_N), a first lane group including the first and second processing lanes (110_1, 110_2), a second lane group including the second and third processing lanes (110_2, 110_3), a third lane group including the third and fourth processing lanes (110_3, 110_4), a fourth lane group including the fourth processing lane (110_4) and the additional processing lane (120), and a fifth lane group including the additional processing lane (120) and the first processing lane (110_1) can be identified by the electronic device (10).
[0065] In another embodiment, when the electronic device (10) includes first to fourth processing lanes (110_1, 110_2, 110_3, 110_4) and first to second additional processing lanes, the number of lanes included in each lane group can be set to three, and a first lane group including the first to third processing lanes (110_1, 110_2, 110_3), a second lane group including the second to fourth processing lanes (110_2, 110_3, 110_4), a third lane group including the third to fourth processing lanes (110_3, 110_4) and the first additional processing lane, and a fourth processing lane (110_4), a fourth lane group including the first and second additional processing lanes can be identified by the electronic device (10). The method for identifying a lane group according to an embodiment of the present disclosure is not limited to the method according to the above-described example, and the lane group may be identified according to any method in which the number of lanes included in each lane group is the same and the same input data can be provided for the lanes included in each lane group.
[0066] In step S320, the electronic device (10) can check the comparison result data for each of the plurality of lane groups confirmed in step S310. The comparison result data can be derived by comparing the processing result data derived from each of the lanes included in each lane group. As a specific example, the electronic device (10) can compare the first processing result data derived from the first processing lane (110_1) corresponding to the first input data and the second processing result data derived from the second processing lane (110_2) corresponding to the first input data for the lane group including the first and second processing lanes (110_1, 110_2). In an embodiment, when the processing result data derived from each of the lanes included in the lane group match, the comparison result data can have a first value, and when the processing result data derived from each of the lanes included in the lane group do not match, the comparison result data can have a second value.
[0067] An electronic device (10) according to an embodiment of the present disclosure may cyclically perform step S320 for a plurality of lane groups identified by the electronic device (10). As a specific example, when the first to fourth lane groups are identified by the electronic device (10), the electronic device (10) may sequentially perform a test operation for each of the first to fourth lane groups. In other words, the electronic device (10) may control the data processing unit (220, see FIG. 2b) to input input data for the second lane group based on the processing progress status of the lanes included in the first lane group, thereby performing a test operation for the second lane group. The processing progress status may refer to a data processing progress status in a plurality of lanes (110_1, 110_2, ..., 110_N, 120, see FIG. 1) included in the electronic device (10) corresponding to one command. In an embodiment, the processing progress status for one lane group can be checked based on a command.
[0068] In step S330, the electronic device (10) can detect whether there is a defect in at least one of the plurality of lanes (110_1, 110_2, ..., 110_N, 120) included in the electronic device (10) based on the comparison result data. Specifically, the electronic device (10) can check the possibility of a defect occurring in each lane group based on the comparison result data for each lane group confirmed in step S320, and can identify the lane in which the defect occurred by synthesizing the confirmed possibility of a defect occurring in each lane group. A specific method for detecting whether there is a defect in at least one of the plurality of lanes (110_1, 110_2, ..., 110_N, 120) will be described in detail with reference to FIG. 4, which will be described later.
[0069] FIG. 4 is a flowchart illustrating a specific method for detecting the presence or absence of a defect in at least one of a plurality of lanes (110_1, 110_2, …, 110_N, 120, see FIG. 1) according to some embodiments of the present disclosure.
[0070] In step S410, the electronic device (10, see FIG. 1) according to the embodiment of the present disclosure can determine whether an error has occurred for the lane group based on the comparison result data for each lane group confirmed in step S320 of FIG. 3 described above. As a specific example, if the comparison result data for the lane group including the first and second processing lanes (110_1, 110_2) has a first value, the electronic device (10) can determine that no error has occurred for the first and second processing lanes (110_1, 110_2), and if the comparison result data for the lane group including the first and second processing lanes (110_1, 110_2) has a second value, the electronic device (10) can determine that an error has occurred for the lane group including the first and second processing lanes (110_1, 110_2).
[0071] In step S420, the electronic device (10) may increase a counter value of a counter corresponding to each of the lanes included in the lane group in which an error is determined to have occurred. Specifically, the electronic device (10) may determine that an error has occurred due to a defect occurring in at least one of the lanes included in the lane group, and since it is not possible to determine in which lane among the lanes included in the lane group the defect has occurred based on the comparison result data, the electronic device (10) may increase a counter value to indicate the possibility of defect occurrence for the lanes included in the lane group in which an error is determined to have occurred. In an embodiment, when the electronic device (10) repeatedly performs an operation of checking whether an error has occurred for a plurality of lane groups, the counter value corresponding to each of the plurality of lanes (110_1, 110_2, ..., 110_N, 120) may be accumulated.
[0072] In step S430, the electronic device (10) can detect whether there is a defect in at least one of the plurality of lanes (110_1, 110_2, …, 110_N, 120) based on the accumulated counter value corresponding to each of the plurality of lanes (110_1, 110_2, …, 110_N, 120). Specifically, the electronic device (10) can check whether the counter value of the counter corresponding to each of the plurality of lanes (110_1, 110_2, …, 110_N, 120) exceeds a threshold value, and if the counter value corresponding to a specific lane exceeds the threshold value, it can be determined that a defect has occurred in the corresponding lane. The threshold value can be preset for the electronic device (10).
[0073] FIG. 5 is a diagram illustrating a structure of an electronic device (50) that performs defect detection according to an embodiment of the present disclosure. Referring to FIG. 5, an operand input unit (510) including a plurality of flip-flops according to an embodiment of the present disclosure, an input selection circuit (520) that selects input data for a plurality of lanes (PL1, PL2, PL3, PL4, AL), a data processing unit (530) that processes input data through a plurality of lanes (PL1, PL2, PL3, PL4, AL), an output selection circuit (540) that compares processing result data derived from a plurality of lanes (PL1, PL2, PL3, PL4, AL) to derive comparison result data and selects processing result data derived from each of the plurality of lanes (PL1, PL2, PL3, PL4, AL), and a data output unit (550) that includes a plurality of flip-flops. In Fig. 5, in order to explain the operation of the electronic device (50), it is assumed that each lane group identified by the electronic device (50) is set to include two lanes.
[0074] In the embodiment illustrated in FIG. 5, the electronic device (50) can identify a first lane group including first and second processing lanes (PL1, PL2), a second lane group including second and third processing lanes (PL2, PL3), a third lane group including third and fourth processing lanes (PL3, PL4), and a fourth lane group including a fourth processing lane (PL4) and an additional processing lane (AL). In the embodiment illustrated in FIG. 5, since each lane group identified by the electronic device (50) includes two lanes, the input selection circuit (520) is illustrated as including three 2-to-1 multiplexers (IM1, IM2, IM3) and the output selection circuit (540) is illustrated as including two 2-to-1 multiplexers (OM1, OM2), but this is only one embodiment according to the present disclosure and does not limit the configuration of the input selection circuit (520) and the output selection circuit (540). In another embodiment, when each lane group identified by the electronic device (50) includes N lanes, each of the input selection circuit (520) and the output selection circuit (530) may include a plurality of N-to-1 multiplexers.
[0075] According to the embodiment illustrated in FIG. 5, when a test operation is performed for the first to fourth lane groups, the control unit (130, see FIG. 1) may provide a control signal for controlling the input selection circuit (520) and the output selection circuit (540) to a plurality of multiplexers (IM1, IM2, IM3, OM1, OM2) included in the input selection circuit (520) and the output selection circuit (540) as shown in Table 1 below.
[0076]
[0077] In Step 1, the electronic device (50) can perform an operation corresponding to the first command and check whether an error occurs for the first lane group. The operand input unit (510) can transmit first to fourth input data (IN1, IN2, IN3, IN4) to the input selection circuit (520), and the first and second input data (IN1, IN2) can be input to the first multiplexer (IM1) included in the input selection circuit (520), the second and third input data (IN2, IN3) can be input to the second multiplexer (IM2) included in the input selection circuit (520), and the third and fourth input data (IN3, IN4) can be input to the third multiplexer (IM3) included in the input selection circuit (520).
[0078] In order to input the same input data for the first and second processing lanes (PL1, PL2), the control unit (130) may provide a first input control signal (I1) to the first multiplexer (IM1) to output the first input data (IN1) among the first and second input data (IN1, IN2), and the first input data (IN1) may be input to the second processing lane (PL2) according to the first input control signal (I1). In addition, the control unit (130) may provide a second input control signal (I2) to the second multiplexer (IM2) to output the second input data (IN2) among the second and third input data (IN2, IN3), and may provide a third input control signal (I2) to the third multiplexer (IM3) to output the third input data (IN3) among the third and fourth input data (IN3, IN4). According to the second and third input control signals (I2, I3), second input data (IN2) can be input for the third processing lane (PL3), third input data (IN3) can be input for the fourth processing lane (PL4), and fourth input data (IN4) can be input for the additional processing lane (AL).
[0079] Each of the plurality of lanes (PL1, PL2, PL3, PL4, AL) can perform data processing corresponding to a command in response to input data and derive processing result data. In order to check whether an error has occurred for the first lane group, the electronic device (50) can derive first comparison result data (C1) for the first processing result data derived from the first processing lane (PL1) in response to the first input data (IN1) and the second processing result data derived from the second processing lane (PL2) in response to the first input data (IN1) through a comparator included in the output selection circuit (540). When the first and second processing result data match, the first comparison result data (C1) can have the first value, and when the first and second processing result data do not match, the first comparison result data (C1) can have the second value, and when the first comparison result data (C1) has the second value, the electronic device (50) can determine that an error has occurred for the first lane group.
[0080] Meanwhile, in order to derive first to fourth output data (OUT1, OUT2, OUT3, OUT4) corresponding to first to fourth input data (IN1, IN2, IN3, IN4), the control unit (130) may provide first and second output control signals (O1, O2) for controlling the first and second multiplexers (OM1, OM2) included in the output selection circuit (540) to the first and second multiplexers (OM1, OM2), respectively. The first processing result data derived from the first processing lane (PL1) corresponding to the first input data (IN1) may be output as first output data (OUT1).
[0081] In an embodiment, in order for the third processing result data derived through the third processing lane (PL3) corresponding to the second input data to be output as the second output data (OUT2), the control unit (130) may provide a first output control signal (O1) to the first multiplexer (OM1) so that the third processing result data among the second and third processing result data is output as the second output data (OUT2). In addition, the control unit (130) may provide a second output control signal (O2) to the second multiplexer (OM2) so that the fourth processing result data among the fourth processing result data derived through the fourth processing lane (PL4) corresponding to the third processing result data and the third input data is output as the third output data (OUT3). The fifth processing result data derived from the additional processing lane (AL) corresponding to the fourth input data (IN4) may be output as the fourth output data (OUT4).
[0082] In Step 2, the electronic device (50) may perform an operation corresponding to the second command and check whether an error occurs for the second lane group including the second and third processing lanes (PL2, PL3). In Step 2, first input data (IN1) may be input for the first processing lane (PL1), and fourth input data (IN4) may be input for the additional processing lane (AL). Meanwhile, the control unit (130) may provide a first input control signal (I1) to the first multiplexer (IM1) to output the second input data (IN2) among the first and second input data (IN1, IN2), and may provide a second input control signal (I2) to the second multiplexer (IM2) to output the second input data (IN2) among the second and third input data (IN2, IN3) in order to input the same input data to the second and third processing lanes (PL2, PL3). The control unit (130) can provide a third input control signal (I3) to the third multiplexer (IM3) to output the third input data (IN3) among the third and fourth input data (IN3, IN4).
[0083] Whether an error occurs for the second lane group in Step 2 can be confirmed based on second comparison result data (C2) derived by comparing second processing result data derived from the second processing lane (PL2) corresponding to the second input data (IN2) and third processing result data derived from the third processing lane (PL3) corresponding to the second input data (IN2).
[0084] In the embodiment of FIG. 5, the first processing result data derived from the first processing lane (PL1) corresponding to the first input data (IN1) can be output as the first output data (OUT1). Meanwhile, in Step 2, since the test operation for the second lane group has been performed, the first output control signal (O1) provided to the first multiplexer (OM1) included in the output selection circuit (540) to select either the second processing result data derived through the second processing lane (PL2) corresponding to the second input data (IN2) or the third processing result data derived through the third processing lane (PL3) corresponding to the second input data (IN2) may have any value. Meanwhile, in order to output the fourth processing result data derived through the fourth processing lane (PL4) in response to the third input data as the third output data (OUT3), the control unit (130) may provide a second output control signal (O2) to the second multiplexer (OM2) included in the output selection circuit (540) so that the fourth processing result data among the third and fourth processing result data is output as the third output data (OUT3). The fifth processing result data derived from the additional processing lane (AL) in response to the fourth input data (IN4) may be output as the fourth output data (OUT4).
[0085] The electronic device (50) can perform a test operation on a third lane group including the third and fourth processing lanes (PL3, PL4) in Step 3, similar to Steps 1 and 2 described above, and can perform a test operation on a fourth lane group including the fourth processing lane (PL4) and an additional processing lane (AL) in Step 4.
[0086] FIG. 6 is a diagram illustrating a method for detecting a lane in which a defect has occurred in the electronic device (50, see FIG. 5) illustrated in FIG. 6 illustrates results corresponding to the embodiment illustrated in FIG. 5.
[0087] In an embodiment, when a defect occurs only in the first processing lane (PL1), it can be determined whether an error occurs by a test operation (Step 1 of Table 1) for the first lane group including the first and second processing lanes (PL1, PL2). When a defect occurs in the first processing lane (PL1), the first comparison result data (C1, see FIG. 5) derived in Step 1 can have a second value, and the electronic device (50) according to an embodiment of the present disclosure can increase the counter value of the counter corresponding to each of the first and second processing lanes (PL1, PL2). In the example illustrated in FIG. 6, it is assumed that the counter value increases by 1 when an error occurs.
[0088] In an embodiment, when a defect occurs only in the second processing lane (PL2), whether an error occurs can be confirmed by a test operation (Step 1 in Table 1) for the first lane group including the first and second processing lanes (PL1, PL2), and whether an error occurs can be confirmed by a test operation (Step 2 in Table 1) for the second lane group including the second and third processing lanes (PL2, PL3). When a defect occurs in the second processing lane (PL2), the counter value of the counter corresponding to each of the first and second processing lanes (PL1, PL2) can be increased by 1 based on the first comparison result data (C1) derived in Step 1, and the counter value of the counter corresponding to each of the second and third processing lanes (PL2, PL2) can be increased by 1 based on the second comparison result data (C2) derived in Step 2. Through steps 1 and 2, the electronic device (50) can detect the occurrence of a defect in the second processing lane (PL2) in which the counter value is calculated as 2.
[0089] Meanwhile, in the embodiment, if a defect occurs only in the third processing lane (PL3), it can be confirmed whether an error occurs by a test operation for the second lane group (Step 2 of Table 1) and a test operation for the third lane group (Step 3 of Table 1), and through the processes of Steps 2 and 3, the electronic device (50) can detect the occurrence of a defect in the third processing lane (PL3) whose counter value is calculated as 2. In addition, if a defect occurs only in the fourth processing lane (PL4), it can be confirmed whether an error occurs by a test operation for the third lane group (Step 3 of Table 1) and a test operation for the fourth lane group (Step 4 of Table 1), and through the processes of Steps 3 and 4, the electronic device (50) can detect the occurrence of a defect in the fourth processing lane (PL4) whose counter value is calculated as 2.
[0090] Meanwhile, if a defect occurs only in the additional processing lane (AL), whether an error has occurred can be confirmed by a test operation (Step 4 of Table 1) for the fourth lane group including the fourth processing lane (PL4) and the additional processing lane (AL), and the electronic device (50) can increase the counter value of the counter corresponding to each of the fourth processing lane (PL4) and the additional processing lane (AL) by 1.
[0091] In some embodiments according to the present disclosure, the electronic device (50) can accumulate counter values corresponding to each of a plurality of lanes (PL1, PL2, PL3, PL4, AL) for a set period of time, and determine a fault detection lane based on the accumulated counter values. Specifically, when the period in which the processes of Steps 1 to 4 shown in Table 1 are performed is T, the electronic device (50) can accumulate counter values corresponding to each of a plurality of lanes (PL1, PL2, PL3, PL4, AL) for nT (n is a natural number), and determine a fault occurrence lane by determining whether the accumulated counter values exceed a threshold value.
[0092] FIG. 7 is a flowchart for explaining an operating method of an electronic device (10, see FIG. 1) according to another embodiment of the present disclosure. Specifically, FIG. 7 is a flowchart for explaining an operating method of an electronic device (10) that performs defect detection and defect response according to an embodiment of the present disclosure.
[0093] At step S710, the electronic device (10) can detect whether there is a defect in at least one of the plurality of lanes (110_1, 110_2, ..., 110_N, 120) included in the electronic device (10) through steps S310 to S330 of FIG. 3 described above.
[0094] In step S720, the electronic device (10) may perform a fault response operation on a lane in which a defect has been identified. Specifically, the electronic device (10) may control the lane in which a defect has occurred to be deactivated through the control unit (130, see FIG. 1), and control lanes other than the lane in which the defect has occurred among the plurality of lanes to process input data. The fault response operation according to an embodiment of the present disclosure will be described in detail with reference to FIGS. 8 to 10, which will be described later. Meanwhile, in some embodiments, when a lane in which a defect has occurred is identified, the electronic device (10) may output a signal notifying that a defect has occurred through the output unit.
[0095] FIG. 8 is a diagram illustrating the structure of an electronic device (80) that performs defect detection and defect response according to an embodiment of the present disclosure. Referring to FIG. 8, an electronic device (80) according to an embodiment of the present disclosure may include an operand input unit (810), an input selection circuit (820), a data processing unit (830), an output selection circuit (840), and a data output unit (850), and these configurations may correspond to the configuration of the electronic device (50, see FIG. 5) illustrated in FIG. 5 described above. In FIG. 8, in order to explain the operation of the electronic device (80), it is assumed that each lane group identified by the electronic device (80) is set to include two lanes. In the embodiment illustrated in FIG. 8, the electronic device (80) can identify a first lane group including first and second processing lanes (PL1, PL2), a second lane group including second and third processing lanes (PL2, PL3), a third lane group including third and fourth processing lanes (PL3, PL4), and a fourth lane group including a fourth processing lane (PL4) and an additional processing lane (AL). In the embodiment illustrated in FIG. 8, since each lane group identified by the electronic device (80) includes two lanes, the input selection circuit (820) is illustrated as including three 2-to-1 multiplexers (IM1, IM2, IM3) and the output selection circuit (840) is illustrated as including four 2-to-1 multiplexers (OM1, OM2, OM3, OM4), but this is only one embodiment according to the present disclosure and does not limit the configuration of the input selection circuit (820) and the output selection circuit (840).According to the embodiment illustrated in FIG. 8, when a test operation is performed for the first to fourth lane groups, the control unit (130, see FIG. 1) may provide a control signal for controlling the input selection circuit (820) and the output selection circuit (840) to a plurality of multiplexers (IM1, IM2, IM3, OM1, OM2, OM3, OM4) included in the input selection circuit (820) and the output selection circuit (840) as shown in Table 2 below.
[0096]
[0097] In Step 1, the electronic device (80) can perform an operation corresponding to the first command and check whether an error occurs for the first lane group. The operand input unit (810) can transmit first to fourth input data (IN1, IN2, IN3, IN4) to the input selection circuit (820), and the first and second input data (IN1, IN2) can be input to the first multiplexer (IM1) included in the input selection circuit (820), the second and third input data (IN2, IN3) can be input to the second multiplexer (IM2) included in the input selection circuit (820), and the third and fourth input data (IN3, IN4) can be input to the third multiplexer (IM3) included in the input selection circuit (820).
[0098] In order to input the same input data for the first and second processing lanes (PL1, PL2), the control unit (130) may provide a first input control signal (I1) to the first multiplexer (IM1) to output the first input data (IN1) among the first and second input data (IN1, IN2), and the first input data (IN1) may be input to the second processing lane (PL2) according to the first input control signal (I1). In addition, the control unit (130) may provide a second input control signal (I2) to the second multiplexer (IM2) to output the second input data (IN2) among the second and third input data (IN2, IN3), and may provide a third input control signal (I2) to the third multiplexer (IM3) to output the third input data (IN3) among the third and fourth input data (IN3, IN4). According to the second and third input control signals (I2, I3), second input data (IN2) can be input for the third processing lane (PL3), third input data (IN3) can be input for the fourth processing lane (PL4), and fourth input data (IN4) can be input for the additional processing lane (AL).
[0099] Each of the plurality of lanes (PL1, PL2, PL3, PL4, AL) can perform data processing corresponding to a command in response to input data and derive processing result data. In order to check whether an error has occurred for the first lane group, the electronic device (80) can derive first comparison result data (C1) for the first processing result data derived from the first processing lane (PL1) in response to the first input data (IN1) and the second processing result data derived from the second processing lane (PL2) in response to the first input data (IN1) through a comparator included in the output selection circuit (840). When the first and second processing result data match, the first comparison result data (C1) can have a first value, and when the first and second processing result data do not match, the first comparison result data (C1) can have a second value, and when the first comparison result data (C1) has the second value, the electronic device (80) can determine that an error has occurred for the first lane group.
[0100] Meanwhile, in order to derive first to fourth output data (OUT1, OUT2, OUT3, OUT4) corresponding to first to fourth input data (IN1, IN2, IN3, IN4), the control unit (130) may provide first to fourth output control signals (O1, O2, O3, O4) for controlling the first to fourth multiplexers (OM1, OM2, OM3, OM4) included in the output selection circuit (840) to each of the first to fourth multiplexers (OM1, OM2, OM3, OM4). Since the test operation for the first lane group has been performed, either the first processing result data derived from the first processing lane (PL1) or the second processing result data derived from the second processing lane (PL2) can be output as the first output data (OUT1), and the first output control signal (O1) for the first multiplexer (OM1) included in the output selection circuit (840) can have any value.
[0101] Meanwhile, in order to output the third processing result data derived through the third processing lane (PL3) in response to the second input data as the second output data (OUT2), the control unit (130) may provide a second output control signal (O2) to the second multiplexer (OM2) so that the third processing result data among the second and third processing result data is output as the second output data (OUT2). In addition, the control unit (130) may provide a third output control signal (O3) to the third multiplexer (OM3) to output the fourth processing result data derived through the fourth processing lane (PL4) as third output data (OUT3) in response to the third processing result data and the third input data, and may provide a fourth output control signal (O4) to the fourth multiplexer (OM4) to output the fifth processing result data derived through the additional processing lane (AL) in response to the fourth processing result data and the fourth input data as fourth output data (OUT4).
[0102] In Step 2, the electronic device (80) may perform an operation corresponding to the second command and check whether an error occurs for the second lane group including the second and third processing lanes (PL2, PL3). In Step 2, first input data (IN1) may be input for the first processing lane (PL1), and fourth input data (IN4) may be input for the additional processing lane (AL). Meanwhile, the control unit (130) may provide a first input control signal (I1) to the first multiplexer (IM1) to output the second input data (IN2) among the first and second input data (IN1, IN2), and may provide a second input control signal (I2) to the second multiplexer (IM2) to output the second input data (IN2) among the second and third input data (IN2, IN3) in order to input the same input data to the second and third processing lanes (PL2, PL3). The control unit (130) can provide a third input control signal (I3) to the third multiplexer (IM3) to output the third input data (IN3) among the third and fourth input data (IN3, IN4).
[0103] Meanwhile, in Step 2, in order for the first processing result data derived through the first processing lane (PL1) corresponding to the first input data to be output as the first output data (OUT1), the control unit (130) may provide a first output control signal (O1) to the first multiplexer (OM1) included in the output selection circuit (840) so as to output the first processing result data among the first and second processing result data as the first output data (OUT1). In order for the fourth processing result data derived through the fourth processing lane (PL4) in response to the third input data to be output as the third output data (OUT3), the control unit (130) may provide a third output control signal (O3) to the third multiplexer (OM3) included in the output selection circuit (840) so that the fourth processing result data among the third and fourth processing result data may be output as the third output data (OUT3), and in order for the fifth processing result data derived through the additional processing lane (AL) in response to the fourth input data to be output as the fourth output data (OUT4), the control unit (130) may provide a fourth output control signal (O4) to the fourth multiplexer (OM4) included in the output selection circuit (840) so that the fifth processing result data among the fourth and fifth processing result data may be output as the fourth output data (OUT4). In Step 2, since a test operation for the second lane group has been performed, the second output control signal (O2) provided to the second multiplexer (OM2) included in the output selection circuit (840) to select either the second processing result data derived through the second processing lane (PL2) corresponding to the second input data (IN2) or the third processing result data derived through the third processing lane (PL3) corresponding to the second input data (IN2) may have any value.Additionally, the electronic device (80) can derive second comparison result data for the second processing result data and the third processing result data through a comparator included in the output selection circuit (840).
[0104] The electronic device (80) may perform a test operation on a third lane group including the third and fourth processing lanes (PL3, PL4) in Step 3, similarly to Steps 1 and 2 described above, and may perform a test operation on a fourth lane group including the fourth processing lane (PL4) and an additional processing lane (AL) in Step 4. As described in FIG. 6 described above, the electronic device (80) illustrated in FIG. 8 may detect a defect on at least one of the plurality of lanes (PL1, PL2, PL3, PL4, AL) based on a counter value corresponding to each of the plurality of lanes (PL1, PL2, PL3, PL4, AL).
[0105] Meanwhile, the electronic device (80) according to an embodiment of the present disclosure can perform a fault response operation for a lane in which a fault has occurred as detected through the above-described process. In the embodiment, the fault response operation can be performed based on the control signal in Table 3 below.
[0106]
[0107] When a defect is detected in the first processing lane (PL1) by the defect detection operation of the electronic device (80), the electronic device (80) can deactivate the first processing lane (PL1) and process data through the second to fourth processing lanes (PL1) and the additional processing lane (AL). Specifically, the electronic device (80) can provide a first input control signal (I1) to the first multiplexer (IM1) included in the input selection circuit (820) so as to input the first input data (IN1) to the second processing lane (PL1) through the control unit (130). Additionally, the electronic device (80) can provide a first output control signal (O1) to the first multiplexer (OM1) included in the output selection circuit (840) to output the second processing result data derived from the second processing lane (PL2) in response to the first input data (IN1) as the first output data (OUT1) through the control unit (130).
[0108] In addition, the electronic device (80) may provide a second input control signal (I2) to a second multiplexer (IM2) included in an input selection circuit (820) to input second input data (IN2) to a third processing lane (PL3) through a control unit (130), and may provide a second output control signal (O2) to a second multiplexer (OM2) included in an output selection circuit (840) to output third processing result data derived from the third processing lane (PL3) as second output data (OUT2). In addition, the electronic device (80) can provide a third input control signal (I3) to a third multiplexer (IM3) included in an input selection circuit (820) to input third input data (IN3) to a fourth processing lane (PL4) through a control unit (130), and can provide a third output control signal (O3) to a third multiplexer (OM3) included in an output selection circuit (840) to output fourth processing result data derived from the fourth processing lane (PL4) as third output data (OUT3).
[0109] Meanwhile, the electronic device (80) can provide a fourth output control signal (O4) to the fourth multiplexer (OM4) included in the output selection circuit (840) to output the fifth processing result data derived from the additional processing lane (AL) in response to the fourth input data (IN4) as fourth output data (OUT4) through the control unit (130).
[0110] When a defect is detected in the second processing lane (PL2) by the defect detection operation of the electronic device (80), a control signal may be provided to input the first input data (IN1) to the first processing lane (PL1), output the first processing result data derived from the first processing lane (PL1) as the first output data (OUT1), input the second input data (IN2) to the third processing lane (PL3), output the third processing result data derived from the third processing lane (PL3) as the second output data (OUT2), input the third input data (IN3) to the fourth processing lane (PL4), output the fourth processing result data derived from the fourth processing lane (PL4) as the third output data (OUT3), input the fourth input data (IN4) to the additional processing lane (AL), and output the fifth processing result data derived from the additional processing lane (AL) as the fourth output data (OUT4).
[0111] In this case, the electronic device (80) can deactivate the second processing lane (PL2), and the control signal for the first multiplexer (IM1) included in the input selection circuit that selects input data for the second processing lane (PL2) according to the deactivation of the second processing lane (PL2) can have any value. Meanwhile, according to the above-described principle, when a defect is detected in each of the third processing lane (PL3), the fourth processing lane (PL4), and the additional processing lane (AL), the electronic device (80) can provide a control signal for the target configuration to select the input data and the output data.
[0112] FIG. 9 is a diagram illustrating the structure of an electronic device (90) that performs defect detection and defect response according to another embodiment of the present disclosure. Unlike the electronic device (80, see FIG. 8) illustrated in FIG. 8, FIG. 9 illustrates an electronic device (90) in which the same input data can be input for the first processing lane (PL1) and the additional processing lane (AL). In FIG. 9, the first 'processing lane (PL') is illustrated only for convenience of explanation and does not represent an actual configuration, and the first 'processing lane (PL') illustrated in FIG. 9 means the first processing lane (PL1).
[0113] In FIG. 9, in order to explain the operation of the electronic device (90), it is assumed that each lane group identified by the electronic device (90) is set to include two lanes, and accordingly, the electronic device (90) can identify a first lane group including first and second processing lanes (PL1, PL2), a second lane group including second and third processing lanes (PL2, PL3), a third lane group including third and fourth processing lanes (PL3, PL4), a fourth lane group including a fourth processing lane (PL4) and an additional processing lane (AL), and a fifth lane group including an additional processing lane (AL) and the first processing lane (PL1).
[0114] However, in the embodiment illustrated in FIG. 9, since the electronic device (90) checks whether an error has occurred for five lane groups, the input selection circuit (920) may include four 2-to-1 multiplexers (IM1, IM2, IM3, IM4) for selecting input data, and the output selection circuit (940) may include four 2-to-1 multiplexers (OM1, OM2, OM3, OM4) for selecting output data. According to the embodiment illustrated in FIG. 9, when a test operation is performed for the first to fifth lane groups, the control unit (130) may provide a control signal for controlling the first to fourth multiplexers (IM1, IM2, IM3, IM4) included in the input selection circuit (920) and the first to fourth multiplexers (OM1, OM2, OM3, OM4) included in the output selection circuit (940) for each target configuration, as shown in Table 4 below.
[0115]
[0116] In Steps 1 to 4 of Table 4, the electronic device (90) may perform a test operation to check whether an error has occurred according to the same principle as described in FIG. 8. In Step 5, the electronic device (90) may additionally perform a test operation for a fifth lane group including an additional processing lane (AL) and a first processing lane (PL1).
[0117] Specifically, the electronic device (90) can input first input data (IN1) to the additional processing lane (AL) and the first processing lane (PL1). At this time, the electronic device (90) can provide a fourth input control signal (IN4) to the fourth multiplexer (IM4) included in the input selection circuit (920) to select the first input data (IN1) among the first input data (IN1) and the fourth input data (IN4) input to the fourth multiplexer (IM4) through the control unit (130). The electronic device (90) can compare the first processing result data derived through the first processing lane (PL1) in response to the first input data (IN1) and the fifth processing result data derived through the additional processing lane (AL) in response to the first input data (IN1) to derive the fifth comparison result data (C5). If the first processing result data and the fifth processing result data match, the fifth comparison result data (C5) has a first value, and if the first processing result data and the fifth processing result data do not match, the fifth comparison result data (C5) can have a second value.
[0118] In Step 5, the control unit (130) can provide a first output control signal (O1) to the first multiplexer (OM1) included in the output selection circuit so as to output the first processing result data derived through the first processing lane (PL1) in response to the first input data (IN1) as the first output data (OUT1).
[0119] FIG. 10 is a diagram illustrating a method for detecting a lane in which a defect has occurred in the electronic device (90, see FIG. 9) illustrated in FIG. 10 illustrates a result corresponding to the embodiment illustrated in FIG. 9. In the example illustrated in FIG. 10, it is assumed that the counter value corresponding to each lane included in the lane group in which an error has occurred increases by 1.
[0120] In the embodiment, when a defect occurs only in the first processing lane (PL1), the occurrence of an error can be confirmed by a test operation for the first lane group (Step 1 of Table 4) and a test operation for the fifth lane group (Step 5 of Table 4), and through the processes of Steps 1 and 5, the electronic device (90) can detect the occurrence of a defect in the first processing lane (PL1) for which the counter value is calculated as 2. When a defect occurs only in the second processing lane (PL2), the occurrence of an error can be confirmed by a test operation for the first lane group (Step 1 of Table 4) and a test operation for the second lane group (Step 2 of Table 4), and through the processes of Steps 1 and 2, the electronic device (90) can detect the occurrence of a defect in the second processing lane (PL2) for which the counter value is calculated as 2. If a defect occurs only in the third processing lane (PL3), the occurrence of an error can be confirmed by a test operation for the second lane group (Step 2 of Table 4) and a test operation for the third lane group (Step 3 of Table 4), and through the steps 2 and 3, the electronic device (90) can detect the occurrence of a defect in the third processing lane (PL3) whose counter value is calculated as 2. If a defect occurs only in the fourth processing lane (PL4), the occurrence of an error can be confirmed by a test operation for the third lane group (Step 3 of Table 4) and a test operation for the fourth lane group (Step 4 of Table 4), and through the steps 3 and 4, the electronic device (90) can detect the occurrence of a defect in the fourth processing lane (PL4) whose counter value is calculated as 2.Meanwhile, if a defect occurs only in the additional processing lane (PL), the occurrence of an error can be confirmed by a test operation for the fourth lane group (Step 4 in Table 4) and a test operation for the fifth lane group (Step 5 in Table 4), and through the Steps 4 and 5 processes, the electronic device (90) can detect the occurrence of a defect in the additional processing lane (PL) for which the counter value is calculated as 2.
[0121] An electronic device (90) according to an embodiment of the present disclosure can detect a lane in which a defect has occurred through the above-described process and perform a fault response operation for the lane in which a defect has occurred. In the embodiment, the fault response operation can be performed based on the control signal of Table 5 below.
[0122]
[0123] When a defect is detected in the first processing lane (PL1) by the defect detection operation of the electronic device (90), a control signal may be provided to input the first input data (IN1) to the second processing lane (PL2), output the second processing result data derived from the second processing lane (PL2) as the first output data (OUT1), input the second input data (IN2) to the third processing lane (PL3), output the third processing result data derived from the third processing lane (PL3) as the second output data (OUT2), input the third input data (IN3) to the fourth processing lane (PL4), output the fourth processing result data derived from the fourth processing lane (PL4) as the third output data (OUT3), input the fourth input data (IN4) to the additional processing lane (AL), and output the fifth processing result data derived from the additional processing lane (AL) as the fourth output data (OUT4). In this case, the electronic device (90) can deactivate the first processing lane (PL1).
[0124] When a defect is detected in the second processing lane (PL2) by the defect detection operation of the electronic device (90), a control signal may be provided to input the first input data (IN1) to the first processing lane (PL1), output the first processing result data derived from the first processing lane (PL1) as the first output data (OUT1), input the second input data (IN2) to the third processing lane (PL3), output the third processing result data derived from the third processing lane (PL3) as the second output data (OUT2), input the third input data (IN3) to the fourth processing lane (PL4), output the fourth processing result data derived from the fourth processing lane (PL4) as the third output data (OUT3), input the fourth input data (IN4) to the additional processing lane (AL), and output the fifth processing result data derived from the additional processing lane (AL) as the fourth output data (OUT4). In this case, the electronic device (60) can deactivate the second processing lane (PL2). The control signal for the first multiplexer (IM1) included in the input selection circuit (920) that selects input data for the second processing lane (PL2) according to the deactivation of the second processing lane (PL2) may have any value. Meanwhile, according to the above-described principle, when a defect is detected in each of the third processing lane (PL3), the fourth processing lane (PL4) and the additional processing lane (AL), the electronic device (90) can provide a control signal for the target configuration to select the input data and the output data.
[0125] The device according to the above-described embodiments may include a processor, a memory for storing and executing program data, permanent storage such as a disk drive, a communication port for communicating with an external device, a user interface device such as a touch panel, a key, a button, etc. The methods implemented as software modules or algorithms may be stored on a computer-readable recording medium as computer-readable codes or program instructions that can be executed on the processor. Here, the computer-readable recording medium includes a magnetic storage medium (e.g., read-only memory (ROM), random-access memory (RAM), floppy disk, hard disk, etc.) and an optical reading medium (e.g., CD-ROM, DVD (Digital Versatile Disc)). The computer-readable recording medium may be distributed to computer systems connected to a network, so that the computer-readable code can be stored and executed in a distributed manner. The medium is readable by a computer, stored in a memory, and executed by a processor.
[0126] The present embodiment may be represented by functional block configurations and various processing steps. These functional blocks may be implemented by various hardware and / or software configurations that perform specific functions. For example, the embodiment may employ direct circuit configurations such as memory, processing, logic, look-up tables, etc., which may perform various functions under the control of one or more microprocessors or other control devices. Similarly, the present embodiment may be implemented in a programming or scripting language such as C, C++, Java, assembler, etc., including various algorithms implemented as a combination of data structures, processes, routines, or other programming configurations. Functional aspects may be implemented as algorithms that execute on one or more processors. Furthermore, the present embodiment may employ conventional techniques for electronic configuration, signal processing, and / or data processing. Terms like "mechanism," "element," "means," and "composition" can be used broadly and are not limited to mechanical or physical components. These terms can also encompass a series of software routines, such as those associated with a processor.
[0127] The above-described embodiments are merely examples, and other embodiments may be implemented within the scope of the claims set forth below.
[0128] [National Research and Development Project Supporting This Invention]
[0129] [Project ID] 1711152619
[0130] [Assignment Number] 2021-0-00310-004
[0131] [Ministry Name] Ministry of Science and ICT
[0132] [Name of Project Management (Specialist) Agency] Information and Communications Technology Planning and Evaluation Institute
[0133] [Research Project Name] Development (Design) of Next-Generation Intelligent Semiconductor Technology
[0134] [Research Project Title] Development of a 2,000 TFLOPS Server-Level AI Deep Learning Processor and Module
[0135] [Contribution rate] 1 / 1
[0136] [Name of the project performing organization] Sapion Korea Co., Ltd.
[0137] Research Period: April 1, 2021 - December 31, 2024
Claims
1. A method of operating an electronic device comprising a plurality of processing lanes and at least one additional processing lane, A step of identifying a lane group including lanes to process the same input data among the plurality of processing lanes and the plurality of lanes including at least one additional processing lane; A step of checking, for each of a plurality of lane groups, comparison result data indicating the result of comparing the processing result data of lanes included in each lane group; and An operating method comprising a step of detecting whether at least one of the plurality of lanes has a defect based on comparison result data of the plurality of lane groups.
2. In paragraph 1, The step of checking the above lane group includes the step of checking the first lane group to process the first input data to the Nth lane group to process the Nth input data, The above operation method is wherein N is a natural number greater than or equal to 2.
3. In paragraph 2, The above N is set corresponding to the number of the plurality of processing lanes, An operating method in which the number of lanes included in each of the plurality of lane groups is set to correspond to the number of the at least one additional processing lane.
4. In paragraph 1, The steps for checking the above comparison result data for each of the multiple lane groups are: A step of controlling that first input data is input to each of the lanes included in the first lane group; and An operating method including a step of controlling second input data to be input to each of the lanes included in the second lane group based on the processing progress status of the lanes included in the first lane group.
5. In paragraph 1, The above plurality of lane groups include a first lane group and a second lane group, The first lane group includes a first lane and a second lane, The second lane group includes the second lane and the third lane, A method of detecting whether at least one of the plurality of lanes has a defect, the method comprising: a step of checking whether at least one of the first lane, the second lane, and the third lane has a defect based on first comparison result data for the first lane group and second comparison result data for the second lane group.
6. In paragraph 1, The above comparison results data: If the processing result data of the lanes included in each of the above lane groups matches, it has the first value, If the processing result data of the lanes included in each of the above lane groups does not match, the second value is used. The step of detecting whether there is a defect in at least one of the plurality of lanes is: If the comparison result data has the second value, a step of increasing the counter value of each lane corresponding to the comparison result data; and An operating method comprising a step of identifying a lane in which the counter value is greater than or equal to a threshold value as a defective lane.
7. In paragraph 6, An operating method further comprising the step of controlling the lane in which the defect occurred to be disabled and controlling lanes other than the lane in which the defect occurred among the plurality of lanes to process input data.
8. In paragraph 6, An operating method in which the electronic device checks a counter value corresponding to each of the plurality of lanes according to a set cycle.
9. In paragraph 1, The above electronic device is an operating method of one of a SIMD (Single Instruction Multiple Data) processor and a SIMT (Single Instruction Multiple Thread) processor.
10. A non-transitory computer-readable recording medium having recorded thereon a program for executing any one of the methods of clauses 1 to 9 on a computer.
11. Multiple processing lanes; at least one additional processing lane; and Including the control unit, The above control unit: Identifying a group of lanes that include lanes to process the same input data among the plurality of processing lanes and the plurality of lanes including at least one additional processing lane, The comparison result data, which shows the result of comparing the processing result data of the lanes included in each lane group, is checked for each of the multiple lane groups. An electronic device that detects whether at least one of the plurality of lanes has a defect based on comparison result data of the plurality of lane groups.
12. In paragraph 11, An input selection circuit that selects input data to be input to each of the plurality of lanes among a plurality of input data; and An electronic device further comprising an output selection circuit that outputs comparison result data of the plurality of lane groups and selects a plurality of output data corresponding to the plurality of input data from among the processing result data of the plurality of lanes.
13. In paragraph 12, The above input selection circuit includes a first multiplexer that selects input data that is input equally to each of the lanes included in each lane group, An electronic device in which the above output selection circuit includes a comparator for comparing processing result data of lanes included in each lane group and a second multiplexer for selecting output data from the processing result data of lanes included in each lane group.
14. In paragraph 11, The electronic device further includes a counter corresponding to each of the plurality of lanes, The above comparison results data: If the processing result data of the lanes included in each of the above lane groups matches, it has the first value, If the processing result data of the lanes included in each of the above lane groups does not match, the second value is used. The above control unit: If the comparison result data has the second value, the counter value of the counter corresponding to each lane corresponding to the comparison result data is increased, An electronic device that identifies a lane in which the above counter value is greater than a threshold value as a defective lane.
15. In paragraph 11, An electronic device further comprising an output unit that outputs a signal indicating the occurrence of a defect when detecting the presence or absence of a defect in at least one of the plurality of lanes.
Citation Information
Patent Citations
Lane error detection and lane removal mechanism to reduce the probability of data corruption
KR1020160068857A
Inter-processor failure detection and recovery
US20120089861A1
Processor and image processing system using the same
US20120113271A1
Processing apparatus and control method thereof
US20160283430A1
Fault tolerant data processing system
US5325517A
