Sectionalized detection method for functional safety detection circuits, electronic device, storage medium, and functional safety detection circuit
The segmented detection method for functional safety circuits addresses the challenges of cost and stability in hardware-based detection by dividing circuits into subsections, ensuring efficient and flexible functional safety coverage.
Patent Information
- Application Number
- JP2025517675
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-12-29
AI Technical Summary
Existing hardware-based functional safety detection circuits for electronic systems face challenges in balancing cost, real-time performance, and stability, with solutions like extensive replication and customized control circuits leading to increased costs and reduced portability.
A segmented detection method is applied to functional safety detection circuits, dividing them into subsections based on module boundaries, data change boundaries, and complexity reduction rules, using independent detection mechanisms for each subsection to improve flexibility and efficiency.
The method achieves the required functional safety coverage rate while significantly reducing design complexity and system requirements, enhancing implementation flexibility and stability.
Smart Images

Figure 0007955490000001 
Figure 0007955490000002 
Figure 0007955490000003
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of functional safety, and relates to a detection method, in particular to a segmented detection method for a functional safety detection circuit, an electronic device 、 a storage medium and functional safety detection circuit BACKGROUND ART BACKGROUND ART
[0002] At present, with the rapid development of electronic products, various electronic systems, such as in-vehicle systems, are becoming increasingly complex. The probability of electrical and electronic failures occurring in circuits is very high.
[0003] If a circuit fails and becomes invalid, it will affect the safety of the entire system. For in-vehicle systems, it will affect the safe driving of the vehicle, cause abnormal vehicle behavior, and even endanger personal safety. Therefore, it is necessary to improve the reliability and functional safety of various electronic systems, such as automotive electronic systems. Therefore, functional safety detection methods for ensuring the functional safety of various electronic systems are very important.
[0004] Due to their high real-time performance and reliability, hardware-based functional safety detection circuits are commonly used in hardware-based functional detection methods. However, different technical solutions for hardware functional safety detection circuits have various technical problems, such as increased costs and reduced system real-time performance and stability. How to reduce costs and improve system real-time performance and stability has become a technical difficulty in the field of functional safety. SUMMARY OF THE INVENTION PROBLEMS TO BE SOLVED BY THE INVENTION
[0005] The purpose of the present application is to provide a segmented detection method for a functional safety detection circuit, an electronic device 、 a storage medium and functional safety detection circuit to solve the problem of balancing low cost in functional safety detection with system real-time performance and stability. [Means for solving the problem]
[0006] A first embodiment of the present invention provides a method for sectionalizing a functional safety detection circuit, an electronic device, and a storage medium. The method includes the steps of: analyzing the circuit architecture of a functional safety detection circuit and determining a coverage path for the circuit requiring functional safety protection; dividing the functional safety detection circuit into at least two subsections based on the coverage path; performing detection on the circuit of each subsection using a predetermined detection mechanism; and determining a functional safety error in the functional safety detection circuit based on the detection results.
[0007] In one embodiment of the first embodiment, the step of dividing the functional safety detection circuit into at least two subsections based on the coverage path includes dividing the functional safety detection circuit into at least two subsections based on the coverage path according to one or more of the module boundary rules, data change boundary rules, and complexity reduction rules for functional safety circuit implementation, each The aforementioned Subsection An ideal test value is obtained based on the actual data of the starting point position, and after comparing the transmitted ideal test value with the actual value of the detection point, the ideal test value is released, and the ideal test value is regenerated based on the data of the starting point position of the next subsection.
[0008] In one embodiment of the first model, the functional safety detection circuit is divided into at least two subsections according to a module boundary rule based on the coverage path, wherein the module boundary rule includes each submodule boundary within a module and a group of modules consisting of each module in the circuit requiring functional safety protection.
[0009] In one embodiment of the first embodiment, the module boundary rule includes at least one of the following: For SRAM (Static Random-Access Memory) memory within a module, the submodules of the memory are used as the start and detection points of the functional safety partitioning path. The top-level input interface corresponds to the earliest receiving end of the IP (Semiconductor Intellectual Property Core) circuit. The receiving end is protected by a functional safety detection circuit and is used as the start point of the functional safety protection circuit. The top-level output interface corresponds to the output transmitting end of the IP circuit. The output transmitting end is protected by a functional safety detection circuit and is used as the end point of the functional safety protection circuit. For a System on Chip (SoC) system on which the IP is located, the I / O interface of each IP core in the SoC system is used as the start or end point of the functional safety partitioning path.
[0010] In one embodiment of the first embodiment, the functional safety detection circuit is divided into at least two subsections based on a coverage path according to a data change boundary rule, wherein the data change boundary rule includes changes to data requiring functional safety protection and changes to the inspection data corresponding to the data requiring functional safety protection. Changes to data requiring functional safety protection include changes to the data content as the data passes through the computation path and increases or decreases in the number of data requiring protection, and changes to the inspection data corresponding to the data requiring functional safety protection include changes to the inspection polynomial and changes to the inspection algorithm.
[0011] In one embodiment of the first embodiment, based on the coverage path, the functional safety detection circuit is divided into at least two subsections according to a complexity reduction rule for functional safety circuit implementation, and the complexity is set to an ideal value for the complexity rule. Each of the aforementioned subsections Transmitted from the starting point, Each of the aforementioned subsections This includes the difficulty of comparing detection points.
[0012] In one embodiment of the first form, the step of analyzing the circuit architecture of the functional safety detection circuit and determining the coverage path of the circuit requiring functional safety protection includes analyzing the circuit architecture of the functional safety detection circuit and determining the coverage path of the circuit requiring functional safety protection based on the functional safety objectives that the circuit needs to achieve, wherein the circuit requiring functional safety protection includes a control path and a data path.
[0013] In one embodiment of the first model, the step of determining the functional safety error of a functional safety detection circuit based on the detection results includes collecting the circuit detection results for each subsection and determining the functional safety error of the functional safety detection circuit based on the circuit detection results for each subsection.
[0014] A second embodiment of the present invention provides an electronic device comprising a processor and memory, wherein the memory is used to store a computer program, and the processor causes the electronic device to perform the method by executing the computer program stored in the memory.
[0015] A third embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and realizes the method when the computer program is executed by a processor.
[0016] A fourth embodiment of the present invention provides a functional safety detection circuit that performs detection by applying the above method.
[0017] In one embodiment of the fourth embodiment, the functional safety detection circuit includes a bus control module, a register analysis module, and a data processing module, wherein the configuration path requiring original functional safety protection is input to the bus control module, the bus control module implements the bus interface protocol and transmits placement information to the register analysis module, the register analysis module transmits the analyzed internal registers into the data processing module so that the analyzed internal registers are processed by the data processing module, and the final use position of the registers in the functional safety detection circuit is Each of the aforementioned subsections This is the detection point location.
[0018] In one embodiment of the fourth embodiment, the functional safety detection circuit includes a data read module, an arbitration module, a data decompression module, a data relocation / deinterleaving processing module, a bus interface conversion module, a compression state management module, and a storage address mapping module, wherein in the data request path, the data read module generates a data read request and sends it to the arbitration module, the arbitration module selects one request from a plurality of requests and sends it to the compression state management module, the compression state management module queries the data compression state corresponding to the request and then sends the request to the storage address mapping module, and the storage address mapping module maps the original virtual request address to the physical storage The data is mapped to an address, the mapped address and read request are sent to the bus interface conversion module to perform interface protocol and clock domain crossing conversion, and then sent to the bus. In the data return path, the data undergoes clock domain crossing conversion via the bus interface conversion module, then reaches the data relocation / deinterleaving processing module, where the bus data is reconstructed. The compressed data is then sent to the data decompression module, where it is decompressed and restored before being returned to the arbitration module and then to the data read module. The original detection path requiring functional safety protection employs a cyclic redundancy check scheme as a functional safety detection mechanism to protect the request bus.
[0019] In another embodiment of the fourth embodiment, the functional safety detection circuit includes an SoC system on which a plurality of IPs are located, the SoC system includes a display controller, a graphics processor, a central processing unit, a bus interconnection control module, and memory, and the plurality of IP interconnection data paths include a path for transmitting one image data generated by the central processing unit to the display controller, and a path for transmitting the other image data generated by the graphics processor to the display controller. [Effects of the Invention]
[0020] As described above, the partitioned detection method for functional safety detection circuits, electronic apparatus according to the present application 、 and storage medium and functional safety detection circuit have the following advantageous effects.
[0021] The present application proposes a partitioned detection method for hardware functional safety detection circuits. A circuit originally requiring functional safety protection is divided into a plurality of subsections, and an independent functional safety detection mechanism can be applied to each subsection. Each path can transform or expand the data to be protected, improve implementation flexibility, meet the circuit coverage rate required by ASIL (Automotive Safety Integrity Level), and at the same time, have the characteristics of concise, flexible and efficient modification. It can be applied to functional protection of end-to-end circuits, reduce system requirements from the transmitting side to the receiving side, and greatly reduce the complexity of functional safety systems. The present application can be widely applied to various electronic systems requiring high functional safety, such as vehicle-mounted systems. [Brief Description of the Drawings]
[0022] [Figure 1] FIG. 1 is a flowchart illustrating the principle of a partitioned detection method for a functional safety detection circuit according to an embodiment of the present application. [Figure 2] FIG. 2 is a flowchart illustrating the principle of a partitioned detection method for a functional safety detection circuit according to another embodiment of the present application. [Figure 3] FIG. 3 is a schematic diagram illustrating a circuit configuration of a partitioned detection method for a functional safety detection circuit according to an embodiment of the present application. [Figure 4] FIG. 4 is a schematic diagram illustrating a circuit configuration of a partitioned detection method for a functional safety detection circuit according to another embodiment of the present application. [Figure 5] FIG. 5 is a schematic diagram illustrating a circuit configuration of a partitioned detection method for a functional safety detection circuit according to still another embodiment of the present application. [Figure 6]This is a schematic diagram showing the structural connections of the electronic device described in the embodiment of the present application. [Modes for carrying out the invention]
[0023] Embodiments of the present application will be described below by specific examples. Those skilled in the art will readily understand other advantages and effects of the present application from the disclosures herein. Furthermore, the present application can be implemented or applied by other different specific embodiments. Also, various additions or modifications may be made to each detail herein, based on different perspectives and applications, provided that they do not depart from the spirit of the present application. For the purposes of explanation, the following embodiments and their features may be combined with each other, provided that they do not contradict each other.
[0024] The drawings provided in the following embodiments only provide a general overview of the basic concept of the present invention. The drawings show only the assemblies relevant to the present invention and do not represent the number, shape, and size of assemblies that would actually be used in implementation. The form, number, and proportions of each assembly may be arbitrarily changed in actual implementation, and the layout and form of the assemblies may become more complex.
[0025] Taking the automotive safety field as an example, the applicant recognizes that ISO 26262 specifies an international standard for improving the functional safety of automotive electronic products and defines different functional safety ASIL levels. Safety levels ASILB and above require a single-point error coverage rate of 90% or higher for circuit diagnostics. When a hardware detection circuit or a detection system combining software and hardware reaches a diagnostic coverage rate corresponding to the ASIL level specified in ISO 26262, the system is proven to meet the functional safety standards.
[0026] Furthermore, the applicant recognizes that it is extremely important for functional safety detection methods to meet the level requirements specified by ASIL in order to guarantee the functional safety of automotive electronic systems. Because hardware-based functional safety detection methods offer higher real-time performance and reliability, those skilled in the art will preferentially consider hardware-based functional safety detection circuits. For hardware-based functional safety detection circuits, in order to enable the hardware to achieve the 90% or higher coverage rate required at the ASILB level, the first technical solution involved extensive replication of modules within the hardware, approximately doubling the chip area supporting the functional safety detection circuit, which resulted in a significant increase in cost. Furthermore, the second technical solution involved analyzing hardware circuits and developing customized functional safety detection circuits, which introduced complex control circuits that affected normal functional circuits and increased systemic risk. In addition, customized functional safety detection circuits have relatively low portability. To address the aforementioned problems with hardware function detection circuits, a third technical solution has been proposed that combines software and hardware to achieve the required coverage rate at the corresponding level. Compared to purely hardware detection circuits, this third technical solution suffers from poorer real-time performance and system stability. Therefore, reducing costs while improving system real-time performance and stability remains a technical challenge in the field of functional safety.
[0027] The technical proposal in the embodiment of this application will be described in detail below, using the drawings of the embodiment of this application as a reference.
[0028] Figure 1 is a flowchart illustrating the principle of the section detection method for a functional safety detection circuit described in this embodiment. Specifically, the section detection method for a functional safety detection circuit described in this embodiment includes the following steps S11 to S14 (see Figure 1).
[0029] In step S11, the circuit architecture of the functional safety detection circuit is analyzed, and the coverage path of the circuit requiring functional safety protection is determined.
[0030] In one embodiment, step S11 includes analyzing the circuit architecture of the functional safety detection circuit and determining the coverage paths of the circuit requiring functional safety protection based on the functional safety objectives that the circuit must achieve. The circuit requiring functional safety protection includes control paths and data paths.
[0031] In step S12, the functional safety detection circuit is divided into at least two subsections based on the coverage path.
[0032] Specifically, the number of sections in the divided subpath is greater than or equal to the number of sections in the original path, the original path has 1 section, and the number of sections in the divided path is a positive integer greater than or equal to 1.
[0033] In one embodiment, step S12 includes dividing the functional safety detection circuit into at least two subsections based on the coverage path, according to one or more of the module boundary rules, data change boundary rules, and complexity reduction rules for functional safety circuit implementation. Each subsection, which is each subpath, may be subject to one or more rules.
[0034] To elaborate further, the original circuit, the functional safety detection circuit, includes one or more circuit paths that require functional safety protection. The sectioned detection method applied to the functional safety detection circuit can be used for each path in the original circuit. Each path in the original circuit that requires functional safety protection is individually to which the sectioned detection method used for the functional safety detection circuit is applied.
[0035] Furthermore, each rule in step S12 may be independent of the others, partially overlap, or completely overlap. For example, a divided subpath belongs to both a module boundary and a data change boundary, and is also a boundary that is difficult to implement.
[0036] In one embodiment, the functional safety detection circuit is divided into at least two subsections according to a module boundary rule based on the coverage path. The module boundary rule includes each submodule boundary within a module and a group of modules consisting of each module within the circuit requiring functional safety protection.
[0037] In one embodiment, adhering to the module boundary rule includes at least one of the following:
[0038] (1) With respect to the SRAM memory inside the module, the submodules of this memory are used as the starting point and detection point of the functional safety partitioning path. The module boundary further includes a group of modules consisting of multiple modules in the circuit requiring functional safety protection.
[0039] (2) With respect to the top-level input interface and top-level output interface of the IP circuit, the top-level input interface corresponds to the earliest receiving end of the IP circuit, which must be protected by a functional safety detection circuit and is used as the starting point of the functional safety protection circuit. The top-level output interface corresponds to the output transmitting end of the IP circuit, which must be protected by a functional safety detection circuit and is used as the ending point of the functional safety protection circuit. Furthermore, the module boundary further includes a group of modules consisting of multiple modules within the IP core.
[0040] In the chip field, what is called "IP" is also commonly referred to as "IP core." An IP core refers to the integrated design of a circuit module that has independent functionality within a chip. By applying this circuit module design to other chip design projects that include this circuit module, it is possible to reduce the amount of design work, shorten the design cycle, and improve the success rate of chip design.
[0041] (3) For an SoC system on which IP is located, the I / O interface of each IP core within the SoC system must be the start or end point of a functionally safe partitioning path. Importantly, in the partitioning by the module boundary rules, the module boundary may include a group of modules consisting of one or more modules.
[0042] In one embodiment, the functional safety detection circuit is divided into at least two subsections based on the coverage path, according to data change boundary rules. The data change boundary rules include changes to data requiring functional safety protection and changes to inspection data corresponding to the data requiring functional safety protection.
[0043] Changes to data requiring functional safety protection include changes to the data content as the data passes through the computation path and increases or decreases in the number of data requiring protection. For example, data requiring functional safety protection is changed from data A to data A and data B. Changes to the inspection data corresponding to data requiring functional safety protection include changes to the inspection polynomial and changes to the inspection algorithm.
[0044] In one embodiment, based on the coverage path, the functional safety detection circuit is divided into at least two subsections according to a complexity reduction rule for functional safety circuit implementation. For the complexity rule, complexity includes the difficulty of transmitting ideal values from the start point of the functional safety detection path and comparing them at the detection points of the functional safety detection path.
[0045] In step S13, detection is performed on the circuits of each subsection using a predetermined detection mechanism.
[0046] In step S14, the functional safety error of the functional safety detection circuit is determined based on the detection result.
[0047] In one embodiment, specifically, step S14 includes collecting the circuit detection results for each subsection and determining the functional safety error of the functional safety detection circuit based on the circuit detection results for each subsection.
[0048] Specifically, the total number of sections corresponding to the original functional safety protection circuit division is obtained for the original functional safety detection path, and this total number of sections is denoted as k. Errors from each of the k subsections are collected and integrated into the final functional safety error interrupt signal.
[0049] In one embodiment, after step S14, the sectionalization detection method of the functional safety detection circuit further includes step 15, in which the sectionalization detection method is applied to other paths requiring functional safety protection according to the methods and rules of steps S12 to S14, and if there are no functional safety protection circuits that require sectionalization, the sectionalization is terminated.
[0050] To elaborate further, the original circuit includes one or more circuit paths that require functional safety protection. The sectioned detection method used for the functional safety detection path can be used for each path in the original circuit. Each path in the original circuit that requires functional safety protection can have the sectioned detection method used for the functional safety detection circuit applied to it, either integrating or individually.
[0051] Furthermore, the start and end points of each path requiring protection in the original circuit do not need to correspond one-to-one with the start and end points of the divided sectioned detection paths.
[0052] As a result, the functional safety detection circuit realized by the sectioned detection method can satisfy the same coverage rate as the original circuit requiring functional protection, while significantly simplifying the design complexity and reducing the requirements for data paths between different IPs within the system.
[0053] Figure 2 is a flowchart illustrating the principle of the sectioned detection method for a functional safety detection circuit described in another embodiment of the present application. A complete step-by-step flow is shown in which the sectioned detection method is applied to multiple paths requiring functional safety protection (see Figure 2).
[0054] In step S21, the circuit is analyzed to determine the paths that the original circuit requiring functional safety protection needs to cover.
[0055] In step S22, the original circuit path that needs to be covered in step 21 is divided, and each subsection is generated according to module boundary rules, data change boundary rules, or complexity reduction rules for functional safety protection circuits.
[0056] In step S23, the total number of sections corresponding to the original functional safety protection circuit path division is obtained, and this total number of sections is denoted as k. k is a positive integer greater than or equal to 1, and for each of the k subsections, a functional safety detection mechanism is applied to realize the corresponding detection circuit.
[0057] In step S24, the errors of each of the k subsections are collected and integrated to obtain the functional safety error corresponding to the original functional safety protection circuit path.
[0058] In step S25, the sectioning detection method is applied to other paths requiring functional safety protection according to the methods and rules of steps S22 to S24. If there are no functional safety protection circuits that require sectioning, the sectioning is terminated.
[0059] The specific circuits in Figure 3 and Figure 4 will be described below based on steps S21 to S25 in Figure 2. For details, please refer to steps A1 to A5 in Figure 3 and steps B1 to B5 in Figure 4.
[0060] Figure 3 is a schematic diagram showing the circuit configuration of a section detection method for a functional safety detection circuit described in one embodiment of the present invention. Referring to Figure 3, the section detection method for a functional safety detection circuit described in this embodiment specifically includes the following steps A1 to A5.
[0061] In step A1, the circuit is analyzed to determine the paths that the original circuit requiring functional safety protection needs to cover.
[0062] In one embodiment, as shown in Figure 3, the configuration path / bus requiring original functional safety protection is input from the module 10 interface and sequentially passes through the bus control module 101. The bus control module 101 implements the bus interface protocol and transmits placement information to the register analysis module 102. The register analysis module 102 transmits the analyzed internal registers to the data processing module 103 so that the analyzed internal registers can be processed by the data processing module 103. The final usage location of the register is the detection point location of functional safety detection path 1 shown in the diagram. Detection path 1, which originally requires functional safety protection, protects the configuration bus by employing a parity check method as a functional safety detection mechanism. At the detection point location of functional safety path 1, it compares the check bit of the actual data with the check bit data of the ideal data, and if they do not match, it reports a functional safety error in detection path 1. Specifically, based on the actual data obtained at the starting point position of the functional safety detection path 1 in this embodiment, i.e., the top-level input interface position of module 10, an ideal test value fusa1_d1_g for the path is calculated. This ideal test value fusa1_d1_g needs to be transmitted along with the original data timing to the detection point position of the functional safety detection path 1 in the data processing module 103. The actual data that has reached the detection point of the functional safety detection path 1 is encoded to obtain the actual test value fusa1_d1_a, which is then compared with the ideal test value fusa1_d1_g that has reached that position. If the two do not match, an error is reported.
[0063] In step A2, the original circuit path that needs to be covered in step A1 is divided, and each subsection is generated according to module boundary rules, data change boundary rules, or complexity reduction rules for functional safety protection circuits.
[0064] In one embodiment, as shown in Figure 3, the original functional safety protection required for route 1 needs to transmit and compare ideal test values from the top-level position of module 10 to the detection position within data processing module 103. Since transmitting ideal values involves changes in the interfaces between multiple modules, it is necessary to ensure that the data content requiring functional safety protection in route 1 is not changed. By ensuring that the safety mechanism employed in the original functional safety protection required for route 1 is not changed, the flexibility of implementation is significantly reduced. The functional safety sectioning detection method of the present invention divides the original detection path 1 requiring functional safety protection into three subpaths, divides them according to module boundary rules, and divides the original functional safety detection path into three subpaths named Fusa1_p1, Fusa1_p2, and Fusa1_p3.
[0065] In step A3, the total number of sections corresponding to the original functional safety protection circuit path division is obtained, and this total number of sections is denoted as k. k is a positive integer greater than or equal to 1, and for each of the k subsections, a functional safety detection mechanism is applied to realize the corresponding detection circuit.
[0066] Specifically, the starting point of the first detection path Fusa1_p1 is located at the top-level input position of this embodiment 10, i.e., the starting point of the original functional safety detection path 1 shown in Figure 3, and the detection point of the first detection path Fusa1_p1 is located at the input interface of the register analysis module 102. The ideal test value fusa1_d1_g of the first functional safety detection path Fusa1_p1 is obtained at the starting point of the functional safety detection path 1 in this embodiment based on the actual data at that position. The actual data that reaches the input interface of the register analysis module 102 is encoded to obtain the actual value fusa1_d1_a at the detection point of the first functional safety detection path Fusa1_p1. After comparing the ideal value fusa1_d1_g and the actual value fusa1_d1_a at this detection point, the original ideal value fusa1_d1_g is released. In the case of the original functional safety protection detection path 1, it is necessary to maintain and transmit the ideal value along the path to the final detection point.
[0067] Specifically, the starting point of the second detection path Fusa1_p2 is located at the input interface of the register analysis module 102, and the detection point of the second detection path Fusa1_p2 is located at the input interface of the data processing module 103. The ideal value of Fusa1_p2 is obtained from the input interface data of the register analysis module 102, and the ideal check value fusa1_d2_g for this path is obtained based on the data at that location. The ideal value fusa1_d2_g of the second detection path Fusa1_p2 is used only for detection within Fusa1_p2. This ideal value may be modified or extended. For example, if the data is integrated and protected, the address and data may be integrated and encoded. It is also possible to change the safety detection mechanism of Fusa1_p2, and the functional safety detection mechanism of Fusa1_p2 is completely independent of Fusa1_p1, which increases the flexibility of inspection and simplifies operation.
[0068] Specifically, the starting point of the third detection path Fusa1_p3 is located at the input interface of the data processing module 103, and the detection point of the third detection path Fusa1_p3 is located at the output interface of the data processing module 103. The starting point and detection end point of each path requiring protection in the original circuit do not need to correspond one-to-one with the starting point and detection end point of the divided sectioned detection path. In this embodiment 10 to which the present invention is applied, the circuit after the detection point of the original functional safety protection detection path 1 in the data processing module 103 also requires functional safety protection, and the two paths requiring original functional safety protection are integrated in the third detection path Fusa1_p3.
[0069] Specifically, the ideal value fusa1_d3_g for the third detection path Fusa1_p3 is regenerated based on the starting point location data of that path. When the data reaches the inspection location of Fusa1_p3, the actual inspection value fusa1_d3_a for that path is obtained, and the two are compared. Similarly, the ideal value of Fusa1_p3 is used only for inspections within Fusa1_p3, and this ideal value may be modified or expanded, for example, more data may be encoded, and the safety detection mechanism of Fusa1_p3 may be changed, in a manner consistent with Fusa1_p2.
[0070] In step A4, the errors from each of the K subsections are collected and integrated to obtain the functional safety error corresponding to the original functional safety protection circuit path. The most important aspect of functional safety detection is the rapid detection and reporting of errors. Therefore, it is necessary to collect the errors from each subsection and integrate them into the final functional safety interrupt signal. In one embodiment of the present invention, the errors from the three detection paths Fusa1_p1, Fusa1_p2, and Fusa1_p3 are Fusa1_e1, Fusa1_e2, and Fusa1_e3, respectively, and these errors need to be collected and integrated and finally integrated into the system-wide interrupt signal.
[0071] In step A5, the sectioning detection method is applied to the path requiring additional functional safety protection according to the methods and rules of steps A2 to A4. If there are no functional safety protection circuits that require sectioning, the sectioning is terminated.
[0072] Therefore, the circuit single-point error coverage rate diagnosed by the above sectioned detection method matches the coverage rate of the original functional safety detection path 1, while significantly reducing the difficulty of implementation and improving suitability for implementation.
[0073] Figure 4 is a schematic diagram showing the circuit configuration of a sectioned detection method for a functional safety detection circuit described in another embodiment of the present invention. Specific embodiments of other embodiments of the present invention, which more clearly illustrate the concept of the present invention, are shown in Figure 4. In this embodiment, the sectioning rule is based on whether or not data can be modified. The sectioned detection method for a functional safety detection circuit in this embodiment specifically includes the following steps B1 to B5 (see Figure 4).
[0074] In step B1, the circuit is analyzed to determine the paths that the original circuit requiring functional safety protection needs to cover. As shown in Figure 4, the original detection path 2 requiring functional safety protection is a data request path, where multiple data read modules 201 generate data read requests and send them to the arbitration module 202, which selects one request from the multiple requests and sends it to the compression state management module 206. The compression state management module 206 queries the data compression state corresponding to the request and then sends the request to the storage address mapping module 207. The storage address mapping module 207 maps the original virtual request address to a physical storage address and sends the mapped address and read request to the bus interface translation module 205, which performs interface protocol and clock domain crossing translation and then sends it to the bus. The original detection path 2 requiring functional safety protection employs a parity check scheme as a functional safety detection mechanism to protect the request bus.
[0075] In step B2, the original circuit path that needs to be covered in step B1 is divided, and each subsection is generated according to the data change boundary rules. Specifically, the functional safety sectioning detection method of the present invention divides the original detection path 2 that requires functional safety protection into three subpaths, divides it according to the data change rules, and divides the original functional safety detection path into three subpaths named Fusa2_p1, Fusa2_p2, and Fusa2_p3.
[0076] In step B3, the total number of sections corresponding to the original functional safety protection circuit path division is obtained, and this total number of sections is denoted as k. k is a positive integer greater than or equal to 1, and in the embodiment shown in Figure 4, the value of k for k subsections is 3. A functional safety detection mechanism is applied to each subsection to realize the corresponding detection circuit. Specifically, as shown in Figure 4, the starting point of the first detection path Fusa2_p1 is located at the starting point of the original functional safety detection path 2 in this embodiment 20, that is, at the location where a request is generated within the data reading module 201 shown in the figure, and the detection point is located at the location where a change in the contents of the request data bus occurs within the compressed state management module 207. The ideal check value for the first detection path Fusa2_p1 is obtained from the starting point of the functional safety detection path 2 in this embodiment. The data reading module 201 obtains request bus data including the request address and request data size (size), and based on the bus data at that location, the ideal check value fusa2_d1_g corresponding to the request bus is obtained. When the request bus reaches the location where the request data size (size) changes in the compressed state management module 207, the actual value is encoded to obtain the actual value fusa2_d1_a that reaches the Fusa2_p1 detection location. After comparing the ideal value fusa2_d1_g with the actual value fusa2_d1_a, the objective of protecting the first request bus is achieved.
[0077] Specifically, the starting point of the second detection path Fusa2_p2 is located where the requested data size changes within the compression state management module 206, and the detection point of Fusa2_p2 is located where the requested address changes within the storage address mapping module. Within the second detection path Fusa2_p2, the ideal value fusa2_d1_g of the first detection path Fusa2_p1 is released because the data size on the request bus has changed. The ideal value fusa2_d2_g of the second detection path Fusa2_p2 is obtained by re-encoding the request bus at the detection point of the first detection path Fusa2_p1, and is released after being compared with the actual value fusa2_d2_a at the detection point of the second detection path Fusa2_p2.
[0078] Similarly, the third detection path Fusa2_p3 has a modified address on the request bus compared to the second detection path Fusa2_p2. In this embodiment 20, the third detection path requests signal integration and protection by adding other signals, including the request type and request bus width, to the address bus. These parameters are packaged to form new protection data. Ideal check data is generated at the starting point of the third detection path, passes through the bus interface conversion module 205, and a comparison is made at the top-level interface location of embodiment 200. Since the inside of the bus interface conversion module 205 relates to the clock domain crossing path, the check bits and the original request bus must reach the detection point along the same path.
[0079] In step B4, the errors from the three paths described above are collected and integrated to obtain the functional safety error corresponding to the original functional safety protection circuit path.
[0080] In step B5, the sectioning detection method is applied to other paths requiring functional safety protection according to the methods and rules of steps B2 to B4. Specifically, as shown in Figure 4, the original detection path 3 requiring functional safety protection is a data return path, where the data undergoes clock domain crossing conversion via the bus interface conversion module 205 and then reaches the data relocation / deinterleaving processing module 204. After the bus data is reconstructed, the compressed data is sent to the data decompression module 203, where it is decompressed and restored before being sent back to the arbitration module 202 and further to the data reading module 201. The original detection path 3 requiring functional safety protection employs a cyclic redundancy check scheme as a functional safety detection mechanism to protect the requesting bus.
[0081] Specifically, in the functional safety sectioning detection method of the present invention, the original detection path 3 requiring functional safety protection is divided into three subpaths, and the division is carried out according to module boundary rules and data modification permission rules, dividing the original functional safety detection path into three subpaths named Fusa3_p1, Fusa3_p2, and Fusa3_p3. The original detection path 3 requiring functional safety protection is the path from the data top-level input interface of module 20 to the output interface of data reading module 201.
[0082] In this invention, the detection path 3 requiring original functional safety protection is divided from the data top-level input interface of module 20 according to module boundary rules, and new starting points and inspection points are generated. As for the inspection points, assuming that the system requirements for the data source are met, the actual value is obtained by encoding the data at the corresponding location, and it is determined whether there are error flips in the data that reached the corresponding IP by comparing it with the ideal value of the data source. If the actual value matches the ideal value, it indicates that there is no error. The first detection path Fusa3_p1 is used as the starting point, and encoding is performed again at the relevant position. The encoding polynomial at the relevant position can be redefined, and a comparison is performed at the detection point of Fusa3_p1. The first detection path Fusa3_p1 is independent of the system requirements for the data source and can be implemented entirely within the IP, providing functional protection for the IP interface and internal circuitry.
[0083] Similarly, within module 20, out-of-order processing, interleaving processing, and decompression processing are performed on the data. If the order of the data return path of detection path 3, which requires the original functional safety protection, is changed many times, it becomes difficult to achieve functional safety protection with high coverage in a small area along this path. The sectioned detection method of the present invention solves this problem.
[0084] Specifically, as shown in Figure 4, the starting point of the first detection path Fusa3_p1 is located at the starting point of the original functional safety detection path 3 in Example 20, and the detection point is located at the output position of the bus interface conversion module 205. The ideal test value of Fusa3_p1 is obtained at the starting point of the original functional safety detection path 3 in the example. If the data returned from the outside has a test bit, it is necessary to calculate the actual value at the starting point of the functional safety detection path 3 in this example and compare it with the ideal value. To eliminate random errors in the circuit within Example 20, an independent safety unit SEooC (Safety Elements out of Context) may be included. If the actual cyclic redundancy bits at the starting point of functional safety detection path 3 match the ideal value, the data that has reached module (20) is normal; otherwise, an abnormal interruption of data is reported. The ideal value for the first detection path Fusa3_p1 is calculated using the data at the relevant location. Within module 20, there are multiple data reading modules 201 and data return sources, so the check value at the relevant location can be integrated or reconstructed based on the characteristics of the returned data and does not need to follow the original check value of the external returned data. When the data reaches the output location of the relocation / detailed processing module 204, the data is encoded using a cyclic redundancy check method, the actual value is obtained and compared with the ideal value, and any errors are recorded.
[0085] Specifically, as shown in Figure 4, the starting point of Fusa3_p2 is located at the starting point of the data relocation / deinterleaving processing module 204, and the detection point of Fusa3_p2 is located at the output interface of the data decompression module 203. Assuming the area target is acceptable, Fusa3_p2 is protected by duplicating a redundant module. The data from the data relocation / deinterleaving processing module 204 is input to the data decompression module 203 and its duplicated module, respectively, and safety detection protection is performed. The specific functional safety protection mechanism for each path can employ a functional protection means that is duplicated or has further optimized area.
[0086] Similarly, in the third detection path Fusa3_p3, the data to be protected is extended to its final usage location. Within this path, the data is protected without modification using a cyclic redundancy check mechanism.
[0087] Errors from each of the k subsections are collected. The errors from each subsection need to be collected and integrated into the final functional safety interrupt signal. As shown in Figure 4, the functional safety protection detection path collects and integrates the errors from each detection path, and finally integrates them into a system-wide interrupt signal.
[0088] Figure 5 is a schematic diagram showing the circuit configuration of a sectioned detection method for a functional safety detection circuit described in yet another embodiment of the present application. Module 30 to which yet another embodiment of the present application is applied includes an SoC system with a plurality of IPs, the SoC system including a display controller 301, a graphics processor 302, a central processing unit 303, a bus interconnection control module 304, and a memory 305 (see Figure 5). In this embodiment, the plurality of IP interconnection data paths include a path for transmitting image data 1 generated by the central processing unit 303 to the display controller 301, and a path for transmitting image data 2 generated by the graphics processor 302 to the display controller 301.
[0089] The data path of the display controller 301 that requires original functional safety protection must be protected by employing a cyclic redundancy check scheme as a functional safety detection mechanism. The detection path that requires original functional safety protection has the following requirements at the system level:
[0090] 1. The data source being read must have an outlier value in the cyclic redundancy check, and the cyclic redundancy polynomial used for the ideal value must be exactly the same as the one used at the detection point.
[0091] 2. Assuming that the cyclic redundancy polynomials are the same, the order of the data that generates the test value must match between the ideal value and the actual value.
[0092] 3. The data content must be identical, and the decompression path in this embodiment 30 depends on the compressed data source; if the data is not compressed by the same algorithm, it will affect the functional safety detection of the decompression path in this embodiment. In the system to which this embodiment is applied, the generation and detection locations of the ideal values of the data are related to different IPs. The above requirement strengthens the dependencies between IPs and significantly reduces the flexibility of functional safety detection.
[0093] The sectioning detection method of the present invention requires that the I / O interface of each IP core in the SoC system be used as the starting point or check point of the functional safety sectioning path. If a data path between the display controller 301 and memory is included, it is not necessary to depend on whether the data is transmitted from the central processing unit 303 or the graphics processor 302, and the sectioning detection method of the present invention uses the top-level input data interface of the display controller 301 as the starting point and check point of sectioning detection. As a check point, a check is performed if the data source satisfies the three requirements of the system described above, and if it does not, the display controller 301 defines and re-encodes a functional safety polynomial at the starting point of the I / O interface, independent of the system's data source, to achieve an ideal check. Similarly, in this embodiment 30, other IP cores also implement the sectioning detection method of the present invention to provide functional protection to the I / O interface data and IP internal circuits, maximizing end-to-end protection coverage so that the system satisfies functional safety requirements.
[0094] The above sectioned detection method, assuming that the coverage rate matches that of the original functional safety detection path, significantly reduces implementation complexity, improves the suitability of functional safety detection, achieves end-to-end functional safety protection, reduces system-level requirements, and provides a new idea to those skilled in the art.
[0095] In some embodiments of this application, it should be understood that the disclosed modules and methods can be implemented in other ways. For example, the module / unit classifications described above are merely illustrative and represent only logical functional classifications; other classification methods may be used in actual implementation, for example, multiple modules or units may be coupled or integrated into other systems. Also, some features may be omitted or not performed. On the other hand, the coupling or direct coupling or communication connection between modules shown or discussed may also be an indirect coupling or communication connection through some interface, device, or module or unit, and may be electrical, mechanical, or otherwise.
[0096] Modules / units described as separate components may or may not be physically separate. Furthermore, components shown as modules / units may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Depending on the actual requirements, some or all modules / units can be selected to achieve the objectives of the embodiments of this application. For example, each functional module / unit in each embodiment of this application may be integrated into a single processing module, each module / unit may exist physically independently, or two or more modules / units may be integrated into a single module / unit.
[0097] Those skilled in the art should also recognize that the units and algorithmic steps of each example described with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination thereof. To clearly illustrate the interoperability of hardware and software, the above description provides a general description of the configuration and steps of each example based on their function. Whether these functions are performed in hardware or software manner depends on the specific application and design constraints of the technical solution. In a particular application, those skilled in the art may use different methods to implement the above functions, but such implementations should not be considered to be outside the scope of this application.
[0098] The scope of protection of the sectioned detection method for a functional safety detection circuit based on the embodiment in this application is not limited to the execution order of the steps described in this embodiment, but all solutions implemented by adding, deleting, and replacing steps in the prior art in accordance with the principles of this application are included in the scope of protection of this application.
[0099] Figure 6 is a schematic diagram showing the structural connections of the electronic device described in an embodiment of the present application. The electronic device 6 of the present application includes a processor 61, a memory 62, a communication interface 63 and / or a system bus 64 (see Figure 6). The memory 62 and the communication interface 63 are connected to the processor 61 via the system bus 64 and communicate with each other; the memory 62 is used to store computer programs, the communication interface 63 is used to communicate with other devices, and the processor 61 executes computer programs so that the electronic device 6 can perform each step of the sectioned detection method of the functional safety detection circuit.
[0100] The processor 61 may be a general-purpose processor such as a central processing unit (CPU) or network processor (NP), or it may be a digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component.
[0101] The above memory 62 may include random access memory (RAM) and may also include at least one non-volatile memory such as disk memory.
[0102] The system bus 64 described above may be a PCI bus or an Extensible Industry Standard Architecture (EISA) bus, among others. The system bus 64 is classified into address buses, data buses, control buses, etc. Communication interfaces are used to enable communication between the database access device and other devices (e.g., clients, read-write libraries, and read-only libraries).
[0103] Embodiments of the present invention further provide computer-readable storage media. Those skilled in the art will understand that all or some steps of the method for performing the above embodiments can be completed by instructing a processor via a program. The above program may be stored in a computer-readable storage medium, which is a non-transitory medium such as random-access memory, read-only memory, flash memory, hard disk, solid-state disk, magnetic tape, floppy disk, optical disc, and any combination thereof. The above storage medium may be any usable medium accessible by a computer, or a data storage device such as an integrated server or data center containing one or more usable media. The above usable media include magnetic media (e.g., floppy disk, hard disk, magnetic tape), optical media (e.g., digital video disc (DVD)), or semiconductor media (e.g., solid-state disk (SSD)).
[0104] The functional safety detection circuit based on this application performs detection by applying the sectioned detection method of the functional safety detection circuit described above.
[0105] In one embodiment, the functional safety detection circuit includes a bus control module, a register analysis module, and a data processing module.
[0106] The original configuration path requiring functional safety protection is input from the module 10 interface and passes sequentially through the bus control module 101 (see Figure 3 again). The bus control module 101 implements the bus interface protocol and transmits placement information to the register analysis module 102. The register analysis module 102 transmits the analyzed internal registers into the data processing module 103 so that the analyzed internal registers are processed by the data processing module 103. The final usage location of the registers is the detection point location of the functional safety detection path 1 shown in the diagram. The original detection path 1 requiring functional safety protection employs a parity check method as a functional safety detection mechanism to protect the configuration bus, and at the detection point location of the functional safety path 1, it compares the check bit of the actual data with the check bit data of the ideal data, and reports a functional safety error of the detection path 1 if they do not match. During implementation, the ideal check value fusa1_d1_g of the path is calculated based on the actual data obtained at the starting point location of the functional safety detection path 1 in this embodiment, i.e., the top-level input interface location of module 10. This ideal test value fusa1_d1_g needs to be transmitted along with the original data timing to the detection point location of functional safety detection path 1 within the data processing module 103. The actual data that has reached the detection point of functional safety detection path 1 is encoded to obtain the actual test value fusa1_d1_a, which is then compared with the ideal test value fusa1_d1_g that has reached that location. If the two do not match, an error is reported.
[0107] In other embodiments, the functional safety detection circuit described above includes a data reading module, an arbitration module, a data decompression module, a data relocation / deinterleaving processing module, a bus interface conversion module, a compression state management module, and a storage address mapping module.
[0108] The original detection path 2 requiring functional safety protection is a data request path, where multiple data read modules 201 generate data read requests and send them to the arbitration module 202. The arbitration module 202 selects one request from the multiple requests and sends it to the compression state management module 206 (see Figure 4 again). The compression state management module 206 queries the data compression state corresponding to the request and then sends the request to the storage address mapping module 207. The storage address mapping module 207 maps the original virtual request address to a physical storage address, sends the mapped address and read request to the bus interface translation module 205, performs interface protocol and clock domain crossing translation, and then sends it to the bus. The original detection path 2 requiring functional safety protection employs a parity check scheme as a functional safety detection mechanism to protect the request bus.
[0109] The original detection path 3 requiring functional safety protection is a data return path. The data undergoes clock domain crossing conversion via the bus interface conversion module 205, then reaches the data relocation / deinterleaving processing module 204. After bus data reconstruction, the compressed data is sent to the data decompression module 203. After decompression and restoration, the data is returned to the arbitration module 202, and further returned to the data reading module 201. The original detection path 3 requiring functional safety protection employs a cyclic redundancy check scheme as a functional safety detection mechanism to protect the requesting bus.
[0110] In yet another embodiment, the functional safety detection circuit described above includes an SoC system on which multiple IPs are located, and the SoC system includes a display controller, a graphics processor, a central processing unit, a bus interconnection control module, and memory.
[0111] Multiple IP interconnection data paths include a path for transmitting image data 1, generated by the central processing unit 303, to the display controller 301, and a path for transmitting image data 2, generated by the graphics processor 302, to the display controller 301. The data paths of the display controller 301 that require original functional safety protection must be protected by employing a cyclic redundancy check scheme as a functional safety detection mechanism (see Figure 5 again).
[0112] In the sectioning detection method of the present invention, the I / O interface of each IP core in the SoC system must be used as the starting point or check point of the functional safety sectioning path. If a data path between the display controller 301 and memory is included, it is not necessary to depend on whether the data is transmitted from the central processing unit 303 or the graphics processor 302, and the above sectioning detection method uses the top-level input data interface of the display controller 301 as the starting point and check point for sectioning detection. As a check point, if the data source satisfies the system requirements, a check is performed; if not, the display controller 301 defines a functional safety polynomial at the starting point of the I / O interface, regardless of the system's data source, and re-encodes it to obtain an ideal check.
[0113] The above descriptions of the flows or structures corresponding to each diagram are as described, and for parts not explained in detail in a particular flow or structure, you can refer to the descriptions related to other flows or structures.
[0114] The above embodiments are merely illustrative examples illustrating the principles and effects of the present application and do not limit it. Those familiar with the art may supplement or modify the above embodiments, provided they do not depart from the spirit and scope of the present application. Therefore, any equivalent supplement or modification that a person skilled in the art can complete without departing from the spirit and technical concept disclosed herein remains within the scope of the claims. [Explanation of Symbols]
[0115] 10. Top-level module in one embodiment for realizing a functional safety detection circuit by applying sectioned detection. 101 Bus control module 102 Register Analysis Module 103 Data Processing Module 20 Top-level module in another embodiment for realizing a functional safety detection circuit by applying sectioned detection 201 Data Reading Module 202 Mediation Module 203 Data Expansion Module 204 Data relocation / deinterleaving process 205 Bus Interface Conversion Module 206 Compression Status Management Module 207 Storage Address Mapping Module Fusa1 Original Functional Safety Detection Route 1 Fusa2 Original Functional Safety Detection Route 2 Fusa3 Original Functional Safety Detection Route 3 Fusa1_p1~p3 Subpaths obtained by dividing the original functional safety detection path 1 using the sectioning detection method. Fusa2_p1~p3 Subpaths obtained by dividing the original functional safety detection path 2 using the sectioned detection method. Fusa3_p1~p3 Subpaths obtained by dividing the original functional safety detection path 3 using the sectioned detection method. 30 Top-level module in yet another embodiment for realizing a functional safety detection circuit by applying sectioned detection 301 Display Controller 302 Graphics Processors 303 Central Processing Unit 304 Bus Interconnection Control Module 305 memory 6 Electronic equipment 61 processors 62 memory 63 Communication Interfaces 64 System Bus S11~S14 Step S21~S25 Step
Claims
1. The steps include: analyzing the circuit architecture of the functional safety detection circuit and determining the coverage path of the circuit requiring functional safety protection; The steps include dividing the functional safety detection circuit into at least two subsections based on the coverage path, A step of performing detection on the circuits of each subsection using a predetermined detection mechanism, The method includes the step of determining the functional safety error of the functional safety detection circuit based on the detection result, The step of dividing the functional safety detection circuit into the at least two subsections based on the coverage path is: Based on the coverage path, the functional safety detection circuit is divided into at least two subsections according to one or more of the module boundary rules, data change boundary rules, and complexity reduction rules for functional safety circuit implementation. An ideal test value is obtained based on the actual data of the starting point position of each subsection, and after comparing the transmitted ideal test value with the actual value of the detection point, the ideal test value is released. A method for detecting the sectioning of a functional safety detection circuit, characterized in that the ideal test value is regenerated based on data of the starting position of the next subsection.
2. The method for detecting the sectioning of a functional safety detection circuit according to Claim 1, characterized in that the module boundary rule includes each submodule boundary within a module and a group of modules consisting of each module in the circuit requiring functional safety protection.
3. With respect to the SRAM memory within the aforementioned module, the rule is that the submodules of the SRAM memory are used as the starting point and detection point of the functional safety partitioning path, With respect to the top-level input interface and top-level output interface of the IP circuit, the top-level input interface corresponds to the earliest receiving end of the IP circuit, which is protected by the functional safety detection circuit and used as the starting point of the functional safety protection circuit. The top-level output interface corresponds to the output transmitting terminal of the IP circuit, the transmitting terminal is protected by the functional safety detection circuit, and is used as the endpoint of the functional safety protection circuit, according to the following rules: The functional safety detection circuit sectioning detection method according to claim 2, characterized in that it includes at least one of the following: a rule that, with respect to the SoC system on which the IP is located, the I / O interface of each IP core in the SoC system is used as the start or end point of the functional safety sectioning path; and
4. The data change boundary rule includes changes to data requiring functional safety protection and changes to inspection data corresponding to the data requiring functional safety protection, The aforementioned changes to data requiring functional safety protection include changes to the data content as the data passes through the computation path and increases or decreases in the number of data that require protection. The method for detecting a functional safety detection circuit section according to claim 1, characterized in that the modification of the inspection data corresponding to the data requiring functional safety protection includes modification of the inspection polynomial and modification of the inspection algorithm.
5. The complexity in the complexity reduction rule includes the difficulty of transmitting ideal values from the starting point of each subsection and comparing them at the detection points of each subsection, as described in claim 1, for a sectioned detection method for a functional safety detection circuit.
6. The step of analyzing the circuit architecture of the functional safety detection circuit and determining the coverage path of the circuit requiring functional safety protection includes analyzing the circuit architecture of the functional safety detection circuit and determining the coverage path of the circuit requiring functional safety protection based on the functional safety objectives that the circuit needs to achieve, The functional safety detection circuit section detection method according to claim 1, characterized in that the circuit requiring functional safety protection includes a control path and a data path.
7. The step of determining the functional safety error of the functional safety detection circuit based on the detection result is: To collect the circuit detection results for each of the aforementioned subsections, The method for sectional detection of a functional safety detection circuit according to claim 1, characterized in that it includes determining a functional safety error in the functional safety detection circuit based on the circuit detection results of each of the subsections.
8. It is an electronic device, Including the processor and memory, The electronic device is characterized in that the memory is used to store a computer program, and the processor executes the computer program stored in the memory, thereby causing the electronic device to execute the section detection method of the functional safety detection circuit described in any one of claims 1 to 7.
9. A computer-readable storage medium on which computer programs are stored, A computer-readable storage medium characterized in that, when the computer program is executed by the processor, it realizes the section detection method for a functional safety detection circuit described in any one of claims 1 to 7.
10. A functional safety detection circuit characterized by performing detection by applying the sectioned detection method of the functional safety detection circuit described in any one of claims 1 to 7.
11. The aforementioned functional safety detection circuit includes a bus control module, a register analysis module, and a data processing module. The configuration path requiring original functional safety protection is input to the bus control module. The bus control module implements the bus interface protocol and transmits placement information to the register analysis module. The register analysis module transmits the analyzed internal registers to the data processing module so that the analyzed internal registers can be processed by the data processing module. The functional safety detection circuit according to claim 10, characterized in that the final usage position of the register of the functional safety detection circuit is the detection point position of each subsection.
12. The functional safety detection circuit includes a data reading module, an arbitration module, a data decompression module, a data relocation / deinterleaving processing module, a bus interface conversion module, a compression state management module, and a storage address mapping module. In the data request path, the data reading module generates a data reading request and sends it to the arbitration module. The arbitration module selects one request from a group of requests and sends it to the compression state management module. The compression state management module queries the data compression state corresponding to the request, and then sends the request to the storage address mapping module. The storage address mapping module maps the original virtual request address to a physical storage address, sends the mapped address and read request to the bus interface translation module, performs interface protocol and clock domain crossing translation, and then sends it to the bus. In the data return path, the data undergoes clock domain crossing conversion via the bus interface conversion module, then reaches the data relocation / deinterleaving processing module, where the bus data is reconstructed. The compressed data is then transmitted to the data decompression module, where it is decompressed and restored, and then returned to the arbitration module and the data reading module. The functional safety detection circuit according to claim 10, characterized in that the original detection path requiring functional safety protection is protected by employing a cyclic redundancy check scheme as a functional safety detection mechanism to protect the request bus.
13. The functional safety detection circuit includes an SoC system on which multiple IPs are arranged, and the SoC system includes a display controller, a graphics processor, a central processing unit, a bus interconnection control module, and memory. The functional safety detection circuit according to claim 10, characterized in that the multiple IP interconnection data paths include a path through which one image data generated by the central processing unit is transmitted to the display controller, and a path through which the other image data generated by the graphics processor is transmitted to the display controller.
Citation Information
Patent Citations
Functional safety over trace-and-debug
US20190370503A1
Automation for functional safety diagnostic coverage
US20220366120A1
