System-on-chip area isolation for safety-critical operations

The integration of a safety island within the SoC using separate clock and power domains addresses the challenge of isolating high-risk areas from low-risk areas in automotive systems, reducing latency and cost by eliminating external control units and ensuring reliable fault detection and response.

JP2024536672APending Publication Date: 2024-10-08NVIDIA CORP

Patent Information

Application Number
JP2024504200
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-09-16
Filing Date
2022-07-26
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Existing automotive systems face challenges in isolating areas of a system-on-chip (SoC) operating at higher risk levels (ASIL-D) from those at lower risk levels (ASIL-B), leading to increased latency and cost due to the need for separate external control units, which occupy space and introduce inefficiencies.

Method used

Implementing a safety island (SI) within the SoC that operates at a higher risk level (ASIL-D) and is electrically and logically isolated from other components, using separate clock and power domains, and communication interfaces to prevent interference and reduce reliance on external control units.

Benefits of technology

The solution effectively isolates critical safety functions, reducing latency and cost by eliminating the need for external control units, while ensuring reliable fault detection and response, thus enhancing the safety and efficiency of automotive systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024536672000001_ABST
    Figure 2024536672000001_ABST
Patent Text Reader

Abstract

In various instances, an integrated circuit includes first and second portions operating in separate domains, the second portion having an interface connecting the first and second portions, and the second portion selectively locking the interface to prevent communication with the first portion via the interface and selectively unlocking the interface to allow communication with the first portion via the interface.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to Indian Provisional Application No. 202111034492, titled "ISOLATING A REGION OF A SYSTEM ON A CHIP FOR SAFETY CRITICAL OPERATIONS," filed on July 30, 2021, and U.S. Patent Application No. 17 / 477,214, titled "ISOLATING A REGION OF A SYSTEM ON A CHIP FOR SAFETY CRITICAL OPERATIONS," filed on September 16, 2021, the entire contents of which are incorporated herein by reference.

[0002] At least one embodiment relates to isolating areas of circuitry that operate at a higher risk level from other areas of circuitry that operate at a lower risk level. For example, at least one embodiment relates to a system-on-chip that implements various novel techniques described herein. As another illustrative example, at least one embodiment relates to an autonomous vehicle that includes such a system-on-chip. [Background technology]

[0003] Automotive Safety Integrity Level ("ASIL") is a risk classification system for road vehicle functional safety defined by the International Organization for Standardization ("ISO") 26262 functional safety standard. There are four risk classification levels in this risk classification system identified as ASIL-A, ASIL-B, ASIL-C, and ASIL-D, with ASIL-D being the highest risk classification level. Thus, components designated as ASIL-D have higher safety requirements and may be more expensive than components designated at lower risk classification levels (e.g., ASIL-B). Within many automotive platforms, at least some safety services are performed by an external control unit when certain faults are detected in the automotive system-on-chip ("SoC") that controls various driving functions of an autonomous or semi-autonomous vehicle. Generally speaking, the external control unit may operate at a higher risk level (e.g., ASIL-D) than the automotive SoC (e.g., ASIL-B). Unfortunately, such external control units introduce latency and can be expensive because they require separate components that are also present within the automobile SoC, e.g., DRAM, non-volatile memory, etc., and each occupy space within the automobile platform (e.g., on a circuit board). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] U.S. Patent Application Serial No. 16 / 101,232 Summary of the Invention [Means for solving the problem]

[0005] The present systems and methods for isolating regions of a system-on-chip are described in detail below with reference to the accompanying drawings. [Brief description of the drawings]

[0006] [Figure 1] 1 is an illustration of an example vehicle platform, according to some embodiments of the present disclosure. [Diagram 2] 1 is an illustration of an example interface connecting a safety island integrated into an automotive SoC with other components of the automotive SoC, in accordance with some embodiments of the present disclosure. [Diagram 3] 1 is a flow diagram illustrating a method for transitioning a safety island between a cocoon mode and a non-isolated mode according to some embodiments of the present disclosure. [Figure 4] 1 is an illustration of an example fault interface for communicating faults from other components of the vehicle SoC to the safety island, in accordance with some embodiments of the present disclosure. [Figure 5A] 1 is a flow diagram illustrating a method for communicating a fault to a safety island according to some embodiments of the present disclosure. [Figure 5B] 1 is a flow diagram illustrating a method a processor may use to handle an interrupt received from a SoC fault aggregator, according to some embodiments of the present disclosure. [Figure 5C] 4 is a flow diagram illustrating a method that the SI 110 may use to process corrected and uncorrected error signals, according to some embodiments of the present disclosure. [Figure 5D] 11 is a flow diagram illustrating a method that the SI 110 may use to process a SoC fault aggregator signal, according to some embodiments of the present disclosure. [Figure 6A] 1 illustrates an example signal timing diagram of signals received and transmitted by a safety island processor after a low severity uncorrected error (e.g., a minimum value) is asserted, in accordance with some embodiments of the present disclosure. [Figure 6B] 1 illustrates an example signal timing diagram of signals received and transmitted by a safety island processor after a high severity uncorrected error (e.g., maximum value) is asserted, in accordance with some embodiments of the present disclosure. [Figure 6C]1 illustrates an example signal timing diagram of signals received and transmitted by a processor in a safety island after an uncorrected error (e.g., a maximum value) has been asserted but the safety island does not receive a mailbox interrupt, in accordance with some embodiments of the present disclosure. [Figure 7] 1 is a flow diagram illustrating a method for writing data to a carve-out defined in a volatile memory shared by a safety island and other components of an automobile SoC, according to some embodiments of the present disclosure. [Figure 8] 8 illustrates an example of a safe island error detection block that performs the method of FIG. 7 according to some embodiments of the present disclosure. [Figure 9] 1 is a flow diagram illustrating a method for reading data from a carve-out, according to some embodiments of the present disclosure. [Figure 10] 10 illustrates an example of a safe island error detection block that performs the method of FIG. 9 according to some embodiments of the present disclosure. [Figure 11] 1 is a block diagram illustration showing an error notification generated by an error detection block when the error detection block includes or is connected to exit and entry timers, according to some embodiments. [Figure 12] 1 is an illustration of an example autonomous vehicle, according to some embodiments of the present disclosure. [Figure 13] 13 is an illustration of an example of camera positions and fields of view for the example autonomous vehicle of FIG. 12, in accordance with some embodiments of the present disclosure. [Figure 14] FIG. 13 is a block diagram of an example system architecture of the example autonomous vehicle of FIG. 12 in accordance with some embodiments of the present disclosure. [Figure 15] FIG. 13 is a system diagram for communication between a cloud-based server and the example autonomous vehicle of FIG. 12, in accordance with some embodiments of the present disclosure. [Figure 16] FIG. 1 is a block diagram of an example computing device suitable for use in implementing some embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Systems and methods are disclosed relating to isolating areas of circuitry operating at a higher risk level (e.g., ASIL-D) from other areas of circuitry operating at a lower risk level (e.g., ASIL-B). For example, an area or "island" dedicated to functional safety may be isolated (e.g., communicatively) from other components on a system-on-chip ("SoC"), e.g., an automotive SoC. FIG. 1 is an illustration of an exemplary automotive platform 100, according to at least one embodiment. The automotive platform 100 may implement an autonomous or semi-autonomous vehicle, e.g., an exemplary autonomous vehicle 1200 (see FIG. 12). The automotive platform 100 includes an automotive processing system 102 that may implement a level of driving autonomy greater than Level 0 (no driving automation) as defined by the Society of Automotive Engineers ("SAE"). For example, the automotive processing system 102 may implement Level 2 (partial driving automation) to Level 5 (full driving automation) as defined by the SAE. Level 2 systems may be referred to as advanced driver assistance systems (ADAS).

[0008] The automotive processing system 102 includes at least one automotive SoC 104. The automotive SoC 104 performs at least some functions but may offload one or more safety functions to an optional external control unit 106 (e.g., including an external ASIL-D microcontroller unit). The optional external control unit 106 may operate under and comply with a higher risk classification level (e.g., ASIL-D) than the automotive SoC 104. In embodiments that include an optional external control unit 106, when a fault occurs in the automotive SoC 104, the fault is communicated to the optional external control unit 106, which may take one or more actions to return the automotive platform 100 to a safe state. Thus, at least some of the safety functions may be performed by the optional external control unit 106. However, the optional external control unit 106 may be expensive because it may introduce latency and may require separate components, e.g., DRAM, non-volatile memory, etc., each of which occupies space within the automotive platform 100 (e.g., on a circuit board).

[0009] To avoid at least some of the latency and expense introduced by the optional external control unit 106, the automotive platform 100 of FIG. 1 includes a functional safety island ("SI") 110 integrated into the automotive SoC 104. The SI 110 may be implemented as a compute cluster that operates under and complies with a higher risk classification level (e.g., ASIL-D) compared to the rest of the automotive SoC 104. The SI 110 may perform at least some of the functions normally performed by the optional external control unit 106. The presence of the SI 110 allows the optional external control unit 106 to be omitted entirely or implemented using a less sophisticated and / or lower cost external control unit. For example, when the optional external control unit 106 is present, it may perform one or more legacy functions, such as providing communication on a Controller Area Network ("CAN" bus), providing a reset controller for the automotive SoC 104, and / or performing on-board voltage monitoring.

[0010] In addition to the vehicle SoC 104 and optional external control unit 106 (when present), the vehicle processing system 102 may include a first (SoC) clock 112 of the vehicle SoC 104, a second (SI) clock 114 of the SI 110, and a power management integrated circuit ("IC") 116. Each of the components of the vehicle processing system 102 is implemented at least partially in hardware. The logical components of the vehicle processing system 102 (e.g., the vehicle SoC 104 and the optional external control unit 106) are typically each implemented in hardware logic circuits within one or more integrated circuit chips. The logic may be hardwired or programmable, or a combination of hardwired and programmable elements. Additionally or alternatively, certain functions of the vehicle processing system 102 may be implemented in software or firmware executed by an embedded microprocessor or microcontroller.

[0011] The first and second clocks 112 and 114 provide two separate clock signals to the automotive SoC 104. Specifically, a first clock signal generated by the first (SoC) clock 112 is provided to the components 160 of the automotive SoC 104 other than the SI 110, and a second clock signal generated by the second (SI) clock 114 is provided to the SI 110. Thus, the SI 110 and the other components 160 may be characterized as operating in separate clock domains. The clock domain of the SI 110 will be referred to as the SI clock domain, and the clock domain of the other components 160 will be referred to as the SoC clock domain. The first and second clocks 112 and 114 may each be implemented at least in part as a crystal oscillator. The first (SoC) clock 112 may be connected to each of at least some of the other components 160 of the automobile SoC 104 via a first clock connection (not shown), e.g., a wire, a signal trace, and the like. Thus, the first (SoC) clock 112 may provide a first clock signal to the other components 160 of the automobile SoC 104 via the first clock connection (not shown). The second (SI) clock 114 may be connected to each of at least some of the components of the SI 110 via a second clock connection (not shown), e.g., a wire, a signal trace, and the like. Thus, the second (SI) clock 114 may provide a second clock signal to the SI 110 via the second clock connection (not shown).

[0012] The power management IC 116 provides power to the other components of the automotive processing system 102. For example, buses or connections 118A-118C connect the power management IC 116 to the other components 160 of the automotive SoC 104, the SI 110, and the optional external control unit 106, respectively. The power connections 118A-118C help electrically isolate the other components 160 of the automotive SoC 104, the SI 110, and the optional external control unit 106 (if present), respectively, from each other. Thus, the SI 110 may operate in a voltage domain separate from the other components 160 and the optional external control unit 106 (if present). The voltage domain of the SI 110 will be referred to as the SI voltage domain, and the voltage domain of the other components 160 will be referred to as the SoC voltage domain. The power management IC 116 may be implemented as one or more integrated circuits that provide appropriate power to the components of the automotive processing system 102. The power connections 118A-118C may each be implemented as a conductive element, such as a power line, a wire, a power trace, and the like.

[0013] As previously mentioned, the SI 110 operates in the SI clock domain and the SI voltage domain, which together will be referred to as the SI domain. Similarly, the other components 160 operate in the SoC clock domain and the SoC voltage domain, which together will be referred to as the SoC domain.

[0014] Other components 160 of the automotive SoC 104 may include a main central processing unit ("CPU") complex 120, an auxiliary safety unit 122, circuitry 124 for performing automotive SoC functions, volatile data storage or memory 126 (e.g., dynamic random access memory ("DRAM")), and non-volatile data storage or memory 128. The main CPU complex 120 may be implemented as one or more processors operating at ASIL-B. In such an embodiment, the SI 110 may operate at a higher level ASIL (e.g., ASIL-D), such that the automotive SoC 104 may operate at multiple or mixed ASILs. By way of non-limiting example, the circuitry 124 may include hardware implementing one or more displays, one or more automotive input / output ("I / O") controllers, one or more memory controllers, one or more interconnects, etc. In the illustrated embodiment, circuit 124 is shown as including or implementing multiple logic blocks LB(1)-LB(N), each of which is often referred to as intellectual property ("IP"), that may implement various functions within an autonomous vehicle (e.g., autonomous vehicle 1200 shown in FIG. 12).

[0015] The optional external control unit 106 may include a controller 130, a fault aggregator 132, a volatile data storage or memory 136 (e.g., DRAM), and a non-volatile data storage or memory 138. The optional external control unit 106 may also include one or more logic blocks (not shown) that implement those safety functions performed by the optional external control unit 106. The controller 130 may be implemented as one or more processors (e.g., microcontrollers) operating at ASIL-D. The controller 130 executes instructions stored in the non-volatile memory 138, for example, instructions that comply with one or more Automotive Open System Architecture ("AUTOSAR") software standards. The instructions may instruct the controller 130 to take appropriate action when the fault aggregator 132 receives a fault from the automotive SoC 104.

