Interface Connect Disconnect Protocol
20260086975 ยท 2026-03-26
Assignee
Inventors
Cpc classification
G06F1/3287
PHYSICS
G06F15/17
PHYSICS
G06F15/7807
PHYSICS
International classification
Abstract
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for managing an interface between a pair of processing cores of a device that are configured to exchange data. The device is configured to enable or disable one or more of the pair of processing cores. One of the methods includes configuring a connect/disconnect interface implemented as logic circuitry between the pair of processing cores to assume a connected state in which the pair of processing cores and exchange data, and configuring the connect/disconnect interface between the pair of processing cores to assume a disconnected state in which one or more of the processing cores is unable to receive data.
Claims
1. A device comprising: a pair of processing cores that are configured to exchange data, wherein the device is configured to enable or disable one or more of the pair of processing cores; and and logic circuitry implementing a connect/disconnect interface between the pair of processing cores, wherein the connect/disconnect interface between the pair of processing cores is configured to: assume a connected state in which the pair of processing cores exchange data; and a disconnected state in which one or more of the processing cores is unable to receive data.
2. The device of claim 1, wherein the pair of processing cores sharing the connect/disconnect interface are controlled by respective power controllers.
3. The device of claim 1, wherein when in the disconnected state, the connect/disconnect interface can assume a disconnect-with-wakeup mode during which new traffic causes the connect/disconnect interface to assume a connected state.
4. The device of claim 1, wherein when in the disconnected state, the connect/disconnect interface can assume a disconnect-with-terminate mode during which any traffic is terminated by one of the pair of processing cores.
5. The device of claim 1, wherein each processing core is further configured to transmit output signals to another processing device comprising: i) a request to connect, ii) a request to disconnect, and iii) a denial of a disconnection request.
6. The device of claim 5, wherein each processing core is further configured to receive input signals from the other processing device comprising: i) a request to connect, ii) a request to disconnect, and iii) a denial of the disconnection request.
7. The device of claim 6, wherein the output signals and the input signals are implemented using six separate wires between the processing cores.
8. A method performed by a device comprising a pair of processing cores that are configured to exchange data, and wherein the device is configured to enable or disable one or more of the pair of processing cores, and wherein the device comprises logic circuitry implementing a connect/disconnect interface between the pair of processing cores, wherein the method comprises: configuring the connect/disconnect interface between the pair of processing cores to assume a connected state in which the pair of processing cores exchange data, and configuring the connect/disconnect interface between the pair of processing cores to assume a disconnected state in which one or more of the processing cores is unable to receive data.
9. The method of claim 8, wherein the pair of processing cores sharing the connect/disconnect interface are peer processing cores that are both controlled by a power manager.
10. The method of claim 8, wherein when in the disconnected state, the connect/disconnect interface can assume a disconnect-with-wakeup mode during which new traffic causes the connect/disconnect interface to assume a connected state.
11. The method of claim 8, wherein when in the disconnected state, the connect/disconnect interface can assume a disconnect-with-terminate mode during which any traffic is terminated by one of the pair of processing cores.
12. The method of claim 8, wherein each processing core is further configured to transmit output signals to the other processing device comprising: i) a request to connect, ii) a request to disconnect, and iii) a denial of a disconnection request.
13. The method of claim 12, wherein each processing core is further configured to receive input signals from the other processing device comprising: i) a request to connect, ii) a request to disconnect, and iii) a denial of a disconnection request.
14. The method of claim 13, wherein the output signals and the input signals are implemented using six separate wires between the processing cores.
15. A non-transitory, computer-readable medium storing instructions that, when accessed by a pair of processing cores that are configured to exchange data, cause the pair of processing cores to: configure a connect/disconnect interface between the pair of processing cores to assume a connected state in which the pair of processing cores exchange data, and configure the connect/disconnect interface between the pair of processing cores to assume a disconnected state in which one or more of the processing cores is unable to receive data.
16. The non-transitory, computer-readable medium of claim 15, wherein the pair of processing cores sharing the connect/disconnect interface are peer processing cores that are both controlled by a power manager.
17. The non-transitory, computer-readable medium of claim 15, wherein when in the disconnected state, the connect/disconnect interface can assume a disconnect-with-wakeup mode during which new traffic causes the connect/disconnect interface to assume a connected state.
18. The non-transitory, computer-readable medium of claim 15, wherein when in the disconnected state, the interface can assume a disconnect-with-terminate mode during which any traffic is terminated by one of the pair of processing cores.
19. The non-transitory, computer-readable medium of claim 15, wherein each processing core is further configured to transmit output signals to the other processing device comprising: i) a request to connect, ii) a request to disconnect, and iii) a denial of a disconnection request.
20. The non-transitory, computer-readable medium of claim 19, wherein each processing core is further configured to receive input signals from the other processing device comprising: i) a request to connect, ii) a request to disconnect, and iii) a denial of a disconnection request.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0016]
[0017]
[0018]
[0019]
[0020] Like reference numbers and designations in the various drawings indicate like elements.
DETAILED DESCRIPTION
[0021]
[0022] The system also includes a corresponding power controller for each of the plurality of processing cores, e.g., power controllers 130a and 130b. Each power controller may generally include logic and components needed for regulating the power states of the plurality of processing cores. In some implementations, the power controllers switch off or adjust the voltage independently to each processing core by operating independently from one another, while in other implementations, they may both be managed by a common power manager that controls which components of the system 100 receive power and how much power each component receives.
[0023] The plurality of independent processing cores and their corresponding power controllers can be integrated onto a single system on a chip (SOC) 102. The SOC 102 can be an integrated circuit that includes the aforementioned components, and possibly other components of the system, on a single silicon substrate or on multiple interconnected dies, e.g., using silicon interposers, stacked dies, or interconnect bridges.
[0024] The SOC 102 is an example of a device that can be installed on or integrated into any appropriate computing device, which may be referred to as a host device. Because the techniques described in this specification are particularly suited to reducing power consumption and increasing performance for the host device, the SOC 102 can be especially beneficial when installed on mobile host devices that rely on battery power, e.g., a smart phone, a smart watch or another wearable computing device, a tablet computer, or a laptop computer, to name just a few examples.
[0025] It is noted that the number of components of the SOC 102 may vary from implementation to implementation. For example, there may be more processing cores than the number shown in
[0026] The SOC 102 includes logic circuitry that implements a respective interface block for each of the plurality of processing cores that serves as a communication interface between the plurality of processing cores 110a-b and other components in the SOC 102, including power controllers 130a-b. The power controller for each of the plurality of processing cores, e.g., power controller 130a, may be connected to the corresponding processing core, e.g., processing core 110a, as well as to the interface block for the corresponding processing core, e.g., interface block 120a. As shown in
[0027] The interface block of each processing core, e.g., interface block 120a of processing core 110a, may be coupled to another interface block of another processing core, e.g., interface block 120b of processing core 110b, through a programmable interconnect of the SOC 102. The programmable interconnect is coupled to the multiple interface blocks to form a connection so that one or more links or channels may be formed to transmit data packets or other signals between the pair processing cores. The programmable interconnect may be, for example, asynchronous or combinatorial interconnect.
[0028] As shown in
[0029]
[0030] In the example of
[0031] Each processing core transmits three signals (idoreq, idoack, idonak), and receives three signals (idireq, idiack, idinak) for a total of six signals for the handshake protocol. This handshake protocol provide the ability for each processing core to: 1) send request to connect; 2) send request to disconnect; and 3) send denial a disconnection request. Likewise, this handshake protocol also provides the ability for each processing core to: 1) receive request to connect; 2) receive request to disconnect; and 3) receive denial a disconnection request.
[0032] In terms of handshake protocols, the connect/disconnect interface 124 includes two three-signal sub-handshake protocols, which coordinate with one another to achieve connection and disconnection of the interface 200. Specifically, the three signals of idoreq, idiack, and idinak are used for managing, i.e., connecting or disconnecting, the outgoing link of a processing core, and the remaining three signals of idireq, idoack, and idonak are used for managing the incoming link of the processing core.
[0033] Each processing core also transmits a 1-bit idomode signal (received at the other processing core as idimode) which indicates what mode of disconnection is being requested. For example, a low idomode signal indicates a disconnect-with-terminate mode, while a high idomode signal indicates a disconnect-with-wakeup mode.
[0034] These mode signals may not be considered a part of the handshake protocol, but used to determine the mode of operation of the handshake. Merging the incoming and outgoing mode signals enables both processing cores to reach the same disconnected state. The requirements for the mode signal are: 1) when either processing core, or both processing cores, intend to disconnect with terminate, the interface 200 must reach a disconnect-with-terminate mode; and 2) when both processing cores intend to disconnect with wakeup, the interface 200 must reach a disconnect-with-wakeup mode. The mode signals must be stable before performing connect or disconnect handshake. This eliminates any possible race conditions between two processing cores perceiving the interface 200 at different states.
[0035] In this specification, the term wakeup (or enable) will be used to mean supplying an increased amount of power to a particular processing core or other electronic circuitry. The SOC 102 may or may not have been supplying power to a processing component or other circuitry that is being awoken. In other words, a processing core being awoken may or may not have been completely powered down previously. Waking a processing core can result in the processing core performing a boot process and causing instructions and data for the processing core to be loaded into random-access memory. Alternatively or in addition, waking a processing core can include resuming from a previously suspended state. In this specification, the term terminate (or disable) will be used to mean supplying a decreased amount of power to a particular processing core or other electronic circuitry, which may not have been in an activated state previously. Terminating a processing core can result in the processing core performing a shutdown process and causing instructions and data for the processing core to be erased from the random-access memory.
[0036]
[0037] The pair of processing cores are generally capable of providing data processing capabilities and exchanging data thereamong. One or more of the pair of processing cores may be enabled or disabled by the device through the use of power controllers which regulate the power states of the processing cores.
[0038] The connect/disconnect interface between the pair of processing cores assumes a connected state of the interface in which the pair of processing cores and exchange data (310). Step 310 may thus be referred to as a connection handshake protocol. Connected state refers to the state of the interface during which the pair of processing cores can initiate and/or receive traffic through the data interface. An interface in the connected state can transport traffic at any time.
[0039] To transition into the connected state, one processing core generates a connection request to another processing core by way of sending a high idoreq signal through the connect/disconnect interface (that is received at the processing core as a high idireq signal), to which the other processing core may send back a reply acknowledgement (namely a high idoack signal) that is received at the processing core as a high idiack signal.
[0040] The connect/disconnect interface between the pair of processing cores assumes a disconnected state of the interface in which one or more of the processing cores is unable to receive data (320). Step 320 may thus be referred to as a disconnection handshake protocol. Disconnected state refers to the state of the interface during which processing cores must not initiate traffic through the data interface, since the other processing core may not be in an enabled state to receive such traffic. An interface in the disconnected state must not transmit traffic through the data interface.
[0041] To transition into the disconnected state, one processing core generates a disconnection request to another processing core by way of sending a low idoreq signal through the connect/disconnect interface (that is received at the processing core as a low idireq signal), to which the other processing core may send back a reply acknowledgement (namely a low idoack signal) that is received at the processing core as a low idiack signal.
[0042] Unlike a connection request from one processing core to another processing core which cannot be denied since interface connection is a planned event, a disconnection request could be denied by the other processing core. That is, following the receipt of the low idireq signal, the other processing core may send back a negative reply acknowledgement (namely a high idonak signal) that is received at the processing core as a high idinak signal. In such cases, the interface returns to the connected state.
[0043] In the disconnected state, there are two modes: 1) a disconnect-with-wakeup (DSCWK) mode during which new traffic causes the interface to assume a connected state; and 2) a disconnect-with-terminate (DSCGT) mode during which any traffic is terminated by one of the pair of processing cores, e.g., by the initiating processing core. That is, the disconnect-with-wakeup (DSCWK) mode allows for a connection request to be generated based on new traffic targeting the interface, while the disconnect-with-terminate (DSCGT) mode does not allow any traffic to cause the interface to exit the disconnected state and enter the connected state. To indicate what mode of disconnection is being requested, one processing core may additionally send an idomode signal through the connect/disconnect interface (that is received at the other processing core as idimode).
[0044]
[0045] The interface may be in a disconnect-with-terminate (DSCGT) mode 410. A mode transition may occur from the DSCGT mode 410 to a disconnect-with-wakeup (DSCWK) mode 420 when both processing cores have power, clock and are out of reset. This indicates each processing core is ready to participate in the connection handshake.
[0046] While in the DSCWK mode 420, if either processing core detects that is has new traffic targeting the data interface between the pair of processing cores, and subsequently utilizes the connection handshake protocol as described above to generate a connection request to the other processing core which, when accepted by the other processing core, causes the interface to transition to the connected state 430. After this, the pair of processing cores may start to exchange data.
[0047] Later on, when power controller of either processing core detects that the interface has been inactive, e.g., has zero traffic, for a predetermined amount of time, the power controller can utilize the disconnection handshake protocol as described above to generate an opportunistic disconnection request. If the other processing core accepts the disconnection request, the interface transitions from the connected state 430 to the DSCWK state 420.
[0048] Alternatively, if the other processing core send a denial (a negative acknowledgement) of the disconnection request, the interface remains at the connected state 430.
[0049] Further alternatively, when either power controller detects that an interface has been inactive for a predetermined amount of time, or the power controller receives the command for a planned low power state, the power controller can utilize the disconnection handshake protocol as described above to generate a planned disconnection request. If the other processing core accepts the disconnection request, the interface transitions from the connected state 430 to the DSCGT state 410.
[0050] Embodiments of the subject matter and the functional operations described in this specification can be implemented in digital electronic circuitry, in tangibly-embodied computer software or firmware, in computer hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded on a tangible non-transitory storage medium for execution by, or to control the operation of, data processing apparatus. The computer storage medium can be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them. Alternatively or in addition, the program instructions can be encoded on an artificially-generated propagated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode information for transmission to suitable receiver apparatus for execution by a data processing apparatus.
[0051] The term data processing apparatus refers to data processing hardware and encompasses all kinds of apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers. The apparatus can also be, or further include, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). The apparatus can optionally include, in addition to hardware, code that creates an execution environment for computer programs, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.
[0052] A computer program which may also be referred to or described as a program, software, a software application, an app, a module, a software module, a script, or code) can be written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A program may, but need not, correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data, e.g., one or more scripts stored in a markup language document, in a single file dedicated to the program in question, or in multiple coordinated files, e.g., files that store one or more modules, sub-programs, or portions of code. A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a data communication network.
[0053] For a system of one or more computers to be configured to perform particular operations or actions means that the system has installed on it software, firmware, hardware, or a combination of them that in operation cause the system to perform the operations or actions. For one or more computer programs to be configured to perform particular operations or actions means that the one or more programs include instructions that, when executed by data processing apparatus, cause the apparatus to perform the operations or actions.
[0054] As used in this specification, an engine, or software engine, refers to a hardware-implemented or software implemented input/output system that provides an output that is different from the input. An engine can be implemented in dedicated digital circuitry or as computer-readable instructions to be executed by a computing device. Each engine can be implemented within any appropriate type of computing device, e.g., servers, mobile phones, tablet computers, notebook computers, music players, e-book readers, laptop or desktop computers, PDAs, smart phones, or other stationary or portable devices, that includes one or more processing modules and computer-readable media. Additionally, two or more of the engines may be implemented on the same computing device, or on different computing devices.
[0055] The processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by special purpose logic circuitry, e.g., an FPGA or an ASIC, or by a combination of special purpose logic circuitry and one or more programmed computers.
[0056] Computers suitable for the execution of a computer program can be based on general or special purpose microprocessors or both, or any other kind of central processing unit. Generally, a central processing unit will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a central processing unit for performing or executing instructions and one or more memory devices for storing instructions and data. The central processing unit and the memory can be supplemented by, or incorporated in, special purpose logic circuitry. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. However, a computer need not have such devices. Moreover, a computer can be embedded in another device, e.g., a mobile telephone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a Global Positioning System (GPS) receiver, or a portable storage device, e.g., a universal serial bus (USB) flash drive, to name just a few.
[0057] Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks.
[0058] To provide for interaction with a user, embodiments of the subject matter described in this specification can be implemented on a host device having a display device, e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user and a keyboard and pointing device, e.g., a mouse, trackball, or a presence sensitive display or other surface by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input. In addition, a computer can interact with a user by sending documents to and receiving documents from a device that is used by the user; for example, by sending web pages to a web browser on a user's device in response to requests received from the web browser. Also, a computer can interact with a user by sending text messages or other forms of message to a personal device, e.g., a smartphone, running a messaging application, and receiving responsive messages from the user in return.
[0059] While this specification contains many specific implementation details, these should not be construed as limitations on the scope of any invention or on the scope of what may be claimed, but rather as descriptions of features that may be specific to particular embodiments of particular inventions. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially be claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
[0060] Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system modules and components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
[0061] Particular embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. For example, the actions recited in the claims can be performed in a different order and still achieve desirable results. As one example, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In certain some cases, multitasking and parallel processing may be advantageous.