Sectioning detection method for functional safety detection circuit, electronic device and storage medium
The sectioned detection method for functional safety circuits addresses the challenge of high costs and complexity in existing hardware detection by dividing circuits into subsections, ensuring real-time performance and stability, and meeting functional safety standards.
Patent Information
- Application Number
- JP2025517675
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2025-10-01
Smart Images

Figure 2025532688000001_ABST
Abstract
Description
[Technical Field]
[0001] The present application belongs to the technical field of functional safety and relates to a detection method, and more particularly to a sectioned detection method for a functional safety detection circuit, an electronic device, and a storage medium. [Background technology]
[0002] With the rapid development of electronic products, various electronic systems, such as automotive systems, are becoming increasingly complex, and the probability of electrical and electronic circuit failures is becoming increasingly high.
[0003] When a circuit fails due to a fault, it affects the safety of the entire system, and for on-board systems, it can affect the safe operation 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] Hardware functional safety detection circuits are commonly used due to their real-time capability and high reliability. However, different technical solutions for hardware functional safety detection circuits have various technical issues, such as increased costs and reduced system real-time capability and stability. How to reduce costs and improve system real-time capability and stability has become a technical challenge in the field of functional safety. Summary of the Invention [Problem to be solved by the invention]
[0005] An object of the present application is to provide a sectioned detection method for a functional safety detection circuit, an electronic device, and a storage medium for solving the problem of achieving both low cost in functional safety detection and real-time performance and stability of the system. [Means for solving the problem]
[0006] A first embodiment of the present application provides a sectioned detection method for a functional safety detection circuit, an electronic device, and a storage medium, the method including the steps of: analyzing a circuit architecture of the functional safety detection circuit and determining coverage paths of circuits requiring functional safety protection; dividing the functional safety detection circuit into at least two subsections based on the coverage paths; performing detection on the circuits of each subsection using a predetermined detection mechanism; and determining a functional safety error of the functional safety detection circuit based on the detection results.
[0007] In one aspect of the first aspect, 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 and in accordance with any one or more of a module boundary rule, a data change boundary rule, and a complexity reduction rule for functional safety circuit realization.
[0008] In one aspect of the first aspect, the functional safety detection circuit is divided into at least two subsections based on the coverage path according to a module boundary rule, the module boundary rule including each sub-module boundary within a module and a module group consisting of each module within the circuit requiring functional safety protection.
[0009] In one embodiment of the first aspect, the module boundary rules include at least one of the following: For a static random-access memory (SRAM) memory within a module, a sub-module of the memory is used as a starting point and a detection point of a functional safety partition path; A 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 a starting point of a functional safety protection circuit; A top-level output interface corresponds to the output sending end of the IP circuit. The output sending end is protected by a functional safety detection circuit and is used as an ending point of a functional safety protection circuit; For a system on chip (SoC) system in which an IP is placed, an I / O interface of each IP core within the SoC system is used as a starting point or an ending point of a functional safety partition path.
[0010] In one aspect of the first aspect, the functional safety detection circuit is divided into at least two subsections based on a coverage path in accordance with a data change boundary rule, the data change boundary rule including a change to data requiring functional safety protection and a change to test data corresponding to the data requiring functional safety protection, the change to the data requiring functional safety protection including a change to data content as the data passes through a calculation path and an increase or decrease in the number of data requiring protection, and the change to the test data corresponding to the data requiring functional safety protection including a change to a check polynomial and a change to a test algorithm.
[0011] In one aspect of the first aspect, 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 realization, and for the complexity rule, the complexity includes the difficulty of propagating an ideal value from a starting point of the functional safety detection path and comparing it at a detection point of the functional safety detection path.
[0012] In one aspect of the first aspect, the step of analyzing the circuit architecture of the functional safety detection circuit and determining coverage paths of circuits requiring functional safety protection includes analyzing the circuit architecture of the functional safety detection circuit and determining coverage paths of circuits requiring functional safety protection based on functional safety goals that the circuits must achieve, and the circuits requiring functional safety protection include control paths and data paths.
[0013] In one aspect of the first aspect, the step of determining a functional safety error of the functional safety detection circuit based on the detection results includes collecting circuit detection results of each subsection, and determining a functional safety error of the functional safety detection circuit based on the circuit detection results of each subsection.
[0014] A second aspect of the present embodiment provides an electronic device, including a processor and a memory, wherein 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 perform the method.
[0015] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, the computer program implementing the method when executed by a processor.
[0016] A fourth aspect of the present embodiment provides a functional safety detection circuit that performs detection by applying the above method.
[0017] In one embodiment of the fourth aspect, the functional safety detection circuit includes a bus control module, a register analysis module, and a data processing module, wherein an original configuration path requiring functional safety protection is input to the bus control module, the bus control module realizes a bus interface protocol and transmits placement information to the register analysis module, the register analysis module transmits the analyzed internal register into the data processing module so that the analyzed internal register is processed by the data processing module, and the final use position of the register of the functional safety detection circuit is the detection point position of the functional safety detection path.
[0018] In one embodiment of the fourth aspect, the functional safety detection circuit includes a data reading module, an arbitration module, a data decompression module, a data rearrangement / deinterleaving processing module, a bus interface conversion module, a compression state management module, and a storage address mapping module, and in a data request path, the data reading 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 inquires about a 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 a physical storage The read request is mapped to an address, and 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 passes through the bus interface conversion module to undergo clock domain crossing conversion, and then reaches the data relocation / deinterleaving processing module to reconstruct bus data. After that, the compressed data is sent to the data decompression module, and the data is decompressed and restored before being sent back to the arbitration module and back to the data reading module. The original detection path that requires functional safety protection adopts a cyclic redundancy check method as a functional safety detection mechanism to protect the request bus.
[0019] In another aspect of the fourth aspect, the functional safety detection circuit includes an SoC system in which multiple IPs are arranged, the SoC system including a display controller, a graphics processor, a central processing unit, a bus interconnection control module, and a memory, and the multiple IP interconnection data paths include a path along which one image data generated by the central processing unit is transmitted to the display controller, and a path along which the other image data generated by the graphics processor is transmitted to the display controller. [Effects of the Invention]
[0020] As described above, the sectioning detection method for a functional safety detection circuit, the electronic device, and the storage medium according to the present application have the following beneficial effects.
[0021] This application proposes a sectioned detection method for hardware functional safety detection circuits. The original circuit requiring functional safety protection can be divided into multiple subsections, and an independent functional safety detection mechanism can be applied to each subsection. Each path can be modified or expanded to protect data, improving implementation flexibility and meeting the circuit coverage rate required by ASIL (Automotive Safety Integrity Level). This method is characterized by simple, flexible, and efficient modifications. It can be applied to end-to-end circuit functional protection, reducing system requirements from the sender to the receiver and significantly reducing the complexity of functional safety systems. This application can be widely applied to various electronic systems with high functional safety requirements, such as automotive systems. [Brief explanation of the drawings]
[0022] [Figure 1] 1 is a flowchart illustrating the principle of a sectioning detection method for a functional safety detection circuit according to an embodiment of the present application. [Figure 2] 10 is a flowchart illustrating the principle of a sectioning detection method for a functional safety detection circuit according to another embodiment of the present application. [Figure 3] FIG. 1 is a schematic diagram showing a circuit configuration of a sectioned detection method for a functional safety detection circuit described in an embodiment of the present application. [Figure 4] FIG. 10 is a schematic diagram showing a circuit configuration of a sectioned detection method for a functional safety detection circuit described in another embodiment of the present application. [Figure 5] FIG. 10 is a schematic diagram showing a circuit configuration of a sectioned detection method for a functional safety detection circuit according to yet another embodiment of the present application. [Figure 6] 1 is a schematic diagram illustrating the structural connections of an electronic device described in an embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION
[0023] The following describes embodiments of the present application through specific examples. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed herein. Furthermore, the present application can also be implemented or applied through other different specific embodiments. Furthermore, various supplements or modifications may be made to the details in this specification based on different perspectives and applications, without departing from the spirit of the present application. It should be noted that the following examples and features of the examples may be combined with each other, provided no contradiction arises.
[0024] The drawings provided in the following examples are merely for a rough explanation of the basic idea of the present application. The drawings only show assemblies relevant to the present application, and are not based on the number, shape, and size of the assemblies in actual implementation. The form, number, and ratio of each assembly in actual implementation may be arbitrarily changed, and the layout and shape of the assembly may be more complicated.
[0025] Taking the field of automotive safety as an example, the applicant recognizes that ISO 26262 specifies international standards for improving the functional safety of automotive electronic products and specifies different functional safety ASIL levels. Safety levels of ASILB and above require a single-point error coverage rate of 90% or more for circuit diagnosis. When a hardware detection circuit or a detection system combining software and hardware achieves a diagnostic coverage rate corresponding to the ASIL level specified in ISO 26262, it is proven that the system meets the functional safety standards.
[0026] The applicant also recognizes that in order to ensure the functional safety of automotive electronic systems, it is very important that the functional safety detection method meets the level requirements specified by ASIL. Since the hardware functional safety detection method has higher real-time performance and reliability, those skilled in the art will give priority to the hardware functional safety detection circuit. For hardware-based functional safety detection circuits, the first technical solution, in order to enable the hardware to reach the 90% or more coverage rate required at the ASILB level, required extensive duplication of modules in the hardware, which roughly doubled the chip area supporting the functional safety detection circuits and significantly increased costs. In addition, the second technical solution involves analyzing the hardware circuit and developing a customized functional safety detection circuit, which introduces a complex control circuit, affects the normal functional circuit, and increases the systematic risk. Furthermore, the customized functional safety detection circuit has relatively low portability. To address the above-mentioned problems of hardware function detection circuits, a third technical solution has been proposed, which combines software and hardware to achieve the required coverage rate at the corresponding level. Compared with pure hardware detection circuits, the third technical solution has poor real-time performance and system stability. Therefore, how to reduce costs while improving the system's real-time performance and stability has become a technical challenge in the field of functional safety.
[0027] The following describes in detail the technical solutions in the embodiments of the present application in combination with the drawings in the embodiments of the present application.
[0028] 1 is a flowchart showing the principle of the sectioning detection method for a functional safety detection circuit described in an embodiment of the present application. Specifically, the sectioning detection method for a functional safety detection circuit described in this embodiment includes the following steps S11 to S14 (see FIG. 1).
[0029] In step S11, the circuit architecture of the functional safety detection circuit is analyzed to determine the coverage path of the circuit that requires functional safety protection.
[0030] In one embodiment, step S11 includes analyzing a circuit architecture of the functional safety detection circuit and determining a coverage path of the circuit that requires functional safety protection based on a functional safety goal that the circuit needs to achieve, where the circuit that requires functional safety protection includes a control path and a data path.
[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 of the divided sub-route is equal to or greater than the number of sections of the original route, the original route has one section, and the number of sections of the divided route is a positive integer equal to or greater than one.
[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 a module boundary rule, a data change boundary rule, and a complexity reduction rule for functional safety circuit implementation, where each subsection, that is, each subpath, can apply one or more rules.
[0034] To further explain, the original circuit, which is a functional safety detection circuit, includes one or more circuit paths that require functional safety protection. The sectioning detection method applied to the functional safety detection circuit can be used for each path of the original circuit. Each path that requires functional safety protection in the original circuit is individually applied with the sectioning detection method used for the functional safety detection circuit.
[0035] In addition, the rules in step S12 may be independent of each other, may partially overlap, or may completely overlap. For example, a divided sub-path belongs to both a module boundary and a data change boundary, and is also a boundary that is difficult to realize.
[0036] In one embodiment, based on the coverage path, the functional safety detection circuit is divided into at least two subsections according to module boundary rules, which include each sub-module boundary within a module and a module group consisting of each module in the circuit that requires functional safety protection.
[0037] In one embodiment, following the module boundary rules includes at least one of the following:
[0038] (1) For SRAM memory within a module, a sub-module of this memory is used as the starting point and detection point for functional safety partitioning paths. The module boundary further includes a module group consisting of multiple modules within the circuit that require 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 sending 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 module group consisting of multiple modules within the IP core.
[0040] In the chip industry, what is called "IP" is also commonly referred to as "IP core." IP core refers to the integrated design of a circuit module with independent functions within a chip. This circuit module design can be applied to other chip design projects that include this circuit module, reducing the amount of design work, shortening the design cycle, and improving the success rate of chip design.
[0041] (3) For an SoC system in which an IP is deployed, the I / O interface of each IP core within the SoC system must be the start or end point of a functional safety partitioning path. Importantly, in partitioning according to the module boundary rules, the module boundary can include a group of one or more modules.
[0042] In one embodiment, based on the coverage path, the functional safety detection circuit is divided into at least two subsections according to a data change boundary rule, wherein the data change boundary rule includes a change in data requiring functional safety protection and a change in test data corresponding to the data requiring functional safety protection.
[0043] A change in data requiring functional safety protection includes a change in the content of the data as it passes through the calculation path and an increase or decrease in the number of pieces of data requiring protection, for example, data requiring functional safety protection is changed from data A to data A and data B. A change in test data corresponding to data requiring functional safety protection includes a change in the check polynomial and a change in the test 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 realization, where the complexity rule includes the difficulty of transmitting an ideal value from a starting point of the functional safety detection path and comparing it at a detection point of the functional safety detection path.
[0045] In step S13, a predetermined detection mechanism is used to perform detection on the circuitry of each subsection.
[0046] In step S14, a 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 of each subsection respectively; and determining the functional safety error of the functional safety detection circuit according to the circuit detection results of each subsection.
[0048] Specifically, for the original functional safety detection path, the total number of sections corresponding to the original functional safety protection circuit division is obtained, and this total number of sections is set to k. Errors in the k subsections are collected and integrated into the final functional safety error interrupt signal.
[0049] In one embodiment, after step S14, the sectioning detection method for the functional safety detection circuit further includes step 15, in which the sectioning detection method is applied to other paths requiring functional safety protection according to the method and rules of steps S12 to S14, and if there are no functional safety protection circuits requiring division, the sectioning is terminated.
[0050] To further explain, the original circuit includes one or more circuit paths that require functional safety protection. The sectioning detection method for the functional safety detection paths can be used for each path in the original circuit. Each path in the original circuit that requires functional safety protection can be applied with the sectioning detection method for the functional safety detection circuit integrated or individually.
[0051] Furthermore, the start points and detection end points of each path that needs protection in the original circuit do not necessarily have a one-to-one correspondence with the start points and detection end points of the divided sectioned detection paths.
[0052] As a result, the functional safety detection circuit realized by the sectioning detection method can achieve the same coverage rate as the original circuit requiring functional protection, while greatly simplifying the design complexity and reducing the requirements for data paths between different IPs within the system.
[0053] 2 is a flowchart showing the principle of the sectional detection method of the functional safety detection circuit described in another embodiment of the present application. The complete step flow is shown in which the sectional detection method is applied to paths requiring multiple functional safety protections (see FIG. 2).
[0054] In step S21, the circuit is analyzed to determine the paths that the original circuit requiring functional safety protection must cover.
[0055] In step S22, the original circuit path that needs to be covered in step S21 is divided, and each subsection is generated according to the module boundary rule, the data change boundary rule, or the complexity reduction rule of the functional safety protection circuit.
[0056] In step S23, the total number of sections corresponding to the original functional safety protection circuit path division is obtained, and the total number of sections is set to k, where k is a positive integer equal to or greater than 1, and a functional safety detection mechanism is applied to each of the k subsections to realize a corresponding detection circuit.
[0057] In step S24, the errors 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 that require functional safety protection according to the method and rules of steps S22 to S24, and if there are no functional safety protection circuits that require division, the sectioning ends.
[0059] Below, a specific circuit in Fig. 3 and a specific circuit in Fig. 4 will be described based on steps S21 to S25 in Fig. 2. For details, see steps A1 to A5 in Fig. 3 and steps B1 to B5 in Fig. 4.
[0060] 3 is a schematic diagram showing a circuit configuration of a sectioning detection method for a functional safety detection circuit according to one embodiment of the present application. Referring to FIG. 3, the sectioning detection method for a functional safety detection circuit according to 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 must cover.
[0062] 3, the original configuration path / bus that requires functional safety protection is input from the module 10 interface and passes through the bus control module 101 in turn. The bus control module 101 is responsible for implementing the bus interface protocol and transmitting the location information to the register analysis module 102. The register analysis module 102 sends the analyzed internal registers to the data processing module 103 so that the analyzed internal registers are processed by the data processing module 103. The final use location of the register is the detection point location of functional safety detection path 1 shown in the drawing. Detection path 1, which requires original functional safety protection, adopts a parity check method as a functional safety detection mechanism to protect the configuration bus, and compares the check bit data of the actual data with the check bit data of the ideal data at the detection point location of functional safety path 1. If they do not match, a functional safety error is reported in detection path 1. Specifically, an ideal test value fusa1_d1_g for the functional safety detection path 1 in this embodiment is calculated based on the actual data obtained at the starting point position, i.e., the top-level input interface position of the module 10. This ideal test value fusa1_d1_g must be transmitted to the detection point position of the functional safety detection path 1 in the data processing module 103 along with the original data timing. 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 a module boundary rule, a data change boundary rule, or a complexity reduction rule for functional safety protection circuits.
[0064] 3, path 1 that requires original functional safety protection needs to transmit an ideal test value from the top-level position of module 10 to a detection position in data processing module 103 for comparison, and transmitting the ideal value involves changing the interfaces between multiple modules, so it is necessary to prevent changes to the data content that requires functional safety protection on path 1. Preventing changes to the safety mechanism adopted on path 1 that requires original functional safety protection will significantly reduce flexibility in implementation. The functional safety sectioning detection method of the present invention divides the original detection path 1 that requires functional safety protection into three sub-paths, and performs the division according to the module boundary rule, thereby dividing the original functional safety detection path into three sub-paths named Fusa1_p1, Fusa1_p2, and Fusa1_p3, respectively.
[0065] In step A3, the total number of sections corresponding to the original functional safety protection circuit path division is obtained, and the total number of sections is defined as k, where k is a positive integer equal to or greater than 1. For the k subsections, a functional safety detection mechanism is applied to each subsection to realize a 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 FIG. 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 check value fusa1_d1_g of the first functional safety detection path Fusa1_p1 is obtained based on the actual data at the starting point of the functional safety detection path 1 in this embodiment. The actual data arriving at 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 the ideal value fusa1_d1_g and the actual value fusa1_d1_a are compared 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, the ideal value needs to be maintained and transmitted along the path until 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 of 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 expanded. For example, if data is protected in a unified manner, the address and data may be encoded in a unified manner. The safety detection mechanism of Fusa1_p2 can also be changed, and the functional safety detection mechanism of Fusa1_p2 is completely independent of Fusa1_p1, enhancing the flexibility of the test and simplifying operation.
[0068] Specifically, the start 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 start points and detection end points of each path requiring protection in the original circuit do not necessarily correspond one-to-one to the start points and detection end points of the divided sectioned detection paths. In this tenth embodiment to which the present invention is applied, functional safety protection is also required for the circuit after the detection point of the original functional safety protection detection path 1 in the data processing module 103, and the two original paths requiring functional safety protection are integrated into the third detection path Fusa1_p3.
[0069] Specifically, the ideal value fusa1_d3_g of the third detection path Fusa1_p3 is regenerated based on the starting point position data of that path, and when the data reaches the inspection position of Fusa1_p3, the actual inspection value fusa1_d3_a of that path is obtained and the two are compared. Similarly, the ideal value of Fusa1_p3 is only used for inspection 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, so that the method is consistent with Fusa1_p2.
[0070] In step A4, the errors 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 thing about functional safety detection is the prompt detection and reporting of errors. Therefore, the errors of each subsection must be collected and integrated into the final functional safety interrupt signal. In one embodiment of the present invention, the errors of the three detection paths Fusa1_p1, Fusa1_p2, and Fusa1_p3 are Fusa1_e1, Fusa1_e2, and Fusa1_e3, respectively. These errors must be collected and integrated and finally integrated into the overall system interrupt signal.
[0071] In step A5, the sectioning detection method is applied to other paths requiring functional safety protection according to the method and rules of steps A2 to A4, and if there are no functional safety protection circuits requiring division, the sectioning ends.
[0072] Therefore, the circuit single-point error coverage rate diagnosed by the above sectioning detection method is consistent with the coverage rate of the original functional safety detection path 1, while significantly reducing the difficulty of realization and improving suitability for realization.
[0073] 4 is a schematic diagram showing the circuit configuration of a sectioning detection method for a functional safety detection circuit according to another embodiment of the present invention. A specific embodiment of this embodiment of the present invention is shown in FIG. 4 to more clearly explain the concept of the present invention. In this embodiment, division is performed according to whether data can be changed as a division rule. The sectioning detection method for a functional safety detection circuit according to this embodiment specifically includes the following steps B1 to B5 (see FIG. 4).
[0074] In step B1, the circuit is analyzed to determine the paths that the original circuit requiring functional safety protection must cover. As shown in FIG. 4, the original functional safety protection-requiring detection path 2 is a data request path. 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. 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 conversion module 205, which performs interface protocol and clock domain crossing conversion before sending it to the bus. The original functional safety protection-requiring detection path 2 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 rule. Specifically, the functional safety sectioning detection method of the present invention divides the original detection path 2 that needs functional safety protection into three subpaths, and performs the division according to the data change rule, and divides the original functional safety detection path into three subpaths named Fusa2_p1, Fusa2_p2, and Fusa2_p3, respectively.
[0076] In step B3, the total number of sections corresponding to the original functional safety protection circuit path division is obtained, and the total number of sections is set to k, where k is a positive integer equal to or greater than 1. In the embodiment shown in FIG. 4, the value of k for the k subsections is 3. A functional safety detection mechanism is applied to each subsection to realize a corresponding detection circuit. Specifically, as shown in Figure 4, the start point of the first detection path Fusa2_p1 is located at the start point of the original functional safety detection path 2 in this embodiment 20, that is, the point where a request is generated in the data reading module 201 shown in the figure, and the detection point is located at the point where a content change of the request data bus occurs in the compression state management module 207. The ideal inspection value of 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 then obtains the ideal inspection value fusa2_d1_g corresponding to the request bus based on the bus data at that position. When the request bus reaches the request data size (size) change position in the compression state management module 207, the actual value is encoded to obtain the actual value fusa2_d1_a reaching the Fusa2_p1 detection position. After comparing the ideal value fusa2_d1_g and the actual value fusa2_d1_a, the purpose of protecting the first request bus is achieved.
[0077] Specifically, the starting point of the second detection path Fusa2_p2 is located at the point where the request data size changes in the compression state management module 206, and the detection point of Fusa2_p2 is located at the point where the request address changes in the storage address mapping module. In 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 changes the address on the request bus compared to the second detection path Fusa2_p2. In this embodiment 20, the third detection path adds other signals, including the request type and request bus width, to the address bus to request signal integration and protection. These parameters are packaged to form new protection data. Ideal test data is generated at the start of the third detection path, passes through the bus interface conversion module 205, and is compared at the top-level interface location in embodiment 20. Because the inside of the bus interface conversion module 205 is related to clock domain crossing paths, the test bits and the original request bus must arrive at the detection point along the same path.
[0079] In step B4, the errors of the above three paths 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 FIG. 4, the original detection path 3 requiring functional safety protection is a data return path, and the data undergoes clock domain crossing conversion via the bus interface conversion module 205 before reaching the data relocation / deinterleaving processing module 204. After bus data reconstruction, the compressed data is sent to the data decompression module 203, where it is decompressed and restored before being returned to the arbitration module 202 and then to the data reading module 201. The original detection path 3 requiring functional safety protection employs a cyclic redundancy check (CRC) scheme as a functional safety detection mechanism to protect the request 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 sub-paths, and the division is performed according to the module boundary rule and the data modification rule, and the original functional safety detection path is divided into three sub-paths, 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 the present invention, the original detection path 3 that requires functional safety protection is split from the data top-level input interface of the module 20 according to the module boundary rules, and a new starting point and inspection point are generated. As the inspection point, on the premise that the system requirements for the data source are met, the data at the corresponding position is encoded to obtain the actual value, and then compared with the ideal value of the data source to determine whether there is an error flip in the data that arrives at the corresponding IP. If the actual value matches the ideal value, it indicates there is no error. The first detection path Fusa3_p1 is used as the starting point, and encoding is performed again at the corresponding position. The encoding polynomial for the corresponding position can be redefined, and a comparison is performed at the detection point of Fusa3_p1. The first detection path Fusa3_p1 does not depend on the system requirements for the data source, and can be implemented entirely within the IP, providing functional protection for the IP interface and internal circuits.
[0083] Similarly, out-of-order processing, interleaving, and decompression are performed on data within module 20. If the order of the data return path of detection path 3, which originally required functional safety protection, is changed multiple times, it is difficult to achieve functional safety protection with a high coverage rate in a small area for this path. The sectioning detection method of the present invention solves this problem.
[0084] Specifically, as shown in Figure 4, the start point of the first detection path Fusa3_p1 is located at the start 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 inspection value of Fusa3_p1 is obtained at the start point of the original functional safety detection path 3 in the example. If there is an inspection bit in the data returned from the outside, the actual value needs to be calculated and compared with the ideal value at the start of the functional safety detection path 3 in this example. To eliminate random errors in the circuitry within the embodiment 20, an independent safety unit SEooC (Safety Elements out of Context) may be included. If the actual cyclic redundancy bits at the start of the functional safety detection path 3 match the ideal values, the data arriving at the module (20) is normal; if they do not match, an abnormal interruption of the data is reported. The ideal value of the first detection path Fusa3_p1 is calculated using the data at the corresponding position. Because there are multiple data reading modules 201 and data return sources within module 20, the check value at the corresponding position 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 externally returned data. When the data reaches the output position of the rearrangement / deinterleaving processing module 204, it is encoded using a cyclic redundancy check method, and the actual value is obtained and compared with the ideal value to record whether there is an error.
[0085] Specifically, as shown in FIG. 4, the start point of Fusa3_p2 is located at the start point of the data rearrangement / 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 redundant modules. Data from the data rearrangement / deinterleaving processing module 204 is input to the data decompression module 203 and its duplicated modules, respectively, for safety detection and protection. The specific functional safety protection mechanism for each path can adopt duplication or area-optimized functional protection means.
[0086] Similarly, in the third detection path Fusa3_p3, the data to be protected is decompressed to reach its final location of use, during which the data is protected using a cyclic redundancy check mechanism without being modified.
[0087] The errors of the k subsections are collected individually. The errors of each subsection must 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 of each detection path, and finally integrates them into an interrupt signal for the entire system.
[0088] 5 is a schematic diagram showing a circuit configuration of a sectioned detection method for a functional safety detection circuit according to another embodiment of the present application. A module 30 according to this embodiment includes an SoC system with multiple IPs, and the SoC system includes a display controller 301, a graphics processor 302, a central processing unit 303, a bus interconnection control module 304, and a memory 305 (see FIG. 5). In this embodiment, the multiple IP interconnection data paths include a path through which image data 1 generated by central processing unit 303 is transmitted to display controller 301, and a path through which image data 2 generated by graphics processor 302 is transmitted to display controller 301.
[0089] The data path that requires original functional safety protection of the display controller 301 must adopt a cyclic redundancy check method as a functional safety detection mechanism to protect the data bus. 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 a cyclic redundancy check anomaly value, and the cyclic redundancy polynomial used for the ideal value must be an exact match with the one used at the detection point.
[0091] 2. Assuming that the cyclic redundancy polynomials are consistent, the order of the data in which the ideal and actual values generate the check values must match.
[0092] 3. The data content must be completely consistent. The decompression path in this embodiment 30 depends on the compressed data source. If the data is not compressed using the same algorithm, this 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 data values are related to different IPs. The above requirement strengthens the dependency between IPs and significantly reduces the flexibility of functional safety detection.
[0093] The sectioning detection method of the present application requires the I / O interface of each IP core in the SoC system to be used as the starting point or inspection point for the functional safety partitioning path. When including the data path between the display controller 301 and memory, regardless of whether the data is transmitted from the central processing unit 303 or the graphics processor 302, the sectioning detection method of the present application uses the top-level input data interface of the display controller 301 as the starting point and inspection point for sectioning detection. As the inspection point, if the data source satisfies the above three system requirements, an inspection 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 data source, and re-encodes it to achieve an ideal inspection. Similarly, in this embodiment 30, other IP cores also implement the sectioning detection method of the present application to provide functional protection for the I / O interface data and the IP internal circuits, maximizing the end-to-end protection coverage rate and ensuring that the system meets functional safety requirements.
[0094] The above sectioning detection method, on the premise that the coverage rate is consistent with that of the original functional safety detection path, greatly reduces the implementation complexity, improves the conformance of functional safety detection, realizes end-to-end functional safety protection, reduces system-level requirements, and provides new ideas for those skilled in the art.
[0095] It should be understood that in various embodiments of the present application, the disclosed modules and methods can be implemented in other ways. For example, the division of modules / units described above is merely an example and merely a division of logical functions. In actual implementation, other division methods may be used, for example, multiple modules or units may be combined or integrated into other systems. Also, some features may be omitted or not implemented. Meanwhile, the coupling or direct coupling or communication connection between modules shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or modules or units, and may be in an electrical, mechanical, or other form.
[0096] Modules / units described as separate components may or may not be physically separated. Furthermore, components shown as modules / units may or may not be physical modules. That is, they may be located in a single location or distributed across multiple network units. Depending on actual requirements, some or all of the modules / units may be selected to achieve the objectives of the embodiments of the present application. For example, each functional module / unit in each embodiment of the present application may be integrated into a single processing module, each module / unit may exist physically alone, 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 algorithm steps of each example described in conjunction with the embodiments disclosed herein can be realized by electronic hardware, computer software, or a combination thereof. In order to clearly explain the interoperability of hardware and software, the above description generally describes the configurations and steps of each example based on their functions. Whether these functions are implemented in a hardware or software manner is determined by the specific application and design constraints of the technical solution. In a specific application, those skilled in the art may use different methods to realize the above functions, but such implementation should not be considered as departing from the scope of the present application.
[0098] The scope of protection of the sectioned detection method for a functional safety detection circuit based on the embodiments of this application is not limited to the execution order of the steps described in this embodiment, and all solutions implemented by adding, deleting, substituting, etc. steps in the prior art in accordance with the principles of this application are included in the scope of protection of this application.
[0099] 6 is a schematic diagram showing the structural connections of an 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 FIG. 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, and the communication interface 63 is used to communicate with other devices. The processor 61 executes the computer programs so that the electronic device 6 performs each step of the sectioning detection method for a functional safety detection circuit.
[0100] The processor 61 may be a general-purpose processor such as a central processing unit (CPU), a network processor (NP), or the like, or may be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
[0101] The memory 62 may include random access memory (RAM) and may also include at least one non-volatile memory such as a disk memory.
[0102] The above-mentioned system bus 64 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus 64 is classified into an address bus, a data bus, a control bus, etc. The communication interface is used to realize communication between the database access device and other devices (e.g., clients, read-write libraries, and read-only libraries).
[0103] The embodiments of the present application further provide a computer-readable storage medium. Those skilled in the art can understand that all or some of the steps of the method for implementing the above embodiments can be completed by instructing a processor via a program. The program can be stored in a computer-readable storage medium, which can be a non-transitory medium such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state disk, a magnetic tape, a floppy disk, an optical disk, or any combination thereof. The storage medium can be any available medium accessible by a computer, or a data storage device such as an integrated server or data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disk (DVD)), or a semiconductor medium (e.g., a solid-state disk (SSD)).
[0104] The functional safety detection circuit according to the present application performs detection by applying the above-described sectioned detection method of the functional safety detection circuit.
[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 through the bus control module 101 (see FIG. 3 again). The bus control module 101 implements the bus interface protocol and transmits location information to the register analysis module 102. The register analysis module 102 sends the analyzed internal registers to the data processing module 103 for processing by the data processing module 103. The final location of the register is the detection point location of the functional safety detection path 1 shown in the drawing. The original detection path requiring functional safety protection uses a parity check method as a functional safety detection mechanism to protect the configuration bus. At the detection point location of the functional safety path 1, the check bit data of the actual data is compared with the check bit data of the ideal data. If there is a mismatch, a functional safety error is reported for the detection path 1. In implementation, the ideal check value fusa1_d1_g of the functional safety detection path 1 in this embodiment is calculated based on the actual data obtained at the starting point location of the functional safety detection path 1, i.e., the top-level input interface location of the module 10. This ideal check value fusa1_d1_g must be transmitted, together with the original data timing, to the detection point location 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 check value fusa1_d1_a, which is then compared with the ideal check value fusa1_d1_g that has reached that location, and if the two do not match, an error is reported.
[0107] In another embodiment, the functional safety detection circuit includes a data reading module, an arbitration module, a data decompression module, a data rearrangement / deinterleaving processing module, a bus interface conversion module, a compression state management module, and a storage address mapping module.
[0108] The original functional safety protection-required detection path 2 is the data request path. Multiple data read modules 201 generate data read requests and send them to the arbitration module 202. The arbitration module 202 selects one of the requests and sends it to the compression state management module 206 (see Figure 4 again). The compression state management module 206 checks 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 conversion module 205, which performs interface protocol and clock domain crossing conversion before sending it to the bus. The original functional safety protection-required detection path 2 uses 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, in which the data undergoes clock domain crossing conversion via the bus interface conversion module 205, then reaches the data relocation / deinterleaving processing module 204, and after bus data reconstruction, the compressed data is sent to the data decompression module 203, and the data is decompressed and restored before being returned to the arbitration module 202 and then returned to the data reading module 201. The original detection path 3 requiring functional safety protection adopts a cyclic redundancy check scheme as a functional safety detection mechanism to protect the request bus.
[0110] In yet another embodiment, the functional safety detection circuit includes an SoC system in which a plurality of IPs are arranged, the SoC system including a display controller, a graphics processor, a central processing unit, a bus interconnect control module, and a memory.
[0111] The multiple IP interconnection data paths include a path through which image data 1 generated by central processing unit 303 is transmitted to display controller 301, and a path through which image data 2 generated by graphics processor 302 is transmitted to display controller 301. The data path that requires functional safety protection from display controller 301 must adopt a cyclic redundancy check scheme as a functional safety detection mechanism to protect the data bus (see Figure 5 again).
[0112] The sectioning detection method of the present application requires that the I / O interface of each IP core in the SoC system be used as the starting point or inspection point for the functional safety partitioning path. When including a data path between the display controller 301 and memory, regardless of whether the data is transmitted from the central processing unit 303 or the graphics processor 302, the above sectioning detection method uses the top-level input data interface of the display controller 301 as the starting point and inspection point for sectioning detection. As an inspection point, if the data source meets the system requirements, it is inspected. If it does 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 achieve an ideal inspection.
[0113] The above description of the flows or structures corresponding to each figure is as described, and for parts that are not described in detail in a particular flow or structure, reference may be made to descriptions related to other flows or structures.
[0114] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Those skilled in the art can supplement or modify the above embodiments without departing from the spirit and scope of the present application. Therefore, any equivalent supplements or modifications that those skilled in the art can accomplish without departing from the spirit and technical ideas disclosed in the present application are still within the scope of the claims of the present application. [Explanation of symbols]
[0115] 10 Top-level module in one embodiment for implementing a functional safety detection circuit using sectioned detection 101 Bus Control Module 102 Register Analysis Module 103 Data Processing Module 20 Top-level module in another embodiment for implementing a functional safety detection circuit by applying sectioned detection 201 Data reading module 202 Arbitration Module 203 Data Decompression Module 204 Data rearrangement / deinterleaving processing 205 Bus Interface Conversion Module 206 Compression State Management Module 207 Storage Address Mapping Module Fusa1 Original Functional Safety Detection Path 1 Fusa2 Original Functional Safety Detection Path 2 Fusa3 Original Functional Safety Detection Path 3 Fusa1_p1~p3 Sub-paths created by dividing the original functional safety detection path 1 using the sectioning detection method Fusa2_p1~p3 Sub-paths created by dividing the original functional safety detection path 2 using the sectioning detection method Fusa3_p1~p3 Sub-paths created by dividing the original functional safety detection path 3 using the sectioning detection method 30 Top-level module in yet another embodiment for implementing a functional safety detection circuit using sectioned detection 301 Display Controller 302 graphics processor 303 Central Processing Unit 304 Bus Interconnection Control Module 305 memory 6 Electronic equipment 61 processors 62 memory 63 Communication Interface 64 system bus S11~S14 steps S21~S25 steps
Claims
1. Analyzing the circuit architecture of the functional safety detection circuit and determining coverage paths of the circuit that require functional safety protection; Dividing the functional safety detection circuit into at least two subsections based on the coverage path; performing detection on the circuitry of each subsection using a predetermined detection mechanism; and determining a functional safety error of the functional safety detection circuit based on the detection result.
2. 2. The method for detecting functional safety circuits by sectioning, according to claim 1, wherein 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 and in accordance with one or more of a module boundary rule, a data change boundary rule, and a complexity reduction rule for realizing a functional safety circuit.
3. Dividing the functional safety detection circuit into at least two subsections according to a module boundary rule based on the coverage path; The sectioning detection method for a functional safety detection circuit according to claim 2, wherein the module boundary rules include each sub-module boundary within a module and a module group consisting of each module within a circuit that requires functional safety protection.
4. The module boundary rules are: For SRAM memory within a module, the submodule of that memory is used as the starting point and detection point of the functional safety partition path; For the top-level input interface and the top-level output interface of the IP circuit, the top-level input interface corresponds to the earliest receiving end of the IP circuit, and the receiving end is protected by the functional safety detection circuit and is used as the starting point of the functional safety protection circuit; A rule that a top-level output interface corresponds to an output transmission end of the IP circuit, and the transmission end is protected by a functional safety detection circuit and is used as an end point of the functional safety protection circuit; and a rule that, for a SoC system in which an IP is placed, an I / O interface of each IP core in the SoC system is used as a start point or an end point of a functional safety partition path.
5. Dividing the functional safety detection circuit into at least two subsections according to a data change boundary rule based on the coverage path; the data change boundary rule includes a change in data that requires functional safety protection and a change in inspection data that corresponds to the data that requires functional safety protection; Changes to data that require functional safety protection include changes to the content of data as it passes through the calculation path and increases or decreases in the number of data that require protection. The sectioning detection method for a functional safety detection circuit according to claim 2, wherein the change of the test data corresponding to the data requiring functional safety protection includes a change of the check polynomial and a change of the test algorithm.
6. The method for detecting functional safety circuits by sectioning the functional safety detection circuit is described in claim 2, characterized in that, based on the coverage path, the functional safety detection circuit is divided into at least two subsections according to a complexity reduction rule for realizing the functional safety circuit, and for the complexity rule, the complexity includes the difficulty of transmitting an ideal value from the starting point of the functional safety detection path and comparing it at the detection point of the functional safety detection path.
7. The step of analyzing the circuit architecture of the functional safety detection circuit and determining a coverage path of the circuit that requires functional safety protection includes analyzing the circuit architecture of the functional safety detection circuit and determining a coverage path of the circuit that requires functional safety protection based on a functional safety goal that the circuit needs to achieve; The sectioning detection method for a functional safety detection circuit according to claim 1, wherein the circuit requiring functional safety protection includes a control path and a data path.
8. The step of determining a functional safety error of the functional safety detection circuit based on the detection result includes: Collecting circuit detection results for each subsection respectively; The sectioned detection method for a functional safety detection circuit according to claim 1, further comprising determining a functional safety error of the functional safety detection circuit based on the circuit detection results of each subsection.
9. An electronic device, a processor and a memory; 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 perform the sectioning detection method for a functional safety detection circuit according to any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, A computer-readable storage medium, which, when executed by a processor, implements the sectioning detection method for a functional safety detection circuit according to any one of claims 1 to 8.
11. A functional safety detection circuit, characterized in that detection is performed by applying the sectioning detection method for a functional safety detection circuit according to any one of claims 1 to 8.
12. the functional safety detection circuit includes a bus control module, a register analysis module, and a data processing module; The original functional safety protection required configuration path is input to the bus control module; the bus control module is responsible for implementing a bus interface protocol and transmitting location 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; The functional safety detection circuit according to claim 11, wherein the final use position of the register of the functional safety detection circuit is the detection point position of the functional safety detection path.
13. The functional safety detection circuit includes a data reading module, an arbitration module, a data decompression module, a data rearrangement / deinterleaving processing module, a bus interface conversion module, a compression state management module, and a storage address mapping module; In a data request path, the data reading module generates and sends a data reading request to the arbitration module; the arbitration module selects one request from the 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; The storage address mapping module maps the original virtual request address to a physical storage address, and sends the mapped address and the read request to the bus interface conversion module to perform interface protocol and clock domain crossing conversion, and then sends it to the bus; In the data return path, the data passes through the bus interface conversion module to perform clock domain crossing conversion, then reaches the data rearrangement / deinterleaving processing module, and after bus data reconstruction, the compressed data is sent to the data decompression module, and the data is decompressed and restored, and then sent back to the arbitration module and back to the data reading module; The functional safety detection circuit according to claim 11, wherein the detection path that requires original functional safety protection adopts a cyclic redundancy check scheme as a functional safety detection mechanism to protect the request bus.
14. The functional safety detection circuit includes a SoC system in which a plurality of IPs are arranged, the SoC system including a display controller, a graphics processor, a central processing unit, a bus interconnect control module, and a memory; 12. The functional safety detection circuit of claim 11, wherein the plurality of 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