[0016] In one or more embodiments, the SI 110 includes a processor 140, an interrupt controller 141, an SI fault aggregator 142, a volatile data storage or memory 146 (e.g., static random-access memory (“SRAM”), and one or more logic blocks 148. The processor 140 may be implemented as a cluster of processors, e.g., highly rated ASIL-D safety processors. The processor 140 executes instructions 149, e.g., instructions conforming to the AUTOSAR software standard, that are retrieved from the non-volatile memory 128 upon startup and stored in the volatile memory 146. The instructions 149 may instruct the processor 140 to take appropriate action when the SI fault aggregator 142 receives a fault from other components 160 of the automotive SoC 104. The logic blocks 148 may help implement those safety functions performed by the SI 110.

[0017] The auxiliary safety unit 122 may be implemented as a real-time safety auxiliary processing unit and / or may be rated to ASIL-B or higher. In other words, the auxiliary safety unit 122 may operate at the same risk classification level as other components in the SoC domain or at a higher risk classification level. The auxiliary safety unit 122 includes a processor 150, one or more SoC fault aggregators 152, an interrupt controller 154, and one or more logic blocks, which will be referred to as a mailbox 156. The SI fault aggregator 142 and the fault aggregator 132 (when present) may each receive faults from the SoC fault aggregator 152. Thus, the SoC fault aggregator 152 may be connected to the fault aggregator 132 via one or more fault interfaces 170 and to the SI fault aggregator 142 via one or more fault interfaces 172. Each of the fault interfaces 170 and 172 includes a connection, eg, a wire, a signal trace, and the like, that physically connects each of the SoC fault aggregators 152 to a respective one of the fault aggregators 132 or SI fault aggregators 142 .

[0018] Mailboxes 156 may include a first mailbox to which processor 150 writes and from which processor 140 reads, and a second mailbox to which processor 140 writes and from which processor 150 reads. Mailboxes 156 may be used by processor 150 (e.g., a central processing unit ("CPU") rated at ASIL-B or higher) to report mailbox interrupts to and receive interrupts from interrupt controller 141. Thus, fault interface 172 includes at least one signal conductor connecting mailbox 156 to interrupt controller 141. Each mailbox interrupt includes a severity identifier that indicates the severity of the error. As one non-limiting example, the severity identifier may be a numeric value ranging from a minimum value (e.g., zero) to a maximum value (e.g., seven). As another non-limiting example, an interrupt may have an interrupt number that is a priori encoded to indicate the severity. Processor 140 and / or processor 150 may write fault information to mailbox 156. The failure information includes information about the error that generated the failure, such as the logical block name in which the error occurred, a logical block diagnostic identifier, the nature of the failure, a severity identifier, and the like.

[0019] Integrating the SI 110 into the vehicle SoC 104 may allow some separate components (e.g., volatile memory 136 and non-volatile memory 138) to be omitted from the vehicle processing system 102 if the optional external control unit 106 is also omitted. However, it is necessary to isolate the SI 110 from the other components 160 of the vehicle SoC 104 (e.g., main CPU complex 120, auxiliary safety unit 122, circuit 124, volatile memory 126, and non-volatile memory 128) so that potential problems occurring in one or more of the other components 160 do not adversely affect the SI 110. Such isolation may help prevent the SI 110 from being affected by, for example, a power outage occurring in one or more of the other components 160 of the vehicle SoC 104. Non-limiting examples of types of power outages that may occur in one or more of the other components 160 include random failures, clock problems, power problems, and / or voltage problems. Due to the spatial proximity and one or more interfaces 200 (see FIG. 2 ) that the SI 110 shares with the other components 160 of the vehicle SoC 104, such a power outage may be transferred to the SI 110 and may thereby prevent the SI 110 from executing fallback and / or fail-safe functionality integrated into the vehicle SoC 104. Thus, the vehicle processing system 102 isolates the SI 110 from the other components 160 of the vehicle SoC 104 to achieve a corresponding isolation between the vehicle SoC 104 and the optional external control unit 106. Such isolation is achieved by the first and second clocks 112 and 114, the first and second power connections 118A and 118B, and the interfaces 200.

[0020] The first (SoC) clock 112 is separate from the second (SI) clock 114 (e.g., includes a separate reference crystal), which helps isolate the SI 110 from the other components 160 of the vehicle SoC 104. Similarly, the first power connection 118A is separate from the second power connection 118B, which helps isolate the SI 110 from the other components 160 of the vehicle SoC 104. As mentioned above, the SI 110 may operate in a separate SI voltage domain from the other components 160 of the vehicle SoC 104. However, even with the separate second (SI) clock 114 and separate second power connection 118B, the SI 110 communicates with the other components 160 of the vehicle SoC 104 via an interface 200 (see FIG. 2 ).

[0021] The logic block 148 includes a clock and reset circuit 230 (see FIG. 2 ) that is connected to a dedicated second (SI) clock 114. The dedicated second (SI) clock 114 may be used as a reference clock for the clock and reset circuit 230. For example, the clock and reset circuit 230 may include an internal dedicated phase-locked loop ("PLL") that is used to derive other functional and debug clocks for the SI 110. As a non-limiting example, the clock and reset circuit 230 may provide debug and test clock signals that may be derived from the PLL. The clock and reset circuit 230 may generate all clock and reset signals used within the SI 110. In other words, the clock and reset circuit 230 may generate clock signals and resets used within the SI domain. Additionally or alternatively, the second (SI) clock 114 may be used directly as a functional clock for one or more of the logic blocks 148. In this scheme, the SI 110 uses locally generated clock signals and resets and / or clock signals provided by a second (SI) clock 114. No clock signals or resets from other components 160 are used in the SI 110. The clock and reset circuit 230 helps ensure that perturbations from logic generating resets in other components 160 (e.g., reset blocks) do not reach the components of the SI 110.

[0022] 2 is an illustration of an interface 200 connecting the SI 110 to other components 160 of the automotive SoC 104, according to at least one embodiment. Referring to FIG. 2, the interface 200 provides logical isolation of the circuitry and logic of the SI 110 in the automotive SoC 104. In the illustrated embodiment, the interface 200 includes a fault interface 172, a volatile memory interface 200A, a first control backbone interface 200B, a second control backbone interface 200C, a secure content interface 200D, a debug interface 200E, and a test interface 200F. The fault interface 172 may not be logically isolated from the SoC fault aggregator 152, but may pass through or include one or more voltage level shifters 240 that provide electrical isolation between the SI and SoC voltage domains, respectively. While the voltage level shifters 240 each provide electrical isolation, the voltage level shifters 240 may not provide adequate isolation for some types of faults, e.g., interrupt storms, fault storms, and / or continuous assertion. The SI fault aggregator 142 may include one or more status bits 242 that receive fault information via the fault interface 172 and provide notification of such faults to instructions 149 executed by the processor 140. In the illustrated embodiment, the status bits 242 include status bits "BT1", "BT2", and "BT3" (see FIG. 4). The instructions 149 instruct the processor 140 to use this notification to mitigate an interruption occurring on the fault interface 172.

[0023] The volatile memory interface 200A is an interface between the processor 140 and the volatile memory 126 of the automotive SoC 104. The volatile memory interface 200A allows the processor 140 to write information to and read information from the volatile memory 126. The volatile memory interface 200A includes one or more connections, such as wires, signal traces, and the like, to the volatile memory 126. The volatile memory interface 200A may include a logical isolation control 220, an access timer 222, and a domain synchronization circuit 224. The logical isolation control 220 includes a gate or locking mechanism that can be selectively locked and unlocked by the processor 140. The access timer 222 allows access attempts initiated by the processor 140 to time out.

[0024] The domain synchronization circuit 224 includes a phase synchronization circuit and a voltage level shifter. The phase synchronization circuit helps synchronize the phase of signals communicated across the SI and SoC domains that are generated using the separate first and second clocks 112 and 114 (see FIG. 1). The reset generated by the clock and reset circuit 230 can be used by any element that crosses the SI and SoC voltage and clock domains, such as the phase synchronization circuit. The phase synchronization circuit has an SoC portion and an SI portion that can each function as separate synthesis tops. The SoC portion physically resides in the SoC domain, and the SI portion physically resides in the SI domain. Logic in both the SI portion and the SoC portion uses the reset generated by the clock and reset circuit 230. Thus, the reset generated by the SI 110 can be used by logic in the automotive SoC 104, which may operate at a lower ASIL than the SI 110, but the reset generated by the automotive SoC 104 is not communicated to and cannot be used by the SI 110. As one non-limiting example, the phase synchronization circuit may be implemented as a split first-in-first-out ("fifo") and the like. The voltage level shifter of the domain synchronization circuit 224 may be substantially similar to the voltage level shifter 240 and adjusts the voltage of signals being sent across the SI and SoC voltage domains to allow the signals to be safely communicated across the SI and SoC domains. When the access timer 222 indicates that an access by the processor 140 has timed out, the request may be removed from the domain synchronization circuit 224 (e.g., popped from the split fifo).

[0025] When the volatile memory interface 200A is unlocked, the processor 140 may access the volatile memory 126 and starts the access timer 222. When the access timer 222 indicates that more than a first predetermined amount of time has elapsed and no response has been received from the volatile memory 126, the processor 140 indicates a safety fault and optionally takes one or more actions configured to lock the volatile memory interface 200A using the logical isolation control 220, optionally lock any of the unlocked interfaces 200, and return the vehicle platform 100 (see FIG. 1 ) to a safe state. On the other hand, when a response is received before the access timer 222 indicates that the first predetermined amount of time has elapsed, the access timer 222 resets itself, the processor 140 completes the access, and the processor 140 locks the volatile memory interface 200A after the access is completed. Thus, the volatile memory interface 200A remains locked whenever the processor 140 is not accessing the volatile memory 126, helping to protect the SI 110 from faults and / or power outages proceeding from the volatile memory 126 to the SI 110.

[0026] The first and second control backbone interfaces 200B and 200C are interfaces between the processor 140 and the control backbone 210. The control backbone 210 may be implemented as a bus and the like. The first control backbone interface 200B is for communication from the processor 140 to the control backbone 210, and the second control backbone interface 200C is for communication from the control backbone 210 to the processor 140. As one non-limiting example, the processor 140 may access at least some of the other components 160 of the automotive SoC 104 (e.g., the circuit 124, the mailbox 156, and the non-volatile memory 128) via the control backbone 210.

[0027] The first control backbone interface 200B allows the processor 140 to send commands and / or information to the control backbone 210. The first control backbone interface 200B may include a logical isolation control 220, an access timer 222, a domain synchronization circuit 224, and a firewall 226. The logical isolation control 220 of the first control backbone interface 200B is substantially the same as and functions substantially the same as the logical isolation control 220 of the volatile memory interface 200A. Thus, the logical isolation control 220 of the first control backbone interface 200B allows the processor 140 to lock and unlock the first control backbone interface 200B. The access timer 222 of the first control backbone interface 200B allows access attempts initiated by the processor 140 to time out. The domain synchronization circuit 224 of the first control backbone interface 200B is substantially the same as and functions substantially the same as the domain synchronization circuit 224 of the volatile memory interface 200A. The firewall 226 of the first control backbone interface 200B implements one or more security rules and allows or blocks each communication based on the security rules.

[0028] The second control backbone interface 200C allows the processor 140 to receive instructions and / or information from the control backbone 210. The second control backbone interface 200C may include a logical isolation control 220, a domain synchronization circuit 224, and a firewall 226. The logical isolation control 220 of the second control backbone interface 200C is substantially the same as and functions substantially the same as the logical isolation control 220 of the volatile memory interface 200A. Thus, the logical isolation control 220 of the second control backbone interface 200C allows the processor 140 to lock and unlock the second control backbone interface 200C. The domain synchronization circuit 224 of the second control backbone interface 200C is substantially the same as and functions substantially the same as the domain synchronization circuit 224 of the volatile memory interface 200A. The firewall 226 of the second control backbone interface 200C implements one or more security rules and allows or blocks each communication based on the security rule.

[0029] The secure content interface 200D is an interface between the processor 140 and the secure content circuitry 212. The secure content interface 200D allows the processor 140 to receive instructions and / or information (e.g., secure and / or confidential content) from the secure content circuitry 212. The secure content interface 200D may include a logical isolation control 220 and a domain synchronization circuitry 224. The logical isolation control 220 of the secure content interface 200D is substantially the same as and functions substantially the same as the logical isolation control 220 of the volatile memory interface 200A. Thus, the logical isolation control 220 of the secure content interface 200D allows the processor 140 to lock and unlock the secure content interface 200D. The domain synchronization circuitry 224 of the secure content interface 200D is substantially the same as and functions substantially the same as the domain synchronization circuitry 224 of the volatile memory interface 200A.

[0030] The debug interface 200E is an interface between the processor 140 and the debug circuitry 214. The debug interface 200E allows the processor 140 to receive instructions and / or information from the debug circuitry 214. The debug interface 200E may include a logical isolation control 220 and a domain synchronization circuit 224. The logical isolation control 220 of the debug interface 200E is substantially the same as and functions substantially the same as the logical isolation control 220 of the volatile memory interface 200A. Thus, the logical isolation control 220 of the debug interface 200E allows the processor 140 to lock and unlock the debug interface 200E. The domain synchronization circuitry 224 of the debug interface 200E is substantially the same as and functions substantially the same as the domain synchronization circuitry 224 of the volatile memory interface 200A. As previously described, the SI 110 and the other components 160 operate in separate clock domains. In one or more embodiments, a signal from an external clock of one or more of the other components 160 of the vehicle SoC 104, e.g., the debug circuitry 214, is not provided to the SI 110. The debug functions performed by the vehicle SoC 104 receive the debug clock signal via the domain synchronization circuitry 224 of the debug interface 200E, which switches or converts the debug functions performed by the vehicle SoC 104 to use the debug clock signal generated by the SI 110 and / or the second (SI) clock 114. Because the debug logic is not used while the SI 110 is in mission mode (e.g., when the vehicle is driving), the SI 110 includes a first clock gate on the debug clock to prevent any interference that may potentially be caused by the debug clock signal. As one non-limiting example, the first clock gate may be a component of the clock and reset circuitry 230. The first clock gate may be controlled (eg, selectively switched on and off) using a first configuration bit set by the processor 140.

[0031] The test interface 200F is an interface between the processor 140 and the test circuitry 216. The test interface 200F allows the processor 140 to receive instructions and / or information from the test circuitry 216. The test interface 200F may include a logical isolation control 220 and a domain synchronization circuit 224. The logical isolation control 220 of the test interface 200F is substantially the same as and functions substantially the same as the logical isolation control 220 of the volatile memory interface 200A. Thus, the logical isolation control 220 of the test interface 200F allows the processor 140 to lock and unlock the test interface 200F. The domain synchronization circuitry 224 of the test interface 200F is substantially the same as and functions substantially the same as the domain synchronization circuitry 224 of the volatile memory interface 200A. As previously mentioned, external signals from one or more of the other components 160 of the vehicle SoC 104, e.g., the test circuitry 216, are prevented from being provided to the SI 110 via this configuration. The test functions performed by the vehicle SoC 104 receive the test clock signal via the domain synchronization circuitry 224 of the debug interface 200E, which switches or converts the test functions performed by the vehicle SoC 104 to use the test clock signal generated by the SI 110 and / or the second (SI) clock 114. Because test logic is not used while the SI 110 is in mission mode (e.g., when the vehicle is driving), the SI 110 includes a second clock gate on the test clock to prevent any interference that may potentially be caused by the test clock signal. As one non-limiting example, the second clock gate may be a component of the clock and reset circuitry 230. The second clock gate may be controlled (eg, selectively switched on and off) using a second configuration bit set by the processor 140.

[0032] The SI 110 may have at least two modes of operation: an isolated or cocoon mode and a non-isolated mode. When the SI 110 is operating in cocoon mode, the only information from the vehicle SoC 104 that is allowed into the SI 110 is fault information that enters the SI 110 via the fault interface 172. In this manner, the SI fault aggregator 142 maintains a cumulative health state of the vehicle SoC 104 and the SI 110. On the other hand, when the SI 110 is operating in non-isolated mode, information may enter the SI 110 via one or more of the interfaces 200. Whether the SI 110 is operating in cocoon mode or non-isolated mode is determined at least in part by the instructions 149 executed by the processor 140 and at least in part by the interfaces 200.

[0033] To help prevent potential safety-critical issues originating from other components 160 of the vehicle SoC 104 from reaching the SI 110 through one or more of the interfaces 200, each of the interfaces 200 includes a separate logical isolation control 220 that is selectively locked and unlocked by the processor 140. When the locking mechanism of the logical isolation control 220 is locked by the processor 140, the locking mechanism prevents all communication between the vehicle SoC 104 and the SI 110 through the locked interface. On the other hand, the interface may be unlocked by the processor 140 to allow such communication through the unlocked interface. Thus, the processor 140 may selectively place the SI 110 in a cocoon mode or a non-isolated mode. Whenever all the interfaces 200 are locked, the processor 140 cannot access the volatile memory 126 or the non-volatile memory 128 and executes instructions 149 stored in the volatile memory 146 (e.g., SRAM) present in the SI 110.

[0034] Referring now to FIG. 3, each block of the method 300 described herein includes computational processes that may be performed using any combination of hardware, firmware, and / or software. For example, various functions may be performed by a processor (e.g., processor 140 shown in FIGS. 1, 2, and 4) executing instructions (e.g., instructions 149 shown in FIGS. 1, 2, and 4) stored in a memory (e.g., volatile memory 146 shown in FIGS. 1, 2, and 4). The method 300 may also be implemented as computer usable instructions stored in a computer storage medium. The method 300 may be provided by a standalone application, a service, or a hosted service (standalone or in combination with another hosted service), or a plug-in to another product, to name a few. In addition, the method 300 is described with respect to the automobile platform 100 of FIG. 1 as an example. However, the method 300 may additionally or alternatively be performed by any one system or any combination of systems, including but not limited to those described herein.

[0035] 3 is a flow diagram illustrating a method 300 for transitioning the SI 110 between a cocoon mode and a non-isolated mode, according to some embodiments of the present disclosure. For ease of illustration, the method 300 will be described as being performed by the processor 140 (see FIGS. 1, 2, and 4). With reference to FIG. 3, in a first block 302, the processor 140 determines that it needs to communicate with one of the other components 160 (see FIGS. 1 and 2) of the vehicle SoC 104. For example, this communication may occur via the volatile memory interface 200A or the first control backbone interface 200B, each of which enables the SI 110 to initiate communication with the other components 160 of the vehicle SoC 104. Alternatively, this communication may occur via the second control backbone interface 200C, the secure content interface 200D, the debug interface 200E, or the test interface 200F, each of which allows the SI 110 to receive communications initiated by other components 160 of the vehicle SoC 104. As previously mentioned, communication occurs via the fault interface 172 (see FIG. 2 ) regardless of whether the SI 110 is in cocoon mode or non-isolated mode.

[0036] Whenever processor 140 needs to communicate with a particular one of other components 160 of vehicle SoC 104, processor 140 makes a determination that it is safe to communicate with that particular component before attempting to do so. To make this determination, in block 304, processor 140 may check the contents of SI fault aggregator 142, which receives fault information from SoC fault aggregator 152 external to SI 110 via fault interface 172 (see FIG. 2). As mentioned above, fault interface 172 is not logically isolated from SoC fault aggregator 152, but passes through or includes voltage level shifter 240, respectively, which provides electrical isolation between the SI and SoC voltage domains.

[0037] In decision block 306, processor 140 determines whether any faults have been detected in SI fault aggregator 142. The determination in decision block 306 is "yes" when at least one fault has been detected, meaning that faults identified for one or more of other components 160 have been reported by SoC fault aggregator 152 to SI fault aggregator 142. Processor 140 may detect the faults using status bits 242 within SI fault aggregator 142. Status bits 242 may be characterized as tracking the health of vehicle SoC 104. Alternatively, SI fault aggregator 142 may notify processor 140 of the fault by sending an interrupt to processor 140. Otherwise, the determination in decision block 306 is "no" when no faults are detected.

[0038] If the determination at decision block 306 is "yes," then at block 308, processor 140 may take one or more corrective actions. The corrective actions may help bring the vehicle into a safe condition. By way of non-limiting example, such corrective actions may include applying the vehicle brakes, slowing the vehicle, driving the vehicle onto the shoulder, and the like. Processor 140 may then return to block 304.

[0039] If the determination at decision block 306 is "no," then at block 310, processor 140 unlocks the locking mechanism of logical isolation control 220 of a particular one of interfaces 200 connected to a particular component if the locking mechanism of the particular interface is locked. In other words, processor 140 may determine that it is safe to access a particular component of vehicle SoC 104 through a particular interface when SI fault aggregator 142 has no stored faults. Thus, processor 140 unlocks the particular interface at block 310.

[0040] Then, in block 312, the processor 140 may send or receive communication to or from the particular component via the unlocked particular interface, automatically starting the access timer 222 for the particular interface. When the particular interface is unlocked, the processor 140 may initiate one or more strongly ordered accesses (one at a time) to the vehicle SoC 104. The access timer 222 starts automatically for each access. Thus, the access timer 222 may begin counting down as soon as the particular access is initiated by the processor 140.

[0041] In decision block 314, processor 140 determines whether a timeout has occurred. When access timer 222 indicates that more than a first predetermined amount of time has elapsed and a response has not been received from the particular component, the determination in decision block 314 is "yes." Otherwise, when a response is received from the particular component before access timer 222 indicates that more than the first predetermined amount of time has elapsed, the determination in decision block 314 is "no."

[0042] If the determination at decision block 314 is "yes," then at block 316, processor 140 indicates that a safety failure has occurred. Then, at block 318, processor 140 locks the locking mechanism of logical isolation control 220 of the particular interface, optionally locks the locking mechanisms of logical isolation controls 220 of any other interfaces that are unlocked, and optionally takes one or more actions configured to return vehicle platform 100 to a safe state.

[0043] On the other hand, when the determination at decision block 314 is "no," at block 320, the processor 140 completes the communication. The access timer 222 automatically resets. Then, at block 318, the processor 140 locks the locking mechanism of the particular interface. Thus, the method 300 ensures that the interface 200 remains locked whenever the processor 140 is not accessing one of the other components 160 of the automobile SoC 104. The method 300 then ends.

[0044] The SI 110 may avoid accessing the shared non-volatile memory 128 by copying instructions 149 (e.g., critical instructions that put the system into a safe state) from the shared non-volatile memory 128 to its internal volatile memory 146 when the vehicle SoC 104 is booted. The processor 140 may authenticate and verify the instructions 149 before the SI 110 enters a mission mode, which enables a vehicle drive cycle. The SI 110 may operate in either a mission mode and a cocoon mode or a non-isolated mode simultaneously. The instructions 149 remain in the volatile memory 146, allowing the processor 140 to avoid accessing the shared non-volatile memory 128. Non-critical data, such as application code, fusion data, and the like, may be retrieved from the shared volatile memory 126 using an internal direct memory access ("DMA") engine 402 (see FIG. 4) included in the SI 110. The DMA engine 402 may optionally be a component of the processor 140. If the DMA engine 402 fails while paging data retrieved from the shared volatile memory 126, the processor 140 will continue to execute instructions 149 stored in the volatile memory 146, and thus the failure of the DMA engine 402 will not adversely affect the processor 140.

[0045] FIG. 4 is an illustration of the fault interface 172, according to some embodiments of the present disclosure. With reference to FIG. 4, the logic blocks LB(1)-LB(N) of the vehicle SoC 104 may be associated with first fault aggregators 260-1-260-N, respectively. The first fault aggregators 260-1-260-N aggregate faults generated by the logic blocks LB(1)-LB(N), respectively, and transmit a first aggregated fault signal to the auxiliary safety unit 122 of the vehicle SoC 104. The auxiliary safety unit 122 implements a second SoC fault aggregator 152 that aggregates the first aggregated fault signals received from the first fault aggregators 260-1-260-N and, when present, transmits one or more second aggregated fault signals to the optional external control unit 106 (see FIG. 1 ). When the optional external control unit 106 is notified of the fault by the second aggregated fault signal, the optional external control unit 106 may take one or more actions from among several possible actions. First, the optional external control unit 106 may remove the fault. Second, the optional external control unit 106 may take corrective action. Third, the optional external control unit 106 may notify an external system (e.g., one or more external microcontrollers, one or more external agents, and the like). However, as previously mentioned, in some embodiments, the optional external control unit 106 may be omitted.

[0046] 1, as previously described, while SI 110 is isolated from other components 160 of auto SoC 104, at least some communication must be enabled between SI 110 and other components 160 of auto SoC 104. Specifically, faults occurring in logic blocks LB(1) to LB(N) of auto SoC 104 must be communicated to SI 110 via fault interface 172. One way to provide such communication would be to have first fault aggregators 260-1 to 260-N (see FIG. 4) send a first aggregated fault signal directly to SI 110. Doing so would require fault interface 172 to include separate transmission lines or signal conductors between SI 110 and each of first fault aggregators 260-1 to 260-N, which is complicated by the isolation of SI 110 from other components 160 of auto SoC 104. 2, voltage level shifter 240 would have to include a separate voltage level shifter for each signal conductor. Furthermore, the greater the number of signal conductors between SI 110 and other components 160 of vehicle SoC 104, the more vulnerable SI 110 becomes to interference caused by vehicle SoC 104.

[0047] 4, each of the SoC fault aggregators 152 may be connected to the SI 110 by three signal conductors: (1) a corrected error signal conductor 410, (2) an uncorrected error signal conductor 412, and (3) an SoC fault aggregator signal conductor 414. This arrangement may enable the fault interface 172 to report faults from logic blocks LB(1) to LB(N) to the SI 110 without the fault interface 172 including so many conductors that the conductors would cause electrical interference and without making the fault interface 172 so large that it / they would cause congestion in the vehicle SoC 104 and / or the SI 110. The signal conductors 410, 412, and 414 may set status bits “BT1”, “BT2”, and “BT3”, respectively, and each status bit may be subsequently cleared by the processor 140 after it has been set.

[0048] The mailbox 156 may be connected to the interrupt controller 141 of the SI 110 by a mailbox interrupt signal conductor 416. The signal conductors 410-416 may each be implemented as wires, signal traces, and the like.

[0049] FIG. 5A is a flow diagram illustrating a method 500 for communicating a fault to the SI 110 (see FIGS. 1, 2, 4, 8, and 10) according to some embodiments of the present disclosure. Referring now to FIG. 5A, each block of the method 500 described herein includes a computational process that may be performed using any combination of hardware, firmware, and / or software. For example, various functions may be performed by a processor (e.g., the processor 150 shown in FIGS. 1 and 4) executing instructions stored in a memory. At least a portion of the method 500 may be implemented as computer usable instructions stored on a computer storage medium. The method 500 may be provided by a standalone application, a service, or a hosted service (standalone or in combination with another hosted service), or a plug-in to another product, to name a few examples. Additionally, the method 500 is described with respect to the automobile platform 100 of FIG. 1 as an example. However, the method 500 may additionally or alternatively be performed by any one system or any combination of systems, including but not limited to those described herein.

[0050] For ease of illustration, the method 500 will be described as being performed by a particular one of the SoC fault aggregators 152 (see FIGS. 1, 2, and 4). In other words, the method 500 may be performed by hardware. With reference to FIG. 5A, in a first block 502, the particular SoC fault aggregator receives a first aggregated fault signal from at least a portion of the first fault aggregators 260-1 through 260-N (see FIGS. 2 and 4).

[0051] In block 506, the particular SoC fault aggregator aggregates those of the first aggregated fault signals that identify faults caused by the corrected errors into a corrected error signal. Then, in block 508, the particular SoC fault aggregator transmits the corrected error signal to the SI 110 (see FIGS. 1, 2, 4, 8, and 10) via the corrected error signal conductor 410 (see FIG. 4). In block 510, the particular SoC fault aggregator sends an interrupt to the interrupt control 154 (see FIGS. 1 and 4) of each corrected error, which forwards the interrupt to the processor 150 (see FIGS. 1 and 4) of the auxiliary safety unit 122 (see FIGS. 1 and 4). Each interrupt notifies the processor 150 of the corrected error associated with the interrupt.

[0052] At block 512, the particular SoC fault aggregator starts a corrected error timer 420C (see FIG. 4) for the first corrected error identified in the corrected error signal.

[0053] At decision block 514, the particular SoC fault aggregator determines whether the first corrected error has been removed from the particular SoC fault aggregator. When the first corrected error has been removed before the corrected error timer 420C (see FIG. 4) indicates that more than a second predetermined amount of time has elapsed, the determination at decision block 514 is "yes". Otherwise, the determination at decision block 514 is "no". When the determination at decision block 514 is "yes", the particular SoC fault aggregator takes no action at block 515. On the other hand, when the determination at decision block 514 is "no", the particular SoC fault aggregator proceeds to decision block 516.

[0054] At decision block 516, processor 150 determines whether corrected error timer 420C (see FIG. 4) indicates that more than a second predetermined amount of time has passed, meaning that corrected error timer 420C has timed out or expired. When the second predetermined amount of time has passed, the decision at decision block 516 is "yes." Otherwise, the decision at decision block 516 is "no." When the decision at decision block 516 is "yes," the particular SoC fault aggregator proceeds to block 518. Otherwise, when the decision at decision block 516 is "no," the particular SoC fault aggregator returns to decision block 514 to wait for the first corrected error to be cleared by processor 150. Thus, the particular SoC fault aggregator continues to monitor whether the first corrected error has been cleared and whether corrected error timer 420C has expired. If the first corrected error is removed before the corrected error timer 420C expires, the particular SoC fault aggregator takes no action in block 515. On the other hand, if the corrected error timer 420C expires before the first corrected error is removed, the particular SoC fault aggregator proceeds to block 518. In block 518, the particular SoC fault aggregator transmits an SoC fault aggregator signal to SI 110 (see FIGS. 1, 2, 4, 8, and 10) via SoC fault aggregator signal conductor 414 (see FIG. 4).

[0055] In block 520, the particular SoC fault aggregator aggregates those of the first aggregated fault signals received in block 502 that identify faults caused by errors that were not corrected into an uncorrected error signal. Then, in block 522, the particular SoC fault aggregator transmits the uncorrected error signal to the SI 110 (see FIGS. 1, 2, 4, 8, and 10) via the uncorrected error signal conductor 412 (see FIG. 4). In block 524, the particular SoC fault aggregator sends an interrupt to the interrupt control 154 (see FIGS. 1 and 4) of each uncorrected error, which forwards the interrupt to the processor 150 (see FIGS. 1 and 4) of the auxiliary safety unit 122 (see FIGS. 1 and 4). Each interrupt notifies the processor 150 of the uncorrected error associated with the interrupt.

[0056] At block 526, the particular SoC fault aggregator starts an uncorrected error timer 420U (see FIG. 4) for the first uncorrected error identified in the uncorrected error signal.

[0057] At decision block 528, the particular SoC fault aggregator determines whether the first uncorrected error has been removed from the particular SoC fault aggregator. When the first uncorrected error has been removed before the uncorrected error timer 420U (see FIG. 4) indicates that more than a third predetermined amount of time has elapsed, the determination at decision block 528 is "yes". Otherwise, the determination at decision block 528 is "no". When the determination at decision block 528 is "yes", at block 529, the particular SoC fault aggregator takes no action. When the determination at decision block 528 is "no", the particular SoC fault aggregator proceeds to decision block 530.

[0058] In decision block 530, processor 150 determines whether uncorrected error timer 420U indicates that more than a third predetermined amount of time has passed, meaning that uncorrected error timer 420U (see FIG. 4) has timed out or expired. When the third predetermined amount of time has passed, the decision in decision block 530 is "yes." Otherwise, the decision in decision block 530 is "no." When the decision in decision block 530 is "yes," the particular SoC fault aggregator proceeds to block 532. On the other hand, when the decision in decision block 530 is "no," the particular SoC fault aggregator returns to decision block 528 to wait for the first uncorrected error to be cleared by processor 150. Thus, the particular SoC fault aggregator continues to monitor whether the first uncorrected error has been cleared and whether uncorrected error timer 420U has expired. If the first uncorrected error is removed before the uncorrected error timer 420U expires, the particular SoC fault aggregator takes no action at block 529. On the other hand, if the uncorrected error timer 420U expires before the first uncorrected error is removed, the particular SoC fault aggregator proceeds to block 532. At block 532, the particular SoC fault aggregator transmits an SoC fault aggregator signal to the SI 110 (see FIGS. 1, 2, 4, 8, and 10) via the SoC fault aggregator signal conductor 414 (see FIG. 4). At this point, the method 500 ends.

[0059] FIG. 5B is a flow diagram illustrating a method 540 that the processor 150 (see FIGS. 1 and 4) may use to process an interrupt received from the SoC fault aggregator 152 (see FIGS. 1, 2, and 4) according to some embodiments of the present disclosure. Referring now to FIG. 5B, each block of the method 540 described herein includes a computational process that may be performed using any combination of hardware, firmware, and / or software. For example, various functions may be performed by a processor (e.g., the processor 150) executing instructions stored in a memory. At least a portion of the method 540 may be implemented as computer usable instructions stored on a computer storage medium. The method 540 may be provided by a standalone application, a service, or a hosted service (standalone or in combination with another hosted service), or a plug-in to another product, to name a few examples. Additionally, the method 540 is described with respect to the automotive platform 100 of FIG. 1 as an example. However, the method 540 may additionally or alternatively be performed by any one system or any combination of systems, including but not limited to those described herein.

[0060] For ease of illustration, method 540 will be described as being performed by processor 150 (see FIGS. 1 and 4). With reference to FIG. 5B, in a first block 541, processor 150 receives a particular interrupt from a particular one of SoC fault aggregators 152. Then, in block 542, processor 150 may triage one or more errors identified in the particular interrupt and take one or more corrective actions to address the errors.

[0061] If a problem occurs while processor 150 is triaging the error and / or taking corrective action, processor 150 may not be able to continue processing the particular interrupt. When this occurs, the determination at decision block 543 is "yes" and processor 150 takes no further action with respect to the particular interrupt at block 544. On the other hand, if processor 150 is able to triage the particular interrupt and optionally take corrective action, the determination at decision block 543 is "no". When the determination at decision block 543 is "no", processor 150 writes information related to the particular interrupt to mailbox 156, which may be read by processor 140, at block 545. Next, processor 150 sends a mailbox interrupt to interrupt controller 141 via mailbox interrupt signal conductor 416 at block 546. The mailbox interrupt indicates the severity of the error identified in the interrupt received at block 541.

[0062] Then, in decision block 547, processor 150 determines whether processor 150 should clear the fault for which the particular interrupt was generated from the particular SoC fault aggregator. When processor 150 determines to clear the fault, the decision in decision block 547 is "yes". Otherwise, the decision in decision block 547 is "no". The decision in decision block 547 may be "yes" when corrective action taken by processor 150 was able to address the error or the fault was generated by a corrected error (e.g., an error corrected by one of logic blocks LB(1)-LB(N)). As another non-limiting example, the decision in decision block 547 may be "yes" when processor 150 receives a mailbox interrupt from processor 140 indicating that processor 140 has cleared the error. When the decision in decision block 547 is "no", in block 548, processor 150 does not take further action regarding the particular interrupt. On the other hand, when the determination at decision block 547 is "YES", at block 549, processor 150 removes the fault from the particular SoC fault aggregator. Processor 150 may notify processor 140 that the fault has been removed from the particular SoC fault aggregator. Method 540 then ends.

[0063] FIG. 5C is a flow diagram illustrating a method 550 that the SI 110 (see FIGS. 1, 2, 4, 8, and 10) may use to process modified and unmodified error signals, according to some embodiments of the present disclosure. Referring now to FIG. 5C, each block of the method 550 described herein includes a computational process that may be performed using any combination of hardware, firmware, and / or software. For example, various functions may be performed by a processor (e.g., the processor 140 shown in FIGS. 1, 2, and 4) executing instructions (e.g., the instructions 149 shown in FIGS. 1, 2, and 4) stored in a memory (e.g., the volatile memory 146 shown in FIGS. 1, 2, and 4). At least a portion of the method 550 may be implemented as computer usable instructions stored in a computer storage medium. The method 550 may be provided by a standalone application, a service, or a hosted service (standalone or in combination with another hosted service), or a plug-in to another product, to name a few examples. In addition, the method 550 is described with respect to the automobile platform 100 of FIG. 1, as an example. However, method 550 may additionally or alternatively be performed by any one system or combination of systems, including but not limited to those described herein.

[0064] For ease of illustration, method 550 will be described as being performed by SI fault aggregator 142 (see FIGS. 1, 2, and 4) and processor 140 (see FIGS. 1, 2, and 4). Referring to FIG. 5C, in a first block 552, SI fault aggregator 142 of SI 110 (see FIGS. 1, 2, 4, 8, and 10) receives a corrected error signal that sets status bit "BT1" and / or an uncorrected error signal that sets status bit "BT2". When SI fault aggregator 142 receives a corrected error signal on corrected error signal conductor 410, in block 554, SI fault aggregator 142 sends an interrupt to interrupt controller 141 (see FIGS. 1, 2, and 4) of processor 140. The interrupt informs processor 140 of the corrected error.

[0065] At decision block 556, processor 140 (see FIGS. 1, 2, and 4) determines whether a mailbox interrupt has been received from processor 150 (see FIGS. 1 and 4) via mailbox interrupt signal conductor 416. When a mailbox interrupt is received, the mailbox interrupt indicates the severity of the corrected error. When processor 140 has received a mailbox interrupt, the decision at decision block 556 is "yes." Otherwise, the decision at decision block 556 is "no." When the decision at decision block 556 is "no," processor 140 waits at block 558 to receive a mailbox interrupt or a SoC fault aggregator signal. When the decision at decision block 556 is "yes," processor 140 proceeds to decision block 560.

[0066] At decision block 560, processor 140 (see FIGS. 1, 2, and 4) determines whether to read mailbox 156. This determination may be based at least in part on the severity of the corrected error communicated to processor 140 by the mailbox interrupt. For example, processor 140 may determine not to read mailbox 156 if the severity of the corrected error is equal to or greater than a threshold (e.g., 7) and may determine to read mailbox 156 if the severity of the corrected error is less than the threshold. When the determination at decision block 560 is "yes," processor 140 reads mailbox 156 at block 562. Processor 140 then proceeds to block 564 where processor 140 removes the corrected error, for example, by unsetting status bit "BT1." When the determination at decision block 560 is "no," processor 140 proceeds to block 564 where processor 140 removes the corrected error, for example, by unsetting status bit "BT1." Processor 140 may wait for notification from processor 150 that a fault corresponding to the corrected error has been cleared from a particular SoC fault aggregator before processor 140 removes the corrected error from SI fault aggregator 142. However, because the error has been corrected, in some embodiments processor 140 may simply clear the corrected error without first receiving such a notification.

[0067] When SI fault aggregator 142 receives an uncorrected error signal on uncorrected error signal conductor 412, in block 566 SI fault aggregator 142 sends an interrupt to interrupt controller 141 (see FIGS. 1, 2, and 4) of processor 140. The interrupt informs processor 140 of the uncorrected error.

[0068] At decision block 568, processor 140 (see FIGS. 1, 2, and 4) determines whether a mailbox interrupt has been received from processor 150 (see FIGS. 1 and 4) via mailbox interrupt signal conductor 416. When a mailbox interrupt is received, the mailbox interrupt indicates the severity of an uncorrected error. When processor 140 receives a mailbox interrupt, the decision at decision block 568 is "yes." Otherwise, the decision at decision block 568 is "no." When the decision at decision block 568 is "no," processor 140 waits at block 558 to receive either a mailbox interrupt or an SoC fault aggregator signal. When the decision at decision block 568 is "yes," processor 140 proceeds to decision block 570.

[0069] At decision block 570, processor 140 (see FIGS. 1, 2, and 4) determines whether to read mailbox 156. This decision may be based at least in part on the severity of the uncorrected errors. For example, processor 140 may determine not to read mailbox 156 if the severity of the uncorrected errors is equal to or greater than a threshold (e.g., 7) and may determine to read mailbox 156 if the severity of the corrected errors is less than the threshold. When the decision at decision block 570 is "yes," processor 140 reads mailbox 156 at block 572. Processor 140 then proceeds to decision block 573. When the decision at decision block 570 is "no," processor 140 proceeds to block 573.

[0070] At decision block 573, processor 140 determines whether to take one or more corrective actions. If the determination at decision block 573 is "yes," then at block 574, processor 140 takes corrective action, e.g., applying the vehicle brakes. Processor 140 then proceeds to decision block 575.

[0071] If the decision at decision block 573 is "no", the processor 140 proceeds to decision block 575. At decision block 575, the processor 140 determines whether to notify the external system 404. If the decision at decision block 575 is "yes", at block 576, the processor 140 notifies the external system 404 and proceeds to block 578. If the decision at decision block 575 is "no", the processor 140 proceeds to block 578.

[0072] In block 578, processor 140 clears the uncorrected error by sending a mailbox interrupt to mailbox 156 and / or clearing status bit “BT2”, for example. Optionally, processor 140 may write fault information to mailbox 156. Processor 140 may wait for notification from processor 150 that the fault corresponding to the uncorrected error has been cleared from the particular SoC fault aggregator before processor 140 clears the uncorrected error from SI fault aggregator 142. Method 550 then ends. A mailbox interrupt may be received by processor 150 and used in decision block 547 (see FIG. 5B ) when processor 150 determines whether to clear the fault corresponding to the uncorrected error. Processor 150 may optionally read the fault information written by processor 140 to mailbox 156 before making this determination.

[0073] FIG. 5D is a flow diagram illustrating a method 580 that the SI 110 (see FIGS. 1, 2, 4, 8, and 10) may use to process an SoC fault aggregator signal, according to some embodiments of the present disclosure. Referring now to FIG. 5D, each block of the method 580 described herein includes a computational process that may be performed using any combination of hardware, firmware, and / or software. For example, various functions may be performed by a processor (e.g., the processor 140 shown in FIGS. 1, 2, and 4) executing instructions (e.g., the instructions 149 shown in FIGS. 1, 2, and 4) stored in a memory (e.g., the volatile memory 146 shown in FIGS. 1, 2, and 4). At least a portion of the method 580 may be implemented as computer usable instructions stored in a computer storage medium. The method 580 may be provided by a standalone application, a service, or a hosted service (standalone or in combination with another hosted service), or a plug-in to another product, to name a few examples. In addition, the method 580 is described with respect to the automotive platform 100 of FIG. 1, as an example. However, method 580 may additionally or alternatively be performed by any one system or combination of systems, including but not limited to those described herein.

[0074] For ease of illustration, the method 580 will be described as being performed by the SI fault aggregator 142 (see FIGS. 1, 2, and 4), the processor 140 (see FIGS. 1, 2, and 4), and the SoC error handling circuit 422 (see FIG. 4). The SoC error handling circuit 422 may be implemented as a component of the SI fault aggregator 142. Referring to FIG. 5D, in a first block 582, the SI fault aggregator 142 (see FIGS. 1, 2, and 4) receives a SoC fault aggregator signal, which sets a status bit "BT3."

[0075] As indicated by the dashed arrow in FIG. 5D, when the SI fault aggregator 142 (see FIGS. 1, 2, and 4) receives the SoC fault aggregator signal, the SoC error handling circuit 422 (see FIG. 4) of the SI 110 may automatically proceed to block 584 and may automatically send an SoC error signal including the SoC error to the external system 404 (see FIG. 4) via the connection 406 (see FIG. 4). Alternatively, the SoC error handling circuit 422 may proceed to block 586 and may start the SoC fault timer 424 (see FIG. 4). The SoC fault timer 424 may provide a delay between when the SoC fault aggregator signal is received and when the external system 404 is notified. When the SoC fault timer 424 is running, the processor 140 may take one or more corrective actions. If the corrective action is successful, processor 140 may clear the uncorrected error by unsetting status bit “BT2” and may clear the SoC fault aggregator error by unsetting status bit “BT3”. Clearing the SoC fault aggregator error stops SoC fault timer 424. Processor 140 may wait for notification from processor 150 that the fault corresponding to the uncorrected error has been cleared from the particular SoC fault aggregator before processor 140 clears the uncorrected error from SI fault aggregator 142.

[0076] After the SoC fault timer 424 is started, in decision block 588, the SoC error handling circuit 422 determines whether the SoC fault timer 424 indicates that more than a fourth predetermined amount of time has elapsed. When the SoC fault timer 424 indicates that more than the fourth predetermined amount of time has elapsed and the SoC fault aggregator error has not been removed, the determination in decision block 588 is "yes." On the other hand, when the SoC fault aggregator error is removed before the SoC fault timer 424 indicates that more than the fourth predetermined amount of time has elapsed, the determination in decision block 588 is "no."

[0077] If the determination at decision block 588 is "no", then in block 590 the SoC error handling circuit 422 waits for the SoC fault timer 424 to indicate that more than a fourth predetermined amount of time has elapsed. On the other hand, if the determination at decision block 588 is "yes", then in block 584 the SoC error handling circuit 422 sends an SoC error signal including an SoC error via connection 406 (see FIG. 4 ) to external system 404 (see FIG. 4 ) indicating that the first uncorrected error was not removed and that an SoC fault aggregator error has been asserted. The SoC fault timer 424 automatically stops and / or resets when the SoC error is sent. Alternatively, the SoC error handling circuit 422 may reset the SoC fault timer 424, or the SoC fault timer 424 may simply expire without the SoC error handling circuit 422 taking any action.

[0078] After the SI fault aggregator 142 (see FIGS. 1, 2, and 4) receives the SoC fault aggregator signal, in block 592, the SI fault aggregator 142 may send an interrupt to the processor 140. In block 594, the processor 140 triages the first uncorrected error. In decision block 595, the processor 140 decides whether to take one or more corrective actions. When the processor 140 decides to take one or more corrective actions, the decision in decision block 595 is "yes". Otherwise, the decision in decision block 595 is "no". When the decision in decision block 595 is "no", the processor 140 proceeds to block 596 and takes no action. On the other hand, when the decision in decision block 595 is "yes", in block 597, the processor 140 takes corrective actions.

[0079] Then, in block 598, processor 140 sends a mailbox interrupt to mailbox 156 and / or clears the SoC fault aggregator error, for example, by clearing status bit “BT3” and the uncorrected error, for example, by clearing status bit “BT2”. Clearing the SoC fault aggregator error stops SoC fault timer 424. The mailbox interrupt sent to mailbox 156 may indicate that the uncorrected error has been cleared and / or that processor 140 has taken corrective action in block 597. Optionally, processor 140 may write the fault information to mailbox 156. Processor 140 may wait for notification from processor 150 that the fault corresponding to the uncorrected error has been cleared from the particular SoC fault aggregator before processor 140 clears the SoC fault aggregator error and the uncorrected error from SI fault aggregator 142. Method 580 then ends. A mailbox interrupt is received by processor 150, which may clear the fault corresponding to the uncorrected error. Processor 150 may optionally read the fault information written by processor 140 to mailbox 156 before clearing the fault.

[0080] In Figures 5A-5D, the automotive SoC 104 includes a processor 150. In at least some embodiments, the processor 150 may be omitted. In such embodiments, the method 540 would not be performed. At each fault, the particular SoC fault aggregator would generate and send an SoC fault aggregator error to the SI fault aggregator 142 (blocks 518 and 532). Because the processor 150 is not present, a mailbox interrupt would not be sent to the interrupt controller 141, and thus the processor 140 would wait for the SoC fault aggregator signal before acting (block 558 of Figure 5C). Then, when an SoC fault aggregator error is received (block 582 of Figure 5D), the SI 110 would step in to the other components 160 to triage (block 594 of Figure 5D) the respective corrected and uncorrected errors received in the method 550 (see Figure 5C). If the triage is successful, the processor 140 takes corrective action (block 597 of FIG. 5D). On the other hand, if the triage is unsuccessful, the processor 140 takes no action (block 596 of FIG. 5D) and causes the SoC error handling circuit 422 to send an SoC error (without software intervention) after the SoC fault timer 424 expires (block 584 of FIG. 5D). The SoC error is notified to the external system 404 (e.g., the optional external control unit 106, one or more external microcontrollers, one or more external agents, and the like), enabling the external system 404 to return the vehicle platform 100 (see FIG. 1) to a safe state.

[0081] 6A-6C illustrate example actions that may be taken by the SI 110 when the SI 110 is notified of a particular fault by at least one of a corrected error signal, an uncorrected error signal, or a SoC fault aggregator signal. FIG. 6A illustrates an example signal timing diagram of signals received and transmitted by the processor 140 after a low severity uncorrected error (e.g., a minimum value) is asserted, according to some embodiments of the present disclosure. Lines 612A-618A in FIG. 6A respectively represent an uncorrected error signal, a mailbox interrupt signal, a SoC fault aggregation signal, and a SoC error signal. The uncorrected error signal, the mailbox interrupt signal, the SoC fault aggregation signal, and the SoC error signal are synchronized with a clock signal represented by line 610A. The clock signal represented by line 610A is generated based on a second (SI) clock 114 (see FIG. 1) in the SI domain.

[0082] Line 612A represents an uncorrected error signal carried by uncorrected error signal conductor 412 (see FIG. 4) to SI fault aggregator 142. A portion 622A of line 612A represents an assertion of an uncorrected error. After receiving the uncorrected error signal (e.g., block 552 of FIG. 5C), SI fault aggregator 142 sends an interrupt to processor 140 (e.g., block 566 of FIG. 5C).

[0083] Then, in FIG. 6A, interrupt controller 141 receives a mailbox interrupt (the decision at decision block 568 of FIG. 5C is "yes"). A portion 626A of line 614A represents a mailbox interrupt (sent by processor 150) indicating the severity of an uncorrected error. Because the mailbox interrupt indicates that the particular fault has a low severity, processor 140 decides to access mailbox 156 (e.g., the decision at decision block 570 of FIG. 5C is "yes") and reads the contents of mailbox 156 (e.g., block 572 of FIG. 5C). If mailbox 156 contains fault information (created by processor 150) indicating that the particular fault has been cleared, processor 140 clears the particular fault in SI fault aggregator 142 (e.g., block 578 of FIG. 5C). If this occurs before the corrected error timer 420U expires, the SoC fault aggregator 152 will not assert a SoC fault aggregator error (eg, block 529 of FIG. 5A).

[0084] On the other hand, if the contents of mailbox 156 do not indicate that processor 150 has cleared the particular fault, processor 140 may decide to take one or more corrective actions (e.g., the decision at decision block 573 of FIG. 5C is “yes”). If the corrective action (e.g., taken at block 574 of FIG. 5C) is successful, processor 140 may notify processor 150 to deassert the error (or clear the fault). For example, processor 140 may send a mailbox interrupt to processor 150 and / or write fault information to mailbox 156. After processor 150 receives this notification and deasserts the error, processor 150 notifies processor 140 that the error has been deasserted (e.g., via an uncorrected error signal, a mailbox interrupt, and / or fault information stored in mailbox 156). After receiving this notification, processor 140 may clear the error, for example, by clearing status bit "BT2" (e.g., block 578 of FIG. 5C). After processor 140 reads mailbox 156 and takes corrective action, portion 624A of line 612A represents the deassertion of the uncorrected error. Curved arrow 628A represents the delay between when processor 140 receives the mailbox interrupt and when processor 140 deasserts the error (or clears the fault).

[0085] When the corrective action is successful, processor 140 may send a mailbox interrupt to mailbox 156 indicating that processor 140 has removed the particular fault (e.g., block 578 of FIG. 5C). Optionally, processor 140 may write the fault information to mailbox 156. Processor 150 receives the mailbox interrupt, determines that the particular fault has been corrected by processor 140 (e.g., the determination at decision block 547 is “yes”), and removes the particular fault from SoC fault aggregator 152 (e.g., block 549 of FIG. 5B). If this occurs before uncorrected error timer 420U expires, SoC fault aggregator 152 will not assert a SoC fault aggregator error (e.g., block 529 of FIG. 5A). Thus, SoC fault aggregator 152 monitors a particular fault to ensure that it is handled by one of processors 140 and 150, and when a particular fault is not cleared before uncorrected error timer 420U expires, SoC fault aggregator 152 notifies SoC error handling circuit 422. As described above, after processor 150 deasserts the error, processor 150 may notify processor 140 that the error was deasserted (e.g., via an uncorrected error signal, a mailbox interrupt, and / or fault information stored in mailbox 156), and processor 140 may clear the error in SI fault aggregator 142.

[0086] Line 616A represents the SoC fault aggregation signal and indicates that the SoC fault aggregation error was not asserted, and therefore the uncorrected fault was cleared before the uncorrected error timer 420U expired.

[0087] Line 618A represents an SoC error signal that may be sent to an external system 404 (e.g., optional external control unit 106, one or more external microcontrollers, one or more external agents, and the like) via connection 406. Because the uncorrected error was processed and the SoC fault aggregation error was not asserted, line 618A indicates that the SI 110 does not notify the external system 404 of the uncorrected error (e.g., the decision at decision block 575 is “no”).

[0088] 6B illustrates an example signal timing diagram of signals received and transmitted by processor 140 after a high severity uncorrected error (e.g., maximum value) is asserted, according to some embodiments of the present disclosure. Lines 612B-618B in FIG. 6B represent an uncorrected error signal, a mailbox interrupt signal, a SoC fault aggregation signal, and a SoC error signal, respectively. The uncorrected error signal, the mailbox interrupt signal, the SoC fault aggregation signal, and the SoC error signal are synchronized with a clock signal represented by line 610B. The clock signal represented by line 610B is generated based on a second (SI) clock 114 (see FIG. 1) in the SI domain.

[0089] Line 612B represents an uncorrected error signal carried by uncorrected error signal conductor 412 (see FIG. 4) to SI fault aggregator 142. A portion 622B of line 612B represents an assertion of an uncorrected error. After receiving the uncorrected error signal (e.g., block 552 of FIG. 5C), SI fault aggregator 142 sends an interrupt to processor 140 (e.g., block 566 of FIG. 5C).

[0090] Then, in FIG. 6B, the interrupt controller 141 receives a mailbox interrupt (e.g., the decision at decision block 568 in FIG. 5C is “yes”). A portion 624B of the line 614B represents a mailbox interrupt indicating that the first uncorrected error has a high severity (e.g., 7). Because the mailbox interrupt indicates that the particular fault has a high severity, the processor 140 decides not to access the mailbox 156 (e.g., the decision at decision block 570 in FIG. 5C is “no”). For example, the processor 140 may determine that it is too dangerous to access other components 160 of the automobile SoC 104 and that doing so may harm the SI 110. In FIG. 6B, the processor 140 also decides not to take one or more corrective actions (e.g., the decision at decision block 573 in FIG. 5C is “no”). In FIG. 6B, the uncorrected error is not deasserted because the SI 110 cannot perform one or more corrective actions.

[0091] However, the processor 140 decides to notify the external system 404 (see FIG. 4) by sending an SoC error in the SoC error signal (e.g., the decision at decision block 575 of FIG. 5C is "yes"). The processor 140 then sends the SoC error signal (e.g., block 576 of FIG. 5C). Thus, in FIG. 6B, when the severity of the fault is high (e.g., at a maximum value), the SI 110 may decide not to access the automobile SoC 104, not to take corrective action, and instead notify the external system 404. Line 618B represents the SoC error signal sent by the SI 110 to the external system 404, and a portion 626B of line 618B represents the assertion of the SoC error. Line 616B represents the SoC fault aggregation signal, not yet indicating that the SoC fault aggregation error has been asserted. Therefore, the SI 110 realizes that an uncorrected error has not been handled and decides to notify the external system 404 before the SoC fault aggregation error is asserted.

[0092] 6C illustrates an example signal timing diagram of signals received and transmitted by processor 140 after an uncorrected error (e.g., a maximum value) is asserted but SI 110 does not receive a mailbox interrupt, according to some embodiments of the present disclosure. Lines 612C-618C in FIG. 6C represent an uncorrected error signal, a mailbox interrupt signal, a SoC fault aggregation signal, and a SoC error signal, respectively. The uncorrected error signal, the mailbox interrupt signal, the SoC fault aggregation signal, and the SoC error signal are synchronized with a clock signal represented by line 610C. The clock signal represented by line 610C is generated based on a second (SI) clock 114 (see FIG. 1) in the SI domain.

[0093] Line 612C represents an uncorrected error signal carried by uncorrected error signal conductor 412 (see FIG. 4) to SI fault aggregator 142. A portion 622C of line 612C represents an assertion of an uncorrected error. After receiving the uncorrected error signal (e.g., block 552 of FIG. 5C), SI fault aggregator 142 sends an interrupt to processor 140 (e.g., block 566 of FIG. 5C).

[0094] In FIG. 6C, line 614C does not indicate that a mailbox interrupt is received. Thus, in this example, interrupt controller 141 does not receive a mailbox interrupt (e.g., the decision at decision block 568 of FIG. 5C is "no"). This may occur, for example, when processor 150 fails to complete triage of an uncorrected error (e.g., block 542 of FIG. 5B) that causes processor 150 to fail to send a mailbox interrupt (e.g., block 544 of FIG. 5B) (the decision at decision block 543 of FIG. 5C is "yes"). Thus, processor 140 waits to receive either a mailbox interrupt or a SoC fault aggregator error, whichever occurs first (e.g., block 558 of FIG. 5C).

[0095] Line 628C represents a third predetermined amount of time and indicates that the uncorrected error timer 420U has expired. Because neither processor 140 nor processor 150 was able to remove the first uncorrected error, the particular one of the SoC fault aggregators 152 that sent the uncorrected error signal to the SI 110 and the interrupt to the processor 150 caused the particular one of the SoC fault aggregators 152 to send an SoC fault aggregator signal to the SI fault aggregator 142 via the SoC fault aggregator signal conductor 414 (e.g., at block 532 of FIG. 5A), and the uncorrected error timer 420U is allowed to expire (e.g., the decision at decision block 530 of FIG. 5A is "yes"). The SI fault aggregator 142 receives the SoC fault aggregator signal (e.g., at block 582 of FIG. 5D). A portion 624C of line 616C represents an SI fault aggregator error sent by the particular SoC fault aggregator to the SI 110. The curved arrow 630C represents the delay between when the uncorrected error is received by the SI 110 and when the SI failure aggregator error is received by the SI 110.

[0096] After receiving the SI fault aggregator signal (e.g., block 582 of FIG. 5D), the SI fault aggregator 142 sends an interrupt to the processor 140 (e.g., block 592 of FIG. 5D). The processor 140 may then triage the first uncorrected error (e.g., block 594 of FIG. 5D) and determine whether to take corrective action. If the processor 140 cannot take corrective action (e.g., the decision at decision block 595 of FIG. 5D is "no"), the SoC error handling circuit 422 will send an SoC error signal to the external system 404 (e.g., block 584 of FIG. 5C). A portion 626C of the line 612C represents the SoC error sent to the external system 404. In an embodiment using the SoC fault timer 424, the SoC error is sent when the SoC fault timer 424 expires. 6C, line 632C indicates that more than a fourth predetermined amount of time has passed, meaning that the SoC fault timer 424 has expired. The curved arrow 634C represents the delay between when the SI fault aggregator error is received by the SI 110 and when the SoC error is asserted by the SI 110. Thus, hardware in the SI 110 notifies the external system 404, which will attempt to return the vehicle platform 100 to a safe state.

[0097] 2, as previously described, the SI 110 and the other components 160 of the automotive SoC 104 share the volatile memory 126. However, the SI 110 may operate within a first risk classification level, while the other components 160 of the automotive SoC 104 operate within a lower, second risk classification level. For example, the SI 110 may operate at ASIL-D, while the other components of the automotive SoC, including the volatile memory 126 and communication paths between the SI 110 and the volatile memory 126 (e.g., interconnects, memory controllers, and the like), may operate at ASIL-B.

[0098] To allow the SI 110 to share the volatile memory 126 with other components 160 of the automotive SoC 104, a separate dedicated memory area (referred to as a “carve-out” 250) is created in the volatile memory 126 for exclusive use by the SI 110. The carve-out 250 may not be visible to memory management software (e.g., Rich OS Memory Management software) executed by the main CPU complex 120 (see FIG. 1). The carve-out 250 may be created and configured at boot time and may remain dedicated to the SI 110 for a given boot cycle. For example, the size of the carve-out 250 may be determined by a user-editable software parameter used by software (e.g., executed by the main CPU complex 120) to configure the carve-out 250. The carve-out 250 may be divided into a first subsection 252 (see FIG. 8) and a second subsection 254 (see FIG. 8). The SI 110 may access the carve-out 250 via a communication pathway operating at a first risk classification level, and any access to the carve-out 250 by the SI 110 via a communication pathway may be subject to security authorization checks, such as those described below.

[0099] SI 110 includes an error detection block 272, which includes hardware located between other components of SI 110 and carve-out 250. Thus, error detection block 272 may be implemented as a component of volatile memory interface 200A. Alternatively, error detection block 272 may be located between processor 140 and volatile memory interface 200A. In such an embodiment, one or more signal conductors (e.g., wires, signal traces, and the like) may connect error detection block 272 to each of processor 140 and volatile memory interface 200A.

[0100] The hardware of the error detection block 272 may include a code generation sub-block 273 (see FIG. 8). The code generation sub-block 273 may be implemented using a cyclic redundancy check ("CRC") code generation circuit that generates a CRC code. Alternatively, the error detection block 272 may include other types of code generation circuitry that generates different types of error detection codes, e.g., error correcting code ("ECC"). The hardware of the error detection block 272 determines one or more error detection codes (e.g., CRC codes) for data passing through the error detection block 272. For example, the error detection block 272 may determine a separate error detection code for each byte of data passing through the error detection block 272. The error detection codes may be calculated based on the byte and the data address within the carve-out 250 where the byte is to be stored. For example, the following Equation 1 may be used to determine the error detection code for a particular byte of data to be written to the carve-out 250: crc_out Byte x =CRC(byte address, byte data) Equation 1

[0101] In the above equation 1, the variable “crc_out Byte x " represents an error detection code that is calculated based on a byte, represented by the variable "byte_data", and the data address, represented by the variable "byte_address". In Equation 1, the function "CRC" uses the values ​​of the variables "byte_data" and "byte_address" as inputs and the variable "crc_out" Byte x The output of the function "CRC", when present, may be at least partially calculated by the code generation sub-block 273 (see FIG. 8).

[0102] After the error detection code is determined, the error detection block 272 determines the code address of the error detection code (e.g., using an offset). For example, the following Equation 2 may be used to determine the error detection code for a particular byte of data to be written to the carve out 250: crc_out_address=write_address+fixed_offset Equation 2

[0103] In Equation 2 above, the variable "crc_out_address" represents a code address calculated based on a data address, represented by the variable "write_address", in bytes and an offset, represented by the variable "fixed_offset". As previously described, the carve-out 250 may be divided into subsections having a first subsection 252 (see FIG. 8) that stores data and a second subsection 254 (see FIG. 8) that stores error detection code. Thus, the data address, represented by the variable "byte_address" in Equation 1 above, may be located in the first subsection 252, and the code address, represented by the variable "write_address" in Equation 2 above, may be located in the second subsection 254. In such an embodiment, the value of the variable "fixed_offset" may be equal to the size of the first subsection 252 of the carve-out 250 to ensure that the error detection code will be stored in the second subsection 254. In this scheme, address-based isolation is used to isolate the data from the error detection code so that a failure occurring in one of the first and second subsections 252 and 254 does not have to affect the other.

[0104] The error detection block 272 introduces a delay (e.g., a few clock cycles) between the storage of data at the data address and the storage of the error detection code at the code address. This delay reduces the likelihood that an event (e.g., a transient event) that adversely affects the data will also adversely affect the error detection code. In other words, the delay helps provide immunity from common cause failures and transient failures, which helps provide protection from problems such as clock glitches. The error detection block 272 may buffer multiple bytes of data and their corresponding error detection codes before storing them in the carve-out 250. The error detection block 272 may then store the bytes of data (e.g., 16 bytes) in the first subsection 252 followed by a delay. The error detection block 272 may then store the corresponding error detection code (e.g., 16 bytes) in the second subsection 254.

[0105] Referring now to FIG. 7, each block of the method 700 described herein includes a process that may be performed using any combination of hardware, firmware, and / or software. For example, the method 700 may be performed by the hardware of the error detection block 272 (see FIGS. 2, 8, and 10). As another non-limiting example, one or more functions may be performed by a processor (e.g., the processor 140 shown in FIGS. 1, 2, and 4) executing instructions (e.g., the instructions 149 shown in FIGS. 1, 2, and 4) stored in a memory (e.g., the volatile memory 146 shown in FIGS. 1, 2, and 4). In such an embodiment, at least a portion of the method 700 may be implemented as computer usable instructions stored in a computer storage medium. The method 700 may be provided by a standalone application, a service, or a hosted service (standalone or in combination with another hosted service), or a plug-in to another product, to name a few. Additionally, the method 700 is described with respect to the automobile platform 100 of FIG. 1, as an example. However, method 700 may additionally or alternatively be performed by any one or combination of systems, including but not limited to those described herein.

[0106] 7 is a flow diagram illustrating a method 700 for writing data to the carve-out 250 (see FIGS. 2, 8, and 10), according to some embodiments of the present disclosure. For ease of illustration, the method 700 will be described as being performed by the error detection block 272 (see FIGS. 2, 8, and 10). Before the method 700 begins, an initiator (e.g., the processor 140, the DMA engine 402, or similar) operating in the SI domain transfers a first write command including data and a data address to the error detection block 272. The initiator may write data having a predetermined size (e.g., 16 bytes) to the carve-out 250.

[0107] Referring to FIG. 7, in a first block 702, the error detection block 272 (see FIGS. 2, 8, and 10) receives a first write command including data and a data address from an initiator. In block 704, the error detection block 272 selects one of a portion of the data and a data address corresponding to the portion. As one non-limiting example, the error detection block 272 may select a byte of data in block 704 and a data address corresponding to the selected byte. In some embodiments, the first write command may include only a single data address (e.g., a first address). Subsequent data addresses may be determined based on the single address (e.g., by adding a predetermined data size to the single data address). Thus, in some embodiments, a data address may be calculated in block 704 for at least some of the data.

[0108] Then, in block 706, the error detection block 272 determines (e.g., using Equation 1 above) an error detection code for the portion of data selected in block 704. Then, in block 708, the error detection block 272 forwards a first write command including the portion of data selected in block 704 and a corresponding data address to the first subsection 252 (see FIGS. 8 and 10) of the carve-out 250 (see FIGS. 2, 8, and 10). In accordance with the first write command, the carve-out 250 stores the portion at the corresponding data address in the first subsection 252.

[0109] In a next block 710, the error detection block 272 (see FIGS. 2, 8, and 10) determines (e.g., using Equation 2 above) the code address of the error detection code determined in block 706. In block 712, the error detection block 272 waits (e.g., a small number of clock cycles) to send the error detection code to the first subsection 252 (see FIGS. 8 and 10) of the carve-out 250 (see FIGS. 2, 8, and 10) for storage at the code address. Thus, in block 712, the error detection block 272 effects a delay between the storage of the data at the data address and the storage of the error detection code at the code address. The error detection block 272 may include a write delay timer (not shown) that is used to determine how long the error detection block 272 waits in block 712. Thus, the error detection block 272 may wait a fifth predetermined amount of time before sending the error detection code to the carve-out 250 for storage at the code address. Next, in block 714, the error detection block 272 forwards a second write command, including the error detection code determined in block 706 and the code address determined in block 710, to the second subsection 254 (see FIGS. 8 and 10) of the carve-out 250 (see FIGS. 2, 8, and 10). Thus, to store data, the error detection block 272 accesses the carve-out 250 twice, once in blocks 708 and 714. In accordance with the second write command, the carve-out 250 stores the error detection code at a code address in the second subsection 254.

[0110] Then, in decision block 716, error detection block 272 (see FIGS. 2, 8, and 10) determines whether any of the data was not stored. When error detection block 272 determines that at least some of the data was not stored, the decision in decision block 716 is "yes". Otherwise, the decision in decision block 516 is "no". When the decision in decision block 716 is "yes", error detection block 272 returns to block 704 to select a new portion of data. On the other hand, when the decision in decision block 716 is "no", error detection block 272 returns to block 702 to receive new data and a new data address.

[0111] As previously discussed, the error detection block 272 may buffer the bytes of data and their corresponding error detection codes before storing them in the carve-out 250. For example, blocks 706-714 may each be performed for a number of blocks of data (e.g., selected in block 704). As one non-limiting example, the error detection block 272 may perform block 706 for the bytes of data before sending a first write command in block 708 to the carve-out 250 with the bytes of data and their corresponding data addresses. For example, the error detection block 272 may send the bytes of data with the first data address to the first subsection 252. The first subsection 252 may write the bytes of data at consecutive memory addresses starting at the first data address. Then, in block 710, the error detection block 272 may determine code addresses of the multiple error detection codes determined in block 706. At block 712, the error detection block 272 effects a delay between writing the byte of data to the carve out 250 and writing the error detection code. Then, at block 714, the error detection block 272 forwards a second write instruction including the error detection code and a code address to the second subsection 254. The second subsection 254 writes the error detection code at the code address. Depending on the details of the implementation, the second write instruction may include only the first code address and the second subsection 254 may write the error detection code at consecutive memory addresses starting at the first code address.

[0112] FIG. 8 illustrates an example of the error detection block 272 performing the method 700 (see FIG. 7). The SI 110 may include one or more initiators 800, such as the processor 140, the DMA engine 402, and the like, each operating within the SI domain. In FIG. 8, the initiator 800 includes an initiator 802 (e.g., the processor 140). The initiator 802 (e.g., the processor 140) may write data having a predetermined size (e.g., 16 bytes) to the carve-out 250. In the example illustrated in FIG. 8, the initiator 802 sends the 16 bytes of data and a first data address to the error detection block 272. The data is stored or represented in FIG. 8 by a 128-bit array named "wdata_in[127:0]" and the first data address is stored or represented in FIG. 8 by a 40-bit array named "Address_0[39:0]". However, depending on the details of the implementation, the data may have other sizes, with 128 bits being provided as one non-limiting example. Similarly, the first data address may have other sizes, with 40 bits being provided as one non-limiting example. A first byte of data may be stored at the first data address, and then a next data address may be identified for a second byte of data by adding one byte to the first data address, and so on. FIG. 8 shows an initiator 802 sending a first write command 804 to the error detection block 272 in a signal 806 via a safety island interconnect 808. As previously described, the first write command 804 includes the data and a first data address. The safe island interconnect 808 may be implemented as a bus and the like.

[0113] The safety island interconnect 808 delivers the first write command 804 to the error detection block 272 (e.g., block 702 of FIG. 7). In the illustrated embodiment, the safety island interconnect 808 delivers the first write command 804 on signals 810-0 to 810-15, each of which includes a byte of data and one of a first data address. In this embodiment, the error detection block 272 generates an error detection code for each byte of data and an error detection code generated in the CRC code. The error detection block 272 may begin processing the bytes as they are received on signals 810-0 to 810-15 (e.g., block 704 of FIG. 7).

[0114] The code generation sub-block 273 then determines an error detection code for each byte of data (e.g., block 706 in FIG. 7). In FIG. 8, the signals carrying the error detection codes and the signal 838 carrying the response from the carve-out 250 related to the error detection codes are indicated by arrows with dashed lines. Thus, the code generation sub-block 273 outputs the bytes of data in signals 812-0 to 812-15 and the corresponding error detection codes in signals 814-0 to 814-15. The (data) signals 812-0 to 812-15 are sent to the first sub-section 252 for storage, and the (code) signals 814-0 to 814-15 are sent to the second sub-section 254 for storage.

[0115] The error detection block 272 sends data and a first data address (e.g., in signals 812-0 to 812-15) to the first subsection 252 of the carve-out 250 via the volatile memory interface 200A (see FIG. 2) at a first time (e.g., identified in FIG. 8 as “Time=T0”). In other words, the error detection block 272 sends a first write command to the first subsection 252 of the carve-out 250 (e.g., block 708 in FIG. 7). The volatile memory interface 200A communicates the first write command to the carve-out 250 via the data backbone and memory subsystem 826 of the automotive SoC 104 (see FIGS. 1, 2, and 4). In FIG. 8, the first write command is sent by the error detection block 272 to the first subsection 252 in signal 824.

[0116] The first subsection 252 writes data to memory by storing a first byte (represented in FIG. 8 as “Data0”) at a first data address (represented in FIG. 8 as “Address_0”) and writing subsequent bytes to subsequent data addresses after the first data address. This write occurs at a first time, represented in FIG. 8 as “Time=T0”. The first subsection 252 then sends a response signal 828 to the initiator 802 acknowledging that the data has been stored. The response signal 828 is sent by the first subsection 252 to the data backbone and memory subsystem 826, which forwards the response signal 828 to the volatile memory interface 200A (see FIG. 2). When the volatile memory interface 200A is unlocked, the volatile memory interface 200A forwards the response signal 828 to the first (data) buffer 820.

[0117] The first (data) buffer 820 reorders the "data write completion responses" received in response signal 828 from the carve-out 250. For example, the error detection block 272 may send a pair of write commands A and B to the carve-out 250 (e.g., in the first write command sent in block 708 of FIG. 7 ), such that write command B is sent by the error detection block 272 after write command A. After the carve-out 250 writes the data contained in write commands A and B, the carve-out 250 sends first and second data write completion responses to the error detection block 272. However, the second data write completion response received for write command B may arrive at the error detection block 272 before the first data write completion response for write command A. When this occurs, the first (data) buffer 820 will store the second data write completion response, wait for the first data write completion response, send the first data write completion response when it arrives, and send the second data write completion response after the first data write completion response. Thus, the first (data) buffer 820 places the data write completion responses in the response signal 828 in the expected order.

[0118] The first (data) buffer 820 forwards the response signal 828 to the safe island interconnect 808, which forwards the response signal 828 to the initiator 802. At this point, in this example, data (e.g., 16 bytes) has been written to the first subsection 252 in a first single write operation.

[0119] The error detection block 272 also determines a first code address based on the first data address (e.g., block 710 in FIG. 7). In FIG. 8, the first code address is calculated by adding 16 megabytes ("MB") to the first data address. However, depending on the implementation details, the offset may have other sizes, and 16 MB is provided as an example. Additionally, the location of the first code address may be determined using other methods and / or calculations.

[0120] The error detection block 272 waits (e.g., block 712 in FIG. 7 ) until a second time (e.g., identified in FIG. 8 as “Time=T1”). The first time and the second time are different. At the second time, the error detection block 272 sends the error detection code and the first code address to the second subsection 254 of the carve-out 250 via the volatile memory interface 200A (see FIG. 2 ). In other words, the error detection block 272 sends (e.g., block 714 in FIG. 7 ) a second write command to the second subsection 254 of the carve-out 250. The volatile memory interface 200A communicates the second write command to the carve-out 250 via the data backbone and memory subsystem 826 of the automotive SoC 104 (see FIGS. 1 , 2 , and 4 ). In FIG. 8 , the second write command is sent by the error detection block 272 to the second subsection 254 in signal 834.

[0121] The second subsection 254 writes the error detection code to memory by storing a first error detection code (represented in FIG. 8 as “CRC0”) at a first code address (represented in FIG. 8 as “Address_1”) and writing subsequent error detection codes to subsequent code addresses after the first code address. The second subsection 254 then sends a response signal 838 to the initiator 802 acknowledging that the error detection code has been stored. In the embodiment shown in FIG. 8, the response signal 838 is sent by the second subsection 254 to the data backbone and memory subsystem 826, which forwards the response signal 838 to the volatile memory interface 200A (see FIG. 2). When the volatile memory interface 200A is unlocked, the volatile memory interface 200A forwards the response signal 838 to the second (code) buffer 822. The second (code) buffer 822 reorders the "code write completion responses" received in response signal 838 from carve-out 250. For example, error detection block 272 determines first and second error detection codes for the data included in write instructions A and B, respectively, and sends the first and second error detection codes to carve-out 250 (e.g., in the second write instruction). After carve-out 250 writes the first and second error detection codes to memory, carve-out 250 sends the first and second code write completion responses, respectively, to second (code) buffer 822. However, the second code write completion response received for the second error detection code may arrive at error detection block 272 before the first code write completion response for the first error detection code. When this occurs, the second (code) buffer 822 will store the second code write completion response, wait for the first code write completion response, send the first code write completion response when it arrives, and send the second code write completion response after the first code write completion response.

[0122] The second (code) buffer 822 may drop the response signal 838. Alternatively, the second (code) buffer 822 may forward the response signal 838 to the safety island interconnect 808, which may forward the response signal 838 to the initiator 802. At this point, in this example, the error detection code (e.g., 16 bytes) has been written to the second subsection 254 in the second single write operation.

[0123] The volatile memory interface 200A may include two parallel and optionally dedicated interfaces connecting the error detection block 272 with the volatile memory 126. Data may be sent to a first data address via the first interface, and an error detection code may be sent to a first code address via the second interface. In such an embodiment, the error detection block 272 may send a first write command including data and a first data address (e.g., in signal 824) to the first subsection 252 via the first interface at the same time that the error detection block 272 sends a second write command including the error detection code and the first code address (e.g., in signal 834) to the second subsection 254 via the second interface. Furthermore, a (data) response signal 828 and a (code) response signal 838 may be sent to the first and second buffers 820 and 822, respectively, simultaneously via the first and second interfaces, respectively.

[0124] When an initiator 802 of the SI 110 (e.g., processor 140) wishes to read data from the carve-out 250, the SI 110 receives both the data and the error detection code from the carve-out 250. The SI 110 introduces a delay between when the data is read from the data address and when the error detection code is read from the code address. This delay reduces the likelihood that an event that affects the data will also affect the error detection code. The SI 110 passes the read data through the error detection block 272, which determines a check code for the read data and compares the error detection code to the check code. This comparison may be represented by the following Equation 3: CRC_gen(requested address, fetched data) == crc_in Byte x (CRC_address) Equation 3

[0125] In Equation 3, the operator "==" indicates whether the expression on the left side of the operator "==" is equal to the expression on the right side of the operator "==". The variable "DATA TO BE FETCHED" represents at least a portion of the data retrieved in block 906 (e.g., byte x), the variable "REQUESTED ADDRESS" represents a data address of that portion of the data, and the variable "CRC_address" represents a code address determined based on the data address of the portion of the data (e.g., byte x). The function "CRC_gen" uses the values ​​of the variables "DATA TO BE FETCHED" and "REQUESTED ADDRESS" as inputs, and the function "CRC_gen" outputs a check code for the portion (e.g., byte x). The function "CRC_gen" may be identical to the function "CRC" in Equation 1 above. The output of the function "CRC_gen", when present, may be at least partially calculated by the code generation sub-block 273 (see FIG. 8). The expression "CRC_in Byte x"(CRC_address)" represents the error detection code obtained from the code address determined for a portion (e.g., byte x) using its data address. Thus, equation 3 determines whether the check code is equal to or matches the error detection code. The error detection block 272 may generate a mismatch error when the check code does not match the error detection code. The error detection block 272 may send the mismatch error to the initiator 802 and the SI fault aggregator 142 so that the mismatch error may be removed by the safety software implemented by instructions 149 and executed by the processor 140.

[0126] Referring now to FIG. 9, each block of the method 900 described herein includes a process that may be performed using any combination of hardware, firmware, and / or software. For example, the method 900 may be performed by the hardware of the error detection block 272 (see FIGS. 2, 8, and 10). As another non-limiting example, one or more functions may be performed by a processor (e.g., the processor 140 shown in FIGS. 1, 2, and 4) executing instructions (e.g., the instructions 149 shown in FIGS. 1, 2, and 4) stored in a memory (e.g., the volatile memory 146 shown in FIGS. 1, 2, and 4). At least a portion of the method 900 may be implemented as computer usable instructions stored in a computer storage medium. The method 900 may be provided by a standalone application, a service, or a hosted service (standalone or in combination with another hosted service), or a plug-in to another product, to name a few. Additionally, the method 900 is described with respect to the automobile platform 100 of FIG. 1, as an example. However, method 900 may additionally or alternatively be performed by any one or combination of systems, including but not limited to those described herein.

[0127] FIG. 9 is a flow diagram illustrating a method 900 for reading data from a carve-out 250 (see FIGS. 2, 8, and 10) according to some embodiments of the present disclosure. For ease of illustration, the method 900 will be described as being performed by the error detection block 272 (see FIGS. 2, 8, and 10). Before the method 900 begins, the initiator 802 (see FIG. 8) transfers a first read command including one or more data addresses to the error detection block 272. As a non-limiting example, the first read command may include only a first data address. Referring to FIG. 9, in a first block 902, the error detection block 272 receives a first read command including a data address from the initiator 802. In block 904, the error detection block 272 transfers the first read command to the first subsection 252 requesting the data stored at the data address. If the first read instruction included only the first data address, the first subsection 252 may read a predetermined amount of data (e.g., 16 bytes) from consecutive memory addresses starting at the first data address. In block 906, the error detection block 272 receives the data stored at the data addresses from the first subsection 252.

[0128] Then, in block 908, the error detection block 272 determines a code address of an error detection code corresponding to the data (e.g., using Equation 2 above). As one non-limiting example, the code addresses may be determined based at least in part on the data addresses. For example, according to Equation 2 above, each of the code addresses may be calculated by adding an offset (the value of the variable "fixed_offset") to a corresponding one of the data addresses (the value of the variable "write_address"). Depending on the details of the implementation, the error detection block 272 may identify only the first code address based on the first data address. Then, in block 910, the error detection block 272 waits (e.g., a small number of clock cycles) to request the error detection code stored at the code address determined in block 908. Thus, in block 910, the error detection block 272 introduces a delay between reading the data and reading the error detection code from the code address. The error detection block 272 may include a read delay timer (not shown) that is used to determine how long the error detection block 272 waits in block 910. Thus, the error detection block 272 may wait a sixth predetermined amount of time before requesting an error detection code from the second subsection 254.

[0129] After waiting, in a next block 912, the error detection block 272 sends a second read command to the second subsection 254, which includes the code addresses determined in block 908 and requests the error detection codes stored at those code addresses. Thus, to read data, the error detection block 272 accesses the carve-out 250 twice, once in block 904 and once in block 912. If the second read command included only the first code address, the second subsection 254 may read a predetermined number of error detection codes (e.g., 16 bytes) from consecutive memory addresses starting at the first code address. In block 914, the error detection block 272 receives the error detection codes stored at the code addresses from the second subsection 254. In block 916, the error detection block 272 determines a check code for each error detection code obtained in block 914 (e.g., using Equation 1 above).

[0130] For each error detection code, in decision block 918, the error detection block 272 determines whether the error detection code matches the check code corresponding to the error detection code (e.g., using Equation 3 above). When the error detection code matches its corresponding check code, the decision in decision block 918 is "yes." Otherwise, the decision in decision block 918 is "no." When the decision in decision block 918 is "yes," in block 920, the error detection block 272 forwards the data corresponding to the error detection code to the initiator 802 (see FIG. 8). When the decision in decision block 918 is "no," in block 922, the error detection block 272 generates a mismatch error and sends it to the initiator 802 and the SI fault aggregator 142 (see FIGS. 1, 2, and 4) so ​​that the mismatch error can be removed by the safety software implemented by the instructions 149 and executed by the processor 140. Optionally, at block 922, the error detection block 272 may attempt to correct the mismatch if the error detection code (e.g., implemented as an ECC) contains information (e.g., bits) that can be used to recover the data. If the error detection block 272 is able to correct the error, the error detection block 272 may omit generating a mismatch error at block 922. After block 920, the error detection block 272 proceeds to block 920 to forward the data to the initiator 802. The method 900 then ends.

[0131] The error detection block 272 may simultaneously read multiple bytes of data and their corresponding error detection codes from the carve-out 250. For example, blocks 904-914 may each be executed for multiple blocks of data. As one non-limiting example, in block 904, the error detection block 272 may send a first read instruction to the first subsection 252 requesting multiple bytes of data from a first data address. The first subsection 252 may read bytes of data from consecutive memory addresses starting at the first data address and may send the bytes of data that the error detection block 272 receives in block 906 to the error detection block 272. Then, in block 908, the error detection block 272 may determine a code address based on the data address. Depending on the details of the implementation, the error detection block 272 may identify only the first code address based on the first data address. Then, in block 910, the error detection block 272 effects a delay between reading the byte of data and reading the error detection code from the carve-out 250. The error detection block 272 may then request the error detection code stored in the carve-out 250 for the byte of data obtained in block 906. For example, the error detection block 272 may send a first code address to the second subsection 254. The second subsection 254 may read the error detection codes from consecutive memory addresses starting at the first code address and may send the error detection code to the error detection block 272, which the error detection block 272 receives in block 914. The method 900 then continues at block 916.

[0132] FIG. 10 illustrates one example of the error detection block 272 performing the method 900. In this example, the processor 140 reads 16 bytes of data from the carve-out 250 stored by the example shown in FIG. 8. In FIG. 10, the read data is stored in or represented by a 128-bit array called "rdata_in[127:0]" and the data is stored starting at a first data address stored in or represented by a 40-bit array called "Address_0[39:0]". FIG. 10 illustrates an initiator 802 (e.g., the processor 140) sending a first read command 1004 to the error detection block 272 via the safety island interconnect 808. The safety island interconnect 808 delivers the first read command 1004 to the error detection block 272 (e.g., block 902 of FIG. 9).

[0133] The error detection block 272 sends the first data address to the first subsection 252 of the carve-out 250 via the volatile memory interface 200A (see FIG. 2) at a third time (e.g., identified in FIG. 8 as “Time=T3”). In other words, the error detection block 272 forwards the first read command to the first subsection 252 of the carve-out 250 (e.g., block 904 in FIG. 9). The volatile memory interface 200A communicates the first read command to the carve-out 250 via the data backbone and memory subsystem 826 of the automotive SoC 104. In FIG. 10, the first read command is sent by the error detection block 272 to the first subsection 252 in signal 1010.

[0134] The first subsection 252 reads data from the memory starting with the first byte ("byte 0") at the first data address and reading subsequent bytes from subsequent data addresses after the first data address. The SI 110 may read data having a predetermined size (e.g., 16 bytes) from the carve-out 250. The first subsection 252 then sends a response signal 1012 including the read data to the initiator 802. The response signal 1012 is sent by the first subsection 252 to the data backbone and memory subsystem 826, which forwards the response signal 1012 to the volatile memory interface 200A (see FIG. 2). When the volatile memory interface 200A is unlocked, the volatile memory interface 200A forwards the response signal 1012 to the first (data) buffer 820 (e.g., block 906 of FIG. 9). The data read and included in the response signal 1012 automatically indicates data read completion and may therefore be characterized as being a data read completion response. Just as the first (data) buffer 820 processes a data write completion response, the first (data) buffer 820 may place the data read completion response in the expected order in the response signal 1012. At this point, in this example, data (e.g., 16 bytes) has been read from the first subsection 252 in a first single read operation and has been placed in the expected order by the first (data) buffer 820.

[0135] The error detection block 272 then determines a first code address ("Address_1") based on the first data address (e.g., block 908 in FIG. 9). In FIG. 10, the first code address is calculated by adding (e.g.,) 16 megabytes ("MB") to the first data address ("Address_0").

[0136] Next, the error detection block 272 waits (e.g., block 910 of FIG. 9 ) until a fourth time (e.g., identified in FIG. 10 as “Time=T4”). At the fourth time, the error detection block 272 requests the error detection code stored at the first code address in the second subsection 254 via the volatile memory interface 200A (see FIG. 2 ). In other words, the error detection block 272 sends a second read command to the second subsection 254 of the carve-out 250 (e.g., block 912 of FIG. 9 ). The volatile memory interface 200A communicates the second read command to the carve-out 250 via the data backbone and memory subsystem 826 of the automotive SoC 104. In FIG. 10 , the second read command is sent by the error detection block 272 to the second subsection 254 in signal 1014.

[0137] The second subsection 254 reads the error detection code from the memory by reading the first error detection code (at "byte 0") at the first code address and reading the subsequent error detection codes from the subsequent code addresses after the first code address. In the examples of Figs. 8 and 10, the error detection codes are each one byte in size. The second subsection 254 then sends a response signal 1016 to the initiator 802, which includes the error detection code read from the memory. In Fig. 10, the signal carrying the error detection code and the signal 1014 are indicated by arrows with dashed lines. In the embodiment shown in Fig. 10, the response signal 1016 is sent by the second subsection 254 to the data backbone and memory subsystem 826, which forwards the response signal 1016 to the volatile memory interface 200A (see Fig. 2). When the volatile memory interface 200A is unlocked, the volatile memory interface 200A transfers the response signal 1016 to the second (code) buffer 822 (e.g., block 914 of FIG. 9). The error detection code that was read and included in the response signal 1016 automatically indicates a code read completion and can therefore be characterized as being a code read completion response. Just as the second (code) buffer 822 processes the code write completion response, the second (code) buffer 822 can place the code read completion response in the expected order in the response signal 1016. At this point, in this example, the error detection code (e.g., 16 bytes) has been read from the second subsection 254 in the second single read operation and placed in the expected order by the second (code) buffer 822.

[0138] When the error detection block 272 waits (e.g., block 910 of FIG. 9) until a fourth time (e.g., identified in FIG. 10 as "Time=T4"), the error detection block 272 simply spaces out the first and second read commands in time. The error detection block 272 may request an error detection code from the second subsection 254 after the error detection block 272 receives the data in the response signal 1012. Alternatively, the error detection block 272 may not wait for the unit from which it receives data in the response signal 1012 before requesting an error detection code from the second subsection 254. In other words, the fourth time may be determined based on when the first read command is sent, not when the response signal 1012 is received.

[0139] As previously mentioned, the first (data) buffer 820 may reorder the bytes since the bytes may be out of order in the response signal 1012. Similarly, the second (code) buffer 822 may reorder the error detection codes when the error detection codes are out of order in the response signal 1016. The first (data) buffer 820 outputs signals 1022-0 to 1022-15, each carrying one of the bytes of data, and the second (code) buffer 822 outputs signals 1024-0 to 1024-15, each carrying one of the error detection codes. Signals 1022-0 to 1022-15 correspond to signals 1024-0 to 1024-15, respectively. The first and second buffers 820 and 822 can route or reorder the signals 1022-0 to 1022-15 and 1024-0 to 1024-15 to position each byte of data in a known location with respect to the error detection code generated for the byte. In the embodiment shown in Figure 10, the bytes carried by the signals 1022-0 to 1022-15 are interleaved with the error detection codes carried by the signals 1024-0 to 1024-15. Thus, as shown in Figure 10, the bytes of data are placed in the locations represented by the shaded blocks b0 to b15, and the error detection codes are placed in the locations represented by the blocks c0 to c15.

[0140] Code generation sub-block 273 then determines (e.g., using equation 1 above) a check code for each byte of data (e.g., block 916 of FIG. 9). Thus, code generation sub-block 273 receives as input the bytes of data in signals 1022-0 to 1022-15 and the corresponding error detection codes in signals 1024-0 to 1024-15.

[0141] For each error detection code, the error detection block 272 determines whether the error detection code matches the check code corresponding to the error detection code (e.g., decision block 918 in FIG. 9). The error detection block 272 indicates whether they match in a pass signal 1030 that is forwarded along with a data signal 1032 that includes the byte of data to a logic component 1034, shown in FIG. 10 implemented as an AND gate. If the pass signal 1030 indicates that the error detection code stored for the byte matches the check code created for the byte, the logic component 1034 will output the byte in the data to be checked signal 1036 (which includes only the byte of data) and forward the data to be checked signal 1036 to the initiator 802. On the other hand, if the pass signal 1030 indicates a mismatch, the logic component 1034 will not forward the byte in the data to be checked signal 1036 to the initiator 802. Alternatively, the error detection block 272 may discard the byte and / or replace the byte with information (e.g., zero) indicating that a mismatch occurred. As one non-limiting example, the bit of the byte that generated the mismatch may be set to zero. The checked data signal 1036 is forwarded to the initiator 802 (e.g., block 920 of FIG. 9). The error detection block 272 may generate and send a mismatch error to the initiator 802 (e.g., block 922 of FIG. 9) when the error detection code does not match the check code corresponding to the error detection code. In other words, if the path signal 1030 indicates one or more mismatches, the error detection block 272 may generate and send a mismatch error to the initiator 802. Alternatively or additionally, the error detection block 272 may send the mismatch error to the SI fault aggregator 142 as an uncorrected error. Thus, any errors or error detection codes that occur in the data during storage in and / or retrieval from the carve-out 250 may be detected and reported (eg, as an uncorrected error).

[0142] As mentioned above, the volatile memory interface 200A may include two parallel and optionally dedicated interfaces connecting the error detection block 272 with the volatile memory 126. In such an embodiment, the error detection block 272 may send a first read command (e.g., in signal 1010) including a first data address to the first subsection 252 via the first interface at the same time that the error detection block 272 sends a second read command (e.g., in signal 1014) including a first code address to the second subsection 254 via the second interface. Furthermore, the data read from the first subsection 252 (e.g., and transmitted in response signal 1012) and the error detection code read from the second subsection 254 (e.g., and transmitted in response signal 1016) may be simultaneously transmitted to the first and second buffers 820 and 822, respectively, via the first and second interfaces, respectively.

[0143] 2, the error detection block 272 may include or be connected to at least one transaction timer, e.g., exit and entry timers 274 and 276, that limit the amount of time that the error detection block 272 must read data from and / or write data to the carve-out 250. The exit timer 274 and / or the entry timer 276 may start automatically whenever an access passes through the error detection block 272. For example, the entry timer 276 may start whenever data passes between the error detection block 272 and an initiator 802 (e.g., processor 140), and the exit timer 274 may start whenever data passes between the error detection block 272 and an SoC domain (e.g., carve-out 250). The entry timer 276 may help monitor the functionality of the error detection block 272 and / or may help provide a backup function for the exit timer 274 (eg, if the exit timer 274 is not functioning properly).

[0144] During a write operation, the ingress timer 276 may start when the initiator 802 passes data to the error detection block 272 to write to the carve-out 250 (e.g., at block 702 of FIG. 7). The exit timer 274 may then start when the data leaves the error detection block 272 and / or the SI domain (e.g., at block 708 of FIG. 7). The exit timer 274 may be stopped or reset when a response (e.g., response signal 828 shown in FIG. 8) is received from the carve-out 250 by the error detection block 272. The ingress timer 276 may then be stopped or reset when a response (e.g., response signal 828 shown in FIG. 8) is forwarded by the error detection block 272 to the initiator 802 (see FIG. 8). If the exit timer 274 indicates that more than a first threshold amount of time has passed and the error detection block 272 did not receive a response, meaning the initiator 802 did not receive a response (e.g., response signal 828 shown in FIG. 8) from the carve-out 250, the initiator 802 (e.g., processor 140) generates an exit timeout error. If the entry timer 276 indicates that more than a second threshold amount of time has passed and the error detection block 272 did not send a response to the initiator 802, meaning the initiator 802 did not receive a response from the carve-out 250, the initiator 802 generates an entry timeout error.

[0145] During a read operation, the ingress timer 276 may start when the error detection block 272 receives a read request from the initiator 802 (e.g., at block 902 of FIG. 9). The exit timer 274 may then start when the error detection block 272 requests the data stored at the first data address from the carve-out 250 (e.g., at block 904 of FIG. 9). The exit timer 274 may be stopped or reset when the data is received from the carve-out 250 by the error detection block 272 (e.g., at block 906 of FIG. 9). The ingress timer 276 may then be stopped or reset when the data is forwarded by the error detection block 272 to the initiator 802 (e.g., at block 920 of FIG. 9). If the exit timer 274 indicates that a first threshold amount of time has elapsed and the error detection block 272 has not received data from the carve-out 250, meaning that the initiator 802 has not received data from the error detection block 272 (e.g., in the data checked signal 1036 shown in FIG. 10), the initiator 802 generates an exit timeout error. If the entry timer 276 indicates that more than a second threshold amount of time has elapsed and the error detection block 272 has not sent data to the initiator 802, meaning that the initiator 802 has not received data from the carve-out 250, the initiator 802 generates an entry timeout error.

[0146] FIG. 11 is a block diagram illustration showing an error notification generated by the error detection block 272 (see FIGS. 2, 8, and 10) when the error detection block 272 includes or is connected to exit and entry timers 274 and 276 (see FIG. 2), according to some embodiments. In FIG. 11, the initiator 802 (see FIGS. 8 and 10) sends a signal 1102 including a first write command 804 (see FIG. 8) or a first read command 1004 (see FIG. 10) to the error detection block 272. As previously described, the exit timer 274 may start when data leaves the error detection block 272 and / or the SI domain during a write operation, and the exit timer 274 may start when the error detection block 272 requests the data stored at the first data address from the carve-out 250 during a read operation. Block 1104 indicates that the exit timer 274 has timed out. The exit timer 274 may time out, for example, when the error detection block 272 does not receive a response (e.g., response signal 828 shown in FIG. 8) from the carve-out 250 during a write operation and more than a first threshold amount of time has elapsed. As another non-limiting example, the exit timer 274 may time out when the error detection block 272 does not receive data from the error detection block 272 during a read operation (e.g., in response signal 1012 shown in FIG. 10) and more than a first threshold amount of time has elapsed. When the exit timer 274 times out, the initiator 802 (e.g., processor 140) generates an exit timeout error 1106 and forwards the exit timeout error 1106 to the error logger 1108. On the other hand, if the exit timer 274 does not time out, the exit timer 274 may be stopped or reset. This may occur when the error detection block 272 receives a response from the carve-out 250 during a write operation (e.g., response signal 828) or data from the carve-out 250 during a read operation (e.g., in response signal 1012) before the first threshold amount of time has elapsed.

[0147] As previously mentioned, the approach timer 276 may start when the initiator 802 passes data to the error detection block 272 to write to the carve-out 250 during a write operation (e.g., at block 702 of FIG. 7), or the approach timer 276 may start when the error detection block 272 receives a read request from the initiator 802 during a read operation (e.g., at block 902 of FIG. 9). Thus, the approach timer 276 (see FIG. 2) may start when the signal 1102 includes a first read command 804 (see FIG. 8) or a first read command 1004 (see FIG. 10) and that command is received by the error detection block 272 (see FIGS. 2, 8, and 10). Block 1114 indicates that the approach timer 276 has timed out. The entry timer 276 may time out, for example, when more than a second threshold amount of time has passed and the initiator 802 (see FIG. 8) does not receive a response (e.g., response signal 828 shown in FIG. 8) from the carve-out 250 during a write operation. As another non-limiting example, the entry timer 276 may time out when more than a second threshold amount of time has passed and the initiator 802 does not receive data (e.g., data checked signal 1036 shown in FIG. 10) from the carve-out 250 during a read operation. When the entry timer 276 times out, the initiator 802 generates an entry timeout error 1116 and forwards the entry timeout error 1116 to the error logger 1108. On the other hand, if the entry timer 276 does not time out, the entry timer 276 may be stopped or reset. This may occur when the error detection block 272 transfers a response (e.g., response signal 828) to the initiator 802 during a write operation, or when the error detection block 272 transfers data (e.g., checked data signal 1036) to the initiator 802 during a read operation.

[0148] Block 1124 indicates that the code generation sub-block 273 (see FIGS. 2, 8, and 10) of the error detection block 272 (see FIGS. 2, 8, and 10) may generate a code generation / check error 1126 indicating that an error occurred during generation of the error detection code or check code. In some embodiments, the code generation / check error 1126 may be used to indicate that a mismatch occurred. As one non-limiting example, when the signal 1102 includes a first write instruction 804, the code generation sub-block 273 may generate a code generation error while generating the error detection code. As another non-limiting example, when the signal 1102 includes a first read instruction 1004, the error detection block 272 may generate a mismatch error and / or a code generation error while generating the check code, which is forwarded to the error logger 1108 as the code generation / check error 1126.

[0149] The error logger 1108 may act as a fault aggregator that aggregates the errors 1106 , 1116 , and 1126 into an error notification 1130 that the error logger 1108 sends to the SI fault aggregator 142 .

[0150] When the automotive SoC 104 first boots, the processor 140 of the SI 110 may attempt to prefetch data from the carve-out 250. The prefetch may be characterized as being a type of unplanned read of data from the carve-out 250. Because the shared volatile memory 126 is volatile, at that time the carve-out 250 may store uninitialized data that is missing an error detection code or that is associated with mismatching error detection codes. To prevent the error detection block 272 from generating a mismatch error, the SI 110 (e.g., the processor 140, the DMA engine 402, and / or the like) may write one or more error detection codes to the carve-out 250 of data that the processor 140 will or may prefetch. As one non-limiting example, the SI 110 may write initial data to the carve-out 250 that causes the hardware of the error detection block 272 to determine one or more error detection codes of the initial data, each associated with a code address. SI 110 may then cause carve-out 250 to store each error detection code at its associated code address. Thus, during a look-ahead operation, the error detection code stored by second subsection 254 will correspond to the data stored in first subsection 252, and error detection block 272 will not generate a mismatch error.

[0151] 2, if vehicle platform 100 (see FIG. 1) does not require carve-out 250, SI 110 may turn off (e.g., using a software register write) code generation sub-block 273 (see FIGS. 2, 8, and 10) and / or error detection block 272. For example, when volatile memory 126 is operating at a risk level sufficient for vehicle platform 100, SI 110 may turn off code generation sub-block 273 and / or error detection block 272.

[0152] It should be understood that this and other arrangements described herein are described by way of example only. Other configurations and elements (e.g., machines, interfaces, functions, sequences, groupings of functions, etc.) may be used in addition to or instead of those illustrated, and some elements may be omitted entirely. Furthermore, many of the elements described herein are functional entities that may be implemented as separate or distributed components or in conjunction with other components, and in any suitable combination and location. Various functions described herein as being performed by entities may be implemented by hardware, firmware, and / or software. For example, various functions may be performed by a processor executing instructions stored in memory.

[0153] Exemplary Autonomous Vehicle 12 is an illustration of an example autonomous vehicle 1200 according to some embodiments of the disclosure. Autonomous vehicle 1200 (alternatively referred to herein as “vehicle 1200”) may include, but is not limited to, passenger vehicles, such as, for example, cars, trucks, buses, first responder vehicles, shuttles, electric or mopeds, motorcycles, fire engines, police vehicles, ambulances, boats, construction vehicles, submarines, drones, and / or other types of vehicles (e.g., unmanned and / or carrying one or more passengers). Autonomous vehicles are generally described in terms of automation levels as defined by the National Highway Traffic Safety Administration (NHTSA), a division of the U.S. Department of Transportation, and the Society of Automotive Engineers (SAE) "Taxonomy and Definitions for Terms Related to Driving Automation Systems for On-Road Motor Vehicle" (Standard No. J3016-201806 published June 15, 2018, Standard No. J3016-201609 published September 30, 2016, and previous and future versions of this standard). Vehicle 1200 may be capable of functioning according to one or more of the autonomous driving levels Levels 2 through 5 as defined by SAE. For example, vehicle 1200 may be capable of partial driving automation (Level 2), conditional automation (Level 3), high automation (Level 4), and / or full automation (Level 5), depending on the embodiment.

[0154] Vehicle 1200 may include components such as a vehicle chassis, body, wheels (e.g., 2, 4, 6, 8, 18, etc.), tires, axles, and other components. Vehicle 1200 may include a propulsion system 1250, such as an internal combustion engine, a hybrid power plant, a fully electric engine, and / or another propulsion system type. Propulsion system 1250 may be connected to a drive train of vehicle 1200, which may include a transmission, to enable propulsion of vehicle 1200. Propulsion system 1250 may be controlled in response to receiving a signal from a throttle / accelerator 1252.

[0155] Steering system 1254, which may include a steering wheel, may be used to steer vehicle 1200 (e.g., along a desired course or route) when propulsion system 1250 is operating (e.g., when the vehicle is moving). Steering system 1254 may receive signals from steering actuator 1256. A steering wheel may be an option for fully automated (Level 5) functionality.

[0156] The brake sensor system 1246 may be used to operate the vehicle brakes in response to receiving a signal from a brake actuator 1248 and / or a brake sensor.

[0157] The controller 1236, which may include one or more CPUs, system on chip (SoC) 1204 (FIG. 14), and / or GPUs, may provide signals (e.g., representations of commands) to one or more components and / or systems of the vehicle 1200. For example, the controller may send signals to operate vehicle brakes via one or more brake actuators 1248, operate a steering system 1254 via one or more steering actuators 1256, and / or operate a propulsion system 1250 via one or more throttle / accelerators 1252. The controller 1236 may include one or more on-board (e.g., integrated) computing devices (e.g., supercomputers) that process sensor signals and output operational commands (e.g., signals representing commands) to enable autonomous driving and / or assist a driver in driving the vehicle 1200. The controllers 1236 may include a first controller 1236 for autonomous driving functions, a second controller 1236 for functional safety functions, a third controller 1236 for artificial intelligence functions (e.g., computer vision), a fourth controller 1236 for infotainment functions, a fifth controller 1236 for redundancy in emergency situations, and / or other controllers. In some instances, a single controller 1236 may handle two or more of the aforementioned functions, and two or more controllers 1236 may handle a single function, and / or any combination thereof.

[0158] Controller 1236 may provide signals to control one or more components and / or systems of vehicle 1200 in response to sensor data (e.g., sensor inputs) received from one or more sensors. The sensor data may be received from, for example, and without limitation, global navigation satellite system sensors 1258 (e.g., global positioning system sensors), RADAR sensors 1260, ultrasonic sensors 1262, LIDAR sensors 1264, inertial measurement unit (IMU) sensors 1266 (e.g., accelerometers, gyroscopes, magnetic compasses, magnetometers, etc.), microphones 1296, stereo cameras 1268, wide-view cameras 1270 (e.g., fisheye cameras), infrared cameras 1272, surround cameras 1274 (e.g., 360 degree cameras), long-range and / or medium-range cameras 1298, speed sensors 1244 (e.g., for measuring the speed of the vehicle 1200), vibration sensors 1242, steering sensors 1240, brake sensors 1246 (e.g., as part of a brake sensor system 1246), and / or other sensor types.

[0159] One or more of the controllers 1236 may receive input (e.g., represented by input data) from the instrument cluster 1232 of the vehicle 1200 and provide output (e.g., represented by output data, display data, etc.) via a human-machine interface (HMI) display 1234, an audible annunciator, a loudspeaker, and / or other components of the vehicle 1200. The output may include information such as vehicle velocity, speed, time, map data (e.g., HD map 1222 of FIG. 14 ), position data (e.g., the position of the vehicle 1200 on a map, etc.), direction, the positions of other vehicles (e.g., occupancy grid), information regarding objects and the status of objects as perceived by the controller 1236, etc. For example, the HMI display 1234 may display information regarding the presence of one or more objects (e.g., road signs, warning signs, changing traffic signals, etc.) and / or a driving maneuver that the vehicle has performed, is performing, or will perform (e.g., changing lanes now, taking exit 34B in 2 miles, etc.).

[0160] Vehicle 1200 further includes a network interface 1224 that can communicate over one or more networks using one or more wireless antennas 1226 and / or a modem. For example, network interface 1224 can be capable of communication over LTE, WCDMA, UMTS, GSM, CDMA2000, etc. Wireless antenna 1226 can also enable communication between objects in an environment (e.g., vehicles, mobile devices, etc.) using local area networks such as Bluetooth, Bluetooth LE, Z-Wave, ZigBee, etc., and / or low power wide-area networks (LPWANs) such as LoRaWAN, SigFox, etc.

[0161] As mentioned above, in at least some embodiments, automobile platform 100 (see FIG. 1 ) may be a component of autonomous vehicle 1200. In such embodiments, controller 1236 includes automobile SoC 104.

[0162] 13 is an illustration of camera positions and fields of view of the example autonomous vehicle 1200 of FIG. 12, according to some embodiments of the present disclosure. The cameras and their respective fields of view are one example embodiment and are not intended to be limiting. For example, additional and / or alternative cameras may be included and / or the cameras may be located in different positions on the vehicle 1200.

[0163] The camera type of the camera may include, but is not limited to, a digital camera that may be adapted for use with components and / or systems of the vehicle 1200. The camera may be capable of operating at automotive safety integrity level (ASIL) B and / or at another ASIL. The camera type may be capable of any image capture rate, such as 60 frames per second (fps), 120 fps, 240 fps, etc., depending on the embodiment. The camera may be capable of using a rolling shutter, a global shutter, another type of shutter, or a combination thereof. In some instances, the color filter array may include a red clear clear clear (RCCC) color filter array, a red clear clear blue (RCCB) color filter array, a red blue green clear (RBGC) color filter array, a Foveon X3 color filter array, a Bayer sensor (RGGB) color filter array, a monochrome sensor color filter array, and / or another type of color filter array. In some embodiments, clear pixel cameras, such as cameras with RCCC, RCCB, and / or RBGC color filter arrays, may be used in an effort to increase light sensitivity.

[0164] In some instances, one or more of the cameras may be used to perform advanced driver assistance system (ADAS) functions (e.g., as part of a redundant or fail-safe design). For example, a multi-function mono camera may be installed to provide functions including lane departure warning, traffic sign assist, and intelligent headlamp control. One or more of the cameras (e.g., all of the cameras) may simultaneously record and provide image data (e.g., video).

[0165] One or more of the cameras may be mounted in a mounting part, such as a custom designed (3D printed) part, to filter out stray light and reflections from within the vehicle (e.g., reflections from the dashboard reflected in the windshield mirror) that may interfere with the camera's image data capture capabilities. With reference to a side mirror mounting part, the side mirror part may be custom 3D printed such that the camera mounting plate fits the shape of the side mirror. In some instances, the camera may be integrated into the side mirror. For side view cameras, the cameras may also be integrated into four posts at each corner of the cabin.

[0166] A camera (e.g., a forward-facing camera) with a field of view that includes a portion of the environment in front of the vehicle 1200 may be used for surround view to help identify the forward path and obstacles and, with the assistance of one or more controllers 1236 and / or control SoCs, provide information essential to generating an occupancy grid and / or determining a preferred vehicle path. Forward-facing cameras may be used to perform many of the same ADAS functions as LIDAR, including emergency braking, pedestrian detection, and collision avoidance. Forward-facing cameras may also be used for ADAS functions and systems, including other functions such as lane departure warning ("LDW"), autonomous cruise control ("ACC"), and / or traffic sign recognition.

[0167] A variety of cameras may be used in a forward-facing configuration, including, for example, a monocular camera platform including a complementary metal oxide semiconductor (CMOS) color imager. Another example may be a wide-view camera 1270 that may be used to understand objects coming into view from the periphery (e.g., pedestrians, crossing traffic, or bicycles). Although only one wide-view camera is shown in FIG. 13, there may be any number of wide-view cameras 1270 in the vehicle 1200. Additionally, a long-range camera 1298 (e.g., a long-view stereo camera pair) may be used for depth-based object detection, especially for objects for which a neural network has not yet been trained. The long-range camera 1298 may also be used for object detection and classification, as well as basic object tracking.

[0168] One or more stereo cameras 1268 may also be included in the forward-facing configuration. The stereo camera 1268 may include an integrated control unit including an extensible processing unit that may provide programmable logic (e.g., FPGA) and a multi-core microprocessor with a CAN or Ethernet interface integrated on a single chip. Such a unit may be used to generate a 3D map of the vehicle's environment, including distance estimates for all points in the image. An alternative stereo camera 1268 may include a compact stereo vision sensor that may include two camera lenses (one on the left and one on the right) and an image processing chip that can measure distances from the vehicle to objects of interest and use the generated information (e.g., metadata) to activate autonomous emergency braking and lane departure warning functions. Other types of stereo cameras 1268 may be used in addition to or instead of those described herein.

[0169] A camera having a field of view that includes a portion of the environment to the side of the vehicle 1200 (e.g., a side-view camera) may be used for surround view, providing information used to create and update the occupancy grid and to generate side impact collision warnings. For example, surround cameras 1274 (e.g., four surround cameras 1274 as shown in FIG. 13) may be positioned around the vehicle 1200. The surround cameras 1274 may include wide-view cameras 1270, fish-eye cameras, 360-degree cameras, and / or the like. For example, four fish-eye cameras may be positioned at the front, rear, and sides of the vehicle. In an alternative arrangement, the vehicle may use three surround cameras 1274 (e.g., left, right, and rear) and may utilize one or more other cameras (e.g., a forward-facing camera) as a fourth surround view camera.

[0170] A camera having a field of view that includes the portion of the environment behind the vehicle 1200 (e.g., a rear-view camera) may be used for parking assistance, surround view, rear collision warning, and creating and updating an occupancy grid. As described herein, a wide variety of cameras may be used, including, but not limited to, cameras that are also suitable as forward-facing cameras (e.g., long-range and / or mid-range camera 1298, stereo camera 1268, infrared camera 1272, etc.).

[0171] FIG. 14 is a block diagram of an example system architecture of the example autonomous vehicle 1200 of FIG. 12, according to some embodiments of the present disclosure. It should be understood that this and other arrangements described herein are merely illustrative. Other arrangements and elements (e.g., machines, interfaces, functions, sequences, groupings of functions, etc.) may be used in addition to or instead of those shown, and some elements may be omitted altogether. Furthermore, many of the elements described herein are functional entities that may be implemented as separate or distributed components or in conjunction with other components, and in any suitable combination and location. Various functions described herein as being performed by entities may be implemented by hardware, firmware, and / or software. For example, various functions may be implemented by a processor executing instructions stored in a memory.

[0172] Each of the components, features, and systems of the vehicle 1200 of FIG. 14 are shown as connected via a bus 1202. The bus 1202 may include a controller area network (CAN) data interface (alternatively referred to as a “CAN bus”). The CAN may be a network within the vehicle 1200 used to help control various features and functions of the vehicle 1200, such as actuation of brakes, acceleration, braking, steering, windshield wipers, etc. The CAN bus may be configured to have dozens or even hundreds of nodes, each with its own unique identifier (e.g., CAN ID). The CAN bus may be read to find steering angle, ground speed, engine revolutions per minute (RPM), button positions, and / or other vehicle status indicators. The CAN bus may be ASIL B compliant.

[0173] The bus 1202 is described herein as being a CAN bus, but this is not intended to be limiting. For example, FlexRay and / or Ethernet may be used in addition to or as an alternative to a CAN bus. Additionally, a single line is used to represent the bus 1202, but this is not intended to be limiting. There may be any number of buses 1202, which may include, for example, one or more CAN buses, one or more FlexRay buses, one or more Ethernet buses, and / or one or more other types of buses using different protocols. In some instances, two or more buses 1202 may be used to perform different functions and / or may be used for redundancy. For example, a first bus 1202 may be used for collision avoidance functions and a second bus 1202 may be used for operational control. In any instance, each bus 1202 may communicate with any of the components of the vehicle 1200, and two or more buses 1202 may communicate with the same components. In some examples, each SoC 1204, each controller 1236, and / or each computer in the vehicle may have access to the same input data (e.g., input from sensors in the vehicle 1200) and may be connected to a common bus, such as a CAN bus.

[0174] Vehicle 1200 may include one or more controllers 1236, such as those described herein with respect to FIG. 12. Controller 1236 may be used for a variety of functions. Controller 1236 may be coupled to any of a variety of other components and systems of vehicle 1200 and may be used for control of vehicle 1200, artificial intelligence of vehicle 1200, infotainment for vehicle 1200, and / or the like.

[0175] The vehicle 1200 may include a system on a chip (SoC) 1204. The SoC 1204 may include a CPU 1206, a GPU 1208, a processor 1210, a cache 1212, an accelerator 1214, a data store 1216, and / or other components and features not shown. The SoC 1204 may be used to control the vehicle 1200 in a variety of platforms and systems. For example, the SoC 1204 may be combined in a system (e.g., the system of the vehicle 1200) having an HD map 1222 that can obtain map refreshes and / or updates via a network interface 1224 from one or more servers (e.g., server 1278 of FIG. 15 ).

[0176] CPU 1206 may include a CPU cluster or CPU complex (alternatively referred to as a "CCPLEX"). CPU 1206 may include multiple cores and / or L2 caches. For example, in some embodiments, CPU 1206 may include eight cores in a coherent multiprocessor configuration. In some embodiments, CPU 1206 may include four dual-core clusters, each with its own dedicated L2 cache (e.g., a 2M B L2 cache). CPU 1206 (e.g., CCPLEX) may be configured to support concurrent cluster operation allowing any combination of CPU 1206 clusters to be active at any given time.

[0177] The CPU 1206 may implement power management capabilities including one or more of the following features: individual hardware blocks may be automatically clock gated when idle to conserve dynamic power, each core clock may be gated when the core is not actively executing instructions by execution of WFI / WFE instructions, each core may be independently power gated, each core cluster may be independently clock gated when all cores are clock gated or power gated, and / or each core cluster may be independently power gated when all cores are power gated. The CPU 1206 may further implement an enhanced algorithm for managing power states where allowed power states and expected wake-up times are specified and the hardware / microcode determines the best power state for entering the cores, clusters, and CCPLEXes. The processing cores may support simplified power state entry sequences in software where work is offloaded to the microcode.

[0178] The GPU 1208 may include an integrated GPU (alternatively referred to herein as an "iGPU"). The GPU 1208 may be programmable and efficient for parallel workloads. In some instances, the GPU 1208 may use an enhanced tensor instruction set. The GPU 1208 may include one or more streaming microprocessors, where each streaming microprocessor may include an L1 cache (e.g., an L1 cache having at least 96 KB storage capacity) and two or more of the streaming microprocessors may share a cache (e.g., an L2 cache having 512 KB storage capacity). In some embodiments, the GPU 1208 may include at least eight streaming microprocessors. The GPU 1208 may use a computer-based application programming interface (API). In addition, the GPU 1208 may use one or more parallel computing platforms and / or programming models (e.g., NVIDIA's CUDA).

[0179] The GPU 1208 may be power optimized for best performance in automotive and embedded use cases. For example, the GPU 1208 may be fabricated on FinFETs (Fin field-effect transistors). However, this is not intended to be limiting and the GPU 1208 may be fabricated using other semiconductor fabrication processes. Each streaming microprocessor may incorporate several mixed-precision processing cores partitioned into multiple blocks. For example, and without limitation, 64 PF32 cores and 32 PF64 cores may be partitioned into four processing blocks. In such an example, each processing block may be assigned 16 FP32 cores, 8 FP64 cores, 16 INT32 cores, two mixed-precision NVIDIA tensor cores for deep learning matrix operations, an L0 instruction cache, a warp scheduler, a dispatch unit, and / or a 64KB register file. In addition, the streaming microprocessor may include independent parallel integer and floating-point data paths to provide efficient execution of workloads having a mix of computational and addressing operations. Streaming microprocessors may include independent thread scheduling capabilities to allow finer grain synchronization and coordination among concurrent threads. Streaming microprocessors may include a combined L1 data cache and shared memory unit to improve performance while simplifying programming.

[0180] The GPU 1208 may include high bandwidth memory (HBM) and / or a 16GB HBM2 memory subsystem to provide about 900GB / sec peak memory bandwidth in some instances. In some instances, synchronous graphics random-access memory (SGRAM), such as graphics double data rate type five synchronous random-access memory (GDDR5), may be used in addition to or in place of the HBM memory.

[0181] The GPU 1208 may include unified memory technology including access counters to enable more accurate movement of memory pages to the processors that access them most frequently, thereby improving the efficiency of storage ranges shared between processors. In some instances, address translation service (ATS) support may be used to enable the GPU 1208 to directly access the CPU 1206 page tables. In such instances, when the GPU 1208 memory management unit (MMU) experiences a miss, an address translation request may be sent to the CPU 1206. In response, the CPU 1206 may consult its page tables for a virtual-to-real mapping of the address and send the translation back to the GPU 1208. As such, the unified memory technology may enable a single unified virtual address space for both the CPU 1206 and GPU 1208 memories, thereby simplifying the GPU 1208 programming and porting of applications to the GPU 1208.

[0182] In addition, the GPU 1208 may include access counters that can record the frequency of accesses of the GPU 1208 to the memory of other processors. The access counters can help ensure that memory pages are moved to the physical memory of the processor that is accessing the page most frequently.

[0183] The SoC 1204 may include any number of caches 1212, including those described herein. For example, the cache 1212 may include an L3 cache available to both the CPU 1206 and the GPU 1208 (e.g., connected to both the CPU 1206 and the GPU 1208). The cache 1212 may include a write-back cache that can record line state, such as by using a cache coherence protocol (e.g., MEI, MESI, MSI, etc.). The L3 cache may include 4 MB or more, depending on the embodiment, although smaller cache sizes may be used.

[0184] The SoC 1204 may include an arithmetic logic unit (ALU) that may be utilized in performing processing for any of the various tasks or operations (e.g., processing DNNs) of the vehicle 1200. In addition, the SoC 1204 may include a floating point unit (FPU) (or other math co-processor or numeric co-processor type) for performing mathematical operations within the system. For example, the SoC 1204 may include one or more FPUs integrated as execution units within the CPU 1206 and / or GPU 1208.

[0185] The SoC 1204 may include one or more accelerators 1214 (e.g., hardware accelerators, software accelerators, or a combination thereof). For example, the SoC 1204 may include a hardware acceleration cluster, which may include optimized hardware accelerators and / or large on-chip memory. The large on-chip memory (e.g., 4MB of SRAM) may enable the hardware acceleration cluster to accelerate neural networks and other operations. The hardware acceleration cluster may be used to complement the GPU 1208 and to offload some of the tasks of the GPU 1208 (e.g., to free up more cycles of the GPU 1208 to perform other tasks). As an example, the accelerator 1214 may be used for target workloads that are stable enough to be suitable for acceleration (e.g., perception, convolutional neural networks (CNNs), etc.). As used herein, the term "CNN" may include all types of CNNs, including region-based or regional convolutional neural networks (RCNNs) and Faster RCNNs (e.g., as used for object detection).

[0186] The accelerator 1214 (e.g., a hardware acceleration cluster) may include a deep learning accelerator (DLA). The DLA may include one or more tensor processing units (TPUs) that may be configured to provide an additional 10 trillion operations per second for deep learning applications and inference. The TPU may be an accelerator configured and optimized to perform image processing functions (e.g., CNN, RCNN, etc.). The DLA may further be optimized for a specific set of neural network types and floating point operations, as well as inference. The design of the DLA may provide more performance per millimeter than a general-purpose GPU, greatly exceeding the performance of a CPU. The TPU may perform several functions, including, for example, single instance convolution functions, supporting INT8, INT16, and FP16 data types for both features and weights, as well as post-processor functions.

[0187] The DLA can quickly and efficiently run neural networks, in particular CNNs, on processed or unprocessed data for any of a variety of functions, including but not limited to: CNNs for object identification and detection using data from camera sensors, CNNs for distance estimation using data from camera sensors, CNNs for emergency vehicle detection and identification using data from microphones, CNNs for face recognition and vehicle owner identification using data from camera sensors, and / or CNNs for security and / or safety related events.

[0188] The DLA can perform any function of the GPU 1208, and by using an inference accelerator, for example, a designer can target either the DLA or the GPU 1208 for any function. For example, a designer can focus on processing CNNs and floating point operations on the DLA and offload other functions to the GPU 1208 and / or other accelerators 1214.

[0189] The accelerator 1214 (e.g., hardware acceleration cluster) may include a programmable vision accelerator (PVA), which may alternatively be referred to herein as a computer vision accelerator. The PVA may be designed and configured to accelerate computer vision algorithms for advanced driver assistance systems (ADAS), autonomous driving, and / or augmented reality (AR) and / or virtual reality (VR) applications. The PVA may provide a balance between performance and flexibility. For example, each PVA may include, but is not limited to, any number of reduced instruction set computer (RISC) cores, direct memory access (DMA), and / or any number of vector processors, for example.

[0190] The RISC cores may interact with an image sensor (e.g., an image sensor of any of the cameras described herein), an image signal processor, and / or the like. Each RISC core may include any amount of memory. The RISC cores may use any of a number of protocols, depending on the embodiment. In some instances, the RISC cores may run a real-time operating system (RTOS). The RISC cores may be implemented using one or more integrated circuit devices, application specific integrated circuits (ASICs), and / or memory devices. For example, the RISC cores may include an instruction cache and / or tightly coupled RAM.

[0191] The DMA may allow components of the PVA to access system memory independent of the CPU 1206. The DMA may support any number of features used to provide optimizations to the PVA, including but not limited to supporting multi-dimensional addressing and / or circular addressing. In some instances, the DMA may support up to six or more dimensions of addressing, which may include block width, block height, block depth, horizontal block stepping, vertical block stepping, and / or depth stepping.

[0192] The vector processor may be a programmable processor that may be designed to efficiently and flexibly execute computer vision algorithm programming and provide signal processing capabilities. In some instances, the PVA may include a PVA core and two vector processing subsystem partitions. The PVA core may include a processor subsystem, a DMA engine (e.g., two DMA engines), and / or other peripherals. The vector processing subsystem may act as the primary processing engine of the PVA and may include a vector processing unit (VPU), an instruction cache, and / or a vector memory (e.g., VMEM). The VPU core may include a digital signal processor, such as, for example, a single instruction, multiple data (SIMD), very long instruction word (VLIW) digital signal processor. The combination of SIMD and VLIW may increase throughput and speed.

[0193] Each vector processor may include an instruction cache and may be coupled to dedicated memory. As a result, in some instances, each vector processor may be configured to execute independently of other vector processors. In other instances, the vector processors included in a particular PVA may be configured to employ data parallelism. For example, in some embodiments, multiple vector processors included in a single PVA may execute the same computer vision algorithm, but on different regions of an image. In other instances, the vector processors included in a particular PVA may execute different computer vision algorithms simultaneously on the same image, or even execute different algorithms on sequential images or portions of an image. In particular, any number of PVAs may be included in a hardware accelerated cluster, and any number of vector processors may be included in each PVA. In addition, the PVAs may include additional error correcting code (ECC) memory to increase overall system security.

[0194] The accelerator 1214 (e.g., a hardware acceleration cluster) may include a computer vision network-on-chip and SRAM to provide high bandwidth, low latency SRAM for the accelerator 1214. In some instances, the on-chip memory may include, for example and without limitation, at least 4 MB of SRAM consisting of eight field configurable memory blocks that may be accessible by both the PVA and DLA. Each pair of memory blocks may include an advanced peripheral bus (APB) interface, configuration circuitry, controllers, and multiplexers. Any type of memory may be used. The PVA and DLA may access the memory through a backbone that provides the PVA and DLA with high speed access to the memory. The backbone may include a computer vision network-on-chip that interconnects the PVA and DLA to the memory (e.g., using the APB).

[0195] The computer vision network-on-chip may include an interface that determines, prior to transmission of any control signals / addresses / data, that both the PVA and DLA provide ready and valid signals. Such an interface may provide separate phases and separate channels for transmitting control signals / addresses / data, as well as burst type communication for continuous data transfer. This type of interface may follow ISO26262 or IEC61508 standards, although other standards and protocols may be used.

[0196] In some instances, the SoC 1204 may include a real-time ray tracing hardware accelerator, such as that described in U.S. Patent Application Serial No. 16 / 101,232, which may be used to quickly and efficiently determine the location and scale of objects (e.g., within a world model) to generate real-time visualization simulations for RADAR signal interpretation, for acoustic propagation synthesis and / or analysis, for simulation of SONAR systems, for general wave propagation simulation, for comparison against LIDAR data for localization and / or other functions, and / or for other uses. In some examples, one or more tree traversal units (TTUs) may be used to perform one or more ray tracing related operations.

[0197] The accelerator 1214 (e.g., a hardware accelerator cluster) has a variety of applications for autonomous driving. The PVA may be a programmable vision accelerator that can be used for critical processing stages in ADAS and autonomous vehicles. The capabilities of the PVA are well suited to the domain of algorithms that require predictable processing at low power and low latency. In other words, the PVA works well with semi-dense or dense regular computations on small data sets that require predictable execution times with low latency and low power. Hence, in the context of a platform for autonomous vehicles, the PVA is designed to run classical computer vision algorithms, since the PVA is efficient in object detection and operating on integer computations.

[0198] For example, according to one embodiment of the present technology, the PVA is used to perform computer stereo vision. A semi-global matching based algorithm may be used in some instances, but this is not intended to be limiting. Many applications for Level 3-5 autonomous driving require motion estimation / stereo matching on the fly (e.g., structure from motion, pedestrian recognition, lane detection, etc.). The PVA can perform computer stereo vision functions with input from two monocular cameras.

[0199] In some instances, the PVA may be used to perform dense optical flow. For example, the PVA may be used to process raw RADAR data (e.g., using a 4D Fast Fourier Transform) to provide a processed RADAR signal before firing the next RADAR pulse. In other instances, the PVA is used for time of flight depth processing, for example, by processing raw time of flight data to provide processed time of flight data.

[0200] DLA can be used to implement any type of network to enhance control and driving safety, including, for example, a neural network that outputs a measure of the confidence of each object detection. Such confidence value can be interpreted as a probability or as providing a relative "weight" of each detection compared to other detections. This confidence value allows the system to make further decisions regarding which detections should be considered true positive detections rather than false positive detections. For example, the system can set a confidence threshold and consider only detections above the threshold as true positive detections. In an automatic emergency braking (AEB) system, a false positive detection would cause the vehicle to automatically perform emergency braking, which is clearly undesirable. Therefore, only the most confident detections should be considered as triggers for AEB. DLA can implement a neural network that regresses the confidence value. The neural network may receive as its inputs at least some subset of parameters, such as bounding box dimensions, ground plane estimates obtained (e.g., from another subsystem), inertial measurement unit (IMU) sensor 1266 outputs that correlate with vehicle 1200 orientation, range, and 3D position estimates of objects obtained from the neural network and / or other sensors (e.g., LIDAR sensor 1264 or RADAR sensor 1260), and others.

[0201] The SoC 1204 may include a data store 1216 (e.g., a memory). The data store 1216 may be an on-chip memory of the SoC 1204 and may store the neural network to be executed by the GPU and / or DLA. In some instances, the data store 1216 may have a capacity large enough to store multiple instances of the neural network for redundancy and safety. The data store 1216 may include an L2 or L3 cache 1212. References to the data store 1216 may include references to memory associated with the PVA, DLA, and / or other accelerators 1214, as described herein.

[0202] The SoC 1204 may include one or more processors 1210 (e.g., embedded processors). The processors 1210 may include a boot and power management processor, which may be a dedicated processor and subsystem for handling boot power and management capabilities and associated security enforcement. The boot and power management processor may be part of the SoC 1204 boot sequence and may provide run-time power management services. The boot power and management processor may provide clock and voltage programming, assist with system low power state transitions, manage the SoC 1204 thermal and temperature sensors, and / or manage the SoC 1204 power states. Each temperature sensor may be implemented as a ring oscillator whose output frequency is proportional to temperature, and the SoC 1204 may use the ring oscillator to detect the temperature of the CPU 1206, the GPU 1208, and / or the accelerator 1214. If the temperature is determined to exceed a threshold, the boot and power management processor may enter a temperature fault routine, place the SoC 1204 in a lower power state and / or place the vehicle 1200 in a Chauffeur safe shutdown mode (e.g., bring the vehicle 1200 to a safe shutdown).

[0203] The processor 1210 may further include a set of embedded processors that may perform the functions of an audio processing engine. The audio processing engine may be an audio subsystem that allows full hardware support of multi-channel audio through multiple interfaces and a wide and flexible range of audio I / O interfaces. In some instances, the audio processing engine is a dedicated processor core that includes a digital signal processor with dedicated RAM.

[0204] The processor 1210 may further include an always-on processor engine that can provide the necessary hardware features to support low power sensor management and wake use cases. The always-on processor engine may include a processor core, tightly coupled RAM, support peripherals (e.g., timers and interrupt controllers), various I / O controller peripherals, and routing logic.

[0205] The processor 1210 may further include a safety cluster engine that includes a processor subsystem dedicated to handling safety management of automotive applications. The safety cluster engine may include two or more processor cores, tightly coupled RAM, supporting peripherals (e.g., timers, interrupt controllers, etc.), and / or routing logic. In a safety mode, the two or more cores may operate in lockstep mode and function as a single core with comparison logic to detect any differences between their operations.

[0206] The processor 1210 may further include a real-time camera engine, which may include a dedicated processor subsystem for handling real-time camera management.

[0207] The processor 1210 may further include a high dynamic range signal processor, which may include an image signal processor, which is a hardware engine that is part of the camera processing pipeline.

[0208] The processor 1210 may include a video image compositor, which may be a processing block (e.g., implemented in a microprocessor) that implements video post-processing functions required by the video playback application to produce a final image for the player window. The video image compositor may perform lens distortion correction on the wide-view camera 1270, on the surround camera 1274, and / or on the in-cabin surveillance camera sensor. The in-cabin surveillance camera sensor is preferably monitored by a neural network running on another instance of the advanced SoC, configured to identify in-cabin events and respond appropriately. The in-cabin system may perform lip reading to activate cellular service and make phone calls, dictate emails, change the vehicle's destination, activate or change the vehicle's infotainment system and settings, or provide voice-activated web surfing. Certain features are only available to the driver when operating in autonomous mode and are disabled otherwise.

[0209] The video image synthesizer may include enhanced temporal noise reduction for both spatial and temporal noise reduction. For example, when motion occurs in the video, the noise reduction reduces the weight of information provided by adjacent frames and appropriately weights the spatial information. When an image or part of an image does not contain motion, the temporal noise reduction performed by the video image synthesizer may use information from previous images to reduce noise in the current image.

[0210] The video image composer may also be configured to perform stereo rectification on the input stereo lens frames. The video image composer may further be used for user interface compositing when the operating system desktop is in use and the GPU 1208 is not required to continuously render new surfaces. Even when the GPU 1208 is powered on and actively performing 3D rendering, the video image composer may be used to offload the GPU 1208 to improve performance and responsiveness.

[0211] The SoC1204 may further include a mobile industry processor interface (MIPI) camera serial interface, a high-speed interface for receiving video and input from a camera, and / or a video input block that may be used for camera and related pixel input functions. The SoC1204 may further include an input / output controller that may be controlled by software and that may be used to receive I / O signals that are not committed to a specific role.

[0212] The SoC 1204 may further include a wide range of peripheral interfaces to enable peripherals, audio codecs, power management, and / or communication with other devices. The SoC 1204 may be used to process data from cameras (e.g., connected via gigabit multimedia serial links and Ethernet), sensors (e.g., LIDAR sensors 1264, RADAR sensors 1260, etc., which may be connected via Ethernet), data from the bus 1202 (e.g., vehicle 1200 speed, steering wheel position, etc.), and data from the GNSS sensor 1258 (e.g., connected via Ethernet or CAN bus). The SoC 1204 may further include a dedicated high-performance mass storage controller, which may include its own DMA engine and may be used to offload the CPU 1206 from routine data management tasks.

[0213] The SoC1204 may be an end-to-end platform with a flexible architecture that spans levels 3-5 of automation, thereby providing a comprehensive functional safety architecture that leverages and efficiently uses computer vision and ADAS techniques for diversity and redundancy, and provides a platform for a flexible, reliable driving software stack along with deep learning tools. The SoC1204 may be faster, more reliable, and more energy- and space-efficient than traditional systems. For example, when the accelerator 1214 is combined with the CPU 1206, the GPU 1208, and the data store 1216, the SoC1204 may provide a fast and efficient platform for levels 3-5 of autonomous vehicles.

[0214] Thus, the present technology provides capabilities and functionality that cannot be achieved by conventional systems. For example, computer vision algorithms may be executed on a CPU, which may be configured using a high-level programming language, such as the C programming language, to execute a wide variety of processing algorithms across a wide variety of visual data. However, CPUs often cannot meet the performance requirements of many computer vision applications, such as those related to execution time and power consumption. In particular, many CPUs cannot execute complex object detection algorithms in real time, which is a requirement for in-vehicle ADAS applications and for practical Level 3-5 autonomous vehicles.

[0215] In contrast to conventional systems, by providing a CPU complex, a GPU complex, and a hardware acceleration cluster, the techniques described herein allow multiple neural networks to run simultaneously and / or sequentially and the results to be combined to enable Level 3-5 autonomous driving capabilities. For example, a CNN running on the DLA or dGPU (e.g., GPU1220) can include text and word recognition that allows the supercomputer to read and understand traffic signs, including signs for which the neural network was not specifically trained. The DLA can further include neural networks that can identify, interpret, and provide a semantic understanding of the signs and pass the semantic understanding to a route planning module running on the CPU complex.

[0216] As another example, multiple neural networks may be run simultaneously, as required for level 3, 4, or 5 driving. For example, a warning sign consisting of "Caution: Flashing lights indicate icy conditions" along with a lightning flash may be interpreted by several neural networks, independently or collectively. The sign itself may be identified as a traffic sign by a first deployed neural network (e.g., a trained neural network), and the text "Flashing lights indicate icy conditions" may be interpreted by a second deployed neural network that informs the vehicle's route planning software (preferably running on the CPU complex) that icy conditions exist when a flashing light is detected. The flashing light may be identified by running a third deployed neural network through multiple frames, informing the vehicle's route planning software of the presence (or absence) of the flashing light. All three neural networks may be run simultaneously, such as within the DLA and / or on the GPU 1208.

[0217] In some instances, a CNN for facial recognition and vehicle owner identification can use data from the camera sensors to identify the presence of a legitimate driver and / or owner of the vehicle 1200. An always-on sensor processing engine can be used to unlock the vehicle and turn on the lights when the owner approaches the driver's door, and in security mode, to disable vehicle operation when the owner leaves the vehicle. In this manner, the SoC 1204 provides security against theft and / or carjacking.

[0218] In another example, a CNN for emergency vehicle detection and identification can detect and identify emergency vehicle sirens using data from microphone 1296. In contrast to conventional systems that use general classifiers to detect sirens and manually extract features, SoC 1204 uses CNNs for classification of environmental and urban sounds, as well as classification of visual data. In a preferred embodiment, the CNN running on the DLA is trained to identify the relative terminal velocity of emergency vehicles (e.g., by using the Doppler effect). The CNN can also be trained to identify emergency vehicles specific to the local area in which the vehicle is operating, as identified by the GNSS sensor 1258. Thus, for example, when operating in Europe, the CNN will attempt to detect European sirens, and when in the United States, the CNN will attempt to identify only North American sirens. After an emergency vehicle is detected, a control program can be used to perform emergency vehicle safety routines, such as slowing the vehicle down, stopping at the side of the road, parking the vehicle, and / or idling the vehicle, with the assistance of ultrasonic sensor 1262, until the emergency vehicle has passed.

[0219] The vehicle may include a CPU 1218 (e.g., a discrete CPU, or a dCPU) that may be coupled to the SoC 1204 via a high-speed interconnect (e.g., PCIe). The CPU 1218 may include, for example, an X86 processor. The CPU 1218 may be used to perform any of a variety of functions, including, for example, reconciling potentially inconsistent results between the ADAS sensors and the SoC 1204, and / or monitoring the status and health of the controller 1236 and / or the infotainment SoC 1230.

[0220] Vehicle 1200 may include GPU 1220 (e.g., a discrete GPU, or a dGPU) that may be coupled to SoC 1204 via a high-speed interconnect (e.g., NVIDIA's NVLINK). GPU 1220 may provide additional artificial intelligence capabilities, such as by running redundant and / or different neural networks, and may be used to train and / or update neural networks based on input (e.g., sensor data) from sensors of vehicle 1200.

[0221] The vehicle 1200 may further include a network interface 1224, which may include one or more wireless antennas 1226 (e.g., one or more wireless antennas for different communication protocols, such as a cellular antenna, a Bluetooth antenna, etc.). The network interface 1224 may be used to enable wireless connections with the cloud over the Internet (e.g., with the server 1278 and / or other network devices), with other vehicles, and / or with computing devices (e.g., passenger client devices). To communicate with other vehicles, a direct link may be established between the two vehicles and / or an indirect link may be established (e.g., through a network and via the Internet). A direct link may be provided using a vehicle-to-vehicle communication link. The vehicle-to-vehicle communication link may provide the vehicle 1200 information about vehicles in close proximity to the vehicle 1200 (e.g., vehicles in front of, beside, and / or behind the vehicle 1200). This function may be part of a cooperative adaptive cruise control function of the vehicle 1200.

[0222] The network interface 1224 may include a SoC that provides modulation and demodulation functions and enables the controller 1236 to communicate over a wireless network. The network interface 1224 may include a radio frequency front end for upconversion from baseband to radio frequency and downconversion from radio frequency to baseband. The frequency conversion may be performed through well known processes and / or may be performed using a superheterodyne process. In some instances, the radio frequency front end functions may be provided by a separate chip. The network interface may include wireless functions for communicating via LTE, WCDMA, UMTS, GSM, CDMA2000, Bluetooth, Bluetooth LE, Wi-Fi, Z-Wave, ZigBee, LoRaWAN, and / or other wireless protocols.

[0223] Vehicle 1200 may further include a data store 1228, which may include off-chip (e.g., off-SoC 1204) storage. Data store 1228 may include one or more memory elements, including RAM, SRAM, DRAM, VRAM, flash, hard disk, and / or other components and / or devices capable of storing at least one bit of data.

[0224] The vehicle 1200 may further include GNSS sensors 1258 (e.g., GPS and / or assisted GPS sensors) to assist in mapping, perception, occupancy grid generation, and / or route planning functions. Any number of GNSS sensors 1258 may be used, including, but not limited to, a GPS using a USB connector with an Ethernet to serial (RS-232) bridge.

[0225] The vehicle 1200 may further include a RADAR sensor 1260. The RADAR sensor 1260 may be used by the vehicle 1200 for long-range vehicle detection, even in darkness and / or severe weather conditions. The RADAR functional safety level may be ASIL B. In some instances, the RADAR sensor 1260 may use the CAN and / or bus 1202 for control and to access object tracking data (e.g., to transmit data generated by the RADAR sensor 1260), with access to Ethernet to access raw data. A wide variety of RADAR sensor types may be used. For example, and without limitation, the RADAR sensor 1260 may be suitable for front, rear, and side RADAR use. In some instances, a pulsed Doppler RADAR sensor is used.

[0226] The RADAR sensor 1260 may include different configurations, such as long range with a narrow field of view, short range with a wide field of view, and short range side coverage. In some instances, the long range RADAR may be used for adaptive cruise control functions. Long range RADAR systems may provide a wide field of view achieved by two or more independent scans, such as within a 250m range. The RADAR sensor 1260 may help distinguish between static and moving objects and may be used by ADAS systems for emergency brake assist and forward collision warning. Long range RADAR sensors may include monostatic multimodal RADAR with multiple (e.g., six or more) fixed RADAR antennas and high speed CAN and FlexRay interfaces. In one instance with six antennas, the center four antennas may create a focused beam pattern designed to record the surroundings of the vehicle 1200 at high speeds with minimal interference from traffic in adjacent lanes. The other two antennas may increase the field of view, allowing for quick detection of vehicles entering or leaving the lane of the vehicle 1200.

[0227] As an example, a mid-range RADAR system may include a range of up to 1260m (front) or 80m (rear) and a field of view of up to 42 degrees (front) or 1250 degrees (rear). A short-range RADAR system may include, but is not limited to, a RADAR sensor designed to be mounted on either end of the rear bumper. When mounted on either end of the rear bumper, such a RADAR sensor system can create two beams that constantly monitor the blind spots behind and next to the vehicle.

[0228] Short-range RADAR systems may be used in ADAS systems for blind spot detection and / or lane change assist.

[0229] The vehicle 1200 may further include ultrasonic sensors 1262. The ultrasonic sensors 1262, which may be located on the front, rear, and / or sides of the vehicle 1200, may be used for parking assist and / or for creating and updating an occupancy grid. A wide variety of ultrasonic sensors 1262 may be used, with different ultrasonic sensors 1262 being used for different ranges of detection (e.g., 2.5m, 4m). The ultrasonic sensors 1262 may operate at a functional safety level of ASIL B.

[0230] The vehicle 1200 may include a LIDAR sensor 1264. The LIDAR sensor 1264 may be used for object and pedestrian detection, emergency braking, collision avoidance, and / or other functions. The LIDAR sensor 1264 may be functional safety level ASIL B. In some instances, the vehicle 1200 may include multiple (e.g., 2, 4, 6, etc.) LIDAR sensors 1264 that may use Ethernet (e.g., to provide data to a Gigabit Ethernet switch).

[0231] In some instances, the LIDAR sensor 1264 may have the ability to provide a list of objects and their distances in a 360-degree field of view. A commercially available LIDAR sensor 1264 may have an advertised range of about 100 m, for example, with an accuracy of 2 cm to 3 cm, and with support for a 100 Mbps Ethernet connection. In some instances, one or more non-protruding LIDAR sensors 1264 may be used. In such instances, the LIDAR sensor 1264 may be implemented as a small device that may be integrated into the front, rear, sides, and / or corners of the vehicle 1200. In such instances, the LIDAR sensor 1264 may have a range of 200 m even for low-reflecting objects and provide up to a 120-degree horizontal and 35-degree vertical field of view. A front-mounted LIDAR sensor 1264 may be configured for a horizontal field of view between 45 and 135 degrees.

[0232] In some instances, LIDAR technology such as 3D flash LIDAR may also be used. 3D flash LIDAR uses a laser flash as a transmitter to illuminate the surroundings of the vehicle up to about 200 m. The flash LIDAR unit includes a receptor that records the laser pulse transit time and the reflected light on each pixel, which in turn corresponds to the range from the vehicle to the object. Flash LIDAR may allow a highly accurate and undistorted image of the surroundings to be generated with every laser flash. In some instances, four flash LIDAR sensors may be deployed, one on each side of the vehicle 1200. Available 3D flash LIDAR systems include solid-state 3D steering array LIDAR cameras with no moving parts other than the blower (e.g., non-scanning LIDAR devices). Flash LIDAR devices may use 5 nanosecond Class I (eye-safe) laser pulses per frame and may capture reflected laser light in the form of a 3D range point cloud and coregistered intensity data. By using flash LIDAR, and because flash LIDAR is a solid-state device with no moving parts, the LIDAR sensor 1264 may be less susceptible to motion blur, vibration, and / or shock.

[0233] The vehicle may further include an IMU sensor 1266. In some instances, the IMU sensor 1266 may be positioned at the center of the rear axle of the vehicle 1200. The IMU sensor 1266 may include, for example, but not limited to, an accelerometer, a magnetometer, a gyroscope, a magnetic compass, and / or other sensor types. In some instances, such as in a 6-axis application, the IMU sensor 1266 may include an accelerometer and a gyroscope, while in a 9-axis application, the IMU sensor 1266 may include an accelerometer, a gyroscope, and a magnetometer.

[0234] In some embodiments, the IMU sensor 1266 may be implemented as a miniature, high-performance GPS-Aided Inertial Navigation System (GPS / INS) that combines micro-electro-mechanical system (MEMS) inertial sensors, highly sensitive GPS receivers, and advanced Kalman filtering algorithms to provide estimates of position, velocity, and attitude. As such, in some instances, the IMU sensor 1266 may enable the vehicle 1200 to estimate heading without requiring input from a magnetic sensor by directly observing and correlating changes in velocity from the GPS to the IMU sensor 1266. In some instances, the IMU sensor 1266 and the GNSS sensor 1258 may be combined in a single integrated unit.

[0235] The vehicle may include microphones 1296 placed in and / or around the vehicle 1200. The microphones 1296 may be used for emergency vehicle detection and identification, among other things.

[0236] The vehicle may further include any number of camera types, including stereo cameras 1268, wide view cameras 1270, infrared cameras 1272, surround cameras 1274, long and / or mid-range cameras 1298, and / or other camera types. The cameras may be used to capture image data around the entire exterior of the vehicle 1200. The type of cameras used depends on the embodiment and requirements of the vehicle 1200, and any combination of camera types may be used to achieve the required coverage around the vehicle 1200. Additionally, the number of cameras may vary depending on the embodiment. For example, the vehicle may include six cameras, seven cameras, ten cameras, twelve cameras, and / or another number of cameras. The cameras may support, by way of example only, Gigabit Multimedia Serial Link (GMSL) and / or Gigabit Ethernet. Each camera is described in further detail herein with respect to FIG. 12 and FIG. 13.

[0237] The vehicle 1200 may further include a vibration sensor 1242. The vibration sensor 1242 may measure vibration of a vehicle component, such as an axle. For example, a change in vibration may indicate a change in the surface of the road. In another example, when two or more vibration sensors 1242 are used, the difference in vibration may be used to determine friction or slippage of the road surface (e.g., when the difference in vibration is between a powered axle and a free-running axle).

[0238] The vehicle 1200 may include an ADAS system 1238. In some instances, the ADAS system 1238 may include a SoC. The ADAS system 1238 may include autonomous / adaptive / automatic cruise control (ACC), cooperative adaptive cruise control (CACC), forward crash warning (FCW), automatic emergency braking (AEB), lane departure warning (LDW), lane keep assist (LKA), blind spot warning (BSW), rear cross-traffic warning (RCTW), collision warning system (CWS), lane centering (LC), and / or other features and functions.

[0239] The ACC system may use a RADAR sensor 1260, a LIDAR sensor 1264, and / or a camera. The ACC system may include longitudinal ACC and / or lateral ACC. Longitudinal ACC monitors and controls the distance to the vehicle directly ahead of the vehicle 1200 and automatically adjusts the vehicle speed to maintain a safe distance from the vehicle ahead. Lateral ACC performs distance keeping and advises the vehicle 1200 to change lanes when necessary. Lateral ACC is related to other ADAS applications such as LC and CWS.

[0240] CACC uses information from other vehicles, which may be received from other vehicles via a wireless link via the network interface 1224 and / or wireless antenna 1226, or indirectly via a network connection (e.g., via the Internet). A direct link may be provided by a vehicle-to-vehicle (V2V) communication link, while an indirect link may be an infrastructure-to-vehicle (I2V) communication link. In general, a V2V communication concept provides information about the immediately preceding vehicle (e.g., the vehicle directly ahead of the vehicle 1200, in the same lane as the vehicle 1200), while an I2V communication concept provides information about the traffic further ahead. A CACC system may include either or both I2V and V2V information sources. Given information about vehicles ahead of the vehicle 1200, CACC may be more reliable and may potentially allow traffic to flow more smoothly and reduce congestion on the roads.

[0241] The FCW system is designed to warn the driver of hazards so that the driver can take corrective action. The FCW system uses a forward-facing camera and / or RADAR sensor 1260 coupled to a dedicated processor, DSP, FPGA, and / or ASIC, electrically coupled to driver feedback such as a display, speaker, and / or vibration components. The FCW system can provide warnings in the form of audio, visual alerts, vibrations, and / or quick brake pulses.

[0242] An AEB system can detect an imminent forward collision with another vehicle or other object and automatically apply the brakes if the driver does not take corrective action within specified time or distance parameters. The AEB system can use a forward-facing camera and / or RADAR sensor 1260 coupled to a dedicated processor, DSP, FPGA, and / or ASIC. When the AEB system detects a hazard, the AEB system typically first alerts the driver to take corrective action to avoid the collision, and if the driver does not take corrective action, the AEB system can automatically apply the brakes as part of an effort to prevent, or at least mitigate, the effects of the predicted collision. The AEB system can include techniques such as Dynamic Brake Support and / or Collision Imminent Braking.

[0243] The LDW system provides visual, audible, and / or tactile warnings, such as vibrations in the steering wheel or seat, to alert the driver when the vehicle 1200 crosses a lane marking. The LDW system is not activated when the driver indicates an intentional lane departure by activating a turn signal. The LDW system may use a forward-facing camera coupled to a dedicated processor, DSP, FPGA, and / or ASIC electrically coupled to driver feedback, such as a display, speaker, and / or vibration components.

[0244] The LKA system is a modification of the LDW system, which provides steering input or braking to correct the vehicle 1200 if it begins to drift out of its lane.

[0245] The BSW system detects and warns the vehicle driver in the vehicle's blind spot. The BSW system can provide visual, audible, and / or tactile warnings to indicate that merging or changing lanes is unsafe. The system can provide additional warnings when the driver uses turn signals. The BSW system can use rear-facing cameras and / or RADAR sensors 1260 coupled to dedicated processors, DSPs, FPGAs, and / or ASICs electrically coupled to driver feedback, e.g., displays, speakers, and / or vibration components.

[0246] The RCTW system may provide visual, audible, and / or tactile notifications when an object is detected outside the range of the rear camera when the vehicle 1200 is backing up. Some RCTW systems include AEB to ensure vehicle brakes are applied to avoid a collision. The RCTW system may use one or more rear-facing RADAR sensors 1260 coupled to a dedicated processor, DSP, FPGA, and / or ASIC electrically coupled to driver feedback, e.g., a display, speaker, and / or vibration components.

[0247] Because conventional ADAS systems alert the driver and allow the driver to determine whether a safety condition truly exists and act accordingly, conventional ADAS systems can be prone to producing false positive results that are usually not catastrophic but can be annoying and distracting to the driver. However, in an autonomous vehicle 1200, the vehicle 1200 itself must decide whether to listen to the results from the primary computer or the secondary computer (e.g., the first controller 1236 or the second controller 1236) when the results are conflicting. For example, in some embodiments, the ADAS system 1238 may be a backup and / or secondary computer to provide perception information to a backup computer rationality module. The backup computer rationality monitor can run redundant and diverse software on hardware components to detect failures in perception and dynamic driving tasks. Output from the ADAS system 1238 may be provided to a supervisory MCU. When the outputs from the primary and secondary computers conflict, the supervisory MCU must decide how to reconcile the conflict to ensure safe operation.

[0248] In some instances, the primary computer may be configured to provide a reliability score to the overseer MCU indicating the reliability of the primary computer in a selected outcome. If the reliability score exceeds a threshold, the overseer MCU may follow the instructions of the primary computer regardless of whether the secondary computers provide conflicting or inconsistent results. If the reliability score does not meet the threshold, and if the primary and secondary computers show different (e.g., conflicting) results, the overseer MCU may arbitrate between the computers to determine the appropriate outcome.

[0249] The supervisory MCU may be configured to execute a neural network that is trained and configured to determine conditions under which the secondary computer provides a false alarm based on the outputs from the primary and secondary computers. Thus, the neural network in the supervisory MCU may learn when the output of the secondary computer may be trusted and when it may not be trusted. For example, when the secondary computer is a RADAR-based FCW system, the neural network in the supervisory MCU may learn when the FCW identifies a metal object that is not actually a hazard, such as a sewer grate or manhole cover, that triggers an alarm. Similarly, when the secondary computer is a camera-based LDW system, the neural network in the supervisory MCU may learn to ignore the LDW when a bicyclist or pedestrian is present and lane departure is, in fact, the safest maneuver. In embodiments that include a neural network executing on the supervisory MCU, the supervisory MCU may include at least one of a DLA or a GPU suitable for executing the neural network with associated memory. In a preferred embodiment, the director MCU may include and / or be included as a component of SoC1204.

[0250] In other instances, the ADAS system 1238 may include a secondary computer that performs ADAS functions using classical rules of computer vision. As such, the secondary computer may use classical computer vision rules (if-then) and the presence of a neural network in the supervisory MCU may improve reliability, safety and performance. For example, the diverse implementations and intentional non-identity may make the overall system more fault-tolerant, especially to failures caused by software (or software-hardware interface) functions. For example, if there is a software bug or error in the software running on the primary computer and non-identical software code running on the secondary computer provides the same overall result, the supervisory MCU may have greater confidence that the overall result is correct and that a bug in the software or hardware used by the primary computer has not caused a critical error.

[0251] In some instances, the output of the ADAS system 1238 may be fed to a perception block of the primary computer and / or a dynamic driving task block of the primary computer. For example, if the ADAS system 1238 indicates a forward collision warning due to an object directly ahead, the perception block may use this information when identifying the object. In other instances, the secondary computer may have its own neural network that is trained as described herein, thus reducing the risk of false positives.

[0252] Vehicle 1200 may further include an infotainment SoC 1230 (e.g., an in-vehicle infotainment system (IVI)). Although shown and described as an SoC, the infotainment system need not be an SoC and may include two or more separate components. Infotainment SoC 1230 may include a combination of hardware and software that may be used to provide audio (e.g., music, personal digital assistant, navigation instructions, news, radio, etc.), video (e.g., TV, movies, streaming, etc.), telephony (e.g., hands-free calling), network connectivity (e.g., LTE, Wi-Fi, etc.), and / or information services (e.g., navigation system, rear park assist, wireless data system, vehicle related information such as fuel level, total distance traveled, brake fuel level, oil level, door open / close, air filter information, etc.) to vehicle 1200. For example, the infotainment SoC 1230 may include a radio, a disc player, a navigation system, a video player, USB and Bluetooth connectivity, a car computer, in-car entertainment, Wi-Fi, steering wheel audio controls, hands-free voice control, a heads-up display (HUD), an HMI display 1234, telematics devices, a control panel (e.g., for controlling and / or interacting with various components, features, and / or systems), and / or other components. The infotainment SoC 1230 may further be used to provide information (e.g., visual and / or audible) to a user of the vehicle, such as information from an ADAS system 1238, autonomous driving information such as planned vehicle maneuvers, trajectory, surrounding environment information (e.g., intersection information, vehicle information, road information, etc.), and / or other information.

[0253] The infotainment SoC 1230 may include GPU functionality. The infotainment SoC 1230 may communicate with other devices, systems, and / or components of the vehicle 1200 via the bus 1202 (e.g., CAN bus, Ethernet, etc.). In some instances, the infotainment SoC 1230 may be coupled to a supervisory MCU such that the infotainment system's GPU can perform some self-drive functions in the event that the primary controller 1236 (e.g., the vehicle 1200's primary and / or backup computer) fails. In such instances, the infotainment SoC 1230 may place the vehicle 1200 in a Chauffeur safe shutdown mode, as described herein.

[0254] The vehicle 1200 may further include an instrument cluster 1232 (e.g., a digital dash, an electronic instrument cluster, a digital instrument panel, etc.). The instrument cluster 1232 may include a controller and / or a supercomputer (e.g., a separate controller or a supercomputer). The instrument cluster 1232 may include a set of instruments such as a speedometer, a fuel level, an oil pressure, a tachometer, an odometer, a turn signal, a gear shift position indicator, a seat belt warning light, a parking brake warning light, an engine malfunction light, an airbag (SRS) system information, lighting controls, safety system controls, navigation information, etc. In some instances, information may be displayed and / or shared between the infotainment SoC 1230 and the instrument cluster 1232. In other words, the instrument cluster 1232 may be included as part of the infotainment SoC 1230, or vice versa.

[0255] As mentioned above, in at least some embodiments, automobile platform 100 (see FIG. 1 ) may be a component of autonomous vehicle 1200. In such embodiments, controller 1236 includes automobile SoC 104. For example, automobile SoC 104 may be implemented as one of SoCs 1204.

[0256] 15 is a system diagram of communication between a cloud-based server and example autonomous vehicle 1200 of FIG. 12 in accordance with some embodiments of the present disclosure. System 1276 may include server 1278, network 1290, and a vehicle including vehicle 1200. Server 1278 may include multiple GPUs 1284(A)-1284(H) (collectively referred to herein as GPUs 1284), PCIe switches 1282(A)-1282(H) (collectively referred to herein as PCIe switches 1282), and / or CPUs 1280(A)-1280(B) (collectively referred to herein as CPUs 1280). GPUs 1284, CPUs 1280, and PCIe switches may be interconnected with a high-speed interconnect, such as, but not limited to, an NVLink interface 1288 developed by NVIDIA and / or a PCIe connection 1286. In some instances, the GPUs 1284 are connected via an NVLink and / or NVSwitch SoC, and the GPUs 1284 and PCIe switch 1282 are connected via a PCIe interconnect. Although eight GPUs 1284, two CPUs 1280, and two PCIe switches are illustrated, this is not intended to be limiting. Depending on the embodiment, each server 1278 may include any number of GPUs 1284, CPUs 1280, and / or PCIe switches. For example, the servers 1278 may each include 8, 16, 32, and / or more GPUs 1284.

[0257] Server 1278 may receive image data from the vehicle over network 1290, the image data representing images showing unexpected or changed road conditions, such as recently started road construction. Server 1278 may transmit neural network 1292, updated neural network 1292, and / or map information 1294, including information about traffic and road conditions, to the vehicle over network 1290. Updates to map information 1294 may include updates to HD map 1222, such as information about construction sites, potholes, detours, flooding, and / or other obstacles. In some instances, neural network 1292, updated neural network 1292, and / or map information 1294 may have arisen from new training and / or experience represented in data received from any number of vehicles in the environment and / or based on training performed at a data center (e.g., using server 1278 and / or other servers).

[0258] The server 1278 may be used to train a machine learning model (e.g., a neural network) based on the training data. The training data may be generated by the vehicle and / or generated in a simulation (e.g., using a game engine). In some instances, the training data is tagged (e.g., if the neural network benefits from supervised learning) and / or undergoes other pre-processing, while in other instances, the training data is not tagged and / or pre-processed (e.g., if the neural network does not require supervised learning). The training may be performed according to any one or more classes of machine learning techniques, including, but not limited to, the following classes: supervised training, semi-supervised training, unsupervised training, self-learning, reinforcement learning, federated learning, transfer learning, feature learning (including principal component and cluster analysis), multi-linear subspace learning, manifold learning, representation learning (including preliminary dictionary learning), rule-based machine learning, anomaly detection, and variations or combinations thereof. After the machine-learned model has been traced, the machine-learned model may be used by the vehicle (e.g., transmitted to the vehicle via network 1290) and / or the machine-learned model may be used by server 1278 to remotely monitor the vehicle.

[0259] In some instances, the server 1278 can receive data from the vehicles and apply the data to state-of-the-art real-time neural networks for real-time intelligent inference. The server 1278 can include deep learning supercomputers and / or dedicated AI computers powered by the GPU 1284, such as the DGX and DGX Station machines developed by NVIDIA. However, in some instances, the server 1278 can include a deep learning infrastructure that uses only CPU-powered data centers.

[0260] The deep learning infrastructure of server 1278 may be capable of rapid real-time inference and may use that capability to evaluate and validate the health of the processor, software, and / or associated hardware within vehicle 1200. For example, the deep learning infrastructure may receive periodic updates from vehicle 1200, such as sequences of images and / or objects that vehicle 1200 has located within the images of that sequence (e.g., via computer vision and / or other machine learning object classification techniques). The deep learning infrastructure may run its own neural networks to identify objects and compare them to objects identified by vehicle 1200, and if the results do not match and the infrastructure concludes that the AI ​​within vehicle 1200 is not functioning properly, server 1278 may send a signal to vehicle 1200 to infer control, notify passengers, and command vehicle 1200's failsafe computer to complete a safe parking maneuver.

[0261] For inference, the server 1278 may include a GPU 1284 and one or more programmable inference accelerators (e.g., NVIDIA's TensorRT). The combination of a GPU-powered server and inference acceleration can enable real-time responsiveness. In other instances, such as when less performance is required, servers powered by CPUs, FPGAs, and other processors may be used for inference.

[0262] Exemplary Computing Device 16 is a block diagram of an example computing device 1600 suitable for use in implementing some embodiments of the present disclosure. The computing device 1600 may include an interconnection system 1602 that indirectly or directly couples the following devices: memory 1604, one or more central processing units (CPUs) 1606, one or more graphic processing units (GPUs) 1608, a communication interface 1610, I / O ports 1612, input / output components 1614, a power supply 1616, one or more presentation components 1618 (e.g., a display), and one or more logic units 1620.

[0263] Although the various blocks in FIG. 16 are shown as connected via interconnect system 1602 with lines, this is not intended to be limiting and is merely for ease of understanding. For example, in some embodiments, a presentation component 1618, such as a display device, may be considered an I / O component 1614 (e.g., if the display is a touch screen). As another example, CPU 1606 and / or GPU 1608 may include memory (e.g., memory 1604 may represent a storage device in addition to the memory of GPU 1608, CPU 1606, and / or other components). In other words, the computing devices of FIG. 16 are merely exemplary. Categories such as "workstations," "servers," "laptops," "desktops," "tablets," "client devices," "mobile devices," "handheld devices," "gaming consoles," "electronic control units (ECUs)," "virtual reality systems," "augmented reality systems," and / or other device or system types are all intended to be within the scope of the computing devices of FIG. 16 and therefore are not to be distinguished.

[0264] The interconnect system 1602 may represent one or more links or buses, such as an address bus, a data bus, a control bus, or a combination thereof. The interconnect system 1602 may include one or more bus or link types, such as an industry standard architecture (ISA) bus, an extended industry standard architecture (EISA) bus, a video electronics standards association (VESA) bus, a peripheral component interconnect (PCI) bus, a peripheral component interconnect express (PCIe) bus, and / or another type of bus or link. In some embodiments, there are direct connections between components. As an example, the CPU 1606 may be directly connected to the memory 1604. Additionally, the CPU 1606 may be directly connected to the GPU 1608. When there is a direct or point-to-point connection between components, the interconnect system 1602 may include a PCIe link to implement the connection. In these instances, a PCI bus need not be included in the computing device 1600 .

[0265] Memory 1604 may include any of a variety of computer-readable media. Computer-readable media may be any available media that can be accessed by computing device 1600. Computer-readable media may include both volatile and nonvolatile media, and removable and non-removable media. By way of example, and not limitation, computer-readable media may include computer storage media and communication media.

[0266] Computer storage media may include both volatile and nonvolatile media and / or removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, and / or other data types. For example, memory 1604 may store computer readable instructions (e.g., representing programs and / or program elements), such as an operating system. Computer storage media may include, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that may be used to store the desired information and that may be accessed by computing device 1600. As used herein, computer storage media does not include the signals themselves.

[0267] Computer storage media may embody computer-readable instructions, data structures, program modules, and / or other data types in a modulated data signal such as a carrier wave or other transport mechanism and include any information delivery media. The term "modulated data signal" may refer to a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, computer storage media may include wired media, such as a wired network or direct-wired connection, and wireless media, such as acoustic, RF, infrared and other wireless media. Combinations of any of the above should also be included within the scope of computer-readable media.

[0268] The CPU 1606 may be configured to execute at least some of the computer readable instructions to control one or more components of the computing device 1600 to perform one or more of the methods and / or processes described herein. The CPU 1606 may include one or more (e.g., 1, 2, 4, 8, 28, 72, etc.) cores each capable of simultaneously processing multiple software threads. The CPU 1606 may include any type of processor, and may include different types of processors depending on the type of computing device 1600 implemented (e.g., a processor with fewer cores for a mobile device and a processor with more cores for a server). For example, depending on the type of computing device 1600, the processor may be an Advanced RISC Machines (ARM) processor implemented using Reduced Instruction Set Computing (RISC) or an x86 processor implemented using Complex Instruction Set Computing (CISC). Computing device 1600 may include one or more CPUs 1606 within one or more microprocessors or auxiliary coprocessors, such as computational coprocessors.

[0269] In addition to or in place of the CPU 1606, the GPU 1608 may be configured to execute at least some of the computer readable instructions to control one or more components of the computing device 1600 to perform one or more of the methods and / or processes described herein. One or more of the GPUs 1608 may be integrated GPUs (e.g., with one or more of the CPUs 1606 and / or one or more of the GPUs 1608 may be discrete GPUs. In an embodiment, one or more of the GPUs 1608 may be a coprocessor or coprocessors of the CPUs 1606. The GPUs 1608 may be used by the computing device 1600 to render graphics (e.g., 3D graphics) or perform general purpose computations. For example, the GPUs 1608 may be configured to perform general purpose computing on a GPU (GPGPU). A graphics processing unit (GPU) 1608 may be used for processing graphics data. The GPU 1608 may include hundreds or thousands of cores capable of processing hundreds or thousands of software threads simultaneously. The GPU 1608 may generate pixel data for an output image in response to rendering commands (e.g., rendering commands from the CPU 1606 received via a host interface). The GPU 1608 may include graphics memory, e.g., display memory, for storing the pixel data or any other suitable data, e.g., GPGPU data. The display memory may be included as part of the memory 1604. GPU 1608 may include two or more GPUs operating in parallel (e.g., via links). The links may connect the GPUs directly (e.g., using NVLINK) or may connect the GPUs via a switch (e.g., using NVSwitch). When coupled together, each GPU 1608 may generate pixel data or GPGPU data for a different portion of the output or for a different output (e.g., a first GPU for a first image and a second GPU for a second image). Each GPU may include its own memory or may share memory with the other GPUs.

[0270] In addition to or instead of the CPU 1606 and / or GPU 1608, the logic unit 1620 may be configured to execute at least some of the computer readable instructions to control one or more of the computing devices 1600 to perform one or more of the methods and / or processes described herein. In an embodiment, the CPU 1606, the GPU 1608, and / or the logic unit 1620 may execute any combination of the methods, processes, and / or portions thereof, either discretely or jointly. One or more of the logic units 1620 may be part of and / or integrated with one or more of the CPU 1606 and / or GPU 1608, and / or one or more of the logic units 1620 may be a discrete component to or otherwise external to the CPU 1606 and / or GPU 1608. In an embodiment, one or more of the logic units 1620 may be a co-processor of one or more of the CPU 1606 and / or GPU 1608.

[0271] Examples of logic unit 1620 include one or more processing cores and / or components thereof, such as a Tensor Core (TC), a Tensor Processing Unit (TPU), a Pixel Visual Core (PVC), a Vision Processing Unit (VPU), a Graphics Processing Cluster (GPC), a Texture Processing Cluster (TPC), a Streaming Multiprocessor (SM), a Tree Traversal Unit (TTU), an Artificial Intelligence Accelerator (AIA), a Deep Learning Accelerator (DLA), an Arithmetic Logic Unit (ALU), an Application Specific Integrated Circuit (ASIC), a Floating Point Unit (FPU), an I / O element, a Peripheral Component Interconnect (PCI) or Peripheral Component Interconnect Express (PCIe) element, and / or the like.

[0272] Communications interface 1610 may include one or more receivers, transmitters, and / or transceivers that enable computing device 1600 to communicate with other computing devices over electronic communications networks, including wired and / or wireless communications. Communications interface 1610 may include components and functionality to enable communication over any of a number of different networks, such as a wireless network (e.g., Wi-Fi, Z-Wave, Bluetooth, Bluetooth LE, ZigBee, etc.), a wired network (e.g., communicating over Ethernet or InfiniBand), a low power wide area network (e.g., LoRaWAN, SigFox, etc.), and / or the Internet.

[0273] The I / O ports 1612 may enable the computing device 1600 to be logically coupled to other devices, including I / O components 1614, presentation components 1618, and / or other components, some of which may be built-in (e.g., integrated) to the computing device 1600. Exemplary I / O components 1614 include a microphone, a mouse, a keyboard, a joystick, a game pad, a game controller, a satellite dish, a scanner, a printer, a wireless device, and the like. The I / O components 1614 may provide a natural user interface (NUI) that processes air gestures, voice, or other physiological input generated by a user. In some cases, the input may be sent to an appropriate network element for further processing. The NUI may implement any combination of voice recognition, stylus recognition, facial recognition, biometric recognition, gesture recognition on and next to the screen, air gestures, head and eye tracking, and touch recognition in conjunction with the display of the computing device 1600 (as described in more detail below). The computing device 1600 may include a depth camera, such as a stereoscopic camera system, an infrared camera system, an RGB camera system, touch screen technology, and combinations thereof, for gesture detection and recognition. Additionally, the computing device 1600 may include an accelerometer or gyroscope (e.g., as part of an inertia measurement unit (IMU)) to enable detection of motion. In some instances, the output of the accelerometer or gyroscope may be used by the computing device 1600 to render immersive augmented or virtual reality.

[0274] The power supply 1616 may include a hardwired power supply, a battery power supply, or a combination thereof. The power supply 1616 may provide power to the computing device 1600 to enable the components of the computing device 1600 to operate.

[0275] The presentation component 1618 may include a display (e.g., a monitor, a touch screen, a television screen, a heads-up display (HUD), other display types, or a combination thereof), speakers, and / or other presentation components. The presentation component 1618 can receive data from other components (e.g., GPU 1608, CPU 1606, etc.) and output data (e.g., as images, video, sound, etc.).

[0276] The present disclosure may be described in the general context of computer code or machine usable instructions, including computer executable instructions, such as program modules, being executed by a computer or other machine, such as a personal digital assistant or other handheld device. Generally, program modules, including routines, programs, objects, components, data structures, etc., refer to code that performs particular tasks or implements particular abstract data types. The present disclosure may be implemented in a variety of configurations, including handheld devices, consumer electronics, general purpose computers, more specialized computing devices, etc. The present disclosure may also be implemented in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network.

[0277] At least one embodiment of the present disclosure may be described in view of the following provisions:

[0278] 1. An integrated circuit comprising: a first clock, a second clock isolated from the first clock, a first power connection, a second power connection isolated from the first power connection, a first portion for receiving power using the first power connection and a first clock signal using the first clock, and a second portion for receiving power using the second power connection and a second clock signal using the second clock, the second portion comprising an interface for communicating with the first portion, an interface control, and a processor for locking and unlocking the interface control, the interface control preventing communication over the interface when the interface control is locked and the interface control allowing communication over the interface when the interface control is unlocked.

[0279] 2. The integrated circuit of clause 1, wherein the first part comprises a first fault aggregator for communicating evidence corresponding to one or more faults occurring in the first part to the second part, the second part comprises a second fault aggregator for receiving and storing evidence corresponding to the one or more faults, the integrated circuit comprises a fault interface connecting the first and second fault aggregators, the fault interface being separate from the interface, and the processor unlocks interface control only when the second fault aggregator does not store evidence corresponding to any faults.

[0280] 3. The integrated circuit of clause 1 or 2, wherein the second part includes a timer that starts when the processor initiates communication with the first part over the interface, the timer generating evidence of failure when the timer indicates that more than a predetermined amount of time has elapsed and the first part is not responding to the communication.

[0281] 4. The integrated circuit of clause 3, wherein the timer resets when the first part responds to the communication before the timer indicates that more than a predetermined amount of time has elapsed, and the processor locks the interface after the processor completes communication with the first part.

[0282] 5. An integrated circuit of any one of clauses 1 to 4, further comprising: a non-volatile memory shared by the first and second parts; a second part having a local memory; a processor that copies instructions from the non-volatile memory to the local memory when the integrated circuit boots; and instructions to be executed by the processor when the interface is locked.

[0283] 6. An integrated circuit according to any one of clauses 1 to 5, wherein the first portion comprises a volatile memory and the second portion communicates with the volatile memory via the interface.

[0284] 7. An integrated circuit according to any one of clauses 1 to 6 present on a single continuous semiconductor material.

[0285] 8. An integrated circuit of any one of clauses 1 to 7 implementing part of an automotive system-on-chip ("SoC").

[0286] 9. An integrated circuit of any one of clauses 1 to 8, wherein a first portion operates at a first risk classification level and a second portion operates at a second risk classification level, the second risk classification level being higher than the first risk classification level.

[0287] 10. A method including: determining, by a first part of an integrated circuit, whether a fault aggregator in the first part includes data indicative of at least a predetermined number of faults; unlocking, by the first part, an interface to a second part of the integrated circuit when the first part determines that the fault aggregator does not include data indicative of at least the predetermined number of faults; initiating, by the first part, access of the second part via the unlocked interface; and locking, by the first part, the interface after initiating the access.

[0288] 11. The method of clause 10, wherein initiating access starts an access timer, and the first part locks the interface after detecting that the access timer indicates that more than a predetermined amount of time has elapsed since when the access timer was started and no response has been received from the second part.

[0289] 12. The method of clause 11, wherein the first part generates a new fault after detecting that the access timer indicates that more than a predetermined amount of time has elapsed since the access timer was started and no response has been received from the second part.

[0290] 13. The method of any one of clauses 10 to 12, wherein initiating the access includes starting an access timer, and the method further includes: receiving, by the first part, a response from the second part before the access timer indicates that more than a predetermined amount of time has elapsed since the access timer was started; receiving a response stopping the access timer; and the first part locking the interface after completing the access.

[0291] 14. The method of any one of clauses 10-13, further comprising: performing, by the first part, one or more corrective actions when the first part determines that the fault aggregator includes data indicating at least a predetermined number of faults.

[0292] 15. The method of clause 14, wherein the integrated circuit implements part of an automotive system-on-chip ("SoC"), and the one or more corrective actions are to place the autonomous vehicle in a safe state.

[0293] 16. The method of any one of clauses 10-15, wherein the integrated circuit implements a portion of an automotive system-on-chip ("SoC"), wherein a first portion performs safety functions for the autonomous vehicle while the autonomous vehicle is driving, and a second portion performs autonomous driving functions while the autonomous vehicle is driving.

[0294] 17. The method of any one of clauses 10-16, wherein the interface connects the first part with a volatile memory or control backbone of the second part.

[0295] 18. The method of any one of clauses 10 to 17, wherein the first portion operates in a first clock domain and the second portion operates in a second clock domain different from the first clock domain, and the interface comprises a phase-locked loop circuit that converts a signal received from the second portion to the first clock domain.

[0296] 19. An integrated circuit comprising: a first portion operating at a first risk level in a first domain; and a second portion operating at a second risk level in a second domain, the second risk level being greater than the first risk level, the second portion comprising a processor and an interface connecting the first and second portions, the processor selectively locking the interface to prevent communication over the interface, and the processor selectively unlocking the interface to enable communication over the interface.

[0297] 20. The integrated circuit of clause 19, further comprising: a first power connection for supplying power to the first domain; and a second power connection electrically isolated from the first power connection for supplying power to the second domain; the interface comprising at least one voltage shifter for adjusting the voltage of any communication over the interface.

[0298] 21. The integrated circuit of clause 19 or 20, further comprising: a first clock providing a first clock signal to the first domain; and a second clock, isolated from the first clock, providing a second clock signal to the second domain; the interface comprising a phase synchronization circuit for adjusting the phase of any communication over the interface.

[0299] 22. An integrated circuit of any one of clauses 19 to 21, wherein the interface comprises a firewall implementing one or more security rules, the firewall allowing or blocking communication via the interface based on the one or more security rules.

[0300] 23. An integrated circuit of any one of clauses 19 to 22, wherein the first part comprises a first fault aggregator for communicating data indicative of a fault occurring in the first part to the second part, the second part comprises a second fault aggregator for receiving the data indicative of the fault and storing the data indicative of the fault until the fault is removed by the processor, the integrated circuit comprises a fault interface connecting the first and second fault aggregators, the fault interface being separate from the interface, and the processor unlocks the interface only after a fault corresponding to any fault-indicative data stored by the second fault aggregator has been removed by the processor.

[0301] 24. The integrated circuit of any one of clauses 19 to 23, wherein the second part includes a timer that starts when the processor unlocks the interface, the timer generating a new fault when the timer indicates that more than a predetermined amount of time has elapsed and the first part is not responsive to communications sent to the first part over the interface.

[0302] 25. The integrated circuit of clause 24, wherein the timer resets when the first part responds to the communication before the timer indicates that more than a predetermined amount of time has elapsed, and the processor locks the interface after the processor completes communication with the first part.

[0303] 26. The integrated circuit of any one of clauses 19 to 25, wherein the first portion comprises a non-volatile memory shared by the first and second portions, and the second portion comprises a local memory, and the processor copies instructions from the non-volatile memory to the local memory when the integrated circuit boots, and the instructions are executed by the processor when the interface is locked.

[0304] 27. The integrated circuit of any one of clauses 19 to 26, wherein the first portion comprises a volatile memory and the second portion communicates with the volatile memory via the interface.

[0305] 28. The integrated circuit of any one of clauses 19 to 27, wherein the first part comprises a control backbone, the interface is connected to the control backbone, and the second part communicates with at least one part of the first part via the interface and the control backbone.

[0306] 29. An integrated circuit of any one of clauses 19 to 28 existing on a single continuous semiconductor material.

[0307] 30. An integrated circuit of any one of clauses 19 to 29 implementing part of an automotive system-on-chip ("SoC").

[0308] 31. An integrated circuit of any one of clauses 19-30, wherein the second part comprises a plurality of interfaces, each of the plurality of interfaces connecting the second part with a corresponding part of the first part, and the processor selectively unlocks a particular one of the plurality of interfaces to enable communication via the particular interface with the corresponding part of the first part.

[0309] 32. The integrated circuit of clause 31, wherein the processor selectively locks any of the plurality of interfaces that are unlocked to prevent communication over the plurality of interfaces of the first portion.

[0310] The use of the terms "a," "an," and "the" and similar referents in connection with the description of the disclosed embodiments (particularly in connection with the claims that follow) should not be construed as a definition of a term, but as including both the singular and the plural, unless otherwise indicated herein or clearly contradicted by context. The terms "comprise," "have," "include," and "comprise" should be construed as open-ended terms (meaning "including, but not limited to"), unless otherwise indicated. The term "connected," when referring to an unmodified and physical connection, should be construed as being partially or wholly contained within, attached to, or joined together, even if there is something intervening. The recitation of ranges of values, unless otherwise indicated, is merely intended to serve as a shorthand notation for individually referring to each individual value falling within the range, and each individual value is incorporated into the specification as if it were individually recited herein. In at least one embodiment, use of the term "set" (e.g., "a set of items") or "subset" should be construed as a non-empty collection that contains one or more members, unless otherwise indicated or contravened by context. Further, unless otherwise indicated or contravened by context, the term "subset" of a corresponding set does not necessarily indicate a proper subset of the corresponding set, although a subset and a corresponding set may be equivalent.

[0311] As used herein, the term "and / or" with respect to two or more elements should be construed to mean only one element or a combination of elements. For example, "element A, element B, and / or element C" may include element A only, element B only, element C only, elements A and B, elements A and C, elements B and C, or elements A, B, and C.

[0312] Conjunction language, such as expressions of the form "at least one of A, B, and C," or "at least one of A, B, and C," are understood in the context as generally used to indicate that an item, term, or the like may be either A or B or C, or any non-empty subset of the set A, B, and C, unless otherwise specified or clearly contradicted by the context. For example, in the illustrative example of a set having three members, the conjunctive expressions "at least one of A, B, and C" and "at least one of A, B, and C" refer to any of the following sets: {A}, {B}, {C}, {A,B}, {A,C}, {B,C}, {A,B,C}. Thus, such conjunctive language is generally not intended to imply that a particular embodiment requires that at least one of A, at least one of B, and at least one of C, respectively, be present. Additionally, unless otherwise indicated or denied by context, the term "plurality" refers to a plurality (e.g., "a plurality of items" refers to a multiplicity of items). In at least one embodiment, the number of items in a plurality is at least two, but may be more when explicitly or by context so indicates. Additionally, unless otherwise indicated or excluded by context, the phrase "based on" means "based at least in part on" and not "based only on."

[0313] The operations of the processes described herein may be performed in any suitable order unless otherwise specified or clearly contradicted by context. In at least one embodiment, processes such as those described herein (or variations and / or combinations thereof) are implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) that collectively execute on one or more processors, by hardware, or a combination thereof, under the control of one or more computer systems comprised of executable instructions. In at least one embodiment, the code is stored in a computer-readable storage medium. In at least one embodiment, in the form of a computer program that includes a plurality of instructions executable by one or more processors. In at least one embodiment, the computer-readable storage medium is a non-transitory computer-readable storage medium, excluding transitory signals (e.g., propagating transitory electrical or electromagnetic transmissions), but including non-transitory data storage circuitry (e.g., buffers, caches, and queues) in a transceiver of the transitory signal. In at least one embodiment, code (e.g., executable code or source code) is stored in a set of one or more non-transitory computer-readable storage media (or other memory for storing executable instructions) that, when executed by (i.e., as a result of being executed by) one or more processors of a computer system, causes the computer system to perform the operations described herein. In at least one embodiment, the set of non-transitory computer-readable storage media comprises multiple non-transitory computer-readable storage media, where one or more of the individual non-transitory storage media of the multiple non-transitory computer-readable storage media lacks all of the code, while the multiple non-transitory computer-readable storage media collectively store all of the code.In at least one embodiment, the executable instructions are executed such that different instructions are executed by different processors - in at least one embodiment, a non-transitory computer-readable storage medium stores the instructions and a main central processing unit ("CPU") executes some of the instructions while a graphics processing unit ("GPU") executes other instructions. In at least one embodiment, different components of a computer system have separate processors, with the different processors executing different subsets of the instructions.

[0314] Thus, in at least one embodiment, a computer system is configured to implement one or more services that singly or collectively perform the operations of the processes described herein, and such computer system is configured with applicable hardware and / or software that enables the performance of the operations. Further, a computer system that implements at least one embodiment of the present disclosure is a single device, and in another embodiment, a distributed computer system comprising multiple devices that operate differently such that a distributed computer system performs the operations described herein and such that no single device performs all the operations.

[0315] The use of any and all examples or exemplary language (e.g., "such as") provided herein, unless otherwise indicated, is intended merely to better illuminate embodiments of the disclosure and does not pose a limitation on the scope of the disclosure. No language in the specification should be construed as indicating any non-claimed element as essential to the practice of the disclosure.

[0316] All references cited in this specification, including publications, patent applications, and patents, are herein incorporated by reference to the same extent as if each reference was individually and specifically indicated to be incorporated by reference and was set forth in its entirety herein.

[0317] In the description and claims, the terms "coupled" and "connected," along with their derivatives, may be used. It should be understood that these terms are not intended as synonyms for each other. Instead, in certain instances, "connected" or "coupled" may be used to indicate that two or more elements are in direct or indirect physical or electrical contact with each other. "Coupled" may also mean that two or more elements are not in direct contact with each other, but still cooperate or interact with each other.

[0318] Unless otherwise specified, throughout the specification, terms such as "processing," "calculating," "calculating," "determining," and the like refer to the actions and / or processes of a computer or computing system, or similar electronic computing device, that manipulates data represented as physical, e.g., electronic, quantities in the registers and / or memory of the computing system, and / or converts it into other data that is similarly represented as physical quantities in the memory, registers, or other such information storage, transmission, or display device of the computing system.

[0319] In a similar manner, the term "processor" may refer to any device or portion of a device that processes electronic data from registers and / or memory and converts that electronic data into other electronic data that may be stored in registers and / or memory. As a non-limiting example, a "processor" may be a CPU or a GPU. A "computing platform" may comprise one or more processors. As used herein, in at least one embodiment, a "software" process may include software and / or hardware entities that perform work over time, e.g., tasks, threads, and intelligent agents. Also, each process refers to multiple processes for performing instructions sequentially or in parallel, consecutively or intermittently. To the extent that a system may perform one or more methods and a method may be considered a system, the terms "system" and "method" are used interchangeably herein.

[0320] In at least one embodiment, an arithmetic logic unit is a set of combinatorial logic circuits that receives one or more inputs and produces a result. In at least one embodiment, an arithmetic logic unit is used by a processor to implement mathematical operations such as addition, subtraction, or multiplication. In at least one embodiment, an arithmetic logic unit is used to implement logical operations such as logical AND / OR or XOR. In at least one embodiment, an arithmetic logic unit is stateless and made of physical switching components such as semiconductor transistors arranged to form logic gates. In at least one embodiment, an arithmetic logic unit may operate internally as a stateful logic circuit with an associated clock. In at least one embodiment, an arithmetic logic unit may be constructed as an asynchronous logic circuit with an internal state that is not held in an associated register set. In at least one embodiment, an arithmetic logic unit is used by a processor to combine operands stored in one or more registers of the processor as well as to produce an output that may be stored by the processor in another register or memory location.

[0321] In at least one embodiment, as a result of processing an instruction obtained by the processor, the processor presents one or more inputs or operands to the arithmetic logic unit, causing the arithmetic logic unit to produce a result based at least in part on an instruction code provided to an input of the arithmetic logic unit. In at least one embodiment, the instruction code provided by the processor to the ALU is based at least in part on the instruction executed by the processor. In at least one embodiment, combinatorial logic within the ALU processes the inputs and produces an output that is placed on a bus within the processor. In at least one embodiment, the processor selects an output storage location in a destination register, memory location, output device, or output bus such that timing the processor causes the result produced by the ALU to be sent to the desired location.

[0322] In this document, reference may be made to acquiring, obtaining, receiving, or inputting analog or digital data into a subsystem, computer system, or computer-implemented machine. In at least one embodiment, the process of acquiring, obtaining, receiving, or inputting analog and digital data may be accomplished in various ways, such as by receiving the data as a parameter of a function call or a call to an application programming interface. In some implementations, the process of acquiring, obtaining, receiving, or inputting analog or digital data may be accomplished by transferring the data over a serial or parallel interface. In other implementations, the process of acquiring, obtaining, receiving, or inputting analog or digital data may be accomplished by transferring the data over a computer network from a providing entity to an acquiring entity. Reference may also be made to providing, outputting, transmitting, sending, or indicating analog or digital data. In various instances, the process of providing, outputting, transmitting, sending, or indicating analog or digital data may be accomplished by transferring the data as an input or output parameter of a function call, a parameter of an application programming interface, or an inter-process communication mechanism.

[0323] Although the foregoing sets forth example implementations of the described techniques, it is contemplated that other architectures may be used to implement the described functionality and are within the scope of this disclosure. Additionally, while a particular distribution of responsibilities has been defined above for purposes of discussion, various functions and responsibilities may be distributed and divided differently, depending on the circumstances.

[0324] Furthermore, although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter claimed in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as example forms of implementing the claims.

[0325] The subject matter of the present disclosure has been described with specificity to meet statutory requirements. However, the description itself is not intended to limit the scope of the present disclosure. Instead, the inventors intend that the claimed subject matter may be implemented in other ways, including different steps or combinations of steps similar to those described in this document, in conjunction with other current or future technologies. Furthermore, although the terms "step" and / or "block" may be used herein to connote different elements of the method used, these terms should not be construed as implying any particular order between the various steps disclosed herein unless and when the order of the individual steps is explicitly described.

[0326] Other variations are within the spirit of the disclosure. Thus, while the disclosed techniques are susceptible to various modifications and alternative constructions, certain illustrated embodiments thereof have been shown in the drawings and described above in detail. It should be understood, however, that there is no intention to limit the disclosure to the particular form or forms disclosed, but rather, the intention is to cover all modifications, alternative constructions, and equivalents that are within the spirit and scope of the disclosure as defined in the appended claims.

Claims

1. A first clock; a second clock isolated from the first clock; a first power connection; a second power connection isolated from the first power connection; a first portion for receiving power using the first power connection and a first clock signal using the first clock; a second part for receiving power using the second power connection and a second clock signal using the second clock, the second part comprising an interface for communicating with the first part, an interface control, and a processor for locking and unlocking the interface control, the interface control preventing communication over the interface when the interface control is locked and the interface control enabling communication over the interface when the interface control is unlocked; 1. An integrated circuit comprising:

2. the first part comprises a first fault aggregator for communicating evidence corresponding to one or more faults occurring in the first part to the second part; the second portion comprises a second fault aggregator for receiving and storing the evidence corresponding to the one or more faults; the integrated circuit comprises a fault interface connecting the first and second fault aggregators; the fault interface is separate from the interface; the processor unlocks the interface control only when the second fault aggregator does not store evidence corresponding to any faults.

10. The integrated circuit of claim 1.

3. the second part includes a timer that starts when the processor initiates communication with the first part via the interface; the timer generating evidence of failure when the timer indicates that more than a predetermined amount of time has elapsed and the first portion is not responding to communications.

10. The integrated circuit of claim 1.

4. resetting the timer when the first portion responds to the communication before the timer indicates that more than a predetermined amount of time has elapsed; the processor locking the interface after the processor completes communication with the first portion.

4. The integrated circuit of claim 3.

5. 2. The integrated circuit of claim 1, further comprising a non-volatile memory shared by said first and second portions, said second portion comprising a local memory, said processor copying instructions from said non-volatile memory to said local memory when said integrated circuit boots, said instructions to be executed by said processor when said interface is locked.

6. the first portion comprises a volatile memory; the second portion communicating with the volatile memory via the interface; 10. The integrated circuit of claim 1.

7. 10. The integrated circuit of claim 1 which is on one continuous piece of semiconductor material.

8. 10. The integrated circuit of claim 1 implementing a portion of an automotive system-on-chip ("SoC").

9. the first portion operates at a first risk classification level; the second portion operates at a second risk classification level; the second classification risk level is higher than the first classification risk level; 10. The integrated circuit of claim 1.

10. determining, by a first portion of the integrated circuit, whether a fault aggregator in the first portion includes data indicative of at least a predetermined number of faults; unlocking, by the first portion, an interface with a second portion of the integrated circuit when the first portion determines that the fault aggregator does not contain data indicative of at least the predetermined number of faults; initiating, by the first portion, access of the second portion via the unlocked interface; locking said interface by said first portion after initiating said access; A method comprising:

11. Initiating the access includes starting an access timer; locking the interface after the first portion detects that the access timer indicates that more than a predetermined amount of time has elapsed since the access timer was started and no response has been received from the second portion. The method of claim 10.

12. 12. The method of claim 11, wherein the first portion generates a new fault after detecting that the access timer indicates that more than a predetermined amount of time has elapsed since the access timer was started and that a response has not been received from the second portion.

13. Initiating the access starts an access timer, and the method further comprises: receiving, by the first part, a response from the second part before the access timer indicates that more than a predetermined amount of time has elapsed since the access timer was started; receiving the response stopping the access timer; and locking the interface after the first part completes the access. The method of claim 10 further comprising:

14. performing, by the first portion, one or more corrective actions when the first portion determines that the fault aggregator includes data indicative of at least the predetermined number of faults. The method of claim 10 further comprising:

15. the integrated circuit implementing a portion of an automotive system-on-chip ("SoC"); the one or more corrective actions are to place the autonomous vehicle in a safe state; The method of claim 14.

16. the integrated circuit implementing a portion of an automotive system-on-chip ("SoC"); the first portion performs a safety function for the autonomous vehicle while the autonomous vehicle is operating; the second portion performs autonomous driving functions while the autonomous vehicle is driving. The method of claim 10.

17. The method of claim 10 , wherein the interface connects the first portion with a volatile memory or a control backbone of the second portion.

18. the first portion operates in a first clock domain; the second portion operates in a second clock domain different from the first clock domain; the interface comprising a phase synchronization circuit for converting signals received from the second portion to the first clock domain; The method of claim 10.

19. a first portion operating within a first domain at a first risk level; a second portion operating in a second domain at a second risk level, the second risk level being greater than the first risk level, the second portion comprising a processor and an interface connecting the first and second portions, the processor selectively locking the interface to prevent communication over the interface, and the processor selectively unlocking the interface to allow communication over the interface; 1. An integrated circuit comprising:

20. a first power connection for supplying power to the first domain; a second power connection electrically isolated from the first power connection and supplying power to the second domain, the interface comprising at least one voltage shifter for adjusting the voltage of any communication through the interface.

20. The integrated circuit of claim 19.

21. a first clock providing a first clock signal to the first domain; a second clock isolated from the first clock and providing a second clock signal to the second domain, the interface comprising a phase synchronization circuit for adjusting the phase of any communication through the interface.

20. The integrated circuit of claim 19.

22. the interface comprises a firewall implementing one or more security rules; the firewall permitting or blocking communication through the interface based on the one or more security rules; 20. The integrated circuit of claim 19.

23. the first portion comprises a first fault aggregator for communicating data indicative of faults occurring in the first portion to the second portion; the second portion comprising a second fault aggregator for receiving the data indicative of the fault and for storing the data indicative of the fault until the fault is removed by the processor; the integrated circuit comprises a fault interface connecting the first and second fault aggregators; the fault interface is separate from the interface; the processor unlocks the interface only after a fault corresponding to the data indicating any fault stored by the second fault aggregator has been removed by the processor.

20. The integrated circuit of claim 19.

24. the second portion comprising a timer that starts when the processor unlocks the interface; generating a new fault when the timer indicates that more than a predetermined amount of time has elapsed and the first part is not responding to communications sent to the first part over the interface.

20. The integrated circuit of claim 19.

25. resetting the timer when the first portion responds to the communication before the timer indicates that more than the predetermined amount of time has elapsed; the processor locking the interface after the processor completes communication with the first portion.

25. The integrated circuit of claim 24.

26. the first portion comprises a non-volatile memory shared by the first and second portions; the second portion comprises a local memory; the processor copies instructions from the non-volatile memory to the local memory when the integrated circuit boots; the instructions are executed by the processor when the interface is locked.

20. The integrated circuit of claim 19.

27. the first portion comprises a volatile memory; the second portion communicating with the volatile memory via the interface; 20. The integrated circuit of claim 19.

28. the first portion comprising a control backbone; the interface is connected to the control backbone; the second portion communicates with at least one portion of the first portion via the interface and the control backbone; 20. The integrated circuit of claim 19.

29. 20. The integrated circuit of claim 19, wherein the integrated circuit is on a single continuous piece of semiconductor material.

30. 20. The integrated circuit of claim 19 implementing a portion of an automotive system-on-chip ("SoC").

31. 20. The integrated circuit of claim 19, wherein the second portion comprises a plurality of interfaces comprising the interface, each of the plurality of interfaces connecting the second portion with a corresponding portion of the first portion, and the processor selectively unlocks the particular one of the plurality of interfaces to enable communication over that particular interface with the corresponding portion of the first portion.

32. 32. The integrated circuit of claim 31, wherein the processor selectively locks any of the plurality of interfaces that are unlocked to prevent communication over the plurality of interfaces with the first portion.

Citation Information

Patent Citations

  • Synchronous counter for electronic memories

    US20010014041A1

  • Electrical and Logic Isolation for Systems on a Chip

    US20210208189A1

  • Method for programmable timeouts of tree traversal mechanisms in hardware

    US10885698B2

Cited By

  • Propagation of faults to isolated safe regions on system-on-chip

    JP2023024931A