Interface for multi-processor cross-triggering and interrupting
By using memory-mapped registers and logic circuitry to encode event signals as link transactions in multiprocessor systems, the complexity of event request and interrupt handling in multiprocessor systems is solved, enabling flexible hardware interfaces and efficient event propagation.
Patent Information
- Application Number
- CN202610680101.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2026-02-27
- Filing Date
- 2026-05-18
- Publication Date
- 2026-11-27
AI Technical Summary
In the prior art, event requests and interrupt handling between multiprocessor systems require dedicated I/O ports or hardwired connections, which limits system complexity and flexibility.
By using memory-mapped registers and logic circuitry between subsystems, encoding and decoding event signals as link transactions, and transmitting them via communication links, a software-agnostic hardware interface is achieved, avoiding dedicated I/O paths.
It enables flexibility and scalability in event request and interrupt handling between multiprocessor systems, reduces the complexity of hardware connections, and improves system scalability and efficiency.
Smart Images

Figure CN123178333A_ABST
Abstract
Description
Cross-references to related applications
[0001] This application claims priority to U.S. Provisional Patent Application No. 63 / 812,283, filed May 27, 2025, entitled “Cross-CORE TRIGGER INTERRUPT,” which is hereby incorporated herein by reference in its entirety. Technical Field
[0002] This specification relates to computing systems, and more specifically, to multiprocessor event request delivery interfaces. Background Technology
[0003] Various systems comprise subsystems on multiple integrated circuits, or multiple subsystems within a single integrated circuit, which can communicate with each other in various situations. For example, certain events or debugging routines may involve cross-triggered events between processors in different subsystems. For instance, a processor stopping in one subsystem may also trigger a processor in another subsystem to stop. In another instance, a processor in one subsystem may handle peripheral interrupts from a processor in another subsystem. Summary of the Invention
[0004] According to one example, a method includes: receiving a link transaction at a subsystem via a communication link, the link transaction including a Message Signaling Interruption (MSI) message; decoding the link transaction using a decoding circuitry of the subsystem to extract the MSI message and routing information for the MSI message; providing the MSI message to a logic circuitry of the subsystem based on the routing information; generating an event signal from the MSI message using the logic circuitry, the event signal indicating an action to be performed by the subsystem, wherein generating the event signal from the MSI message includes the logic circuitry accessing a set of memory-mapped registers of the subsystem, the set of memory-mapped registers containing MSI decoding information for the event signal; and performing the action indicated by the event signal at the subsystem.
[0005] According to another example, an integrated circuit includes: a communication port; a set of memory-mapped registers; a logic circuit system configured to access the set of memory-mapped registers and, based on receiving a first event signal, construct a first Message Signal Interruption (MSI) message based on information read from the set of memory-mapped registers; and an encoding / decoding circuit system coupled to the logic circuit system and the communication port, the encoding / decoding circuit system being configured to encode the first MSI message based on a link protocol to generate a first link signal at the communication port, and to decode a second link signal received via the communication port to generate a second MSI message. In this example, the logic circuit system is further configured to generate a second event signal based on the second MSI message and additional information read from the set of memory-mapped registers.
[0006] According to another example, a system includes a first subsystem having a first communication port and a first interface circuit system coupled to the first communication port. The first interface circuit system includes a first set of memory-mapped registers and is configured to construct a Message Signal Interruption (MSI) message based on information read from the first set of memory-mapped registers based on a received event signal, and to encode the MSI message based on a link protocol to generate a link signal at the first communication port. In this example, the system further includes a communication link coupled to the first communication port, and a second subsystem having a processor, a second communication port coupled to the communication link, and a second interface circuit system coupled to the second communication port and the processor. The processor is configured to perform an action based on the event signal. In this example, the first subsystem is configured to transmit the link signal to the second subsystem via the communication link, and the second interface circuit system includes a second set of memory-mapped registers and is configured to decode the link signal to generate an MSI message, and to generate an event signal based on the generation of the MSI message and information read from the second set of memory-mapped registers. Attached Figure Description
[0008] Figure 1 It is a block diagram of a system configured to implement an interface scheme based on an instance.
[0009] Figure 2A This is based on the example shown. Figure 1 A block diagram of the interface circuit system.
[0010] Figure 2B This is shown according to another example. Figure 1 A block diagram of the interface circuit system.
[0011] Figure 3 This is based on the example shown. Figure 1-2BA block diagram of a portion of the interface circuit system.
[0012] Figure 4 This is a block diagram of a system configured to implement an event request delivery interface based on an instance.
[0013] Figure 5 It is a block diagram of a system configured to implement an event request delivery interface based on another instance.
[0014] Figure 6A This is a flowchart of the communication method based on the instance.
[0015] Figure 6B This is a flowchart of the method for delivering event requests based on the instance.
[0016] Figure 7A This is a block diagram illustrating a circuit system that can be used to implement the cross-triggered method, based on an example.
[0017] Figure 7B It depends on the instance's availability. Figure 7A The flowchart illustrates the cross-triggered method implemented in the circuit system.
[0018] Figure 8A This is a block diagram of a circuit system, illustrated by example, that can be used to implement a method for transmitting pulse-type interrupts between systems (or subsystems).
[0019] Figure 8B It depends on the instance's availability. Figure 8A The flowchart illustrates the method for implementing a pulse-type interrupt in a circuit system.
[0020] Figure 9A This is a block diagram of a circuit system, illustrated by example, that can be used to implement a method for transmitting level-type interrupts between systems (or subsystems).
[0021] Figure 9B It depends on the instance's availability. Figure 9A The flowchart illustrates the method for implementing a level-type interrupt in a circuit system. Detailed Implementation
[0022] Techniques are described for providing a software-agnostic interface for transmitting event requests (with or without event confirmation) between multiple processors. While the techniques can be advantageously applied to any number of applications, in some instances, they can be implemented to provide a hardware-based messaging interface between multiple subsystems to allow inter-processor triggering for in-band interrupts, debugging, and / or other purposes. In some such instances, the techniques can provide a hardware interface that encodes event signals representing any of a wide variety of cross-triggered, interrupt, and / or other events into link transactions that can be transmitted across communication links coupling one subsystem to another, thereby avoiding the need for dedicated input / output (I / O) ports or other hardwired connections between subsystems. In some instances, the techniques can be implemented in hardware using memory-mapped registers and logic circuitry to provide an efficient interface that does not require software or firmware overhead to handle message signaling. The techniques can also be implemented as a method for transmitting event requests (and optional event confirmation) between subsystems using link transactions. An example method of this kind includes receiving a link transaction containing a Message Signaled Interruption (MSI) message via a communication link at a subsystem, and decoding the link transaction using the subsystem's decoding circuitry to extract the MSI message and routing information for the MSI message. The example method further includes a logic circuitry that provides the MSI message to the subsystem based on the routing information, and using the logic circuitry to generate an event signal from the MSI message, the event signal indicating an action to be performed by the subsystem. Generating the event signal from the MSI message may include the logic circuitry accessing a set of memory-mapped registers of the subsystem, the set of memory-mapped registers containing the MSI decoding information for the event signal. The example method further includes performing the action indicated by the event signal at the subsystem.
[0023] General Overview
[0024] Inter-processor event request signaling is a technique that allows multiple subsystems within one or more integrated packages to interact and communicate with each other. For example, an event signal representing an interrupt, cross-triggered event, or other event request from one subsystem can trigger an action in another subsystem. For instance, as described above, a processor stopping in one subsystem can trigger a processor in another subsystem to also stop via a cross-triggered event. Cross-triggered events can also allow a processor in one subsystem to handle peripheral interrupts from another subsystem. This can be particularly useful in multiprocessor systems, where debug events from a processor may affect debug sessions of other processors, allowing a single debugger command to control multiple processors. For example, event request signaling can also allow synchronization between multiple processors in a field-programmable gate array (FPGA) or other integrated system.
[0025] The examples described herein provide a scalable MSI scheme that encodes event request and / or event confirmation signals from any of multiple hardware lines (including, but not limited to, interrupt and / or cross-triggered lines) into link transactions, which can be transmitted from one subsystem to another via a communication link and decoded by the receiving subsystem. The decoder at the receiving subsystem can then initiate appropriate action based on the decoded event signals. Using the techniques described herein, hardware event signal lines (e.g., interrupt lines or cross-triggered lines) can be mapped between subsystems by encoding identification information into link transactions, thereby avoiding the need for multiple I / O paths connecting subsystems. Examples of MSI schemes are scalable because additional hardware event lines can be added by updating the encoded information rather than by supplying potentially infeasible or impractical additional I / O paths.
[0026] According to one example, a method that can be implemented by a subsystem includes receiving a link transaction containing an MSI message via a communication link at the subsystem, and decoding the link transaction using the subsystem's decoding circuitry to extract the MSI message and routing information for the MSI message. The method may further include directing the MSI message to certain logic circuitry of the subsystem based on the routing information, and using the logic circuitry to generate (e.g., reconstruct) an event signal from the MSI message, the event signal indicating an action to be performed by the subsystem. In some instances, generating the event signal from the MSI message includes the logic circuitry accessing a set of memory-mapped registers of the subsystem, the set of memory-mapped registers containing MSI decoding information for the event signal. The method may further include the subsystem performing the action indicated by the event signal. Therefore, in some instances, an integrated circuit includes a communication port, a set of memory-mapped registers, and logic circuitry configured to access the set of memory-mapped registers and construct a first MSI message based on information read from the set of memory-mapped registers upon receiving a first event signal. The integrated circuit may further include an encoding / decoding circuitry coupled to the logic circuitry and the communication port. The encoding / decoding circuitry is configured to encode a first MSI message based on a link protocol to generate a first link signal at the communication port, and to decode a second link signal received via the communication port to generate a second MSI message. In some instances, the logic circuitry is further configured to generate a second event signal based on the second MSI message and additional information read from the set of memory-mapped registers.
[0027] These and other features are described in more detail below.
[0028] Example System Architecture
[0029] Figure 1This is a block diagram illustrating system 100 according to an example. In the illustrated example, system 100 includes a first subsystem 102A and a second subsystem 102B. Each of the first subsystem 102A and the second subsystem 102B includes corresponding interface circuitry systems 104A, 104B and corresponding processors 106A, 106B. The first subsystem 102A and the second subsystem 102B are coupled together via a communication link 108 through their respective interface circuitry systems 104A, 104B. In some examples, the first subsystem 102A and the second subsystem 102B are subsystems (or modules) as part of the same integrated circuit (IC; also called a die). In some such examples, the communication link 108 may implement an internal bus protocol or other internal interface protocols. In some examples, subsystems 102A and 102B are implemented on individual ICs / dies (also called “chiplets”) within the same package (e.g., a chip or other device). In some such instances, communication link 108 may be implemented as a Universal Chipset Interconnect High Speed (UCIe) link, a point-to-point processor interconnect, an AMD™ Infinity Fabric connection, an Advanced Interface Bus (AIB) connection, a High Bandwidth Interface (HBI) connection, or other die-to-die communication protocols. In other instances, subsystems 102A and 102B may be implemented on ICs / dies in different packages. In some such instances, communication link 108 may represent an Ethernet connection, a Peripheral Component Interconnect High Speed (PCIe) link, a Universal Input / Output Interface (UPIC), a Universal Serial Bus (USB) connection, an Asynchronous Serial Communication (A2C) link, an Interconnect Integrated Circuit (I2C) link, or other die-to-die communication protocols. Therefore, subsystems 102A and 102B may be subsystems on the same IC, or subsystems on different ICs in the same package or as part of different packages. Communication link 108 may be any suitable link implementing any suitable communication protocol, optionally in part depending on the implementation type of subsystems 102A and 102B.
[0030] Interface circuit system 104A includes a first set of memory-mapped registers (MMRs) 110A, and similarly, interface circuit system 104B includes a second set of MMRs 110B. Processor 106A is coupled to interface circuit system 104A and the first set of memory-mapped registers 110A. Processor 106A of first subsystem 102A is coupled to one or more first devices 112A. Similarly, processor 106B of second subsystem 102B is coupled to interface circuit system 104B, the second set of MMRs 110B, and one or more devices 112B. Devices 112A and 112B may be peripheral devices and may be part of a corresponding subsystem (e.g., as shown for device 112A), or external to and coupled to the corresponding subsystem (e.g., as shown for device 112B). The first subsystem 102A and the second subsystem 102B may further include at least one communication port 114A, 114B, respectively, which is coupled to the communication link 108. In some instances, subsystems 102 are referred to as host devices because they host corresponding examples of interface circuit systems 104A, 104B.
[0031] Figure 2A and 2B Examples of interface circuit systems 104A and 104B are shown. As described above, there are numerous examples where it is advantageous to transmit event requests and optionally event confirmations between multiple subsystems. According to the techniques described herein, interface circuit systems 104A and 104B can be configured to provide a hardware interface and MSI scheme for transmitting event requests using communication link 108, thereby avoiding the need for multiple (potentially many) I / O paths. Figure 2A An example is shown in which a first subsystem 102A (including a first interface circuit system 104A) acts as a target device, which generates a plurality of event signals 212 (e.g., indicating an interrupt, cross-triggered or other event request) to be executed by a second subsystem 102B (acting as an initiating device). Figure 2B An example is shown in which the second subsystem 102B is the target device and the first subsystem 102A is the initiating device.
[0032] refer to Figure 2AThe first interface circuit system 104A and the second interface circuit system 104B include multiple sets of logic circuit systems 202 and memory-mapped registers 110. In some instances, individual sets or combinations of logic circuit systems 202 and memory-mapped registers 110 may be provided for each corresponding individual event to be processed by the interface circuit systems 104A and 104B. In other instances, multiple events may be processed by a set of logic circuit systems 202 and memory-mapped registers 110. In the example shown, the first interface circuit system 104A includes a first logic circuit system 202i coupled to at least one first memory-mapped register (MMR) 110i, and a second logic circuit system 202ii coupled to at least one second MMR 110ii. Although only two examples of logic circuit systems 202 and MMR 110 are shown, it should be understood that any number of sets of logic circuit systems 202 and MMR 110 can be used. MMR 110i and 110ii (and the interface circuit system 104A in Figure 2A and 2B Any additional MMR 110 not explicitly shown in the text (combined) together correspond to Figure 1 MMR 110A. Similarly, in this example, the second interface circuit system 104A includes a third logic circuit system 202j coupled to at least one third MMR 110j, and a fourth logic circuit system 202jj coupled to at least one fourth MMR 110jj. As in the case of interface circuit system 104A, although only two examples of logic circuit systems 202 and MMR 110 are shown for interface circuit system 104B, it should be understood that any number of groups of logic circuit systems 202 and MMR 110 can be used. MMR 110j and 110jj (and the MMR 110jj of interface circuit system 104B) Figure 2A and 2B Any additional MMR 110 not explicitly shown in the text (combined) together correspond to Figure 1 The MMR 110B. The first interface circuit system 104A further includes a multiplexer 204A and an encoding / decoding circuit system 206A, which includes an encoder (also called an encoding circuit system) 208A. Similarly, the second interface circuit system 104B includes a multiplexer 204B and an encoding / decoding circuit system 206B, which includes a decoder (also called a decoding circuit system) 210B. Multiplexers 204A and 204B are coupled to encoding / decoding circuit systems 206A and 206B, respectively. Encoder 208A and decoder 210B are coupled to communication link 208 (e.g., via...). Figure 1(One or more communication ports 114A, 114B). Although referred to (and shown) herein as multiplexers 204A, 204B, these devices can also perform multiplexing operations and therefore can act as multiplexers or multiplexers depending on the direction of the signal flow.
[0033] According to some instances, logic circuit system 202i detects an event signal 212i (target event signal) representing a specific event y (e.g., an interrupt or other cross-triggered event). Event signal 212i may be received on a corresponding event signal line, which includes one or more physical / hardwired signal lines (e.g., wires, traces, etc.) in the first subsystem 102A. The first logic circuit system 202i may access (e.g., read) a first MMR 110i to obtain information for converting event signal 212i into an MSI message (MSI y) representing event y, as further described below. Similarly, a second logic circuit system 202ii may access a second MMR 110ii to obtain information for converting event signal 212ii into another MSI message (MSI y+n) representing another event y+n (where n is any integer greater than or equal to 1). As described above, in some instances, the first interface circuit system 104A may further include an additional logic circuit system 202 coupled to one or more additional MMRs 110. Figure 2A (Not explicitly shown in the text) to generate additional MSI messages based on additional corresponding event signals. Therefore, although in Figure 2A Only two events (y and y+n) are shown in the figure, but in other instances, the first interface circuit system 104A may be configured to generate MSI messages corresponding to a number of interrupts and / or other cross-triggered events generated in the first subsystem 102A.
[0034] Multiplexer 204A can direct MSI messages generated by logic circuitry system 202 to encoder / decoder circuitry system 206A. Encoder / decoder circuitry system 206A can be implemented using logic circuitry system configured to read data from and / or write data to MMR 110. In some instances, encoder 208A can encode individual MSI messages received via multiplexer 204A based on the link protocol used for communication link 108. For example, encoder 208A can encode individual MSI messages based on a single-publishing link protocol such as Virtual Bus Protocol (VBUSP). As mentioned above, in some instances, communication link 108 is a UCIe or PCIe link, either of which may employ the BVBUSP protocol. However, in other instances, communication link 108 can be any other type of link configured to use the BVBUSP protocol or any other link protocol used to propagate link transactions from one subsystem to another. Therefore, encoder 208A encodes the MSI message into a link transaction, which can then be transmitted from the first subsystem 102A to the second subsystem 102B via communication link 108. Encoder 208A may contain routing information for the MSI message to direct it to a specific MMR and / or logic circuit system 202 in receiving subsystem 102B, as further described below. In some instances, the link transaction generated by encoder 208A may be interleaved with or otherwise combined with any other link traffic that may be transmitted between the first subsystem 102A and the second subsystem 102B and / or between other subsystems connected to communication link 108.
[0035] continue Figure 2A In one example, the decoder 210B of the second interface circuit system 104B can decode incoming link transactions to extract the MSI messages encoded by the encoder 208A and obtain routing information. In some instances, when the encoder 208A encodes the MSI message into a link transaction, it may include identification information identifying the intended initiating device (e.g., the second subsystem 102B). Therefore, in some instances, the decoder 210B may only decode those link transactions intended for the second subsystem 102B. In this way, MSI messages (encoded as link transactions) representing events of multiple different subsystems can be transmitted through the common communication link 108 linking multiple subsystems. Individual decoded MSI messages from the decoder 210B can be passed via the multiplexer 204B to the corresponding logic circuit system 202 of the second interface circuit system 104B, which can be identified by the routing information obtained by the decoder 210B. For example, as Figure 2AAs shown, a first MSI message (MSI y) representing event y can be passed to the third logic circuit system 202j, and a second MSI message (MSI y+n) representing event y+n can be passed to the fourth logic circuit system 202jj. The third logic circuit system 202j can generate a first event signal 212j (initiator event signal) from the first MSI message. To generate the first event signal 212j, the third logic circuit system 202j can read MSI decoding information from at least one third MMR 110i. Similarly, the fourth logic circuit system 202jj can generate a second event signal 212jj from the second MSI message by reading MSI decoding information from at least one fourth MMR 110jj. The first event signal 212j can represent event y, indicating a specific action (e.g., a specific interrupt or cross-triggered event) to be performed by the second subsystem 102B. Similarly, the second event signal 212jj can represent event y+n, indicating another specific action to be performed by the second subsystem 102B. Therefore, the first event signal 212j and the second event signal 212jj can be reproduced or reconstructed from the event signals 212i and 212ii generated at the first subsystem 102A, respectively.
[0036] Using interface circuit systems 104A and 104B, event signals 212i and 212ii, representing events y and y+n respectively, generated at the first subsystem 102A, can be encoded, transmitted across communication link 108, and decoded at the second subsystem 102B. Events y and y+n can then be initiated by the second subsystem 102B. In this way, the first subsystem 102A (target device) can cross-trigger components of the second subsystem 102B (initiating device) without requiring a dedicated I / O path for a specific cross-trigger line (e.g., a hardware line in the first subsystem 102A or the second subsystem 102B that signals events y, y+n, etc.). Similarly, the processor 106 of the first subsystem 102A can trigger an interrupt at a component of the second subsystem 102B without requiring a dedicated interrupt line between the two subsystems.
[0037] Figure 2BAn example of a second subsystem 102B is shown, which acts as the target device for an event to be initiated by the first subsystem 102A (initiating device in this example). In this example, a third logic circuit system 202j can convert an event signal representing an event x (e.g., an interrupt, cross-triggered, or other event) into an MSI message MSI x, which is passed via multiplexer 204B to encoder / decoder circuit system 206B, where encoder 208B can encode the MSI message MSI x into a link transaction, which can be transmitted via communication link 108 to encoder / decoder circuit system 206A of the first subsystem 102A. Similarly, an event signal representing an event x+m (where m is any integer greater than or equal to 1) can be converted into an MSI message MSI x+m by a fourth logic circuit system 202jj and encoded into a link transaction by encoder 208B. As mentioned above, in order to convert the event signal into the corresponding MSI messages MSI x and MSI x+m, the third logic circuit system 202j and the fourth logic circuit system 202jj can respectively access the encoded information stored in the third MMR 110j and the fourth MMR 110jj.
[0038] At the first subsystem 102A, the decoder 210A of the encoding / decoding circuitry 206A can decode the MSI messages MSI x and MSI x+m, as well as the associated routing information from the link transaction, as described above. The first logic circuitry 202i can convert the MSI message MSI x into an event signal indicating an interrupt event x by accessing the MSI decoding information stored in the first MMR 110i, as described above. Similarly, the second logic circuitry 202ii can generate an event signal indicating an interrupt event x+m by accessing the MSI decoding information stored in the second MMR 110ii. The first subsystem 102A can initiate events x and x+m. In some instances, to initiate events x and x+m, the event signals can trigger a hardware interrupt or cross-triggered line corresponding to a specific event.
[0039] Turn now Figure 3 The interface circuit system 104 is shown (e.g., as can be used in implementation). Figure 1-2B Block diagrams of examples of interface circuit systems 104A and 104B are provided. As described above, interface circuit system 104 can be coupled to multiple hardware event request / confirmation lines 300, on which numerous interrupts, cross-triggers, or other events can be triggered. As described above, interface circuit system 104 includes an encoder 208 and a decoder 210, the encoder and the decoder being used to encode and decode link transactions transmitted through communication link 108, respectively. Although Figure 3Not shown, but encoder 208 and decoder 210 may be coupled to multiplexer 204 (e.g., multiplexer 204A or 204B), as described above. Interface circuitry 104 may include conversion circuitry 302 for converting target event signals into MSI messages and MSI messages into initiating event signals, as described above. For example, circuitry 302 may include multiple event interfaces 304, where individual event interfaces are coupled to individual hardware lines 300. Figure 3 In the example shown, circuit system 302 includes four types of event interfaces 304: M event interfaces for cross-triggered events where the host device (e.g., subsystem 102A or 102B) is the target device (cross-triggered target); M event interfaces for cross-triggered events where the host device is the initiating device (cross-triggered initiator); N event interfaces for interrupts where the host device 102 is the target device (interrupt target); and N event interfaces for interrupts where the host device is the initiating device (interrupt initiator). M and N are integers that may be the same or different. Therefore, via the logic circuit system 202 of the corresponding event interface 304, circuit system 302 can receive and provide M cross-triggered event signals 306 (as a target, in this case, event signal 306 is input to the logic circuit system 202 of the corresponding event interface 304, or as an initiator, in this case, event signal 306 is output from the logic circuit system 202 of the corresponding event interface 304) and N interrupt event signals 308 (also as a target or initiator). Certain events, such as some cross-triggered events, may involve confirming that the device has received and / or executed a confirmation signal for a specific cross-triggered event. Therefore, as... Figure 3 As shown, circuit system 302 can further receive and provide M confirmation signals 310. Event interface 304 can provide an event mapping matrix with indexes (e.g., bit fields) for encoding and decoding various events supported by the system (e.g., interrupts and / or cross-triggers).
[0040] As described above, in some instances, circuit system 302 includes N or M individual event interfaces 304 for each type of event (e.g., cross-triggered events or interrupt events). According to some instances, individual event interfaces 304 may include logic circuit system 202, at least one MMR 110, and a timeout (TO) counter 312. Depending on the type of event interface 304 (e.g., whether it is a cross-triggered target or initiator, or an interrupt target or initiator), logic circuit system 202 may receive or provide corresponding event signals 306, 308, 310. In some instances, TO counter 312 is a 10-bit counter; however, in other instances, TO counter 312 may contain other numbers of bits. Switching circuit system 302 may receive a clock signal 314 that provides a timing clock for the operation of TO counter 312. In some instances, clock signal 314 is a system clock that can be used for various other functions within the host device. In some instances, TO counter 312 may operate at a frequency lower than the frequency of clock signal 314. Therefore, the conversion circuit system 302 may include a frequency divider 316 that divides or down-converts the frequency of the clock signal 314. In one example, the frequency divider is an octet circuit, causing the TO counter 312 to operate on a clock signal 314 divided by eight. However, in other examples, the frequency divider 316 may apply different conversion ratios to the clock signal 314. In some examples, incoming event signals on hardware line 300 (e.g., inputs to interface circuit system 104) may originate from various interrupt sources within the host device, and some or all of these interrupt sources may be asynchronous with the clock signal 314. Therefore, synchronization within the interface circuit system 104 can be achieved using inter-packet gaps between the reception of consecutive event signals (e.g., certain idle cycles counted using clock signal 314).
[0041] In some instances, each event interface 304 includes two dedicated MMRs 110 and one dedicated timeout (TO) counter 312. However, in other instances, an individual event interface 304 may include more or fewer than two MMRs 110. In some instances, the MMR 110 for an individual event interface 304 may include an event control register and an event status register. Figure 3(Not shown in the diagram). The event control register and the event status register may each contain multiple bit fields, any one of which may contain one or more information bits. Some of these bit fields may be set by software and / or firmware during system initialization and may be read-only by the logic circuit system 202 after being set. Other bit fields may be written to by the logic circuit system 202 and may be used to induce certain actions, as further described below. In one example, the multiple bit fields for the event control register include the following bit fields: event type, destination device identifier (ID), destination event ID, enable / disable, default line value, and timeout cycle count threshold. In one example, the event type bit field contains one or more bits describing the type of event (e.g., interrupt, cross-triggered, or other event) processed by the corresponding event interface 304. For example, an interrupt may be a level interrupt (where the voltage level on the corresponding hardware line is correlated) or a pulse interrupt. The destination device ID and destination event ID bit fields may be used to properly route event confirmation signals. Therefore, for the event interface 304 corresponding to the event request initiator, the destination device ID bit field can identify the target device sending the event request, enabling the initiating device to send the confirmation signal 310 back to the correct target device, as further described below. Similarly, the destination event ID field can identify the event for which the confirmation signal 310 is to be sent. The enable / disable bit field can specify whether the corresponding event interface 304 is configured (enabled) to receive and process event signals and / or link transactions. The default line value bit field can be used for level-type interrupts or other events in which voltage (or current) levels are associated. For the target device, the default line value bit field can indicate the default inactive receive line value of the corresponding hardware line 300. For the initiating device, the default line value bit field can indicate the default inactive drive line value of the corresponding hardware line 300. The timeout cycle count threshold bit field can specify the programmable number of clock cycles corresponding to the timeout period of the corresponding event interface 304. In some instances, the TO counter 312 can count up to a threshold specified by the timeout cycle count threshold bit field, and signal a timeout if no expected event signal (e.g., confirmation signal 310) is received within the time period.
[0042] In one instance, multiple bit fields for the event status register include the following bit fields: source event ID, source device ID, interface type, target or initiator status, timeout status, MSI RX (receive) pending, and MSI TX (transmit) pending. In one instance, the source event ID bit field includes one or more bits describing the event processed by the corresponding event interface 304. In some instances, the information captured in the source event ID bit field can be used by the event initiator to send a confirmation signal 310 back to the target device, similar to the destination event ID bit field in the event control register. In some instances, if a fault is detected in response to the initiating device performing an action indicated by a specific event, the information captured in the source event ID bit field can be used by software for debugging purposes. Similarly, the source device ID bit field identifies the target device that generated the event signal, which can be used to transmit the confirmation signal 310 and for debugging purposes. The interface type bit field may include one or more bits identifying the type of event processed by the corresponding event interface, such as a level interrupt, pulse interrupt, or cross-triggered event. The target or initiator status bit field may include one or more bits indicating whether the corresponding event interface 304 is a host device acting as a target or initiator device. The timeout status bit field may include one or more bits indicating whether a timeout threshold has been met, as further described below. In some instances, for the event initiator, the MSI RX pending bit field may include one or more bits set when a link transaction is sent for transmission via communication link 108, and may act as a trigger for the decoder 210 of the appropriate initiator host device 102 to decode the link transaction and begin execution of the corresponding event (e.g., cross-triggered, interrupted, or other event request described by an event signal encoded as a bus message) upon receipt of the link transaction. For the event request target, bits of the MSI RX pending bit field may be set when the corresponding event interface 304 detects a link transaction with destination event ID data that matches the event target's event ID. In some instances, for cross-triggered and interrupt targets, the MSI TX pending bit field may contain one or more bits set when the corresponding event interface 304 detects a cross-triggered or interrupt event signal 306 or 308 (e.g., using edge detection or another signal detection mechanism).
[0043] continue Figure 3For example, interface circuitry 104 may include binding logic 318. In some instances, binding logic 318 includes one or more programmable registers that identify various host devices 102 coupled together via communication link 108 and capable of exchanging event requests and optional event confirmations with each other. In systems using interface circuitry 104 as described herein, it may be necessary to identify the target host device from which a particular link transaction (and therefore event signal 212) originates and the initiating host device to which the link transaction is intended. Therefore, for each host device 102, the memory mapping of memory mapping register 110 may include a local definition of that host device as well as memory mappings of other host devices in the system. For example, the memory mapping may specify certain memory addresses corresponding to memory mapping register 110 for each host device. For flexibility, such as to change the memory addresses mapped to each host device 102 and / or add or subtract host devices 102 from the system, this memory mapping information may be stored in the programmable registers of binding logic 318. In some instances, the binding logic 318 for any given host device 102 receives input information 320 indicating the identifier of the specified host device 102.
[0044] refer to Figure 4 An example of a system 400 comprising four subsystems (host devices) 102A-D is shown, the subsystems being configured to transmit event requests to each other, with or without confirmation. Figure 4 Showing with Figure 1 , 2A Similar to the instance shown in 2B, but containing four host devices 102 instead of two. Host devices 102A-D may each contain, as follows: Figure 1 , 2A The circuit system shown in 2B. Therefore, in this example, each subsystem 102A-D contains a corresponding event processing circuit system 402A-D. In some instances, the event processing circuit system 402 includes Figure 3Various hardware lines 300 request (represented by solid arrows between event processing circuitry system 402 and conversion circuitry system 302) or confirm (represented by dashed arrows between event processing circuitry system 402 and conversion circuitry system 302) different events. Each of subsystems 102A-D may further include a link interface circuitry system 404 that couples encoding / decoding circuitry system 206 to communication link 108. Any of subsystems 102A-D may be coupled to any one or more of the other subsystems 102A-D via shared communication link 108. In some instances, one of the subsystems 102A-D may be represented as a primary subsystem, whose execution software sets the aforementioned destination event ID, destination device ID, and enable / disable bit fields in MMR 110 for each target event interface 304. Thus, events can be mapped in MMR 110 such that a specific event request signaled on a particular target subsystem is mapped to a specific event to be executed on a particular initiating subsystem. For example, the software configuration can set the following event mappings for system 400:
[0045] Subsystem 102A: Events 0 and 1, going to / from subsystem 102B: Events 0 and 1;
[0046] Subsystem 102A: Events 2 and 3, to / from subsystem 102C: Events 0 and 1;
[0047] Subsystem 102A: Events 4 and 5, to / from subsystem 102D: Events 0 and 1;
[0048] Subsystem 102B: Events 2 and 3, to / from subsystem 102C: Events 2 and 3;
[0049] Subsystem 102B: Events 4 and 5, to / from subsystem 102D: Events 2 and 3;
[0050] Subsystem 102C: Events 4 and 5, To / From Subsystem 102D: Events 4 and 5;
[0051] In some instances, once the initial software configuration has been set for a given system, the transmission of event requests (and optional event confirmations) between subsystems 102A-D can be implemented entirely through hardware (using the interface circuitry 104 described above), thereby avoiding the complexity and / or latency associated with software-based schemes.
[0052] refer to Figure 5 An example of system 500 is shown, which is configured to implement the techniques described herein to allow interrupts to be routed from one subsystem 102 to another subsystem. Figure 5 It shows Figure 4 The example of system 400 shown herein relates to interrupts; however, in other examples, the same or similar system settings may be used to implement hardware-based delivery of other event requests (with or without confirmation). In the example shown, system 500 includes four host devices, namely subsystems 102A-D. As shown, using the techniques described herein, system 500 can handle the delivery of both level-type and pulse-type interrupts. As described above, using event interface 304, conversion logic 302 in each subsystem 102A-D can handle multiple interrupt input and output signals 308, any one of which may be a level-type or pulse-type interrupt. Conversion circuitry system 302 can encode interrupt inputs received via hardware line 300 into link transactions for transmission to other subsystems via communication link 108, and decode link transactions received from other subsystems into interrupt outputs that can be provided on the corresponding hardware line 300. In some instances, interrupt input and output signals 308 may be connected to individual IP blocks 504 or local interrupt routers 506 in each corresponding subsystem 102A-D, which are connected to hardware line 300. (See above reference) Figure 4 As described, in some instances, one of the subsystems 102A-D may be represented as the primary subsystem, whose execution software sets the aforementioned destination event ID, destination device ID, and enable / disable and interrupt type bit fields in the MMR 110 for each interrupt target event interface 304. As described above, this setting allows different interrupt events to be mapped from one subsystem 102A-D to another subsystem. By providing a mechanism for transporting interrupts between different subsystems 102A-B, a processor or peripheral device in one subsystem 102 can trigger an interrupt at a processor or peripheral device in another subsystem 102. Furthermore, as described above, the transport mechanism can be implemented in hardware using existing communication protocols between subsystems 102 without involving software and / or firmware layers after the initial setup.
[0053] For example, certain versions of the Universal Serial Bus (USB) standard provide hardware handshaking to work with an Embedded Trace Router (ETR) for debugging purposes, minimizing the software overhead associated with the debugging process. Therefore, the ETR 508 can exchange handshake signals with the USB device 502. These hardware handshake signals can be processed as interrupts via the conversion circuitry system 302 and exchanged as link transactions between different subsystems 102A-D via communication link 108. Thus, a USB device 502 in one subsystem 102A-D can exchange trace data from the ETR 508 with a USB device 502 in another subsystem 102A-D. This enables flexibility in debugging scenarios. For example, a single debug controller in one subsystem can obtain debugging information from one or more other subsystems via the event request / confirmation delivery interface described herein.
[0054] Other examples may involve many variations and / or other applications of the techniques described herein.
[0055] method
[0056] As described above, the example provides a technique for exchanging various event signals corresponding to interruptions or other cross-triggers among multiple subsystems 102 via a common communication link 108.
[0057] Figure 6A This is a flowchart of method 600 based on one example. Method 600 may include various actions or operations that can be performed by a first subsystem 102A, and other actions or operations that can be performed by a second subsystem 102B. In some instances, variations or parts of method 600 that can be considered as independent methods may be performed by one subsystem 102A or 102B.
[0058] refer to Figure 6A At operation 602, an event signal is received. The event signal may indicate an interrupt, cross-triggered event, or other event request (e.g., Figure 3 Signals 306 and / or 308 shown in the diagram, and in some instances, may be received at a logic circuit system (e.g., logic circuit system 202), which is part of a specific event interface 304 in the interface circuit system 104 of the first subsystem 102A.
[0059] At operation 604, the event signal is converted into an MSI message. As described above, the event signal can be converted into an MSI message by a conversion circuit system 302, which may include a logic circuit system 202 and a set of MMRs 110 containing MSI encoded information for the event signal (e.g., an event interface 304 for the event signal). Therefore, in one example, the logic circuit system 202 can convert the event signal into an MSI message at least in part by accessing the set of MMRs 110 to read the MSI encoded information.
[0060] At operation 606, the MSI message is encoded based on the link protocol to generate a link transaction. As described above, the encoding of the MSI message can be performed by encoder 208 of the first subsystem 102A. Encoding the MSI message into a link transaction may include encoding routing information for the MSI message to direct the MSI message to a specific circuit system at the receiving subsystem.
[0061] At operation 608, for example, link transactions can be transmitted to the second subsystem 102B via communication link 108.
[0062] Therefore, operations 602-608 may represent a method of encoding event signals (e.g., representing interruption, cross-triggering, or other event requests) into link transactions, the method being performed by a first subsystem 102A acting as a target device for interruption, cross-triggering, or other event requests.
[0063] continue Figure 6A In one instance, operation 610 includes receiving a link transaction at the second subsystem 102B via communication link 108.
[0064] At operation 612, the second subsystem 102B can use decoder 210 to decode the link transaction, for example, to extract the MSI message and related routing information. The MSI message generated at operation 612 may be a copy or reconstruction of the MSI message generated by the first subsystem 102A at operation 604. That is, in some instances, the MSI message generated at operation 612 may contain the same event information as the MSI message generated at operation 604.
[0065] Operation 614 includes directing the MSI message to the appropriate logic circuitry in the second subsystem 102B (e.g., the event interface 304 identified by the routing information obtained at operation 612).
[0066] Operation 616 may include generating an event signal from an MSI message generated at operation 612 using the logic circuitry system 202 of the second subsystem 102B. This event signal indicates an action to be performed by the second subsystem. The action corresponds to an event (e.g., an interrupt, cross-triggered event, or other event) represented by the event signal received at operation 602. As described above, generating (e.g., reconstructing) the event signal from the MSI message at operation 616 may include accessing a set of memory-mapped registers 110 of the appropriate event interface 304 in the second subsystem 102B by the logic circuitry system 202. These memory-mapped registers 100 contain MSI decoding information for the event signal. The event signal generated at operation 616 may be a copy or reconstruction of the event signal received by the first subsystem 102A at operation 602. That is, the event signal generated at operation 616 may represent the same event (e.g., a corresponding interrupt, cross-triggered event, or other event) as the event signal represented by the event signal received at operation 602.
[0067] At operation 618, the second subsystem 102B can perform an action indicated by an event signal. For example, the processor 106B can trigger an appropriate interrupt or cross-triggered event indicated by the event signal. Thus, the first subsystem 102A can cause the second subsystem 102B to perform the action.
[0068] Therefore, operations 610-618 can represent a method of initiating an event (e.g., interruption, cross-triggering, or other event) based on receiving and decoding a link transaction, the link transaction containing information representing the event, the method being performed by a second subsystem 102B acting as an initiator device for the event.
[0069] As described above, in some instances, certain events include generating a confirmation signal at the initiating subsystem / device in response to an initiating or executing event (e.g., Figure 3 The signal 310 shown in the document. Therefore, refer to Figure 6B In some instances, method 650 includes encoding such confirmation signals into link transactions, which can be transmitted to a target device via communication link 108. Method 650 may include... Figure 6A The method 600 includes various operations performed as a part, and also includes operations associated with providing confirmation signals. For example, in Figure 6B In the middle, method 650 includes the above reference. Figure 6A Operations 610-618 are described. These operations can be executed by the second subsystem 106B after operations 602-608 are performed by the first subsystem 102A, as referenced above. Figure 6A As described.
[0070] In one instance, following operation 618 described above, method 650 includes operation 620 of receiving an acknowledgment event signal (e.g., at logic circuitry 202 of the second subsystem 102B). Operation 620 may be performed in response to operation 618.
[0071] Method 650 may further include operation 622 of converting the acknowledgment event signal (e.g., using conversion circuitry system 302) into an MSI message. Operation 622 may include accessing MMR 110 by logic circuitry system 202, the MMR containing MSI encoded information for the acknowledgment event signal, as described above.
[0072] At operation 606, the MSI message can be encoded to generate a link transaction, as described above, and at operation 608, the link transaction can be transmitted via communication link 108 (e.g., to subsystem 102A), as described above.
[0073] Therefore, method 650 and its variations allow bidirectional or handshake communication between the target and initiating devices using link transactions according to the techniques described herein.
[0074] Figure 7A and 7B An example of a proven cross-triggered mechanism between a first subsystem 102A and a second subsystem 102B is shown, applying the methods and techniques described herein. Figure 7A This is a block diagram of circuit system 700, which may be part of any of the above systems 100, 400 or 500. Figure 7B This is a corresponding flowchart illustrating a sequence flow 750 for cross-triggered events that can be implemented by the circuit system 700. Figure 7A In the circuit system 700, a first circuit system portion 702 is included, wherein a first event processing circuit system 402A (e.g., of a first subsystem 102A) acts as a target device for cross-triggering event 0, which is initiated at a second event processing circuit system 402 (e.g., of a second subsystem 102B) acting as an initiator device for event 0. Figure 7A The circuit system 700 further includes a second circuit system portion 704, wherein the second event processing circuit system 402B acts as a target device for another cross-triggered event 1, which is initiated at the first event processing circuit system acting as an initiating device for event 1. Figure 7B The sequence stream described herein can be implemented by either the first circuit system section 702 or the second circuit system section 704, depending on which subsystem is the target and which subsystem is the initiator (for any given event). (See above reference.) Figure 3As described, event handling events, such as events 0 and 1, have corresponding multiple pairs of cross-triggered target and cross-triggered initiator event interfaces 304 in the conversion circuit system 302 of the respective subsystems 102A and 102B. Therefore, for event 0, the conversion circuit system 302A of the first subsystem 102A includes a target event interface 304A_0, and the conversion circuit system 302B of the second subsystem 102B includes a corresponding initiator event interface 304B_0. Similarly, for event 1, the conversion circuit system 302B of the second subsystem 102B includes a target event interface 304B_1, and the conversion circuit system 302A of the first subsystem 102A includes a corresponding initiator event interface 304A_1.
[0075] At operation 752, the target event handling interface (e.g., event interface 402A for event 0 or event interface 402B for event 1) generates an event signal representing the corresponding event. Thus, for event 0, event handling interface 402A generates event signal 706A, and for event 1, event handling interface 402B generates event signal 706B.
[0076] At operation 754, the target event interface for the corresponding event detects the event signal. Therefore, for event 0, the target event interface 304A_0 in the conversion circuit system 302A detects the event signal 706A. Similarly, for event 1, the target event interface 304B_1 in the conversion circuit system 302B detects the event signal 706B. In some instances, the target event interfaces 304A_0 and 304B_1 detect the rising edges of the corresponding event signals 706A and 706B at the input (Trigger_in) of the corresponding target event interface coupled to the event processing circuit system 402A or 402B, respectively. However, in other instances, the target event interfaces 304A_0 and / or 304b_1 may detect the falling edges of the corresponding event signals 706A and 706B.
[0077] At operation 756, the event signal for the corresponding event is encoded into a link transaction, which is transmitted across communication link 108 to the corresponding initiator event interface in another subsystem. For example, the event signal 706A for event 0 is encoded into a link transaction 708A, which is transmitted across communication link 108 to the corresponding initiator event interface 304B_0 in the second subsystem 102B. Similarly, the event signal 706B for event 1 is encoded into a link transaction 708B, which is transmitted across communication link 108 to the corresponding initiator event interface 304A_1 in the first subsystem 102A. As described above, as part of operation 756, the target event interface converts the corresponding event signal into an MSI message, and the encoding / decoding circuit systems 206A and 206B encode the MSI message based on the link protocol used for communication link 108 to generate the corresponding link transaction. As described above, in order to convert event signals into MSI messages, the logic circuitry 202 of the target event interfaces 304A_0 and 304B_1 can read certain MSI encoding information from the MMR register 110 and / or other sources, and use this encoding information to construct the MSI message. For example, the MSI message may contain information such as interrupt type (e.g., cross-triggered in this example), source device ID (SrcChipId) (e.g., subsystem 102A for event 0 or subsystem 102B for event 1, read from binding logic 318), source event ID (e.g., event 0 or event 1), destination event ID (e.g., event 0 or event 1), destination device ID (e.g., subsystem 102B for event 0 and subsystem 102A for event 1), and control type (e.g., cross-triggered in this example). The MSI message containing all this information describing the corresponding event can then be encoded by encoder 208 based on the appropriate link protocol for communication link 108. The link transaction can then be transmitted along with any other link traffic to the receiving subsystem 102A or 102B via communication link 108.
[0078] At operation 758, the received link transaction is decoded, and a corresponding event signal 710 is generated (e.g., event signal 710A for event 0 and event signal 710B for event 1) and provided to the corresponding event processing circuitry 402B (for event 0) and 402A (for event 1). As described above, as part of operation 758, link transactions 708A and 708B can be decoded by decoder 210 of the corresponding encoding / decoding circuitry 206B and 206A to generate MSI messages. The initiating event interface in the corresponding conversion circuitry 302B and 302A (e.g., event interface 304B_0 for event 0 or event interface 304A_1 for event 1) can obtain MSI decoding information from the corresponding MMR register 110 to generate the corresponding event signals 710A and 710B for the corresponding event from the MSI message. For example, the decoded information may include the interface type (e.g., cross-triggered in this example), the destination event ID (e.g., event 0 or event 1), the destination device ID (e.g., subsystem 102B or subsystem 102A), and the control type (e.g., cross-triggered). The conversion circuit systems 206A and 206B can confirm that the event signal is intended for themselves because the destination device ID in the MSI message can be matched with the source device ID stored in the binding logic 318 for the corresponding subsystem 102A or 102B. The initiating event interfaces 304B_0 and 304A_1 can store (e.g., in MMR register 110) the source device ID and source event ID information decoded from the received MSI message for encoding the confirmation signal to be returned to the target device (e.g., subsystem 102A or subsystem 102B). As part of operation 758, the initiating event interfaces 304B_0 and 304A_1 can assert logic high at the output (Trigger_out) of the corresponding initiating event interfaces 304B_0 and 304A_1 coupled to the event processing circuitry systems 402B and 402A, respectively, to generate corresponding rising edges of event signals 710A and 710B for the corresponding events.
[0079] Based on event signals 710A and 710B, the corresponding event processing circuit systems 402B and 402A can generate confirmation signals 712A and 712B, respectively. Therefore, at operation 760, the corresponding initiating event interface can detect the confirmation signal. For example, initiating event interface 304B_0 can detect the rising edge (or falling edge) of confirmation signal 712A at the input (Trigger_out_ack) of initiating event interface 304B_0 coupled to event processing interface 402B. Similarly, initiating event interface 304A_1 can detect the rising (or falling) edge of confirmation signal 710B at the input (Trigger_out_ack) of initiating event interface 304A_1 coupled to event processing interface 402A.
[0080] At operation 762, based on the detection of a confirmation signal (e.g., a rising edge in confirmation signals 710A and 710B detected at the corresponding input Trigger_out_ack), the initiating event interfaces 304B_0 and 304A_1 can assert logic low at the output Trigger_out. Therefore, a falling edge in the corresponding event signals 710A and 710B can be generated.
[0081] At operation 764, based on the detection of edges in the corresponding event signals 710A and 710B, the corresponding event processing interface can trigger edges in the corresponding confirmation signals 712A and 712B. For example, based on the detection of a falling edge in event signal 710A, event processing interface 402B can generate a falling edge in confirmation signal 712A at the input (Trigger_out_ack) of the initiating event interface 304B_0. Similarly, based on the detection of a falling edge in event signal 710B, event processing interface 402A can generate a falling edge in confirmation signal 712B at the input (Trigger_out_ack) of the initiating event interface 304A_1.
[0082] At operation 766, the initiating event interface generates a confirmation MSI message. For example, based on the detection of rising edges in confirmation signals 712A and 712B at the input Trigger_out_ack, the initiating event interfaces 304B_0 and 304A_1 may generate confirmation MSI messages 714A and 714B, respectively, to be transmitted back to the target device via communication link 108. Similar to operation 756, operation 766 may include using information in MMR register 110 to convert the corresponding confirmation signals 712A and 712B into confirmation MSI messages, as described above, and encoding the confirmation MSI messages (e.g., using encoding / decoding circuitry system 206B and based on the link protocol) into link transactions for transmission via communication link 108. In some instances, the encoded information includes the interface type (e.g., cross-triggered in this instance), source device ID (e.g., read from the binding logic 318 of the corresponding subsystems 102A, 102B), source event ID, destination event ID (e.g., event 0 or event 1; obtained from source event ID information stored as part of the decoding function performed at operation 758), destination device ID (e.g., subsystem 102A or subsystem 102B; obtained from source ID information stored as part of the decoding function performed at operation 758), and control type (e.g., acknowledgment in this instance). Acknowledgment MSI messages 714A, 714B containing this information can then be encoded by the encoding / decoding circuit systems 206B, 206A based on the appropriate link protocol for communication link 108, and link transactions can be transmitted through communication link 108 (e.g., as part of any other link traffic) to the first subsystem 102A. Operation 766 can be performed simultaneously with, before, or after operation 764.
[0083] At operation 768, the link transaction is decoded, and a corresponding confirmation signal is generated. For example, the link transaction received by the target event interface 304A_0 is decoded, and a corresponding confirmation signal 716A for event 0 is generated and provided to the event processing circuit system 402A. Similarly, the link transaction received by the target event interface 304B_1 is decoded, and a corresponding confirmation signal 716B for event 1 is generated and provided to the event processing circuit system 402B. As described above, as part of operation 768, the link transaction can be decoded by the decoder 210 of the corresponding encoding / decoding circuit systems 206A and 206B to generate a corresponding confirmation MSI message. The target event interfaces 304A_0 and 304B_1 in the conversion circuit systems 302A and 302B can obtain MSI decoding information from the corresponding MMR register 110 to generate corresponding confirmation signals 716A (for event 0) and 716B (for event 1) from the confirmation MSI message. For example, the decoded information may include an interface type (e.g., cross-triggered in this example), a destination event ID (e.g., event 0 or event 1), a destination device ID (e.g., subsystem 102A or subsystem 102B), and a control type (e.g., confirmation). Conversion circuit systems 206A and 206B can confirm that the confirmation signal is intended for themselves, since the destination device ID in the confirmation MSI message can match the source device ID stored in the binding logic 318 for subsystem 102A or subsystem 102B. As part of operation 768, the target event interface 304A_0 can assert logic high at the output (Trigger_in_ack) of the target event interface 304A_0 coupled to the event processing circuit system 402A to generate a corresponding rising edge for the confirmation signal 716A for event 0. Similarly, as part of operation 768, the target event interface 304B_1 may assert logic high at the output (Trigger_in_ack) of the target event interface 304B_1 coupled to the event processing circuitry system 402B to generate a corresponding rising edge for the confirmation signal 716B for event 1.
[0084] At operation 770, based on the corresponding confirmation signals 716A and 716B, the corresponding event processing circuit systems 402A and 402B can transition the corresponding event signals 706A and 706B to logic low. Therefore, at operation 770, the target event interface 304A_0 can detect the falling edge of event signal 706A at the Trigger_in input. Similarly, at operation 770, the target event interface 304B_1 can detect the falling edge of event signal 706B at the Trigger_in input.
[0085] At operation 772, a signal is sent to indicate the completion of the cross-triggered event. For example, based on the detection of a falling edge (or logic low) in event signal 706A, target event interface 304A_0 can assert a logic low at the output Trigger_in_ack, thereby signaling the completion of cross-triggered event 0. Similarly, based on the detection of a falling edge (or logic low) in event signal 706B, target event interface 304B_1 can assert a logic low at the output Trigger_in_ack, thereby signaling the completion of cross-triggered event 1.
[0086] Figure 7A and 7B The examples described and illustrated relate to confirmed cross-triggered events; however, in other examples, the same (or similar) methods and circuitry can be used for other confirmed events (e.g., interruptions or other events that also involve transmitting a confirmation signal from the initiating device to the target device).
[0087] Turn Figure 8A and 8B The present invention illustrates a system and method for applying the methods and techniques described herein to deliver a pulse-type interrupt between a first subsystem 102A and a second subsystem 102B. Figure 8A This is a block diagram illustrating a circuit system 800, which may be part of any of the systems 100, 400, or 500 described above. Figure 8B This is a corresponding flowchart illustrating a sequence stream 850 for delivering pulse-type interrupts, which can be implemented by the circuit system 800. Figure 8A In the circuit system 800, there are a first circuit system 802 and a second circuit system 804. In the first circuit system, for a pulse-type interrupt, the first subsystem 102A acts as the target device and the second subsystem 102B acts as the initiating device. In the second circuit system, for another pulse-type interrupt, the second subsystem 102B acts as the target device and the first subsystem 102A acts as the initiating device.
[0088] As referenced above Figure 3 As described, the first subsystem 102A and the second subsystem 102B include corresponding pairs of interrupt target and interrupt initiator event interfaces 304 in the respective switching circuit systems 302A and 302B. Therefore, refer to Figure 8AFor the first pulse-type interrupt, the conversion circuit system 302A of the first subsystem 102A includes a target event interface 304A-i, and the conversion circuit system 302B of the second subsystem 102B includes a corresponding initiator event interface 304B-i. Similarly, for the second pulse-type interrupt, the conversion circuit system 302B of the second subsystem 102B includes a target event interface 304B_j, and the conversion circuit system 302A of the first subsystem 102A includes a corresponding initiator event interface 304A_j.
[0089] refer to Figure 8A and 8B At operation 852, the target event interface detects the incoming event signal. For example, as... Figure 8A As shown, the target event interface 304A-i or 304B-j can detect (at the corresponding input terminal "in") the rising edge of the incoming event signal 806. Event signal 806 represents a pulse-type interrupt.
[0090] In some instances, the corresponding target event interface 304A-i or 304B-j generates a corresponding MSI message at operation 854. This MSI message is encoded into link transaction 808 (e.g., using an encoder from encoding / decoding circuitry system 206A or 206B) and transmitted via communication link 108, as described above. In some instances, the MSI encoding information used to generate the MSI message corresponding to event signal 806 includes information read from the corresponding MMR register 110 and / or binding logic 318, as described above. For example, the MSI encoding information may include interrupt type (e.g., pulse interrupt), source device ID (SrcChipId) (e.g., subsystem 102A or subsystem 102B), source event type (e.g., corresponding interrupt ID), destination event ID, and destination device ID (e.g., subsystem 102B or subsystem 102A).
[0091] At operation 856, link transaction 808 is decoded to reproduce the corresponding MSI message. Operation 856 can be performed by encoding / decoding circuitry 206A or 206B based on the receipt of link transaction 808 via communication link 108. For example, as described above, the decoder of encoding / decoding circuitry 206B or 206A can be used to decode link transaction 808 to reproduce the corresponding MSI message.
[0092] At operation 858, the initiating event interface 304B-i or 304A-j decodes the MSI message to generate a corresponding event signal 810. In some instances, the decoding information for the MSI message may include the interrupt type (e.g., pulse type in this instance), the destination device ID (e.g., subsystem 102B or subsystem 102A), and the destination event type. For a pulse type interrupt, operation 858 may include driving a pulse at the output terminal "out" by the initiating event interface 304B-i or 304A-j to generate the event signal 810, which indicates an interrupt to be executed by the receiving subsystem 102B or 102A.
[0093] Turn Figure 9A and 9B The present invention illustrates a system and method for applying the methods and techniques described herein to deliver a level-type interrupt between a first subsystem 102A and a second subsystem 102B. Figure 9A This is a block diagram illustrating a circuit system 900, which may be part of any of the systems 100, 400, or 500 described above. Figure 9B This is a corresponding flowchart illustrating a sequence stream 950 for transmitting level-type interrupts, which can be implemented in circuit system 900. Figure 9A In the circuit system 900, there are a first circuit system 902 and a second circuit system 904. In the first circuit system, for a level-type interrupt, the first subsystem 102A acts as the target device and the second subsystem 102B acts as the initiating device. In the second circuit system, for another level-type interrupt, the second subsystem 102B acts as the target device and the first subsystem 102A acts as the initiating device. Therefore, as... Figure 9A As shown, for a first level-type interrupt, the conversion circuit system 302A of the first subsystem 102A includes a target event interface 304A-ii, and the conversion circuit system 302B of the second subsystem 102B includes a corresponding initiator event interface 304B-ii. Similarly, for a second level-type interrupt, the conversion circuit system 302B of the second subsystem 102B includes a target event interface 304B_jj, and the conversion circuit system 302A of the first subsystem 102A includes a corresponding initiator event interface 304A_jj.
[0094] At operation 952, the target event interface detects the first edge of the incoming event signal. For example, as... Figure 9A As shown, the target event interface 304A-ii or 304B-jj can detect (at the corresponding input terminal "in") the rising edge of the incoming event signal 906. Event signal 906 represents a level-type interrupt.
[0095] In some instances, the corresponding target event interface 304A-ii or 304B-jj generates a corresponding MSI message at operation 954. This MSI message is encoded into link transaction 908 (e.g., using an encoder from encoding / decoding circuitry system 206A or 206B) and transmitted via communication link 108, as described above. In some instances, the MSI encoding information used to generate the MSI message corresponding to event signal 906 includes information read from the corresponding MMR register 110 and / or binding logic 318, as described above. For example, the MSI encoding information may include interrupt type (e.g., level interrupt), source device ID (SrcChipId) (e.g., subsystem 102A or subsystem 102B), source event type (e.g., corresponding interrupt ID), destination event ID, destination device ID (e.g., subsystem 102B or subsystem 102A), and control type. In some instances, the control type may be a single-bit field that is logic low on rising edges and logic high on falling edges, and vice versa.
[0096] At operation 956, link transaction 908 is decoded to reproduce the corresponding MSI message. Operation 956 can be performed by encoding / decoding circuitry 206A or 206B based on the receipt of link transaction 908 via communication link 108. For example, as described above, the decoder of encoding / decoding circuitry 206B or 206A can be used to decode link transaction 908 to reproduce the corresponding MSI message.
[0097] At operation 958, the initiating event interface 304B-ii or 304A-jj decodes the MSI message to drive the first edge in the corresponding event signal 910. In some instances, the decoding information for the MSI message may include the interrupt type (e.g., level type in this instance), the destination device ID (e.g., subsystem 102B or subsystem 102A), the destination event type, and the control type.
[0098] refer to Figure 9B In some instances, for level-type interrupts, operation 958 may include driving (at output terminal OUT) the rising edge of event signal 910 based on the control type indicating the rising edge.
[0099] The sequence stream 950 for level-type interrupts may further include operation 960, which detects a second edge in the incoming event signal 906 by the target event interface 304A-ii or 304B-jj. For example, the target event interface 304A-ii or 304B-jj may detect a falling edge in the event signal 906 at the input (IN). Based on the detected falling edge in the event signal 812, the target event interface 304A-ii may repeat operation 954 to generate a corresponding MSI message, encode the MSI message into a link transaction, and transmit the link transaction to the receiving subsystem 102B or 102A via communication link 108. For encoding the MSI message, the encoding information may include the aforementioned information; however, the control type may represent a falling edge instead of a rising edge. Furthermore, the initiating event interface 304B-ii or 304A-jj may repeat operation 956 to decode the link transaction to reproduce the MSI message.
[0100] Therefore, at operation 962, the initiator event interface 304B-ii can decode the MSI message to drive the second edge in the corresponding event signal 910. For example, based on the control type indicating a falling edge, the initiator event interface 304B-ii or 304A-jj can drive (at the output terminal) the falling edge in the event signal 910.
[0101] The above reference Figures 8A-9B The described examples do not involve sending event confirmation signals; however, for example, the above regarding Figure 7A and 7B The described methods and circuit systems can be used to verify the reference. Figures 8A-9B The described pulse-type interrupt and / or level-type interrupt.
[0102] Therefore, both pulse-type and level-type interrupts can be triggered from the target subsystem and initiated (or executed) at another initiating subsystem. The event signal indicating the interrupt can be transmitted via the common communication link 108, as described above, thereby avoiding the need for dedicated I / O paths between subsystems 102A and 102B for individual interrupts.
[0103] in conclusion
[0104] Therefore, various aspects and examples provide hardware-based messaging interfaces and related methods for transmitting event requests with or without acknowledgment between multiple subsystems.
[0105] In this specification, the term "coupled" may encompass a connection, communication, or signaling path that enables the functional relationship to be consistent with this specification. For example, if device A generates a signal to control device B to perform an action, then: (a) in a first instance, device A is coupled to device B via a direct connection; or (b) in a second instance, device A is coupled to device B via an intermediate component C, provided that the intermediate component C does not alter the functional relationship between device A and device B, such that device B is controlled by device A via the control signal generated by device A.
[0106] A device “configured” to perform a task or function may be configured (e.g., programmed and / or hardwired) by the manufacturer to perform the function and / or may be configured (or reconfigured) by the user after manufacturing to perform the function and / or other additional or alternative functions. The configuration may be performed through firmware and / or software programming of the device, through the construction and / or layout of hardware components and the interconnection of the device, or a combination thereof.
[0107] In this specification, unless otherwise stated, “about,” “approximately,” or “substantially” preceding a parameter means within the range of the parameter, such as within + / -10% or + / -5% of the parameter.
[0108] The above description discloses, in particular, various example systems, methods, apparatuses, and articles of art, including firmware and / or software executed on hardware, and other components. It should be understood that such examples are illustrative only and should not be considered limiting. For example, it is considered that any or all of the firmware, hardware, and / or software aspects or components may be embodied specifically in hardware, specifically in software, specifically in firmware, or in any combination of hardware, software, and / or firmware. Therefore, the examples provided are not the only ways to implement such systems, methods, apparatuses, and / or articles of art. When any of the appended claims is read to cover purely software and / or firmware embodiments, at least one element in at least one example is hereby expressly defined as a tangible, non-transitory medium containing the storage software and / or firmware, such as a memory, DVD, CD, Blu-ray disc, etc.
[0109] Other examples
[0110] Example 1 is a method comprising: receiving a link transaction at a subsystem via a communication link, the link transaction including a Message Signaling Interruption (MSI) message; decoding the link transaction using a decoding circuitry of the subsystem to extract the MSI message and routing information for the MSI message; providing the MSI message to a logic circuitry of the subsystem based on the routing information; generating an event signal from the MSI message using the logic circuitry, the event signal indicating an action to be performed by the subsystem, wherein generating the event signal from the MSI message includes the logic circuitry accessing a set of memory-mapped registers of the subsystem, the set of memory-mapped registers containing MSI decoding information for the event signal; and performing the action indicated by the event signal at the subsystem.
[0111] Example 2 includes the method according to Example 1, wherein the subsystem is a first subsystem, the communication link couples the first subsystem to a second subsystem, wherein the link transaction is received from the second subsystem, and wherein the event signal originates from the second subsystem.
[0112] Example 3 includes the method according to Example 2, wherein decoding the link transaction to generate the MSI message includes decoding the link transaction to reproduce the MSI message originating from the second subsystem.
[0113] Example 4 includes a method according to any one of Examples 1 to 3, wherein the event signal is a cross-triggered signal, and wherein performing the action includes triggering the processor of the subsystem to perform a task.
[0114] Example 5 includes a method according to any one of Examples 1 to 3, wherein the event signal is an interrupt signal, and wherein performing the action includes triggering an interrupt based on the interrupt signal.
[0115] Example 6 includes the method according to Example 5, wherein triggering the interrupt includes triggering the interrupt at the processor of the subsystem.
[0116] Example 7 includes the method according to Example 5, wherein triggering the interrupt includes triggering the interrupt at a peripheral device coupled to the subsystem.
[0117] Example 8 includes a method according to any one of Examples 1 to 7, further comprising: receiving an acknowledgment signal at the logic circuit system based on the execution of the action; converting the acknowledgment signal into another MSI message using the logic circuit system; encoding the other MSI message based on a link protocol for the communication link using the encoding circuit system of the subsystem to generate another link transaction; and transmitting the other link transaction from the subsystem via the communication link.
[0118] Example 9 includes the method according to Example 8, wherein the subsystem is a first subsystem, the link transaction is received from a second subsystem, the communication link couples the first subsystem to the second subsystem, and transmitting the other link transaction includes transmitting the other link transaction to the second subsystem. The method further includes: decoding the other link transaction using a decoding circuitry system of the second subsystem to extract the other MSI message and additional routing information for the other MSI message; routing the other MSI message to a logic circuitry system of the second subsystem based on the additional routing information; and generating the acknowledgment signal from the other MSI message using the logic circuitry system of the second subsystem.
[0119] Example 10 includes the method according to Example 9, wherein the first subsystem is a first integrated circuit, the second subsystem is a second integrated circuit, and the communication link is coupled between corresponding communication ports of the first integrated circuit and the second integrated circuit.
[0120] Example 11 includes a method according to any one of Examples 1 to 7, wherein the subsystem is a first subsystem, the method further comprising: receiving the event signal at a logic circuitry of a second subsystem; converting the event signal into the MSI message by the logic circuitry of the second subsystem at least in part by accessing a set of memory-mapped registers of the second subsystem using the logic circuitry of the second subsystem, the set of memory-mapped registers containing MSI encoding information for the event signal; encoding the MSI message based on a link protocol using an encoding circuitry of the second subsystem to generate the link transaction; and transmitting the link transaction from the second subsystem to the first subsystem via the communication link.
[0121] Example 12 is a system configured to implement the methods according to any one of Examples 1 through 11.
[0122] Example 13 is an integrated circuit comprising: a communication port; a set of memory-mapped registers; a logic circuit system configured to access the set of memory-mapped registers and to construct a first message signal interruption (MSI) message based on information read from the set of memory-mapped registers upon receiving a first event signal; and an encoding / decoding circuit system coupled to the logic circuit system and the communication port, the encoding / decoding circuit system being configured to encode the first MSI message based on a link protocol to generate a first link signal at the communication port, and to decode a second link signal received via the communication port to generate a second MSI message; wherein the logic circuit system is further configured to generate a second event signal based on the second MSI message and additional information read from the set of memory-mapped registers.
[0123] Example 14 includes an integrated circuit according to Example 13, wherein the first event signal is an interrupt signal for a device external to the integrated circuit.
[0124] Example 15 includes an integrated circuit according to Example 14, wherein the interrupt signal is for a processor of another integrated circuit, which is coupled to the integrated circuit via a communication link coupled to the communication port.
[0125] Example 16 includes an integrated circuit according to Example 13, wherein the first event signal is a cross-triggered signal for a processor of another integrated circuit, which is coupled to the integrated circuit via a communication link coupled to the communication port.
[0126] Example 17 is a system comprising a first subsystem having a first communication port and a first interface circuit system coupled to the first communication port. The first interface circuit system includes a first set of memory-mapped registers and is configured to construct a Message Signal Interruption (MSI) message based on information read from the first set of memory-mapped registers based on a received event signal, and to encode the MSI message based on a link protocol to generate a link signal at the first communication port. The system further includes: a communication link coupled to the first communication port; and a second subsystem having a processor, a second communication port coupled to the communication link, and a second interface circuit system coupled to the second communication port and the processor, the processor being configured to perform an action based on the event signal; wherein the first subsystem is configured to transmit the link signal to the second subsystem via the communication link; and wherein the second interface circuit system includes a second set of memory-mapped registers and is configured to decode the link signal to reproduce the MSI message, and to generate the event signal based on the generation of the MSI message and information read from the second set of memory-mapped registers.
[0127] Example 18 includes a system according to Example 17, wherein the first interface circuitry includes: a logic circuitry configured to access the first set of memory-mapped registers, the logic circuitry being configured to construct the MSI message based on information read from the first set of memory-mapped registers and based on the received event signal; and an encoding circuitry coupled to the logic circuitry and the first communication port, the encoding circuitry being configured to encode the MSI message based on the link protocol to generate the link signal.
[0128] Example 19 includes a system according to one of Examples 17 or 18, wherein the first subsystem is a first integrated circuit and the second subsystem is a second integrated circuit.
[0129] Example 20 includes a system according to any one of Examples 17 to 19, wherein the event signal is a cross-triggered signal for the processor.
[0130] Example 21 includes a system according to any one of Examples 17 to 19, wherein the second subsystem includes a peripheral device coupled to the processor, and the event signal is an interrupt signal for the peripheral device.
[0131] Example 22 includes a system according to any one of Examples 17 to 20, wherein the second interface circuitry is configured to generate an additional MSI message based on receiving an acknowledgment signal indicating confirmation of the event signal, and to encode the additional MSI message based on the link protocol to generate an additional link signal, and the second subsystem is configured to transmit the additional link signal to the first subsystem via the communication link.
[0132] Example 23 includes a system according to Example 22, wherein the first interface circuitry is configured to decode the additional link signal to generate the additional MSI message, and based on the generation of the additional MSI message, generate the acknowledgment signal based on information read from the first set of memory-mapped registers.
[0133] Example 24 includes a system according to any one of Examples 17 to 23, wherein the MSI message contains information specifying the identifier of the first subsystem and the identifier of the second subsystem.
[0134] Example 25 includes a system according to Example 17, wherein the first interface circuitry includes: a first logic circuitry configured to access the first set of memory-mapped registers, the first logic circuitry configured to construct the MSI message based on information read from the first set of memory-mapped registers and based on the receipt of the event signal; a first encoding circuitry coupled to the first logic circuitry and the first communication port, the first encoding circuitry configured to encode the MSI message based on the link protocol to generate the link signal; and a first decoding circuitry coupled to the first logic circuitry and the first communication port.
[0135] Example 25 is a system comprising: a first subsystem having a first communication port and a first interface circuit system coupled to the first communication port. The first interface circuit system includes: a first set of memory-mapped registers; a first logic circuit system coupled to a first plurality of signal lines and configured to access the first set of memory-mapped registers, the first logic circuit system being configured to construct a Message Signal Interruption (MSI) message using information read from the first set of memory-mapped registers based on receiving an event signal on at least one of the first plurality of signal lines; a first encoding circuit system coupled to the first logic circuit system and the first communication port, the first encoding circuit system being configured to encode the MSI message according to a link protocol to generate a link signal at the first communication port; and a first decoding circuit system coupled to the first logic circuit system and the first communication port. The system further includes: a communication link coupled to the first communication port; and a second subsystem having a second communication port coupled to the communication link, a second plurality of signal lines, and a second interface circuit system coupled to the second communication port and the second plurality of signal lines. The first subsystem is configured to transmit the link signal to the second subsystem via the communication link. The second interface circuit system includes: a second set of memory-mapped registers; a second decoding circuit system coupled to the second communication port and configured to decode the link signal to reproduce the MSI message; a second logic circuit system coupled to the second plurality of signal lines and configured to access the second set of memory-mapped registers, the second logic circuit system being configured to reconstruct the event signal based on information read from the second set of memory-mapped registers upon receiving the MSI message, and to transmit the event signal to at least one of the second plurality of signal lines; and a second encoding circuit system coupled to the second logic circuit system and the second communication port.
[0136] Example 26 includes the system according to Example 25, wherein: the second logic circuitry is configured to generate an additional MSI message based on receiving an acknowledgment signal indicating confirmation of the event signal via one of the second plurality of signal lines; the second encoding circuitry is configured to encode the additional MSI message according to the link protocol to generate an additional link signal; and the second subsystem is configured to transmit the additional link signal to the first subsystem via the communication link.
[0137] Example 27 includes a system according to Example 26, wherein: the first decoding circuitry is configured to decode the additional link signal to reproduce the additional MSI message; and the first logic circuitry is configured to reconstruct the acknowledgment signal based on information read from the first set of memory-mapped registers upon receiving the additional MSI message, and to transmit the acknowledgment signal to one or more of the first plurality of signal lines.
[0138] Example 28 includes a system according to any one of Examples 25 to 27, wherein the MSI message contains information specifying the identifier of the first subsystem and the identifier of the second subsystem.
[0139] Modifications may be made to the described examples, and other examples may be made within the scope of the claims.
Claims
1. A method comprising: At the subsystem level, a link transaction is received via a communication link, the link transaction including a message signal interruption MSI message; The link transaction is decoded using the decoding circuitry of the subsystem to extract the MSI message and the routing information used for the MSI message; The MSI message is provided to the logic circuit system of the subsystem based on the routing information; The logic circuit system generates an event signal from the MSI message, the event signal indicating an action to be performed by the subsystem, wherein generating the event signal from the MSI message includes the logic circuit system accessing a set of memory-mapped registers of the subsystem, the set of memory-mapped registers containing MSI decoding information for the event signal; as well as The action indicated by the event signal is performed at the subsystem.
2. The method of claim 1, wherein the event signal is a cross-triggered signal, and wherein performing the action includes triggering the processor of the subsystem to perform a task.
3. The method of claim 1, wherein the event signal is an interrupt signal, and wherein performing the action includes triggering an interrupt based on the interrupt signal.
4. The method of claim 3, wherein triggering the interrupt comprises triggering the interrupt at the processor of the subsystem.
5. The method of claim 3, wherein triggering the interrupt comprises triggering the interrupt at a peripheral device coupled to the subsystem.
6. The method of claim 1, further comprising: Based on the execution of the action, an acknowledgment signal is received at the logic circuit system; The logic circuit system is used to convert the confirmation signal into another MSI message; The encoding circuitry of the subsystem encodes the other MSI message based on the link protocol used for the communication link to generate another link transaction; as well as The other link transaction is transmitted from the subsystem via the communication link.
7. The method of claim 6, wherein the subsystem is a first subsystem, the link transaction is received from a second subsystem, the communication link couples the first subsystem to the second subsystem, and transmitting the other link transaction includes transmitting the other link transaction to the second subsystem, the method further comprising: The decoding circuitry of the second subsystem is used to decode the other link transaction in order to extract the other MSI message and another routing information for the other MSI message; Based on the other routing information, the other MSI message is directed to the logic circuit system of the second subsystem; as well as The acknowledgment signal is generated from the other MSI message using the logic circuitry of the second subsystem.
8. The method of claim 1, wherein the subsystem is a first subsystem, and the method further comprises: The event signal is received at the logic circuit system of the second subsystem; The event signal is converted into the MSI message by the logic circuitry of the second subsystem at least in part by accessing a set of memory-mapped registers of the second subsystem using the logic circuitry of the second subsystem, the set of memory-mapped registers containing MSI encoded information for the event signal; The MSI message is encoded based on the link protocol using the encoding circuitry of the second subsystem to generate the link transaction; as well as The link transaction is transmitted from the second subsystem to the first subsystem via the communication link.
9. An integrated circuit, comprising: Communication port; A set of memory-mapped registers; A logic circuit system configured to access the set of memory-mapped registers and, based on receiving a first event signal, construct a first message signal interrupt MSI message based on information read from the set of memory-mapped registers; as well as An encoding / decoding circuit system coupled to the logic circuit system and the communication port, the encoding / decoding circuit system being configured to encode the first MSI message based on a link protocol to generate a first link signal at the communication port, and to decode a second link signal received via the communication port to generate a second MSI message; The logic circuit system is further configured to generate a second event signal based on the second MSI message and additional information read from the set of memory-mapped registers.
10. The integrated circuit of claim 9, wherein the first event signal is an interrupt signal for a device external to the integrated circuit.
11. The integrated circuit of claim 10, wherein the interrupt signal is for a processor of another integrated circuit, the other integrated circuit being coupled to the integrated circuit via a communication link coupled to the communication port.
12. The integrated circuit of claim 9, wherein the first event signal is a cross-triggered signal for a processor of another integrated circuit, the other integrated circuit being coupled to the integrated circuit via a communication link coupled to the communication port.
13. A system comprising: A first subsystem has a first communication port and a first interface circuit system coupled to the first communication port. The first interface circuit system includes a first set of memory-mapped registers and is configured to construct a message signal interrupt MSI message based on information read from the first set of memory-mapped registers based on a received event signal, and to encode the MSI message based on a link protocol to generate a link signal at the first communication port. A communication link, which is coupled to the first communication port; as well as The second subsystem has a processor, a second communication port coupled to the communication link, and a second interface circuit system coupled to the second communication port and the processor, the processor being configured to perform an action based on the event signal; The first subsystem is configured to transmit the link signal to the second subsystem via the communication link; and The second interface circuit system includes a second set of memory-mapped registers and is configured to decode the link signal to generate the MSI message, and to generate the event signal based on the generation of the MSI message and information read from the second set of memory-mapped registers.
14. The system of claim 13, wherein the first interface circuit system comprises: A logic circuit system configured to access the first set of memory-mapped registers, the logic circuit system being configured to construct the MSI message based on the information read from the first set of memory-mapped registers and based on the received event signal; as well as An encoding circuit system coupled to the logic circuit system and the first communication port, the encoding circuit system being configured to encode the MSI message based on the link protocol to generate the link signal.
15. The system of claim 13, wherein the first subsystem is a first integrated circuit and the second subsystem is a second integrated circuit.
16. The system of claim 13, wherein the event signal is a cross-triggered signal for the processor.
17. The system according to claim 13, wherein: The second subsystem includes peripheral devices coupled to the processor; and The event signal is an interrupt signal for the peripheral device.
18. The system according to claim 13, wherein: The second interface circuitry is configured to generate an additional MSI message based on receiving an acknowledgment signal indicating confirmation of the event signal, and to encode the additional MSI message based on the link protocol to generate an additional link signal; and The second subsystem is configured to transmit the additional link signal to the first subsystem via the communication link.
19. The system of claim 18, wherein the first interface circuitry is configured to decode the additional link signal to generate the additional MSI message, and to generate the acknowledgment signal based on information read from the first set of memory-mapped registers based on the generation of the additional MSI message.
20. The system of claim 13, wherein the MSI message includes information specifying the identifier of the first subsystem and the identifier of the second subsystem.
