Apparatus and method for automotive safety integrity level (ASIL) implementations
Selective DCLS and TMR strategies optimize ASIL-D compliance in SoCs by targeting safety-critical modules and instances, addressing resource inefficiencies in conventional DCLS implementations.
Patent Information
- Application Number
- PCT/US2025/045450
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-23
- Filing Date
- 2025-09-09
- Publication Date
- 2026-11-26
AI Technical Summary
Conventional approaches for achieving Automotive Safety Integrity Level (ASIL)-D compliance in System-on-Chips (SoCs) face challenges such as high silicon area, power consumption, and design complexity due to full Dual-Core Lock-Step (DCLS) implementations, which are resource-intensive and impractical for large-scale or high-performance designs.
Implementing a selective module-based DCLS and instance-based Triple Modular Redundancy (TMR) strategies, combined with asynchronous input handling, to target safety-critical modules and instances, reducing redundancy and optimizing silicon area, power consumption, and design complexity.
Achieves ASIL-D compliance with significantly lower increases in silicon area, power consumption, and design complexity compared to full DCLS, maintaining high diagnostic coverage and fault tolerance.
Smart Images

Figure US2025045450_26112026_PF_FP_ABST
Abstract
Description
Qualcomm Ref. No.: 2505410WOAPPARATUS AND METHOD FOR AUTOMOTIVE SAFETY INTEGRITY LEVEL (ASIL) IMPLEMENTATIONSCROSS-REFERENCE TO RELATED APPLICATION(S)
[0001] This application claims the benefit of Indian Provisional Patent Application No. 202541049836, entitled “APPARATUS AND METHOD FOR AUTOMOTIVE SAFETY INTEGRITY LEVEL (ASIL) IMPLEMENTATIONS” and filed on May 23, 2025, which is expressly incorporated by reference herein in its entirety.TECHNICAL FIELD
[0002] Aspects of the present disclosure relate to System on Chips (SoCs) environments, and more specifically, but not exclusively, to automotive safety integrity level (ASIL) implementations.DESCRIPTION OF RELATED TECHNOLOGY
[0003] Technology companies have begun developing and implementing technologies that assist drivers in avoiding accidents and enabling an automobile to drive itself. So called "self-driving cars" include sophisticated sensor and processing systems that control the vehicle based on information collected from the car's sensors, processors, and other electronics, in combination with information (e.g., maps, traffic reports, etc.) received from external networks (e.g., the "Cloud"). As self-driving and driver-assisting technologies grow in popularity and use, so will the importance of protecting motor vehicles from malfunction.
[0004] Specifically, automobiles and trucks are becoming more intelligent as the industry moves towards deploying autonomous and semi-autonomous vehicles. Autonomous and semi-autonomous vehicles can detect information about their location and surroundings (for example, using radar, lidar, GPS, file odometers, accelerometers, cameras, and other sensors), and include control systems that interpret sensory information to identify hazards and determine navigation paths to follow. AutonomousAF: 030284.20874Qualcomm Ref. No.: 2505410WOand semi-autonomous vehicles include control systems to operate with limited or no control from an occupant or other operator of the automobile.
[0005] Due to these emerging trends, new and improved solutions that better identify, prevent and respond to various data classifications on modern vehicles, such as autonomous vehicles and self-driving cars, will be beneficial to consumers employing complex integrated circuits (ICs) or chips.
[0006] Accordingly, there is a need for systems, apparatus, and methods that overcome the deficiencies of conventional approaches including the methods, system and apparatus provided hereby.SUMMARY
[0007] The following presents a simplified summary of one or more aspects in order to provide a basic understanding of such aspects. This summary is not an extensive overview of all contemplated aspects, and is intended to neither identify key or critical elements of all aspects nor delineate the scope of any or all aspects. Its sole purpose is to present some concepts of one or more aspects in a simplified form as a prelude to the more detailed description that is presented later.
[0008] An example aspect includes a system for automotive safety integrity level (ASIL) functional safety in an integrated circuit. The system may include a dual-core lock-step (DCLS) component configured to apply a lock-step configuration to a subset of a plurality of functional modules each corresponding to a safety-critical module associated with a failure mode, an effect, and diagnostic analysis (FMEDA), the plurality of functional modules configured to perform an operation within the integrated circuit. The system may further include a triple modular redundancy (TMR) component configured to instantiate one or more instances when a full DCLS is not feasible, each of the one or more instances including multiple redundant sub-instances. The system may further include a synchronizer component configured to handle asynchronous inputs to the integrated circuit, the synchronizer component including primary and shadow clock domain crossing (CDC) synchronizer.
[0009] Another example aspect includes an integrated circuit for ASIL functional safety. The integrated circuit may include a plurality of functional modules, eachAF: 030284.20874Qualcomm Ref. No.: 2505410WOconfigured to perform a respective operation within the integrated circuit. The integrated circuit may further include a DCLS component associated with a subset of the plurality of functional modules each corresponding to a safety-critical module based at least on a FMEDA, wherein each safety-critical module includes a main instance and a shadow instance operating in lock-step, and a comparator that detects discrepancies between the main and shadow instances. The integrated circuit may further include a TMR component configured to instantiate one or more instances when a full DCLS is not feasible, each of the one or more instances including multiple redundant sub-instances. The integrated circuit may further include a synchronizer component including primary and shadow CDC synchronizers and a comparator configured to handle asynchronous inputs to the integrated circuit.
[0010] Another example aspect includes a method for automotive functional safety. The method may include applying a lock-step configuration to a subset of a plurality of functional modules each corresponding to a safety-critical module associated with a FMEDA, the plurality of functional modules configured to perform an operation within the integrated circuit. The method may further include instantiating one or more instances when a full DCLS is not feasible, each of the one or more instances including multiple redundant sub-instances. The method may further include synchronizing asynchronous inputs to the integrated circuit, the synchronizer component including primary and shadow CDC synchronizer.
[0011] To the accomplishment of the foregoing and related ends, the one or more aspects comprise the features hereinafter fully described and particularly pointed out in the claims. The following description and the annexed drawings set forth in detail certain illustrative features of the one or more aspects. These features are indicative, however, of but a few of the various ways in which the principles of various aspects may be employed, and this description is intended to include all such aspects and their equivalents.BRIEF DESCRIPTION OF DRAWINGS
[0012] The appended figures depict certain features of the various aspects described herein and are not to be considered limiting of the scope of this disclosure.AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0013] FIG. 1 depicts an example system-on-chip (SoC), in accordance with certain aspects of the present disclosure.
[0014] FIG. 2 depicts a conceptual diagram of an example module based selective DCLS implementation, in accordance with certain aspects of the present disclosure.
[0015] FIG. 3 depicts a conceptual diagram of an example instance based triple modular redundancy (TMR) implementation, in accordance with certain aspects of the present disclosure.
[0016] FIG. 4 depicts a conceptual diagram of an example asynchronous input implementation, in accordance with certain aspects of the present disclosure.
[0017] FIG. 5 depicts an example processing system configured to perform various aspects of the present disclosure.
[0018] FIG. 6 depicts a flow diagram of an example method for automotive safety integrity level (ASIL) functional safety according to various aspects of the present disclosure.DETAILED DESCRIPTION
[0019] Various aspects are now described with reference to the drawings. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of one or more aspects. It may be evident, however, that such aspect(s) may be practiced without these specific details.
[0020] The described features generally relate to automotive safety integrity level (ASIL) implementations. ASIL is a risk classification scheme defined by the International Organization for Standardization (ISO) 26262 - Functional Safety for Road Vehicles standard. This is an adaptation of the Safety Integrity Level used in International Electrotechnical Commission (IEC) 61508 for the automotive industry. This classification helps defines the safety requirements necessary to be in line with the ISO 26262 standard. ASIL is established by performing a risk analysis of a potential hazard by looking at the Severity, Exposure and Controllability of the vehicle operating scenario. The safety goal for that hazard in turn carries the ASIL requirements. There are four ASILs identified by the standard: ASIL-A, ASIL-B, ASIL-C, ASIL-D. ASIL-D dictates the highest integrity requirements on the product and ASIL A the lowest.AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0021] Automotive and industrial System-on-Chips (SoCs) are configured to meet stringent ISO26262 standards to achieve ASIL-D certification, which is the highest level of functional safety for automotive applications. The industry-standard approach to meeting these standards is the implementation of Dual-Core Lock-Step (DCLS) architectures. DCLS is favored by automakers and ASIL auditors because it provides reliable and predictable fault detection and protection against hardware faults.
[0022] For example, camera, radar, and LIDAR sensors may be located around a car to observe the environment. These sensors may all be combined via "sensor fusion" to produce the tactical aspects of self-driving, such as increase speed, lane change, break, etc. ASIL-D can be achieved with redundancy of multiple SoCs. The sensors may be fed to multiple SoCs in this model to achieve ASIL-D.
[0023] However, full DCLS implementation presents several significant challenges. Initially, full DCLS involves duplicating the entire intellectual property (IP) core, effectively doubling the silicon area and, consequently, manufacturing cost. Second, both dynamic and leakage power are doubled, which may be particularly problematic for applications with strict power budgets or extended standby requirements. Third, DCLS introduces additional complexity, especially in synchronizing the operation of the two cores, which is further complicated by the presence of multiple asynchronous inputs and legacy or reused IPs. Finally, high-performance applications may suffer from timing closure issues, especially at high clock speeds (e.g., 1 GHz+) and ultra-low voltage.
[0024] The present implementations set forth techniques for achieving ASIL-D functional safety in automotive SoCs, specifically addressing the limitations of full DCLS. Specifically, the present implementations provide a selective module-based DCLS. Instead of duplicating the entire IP core, a portion of the functionally safety-critical modules within the design may be implemented in DCLS. This targeted approach is informed by a detailed Failure Modes, Effects, and Diagnostic Analysis (FMEDA), which identifies which blocks are critical to functional safety.
[0025] Further, the present implementations provide an instance-based Triple Modular redundancy (TMR). In particular, for certain critical blocks where DCLS is not feasible, the invention applies TMR selectively at the instance level. This further enhances robustness without the need to triple the entire design. The presentAF: 030284.20874Qualcomm Ref. No.: 2505410WOimplementations further provide a separation and handling of asynchronous inputs. Specifically, the present implementations sets forth a method for isolating asynchronous components and applying selective DCLS, using primary and shadow Clock Domain Crossing (CDC) synchronizers to maintain functional safety. Additional implementations provide an optimized cost and power. In particular, the techniques described herein may achieve ASIL-D compliance with significantly lower increases in silicon area, instance count, and power consumption compared to full DCLS. For example, the optimized approach results in a 39% area increase versus 102% for full DCLS, and a 63% increase in leakage power versus 167% for full DCLS, relative to the raw IP core.
[0026] The aspects described herein provide an optimized approach for achieving ASIL-D functional safety in automotive and industrial SoC designs. By combining Selective DCLS with Selective TMR, in comparison to conventional approaches, the optimization may meet stringent safety standards without incurring the substantial costs typically associated with traditional DCLS implementation.
[0027] The techniques proposed herein for managing access to shared execution resources may be further understood with reference to FIG. 1 to FIG. 6.
[0028] FIG. 1 depicts an example SoC 100 with multiple processing cores (e.g., on which artificial intelligence workloads may be processed). An SoC 100 may correspond to an integrated circuit architecture that consolidates multiple electronic components and subsystems into a single semiconductor chip.
[0029] The multiple processing cores may include a first processing core 102, a second processing core 104, a third processing core 106, and a fourth processing core 108. The first processing core 102, the second processing core 104, the third processing core 106, and the fourth processing core 108 may include at least efficiency cores and performance cores.
[0030] The SoC 100 may further include a graphics processing unit (GPU) and a neural processing unit (NPU), amongst other processing units and components on which various compute workloads may be processed (e.g., tensor processing units, applicationspecific integrated circuits (ASICs), digital signal processors (DSPs), and the like).AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0031] The efficiency cores and the performance cores may be processing units implementing a same processing architecture (e.g., processing units implementing advanced reduced instruction set computer (RISC) machines (ARM) or RISC-V architectures). The efficiency cores may have a lower performance (e.g., as measured by a number of operations per second that the efficiency cores can perform) than the performance cores, but may use less power than the performance cores in executing a workload.
[0032] The GPU may be a processing unit which is configured to perform large mathematical operations (e.g., matrix, vector, tensor, etc. operations) in parallel.
[0033] The NPU is a circuit configured for implementing control and arithmetic logic for executing machine learning algorithms, such as algorithms for processing artificial neural networks (ANNs), deep neural networks (DNNs), radio frequencies (RFs), and the like. The NPU may be referred to as a neural signal processor (NSP), a tensor processing unit (TPU), a neural network processor (NNP), an intelligence processing unit (IPU), a vision processing unit (VPU), or a graph processing unit.
[0034] The NPU may be configured to accelerate performance of common machine learning tasks, such as image classification, machine translation, object detection, and various other predictive artificial intelligence models. In some examples, a plurality of NPUs may be instantiated on a single chip while in other examples such NPUs may be part of a dedicated neural -network accelerator.
[0035] The NPU may be optimized for training or inference, or in some cases configured to balance performance between both. For the NPU that is capable of performing both training and inference, two tasks may still be performed independently.
[0036] The NPU designed to accelerate training may be configured to accelerate an optimization of new artificial intelligence models, which is a highly compute-intensive operation that involves inputting an existing dataset (often labeled or tagged), iterating over a dataset, and then adjusting artificial intelligence model parameters, such as weights and biases, in order to improve artificial intelligence model performance. Generally, optimizing based on a wrong prediction involves propagating back through layers of an artificial intelligence model and determining gradients to reduce a prediction error.AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0037] The NPU designed to accelerate inference may be configured to operate on complete artificial intelligence models. The NPU may thus be configured to input a new piece of data and rapidly process this new piece through an already trained artificial intelligence model to generate an artificial intelligence model output (e.g., an inference).
[0038] Each of the processing units on the SoC 100 (e.g., the efficiency cores, the performance cores, the GPU, the NPU, and / or other processing units) may have different performance characteristics. The performance characteristics may include a power slope, a leakage power, a dynamic clock and voltage scaling points (e.g., points at which processing core clock speed and voltage draw scales upward or downward), instructions-per-clock cycle (IPC) performance levels, and the like.
[0039] The workloads executing on the SoC 100 may be defined by various characteristics which may influence how these workloads, or portions thereof, are scheduled for execution on various processing units of the SoC 100. For example, the workloads may be characterized by a number of stages (e.g., layers) in an artificial intelligence model executing on the SoC 100, a length of an input into the artificial intelligence model, data types associated with each stage or layer of the artificial intelligence model. Further features relating to an SoC 500 and its associated subcomponents are further described herein with respect to FIG. 5.
[0040] FIG. 2 depicts a conceptual diagram of example module based selective DCLS implementations 200. A first implementation 210 corresponds to a full core DCLS technique. A second implementation 220 corresponds to an enhanced Failure Modes, Effects, and Diagnostic Analysis (eFMEDA) based functional safety module selection technique. A third implementation 230 corresponds to a module based selective DCLS technique.
[0041] DCLS corresponds to a safety mechanism in automotive and industrial IC designs aiming for ASIL-D compliance. In the first implementation 210, the entire functional block or IP core may be fully duplicated, and the outputs of the two cores may be continuously compared to detect any discrepancies arising from transient or permanent faults. While highly reliable, this approach may be resource-intensive, as the first implementation 210 may utilize twice the silicon area, significantly more power, and additional logic to manage synchronization and comparison. The first implementationAF: 030284.20874Qualcomm Ref. No.: 2505410WO210 may become impractical for large-scale or high-performance designs with tight cost and power budgets.
[0042] Specifically, the first implementation 210, which may correspond to a full DCLS implementation, may represent a monolithic duplication of the entire IP core. The first implementation 210 may include primary IP core (Main) corresponding to the base logic that performs the functional operations of the system, such as computation, signal processing, or control. The first implementation 210 may further include a duplicated IP core (Shadow) including an identical instance of the entire primary IP core, placed in lock-step execution with the original. The first implementation 210 may further include comparator logic corresponding to a hardware comparator that monitors the outputs of the two cores on a cycle-by-cycle basis. Any mismatch may signal a fault condition and triggers a safety response.
[0043] The first implementation 210 may further include synchronization mechanisms including clock domain synchronizers, data alignment units, and control path synchronizers which may be implemented to ensure both cores operate deterministically and produce comparable results. The first implementation 210 may further include a safety monitor / fault handler that upon detection of any output mismatch, may raise fault flags, initiates diagnostic routines, or enters fail-safe mode as per the system safety plan. The first implementation 210 may ensure high diagnostic coverage but is extremely inefficient, as it treats all modules, i.e., critical and non-critical, with equal safety priority, leading to redundant protection of low-risk logic.
[0044] The second implementation 220 corresponds to an eFMEDA technique and provides the analytical foundation for determining which blocks inside the IP core may be protected by redundant safety logic. The process may begin by decomposing the IP into well-defined functional modules and then subjecting each module, one by one, to a detailed failure-mode study. For every module, the methodology enumerates potential permanent and transient faults, assesses the effect of each fault on overall system behavior, and records any existing self-test or parity mechanisms already present in the design. From this information, a diagnostic-coverage (DC) figure may be determined and assigned an ASIL contribution that reflects the severity, exposure and controllability of the fault in the intended vehicle use case.AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0045] Once the DC and ASIL contribution are known, the second implementation 220 may automatically classify every module into one of three categories. High-criticality modules, whose faults could lead directly to hazardous events, may be flagged for full duplication under DCLS or, where lock-step is impractical, for TMR. Mediumcriticality modules, which already possess partial diagnostics, may be assigned lighterweight safeguards such as parity bits, error-correcting codes or watchdog timers. Low-criticality modules such as those whose faults cannot compromise functional safety are left unreplicated. The classification list is exported as a machine-readable map that drives synthesis scripts, ensuring that only the flagged blocks are physically duplicated and connected to the comparator network.
[0046] Because the selection is data-driven rather than blanket, the resulting safety architecture preserves ASIL-D diagnostic coverage while avoiding the area, power and timing penalties associated with duplicating the entire core. In practice, the second implementation 220 guided map feeds directly into the third implementation 230, which may instantiate a second copy only for the marked blocks, the net-list generator inserts comparators on those block outputs, and the safety monitor observes a far smaller set of signals, simplifying verification and reducing fault-injection effort. By tightly coupling formal safety analysis with automated implementation, the technique transforms functional-safety design from a coarse, one-size-fits-all exercise into a fine-grained, resource-efficient optimization that scales gracefully to multi-million-gate automotive and industrial SoCs.
[0047] In accordance with the disclosed aspects, the techniques provide functional safety in IC designs targeting ASIL-D compliance, specifically through the selective application of DCLS at the module level rather than across the entire IP core. This technique may maintain high levels of diagnostic coverage and fault tolerance while significantly reducing design overhead.
[0048] DCLS may be employed as a robust safety mechanism where the entire functional logic of an IP block is duplicated and run in lock-step, enabling immediate fault detection through comparator circuitry. While effective, this method imposes severe penalties in terms of silicon area (e.g., approximately double), dynamic and leakage power, and design complexity. Such overhead may be particularly undesirable inAF: 030284.20874Qualcomm Ref. No.: 2505410WOautomotive and industrial systems, where cost, power efficiency, and time-to-market are critical constraints.
[0049] To address these limitations, the third implementation 230 sets forth a selective DCLS at the module level. The systems and methods begin with a comprehensive FMEDA to identify the safety-critical portions of the IP. Rather than replicating the entire design, only the specific sub-modules or logic blocks determined to be critical to functional safety are duplicated and run in DCLS mode. Non-critical blocks may remain in their original, unreplicated form.
[0050] The third implementation 230, which corresponds to a module-based DCLS architecture, may enable substantial reductions in silicon area since only selected portions of the design are duplicated, power consumption in both dynamic and leakage due to reduced redundancy, system and software complexity as fewer synchronization and comparison elements are required, as well as time-to-market as the design and verification burden is significantly reduced compared to full DCLS implementations.
[0051] The third implementation 230 includes a targeted, efficient safety mechanism. Rather than duplicating the entire IP core, only identified safety-critical sub-modules are duplicated and protected via DCLS. The third implementation 230 may include non-critical logic modules corresponding to functional units within the IP core that do not directly contribute to safety-critical operations, as determined through FMEDA. These blocks may be left unreplicated, conserving area and power. The third implementation 230 may further include safety-critical modules corresponding to functional blocks identified as critical through safety analysis (e.g., motor control logic, brake command units, signal path integrity blocks). These may be selectively duplicated for lock-step operation.
[0052] The third implementation 230 may further include a partial DCLS comparator, which may be a tailored comparator unit monitoring only the outputs of the duplicated safety-critical modules, reducing comparator complexity and latency. The third implementation 230 may further include integration interface logic that corresponds to logic that merges outputs from the non-critical and DCLS-protected blocks into the unified IP output space. This includes muxing, arbitration, or validation logic to ensure data consistency.AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0053] The third implementation 230 may further include selective synchronization logic, which may be configured to deterministically operate and synchronize the safety-critical modules require. Thus, clock domain crossing (CDC) and timing alignment logic may be only applied to these specific paths, reducing the overall timing and design complexity. The third implementation 230 may further include a safety monitor / fault handler (e.g., shared or centralized), which may be configured to collect error signals from the selective comparator and initiates fault management routines. However, the volume of data to monitor may be significantly reduced. The third implementation 230 may yield a highly optimized functional safety implementation, and targets protection only where necessary, avoiding duplication of low-risk logic and thus maintaining compliance with ASIL-D standards without incurring full duplication costs.
[0054] FIG. 3 depicts a conceptual diagram of example instance based TMR implementations 300. A first implementation 310 corresponds to a pre-TMR technique while a second implementation 320 corresponds to a post-TMR technique.
[0055] The instance based TMR implementations 300 set forth a complementary safety technique, which may be applied selectively within a digital design to enhance fault tolerance and meet ASIL-D safety standards. Some TMR such as the first implementation 310 may involve replicating an entire logic block three times and feeding their outputs into a majority voter circuit. While this approach provides excellent fault masking and diagnostic capabilities, the approach also imposes substantial penalties in silicon area, power consumption, and design complexity, making the approach impractical for large-scale or resource-constrained systems.
[0056] To address these limitations, the second implementation 320 may provide a selective, instance-based implementation of TMR, whereby only specific logic instances — those that are identified as safety-critical and not amenable to DCLS — are triplicated. These instances are usually small, self-contained logic units within a larger module that, due to design constraints, cannot be efficiently covered by traditional DCLS mechanisms. Such constraints may include the presence of asynchronous interfaces, third-party or legacy IP cores, or modules that are highly optimized and difficult to duplicate without affecting timing closure.AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0057] In the first implementation 310, TMR may be applied at the module or system level, resulting in the full triplication of large blocks and an explosion in area and power cost. In contrast, the second implementation 320 may set forth the instance-level granularity of the present implementations, where only selected critical instances are triplicated, and the majority voting logic is inserted specifically at their outputs. This targeted application of TMR achieves the same functional safety goals as full TMR but with significantly reduced overhead.
[0058] By integrating this instance-based TMR method alongside the previously described selective DCLS strategy, the overall implementation achieves robust ASIL-D compliance without incurring the cost of duplicating or triplicating the entire design. The flexibility to choose the most appropriate redundancy scheme based on the characteristics of each logic block enables a highly efficient, scalable, and cost-effective functional safety architecture. This technique may be particularly beneficial for complex SoC designs in automotive and industrial environments, where both safety and resource optimization are critical.
[0059] FIG. 4 depicts a conceptual diagram of example asynchronous input implementations 400. A first implementation 410 of an asynchronous input technique includes a primary and shadow instance having multiple CDC synchronizers contained within each. A second implementation 420 of an asynchronous input technique includes CDC synchronizers separate from the primary and shadow instances. The primary and shadow instances in both implementations may feed into a comparator.
[0060] The first and second implementations 410 and 420, respectively, address one of the most challenging aspects of achieving ASIL-D functional safety in complex SoC designs, and that is the integration and handling of asynchronous inputs. In many real-world systems, particularly those involving legacy, reused, or third-party IP, asynchronous signals are inevitable. These inputs may not align with the system clock domain and can arrive at unpredictable times, posing a significant challenge to deterministic safety mechanisms such as DCLS. If not handled correctly, asynchronous inputs can lead to data inconsistencies between duplicated logic, causing false alarms, and / or undetected errors.AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0061] In the first implementation 410, such asynchronous inputs were either left unprotected or forced into the DCLS scheme, often resulting in functional mismatches and reliability issues. Applying DCLS to blocks with uncontrolled asynchronous inputs typically leads to spurious comparator mismatches, since even minor timing skew can cause divergent behavior in the lock-step cores. Moreover, integrating complex synchronizers throughout the design may introduce significant latency, increases verification complexity, and does not guarantee full fault coverage.
[0062] The second implementation 420 provides a robust and efficient solution by decoupling the asynchronous interfaces from the DCLS-protected logic. In this technique, asynchronous inputs are first isolated and conditioned using dedicated synchronization circuitry, such as metastability-hardened synchronizers or handshakebased FIFO buffers. These component may be carefully designed to ensure signal integrity and timing stability before data is forwarded to the safety-critical modules. Once the asynchronous inputs have been safely synchronized into the system clock domain, the design can then selectively apply DCLS to the downstream logic where deterministic behavior is now guaranteed.
[0063] The second implementation 420 not only eliminates false error detections caused by asynchronous glitches, but also enables the DCLS mechanism to function correctly and predictably in systems that require mixed-clock domain integration. Additionally, by isolating asynchronous interfaces, the design minimizes unnecessary duplication of non-critical or externally driven logic, thereby improving area and power efficiency.
[0064] Overall, the asynchronous input implementations 400 may enable ASIL-D compliant techniques that include complex, real-world input environments. The present implementations extend the applicability of selective DCLS to a broader set of use cases by mitigating the inherent risk of asynchronous signal behavior. This refinement makes the proposed safety architecture both technically sound and commercially viable, especially in designs that must integrate heterogeneous IP blocks without sacrificing safety compliance or design efficiency.
[0065] FIG. 5 depicts an example processing system 500 configured to perform various aspects of the present disclosure, including, for example, the techniques andAF: 030284.20874Qualcomm Ref. No.: 2505410WOmethods described with respect to FIGs. 2-4 and 6. In some aspects, the techniques and methods described with reference to FIGs. 2-4 and 6 may be implemented on one or more devices or systems. In some aspects, the processing system 500 may include or otherwise correspond to the SoC 100 discussed above with reference to FIG. 1. Although depicted as a single system for conceptual clarity, in some aspects, as discussed above, the operations described below with respect to the processing system 500 may be distributed across any number of devices or systems.
[0066] The processing system 500 includes a central processing unit (CPU) 502 (e.g., corresponding to one of the processing cores of FIG. 1). Instructions executed at the CPU 502 may be loaded, for example, from a cache memory associated with the CPU 502.
[0067] The processing system 500 also includes additional processing components tailored to specific functions, such as a graphics processing unit (GPU) 504, a digital signal processor (DSP) 506, a neural processing unit (NPU) 508, a multimedia component 510 (e.g., a multimedia processing unit), and a wireless connectivity component 512.
[0068] An NPU, such as NPU 508, is generally a specialized circuit configured for implementing the control and arithmetic logic for executing machine learning algorithms, such as algorithms for processing artificial neural networks (ANNs), deep neural networks (DNNs), random forests (RFs), and the like. An NPU may sometimes alternatively be referred to as a neural signal processor (NSP), tensor processing unit (TPU), neural network processor (NNP), intelligence processing unit (IPU), vision processing unit (VPU), or graph processing unit.
[0069] NPUs, such as the NPU 508, are configured to accelerate the performance of common machine learning tasks, such as image classification, machine translation, object detection, and various other predictive models. In some examples, a plurality of NPUs may be instantiated on a single chip, such as a SoC, while in other examples the NPUs may be part of a dedicated neural-network accelerator.
[0070] NPUs may be optimized for training or inference, or in some cases configured to balance performance between both. For NPUs that are capable of performing both training and inference, the two tasks may still generally be performed independently.AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0071] NPUs designed to accelerate training are generally configured to accelerate the optimization of new models, which is a highly compute-intensive operation that involves inputting an existing dataset (often labeled or tagged), iterating over the dataset, and then adjusting model parameters, such as weights and biases, in order to improve model performance. Generally, optimizing based on a wrong prediction involves propagating back through the layers of the model and determining gradients to reduce the prediction error.
[0072] NPUs designed to accelerate inference are generally configured to operate on complete models. Such NPUs may thus be configured to input a new piece of data and rapidly process this piece of data through an already trained model to generate a model output (e.g., an inference).
[0073] In some implementations, the NPU 508 is a part of one or more of the CPU 502, the GPU 504, and / or the DSP 506.
[0074] In some examples, the wireless connectivity component 512 may include subcomponents, for example, for third generation (3G) connectivity, fourth generation (4G) connectivity (e.g., 4G Long-Term Evolution (LTE)), fifth generation connectivity (e.g., 5G or New Radio (NR)), Wi-Fi connectivity, Bluetooth connectivity, and / or other wireless data transmission standards. The wireless connectivity component 512 is further coupled to one or more antennas 514.
[0075] The processing system 500 may also include one or more sensor processing units 516 associated with any manner of sensor, one or more image signal processors (ISPs) 518 associated with any manner of image sensor, and / or a navigation processor 520, which may include satellite-based positioning system components (e.g., GPS or GLONASS), as well as inertial positioning system components.
[0076] The processing system 500 may also include one or more input and / or output devices 522, such as screens, touch-sensitive surfaces (including touch- sensitive displays), physical buttons, speakers, microphones, and the like.
[0077] In some examples, one or more of the processors of the processing system 600 may be based on an ARM or RISC-V instruction set.AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0078] The processing system 500 also includes the memory 524, which is representative of one or more static and / or dynamic memories, such as a dynamic random access memory, a flash-based static memory, and the like. In this example, the memory 524 includes computer-executable components, which may be executed by one or more of the aforementioned processors of the processing system 500.
[0079] Generally, the processing system 500 and / or components thereof may be configured to perform the methods described herein.
[0080] Notably, in other aspects, elements of the processing system 500 may be omitted, such as where the processing system 500 is a server computer or the like. For example, the multimedia component 510, the wireless connectivity component 512, the sensor processing units 516, the ISPs 518, and / or the navigation processor 520 may be omitted in other aspects. Further, aspects of the processing system 500 may be distributed between multiple devices.
[0081] FIG. 6 illustrates a flow chart of an example of a method 600 for ASIL functional safety. In an example, a SoC 100 and / or processing system 500 can perform the functions described in method 600 using one or more of the components and techniques described in FIGS. 1-5, such as via execution of one or more processors, individually or in combination.
[0082] At block 602, the method 600 may apply a lock-step configuration to a subset of a plurality of functional modules each corresponding to a safety -critical module associated with a FMEDA, the plurality of functional modules configured to perform an operation within the integrated circuit. In an aspect, the SoC 100 and / or the processing system 500, e.g., in conjunction with any subcomponents, may be configured to apply a lock-step configuration to a subset of a plurality of functional modules each corresponding to a safety-critical module associated with a FMEDA, the plurality of functional modules configured to perform an operation within the integrated circuit. Thus, the SoC 100, the processing system 500, or one of its subcomponents may define the means for applying a lock-step configuration to a subset of a plurality of functional modules each corresponding to a safety-critical module associated with a FMEDA, the plurality of functional modules configured to perform an operation within the integrated circuit.AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0083] In some implementations, the DCLS may further perform FMEDA on an IP core to identify at least one of the plurality of functional modules that are safety-critical and associated with DCLS processing.
[0084] In some implementations, the DCLS may further duplicate and operate one or more safety-critical modules in lock-step, while one or more non-critical modules are not duplicated.
[0085] In some implementations, the comparator in the DCLS may generate an error signal upon detecting a mismatch between the main and shadow instances.
[0086] At block 604, the method 600 may instantiate one or more instances when a full DCLS is not feasible, each of the one or more instances including multiple redundant sub-instances. In an aspect, the SoC 100 and / or the processing system 500, e.g., in conjunction with any subcomponents, may be configured to instantiate one or more instances when a full DCLS is not feasible, each of the one or more instances including multiple redundant sub-instances. Thus, the SoC 100, the processing system 500, or one of its subcomponents may define the means for instantiating one or more instances when a full DCLS is not feasible, each of the one or more instances including multiple redundant sub-instances.
[0087] In some implementations, the TMR may further apply to the plurality of functional modules for which DCLS is identified as not feasible, and includes multiple parallel instances of each of the plurality of functional modules.
[0088] In some implementations, the TMR may further determine an output value based on a comparison of outputs of multiple redundant sub-instances, such that the output correspond to a value agreed upon by at least two of the multiple redundant subinstances.
[0089] At block 602, the method 600 may synchronize asynchronous inputs to the integrated circuit, the synchronizer component including primary and CDC synchronizer. In an aspect, the SoC 100 and / or the processing system 500, e.g., in conjunction with any subcomponents, may be configured to synchronize asynchronous inputs to the integrated circuit, the synchronizer component including primary and CDC synchronizer. Thus, the SoC 100, the processing system 500, or one of its subcomponents may define the meansAF: 030284.20874Qualcomm Ref. No.: 2505410WOfor synchronizing asynchronous inputs to the integrated circuit, the synchronizer component including primary and CDC synchronizer.
[0090] In some implementations, the synchronizer may further separate asynchronous input components from synchronous components, and applies selective DCLS to the synchronous components.
[0091] In some implementations, the system corresponds to a SoC having multiple power domains. In some implementations, the main instance and the shadow instance both receive identical inputs.
[0092] In some implementations, the DCLS component, the TMR component, and the synchronizer component may be configured to obtain a timing closure at clock frequencies of 1 GHz or higher at ultra-low voltage corners.
[0093] In some implementations, the system may further include a comparator that detects discrepancies between the main and shadow instances, and. each safety-critical module includes a main instance and a shadow instance operating in lock-step.
[0094] Note that FIG. 6 is just one example of a method, and other methods including fewer, additional, or alternative steps are possible consistent with this disclosure.
[0095] Implementation examples are described in the following numbered clauses:
[0096] Clause 1: A system for automotive safety integrity level (ASIL) functional safety in an integrated circuit, the system comprising: a dual-core lock-step (DCLS) component configured to apply a lock-step configuration to a subset of a plurality of functional modules each corresponding to a safety-critical module associated with a failure mode, an effect, and diagnostic analysis (FMEDA), the plurality of functional modules configured to perform an operation within the integrated circuit; a triple modular redundancy (TMR) component configured to instantiate one or more instances when a full DCLS is not feasible, each of the one or more instances including multiple redundant sub-instances; and a synchronizer component configured to handle asynchronous inputs to the integrated circuit, the synchronizer component including primary and shadow clock domain crossing (CDC) synchronizer.
[0097] Clause 2: The system of clause 1, wherein the DCLS component is further configured to perform FMEDA on an intellectual property (IP) core to identify at leastAF: 030284.20874Qualcomm Ref. No.: 2505410WOone of the plurality of functional modules that are safety-critical and associated with DCLS processing.
[0098] Clause 3 : The system of any of clauses 1 and 2, wherein the DCLS component is further configured to duplicate and operate one or more safety-critical modules in lockstep, while one or more non-critical modules are not duplicated.
[0099] Clause 4: The system of any of clauses 1 to 3, wherein the TMR component is further configured to apply to the plurality of functional modules for which DCLS is identified as not feasible, and includes multiple parallel instances of each of the plurality of functional modules.
[0100] Clause 5: The system of any of clauses 1 to 4, wherein the synchronizer component is further configured to separate asynchronous input components from synchronous components, and applies selective DCLS to the synchronous components.
[0101] Clause 6: The system of any of clauses 1 to 5, wherein the comparator in the DCLS component is configured to generate an error signal upon detecting a mismatch between the main and shadow instances.
[0102] Clause 7: The system of any of clauses 1 to 6, wherein the TMR component is further configured to determine an output value based on a comparison of outputs of multiple redundant sub-instances, such that the output correspond to a value agreed upon by at least two of the multiple redundant sub-instances.
[0103] Clause 8: The system of any of clauses 1 to 7, wherein the system corresponds to a system-on-chip (SoC) having multiple power domains.
[0104] Clause 9: The system of any of clauses 1 to 8, wherein the main instance and the shadow instance both receive identical inputs.
[0105] Clause 10: The system of any of clauses 1 to 9, wherein the DCLS component, the TMR component, and the synchronizer component are configured to obtain a timing closure at clock frequencies of 1 GHz or higher at ultra-low voltage corners.
[0106] Clause 11: The system of any of clauses 1 to 10, wherein the system further includes a comparator that detects discrepancies between the main and shadow instances.AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0107] Clause 12: The system of any of clauses 1 to 12, wherein each safety-critical module includes a main instance and a shadow instance operating in lock-step.
[0108] Clause 13: An integrated circuit for automotive safety integrity level (ASIL) functional safety, the integrated circuit comprising: a plurality of functional modules, each configured to perform a respective operation within the integrated circuit; a dualcore lock-step (DCLS) component associated with a subset of the plurality of functional modules each corresponding to a safety-critical module based at least on a failure mode, an effect, and diagnostic analysis (FMEDA), wherein each safety-critical module includes a main instance and a shadow instance operating in lock-step, and a comparator that detects discrepancies between the main and shadow instances; a triple modular redundancy (TMR) component configured to instantiate one or more instances when a full DCLS is not feasible, each of the one or more instances including multiple redundant sub-instances; and a synchronizer component including primary and shadow clock domain crossing (CDC) synchronizers and a comparator configured to handle asynchronous inputs to the integrated circuit.
[0109] Clause 14: The integrated circuit of clause 13, wherein the integrated circuit is further configured to perform techniques in accordance with any one of Clauses 1-12.
[0110] Clause 15: A method for automotive functional safety, comprising: applying a lock-step configuration to a subset of a plurality of functional modules each corresponding to a safety-critical module associated with a failure mode, an effect, and diagnostic analysis (FMEDA), the plurality of functional modules configured to perform an operation within the integrated circuit; instantiating one or more instances when a full DCLS is not feasible, each of the one or more instances including multiple redundant subinstances; and synchronizing asynchronous inputs to the integrated circuit, the synchronizer component including primary and shadow clock domain crossing (CDC) synchronizer.[OHl] Clause 16: The method of clause 15, further comprising performing techniques in accordance with any one of clauses 1 to 12.
[0112] Clause 17: An apparatus, comprising means for performing a method in accordance with any one of clauses 1 to 12.AF: 030284.20874Qualcomm Ref. No.: 2505410WO
[0113] Clause 18: A non-transitory computer-readable medium comprising executable instructions that, when executed by one or more processors of an apparatus, cause the apparatus to perform a method in accordance with any one of clauses 1 to 12.
[0114] Clause 19: A computer program product embodied on a computer-readable storage medium comprising code for performing a method in accordance with any one of clauses 1 to 12.
[0115] The preceding description is provided to enable any person skilled in the art to practice the various aspects described herein. The examples discussed herein are not limiting of the scope, applicability, or aspects set forth in the claims. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects. For example, changes may be made in the function and arrangement of elements discussed without departing from the scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. For instance, the methods described may be performed in an order different from that described, and various actions may be added, omitted, or combined. Also, features described with respect to some examples may be combined in some other examples. For example, an apparatus may be implemented or a method may be practiced using any number of the aspects set forth herein. In addition, the scope of the disclosure is intended to cover such an apparatus or method that is practiced using other structure, functionality, or structure and functionality in addition to, or other than, the various aspects of the disclosure set forth herein. It should be understood that any aspect of the disclosure disclosed herein may be embodied by one or more elements of a claim.
[0116] The various illustrative logical blocks, modules and circuits described in connection with the present disclosure may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an ASIC, a field programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any commercially available processor, controller, microcontroller, or state machine. A processor may also be implemented as a combinationAF: 030284.20874Qualcomm Ref. No.: 2505410WOof computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, a system on a chip (SoC), or any other such configuration.
[0117] As used herein, “a processor,” “at least one processor” or “one or more processors” generally refers to a single processor configured to perform one or multiple operations or multiple processors configured to collectively perform one or more operations. In the case of multiple processors, performance the one or more operations could be divided amongst different processors, though one processor may perform multiple operations, and multiple processors could collectively perform a single operation. Similarly, “a memory,” “at least one memory” or “one or more memories” generally refers to a single memory configured to store data and / or instructions, multiple memories configured to collectively store data and / or instructions.
[0118] As used herein, a phrase referring to “at least one of’ a list of items refers to any combination of those items, including single members. As an example, “at least one of: a, b, or c” is intended to cover a, b, c, a-b, a-c, b-c, and a-b-c, as well as any combination with multiples of the same element (e.g., a-a, a-a-a, a-a-b, a-a-c, a-b-b, a-c-c, b-b, b-b-b, b-b-c, c-c, and c-c-c or any other ordering of a, b, and c).
[0119] As used herein, the term “determining” encompasses a wide variety of actions. For example, “determining” may include calculating, computing, processing, deriving, investigating, looking up (e.g., looking up in a table, a database or another data structure), ascertaining and the like. Also, “determining” may include receiving (e.g., receiving information), accessing (e.g., accessing data in a memory) and the like. Also, “determining” may include resolving, selecting, choosing, establishing and the like.
[0120] The methods disclosed herein comprise one or more actions for achieving the methods. The method actions may be interchanged with one another without departing from the scope of the claims. In other words, unless a specific order of actions is specified, the order and / or use of specific actions may be modified without departing from the scope of the claims. Further, the various operations of methods described above may be performed by any suitable means capable of performing the corresponding functions. The means may include various hardware and / or software component(s) and / or module(s),AF: 030284.20874Qualcomm Ref. No.: 2505410WOincluding, but not limited to a circuit, an application specific integrated circuit (ASIC), or processor.
[0121] The following claims are not intended to be limited to the aspects shown herein, but are to be accorded the full scope consistent with the language of the claims. Within a claim, reference to an element in the singular is not intended to mean “one and only one” unless specifically so stated, but rather “one or more.” Unless specifically stated otherwise, the term “some” refers to one or more. No claim element is to be construed under the provisions of 35 U.S.C. §112(f) unless the element is expressly recited using the phrase “means for”. All structural and functional equivalents to the elements of the various aspects described throughout this disclosure that are known or later come to be known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed by the claims. Moreover, nothing disclosed herein is intended to be dedicated to the public regardless of whether such disclosure is explicitly recited in the claims.AF: 030284.20874
Claims
Qualcomm Ref. No.: 2505410WOCLAIMS1. A system for automotive safety integrity level (ASIL) functional safety in an integrated circuit, the system comprising:a dual-core lock-step (DCLS) component configured to apply a lock-step configuration to a subset of a plurality of functional modules each corresponding to a safety-critical module associated with a failure mode, an effect, and diagnostic analysis (FMEDA), the plurality of functional modules configured to perform an operation within the integrated circuit;a triple modular redundancy (TMR) component configured to instantiate one or more instances when a full DCLS is not feasible, each of the one or more instances including multiple redundant sub-instances; anda synchronizer component configured to handle asynchronous inputs to the integrated circuit, the synchronizer component including primary and shadow clock domain crossing (CDC) synchronizer.
2. The system of claim 1, wherein the DCLS component is further configured to perform FMEDA on an intellectual property (IP) core to identify at least one of the plurality of functional modules that are safety-critical and associated with DCLS processing.
3. The system of claim 1 , wherein the DCLS component is further configured to duplicate and operate one or more safety-critical modules in lock-step, while one or more non-critical modules are not duplicated.
4. The system of claim 1, wherein the TMR component is further configured to apply to the plurality of functional modules for which DCLS is identified as not feasible, and includes multiple parallel instances of each of the plurality of functional modules.AF: 030284.20874Qualcomm Ref. No.: 2505410WO5. The system of claim 1, wherein the synchronizer component is further configured to separate asynchronous input components from synchronous components, and applies selective DCLS to the synchronous components.
6. The system of claim 1, wherein the comparator in the DCLS component is configured to generate an error signal upon detecting a mismatch between the main and shadow instances.
7. The system of claim 1, wherein the TMR component is further configured to determine an output value based on a comparison of outputs of multiple redundant subinstances, such that the output correspond to a value agreed upon by at least two of the multiple redundant sub-instances.
8. The system of claim 1, wherein the system corresponds to a system-on-chip (SoC) having multiple power domains.
9. The system of claim 1, wherein the main instance and the shadow instance both receive identical inputs.
10. The system of claim 1, wherein the DCLS component, the TMR component, and the synchronizer component are configured to obtain a timing closure at clock frequencies of 1 GHz or higher at ultra-low voltage corners.
11. The system of claim 1, wherein the system further includes a comparator that detects discrepancies between the main and shadow instances12. The system of claim 1, wherein each safety-critical module includes a main instance and a shadow instance operating in lock-step.
13. An integrated circuit for automotive safety integrity level (ASIL) functional safety, the integrated circuit comprising:AF: 030284.20874Qualcomm Ref. No.: 2505410WOa plurality of functional modules, each configured to perform a respective operation within the integrated circuit;a dual-core lock-step (DCLS) component associated with a subset of the plurality of functional modules each corresponding to a safety-critical module based at least on a failure mode, an effect, and diagnostic analysis (FMEDA), wherein each safety-critical module includes a main instance and a shadow instance operating in lock-step, and a comparator that detects discrepancies between the main and shadow instances;a triple modular redundancy (TMR) component configured to instantiate one or more instances when a full DCLS is not feasible, each of the one or more instances including multiple redundant sub-instances; anda synchronizer component including primary and shadow clock domain crossing (CDC) synchronizers and a comparator configured to handle asynchronous inputs to the integrated circuit.
14. The integrated circuit of claim 13, wherein the DCLS component is further configured to perform FMEDA on an intellectual property (IP) core to identify at least one of the plurality of functional modules that are safety-critical and associated with DCLS processing.
15. The integrated circuit of claim 13 , wherein the DCLS component is further configured to duplicate and operate one or more safety-critical modules in lock-step, while one or more non-critical modules are not duplicated.
16. The integrated circuit of claim 13, wherein the TMR component is further configured to apply to the plurality of functional modules for which DCLS is identified as not feasible, and includes multiple parallel instances of each of the plurality of functional modules.
17. The integrated circuit of claim 13, wherein the synchronizer component is further configured to separate asynchronous input components from synchronous components, and applies selective DCLS to the synchronous components.AF: 030284.20874Qualcomm Ref. No.: 2505410WO18. The integrated circuit of claim 13, wherein the comparator in the DCLS component is configured to generate an error signal upon detecting a mismatch between the main and shadow instances.
19. The integrated circuit of claim 13, wherein the TMR component is further configured to determine an output value based on a comparison of outputs of multiple redundant sub-instances, such that the output correspond to a value agreed upon by at least two of the multiple redundant sub-instances.
20. A method for automotive functional safety, comprising:applying a lock-step configuration to a subset of a plurality of functional modules each corresponding to a safety-critical module associated with a failure mode, an effect, and diagnostic analysis (FMEDA), the plurality of functional modules configured to perform an operation within the integrated circuit;instantiating one or more instances when a full DCLS is not feasible, each of the one or more instances including multiple redundant sub-instances; and synchronizing asynchronous inputs to the integrated circuit, the synchronizer component including primary and shadow clock domain crossing (CDC) synchronizer.AF: 030284.20874
