SYSTEM AND METHOD FOR SLEEP CLOCK EDGE BASED GLOBAL COUNTER SYNCHRONIZATION IN A CHIPLET SYSTEM - Patent application
A hardware-based sleep clock edge synchronization method synchronizes chiplets in multi-chiplet systems, reducing latency and improving error detection and system security by aligning timestamps across chiplets.
Patent Information
- Application Number
- JP2024507919
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-08-16
- Filing Date
- 2022-07-11
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2042-07-11
AI Technical Summary
Synchronizing processes across chiplets in multi-chiplet systems becomes increasingly difficult as processing speeds increase, leading to higher error likelihoods and vulnerability to malicious attacks, necessitating improved global counter synchronization methods.
A hardware-based global counter synchronization method using a sleep clock edge to synchronize chiplets, where a master chiplet sends a synchronization pulse trigger via an interface bus, allowing slave chiplets to load synchronization values at the sleep clock synchronization edge, ensuring precise timing alignment.
This approach reduces latency and improves error detection and isolation by ensuring accurate timestamping across chiplets, enhancing system performance and security.
Smart Images

Figure 0007568886000001 
Figure 0007568886000002 
Figure 0007568886000003
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of priority from U.S. Non-provisional Patent Application No. 17 / 402,884, filed August 16, 2021, the entire contents of which are incorporated herein by reference. [Background technology]
[0002] To accommodate the increasing complexity and capabilities of integrated circuits used in various computing and communication devices, computing chips are increasingly being implemented in a divided form. For example, processing devices and large scale integrated circuits may include multiple "chiplets" that may be used together to perform combined tasks and processes. Synchronizing these processes becomes increasingly difficult as processing speeds increase. As processing speeds increase, the likelihood of errors occurring and creating vulnerability to malicious attacks may also increase. As a result, there is an increasing need to synchronize chiplets in a multi-chiplet system to better isolate and identify any such errors that may occur on one or all of the chiplets in the multi-chiplet system. Summary of the Invention
[0003] Various aspects include methods and devices for providing global counter synchronization in a multi-chiplet system using a rising edge of a sleep clock. In various aspects, a master chiplet may be configured to send a global counter synchronization pulse trigger to a slave chiplet over an interface bus, and in response, the slave chiplet may be configured to load a global counter synchronization value into the slave chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock.
[0004] Some aspects may include a first chiplet including a first chiplet global counter subsystem, a second chiplet including a second chiplet global counter subsystem, an interface bus communicatively coupling the first chiplet and the second chiplet, and a power management integrated circuit (PMIC) configured to provide a sleep clock to the first chiplet and the second chiplet, where the first chiplet is configured to send a global counter synchronization pulse trigger to the second chiplet via the interface bus, and where the second chiplet is configured to load a global counter synchronization value into the second chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock in response to receiving the global counter synchronization pulse trigger.
[0005] In some aspects, the first chiplet may be further configured to read the first chiplet global counter value from the first chiplet global counter subsystem, generate a global counter synchronization value based on the first chiplet global counter value, and transmit the global counter synchronization value over the interface bus to the second chiplet, which may be further configured to store the global counter synchronization value in a preload register, where the global counter synchronization value is loaded from the preload register to the second chiplet global counter subsystem.
[0006] In some aspects, the first chiplet global counter value may be read from the first chiplet global counter subsystem at a rising edge of the sleep clock. In some aspects, the first chiplet may be further configured to determine a sleep clock synchronization edge of the sleep clock, where the sleep clock synchronization edge is a rising edge of the sleep clock. In some aspects, the first chiplet may be further configured to send a global counter synchronization pulse trigger to the second chiplet one sleep clock cycle prior to the sleep clock synchronization edge of the sleep clock. In some aspects, the first chiplet may be further configured to send a global counter synchronization pulse trigger to the second chiplet at a delay time between the sleep clock synchronization edge and one sleep clock cycle prior to the sleep clock synchronization edge.
[0007] In some aspects, the first chiplet may be further configured to send a reset assertion to the second chiplet, which may be further configured to send a global counter synchronization request over the interface bus to the first chiplet in response to the reset assertion, and the first chiplet configured to send a global counter synchronization pulse trigger to the second chiplet over the interface bus in response to the first chiplet receiving the global counter synchronization request from the second chiplet.
[0008] In some aspects, the second chiplet may be further configured to disable global counter stop, where disabling the global counter stop in the second chiplet global counter subsystem causes the second chiplet global counter to resume counting in the second chiplet global counter subsystem, and to enable a global counter synchronization path in the second chiplet global counter subsystem, where enabling the global counter synchronization path allows the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem.
[0009] In some aspects, the first chiplet may be further configured to disable global counter stop in the first chiplet global counter subsystem and in the second chiplet global counter subsystem, causing the first chiplet global counter in the first chiplet global counter subsystem to resume counting and the second chiplet global counter in the second chiplet global counter subsystem to resume counting, and the second chiplet may be further configured to enable a global counter synchronization path in the second chiplet global counter subsystem, enabling the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem.
[0010] In some aspects, a sleep clock skew between the first and second chiplets is no more than two crystal oscillator clock cycles, and the sleep clock may be distributed to the first and second chiplets in a star configuration. In some aspects, the interface bus may be a system power management interface (SPMI) bus.
[0011] Some aspects may further include a third chiplet including a third chiplet global counter subsystem, where the interface bus communicatively couples the first chiplet and the third chiplet, the first chiplet may be further configured to send a global counter synchronization pulse trigger to the third chiplet via the interface bus, and the third chiplet may be configured to load the third chiplet global counter subsystem with a global counter synchronization value at a sleep clock synchronization edge of the sleep clock in response to receiving the global counter synchronization pulse trigger.
[0012] Further aspects may further include a method for global counter synchronization in a multi-chiplet system that may include providing a sleep clock to a first chiplet and a second chiplet via a PMIC, transmitting a global counter synchronization pulse trigger from the first chiplet to the second chiplet, and loading a global counter synchronization value into the second chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock in response to the second chiplet receiving the global counter synchronization pulse trigger.
[0013] Some aspects may include reading, by the first chiplet, a first chiplet global counter value from the first chiplet global counter subsystem, generating, by the first chiplet, a global counter synchronization value based on the first chiplet global counter value, transmitting the global counter synchronization value from the first chiplet to the second chiplet, storing the global counter synchronization value in a preload register of the second chiplet, and loading the global counter synchronization value from the preload register to the second chiplet global counter subsystem. In some aspects, the first chiplet global counter value may be read from the first chiplet global counter subsystem on a rising edge of a sleep clock.
[0014] Some aspects may further include determining, by the first chiplet, a sleep clock synchronization edge of the sleep clock, the sleep clock synchronization edge being a rising edge of the sleep clock. Some aspects may further include transmitting a global counter synchronization pulse trigger from the first chiplet to the second chiplet one sleep clock cycle prior to the sleep clock synchronization edge of the sleep clock. Some aspects may further include transmitting the global counter synchronization pulse trigger from the first chiplet to the second chiplet at a delay time between the sleep clock synchronization edge and one sleep clock cycle prior to the sleep clock synchronization edge.
[0015] Some aspects may further include sending a reset assertion from the first chiplet to the second chiplet and sending a global counter synchronization request from the second chiplet to the first chiplet in response to the reset assertion, wherein sending the global counter synchronization pulse trigger from the first chiplet to the second chiplet is performed in response to the first chiplet receiving the global counter synchronization request from the second chiplet.
[0016] Some aspects may further include disabling the global counter stop in the second chiplet global counter subsystem by the second chiplet restarting counting of the second chiplet global counter in the second chiplet global counter subsystem, and enabling the global counter synchronization path in the second chiplet global counter subsystem by the second chiplet enabling a global counter synchronization path through which the first chiplet global counter subsystem communicates with the second chiplet global counter subsystem.
[0017] Some aspects may further include disabling global counter stop in the first chiplet global counter subsystem and the second chiplet global counter subsystem by the first chiplet, disabling global counter stop causing the first chiplet global counter in the first chiplet global counter subsystem to resume counting and the second chiplet global counter in the second chiplet global counter subsystem to resume counting, and enabling a global counter synchronization path in the second chiplet global counter subsystem by the second chiplet, enabling a global counter synchronization path that enables the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem.
[0018] A further aspect may include a SoC including a first chiplet including a first chiplet global counter subsystem, a second chiplet including a second chiplet global counter subsystem, means for providing a sleep clock to the first chiplet and the second chiplet, means for sending a global counter synchronization pulse trigger from the first chiplet to the second chiplet, and means for loading a global counter synchronization value into the second chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock in response to the second chiplet receiving the global counter synchronization pulse trigger.
[0019] Some aspects may further include means for reading a first chiplet global counter value from the first chiplet global counter subsystem; means for generating a global counter synchronization value based on the first chiplet global counter value; means for transmitting the global counter synchronization value from the first chiplet to the second chiplet; and means for storing the global counter synchronization value in a preload register of the second chiplet, and loading the global counter synchronization value from the preload register into the second chiplet global counter subsystem.
[0020] In some aspects, the first chiplet global counter value is read from the first chiplet global counter subsystem at a rising edge of the sleep clock. Some aspects may further include means for determining a sleep clock synchronization edge of the sleep clock, the sleep clock synchronization edge being a rising edge of the sleep clock. Some aspects may further include means for transmitting a global counter synchronization pulse trigger from the first chiplet to the second chiplet one sleep clock cycle prior to the sleep clock synchronization edge of the sleep clock. Some aspects may further include means for transmitting a global counter synchronization pulse trigger from the first chiplet to the second chiplet at a delay time between the sleep clock synchronization edge and one sleep clock cycle prior to the sleep clock synchronization edge.
[0021] Some aspects may further include means for sending a reset assertion from the first chiplet to the second chiplet and means for sending a global counter synchronization request from the second chiplet to the first chiplet in response to the reset assertion, where the means for sending a global counter synchronization pulse trigger from the first chiplet to the second chiplet is in response to the first chiplet receiving the global counter synchronization request from the second chiplet. Some aspects may further include means for disabling global counter stopping in the second chiplet global counter subsystem restarting counting of the second chiplet global counter in the second chiplet global counter subsystem, and means for enabling a global counter synchronization path in the second chiplet global counter subsystem enabling the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem.
[0022] Some aspects may further include disabling global counter stopping in the first chiplet global counter subsystem and the second chiplet global counter subsystem causing the first chiplet global counter in the first chiplet global counter subsystem to resume counting and the second chiplet global counter in the second chiplet global counter subsystem to resume counting, and enabling the global counter synchronization path in the second chiplet global counter subsystem to enable the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem.
[0023] Further aspects include a method for global counter synchronization performed by a first chiplet in a multi-chiplet system including receiving a sleep clock from a PMIC and sending a global counter synchronization pulse trigger to a second chiplet, where the global counter synchronization pulse trigger is configured to cause the second chiplet to load a global counter synchronization value into the second chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock. Some aspects may further include reading the first chiplet global counter value from the first chiplet global counter subsystem, generating a global counter synchronization value based on the first chiplet global counter value, and sending the global counter synchronization value to the second chiplet.
[0024] Further aspects include an SoC including a first chiplet including a first chiplet global counter subsystem, a second chiplet including a second chiplet global counter subsystem, an interface bus communicatively coupling the first chiplet and the second chiplet, and a PMIC configured to provide a sleep clock to the first chiplet and the second chiplet, where the first chiplet is configured to receive a sleep clock from the PMIC and send a global counter synchronization pulse trigger to the second chiplet, the global counter synchronization pulse trigger configured to cause the second chiplet to load a global counter synchronization value into the second chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock. In some aspects, the first chiplet may be further configured to read the first chiplet global counter value from the first chiplet global counter subsystem, generate a global counter synchronization value based on the first chiplet global counter value, and send the global counter synchronization value to the second chiplet.
[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments and, together with the general description above and the detailed description provided below, serve to explain features of the various embodiments. [Brief description of the drawings]
[0026] [Figure 1] FIG. 1 is a component block diagram illustrating an example multi-chiplet system circuit suitable for implementing various embodiments. [Diagram 2] FIG. 2 is a message flow diagram illustrating operations and communication between chiplets in a multi-chiplet system for sleep clock edge based global counter synchronization in a multi-chiplet system during a boot sequence, according to some embodiments. [Diagram 3]FIG. 1 is a message flow diagram illustrating operation and communication between chiplets in a multi-chiplet system for sleep clock edge based global counter synchronization in a multi-chiplet system when a slave chiplet global counter is stopped, according to some embodiments. [Figure 4] FIG. 1 is a message flow diagram illustrating operation and communication between chiplets in a multi-chiplet system for sleep clock edge based global counter synchronization in a multi-chiplet system when the master chiplet global counter is stopped, according to some embodiments. [Diagram 5] FIG. 2 is a timing diagram illustrating a timing flow for a global counter synchronization pulse trigger in a multi-chiplet system according to some embodiments. [Figure 6] FIG. 2 is a timing diagram illustrating a timing flow for sleep clock edge-based global counter synchronization in a multi-chiplet system according to some embodiments. [Figure 7] FIG. 7 is a process flow diagram illustrating an embodiment method 700 for sleep clock edge based global counter synchronization in a multi-chiplet system, according to various embodiments. [Figure 8A] FIG. 8 is a process flow diagram illustrating an embodiment of a method 800a for sleep clock edge-based global counter synchronization in a multi-chiplet system, which may be performed as part of the method 700 in some embodiments. [Figure 8B] FIG. 8 is a process flow diagram illustrating an embodiment of a method 800b for sleep clock edge-based global counter synchronization in a multi-chiplet system, which may be performed as part of the method 700 in some embodiments. [Figure 8C]FIG. 8 is a process flow diagram illustrating an embodiment of a method 800c for sleep clock edge-based global counter synchronization in a multi-chiplet system, which may be performed as part of the method 700 in some embodiments. [Figure 8D] FIG. 8 is a process flow diagram illustrating an embodiment of a method 800d for sleep clock edge-based global counter synchronization in a multi-chiplet system, which may be performed as part of the method 700 in some embodiments. [Figure 8E] FIG. 8 is a process flow diagram illustrating an embodiment of a method 800e for sleep clock edge-based global counter synchronization in a multi-chiplet system, which may be performed as part of method 700 in some embodiments. [Figure 9] 11 is a component block diagram of an exemplary wireless device in the form of a smartphone 1100 suitable for implementing various embodiments. [Figure 10] FIG. 1 is a component block diagram illustrating an exemplary computing device suitable for use with various embodiments. [Figure 11] FIG. 1 is a component block diagram illustrating an exemplary server suitable for use with the various embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0027] Various embodiments will now be described in detail with reference to the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts. References made to specific examples and implementations are for illustrative purposes only and do not limit the scope of the claims.
[0028] Various embodiments provide a hardware-based global counter synchronization solution in a multi-chiplet system that utilizes a sleep clock edge-based global counter synchronization method. Various embodiments may be implemented in a system-on-chip (SoC) or similar system that includes multiple chiplets, each of which includes a chiplet global counter subsystem coupled to an interface bus and a power management integrated circuit (PMIC) configured to provide a sleep clock to a first chiplet and a second chiplet. The first chiplet may send a global counter synchronization pulse trigger to the second chiplet over the interface bus, in response to which the second chiplet may load a global counter synchronization value into the second chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock.
[0029] The term "system on chip" (SoC) is used herein to refer to a single integrated circuit (IC) chip that contains multiple resources and / or processors integrated on a single substrate. A single SoC may contain circuits for digital, analog, mixed-signal, and radio frequency functions. A single SoC may also include any number of general-purpose or special-purpose processors (such as digital signal processors, modem processors, video processors, etc.), memory blocks (such as ROM, RAM, flash, etc.), and resources (such as timers, voltage regulators, oscillators, etc.). A SoC may also include software for controlling the integrated resources and processors and for controlling peripheral devices.
[0030] The term "system-in-a-package" (SIP) is used herein to refer to a single module or package that contains multiple resources, computing units, cores, or processors on two or more IC chips, substrates, or SoCs. For example, a SIP may include a single substrate on which multiple IC chips or semiconductor dies are stacked in a vertical configuration. Similarly, a SIP may include one or more multi-chip modules (MCMs) on which multiple ICs or semiconductor dies are packaged on a singulated substrate. A SIP may also include multiple independent SoCs packaged in close proximity, coupled to each other via high-speed communication circuits, such as on a single motherboard or within a single wireless device. The proximity of the SoCs facilitates high-speed communication and facilitates sharing of memory and resources.
[0031] The term "functional block" is used herein to refer to a grouping of one or more electronic circuit components that can be used to perform various functions. In various embodiments, a functional block may include components that can be used to perform functions related to reliable timer synchronization between the functional block and one or more external components. A functional block may include various hardware, software, and / or firmware to implement various embodiments. For example, a functional block may be or include an SoC, a SIP, a NOC, and various subsystems. A functional block may include various clocking components, memory registers, logic gating bus interfaces, multiplexers, and other electrical components to implement various embodiments for reliable timer synchronization.
[0032] As used herein, the term "chiplet" is used to refer to a sub-processing unit or device within a processing system, such as an SoC. A chiplet may be an integrated circuit block designed to perform various processes in cooperation with other similar chiplets within a processing system. A chiplet may be a separate die that operates independently from other dies within a larger processing system, such as an SoC, or may be a separate die that operates together with other dies within a larger processing system. A chiplet may include one or more processing cores for performing system processes together with other cores of the associated chiplet within the system. A chiplet may include IO capabilities for communicating system data with other chiplets and / or other system devices (e.g., memory, power controllers, input / output (IO) controllers, and / or interfaces, etc.). A chiplet may function as or be referred to as a functional block that performs processing operations within a system, such as an SoC.
[0033] Computing devices and systems are increasingly implemented in pieces. Multi-chiplet systems continually require improved yield and scalability as technology advances and processing speeds increase. Synchronizing these processes becomes increasingly difficult as processing speeds increase. As processing speeds increase, the likelihood of errors occurring and creating vulnerability to malicious attacks may also increase. As a result, the need to synchronize chiplets increases. By reducing latency within a multi-chiplet system, both during the synchronization process and when performing debugging processes based on timestamps derived from the synchronized process, any such errors that may occur on one or more chiplets operating together in the multi-chiplet system may be better isolated and identified.
[0034] In a multi-chiplet system, a master die or chiplet may be used to control, regulate, or otherwise command any number of associated slave dies or chiplets that are in electrical communication with the master chiplet. The master chiplet may share at least one clock signal with the slave chiplets, and the shared clock signal may be derived from the same source (e.g., a PMIC crystal oscillator). For debugging purposes, it is useful that any errors that occur within any chiplet in a multi-chiplet system are correctly time-stamped, thereby minimizing the amount of skew between a time-stamped event in one chiplet and other time-stamped events in another chiplet that may be associated with it. If the clock synchronization between chiplets is too skewed or not synchronized, the timestamp of any timestamped event (such as a recorded hardware and / or software error) may not be accurately correlated with corresponding timestamped events recorded among other chiplets, and therefore may be useless in terms of accurately identifying errors, malicious attacks, or for purposes of initiating a correction process. Therefore, clock synchronization between chiplets in a multi-chiplet system is important for basic system operation.
[0035] Clock misalignment, or desynchronization, can be caused by a variety of reasons in a multi-chiplet system. At system boot-up, the master chiplet may be asynchronous with any slave chiplets and thus require clock or global counter synchronization. Specifically, the master chiplet may stagger reset the slave chiplets at system boot-up, causing each slave chiplet clock and / or global counter to be misaligned with each additional slave chiplet clock.
[0036] As another example, each chiplet uses its local global counter time base for functions and debug traces. The global counters of the master or slave chiplet are reset whenever the chiplet is reset. In this way, the master chiplet may crash, but the PMIC may provide a reset signal, message, or assertion to the master chiplet. Thus, the reset master chiplet global counters may not be synchronized with the slave chiplet's global counters.
[0037] Similarly, a slave chiplet may crash, but the master chiplet may provide a reset assertion to the slave chiplet, and thus the global counters of the reset slave chiplet may not be synchronized with the global counters of the master chiplet and with the global counters of the other slave chiplets.
[0038] As a further example of when desynchronization of global counters occurs, the master chiplet's global counter and any slave chiplet's global counters may be stopped during cross-trigger interface (CTI) operation and communication. A CTI trigger may stop a slave chiplet's global counter, causing it to freeze and become inconsistent with the still-operating global counters in the other chiplets. If a CTI trigger stops the master chiplet's global counter, that very CTI stop trigger also stops the global counters in all slave chiplets. Thus, all chiplets need to be resynchronized.
[0039] Lack of low latency global counter synchronization can cause various problems with system performance, such as during debugging processes. Multi-chiplet systems, such as those implementing CoreSight CTI, require a common time base to track collected and aggregated timestamps from all associated system chiplets. Global counter synchronization is also very important for normal operation of a multi-chiplet system, such as chip-to-chip or device-to-device operations and communications that require accurate time-stamped messaging. Synchronization accuracy can also be compromised by software-based synchronization solutions. Global counter synchronization faster than the microsecond (μs) scale may be desirable in a multi-chiplet system to enable an accurate timeline across all associated chiplets, since one microsecond is a significant amount of time when processors of multiple chiplets are running at GHz rates. Software-based global counter synchronization is on the order of microsecond scale due to chip-to-chip latencies and interrupt latencies. Therefore, to improve global counter synchronization latency, a hardware-based global counter synchronization solution may be utilized.
[0040] Various embodiments provide a hardware-based global counter synchronization solution in a multi-chiplet system. The multi-chiplet system may include a master chiplet and one or more slave chiplets. A sleep clock (e.g., 32 kHz) derived from an active clock (e.g., 19.2 MHz) may be distributed to each of the chiplets in the multi-chiplet system. The rising edge of the sleep clock may be used by the master chiplet to: (i) read the master chiplet's global counter; (ii) determine which future sleep clock rising edge should be used to synchronize with any slave chiplets; (iii) determine a global counter synchronization value based on the read master chiplet global counter value; (iv) transmit the global counter synchronization value to one or more slave chiplets; and (v) broadcast a global counter synchronization pulse trigger to cause any asynchronous slave chiplets to latch the global counter synchronization value into the locally stored global counter subsystem in each slave chiplet.
[0041] In some embodiments, the master and slave chiplets may be instantiated with a System Power Management Interface (SPMI) slave interface or function block to support communication between the chiplets. The master chiplet may configure an SPMI slave interface or a CTI interface to forward global counter synchronization pulse triggers to any asynchronous slave chiplets. Slave chiplet global counter synchronization requests and master chiplet synchronization responses may be forwarded over the SPMI or any other physical interface.
[0042] In some embodiments, multi-chiplet global counter synchronization may be performed during a boot sequence using sleep clock edge-based global counter synchronization. For example, at boot time, the master chiplet may reset any connected slave chiplets to prepare them for synchronization even though each of the chiplets at system boot time is asynchronous. In some embodiments, multi-chiplet global counter synchronization may be performed using sleep clock edge-based global counter synchronization when the slave chiplet's global counters are stopped. For example, an individual slave chiplet may be stopped and therefore asynchronous with the master chiplet, while the other slave chiplets may still be synchronous with the master chiplet. The asynchronous slave chiplet may disable the stop trigger and request global counter synchronization with the master chiplet, while the other chiplets remain unaffected. In some embodiments, multi-chiplet global counter synchronization may be performed using sleep clock edge-based global counter synchronization when the master chiplet's global counters are stopped.
[0043] 1 is a component block diagram illustrating an example multi-chiplet system circuit 100 suitable for implementing any of the various embodiments. Any number of chiplets greater than or equal to two chiplets may be used to implement the various embodiments. The illustrated example multi-chiplet system 100 includes four chiplets 110a, 110b, 110c, and 110d arranged in a single system package or system-in-a-package (SIP) 104 and a PMIC controller 102. The multi-chiplet system 100 includes an interface bus 106 (e.g., SPMI, Inter-Integrated Circuit (I-IC) 108, an I / O bus 109, and an I / O bus 200. 2C) bus). As another example, six chiplets may be implemented within the SIP 104, with one operating as a first (i.e., primary / master) chiplet and the remaining five operating as second (i.e., secondary / auxiliary / slave) chiplets. In one embodiment, the PMIC controller 102 may be located within the SIP 104.
[0044] In various embodiments, one of the chiplets 110a, 110b, 110c, and 110d may be configured as a master chiplet, and the remaining chiplets may be configured as slave chiplets. For example, the chiplet 110a may be configured as a master chiplet, and the chiplets 110b, 110c, and 110d may be configured as slave chiplets. Unless otherwise specified, the following examples and embodiments are described using a non-limiting example having the chiplet 110a configured as a master chiplet, and the chiplets 110b, 110c, and 110d configured as slave chiplets. The master chiplet 110a is shown as having additional components (e.g., SPMI master interface 112, master timer 114, multiplexers 131, 133) compared to the slave chiplets 110b, 110c, and 110d. However, each of the chiplets 110a, 110b, 110c, and 110d may be configured as a master chiplet, and therefore each of the chiplets 110b, 110c, and 110d may include the components shown in the master chiplet 110a.
[0045] For ease of explanation, the operation of various embodiments may be described herein using the non-limiting example of a two-chiplet system including a first chiplet (e.g., 110a) configured or functioning as a primary / master and a second chiplet (e.g., 110b) configured or functioning as a secondary / auxiliary / slave chiplet. However, even descriptions that refer to a first chiplet and a second chiplet, but not to additional chiplets, are not intended to be limiting, as the operations between the two chiplets are representative of operations between any number of chiplets.
[0046] In some embodiments, one or more of chiplets 110a, 110b, 110c, 110d, collectively, may operate as a central processing unit (CPU) of multi-chiplet system 100, executing instructions of a software application program by performing arithmetic, logic, control, and input / output (I / O) operations specified by the instructions. In some embodiments, one or more of chiplets 110a, 110b, 110c, and 110d may operate as a dedicated processing unit. Each chiplet 110a, 110b, 110c, and 110d may include one or more cores, and each core may perform operations independently of other cores within the same chiplet and cores within other chiplets. Additionally, any or all of chiplets 110a, 110b, 110c, and 110d may be included as part of a processor cluster architecture, e.g., a synchronous processor cluster architecture, an asynchronous or heterogeneous processor cluster architecture, etc.
[0047] Chiplets 110a, 110b, 110c, and 110d may include various additional system components, resources, and custom circuits for managing sensor data, analog-to-digital conversion, wireless data transmission, and performing other specialized operations, such as decoding data packets and processing encoded audio and video signals for rendering in a web browser. For example, the system components and resources of chiplets 110a, 110b, 110c, and 110d may include power amplifiers, voltage regulators, oscillators, phase-locked loops, peripheral bridges, data controllers, memory controllers, system controllers, access ports, timers, and other similar components used to support processors and software clients operating within and outside of SIP 104 but in electrical communication with the SIPs (e.g., PMIC controller 102) in multi-chiplet system 100. The system components and resources and / or custom circuits may also include circuits for interfacing with peripheral devices, such as, for example, cameras, electronic displays, wireless communication devices, external memory chips, etc. Each of the chiplets 110a, 110b, 110c, and 110d may further include an input / output module for communicating with resources external to the SIP, such as, for example, a clock source or a PMIC controller 102. Resources external to the SIP may be shared by two or more of the chiplets 110a, 110b, 110c, and 110d.
[0048] Chiplets 110a, 110b, 110c, and 110d may include memory devices 122a, 122b, 122c, and 122d (labeled "Memory"), which may be volatile or non-volatile memory, configured to store data and processor-executable code for access by one or more processing cores 120a, 120b, 120c, and 120d (labeled "Proc") of each chiplet 110a, 110b, 110c, and 110d. In addition to memory devices 122a, 122b, 122c, and 122d, multi-chiplet system 100 may include one or more additional memory devices (not shown) located inside or outside SIP 104, which may be configured for a variety of purposes. One or more of the memory devices, including memory devices 122a, 122b, 122c, and 122d, may include volatile memory, such as random access memory (RAM) or main memory, or cache memory. These memory devices may be configured to temporarily hold a limited amount of data received from a data sensor or subsystem, data and / or processor-executable code instructions requested from non-volatile memory and loaded from the non-volatile memory into the memory device in anticipation of future access based on various factors, and / or a limited amount of intermediate processing data and / or processor-executable code instructions generated by chiplets 110a, 110b, 110c, and 110d that are not stored in non-volatile memory and are stored temporarily for quick future access. The memory devices 122a, 122b, 122c, and 122d of the multi-chiplet system 100 may be configured to store, at least temporarily, data and processor executable code to be loaded into the memory devices 122a, 122b, 122c, and 122d in each chiplet 110a, 110b, 110c, and 110d for access by one or more of the processing cores 120a, 120b, 120c, and 120d of the chiplets 110a, 110b, 110c, and 110d.Data or processor executable code loaded into memory devices 122a, 122b, 122c, and 122d in each chiplet 110a, 110b, 110c, and 110d may be loaded in response to performance of functions by processing cores 120a, 120b, 120c, and 120d.
[0049] In some embodiments, processing cores 120a, 120b, 120c, and 120d may perform operations associated with various subsystems and / or functional blocks created as virtual spaces within chiplets 110a, 110b, 110c, and 110d. For example, processing cores 120a, 120b, 120c, and 120d may perform operations associated with timer subsystems 124a, 124b, 124c, and 124d, global counter subsystems 126a, 126b, 126c, and 126d, and SPMI slave functional blocks 130a, 130b, 130c, and 130d.
[0050] The chiplets 110a, 110b, 110c, 110d may each include a timer subsystem 124a, 124b, 124c, 124d (labeled timer subsystem (SS)). The timer subsystems 124a, 124b, 124c, 124d may be used to coordinate, control, and maintain local global counters for clock synchronization between the chiplets 110a, 110b, 110c, 110d. In some embodiments, the global counters may be 56-bit global counter values. The timer subsystems 124a, 124b, 124c, 124d may include global counter subsystems (labeled GCSS) 126a, 126b, 126c, 126d into which global counter values may be loaded for clock synchronization between the chiplets 110a, 110b, 110c, 110d. In some embodiments, the global counters may also be referred to as system counters.
[0051] The PMIC controller 102 can control, distribute, or otherwise adjust clock signals used to synchronize the chiplets 110a, 110b, 110c, and 110d. The chiplets 110a, 110b, 110c, and 110d can receive various clock signals from the PMIC controller 102. For example, the PMIC controller 102 can store or receive from an external component (e.g., a crystal oscillator) a reference clock signal for the chiplets 110a, 110b, 110c, and 110d to use for synchronization purposes. The reference clock signal can include a clock signal corresponding to an active mode, a sleep mode, or any other predetermined mode having a preset frequency. For example, the PMIC controller 102 can send a 19.2 MHz clock corresponding to an active mode to the chiplets 110a, 110b, 110c, and 110d. In addition, the PMIC controller 102 may send a 32 kHz clock, or sleep clock 108, corresponding to the sleep / low power mode to the chiplets 110a, 110b, 110c, and 110d. Other clock frequencies may be used. The sleep clock 108 is always available to the chiplets 110a, 110b, 110c, and 110d.
[0052] In various implementations, a crystal oscillator (CXO) (not shown) may generate an active clock signal (e.g., 19.2 MHz) that is distributed from the PMIC controller 102 of a common clock source. A sleep clock 108 (e.g., 32 kHz) may be derived from the CXO active clock described above and may be always available to each of the chiplets 110a, 110b, 110c, 110d. For example, the sleep clock 108 may be distributed from the PMIC controller 102 to the timer subsystems 124a, 124b, 124c, 124d for synchronization purposes. A global counter of the multi-chiplet system 100 may increment by 1 when the CXO active clock is available and by 586 when the clock source is switched to the sleep clock 108. The sleep clock 108 and the CXO active clock may have any integer or non-integer relationship as long as the clocks are sourced from the same crystal.
[0053] In some embodiments, the sleep clock 108 skew between the chiplets 110a, 110b, 110c, 110d may be less than one CXO clock period (e.g., 52.08 nanoseconds for a 32 kHz sleep clock). In some embodiments, the skew may be less than or equal to two CXO clock periods. The sleep clock 108 may be provided to the chiplets 110a, 110b, 110c, 110d by a PMIC, enter a ball grid array (BGA) pin of the package (e.g., SIP 104), and then distributed to all chiplets 110a, 110b, 110c, 110d in the package (e.g., SIP 104). The sleep clock 108 routing may be connected in a star configuration between the chiplets 110a, 110b, 110c, 110d. In some embodiments, the sleep clock 108 insertion delay in each chiplet 110a, 110b, 110c, 110d may be compensated to keep process-to-process variation below 52 nanoseconds (n sec).
[0054] The interface bus 106 may be a broadcast interface in which data communication messages may be broadcast to multiple hardware components simultaneously. For example, the interface bus 106 may be an SPMI bus that may enable the PMIC controller 102 and the chiplets 110a, 110b, 110c, 110d to communicate through "telegrammed" or broadcast messaging techniques. For example, the PMIC controller 102 may broadcast a clock synchronization message over the interface bus 106 to cause the chiplets 110a, 110b, 110c, 110d to perform clock synchronization operations simultaneously or nearly simultaneously (i.e., limited by hardware communication path delays). As another example, the master chiplet 110a may include an SPMI master interface 112 for broadcasting clock synchronization messages to the PMIC controller 102 and the chiplets 110b, 110c, 110d. By implementing the interface bus 106 as an SPMI bus or other type of broadcast communication interface, the master chiplet 110a may synchronize the slave chiplets 110b, 110c, 110d simultaneously in parallel. In some embodiments, the master chiplet 110a may synchronize the slave chiplets 110b, 110c, 110d individually. In some embodiments, the master chiplet 110a may synchronize the slave chiplets 110b, 110c, 110d sequentially if configured to implement a broadcast interface such as SPMI or if limited by the interface bus 106 being a serial interface and not a parallel broadcast interface. The slave chiplets 110b, 110c, 110d synchronization request and the master chiplet 110a synchronization response, including the 56-bit value of the global counter, may be transferred over the interface bus 106 (e.g., SPMI) or any other physical interface.
[0055] Chiplets 110a, 110b, 110c, and 110d may be instantiated with SPMI slave functional blocks 130a, 130b, 130c, and 130d, respectively. SPMI slave functional blocks 130a, 130b, 130c, and 130d may support circuit-to-circuit (C2C) communication during the initial stages of pre-boot loading. Master chiplet 110a software (i.e., primary bootloader (PBL) / secondary bootloader (SBL)) may configure SPMI slave functional blocks 130a, 130b, 130c, and 130d to transfer synchronization signals, pulses, or triggers. The synchronization trigger may be transferred to each SPMI slave functional block 130a, 130b, 130c, 130d within a sleep clock period (e.g., 30.5 microseconds (1 / 32 kHz)) to ensure that the correct synchronization clock edge is identified and used. The timer subsystem 124a of the master chiplet 110a may include a master timer 114. The master timer 114 may initiate a synchronization pulse trigger that may be relayed by the SPMI slave functional block 130a to the SPMI slave functional blocks 130b, 130c, 130d.
[0056] One or more of the processing cores 120a, 120b, 120c, 120d may include general purpose input / output (GPIO) pins or internal hardwired communication interfaces that may be used to send and receive data messages to and from the PMIC controller 102, as well as to and from other chiplet communication interfaces and / or GPIO pins. For example, the CTI 130 may include one or more data paths connecting the GPIO pins of the chiplets 110a, 110b, 110c, 110d that may enable the chiplets 110a, 110b, 110c, 110d to send and receive data communication and / or synchronization messages between each of the chiplets 110a, 110b, 110c, 110d. The CTI 136 may be used to send a CTI trigger signal to the master chiplet 110a to stop a master chiplet global counter stored in the master chiplet global counter subsystem 126a. CTI 136 may be used to send a CTI trigger signal to slave chiplets 110b, 110c, 110d to stop the slave chiplet global counters stored in global counter subsystems 126b, 126c, 126d, respectively.
[0057] The master chiplet 110a software (i.e., primary boot loader (PBL) / secondary boot loader (SBL)) may configure the CTI 136 to forward a synchronization pulse to each timer subsystem 124a, 124b, 124c, 124d within a sleep clock period (e.g., 30.5 microseconds (1 / 32 kHz)) to ensure that the correct synchronization clock edge is identified and used.
[0058] For example, the master chiplet 110a may activate a synchronization select signal (labeled “sync sel”) to switch synchronization methods. In some embodiments, the PMIC controller 102 may toggle the status of the synchronization select signal. Activating the synchronization select signal may enable the multi-chiplet system 100 to switch from an SPMI-based broadcast synchronization method that implements the interface bus 106 to a GPIO-based synchronization method that implements the CTI 136. In the SPMI-based broadcast synchronization method, various synchronization requests and responses may be communicated between the SPMI slave functional block 130a of the master chiplet and the SPMI slave functional blocks 130b, 130c, 130d of the slave chiplets over the interface bus 106. The SPMI slave function blocks 130a, 130b, 130c, 130d may relay the global counter value received from the interface bus 106 through the respective multiplexers 134a, 134b, 134c, 134d (i.e., at system boot-up or system resynchronization) and latch the global counter value into the respective global counter subsystems 126a, 126b, 126c, 126d. Activating the sync select signal may switch the data path of the illustrated multiplexers (e.g., multiplexers 131, 132a-d, 133, 134a-d). The master timer 114 may initiate a sync pulse trigger (i.e., as CTI trigger out 0) on the CTI 136 (i.e., via some GPIO pin) through the multiplexer 133 and the multiplexer 131. The synchronous pulse trigger from the master timer 114 may be further propagated and latched to each global counter subsystem 126a, 126b, 126c, 126d via multiplexers 132a, 132b, 132c, 132d, respectively (i.e., as CTI trigger in 0), and then via multiplexers 134a, 134b, 134c, 134d, respectively.When the global counter synchronization mode is not selected (ie, the synchronization selection signal ("Sync sel") is 0 or low), the multiplexers 134a, 134b, 134c, 134d may output CTI trigger 0 for debugging purposes.
[0059] 2-4 are message flow diagrams 200, 300, and 400 illustrating operations and inter- and intra-chiplet communications for sleep clock edge based global counter synchronization in a multi-chiplet system according to some embodiments. The operations and communications for sleep clock edge based global counter synchronization in a multi-chiplet system shown in FIGS. 2-4 may be implemented using at least two chiplets (e.g., chiplets 110a, 110b, 110c, 110d) and a PMIC (e.g., PMIC controller 102) communicatively connected via an interface bus (e.g., interface bus 106). Some of the operations or communications shown in FIGS. 2-4 may not be performed in all embodiments, and the operations and communications may be performed in a different order than the examples shown in FIGS. 2-4.
[0060] 1-4, a master chiplet 110a having a master chiplet processor 120a and a master chiplet global counter subsystem 126a may communicate with a slave chiplet 110b having a slave chiplet processor 120b and a slave chiplet global counter subsystem 126b. The master chiplet processor 120a may communicate locally with the master chiplet global counter subsystem 126a in the master chiplet 110a. The slave chiplet processor 120b may communicate locally with the slave chiplet global counter subsystem 126b in the slave chiplet 110b. The master chiplet processor 120a and the master chiplet global counter subsystem 126a may communicate with the slave chiplet processor 120b and the slave chiplet global counter subsystem 126b via an interface bus 106, which may be an SPMI bus. The interface bus 106 may be used to send and receive various global counter synchronization messages between the master chiplet processor 120a, the master chiplet global counter subsystem 126a, the slave chiplet processor 120b, and the slave chiplet global counter subsystem 126b to synchronize the global counters based on edges of the sleep clock 108.
[0061] 2-4 illustrate various scenarios for resynchronization of global counters within any of the chiplets 110a, 110b, 110c, 110d. For ease of explanation, the operations of and communications between two chiplets (e.g., chiplets 110a, 110b) are shown. However, the same operations performed by or with the slave chiplet 110b may be simultaneously performed by or with additional chiplets (e.g., 110c, 110d) in electrical communication with the master chiplet 110a. For example, communication 214 may be sent simultaneously from the master chiplet global counter subsystem 126a to the slave chiplet global counter subsystems 126b, 126c, 126d. As another example, communication 220 may be sent simultaneously from the master chiplet processor 120a to the slave chiplet global counter subsystems 126b, 126c, 126d.
[0062] FIG. 2 is a message flow diagram illustrating operations and inter-chiplet and intra-chiplet communications for sleep clock edge-based global counter synchronization in a multi-chiplet system during a boot sequence, according to some embodiments.
[0063] During a cold boot (i.e., system power on) or a warm boot (i.e., system reset through software), the master chiplet 110a may not be synchronized with the slave chiplet 110b. For example, the master chiplet 110a may reset before the slave chiplet 110b and then provide instructions to the slave chiplet 110b to bring the slave chiplet 110b out of reset. The global counters maintained by the master chiplet global counter subsystem 126a may not be synchronized with the global counters of the slave chiplet global counter subsystem 126b because the global counter values of the master chiplet 110a and the slave chiplet 110b are independently enabled. The following flow provides for resynchronization of the global counters of the master chiplet 110a and the slave chiplet 110b.
[0064] Upon a cold or warm boot, the master chiplet 110a comes out of reset and the master chiplet global counter subsystem 126a begins incrementing according to a clock provided by the PMIC controller 102 (eg, a 19.2 MHz active clock).
[0065] In communication 202, the master chiplet processor 120a may generate and send a reset assertion to the slave chiplet processor 120b. The reset assertion may be sent by the master chiplet processor 120a to the slave chiplet processor 120b over a dedicated channel, such as a set of dedicated GPIO pins. The reset assertion may instruct the slave chiplet 110b to come out of reset (i.e., enter the PBL phase). The master chiplet processor 120a may send the reset assertion to the slave chiplet processor 120b after the master chiplet processor has entered the SBL phase. The SBL phase is an operational phase in which processes performed by a chiplet processor (e.g., master chiplet processor 120a, slave chiplet processor 120b) are performed using dynamic random access memory (DRAM) that may be physically separate from the chip or package that contains that chiplet processor (e.g., DRAM located outside the SoC that contains the master chiplet processor 120a and slave chiplet processor 120b). In some embodiments, the master chiplet processor 120a may send a reset assertion to the slave chiplet processor 120b when the master chiplet processor 120a is in the PBL phase but before entering the SBL phase. The PBL phase is an operational phase in which processes executed by a chiplet processor (e.g., the master chiplet processor 120a, the slave chiplet processor 120b) are executed using a read-only memory (ROM) that may be physically located within the chip or package that contains the chiplet processor (e.g., a ROM located within an SoC that includes the master chiplet processor 120a and the slave chiplet processor 120b). The slave chiplet processor 120b may receive a reset assertion from the master chiplet processor 120a after the master chiplet processor 120a enters the PBL phase.A reset assertion from the master chiplet processor 120a received by the slave chiplet processor 120b may trigger the slave chiplet processor 120b to enter the PBL phase. At this point, the global counters in the slave chiplet global counters subsystem 126b are not synchronized with the global counters in the master chiplet global counters subsystem 126a.
[0066] In communication 204, the slave chiplet processor 120b may generate and send a global counter synchronization request to the master chiplet processor 120a. The slave chiplet processor 120b may send the global counter synchronization request to the master chiplet processor 120a after entering the PBL phase. In some embodiments, the global counter synchronization request may be sent as an SPMI telegram or may be broadcast over the interface bus 106.
[0067] In some embodiments, the master chiplet processor 120a may continuously poll the interface bus 106 looking for any SPMI telegrams or broadcasts sent by the slave chiplet processor 120b. In some embodiments, communications 206 and / or 208 may be performed in response to the master chiplet processor 120a detecting an SPMI telegram or broadcast from the slave chiplet processor 120b requesting a global counter synchronization procedure.
[0068] In communication 206, the master chiplet processor 120a may send a command or instruction to, or otherwise configure, the master chiplet global counter subsystem 126a to enable periodic reading of the global counters by the master chiplet global counter subsystem 126a. In some embodiments, the master chiplet processor 120a may set a bit or register in the master chiplet global counter subsystem 126a (or in a memory associated with the master chiplet global counter subsystem 126a) to enable periodic reading of the global counters by the master chiplet global counter subsystem 126a. Enabling periodic reading of the local global counters in the master chiplet global counter subsystem 126a may allow the master chiplet global counter subsystem 126a to read its local global counters on every rising edge of the sleep clock 108 (e.g., at 32 kHz).
[0069] In communication 208, the master chiplet processor 120a may send a command or instruction to the master chiplet global counter subsystem 126a to read the most recent global counter value stored in the master chiplet global counter subsystem 126a, or may otherwise configure the master chiplet global counter subsystem 126a. In some embodiments, the master chiplet processor 120a may set a bit or register in the master chiplet global counter subsystem 126a (or in a memory associated with the master chiplet global counter subsystem 126a) to read the most recent global counter value stored in the master chiplet global counter subsystem 126a. In response to receiving a command or instruction from the master chiplet processor 120a, the master chiplet global counter subsystem 126a may make available to the master chiplet processor 120a (e.g., in a register space or memory accessible by the master chiplet processor 120a) a local global counter corresponding to the most recent rising edge of the sleep clock 108. Thus, the master chiplet processor 120a may read or take a snapshot of the latest local global counters, as determined by the periodic global counter reads enabled in communication 206.
[0070] In operation 209, the master chiplet processor 120a may determine the next sleep clock synchronization edge that may be used to synchronize with the slave chiplet global counter subsystem 126b. In some embodiments, the next sleep clock synchronization edge that may be used to synchronize with the slave chiplet global counter subsystem 126b may be the first sleep clock rising edge of the master chiplet sleep clock that occurs after the slave chiplet 110b exits the PBL phase and enters the SBL phase.
[0071] In communication 210, the master chiplet processor 120a may configure a time comparator (e.g., the master timer 114) in the master chiplet global counter subsystem 126a. The time comparator may be configured for triggering a global counter sync pulse trigger at some future sleep clock rising edge, as determined by the sleep clock sync edge determined in act 209.
[0072] In communication 212, the master chiplet processor 120a may send the global counter synchronization value to the slave chiplet global counter subsystem 126b (e.g., as an SPMI broadcast message) over the interface bus 106. The slave chiplet global counter subsystem 126b may store the global counter synchronization value in a preload register in preparation for loading the global counter synchronization value into a local global counter stored and utilized by the slave chiplet global counter subsystem 126b.
[0073] In communication 214, the master chiplet global counter subsystem 126a may send a global counter synchronization pulse trigger (i.e., a synchronization message) to the slave chiplet global counter subsystem 126b. The slave chiplet global counter subsystem 126b may then latch on to the global counter synchronization value stored in the preload register in communication 212 to synchronize the local global counter in the slave chiplet global counter subsystem 126b with the local global counter in the master chiplet global counter subsystem 126a.
[0074] In communication 216, the slave chiplet processor 120b may poll the slave chiplet global counter subsystem 126b to determine whether synchronization is complete. For example, the slave chiplet processor 120b may poll a synchronization status register of the slave chiplet global counter subsystem 126b to determine whether a bit or register has changed to indicate a status that the synchronization process is complete.
[0075] Communications 218-224 may be used for global counter synchronization debugging.
[0076] In communication 218, the master chiplet processor 120a may configure a time comparator (e.g., the master timer 114) in the master chiplet global counter subsystem 126a. The time comparator may be configured for triggering a global counter synchronization pulse trigger on any future sleep clock rising edge. The time comparator may be configured to trigger a global counter synchronization pulse trigger in a manner similar to communication 210 described above.
[0077] In communication 220, the master chiplet processor 120a may send a message or otherwise instruct (i.e., set a register value) the slave chiplet global counter subsystem 126b to disable the global counter synchronization path. Disabling the global counter synchronization path may include disabling the SPMI slave functional block 130b so that the SPMI slave functional block 130b can no longer send or receive SPMI broadcast messages over the interface bus 106. In some embodiments, disabling the global counter synchronization path may stop the global counter of the slave chiplet 110b.
[0078] In communication 222, the master chiplet global counter subsystem 126a may send a global counter synchronization pulse trigger (i.e., a synchronization message) to the slave chiplet global counter subsystem 126b. The slave chiplet global counter subsystem 126b may then latch on to the global counter synchronization value stored in the preload register in communication 212 to synchronize the local global counter in the slave chiplet global counter subsystem 126b with the local global counter in the master chiplet global counter subsystem 126a. Communication 222 may be performed similarly to communication 214 described above.
[0079] In communication 224, the master chiplet processor 120a may read the global counter synchronization value stored in the slave chiplet global counter subsystem 126b. The master chiplet processor 120a may compare the global synchronization value determined in communication 218 with the global synchronization value stored by the preload register of the slave chiplet global counter subsystem 126b to determine whether the values match. The master chiplet processor 120a may determine that the synchronization process in communication 216 was successfully completed if the global synchronization value determined in communication 218 matches the cell global synchronization value stored by the preload register of the slave chiplet global counter subsystem 126b.
[0080] The operations and communications described with reference to FIG. 2 may also be utilized during a slave chiplet crash event. Any of the slave chiplets 110b, 110c, 110d may crash during SBL operation or during normal operation. When a slave chiplet crashes, the slave chiplet global counters enabled by the PBL and stored by the slave chiplet global counters subsystem may become out of sync with the master chiplet global counters stored by the master chiplet global counters subsystem 126a. The master chiplet 110a may choose to individually reset any of the crashed slave chiplets 110b, 110c, 110d without resynchronizing the non-crashed slave chiplets 110b, 110c, 110d.
[0081] 2 may also be utilized during a master chiplet crash event. The multi-chiplet system 100 may operate to perform global counter synchronization as if the master chiplet 110a and the slave chiplets 110b, 110c, 110d were cold booted.
[0082] FIG. 3 is a message flow diagram illustrating operations and inter- and intra-chiplet communications for sleep clock edge-based global counter synchronization in a multi-chiplet system when a slave chiplet global counter is stopped, in accordance with some embodiments.
[0083] A CTI trigger may stop a global counter stored locally by any of the slave chiplets 110b, 110c, 110d. A CTI trigger may be used to stop a global counter stored locally (i.e., in the corresponding slave chiplet global counter subsystem 126b, 126c, 126d) for debugging purposes, such as determining a timestamp on a particular error event. When a locally stored global counter of any of the slave chiplets 110b, 110c, 110d is stopped by a CTI trigger, its global counter value may become asynchronous with the global counter of the master chiplet 110a stored locally in the master chiplet global counter subsystem 126a. The following flow provides for resynchronization of the global counter of the master chiplet 110a with the global counter of the slave chiplet 110b after the slave chiplet global counter is stopped.
[0084] In communication 301, the slave chiplet processor 120b may send a message or otherwise instruct (i.e., set a register value) the slave chiplet global counter subsystem 126b to disable a global counter stop, sometimes referred to as a CTI triggered stop. Disabling the global counter stop may allow the global counter stored in the slave chiplet global counter subsystem 126b to start counting again. However, due to the duration of the CTI stop, the slave chiplet global counter may have become out of sync with the master chiplet global counter.
[0085] In communication 303, the slave chiplet processor 120b may send a message or otherwise instruct (i.e., set a register value) the slave chiplet global counter subsystem 126b to enable the global counter synchronization path. Enabling the global counter synchronization path may include starting the SPMI slave function block 130b, which may be capable of sending and receiving SPMI broadcast messages over the interface bus 106.
[0086] Once slave chiplet 110b has been reconfigured to initiate global counter synchronization and its locally stored global counters are running, operations and communications 204-216 may be performed as described with reference to Figure 2 to synchronize the slave chiplet global counters stored in slave chiplet global counter subsystem 126b with the master chiplet global counters stored in master chiplet global counter subsystem 126a. Additionally, any debugging procedures may be performed in accordance with communications 218-224 as described with reference to Figure 2.
[0087] FIG. 4 is a message flow diagram illustrating operations and inter- and intra-chiplet communications for sleep clock edge-based global counter synchronization in a multi-chiplet system when the master chiplet global counter is stopped, in accordance with some embodiments.
[0088] A CTI trigger may stop the global counters stored locally by the master chiplet 110a. The CTI trigger may be used to stop the global counters stored locally (i.e., in the master chiplet global counter subsystem 126a) for debugging purposes, such as determining a timestamp on a particular error event. When the locally stored global counters of the master chiplet 110a are stopped by a CTI trigger, the global counter values may be asynchronous with all of the global counters of the slave chiplets 110b, 110c, 110d stored locally in the slave chiplet global counter subsystems 126b, 126c, 126d. For example, when the master chiplet global counters are stopped by a CTI trigger, the same CTI trigger is forwarded over the CTI network to the slave chiplet global counters to simultaneously stop the slave chiplet global counters. The master chiplet may send a CTI unstop trigger (interrupt request).
[0089] Thus, the multi-chiplet system may cause the master chiplet 110a, as well as the slave chiplets 110b, 110c, 110d, to reinitialize and resynchronize all of the locally stored global counter values. The following flow provides for resynchronization of the master chiplet 110a's global counters with the slave chiplet 110b's global counters after the master chiplet global counters have been stopped.
[0090] In communication 401, the master chiplet processor 120a may send a message or otherwise instruct (i.e., set a register value) the slave chiplet global counter subsystem 126b to disable the global counter stop (sometimes referred to as a CTI triggered stop). Disabling the global counter stop may allow the global counter stored in the slave chiplet global counter subsystem 126b to start counting again. However, due to the duration of the CTI stop, the slave chiplet global counter may have become out of sync with the master chiplet global counter.
[0091] In communication 402, the master chiplet processor 120a may send a message or otherwise instruct (i.e., set a register value) the master chiplet global counter subsystem 126a to disable the global counter stop (sometimes referred to as a CTI triggered stop). Disabling the global counter stop may allow the global counters stored in the master chiplet global counter subsystem 126a to start counting again. However, due to the duration of the CTI stop, the master chiplet global counters may have become out of sync with the slave chiplet global counters.
[0092] In some embodiments, communications 401 and 402 may be a single interrupt request sent from master chiplet processor 120a. For example, a master chiplet CTI unsuspend trigger may send an interrupt request to master chiplet global counter subsystem 126a, which may be the same trigger sent over the CTI network to slave chiplet processor 120b as the interrupt request to slave A53.
[0093] In communication 403, the slave chiplet processor 120b may send a message or otherwise instruct (i.e., set a register value) the slave chiplet global counter subsystem 126b to enable the global counter synchronization path. Enabling the global counter synchronization path may include initiating the SPMI slave function block 130b, which may be capable of sending and receiving SPMI broadcast messages over the interface bus 106.
[0094] Once master chiplet 110a and slave chiplet 110b have been reconfigured to initiate global counter synchronization and the locally stored global counters are running, operations and communications 204-216 as described with reference to Figure 2 may be performed to synchronize the slave chiplet global counters stored in slave chiplet global counter subsystem 126b with the master chiplet global counters stored in master chiplet global counter subsystem 126a. Additionally, any debugging procedures may be performed in accordance with communications 218-224 as described with reference to Figure 2.
[0095] 5 is a timing diagram illustrating a timing flow 500 for a global counter synchronization pulse trigger in a multi-chiplet system, according to some embodiments. With reference to Figures 1-5, the timing of some of the communications described with reference to Figures 2-4 is shown.
[0096] At event 502, a time comparator (e.g., master timer 114) of master chiplet global counter subsystem 126a may initiate a global counter synchronization pulse trigger. If interface bus 106 is capable of parallel communication, such as when interface bus 106 is capable of being configured as an SPMI broadcast bus, the time comparator may trigger the global counter synchronization pulse trigger as a global counter synchronization enable telegram. If interface bus 106 is not capable of parallel communication, the time comparator may trigger the global counter synchronization pulse trigger as a global counter synchronization enable message, for example, via a serial data path, such as a dedicated GPIO pin between master chiplet 110a and slave chiplet 110b. The global counter synchronization pulse trigger may instruct slave chiplet 110b to load a global counter synchronization value (e.g., “N” stored in a preload register of slave chiplet 110b and described below with reference to FIG. 6) onto the slave chiplet global counter at the next rising edge of the sleep clock.
[0097] At event 504, in response to receiving the global counter synchronization pulse trigger, the slave chiplet 110b may load a global counter synchronization value (e.g., stored in a preload register of the slave chiplet 110b and described below with reference to FIG. 6) into the slave chiplet global counter at a rising edge of the sleep clock (e.g., sleep clock synchronization edge “n” described below with reference to FIG. 6). The global counter synchronization pulse trigger may be removed by a time comparator after the slave chiplet 110b loads the global counter synchronization value into the slave chiplet global counter subsystem 126b. For example, in the case of the SPMI-compliant interface bus 106, the global counter synchronization pulse trigger, which may be a telegram or broadcast message that may be communicated simultaneously to all slave chiplets 110b, 110c, 110d, may be disabled after the rising edge identified at event 504 and before the next rising edge of the sleep clock.
[0098] In some embodiments where the interface bus is not capable of parallel communication (e.g., dedicated GPIO pins on the master chiplet 110a are used to individually communicate with the slave chiplets 110b, 110c, 110d), the sleep clock rising edge 505 (e.g., sleep clock rising edge “n−1,” described with reference to FIG. 6 below) may be aligned with the global counter synchronization pulse trigger at event 502. If the sleep clock rising edge 505 is synchronized with the global counter synchronization pulse trigger, the time comparator can send a global counter synchronization pulse trigger at event 504 one sleep clock cycle before the intended sleep clock cycle, thus causing the slave chiplet global counter to be one sleep clock cycle ahead of the master chiplet global counter.
[0099] To avoid premature global counter sync pulse triggering caused by synchronization between the sleep clock and the global counter sync pulse trigger, the master chiplet 110a may introduce a delay after the sleep clock rising edge 505 to ensure that the global counter sync pulse trigger follows the sleep clock rising edge 505. The delay may be a number of CXO cycles from the sleep clock rising edge 505.
[0100] 6 is a timing diagram illustrating a timing flow 600 for sleep clock edge-based global counter synchronization in multiple chiplets, according to some embodiments. Referring to FIGS. 1-6, various signals are shown in the timing diagram, including signals observed from the perspective of the master chiplet 110a, such as slave chiplet RESIN_N (i.e., a reset assertion provided to the master chiplet 110a by the PMIC controller 102 and redistributed from the master chiplet 110a to the slave chiplets 110b via a set of dedicated GPIO pins), master chiplet processor operation, master chiplet global counters (i.e., stored in the master chiplet global counter subsystem 126a), master chiplet sleep clock (e.g., 32 kHz), slave chiplet SPMI messages (i.e., messages observed by the master chiplet 110a via the interface bus 106), and master chiplet SPMI messages (i.e., messages broadcast by the master chiplet 110a via the interface bus 106). Additional signals from the perspective of slave chiplet 110b are shown, including, for example, slave chiplet preload register, VIO int (i.e., global sync pulse trigger), sync status, slave chiplet sleep clock (e.g., 32 kHz), active clock (e.g., 19.2 MHz), slave chiplet global counters (i.e., those stored in slave chiplet global counter subsystem 126b), and slave chiplet processor operation.
[0101] At event 602, the slave chiplet processor 120b may come out of reset in response to receiving a reset assertion from the master chiplet processor 120a. The master chiplet processor 120a may generate and send a reset assertion to the slave chiplet processor 120b. The master chiplet processor 120a may send a reset assertion to the slave chiplet processor 120b after the master chiplet processor enters the PBL phase. The slave chiplet processor 120b may receive a reset assertion from the master chiplet processor 120a after the master chiplet processor enters the PBL phase. In some embodiments, the master chiplet processor 120a may send a reset assertion to the slave chiplet processor 120b after the master chiplet processor enters the SBL phase. The reset assertion (e.g., RESIN_N) may be sent by the master chiplet processor 120a to the slave chiplet processor 120b over a dedicated channel, such as, for example, a set of dedicated GPIO pins. A reset assertion from the master chiplet processor 120a received by the slave chiplet processor 120b may trigger the slave chiplet processor 120b to enter the PBL phase. At this point, the global counters in the slave chiplet global counters subsystem 126b are not synchronized with the global counters in the master chiplet global counters subsystem 126a. The slave chiplet 110b may remain in the PBL phase at least until a sleep clock rising edge of the master chiplet sleep clock occurs (e.g., designated as “n”), after which the slave chiplet global counters subsystem 126b may be synchronized with the master chiplet global counters subsystem 126a. Event 602 may be performed similarly to communication 202 described with reference to FIG. 2.
[0102] At event 604a, the slave chiplet processor 120b may generate and send a global counter synchronization request to the master chiplet processor 120a. The slave chiplet processor 120b may send the global counter synchronization request to the master chiplet processor 120a after entering the PBL phase. In some embodiments, the global counter synchronization request may be sent as an SPMI telegram or broadcast over the interface bus 106. The global counter synchronization request generated or otherwise configured by the slave chiplet processor 120b may include a Unique Slave Identifier (USID) and / or a Group Slave Identifier (GSID).
[0103] At event 604b, the master chiplet processor 120a may detect or otherwise receive a global counter synchronization request sent by the slave chiplet processor 120b during event 604a. In some embodiments, the master chiplet processor 120a may continuously poll the interface bus 106 looking for any SPMI telegrams or broadcasts sent by the slave chiplet processor 120b. Events 604a and 604b may be performed similarly to communication 204 described with reference to FIG. 2.
[0104] In some embodiments, event 606 may be executed in response to the master chiplet processor 120a detecting an SPMI telegram or broadcast from the slave chiplet processor 120b requesting a global counter synchronization procedure.
[0105] At event 606, the master chiplet processor 120a may send a command or instruction to, or otherwise configure, the master chiplet global counter subsystem 126a to enable periodic reading of global counters by the master chiplet global counter subsystem 126a. In some embodiments, the master chiplet processor 120a may set a bit or register in the master chiplet global counter subsystem 126a (or in a memory associated with the master chiplet global counter subsystem 126a) to enable periodic reading of global counters by the master chiplet global counter subsystem 126a. Enabling periodic reading of local global counters in the master chiplet global counter subsystem 126a may allow the master chiplet global counter subsystem 126a to read its local global counters on every rising edge of the master chiplet sleep clock (e.g., at 32 kHz).
[0106] The master chiplet processor 120a may further send a command or instruction to the master chiplet global counter subsystem 126a to read the most recent global counter value stored in the master chiplet global counter subsystem 126a, or may further configure the master chiplet global counter subsystem 126a in other ways. In some embodiments, the master chiplet processor 120a may set a bit or register in the master chiplet global counter subsystem 126a (or in a memory associated with the master chiplet global counter subsystem 126a) to read the most recent global counter value stored in the master chiplet global counter subsystem 126a. In response to receiving a command or instruction from the master chiplet processor 120a, the master chiplet global counter subsystem 126a may make available to the master chiplet processor 120a (e.g., in a register space or memory accessible by the master chiplet processor 120a) a local global counter corresponding to the most recent rising edge of the sleep clock 108 master chiplet processor 120a. Thus, the master chiplet processor 120a may read or take a snapshot of the latest local global counters, as determined by the periodic global counter read enabled at event 606. Event 606 may be performed similarly to communications 206 and 208 described with reference to FIG.
[0107] At event 610, the master chiplet processor 120a may determine the next sleep clock synchronization edge that may be used to synchronize with the slave chiplet global counter subsystem 126b. In some embodiments, the next sleep clock synchronization edge (e.g., master chiplet sleep clock rising edge "n") that may be used to synchronize with the slave chiplet global counter subsystem 126b may be the first sleep clock rising edge of the master chiplet sleep clock that occurs after the slave chiplet 110b exits the PBL phase and enters the SBL phase (i.e., after the expiration of the slave PBL latency).
[0108] The master chiplet processor 120a may configure a time comparator (e.g., master timer 114) in the master chiplet global counter subsystem 126a. The time comparator may be configured for triggering a sync pulse trigger at the master chiplet sleep clock rising edge "n-1". The time comparator may be configured with the master chiplet sleep clock such that the time comparator may track the time when the master chiplet sleep clock exhibits a rising edge (e.g., at each global counter read / snapshot).
[0109] In some embodiments, the sleep clock synchronization edge may be determined by the duration of the entire global counter synchronization mechanism, which may be a duration determined in software (e.g., via the master chiplet 110a and / or the PMIC controller 102) based at least on the interface bus 106 latency between the master chiplet 110a and the slave chiplets 110b, 110c, 110d (e.g., 8B global counter value and 2B synchronization message) and the master chiplet 110a software latency to (i) read and send the current global counter value over the interface bus 106 and (ii) configure the time comparator (e.g., the master timer 114) for the global counter synchronization pulse trigger (e.g., SPMI or CTI) over the interface bus 106.
[0110] The master chiplet processor 120a may construct and / or generate an SPMI timestamp message including the global counter synchronization value and then transmit it over the interface bus 106. The master chiplet processor may determine or otherwise generate a global counter synchronization value "N" based on the last read, i.e., most recent, master chiplet global counter value "K". The global counter synchronization value "N" may be equal to the last read master chiplet global counter "K" plus the next sleep clock synchronization edge "n" times the master chiplet sleep clock period. For example, N=K+(n * (1 / 32 kHz). Event 610 may be performed similarly to communications 209, 210, and 218 described with reference to FIG.
[0111] At event 612, the master chiplet processor 120a may transmit or broadcast the global counter synchronization value "N" as a master chiplet SPMI message to the slave chiplet global counter subsystem 126b over the interface bus 106. The slave chiplet global counter subsystem 126b may store the global counter synchronization value "N" in a preload register in preparation for loading the global counter synchronization value into a local global counter stored and utilized by the slave chiplet global counter subsystem 126b. With the global counter synchronization value "N" preloaded in the slave chiplet global counter subsystem 126b, the slave chiplet global counter subsystem 126b may wait to be synchronized with the master chiplet global counter subsystem 126a. Event 612 may be performed similarly to communication 212 described with reference to FIG. 2.
[0112] At event 614, the master chiplet global counter subsystem 126a may send or broadcast a global counter synchronization pulse trigger (i.e., an SPMI synchronization trigger message) to the slave chiplet global counter subsystem 126b. The global counter synchronization pulse trigger may be broadcast as a master chiplet SPMI message to the slave chiplet global counter subsystem 126b over the interface bus 106. The master chiplet processor 120a may broadcast the global counter synchronization pulse trigger one master chiplet sleep clock cycle prior to the sleep clock synchronization edge “n” (i.e., n−1) determined during event 610 to be used for synchronization with the slave chiplet global counter subsystem 126b.
[0113] Master chiplet processor 120a may broadcast a global counter synchronization pulse trigger at the master chiplet global counter value or a timer value equal to a configured timer value K2. In some embodiments, the global counter synchronization pulse trigger may be initiated by a time comparator (e.g., master timer 114). Prior to this, at event 610, the time comparator may be configured with the master chiplet sleep clock such that the time comparator may track the time when the master chiplet sleep clock exhibits a rising edge (e.g., at each global counter read / snapshot). Master chiplet processor 120a may use the time comparator to read or take a snapshot of the master chiplet global counter value at rising edge "n-1" of the master chiplet sleep clock. When the time comparator value recorded at master chiplet sleep clock rising edge "n-1" matches the configured value K2, master chiplet processor 120a may broadcast a global counter synchronization pulse trigger. The master chiplet global counter value may be equal to (n-1) times the sleep clock period (e.g., K2=(n-1)(1 / 32 kHz).
[0114] The global counter synchronization pulse trigger may arrive at the slave chiplet global counter subsystem 126b before the next rising edge "n" of the master chiplet sleep clock. The time between the rising edge "n-1" and the sleep clock synchronization edge "n" may be 586 crystal oscillator (XO) clocks, which may refer to the maximum SPMI message arrival delay, or the time that the global counter synchronization pulse trigger must arrive at the slave chiplet global counter subsystem 126b. The time between the rising edge "n-1" when the global counter synchronization pulse trigger is broadcast and the time that the global counter synchronization pulse trigger is received by the slave chiplet global counter subsystem 126b (i.e., the rising edge of VIO int(sync trig)) may be referred to as the SPMI message arrival delay. The SPMI message arrival delay may be a time delay constrained by the hardware communication path. The SPMI message arrival delay may be less than the maximum SPMI message arrival delay.
[0115] After the slave chiplet global counter subsystem 126b receives the global counter synchronization pulse trigger (indicated by the rising edge of VIO int(sync trig)), the slave chiplet global counter subsystem 126b may be ready to be synchronized with the master chiplet global counter subsystem 126a at sleep clock synchronization edge "n". At sleep clock synchronization edge "n", the global counter synchronization value "N" stored in the slave chiplet preload register may be loaded or latched into the slave chiplet global counter stored by the slave chiplet global counter subsystem 126b. The global counter synchronization value "N" may be loaded into the slave chiplet global counter at the rising edge of the slave chiplet sleep clock, which is considered to be the same sleep clock synchronization edge "n" of the master chiplet sleep clock. The slave chiplet sleep clock rising edge at which the global counter synchronization value "N" may be loaded into the slave chiplet global counter subsystem 126b may be skewed from the sleep clock synchronization edge "n". The skew between the master and slave chiplet sleep clocks at sleep clock synchronization edge "n" may be one or two XO clock cycles apart. Event 614 may be performed similarly to communication 214 described with reference to FIG.
[0116] At event 616, the slave chiplet processor 120b may poll the slave chiplet global counter subsystem 126b to determine whether synchronization is complete. The slave chiplet processor 120b may poll a synchronization status register (e.g., “sync status”) of the slave chiplet global counter subsystem 126b to determine whether a bit or register has changed to indicate a status that the synchronization process is complete. After the slave chiplet processor 120b determines that synchronization between the master chiplet global counter subsystem 126a and the slave chiplet global counter subsystem 126b is complete, the master chiplet processor 120a and the slave chiplet processor 120b may continue to execute normal processes, including debug processes. Thus, once the global counter synchronization is complete, the slave chiplet processor 120b may transition from the PBL phase to the SBL phase. Once synchronization is complete, the VIO int(sync trig) may be removed before the next rising edge “n+1” of the sleep clock.
[0117] For ease of illustration and explanation, FIG. 6 shows timing signals between two chiplets (e.g., chiplets 110a, 110b). However, the same timing signals and events occurring in or performed by or with slave chiplet 110b may be simultaneously performed by additional chiplets (e.g., 110c, 110d) in electrical communication with master chiplet 110a, as shown in FIG. 1. For example, at event 612, a preload register in slave chiplet 110d may be loaded with the value "N." As another example, at event 614, master chiplet 110a may broadcast a global synchronization pulse trigger over the SPMI bus to reach all three slave chiplets 110b, 110c, 110d simultaneously.
[0118] FIG. 7 is a process flow diagram illustrating an embodiment method 700 for sleep clock edge based global counter synchronization in a multi-chiplet system, according to various embodiments. With reference to FIGS. 1-7, method 700 may be performed in a processor (e.g., processing cores 120a, 120b, 120c, 120d) configured to perform the operations of the method. In some embodiments, the processor (e.g., processing cores 120a, 120b, 120c, 120d) may be configured to perform the operations by processor executable instructions stored in a non-transitory processor-readable medium (e.g., memory devices 122a, 122b, 122c, and 122d). The means for performing each of the operations of method 700 may be a processor of multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0119] At block 702, the PMIC may provide a sleep clock to the first and second chiplets. The SoC (e.g., multi-chiplet system 100) may include a first chiplet (e.g., master chiplet 110a) including a first chiplet global counter subsystem (e.g., master chiplet global counter subsystem 126a). The SoC may include a second chiplet (e.g., slave chiplet 110b) including a second chiplet global counter subsystem (e.g., slave chiplet global counter subsystem 126b). The SoC may further include an interface bus (e.g., interface bus 106) that may communicatively couple the first and second chiplets. The SoC may include a PMIC (e.g., PMIC controller 102) that may be configured to provide a sleep clock (e.g., sleep clock 108) to the first and second chiplets in the star configuration. The first and second chiplets may be configured to receive the sleep clock from the PMIC. In some embodiments, the sleep clock skew between the first chiplet and the second chiplet may be no more than two crystal oscillator clock cycles.
[0120] In some embodiments, the SoC may include a third chiplet (e.g., slave chiplet 110c, 110d) that includes a third chiplet global counter subsystem (e.g., slave chiplet global counter subsystem 126c, 126d). The interface bus may communicatively couple the first chiplet and the third chiplet. The first chiplet may be further configured to send a global counter synchronization pulse trigger to the third chiplet over the interface bus. In response to receiving the global counter synchronization pulse trigger, the third chiplet may be configured to load a global counter synchronization value into the third chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock.
[0121] The process at block 702 may be performed as described with reference to the operations in Figure 1. Means for performing the operations at block 702 may include a processor of multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0122] At block 704, a global counter sync pulse trigger may be sent from the first chiplet to the second chiplet. The first chiplet may be configured to send the global counter sync pulse trigger to the second chiplet over an interface bus. For example, the first chiplet may send the global counter sync pulse trigger as a broadcast or telegram message over an interface bus that is an SPMI. As another example, the first chiplet may send the global counter sync pulse trigger over a set of dedicated GPIO pins communicatively connecting the first chiplet to the second chiplet. The global counter sync pulse trigger may be configured by the first chiplet to cause the second chiplet to load a global counter sync value (e.g., “N”) into the second chiplet global counter subsystem on a sleep clock sync edge (e.g., “n”) of the sleep clock.
[0123] In some embodiments, the first chiplet may be configured to send a global counter synchronization pulse trigger to the second chiplet one sleep clock cycle before a sleep clock synchronization edge of the sleep clock. In some embodiments, the first chiplet may be configured to send a global counter synchronization pulse trigger to the second chiplet at a delay time between the sleep clock synchronization edge and one sleep clock cycle before the sleep clock synchronization edge.
[0124] The process at block 704 may be performed as described with reference to communication 214 of Figures 2-4, Figure 5, and event 614 of Figure 6. Means for performing the operations at block 704 may include a processor of multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0125] At block 706, in response to the second chiplet receiving the global counter synchronization pulse trigger, a global counter synchronization value may be loaded into the second chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock. As described with reference to block 704, the second chiplet may be configured to load or latch a global counter synchronization value (e.g., "N") into the second chiplet global counter subsystem at a sleep clock synchronization edge (e.g., "n") of the sleep clock in response to receiving the global counter synchronization pulse trigger. The process at block 706 may be performed as described with reference to communication 214 of FIGS. 2-4, events 614 of FIGS. 5, and 6. Means for performing the operations at block 704 may include a processor of multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0126] The order of operations performed in blocks 702-706 is merely exemplary, and operations in blocks 702-706 may be performed in any order, partially simultaneously, in some embodiments. In some embodiments, method 700 may be performed by a processor of a device independent of, but in conjunction with, an external memory device. For example, method 700 may be performed as a software module executing within a processor of an SoC or in dedicated hardware within the SoC, configured to establish a stable memory channel, issue commands to access the memory of the external memory device, and otherwise perform actions and store data as described.
[0127] FIG. 8A is a process flow diagram illustrating an embodiment of method 800a of sleep clock edge based global counter synchronization in a multi-chiplet system, which may be performed as part of method 700 in some embodiments. With reference to FIGS. 1-8A, method 800a may be performed in a processor (e.g., processing cores 120a, 120b, 120c, 120d) configured to perform the operations of the method. In some embodiments, the processor (e.g., processing cores 120a, 120b, 120c, 120d) may be configured to perform the operations by processor executable instructions stored in a non-transitory processor-readable medium (e.g., memory devices 122a, 122b, 122c, and 122d). The means for performing each of the operations of method 800a may be a processor of multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0128] At block 802, a first chiplet global counter value may be read by a first chiplet from a first chiplet global counter subsystem. The first chiplet (e.g., master chiplet 110a) may be configured to read or otherwise receive the first chiplet global counter value from a first chiplet global counter subsystem (e.g., master chiplet global counter subsystem 126a). In some embodiments, the first chiplet global counter value may be read from the first chiplet global counter subsystem on a rising edge of a sleep clock. The process at block 802 may be performed as described with reference to communication 208 of FIGS. 2-4 and event 606 of FIG. 6. Means for performing the operations at block 802 may include a processor of multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0129] At block 804, a global counter synchronization value may be generated by the first chiplet based on the first chiplet global counter value. The first chiplet (e.g., master chiplet 110a) may be configured to generate a global counter synchronization value (e.g., “N”) based on the previously read first chiplet global counter value as described with reference to block 802. The process at block 804 may be performed as described with reference to event 610 of FIG. 6. Means for performing the operations at block 804 may include a processor of multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0130] In block 806, the global counter synchronization value may be transmitted from the first chiplet to the second chiplet. The first chiplet (e.g., master chiplet 110a) may be configured to transmit the global counter synchronization value (e.g., “N”) to the second chiplet (e.g., slave chiplet 110b). For example, the first chiplet may transmit the global counter synchronization value as a broadcast or telegram message over an interface bus that is an SPMI. As another example, the first chiplet may transmit the global counter synchronization value over a set of dedicated GPIO pins that communicatively connect the first chiplet to the second chiplet. The process in block 806 may be performed as described with reference to communication 212 in FIGS. 2-4 and event 612 in FIG. 6. The means for performing the operations in block 806 may include a processor of multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0131] At block 808, the global counter synchronization value may be stored in a preload register of the second chiplet. The second chiplet (e.g., slave chiplet 110b) may be configured to store the global counter synchronization value (e.g., “N”) in a preload register, and the global counter synchronization value may be loaded from the preload register into the second chiplet global counter subsystem (e.g., slave chiplet global counter subsystem 126b). The process at block 808 may be performed as described with reference to communication 212 of FIGS. 2-4 and event 612 of FIG. 6. The multi-chiplet system 100 may subsequently perform the operations of block 702 of method 700 (FIG. 7) as described. Means for performing the operations at block 808 may include a processor of the multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0132] The order of operations performed in blocks 802-808 is merely exemplary, and operations in blocks 802-808 may be performed in any order, partially simultaneously, in some embodiments. In some embodiments, method 800a may be performed by a processor of a device independent of, but in conjunction with, an external memory device. For example, method 800a may be performed as a software module executing within a processor of an SoC or in dedicated hardware within the SoC, configured to establish a stable memory channel, issue commands to access the memory of the external memory device, and otherwise perform actions and store data as described.
[0133] 8B is a process flow diagram illustrating an embodiment of a method 800b of sleep clock edge based global counter synchronization in a multi-chiplet system, which may be performed as part of method 700 in some embodiments. With reference to FIGS. 1-8B, method 800b may be performed in a processor (e.g., processing cores 120a, 120b, 120c, 120d) configured to perform the operations of the method. In some embodiments, the processor (e.g., processing cores 120a, 120b, 120c, 120d) may be configured to perform the operations via processor-executable instructions stored in a non-transitory processor-readable medium (e.g., memory devices 122a, 122b, 122c, and 122d).
[0134] In block 810, the first chiplet may determine a sleep clock synchronization edge of the sleep clock. The first chiplet (e.g., master chiplet 110a) may be configured to determine a sleep clock synchronization edge (e.g., “n”) of the sleep clock (e.g., sleep clock 108), which may be a rising edge of the sleep clock. The process at block 810 may be performed as described with reference to operation 209 of FIGS. 2-4 and event 610 of FIG. 6. Means for performing the operations at block 810 may include a processor of multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d. Multi-chiplet system 100 may subsequently perform the operations of block 702 of method 700 (FIG. 7) as described.
[0135] In some embodiments, method 800b may be performed by a processor of a device independent of, but in conjunction with, the external memory device. For example, method 800b may be performed as a software module executing within a processor of the SoC or in dedicated hardware within the SoC, configured to establish a stable memory channel, issue commands to access the memory of the external memory device, and otherwise perform actions and store data as described.
[0136] 8C is a process flow diagram illustrating an embodiment of a method 800c of sleep clock edge based global counter synchronization in a multi-chiplet system, which may be performed as part of method 700 in some embodiments. With reference to FIGS. 1-8C, method 800c may be performed in a processor (e.g., processing cores 120a, 120b, 120c, 120d) configured to perform the operations of the method. In some embodiments, the processor (e.g., processing cores 120a, 120b, 120c, 120d) may be configured to perform the operations via processor-executable instructions stored in a non-transitory processor-readable medium (e.g., memory devices 122a, 122b, 122c, and 122d).
[0137] At block 812, the first chiplet may send a reset assertion to the second chiplet. The first chiplet (e.g., master chiplet 110a) may be configured to send the reset assertion to the second chiplet (e.g., slave chiplet 110b) over a hardwired dedicated channel. For example, the first chiplet may send the reset assertion over a set of dedicated GPIO pins communicatively connecting the first chiplet to the second chiplet. The reset assertion received by the slave chiplet may trigger the slave chiplet to enter the PBL phase. The process at block 812 may be performed as described with reference to communication 202 of FIG. 2 and event 602 of FIG. 6. The means for performing the operations at block 812 may include a processor of multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0138] At block 814, the second chiplet may send a global counter synchronization request to the first chiplet in response to the reset assertion. The second chiplet (e.g., slave chiplet 110b) may be configured to send a global counter synchronization request to the first chiplet (e.g., master chiplet 110a) in response to receiving the reset assertion from the first chiplet, as described with reference to block 812. For example, the second chiplet may send the global counter synchronization request as a broadcast or telegram message over an interface bus that is SPMI. As another example, the second chiplet may send the global counter synchronization request over a set of dedicated GPIO pins that communicatively connect the first chiplet to the second chiplet. The multi-chiplet system 100 may subsequently perform the operations of block 702 of method 700 (FIG. 7) as described. For example, the first chiplet may be configured to send a global counter synchronization pulse trigger to the second chiplet over the interface bus in response to the first chiplet receiving a global counter synchronization request from the second chiplet. The process at block 814 may be performed as described with reference to communication 204 of Figure 2 and events 604a and 604b of Figure 6. Means for performing the operations at block 814 may include a processor of multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0139] In some embodiments, method 800c may be performed by a processor of a device independent of, but in conjunction with, the external memory device. For example, method 800c may be performed as a software module executing within a processor of the SoC or in dedicated hardware within the SoC, configured to establish a stable memory channel, issue commands to access the memory of the external memory device, and otherwise perform actions and store data as described.
[0140] 8D is a process flow diagram illustrating an embodiment of a method 800d of sleep clock edge based global counter synchronization in a multi-chiplet system, which may be performed as part of method 700 in some embodiments. With reference to FIGS. 1-8D, method 800d may be performed in a processor (e.g., processing cores 120a, 120b, 120c, 120d) configured to perform the operations of the method. In some embodiments, the processor (e.g., processing cores 120a, 120b, 120c, 120d) may be configured to perform the operations via processor-executable instructions stored in a non-transitory processor-readable medium (e.g., memory devices 122a, 122b, 122c, and 122d).
[0141] At block 816, the second chiplet may disable the global counter stop in the second chiplet global counter subsystem. The second chiplet (e.g., slave chiplet 110b) may be configured to disable the global counter stop in the second chiplet global counter subsystem (e.g., slave chiplet global counter subsystem 126b). The global counter stop may be a CTI stop trigger. Disabling the global counter stop may restart counting of the second chiplet global counter in the second chiplet global counter subsystem. The process at block 816 may be performed as described with reference to communication 301 of FIG. 3. Means for performing the operations at block 816 may include a processor of multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0142] At block 818, the second chiplet may enable a global counter synchronization path in the second chiplet global counter subsystem. The second chiplet (e.g., slave chiplet 110b) may be configured to enable a global counter synchronization path in the second chiplet global counter subsystem (e.g., slave chiplet global counter subsystem 126b). Enabling the global counter synchronization path may allow the first chiplet global counter subsystem (e.g., master chiplet global counter subsystem 126a) to communicate with the second chiplet global counter subsystem. The multi-chiplet system 100 may then perform the operations of block 702 of method 700 (FIG. 7) as described. The process at block 818 may be performed as described with reference to communication 303 of FIG. 3. Means for performing the operations at block 818 may include a processor of the multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0143] The order of operations performed in blocks 816 and 818 is merely exemplary, and operations in blocks 816-818 may be performed in any order, partially concurrently, in some embodiments. In some embodiments, method 800d may be performed by a processor of a device independent of, but in conjunction with, an external memory device. For example, method 800d may be performed as a software module executing within a processor of the SoC or in dedicated hardware within the SoC, configured to establish a stable memory channel, issue commands to access the memory of the external memory device, and otherwise perform actions and store data as described.
[0144] 8E is a process flow diagram illustrating an embodiment of a method 800e of sleep clock edge based global counter synchronization in a multi-chiplet system, which may be performed as part of method 700 in some embodiments. With reference to FIGS. 1-8E, method 800e may be performed in a processor (e.g., processing cores 120a, 120b, 120c, 120d) configured to perform the operations of the method. In some embodiments, the processor (e.g., processing cores 120a, 120b, 120c, 120d) may be configured to perform the operations via processor-executable instructions stored in a non-transitory processor-readable medium (e.g., memory devices 122a, 122b, 122c, and 122d).
[0145] At block 820, the first chiplet may disable global counter stop in the first chiplet global counter subsystem and the second chiplet global counter subsystem. The first chiplet (e.g., master chiplet 110a) may disable global counter stop in the first chiplet global counter subsystem (e.g., master chiplet global counter subsystem 126a) and the second chiplet global counter subsystem (e.g., slave chiplet global counter subsystem 126b). The global counter stop may be a CTI stop trigger. Disabling the global counter stop may restart counting of the first chiplet global counter in the first chiplet global counter subsystem and may restart counting of the second chiplet global counter in the second chiplet global counter subsystem. The process at block 820 may be performed as described with reference to communications 401 and 402 of FIG. 4. The means for performing the operations in block 820 may include a processor of the multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0146] At block 822, the second chiplet may enable a global counter synchronization path in the second chiplet global counter subsystem. The second chiplet (e.g., slave chiplet 110b) may be configured to enable a global counter synchronization path in the second chiplet global counter subsystem (e.g., slave chiplet global counter subsystem 126b). Enabling the global counter synchronization path may allow the first chiplet global counter subsystem (e.g., master chiplet global counter subsystem 126a) to communicate with the second chiplet global counter subsystem. The multi-chiplet system 100 may then perform the operations of block 702 of method 700 (FIG. 7) as described. The process at block 822 may be performed as described with reference to communication 403 of FIG. 4. Means for performing the operations at block 822 may include a processor of the multi-chiplet system 100, such as processing cores 120a, 120b, 120c, 120d.
[0147] The order of operations performed in blocks 820 and 822 is merely exemplary, and operations in blocks 820-822 may be performed in any order, partially concurrently, in some embodiments. In some embodiments, method 800e may be performed by a processor of a device independent of, but in conjunction with, an external memory device. For example, method 800e may be performed as a software module executing within a processor of the SoC or in dedicated hardware within the SoC, configured to establish a stable memory channel, issue commands to access the memory of the external memory device, and otherwise perform actions and store data as described.
[0148] FIG. 9 is a component block diagram of an exemplary wireless device in the form of a smartphone 900 suitable for implementing some embodiments. The smartphone 900 may include a first processing device, such as the multi-chiplet system 100, coupled to a second processing device, such as a SoC 918. The multi-chiplet system 100 and the SoC 918 may be a 5G-enabled SoC. The multi-chiplet system 100 and the SoC 918 may be coupled to internal memory 906, 916, a display 912, and a speaker 914. Additionally, the smartphone 900 may include an antenna 904 for transmitting and receiving electromagnetic radiation that may be connected to a wireless data link, or a cellular telephone transceiver 908 coupled to one or more processors in the multi-chiplet system 100 and the SoC 918. The smartphone 900 also typically includes menu selection buttons or rocker switches 920 for receiving user input.
[0149] A typical smartphone 900 also includes a voice encoding / decoding (codec) circuit 910 that digitizes sound received from the microphone into data packets suitable for wireless transmission and decodes the received sound data packets to generate analog signals that are provided to a speaker to generate sound. One or more of the processors, SoC 918, wireless transceiver 908, and codec 910 in multi-chiplet system 100 may also include digital signal processor (DSP) circuitry (not separately shown).
[0150] The processor of the smartphone 900 may be any programmable microprocessor, microcomputer, or multiprocessor chip(s) that may be configured by instructions executable by the processor to perform various functions, including those of the various implementations described herein. In some mobile devices, multiple processors may be provided, such as one processor in the multi-chiplet system 100 dedicated to wireless communication functions and one processor in the SoC 918 dedicated to running other applications. Typically, software applications may be stored in memory 906, 916 before being accessed and loaded into the processor. The processor may include sufficient internal memory to store application software instructions.
[0151] Various embodiments (including but not limited to those described above with reference to FIGS. 1-8E) may be implemented in a wide variety of computing systems, including a laptop computer 1000, an example of which is shown in FIG. 10. With reference to FIGS. 1-10, the laptop computer may include a touchpad touch surface 1017 that serves as a pointing device for the computer and may therefore receive drag, scroll, and flick gestures similar to those implemented on the computing devices described above equipped with touch screen displays. The laptop computer 1000 typically includes a processor 1002 coupled to a volatile memory 1012 and a large capacity non-volatile memory, such as a flash memory disk drive 1013. In addition, the computer 1000 may have one or more antennas 1008 for transmitting and receiving electromagnetic radiation, which may be connected to a wireless data link and / or a cellular telephone transceiver 1016 coupled to the processor 1002. The computer 1000 may also include a floppy disk drive 1014 and a compact disk (CD) drive 1015 coupled to the processor 1002. Laptop computer 1000 may include a touchpad 1017, a keyboard 1018, and a display 1019, all coupled to processor 1002. Other configurations of computing devices may also be used with various embodiments, including a computer mouse or trackball coupled to the processor (e.g., via a Universal Serial Bus (USB) input), as is well known.
[0152] Various embodiments (including but not limited to those described above with reference to FIGS. 1-8E) may be implemented in a fixed computing system, such as any of a variety of commercially available servers. With reference to FIGS. 1-11, an exemplary server 1100 is shown in FIG. 11. Such a server 1100 typically includes one or more multi-core processor assemblies 1101 coupled to volatile memory 1102 and large capacity non-volatile memory, such as a disk drive 1104. As shown in FIG. 11, multi-core processor assemblies 1101 may be added to the server 1100 by inserting them into a rack of assemblies. The server 1100 may also include a floppy disk drive, compact disk (CD) or digital versatile disk (DVD) disk drive 1106 coupled to the processor 1101. The server 1100 may also include a network access port 1103 coupled to the multi-core processor assembly 1101 for establishing a network interface connection with a network 1105, such as a local area network, the Internet, a public switched telephone network, and / or a cellular data network (e.g., CDMA, TDMA, GSM, PCS, 3G, 4G, LTE, or any other type of cellular data network) coupled to other broadcast system computers and servers.
[0153] Example implementations are described in the following paragraphs. The execution examples described with respect to the example methods further include the example methods executed in circuits and processors configured with processor-executable instructions for performing operations of the example methods, the example methods executed in means for performing operations of the methods, and the example methods executed in a non-transitory processor-readable storage medium having stored thereon processor-executable instructions configured to cause a chiplet processor to perform operations of the example methods.
[0154] Example 1. A SoC including a first chiplet including a first chiplet global counter subsystem, a second chiplet including a second chiplet global counter subsystem, an interface bus communicatively coupling the first chiplet and the second chiplet, and a power management integrated circuit (PMIC) configured to provide a sleep clock to the first chiplet and the second chiplet, wherein the first chiplet is configured to send a global counter synchronization pulse trigger to the second chiplet via the interface bus, and the second chiplet is configured to load a global counter synchronization value into the second chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock in response to receiving the global counter synchronization pulse trigger.
[0155] Example 2. The SoC of example 1, wherein the first chiplet is further configured to read the first chiplet global counter value from the first chiplet global counter subsystem, generate a global counter synchronization value based on the first chiplet global counter value, and transmit the global counter synchronization value to the second chiplet via the interface bus, the second chiplet is further configured to store the global counter synchronization value in a preload register, and the global counter synchronization value is loaded from the preload register to the second chiplet global counter subsystem.
[0156] Example 3. The SoC of example 2, wherein the first chiplet global counter value is read from the first chiplet global counter subsystem on a rising edge of a sleep clock.
[0157] Example 4. The SoC of any one of Examples 1-3, wherein the first chiplet is further configured to determine a sleep clock synchronization edge of the sleep clock, the sleep clock synchronization edge being a rising edge of the sleep clock.
[0158] Example 5. The SoC of any one of Examples 1-4, wherein the first chiplet is further configured to send a global counter synchronization pulse trigger to the second chiplet one sleep clock cycle prior to a sleep clock synchronization edge of the sleep clock.
[0159] Example 6. The SoC of any one of Examples 1 to 5, wherein the first chiplet is further configured to send a global counter synchronization pulse trigger to the second chiplet at a delay time between a sleep clock synchronization edge and one sleep clock cycle before the sleep clock synchronization edge.
[0160] Example 7. The SoC of any one of Examples 1 to 6, wherein the first chiplet is further configured to send a reset assertion to the second chiplet, the second chiplet is further configured to send a global counter synchronization request to the first chiplet via the interface bus in response to the reset assertion, and the first chiplet is configured to send a global counter synchronization pulse trigger to the second chiplet via the interface bus in response to the first chiplet receiving the global counter synchronization request from the second chiplet.
[0161] Example 8. The SoC of any one of Examples 1 to 7, wherein the second chiplet is further configured to: enable the global counter synchronization path; disabling the global counter stop in the second chiplet global counter subsystem causes the second chiplet global counter in the second chiplet global counter subsystem to resume counting; disabling the global counter stop and enabling the global counter synchronization path in the second chiplet global counter subsystem allows the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem.
[0162] Example 9. The SoC of any one of Examples 1 to 8, wherein the first chiplet is further configured to disable global counter stop, where disabling the global counter stop in the first chiplet global counter subsystem and in the second chiplet global counter subsystem causes the first chiplet global counter in the first chiplet global counter subsystem to resume counting and the second chiplet global counter in the second chiplet global counter subsystem to resume counting, and the second chiplet is further configured to enable a global counter synchronization path in the second chiplet global counter subsystem, where enabling the global counter synchronization path in the second chiplet global counter subsystem allows the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem.
[0163] Example 10. The SoC of any one of Examples 1-9, wherein a sleep clock skew between the first chiplet and the second chiplet is less than or equal to two crystal oscillator clock cycles, and the sleep clock is distributed to the first chiplet and the second chiplet in a star configuration.
[0164] Example 11. The SoC of any one of Examples 1 to 10, further including a third chiplet including a third chiplet global counter subsystem, wherein the interface bus communicatively couples the first chiplet and the third chiplet, the first chiplet further configured to send a global counter synchronization pulse trigger to the third chiplet via the interface bus, and the third chiplet configured to load a global counter synchronization value into the third chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock in response to receiving the global counter synchronization pulse trigger.
[0165] Example 12. The SoC according to any one of Examples 1 to 11, wherein the interface bus is an SPMI bus.
[0166] Example 13. A method for global counter synchronization in a multi-chiplet system, comprising: providing a sleep clock to a first chiplet and a second chiplet via a power management integrated circuit (PMIC); sending a global counter synchronization pulse trigger from the first chiplet to the second chiplet; and loading a global counter synchronization value into the second chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock in response to the second chiplet receiving the global counter synchronization pulse trigger.
[0167] Example 14. The method of example 13, including reading, by the first chiplet, a first chiplet global counter value from the first chiplet global counter subsystem; generating, by the first chiplet, a global counter synchronization value based on the first chiplet global counter value; transmitting the global counter synchronization value from the first chiplet to the second chiplet; and storing the global counter synchronization value in a preload register of the second chiplet, and loading the global counter synchronization value from the preload register to the second chiplet global counter subsystem.
[0168] Example 15. The method of example 14, wherein the first chiplet global counter value is read from the first chiplet global counter subsystem on a rising edge of a sleep clock.
[0169] Example 16. The method of any one of Examples 13-15, further comprising determining, by the first chiplet, a sleep clock synchronization edge of the sleep clock, where the sleep clock synchronization edge is a rising edge of the sleep clock.
[0170] Example 17. The method of any one of Examples 13-16, further comprising sending a global counter synchronization pulse trigger from the first chiplet to the second chiplet one sleep clock cycle prior to a sleep clock synchronization edge of the sleep clock.
[0171] Example 18. The method of any one of Examples 13 to 17, further comprising sending a global counter synchronization pulse trigger from the first chiplet to the second chiplet at a delay time between a sleep clock synchronization edge and one sleep clock cycle before the sleep clock synchronization edge.
[0172] Example 19. The method of any one of Examples 13 to 18, further including: sending a reset assertion from the first chiplet to the second chiplet; and sending a global counter synchronization request from the second chiplet to the first chiplet in response to the reset assertion, wherein sending the global counter synchronization pulse trigger from the first chiplet to the second chiplet is in response to the first chiplet receiving the global counter synchronization request from the second chiplet.
[0173] Example 20. The method of any one of Examples 13-19, wherein disabling, by the second chiplet, the global counter stop in the second chiplet global counter subsystem, further includes disabling the global counter stop, causing the second chiplet global counter in the second chiplet global counter subsystem to resume counting; and enabling, by the second chiplet, the global counter synchronization path in the second chiplet global counter subsystem, enabling the global counter synchronization path, allowing the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem.
[0174] Example 21. The method of any one of Examples 13-20, wherein disabling, by the first chiplet, global counter stop in the first chiplet global counter subsystem and the second chiplet global counter subsystem, further includes disabling global counter stop, causing the first chiplet global counter in the first chiplet global counter subsystem to resume counting and the second chiplet global counter in the second chiplet global counter subsystem to resume counting; and enabling, by the second chiplet, a global counter synchronization path in the second chiplet global counter subsystem, enabling a global counter synchronization path that enables the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem.
[0175] Example 22. A method for global counter synchronization performed by a first chiplet in a multi-chiplet system, the method including receiving a sleep clock from a power management integrated circuit (PMIC) and sending a global counter synchronization pulse trigger to a second chiplet, the global counter synchronization pulse trigger configured to cause the second chiplet to load a global counter synchronization value into the second chiplet global counter subsystem at a sleep clock synchronization edge of the sleep clock.
[0176] Example 32. The method of example 22, further including reading a first chiplet global counter value from the first chiplet global counter subsystem, generating a global counter synchronization value based on the first chiplet global counter value, and transmitting the global counter synchronization value to the second chiplet.
[0177] The various embodiments shown and described are provided merely as examples to illustrate various features of the claims. However, features shown and described with respect to any given embodiment are not necessarily limited to the associated embodiment, and may be used with or combined with other embodiments shown and described. Moreover, the claims are not limited by any one exemplary embodiment.
[0178] As used in this application, terms such as "component," "module," and "system" are intended to include computer-related entities, such as, but not limited to, hardware, firmware, a combination of hardware and software, software, or software in execution, configured to perform certain operations or functions. For example, a component may be, but is not limited to, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, or a computer. By way of example, both an application running on a wireless device and the wireless device may be referred to as a component. One or more components may reside within a process or thread of execution, and a component may be localized on one processor or core or distributed among two or more processors or cores. In addition, these components may execute from various non-transitory computer-readable media on which various instructions or data structures are stored. Components may communicate by way of local or remote processes, function or procedure calls, electronic signals, data packets, memory reads / writes, and other known network, computer, processor, or process related communication methods.
[0179] A number of different cellular and mobile communication services and standards are available or are contemplated in the future, all of which may implement and benefit from different implementations. Such services and standards include 3rd Generation Partnership Project (3GPP®), Long Term Evolution (LTE) systems, third generation wireless mobile communications technology (3G), fourth generation wireless mobile communications technology (4G), fifth generation wireless mobile communications technology (5G), Global System for Mobile Communications (GSM), Universal Mobile Telecommunications System (UMTS), 3GSM, General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA) systems (cdmaOne, CDMA1020™, etc.), Enhanced Data Rates for GSM Evolution (EDGE), Advanced Mobile Phone System (AMPS), Digital AMPS (IS-136 / TDMA), Evolution Data Optimized (EV-DO), Digital Enhanced Cordless Telecommunications (DECT), Worldwide Interoperability for Microwave Access (WiMAX), Wireless Local Area Networks (WLAN), Wi-Fi Protected Access I & II (WPA, WPA2), and Integrated Digital Enhanced Network (iDEN), among others. Each of these technologies involves, for example, the transmission and reception of voice, data, signaling, or content messages. Any reference to terminology or technical details relating to a particular telecommunications standard or technology should be understood to be for explanatory purposes only and not to limit the scope of the claims to any particular communications system or technology, unless specifically recited in the claim language.
[0180] The various implementations shown and described are provided merely as examples to illustrate various features of the claims. However, features shown and described with respect to any given implementation are not necessarily limited to the associated implementation, and may be used with or combined with other implementations shown and described. Furthermore, the claims are not intended to be limited by any one example implementation. For example, one or more of the operations of the methods disclosed herein may be substituted for or combined with one or more operations of the methods disclosed herein.
[0181] The above method descriptions and process flow diagrams are provided as illustrative examples only and do not require or imply that the blocks of the various embodiments must be performed in the order presented. As will be appreciated by one of ordinary skill in the art, the order of the blocks in the above embodiments may be performed in any order. Furthermore, words such as "thereafter," "then," and "next" do not limit the order of the steps. These words are merely used to guide the reader through the method description. Furthermore, any reference to a claim element in the singular, for example using the articles "a," "an," or "the," should not be construed as limiting the element to the singular.
[0182] Various exemplary logic blocks, modules, circuits, and algorithm blocks described in relation to the embodiments disclosed herein may be implemented as electronic hardware, computer software, or a combination of both. To clearly illustrate this interchangeability of hardware and software, various exemplary components, blocks, modules, circuits, and blocks are described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the particular application and design constraints imposed on the overall system. Those skilled in the art may implement the described functionality in various ways for each particular application, but such embodiment determinations should not be interpreted as causing a departure from the scope of the various embodiments.
[0183] The hardware used to implement the various example logic, logic blocks, modules, and circuits described in connection with the aspects disclosed herein may be implemented or performed with general purpose single-chip or multi-chip processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, or any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. In some implementations, certain processes and methods may be performed by circuitry specific to a given function.
[0184] In one or more aspects, the functions described may be implemented in hardware, digital electronic circuitry, computer software, firmware, or any combination thereof, including the structures disclosed herein and their structural equivalents. Implementations of the subject matter described herein may also be implemented as one or more computer programs, i.e., as one or more modules of computer program instructions encoded on a computer storage medium for execution by or for controlling the operation of a data processing apparatus.
[0185] Computer program code or "program code" for execution on a programmable processor to perform operations of various embodiments may be written in a high level programming language such as C, C++, C#, Smalltalk, Java, JavaScript, Visual Basic, Structured Query Language (e.g., Transact-SQL), Perl, or a variety of other programming languages. Program code or programs stored on a computer-readable storage medium as used in this application may refer to machine code (such as object code) whose format is understandable by a processor.
[0186] In various embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions or code on a non-transitory computer-readable medium or a non-transitory processor-readable medium. Operations of a method or algorithm disclosed herein may be embodied in a processor-executable software module that may reside on a non-transitory computer-readable storage medium or a non-transitory processor-readable storage medium. A non-transitory computer-readable or processor-readable storage medium may be any storage medium that may be accessed by a computer or processor. By way of example and not limitation, such non-transitory computer-readable or processor-readable media may include RAM, ROM, EEPROM, FLASH memory, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that may be used to store desired program code in the form of instructions or data structures and that may be accessed by a computer. Disk and disc as used herein include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc, where disks typically reproduce data magnetically and discs reproduce data optically using lasers. Combinations of the above are also included within the scope of non-transitory computer-readable and processor-readable media. Additionally, operations of a method or algorithm may reside as one or any combination or set of code and / or instructions on a non-transitory processor-readable medium and / or a non-transitory computer-readable medium that may be embodied in a computer program product.
[0187] Various modifications to the implementations described in this disclosure may be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other implementations without departing from the spirit or scope of the disclosure. Thus, the claims are not intended to be limited to the implementations shown herein, but are to be accorded the widest scope consistent with this disclosure, the principles and novel features disclosed herein.
[0188] Some features described herein in the context of separate implementations may also be implemented in combination in a single implementation. Conversely, various features described in the context of a single implementation may also be implemented in multiple implementations separately or in any suitable subcombination. Furthermore, although features may be described above as working in some combinations and may even initially be claimed as such, one or more features from a claimed combination may in some cases be deleted from the combination, and the claimed combination may be directed to a subcombination or a variation of the subcombination.
[0189] Similarly, although operations are shown in the figures in a particular order, this should not be understood as requiring such operations to be performed in the particular order or sequential order shown, or that all of the operations shown be performed, to achieve desirable results. Furthermore, the figures may generally depict one or more exemplary processes in the form of a flow diagram. However, other operations not shown may be incorporated into the exemplary process depicted in the schematic. For example, one or more additional operations may be performed before, after, simultaneously with, or between any of the depicted operations. In some circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the implementations described above should not be understood as requiring such separation in all implementations, and it should be understood that the program components and systems described may generally be integrated together in a single software product or packaged in multiple software products. In addition, other implementations are within the scope of the following claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve desirable results.
[0190] The foregoing description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present embodiments. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments without departing from the scope of the present embodiments. Thus, the various embodiments are not intended to be limited to the embodiments shown herein, but are to be accorded the widest scope consistent with the following claims and the principles and novel features disclosed herein.
Claims
1. A system on chip (SoC), comprising: a first chiplet including a first chiplet global counter subsystem; a second chiplet including a second chiplet global counter subsystem; an interface bus communicatively coupling the first chiplet and the second chiplet; a power management integrated circuit (PMIC) configured to provide a sleep clock to the first chiplet and the second chiplet; Equipped with the first chiplet is configured to send a global counter synchronization pulse trigger to the second chiplet over the interface bus one sleep clock cycle prior to a sleep clock synchronization edge of the sleep clock; the second chiplet is configured to load a global counter synchronization value into the second chiplet global counter subsystem at the sleep clock synchronization edge of the sleep clock in response to receiving the global counter synchronization pulse trigger.
2. The first chiplet comprises: reading a first chiplet global counter value from the first chiplet global counter subsystem; generating the global counter synchronization value based on the first chiplet global counter value; Transmitting the global counter synchronization value to the second chiplet via the interface bus. The method further comprises: the second chiplet is further configured to store the global counter synchronization value in a preload register, the global counter synchronization value being loaded from the preload register into the second chiplet global counter subsystem. The SoC of claim 1 .
3. The SoC of claim 2 , wherein the first chiplet global counter value is read from the first chiplet global counter subsystem on a rising edge of the sleep clock.
4. 2. The SoC of claim 1, wherein the first chiplet is further configured to determine the sleep clock synchronization edge of the sleep clock, the sleep clock synchronization edge being a rising edge of the sleep clock.
5. 2. The SoC of claim 1 , wherein the first chiplet is further configured to send the global counter synchronization pulse trigger to the second chiplet at a delay time between the sleep clock synchronization edge and one sleep clock cycle before the sleep clock synchronization edge.
6. The first chiplet is further configured to send a reset assertion to the second chiplet; the second chiplet is further configured to send a global counter synchronization request to the first chiplet via the interface bus in response to the reset assertion; the first chiplet is configured to send the global counter synchronization pulse trigger to the second chiplet over the interface bus in response to the first chiplet receiving the global counter synchronization request from the second chiplet. The SoC of claim 1 .
7. The second chiplet comprises: Disabling a global counter stop in the second chiplet global counter subsystem to resume counting of a second chiplet global counter in the second chiplet global counter subsystem; enabling a global counter synchronization path in the second chiplet global counter subsystem, the global counter synchronization path enabling the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem; The SoC of claim 1 , further configured to:
8. the first chiplet is further configured to disable global counter stopping in the first chiplet global counter subsystem and in the second chiplet global counter subsystem to cause a first chiplet global counter in the first chiplet global counter subsystem to resume counting and a second chiplet global counter in the second chiplet global counter subsystem to resume counting; the second chiplet is further configured to enable a global counter synchronization path in the second chiplet global counter subsystem, enabling the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem. The SoC of claim 1 .
9. 2. The SoC of claim 1 , wherein a sleep clock skew between the first chiplet and the second chiplet is no more than two crystal oscillator clock cycles, and the sleep clock is distributed to the first chiplet and the second chiplet in a star configuration.
10. a third chiplet including a third chiplet global counter subsystem, the interface bus communicatively coupling the first chiplet and the third chiplet; the first chiplet is further configured to send the global counter synchronization pulse trigger to the third chiplet over the interface bus; 2. The SoC of claim 1 , wherein the third chiplet is configured to load the global counter synchronization value into the third chiplet global counter subsystem at the sleep clock synchronization edge of the sleep clock in response to receiving the global counter synchronization pulse trigger.
11. The SoC of claim 1 , wherein the interface bus is a System Power Management Interface (SPMI) bus.
12. 1. A method for global counter synchronization in a multi-chiplet system, comprising: providing a sleep clock to the first chiplet and the second chiplet via a power management integrated circuit (PMIC); sending a global counter synchronization pulse trigger from the first chiplet to the second chiplet at a delay time between a sleep clock synchronization edge and one sleep clock cycle before the sleep clock synchronization edge; in response to the second chiplet receiving the global counter synchronization pulse trigger, loading a global counter synchronization value into a second chiplet global counter subsystem at the sleep clock synchronization edge of the sleep clock; A method comprising:
13. reading, by the first chiplet, a first chiplet global counter value from a first chiplet global counter subsystem; generating, by the first chiplet, the global counter synchronization value based on the first chiplet global counter value; transmitting the global counter synchronization value from the first chiplet to the second chiplet; storing the global counter synchronization value in a preload register of the second chiplet, the global counter synchronization value being loaded from the preload register into the second chiplet global counter subsystem; The method of claim 12 further comprising:
14. The method of claim 13 , wherein the first chiplet global counter value is read from the first chiplet global counter subsystem on a rising edge of the sleep clock.
15. 13. The method of claim 12, further comprising determining, by the first chiplet, the sleep clock synchronization edge of the sleep clock, the sleep clock synchronization edge being a rising edge of the sleep clock.
16. 13. The method of claim 12, further comprising: sending the global counter synchronization pulse trigger from the first chiplet to the second chiplet one sleep clock cycle prior to the sleep clock synchronization edge of the sleep clock.
17. sending a reset assertion from the first chiplet to the second chiplet; sending a global counter synchronization request from the second chiplet to the first chiplet in response to the reset assertion; Further comprising:
13. The method of claim 12, wherein sending the global counter synchronization pulse trigger from the first chiplet to the second chiplet is in response to the first chiplet receiving the global counter synchronization request from the second chiplet.
18. disabling, by the second chiplet, a global counter stop in the second chiplet global counter subsystem, causing a second chiplet global counter in the second chiplet global counter subsystem to resume counting; enabling, by the second chiplet, a global counter synchronization path in the second chiplet global counter subsystem to enable a first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem; The method of claim 12 further comprising:
19. disabling, by the first chiplet, global counter stopping in a first chiplet global counter subsystem and in the second chiplet global counter subsystem, restarting counting of a first chiplet global counter in the first chiplet global counter subsystem and restarting counting of a second chiplet global counter in the second chiplet global counter subsystem; enabling, by the second chiplet, a global counter synchronization path in the second chiplet global counter subsystem to enable the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem; The method of claim 12 further comprising:
20. A system on chip (SoC), comprising: a first chiplet including a first chiplet global counter subsystem; a second chiplet including a second chiplet global counter subsystem; means for providing a sleep clock to the first chiplet and the second chiplet; means for transmitting a global counter synchronization pulse trigger from the first chiplet to the second chiplet one sleep clock cycle prior to a sleep clock synchronization edge of the sleep clock; means for loading a global counter synchronization value into the second chiplet global counter subsystem at the sleep clock synchronization edge of the sleep clock in response to the second chiplet receiving the global counter synchronization pulse trigger; A SoC comprising:
21. means for reading a first chiplet global counter value from the first chiplet global counter subsystem; means for generating the global counter synchronization value based on the first chiplet global counter value; means for transmitting the global counter synchronization value from the first chiplet to the second chiplet; means for storing the global counter synchronization value in a preload register of the second chiplet, the global counter synchronization value being loaded from the preload register into the second chiplet global counter subsystem; The SoC of claim 20 further comprising:
22. 22. The SoC of claim 21, wherein the first chiplet global counter value is read from the first chiplet global counter subsystem on a rising edge of the sleep clock.
23. 21. The SoC of claim 20, further comprising means for determining the sleep clock synchronization edge of the sleep clock, the sleep clock synchronization edge being a rising edge of the sleep clock.
24. 21. The SoC of claim 20, further comprising: means for transmitting the global counter synchronization pulse trigger from the first chiplet to the second chiplet at a delay time between the sleep clock synchronization edge and one sleep clock cycle before the sleep clock synchronization edge.
25. means for sending a reset assertion from the first chiplet to the second chiplet; means for transmitting a global counter synchronization request from the second chiplet to the first chiplet in response to the reset assertion; Further equipped with the means for transmitting the global counter synchronization pulse trigger from the first chiplet to the second chiplet is in response to the first chiplet receiving the global counter synchronization request from the second chiplet. The SoC of claim 20.
26. means for disabling a global counter stop in the second chiplet global counter subsystem, the means restarting a count of a second chiplet global counter in the second chiplet global counter subsystem; means for enabling a global counter synchronization path in the second chiplet global counter subsystem, the global counter synchronization path enabling the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem; The SoC of claim 20 further comprising:
27. means for disabling global counter stopping in the first chiplet global counter subsystem and in the second chiplet global counter subsystem, the disabling of the global counter stopping causing a first chiplet global counter in the first chiplet global counter subsystem to resume counting and a second chiplet global counter in the second chiplet global counter subsystem to resume counting; means for enabling a global counter synchronization path in the second chiplet global counter subsystem, the global counter synchronization path enabling the first chiplet global counter subsystem to communicate with the second chiplet global counter subsystem; The SoC of claim 20 further comprising:
28. 1. A method for global counter synchronization performed by a first chiplet in a multi-chiplet system, comprising: receiving a sleep clock from a power management integrated circuit (PMIC); sending a global counter synchronization pulse trigger to a second chiplet one sleep clock cycle prior to a sleep clock synchronization edge of the sleep clock; Including, the global counter synchronization pulse trigger is configured to cause the second chiplet to load a global counter synchronization value into a second chiplet global counter subsystem on the sleep clock synchronization edge of the sleep clock.
29. reading a first chiplet global counter value from a first chiplet global counter subsystem; generating the global counter synchronization value based on the first chiplet global counter value; transmitting the global counter synchronization value to the second chiplet; 30. The method of claim 28, further comprising:
30. A system on chip (SoC), comprising: a first chiplet including a first chiplet global counter subsystem; a second chiplet including a second chiplet global counter subsystem; an interface bus communicatively coupling the first chiplet and the second chiplet; a power management integrated circuit (PMIC) configured to provide a sleep clock to the first chiplet and the second chiplet; Equipped with The first chiplet comprises: receiving a sleep clock from the PMIC; sending a global counter synchronization pulse trigger to the second chiplet one sleep clock cycle prior to a sleep clock synchronization edge of the sleep clock, the global counter synchronization pulse trigger causing the second chiplet to load a global counter synchronization value into a second chiplet global counter subsystem at the sleep clock synchronization edge of the sleep clock; The SoC is configured to:
31. The first chiplet comprises: Reading a first chiplet global counter value from the first chiplet global counter subsystem; generating the global counter synchronization value based on the first chiplet global counter value; Transmitting the global counter synchronization value to the second chiplet 31. The SoC of claim 30, further configured as follows:
Citation Information
Patent Citations
Apparatus and methods for estimating a sleep clock frequency
US20070105525A1
Circuits and methods for communicating data between domains during voltage and frequency shifting
US20090189639A1
Synchronous processing system and semiconductor integrated circuit
US20110148850A1
Independent asynchronous framework for embedded subsystems
US20160132097A1
Timebase synchronization
WO2017099861A1
