Multi-core consistency ICB bus transmission method, system and device and storage medium
By adding a consistent operation channel in the ICB protocol, consistent operation between the master and slave devices is solved, and the problem of insufficient consistent operation support in a multi-core processor environment is achieved, efficient multi-core consistent operation is achieved, and the Hardware overhead.
Patent Information
- Application Number
- CN202411375713.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2024-11-12
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing ICB protocol cannot support consistent operation in a multi-core processor environment, and other bus protocols that support consistent operation are complex to control, resulting in excessive hardware overhead.
On the basis of the existing ICB protocol, the master device sends a consistency request signal to the slave device through the consistency channel. After the slave device receives the consistency request signal, the consistency request feedback signal is sent to the master device to realize the Consistent operation between master and slave.
While keeping the control of the ICB protocol simple and easy to use, consistent operation of multi-core processors is achieved, reducing the redundancy of hardware resources and reducing hardware overhead.
Smart Images

Figure CN118939595A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of semiconductor technology, and in particular to a multi-core consistent ICB bus transmission method, system, device and storage medium. Background Art
[0002] With the birth and development of multi-core systems, bus protocols have also kept pace with the times. When facing a single-core situation, the consistency issue only includes the read and write consistency between the CPU cache and the memory. At this time, the mechanism that the bus needs to provide is not complicated.
[0003] When extended to multi-core or many-core processor application scenarios, the bus needs to fully support the cache consistency protocol. In a multi-core environment, multiple processors share memory. In order to maintain consistency, each core needs to transmit or receive additional snoop requests when the multiple cores interact.
[0004] However, the existing ICB protocol does not support consistency operations; and other existing bus protocols that support consistency operations have relatively complex control, redundant channels, and excessive hardware overhead. Summary of the invention
[0005] In order to solve one of the above technical defects, the embodiments of the present application provide a multi-core consistent ICB bus transmission method, system, device and storage medium.
[0006] According to a first aspect of an embodiment of the present application, a multi-core consistent ICB bus transmission method is provided, the method comprising: The master device sends a read request signal to the slave device through the read command channel. After receiving the read request signal, the slave device sends a read request feedback signal to the master device through the read return channel, so that a read operation is performed between the master device and the slave device. The master device sends a write request signal to the slave device through the write command channel. After receiving the write request signal, the slave device sends a write request feedback signal to the master device through the write return channel, so that the master device and the slave device can perform a write operation. The master device sends a consistency request signal to the slave device through the consistency channel. After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device, so that consistency operations are performed between the master device and the slave device.
[0007] In an optional embodiment of the present application, the master device sends a consistency request signal to the slave device through a consistency channel, and after the slave device receives the consistency request signal, sends a consistency request feedback signal to the master device, so that the master device and the slave device perform a consistency operation, the step further includes: The master device sends a consistency request signal to the slave device through the consistency channel. After receiving the consistency request signal, the slave device sends data feedback to the master device through the write command channel, and sends a consistency request feedback signal to the master device through the consistency feedback channel, so as to perform consistency operations between the master device and the slave device.
[0008] In an optional embodiment of the present application, the master device sends a consistency request signal to the slave device through a consistency channel, and after the slave device receives the consistency request signal, sends a consistency request feedback signal to the master device, so that the master device and the slave device perform a consistency operation, the step further includes: The master device sends a consistency request signal to the slave device through the consistency channel. After receiving the consistency request signal, the slave device sends data feedback to the master device through the read command channel, and sends a consistency request feedback signal to the master device through the consistency feedback channel, so as to perform consistency operations between the master device and the slave device.
[0009] In an optional embodiment of the present application, the master device sends a consistency request signal to the slave device through a consistency channel, and after the slave device receives the consistency request signal, sends a consistency request feedback signal to the master device, so that the master device and the slave device perform a consistency operation, the step further includes: After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device in the same cycle.
[0010] In an optional embodiment of the present application, the master device sends a consistency request signal to the slave device through a consistency channel, and after the slave device receives the consistency request signal, sends a consistency request feedback signal to the master device, so that the master device and the slave device perform a consistency operation, the step further includes: After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device after a preset delay period.
[0011] In an optional embodiment of the present application, the master device sends a consistency request signal to the slave device through a consistency channel, and after receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device, so that the master device and the slave device perform a consistency operation step, which further includes: After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device and sends a consistency operation error flag to the master device; the consistency operation error flag includes whether an error occurs during the execution of the consistency operation.
[0012] In an optional embodiment of the present application, the master device sends a consistency request signal to the slave device through a consistency channel, and after the slave device receives the consistency request signal, sends a consistency request feedback signal to the master device, so that the master device and the slave device perform a consistency operation, the step further includes: The master device sends a consistency request signal to the slave device through the consistency channel. After receiving the consistency request signal, the slave device returns a consistency operation acceptance signal to the master device through the consistency channel and sends a consistency request feedback signal to the master device. After receiving the consistency request feedback signal, the master device returns a consistency feedback acceptance signal to the slave device, so that a consistency operation can be performed between the master device and the slave device.
[0013] According to a second aspect of an embodiment of the present application, a multi-core consistent ICB bus transmission system is provided, the system comprising: A read operation unit, used to instruct the master device to send a read request signal to the slave device through a read command channel, and after receiving the read request signal, the slave device sends a read request feedback signal to the master device through a read return channel, so that a read operation is performed between the master device and the slave device; A write operation unit, used to instruct the master device to send a write request signal to the slave device through a write command channel, and after receiving the write request signal, the slave device sends a write request feedback signal to the master device through a write return channel, so that a write operation is performed between the master device and the slave device; The consistency operation unit is used to make the master device send a consistency request signal to the slave device through the consistency channel. After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device, so as to perform consistency operation between the master device and the slave device.
[0014] According to a third aspect of an embodiment of the present application, there is provided a computer device, including: a memory; A processor; and a computer program; wherein the computer program is stored in a memory and is configured to be executed by the processor to implement the steps of any method of the first aspect of the embodiment of the present application.
[0015] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored; the computer program is executed by a processor to implement the steps of any method of the first aspect of the embodiment of the present application.
[0016] The multi-core consistent ICB bus transmission method provided in the embodiment of the present application has the following beneficial effects: The ICB protocol established by the method of the present application adds a consistency operation channel based on the existing channel, so that the master device sends a consistency request signal to the slave device through the consistency channel to perform consistency operations between the master device and the slave device, thereby achieving consistent operations on multi-core processors while retaining the advantages of the ICB protocol of simple control and ease of use. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 A flowchart of an ICB bus transmission method provided in an embodiment of the present application; Figure 2 A read request signal diagram of the ICB bus provided in an embodiment of the present application; Figure 3 A read return signal diagram of the ICB bus provided in an embodiment of the present application; Figure 4 A write request signal diagram of the ICB bus provided in an embodiment of the present application; Figure 5 A write return signal diagram of the ICB bus provided in an embodiment of the present application; Figure 6 A snoop request signal diagram of the ICB bus provided in an embodiment of the present application; Figure 7 A snoop return signal diagram of the ICB bus provided in an embodiment of the present application; Figure 8 The snoop of the ICB bus provided in the embodiment of the present application returns another signal diagram; Fig. 9 A structural diagram of a multi-core consistent ICB bus transmission system provided in an embodiment of the present application; Fig.10 A schematic diagram of the computer device structure provided for one embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0019] A multi-core processor is a processor that integrates two or more complete computing engines (cores). In this case, the processor can support multiple processors on the system bus, and the bus controller provides all bus control signals and command signals.
[0020] In a multi-core processor system, data consistency is a crucial concept. When multiple processor cores access shared data at the same time, data consistency needs to be ensured to avoid potential errors and conflicts. In a multi-core processor system, since multiple processor cores operate on shared data at the same time, various problems may occur if data consistency is not guaranteed, such as: data conflict: different processor cores perform different operations on the same data, resulting in uncertainty in data results; program errors: program errors caused by inconsistent data may cause system crashes or data corruption; performance degradation: data consistency issues may cause frequent communication and synchronization between processor cores, affecting the overall performance of the system.
[0021] The inventor of the present application found that when facing a single-core situation, the consistency problem only includes the read-write consistency between the CPU cache and the memory, and the mechanism that the bus needs to provide at this time is not complicated. When extended to multi-core or many-core processor application scenarios, the bus needs to fully support the cache consistency protocol. In a multi-core environment, multiple processors share memory. In order to maintain consistency, each core needs to transmit or receive additional sniffing requests when the multiple cores interact. In the existing ICB protocol, there are only ordinary read-write command channels and read-write return channels, and consistency operations are not supported; moreover, other existing bus protocols that support consistency operations are relatively complex to control, and the snoop return channel is set separately, resulting in channel redundancy and excessive hardware overhead.
[0022] For the convenience of description, the English and written descriptions of relevant professional terms in the embodiments of the present application are as follows: ICB protocol: The full name is Internal Chip Bus protocol, which is a custom bus protocol. The protocol is simple to control and has only two independent channels, the command channel and the return channel.
[0023] Invalid: Abbreviated as I, indicating that the cache line is invalid.
[0024] Dirty, Clean: Indicates whether the cache line needs to be updated to the main memory.
[0025] Unique, Shared: Indicates whether the cache line exists in one cache or multiple caches.
[0026] CleanUnique: This transaction is used to store some cache lines when this processor has a copy. CleanUnique clears other copies and, if other copies are dirty, ensures that the dirty cache lines are written back to main memory.
[0027] PassDirty: Indicates that the initial host is required to write to the main memory.
[0028] snoop: "snoop" or "snooping" generally refers to a mechanism by which a component in a system (such as a processor, memory controller, etc.) monitors (snoops on) transmissions on a bus or other communication channel to check whether they correlate with data that it has cached.
[0029] Based on this, see Figure 1 : Embodiment 1:
[0030] The multi-core consistent ICB bus transmission method of the present application includes: S1: The master device sends a read request signal to the slave device through the read command channel. After receiving the read request signal, the slave device sends a read request feedback signal to the master device through the read return channel, so that the master device and the slave device can perform a read operation; S2: The master device sends a write request signal to the slave device through the write command channel. After receiving the write request signal, the slave device sends a write request feedback signal to the master device through the write return channel, so that the master device and the slave device can perform a write operation. S3: The master device sends a consistency request signal to the slave device through the consistency channel. After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device, so that consistency operations are performed between the master device and the slave device.
[0031] In a specific implementation, in order to support consistent operation, the embodiment of the present application adds the following signals to the ICB protocol:
[0032] Table 1 It should be noted that, in this embodiment, the naming of each signal is only for the convenience of description. In fact, in the specific implementation, the signal can be named according to actual needs, and the naming here is not a limitation to the technical solution of this application.
[0033] As shown in Table 1, please refer to Figure 2 , 3 : In the specific implementation, for sending a read request, the master device sends a read operation request to the slave device through the command channel (CommandChannel) of ICB (icb_cmd_read is high), identifies the read snoop type through the snoop signal, and the slave device immediately receives the request (icb_cmd_ready is high). The slave device returns feedback in the same cycle or delayed for a few cycles and the result is correct (icb_rsp_err is low), and identifies whether the data currently returned by the read is shared, unique, or dirty through signals such as Icb_rsp_isshared, Icb_rsp_cluqdata, and Icb_rsp_passdirt. The master device immediately receives the result (icb_rsp_ready is high).
[0034] Further, as shown in Table 1, and please refer to Figure 4 , 5 : In the specific implementation, for the sending of write requests: the master device sends a write operation request to the slave device through the command channel (CommandChannel) of ICB (icb_cmd_read is low), the snoop signal is used to identify the write snoop type, the wr_unique signal identifies whether the data currently being written is in a unique state, the slave device immediately receives the request (icb_cmd_ready is high), the slave device returns feedback in the same cycle or after a delay of several cycles and the result is correct (icb_rsp_err is low), and the master device immediately receives the result (icb_rsp_ready is high).
[0035] Furthermore, in a specific implementation, in order to support consistent operations, the embodiment of the present application adds a consistent channel to the ICB protocol, namely, a snoop command channel:
[0036] Table 2 As shown in Table 1, please refer to Figure 6-8 : In a specific implementation, for the reception of the Snoop request, the master device sends a snoop operation request to the slave device through the snoop command channel (CommandChannel) (ac_valid is high), uses the ac_snoop signal to identify the read snoop type, ac_addr to identify the current snoop address, and Icb_cmd_ac_wayindex to identify the cache line path where the current address is located, and the slave device immediately receives the snoop request (ac_ready is high).
[0037] Furthermore, in a specific implementation, in order to support consistent operations, the embodiment of the present application also has a snoop return channel:
[0038] Table 3 As shown in Tables 1 and 2, please continue to refer to Figure 6-8 : The slave returns snoop feedback (rsp_cr_valid is high), and uses Icb_rsp_isshared, Icb_rsp_cluqdata, Icb_rsp_passdirty and other signals to identify whether the data currently returned by the read is shared, unique, or dirty. The Icb_rsp_cr_transfer signal identifies whether the data currently being transferred is valid, and the master receives the result immediately (rsp_cr_ready is high).
[0039] Based on this, the ICB protocol configured based on the method of this embodiment adds a consistency operation channel on the basis of the existing channel, so that the master device sends a consistency request signal to the slave device through the consistency channel to perform consistency operations between the master device and the slave device. This allows consistent operations on multi-core processors to be achieved while retaining the advantages of the ICB protocol, such as simple control and ease of use, thereby overcoming the defect that the prior art cannot perform consistent operations in multi-core processors.
[0040] Embodiment 2: Based on the above embodiment, step S3 in this embodiment further includes: The master device sends a consistency request signal to the slave device through the consistency channel. After receiving the consistency request signal, the slave device sends data feedback to the master device through the write command channel, and sends a consistency request feedback signal to the master device through the consistency feedback channel, so as to perform consistency operations between the master device and the slave device.
[0041] In a specific implementation, the slave device multiplexes the write command channel of the ICB to send data feedback to the master device, and sends a consistency request feedback signal to the master device through the consistency feedback channel.
[0042] Specifically, this embodiment takes the case where processor core A (coreA) initiates a read request as an example: CoreA first sends a consistency snoop request to the consistency processing module in the multi-core processor through the read command channel. Specifically, the consistency processing module is a physical module device configured in the multi-core processor, which is used to receive the request from the initial processor core (initial core, that is, the core that initiates the request), distribute the conversion request to other processor cores (that is, non-initial processor cores) or the next level storage to obtain the desired data, and then return the response to the initial processor core.
[0043] The consistency processing module converts the read request into a consistency snoop request and sends it to other cores. Other cores send the response of the snoop request and data to the consistency processing module. The consistency processing module then sorts out the correct data and status and sends them to coreA.
[0044] Specifically, in an embodiment of the present application, since the write command channel includes the data that the processor core that initiates the request wants to write to other processor cores, as well as the corresponding address information, it can meet the data required to return snoop feedback. Therefore, in this embodiment, the return snoop feedback data is multiplexed using the write command channel of the ICB; specifically, in this embodiment, the snoop return data channel is the write command channel.
[0045] In addition, in this embodiment, each time the initial core sends a read request to the consistency processing module and after the consistency processing module returns a response to the read request, the initial core will also send a signal to the consistency processing module indicating that the current core has received the response, that is, perform a handshake.
[0046] Based on this, a channel dedicated to snoop return data can be reduced in the bus protocol. Compared with the independent setting of the channel for snoop return data in other consistency bus protocols in the prior art, hardware resources are saved without affecting the correctness of the data.
[0047] Embodiment 3: Based on the above embodiment, step S3 in this embodiment further includes: The master device sends a consistency request signal to the slave device through the consistency channel. After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device through the read command channel to enable consistency operations between the master device and the slave device.
[0048] In a specific implementation, the slave device multiplexes the read command channel of the ICB to return the snoop feedback data.
[0049] Specifically, in a specific implementation, after the consistency processing module is adaptively processed, the snoop feedback can be returned to reuse the read command channel of the ICB; specifically, in this embodiment, the snoop return channel is the read command channel. Specifically, the adaptive processing of the consistency processing module includes distinguishing the snoop type from the snoop type of the ordinary read request when identifying the snoop type, and making the consistency processing module perform a handshake operation, which is integrated into the snoop return value to return the snoop feedback.
[0050] Based on this, a channel dedicated to snoop return can be reduced in the bus protocol. Compared with the independent setting of the snoop return channel in other consistency bus protocols in the prior art, hardware resources are saved without affecting the correctness of data.
[0051] Embodiment 4: Based on the above embodiment, step S3 in this embodiment further includes: After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device in the same cycle.
[0052] In a specific implementation, the slave device returns snoop feedback in the same cycle (rsp_cr_valid is high).
[0053] Specifically, in an embodiment of the present application, the slave device may be selected to provide feedback within the same cycle to improve feedback efficiency and enhance the timeliness of consistent operations in a multi-core processor.
[0054] Embodiment 5: Based on the above embodiment, step S3 in this embodiment further includes: After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device after a preset delay period.
[0055] In a specific implementation, the slave device delays a few cycles to return the snoop feedback (rsp_cr_valid is high).
[0056] Specifically, in the embodiment of the present application, it is possible to select a delay of a few cycles for feedback from the slave device to ensure timing while ensuring data accuracy.
[0057] Embodiment 6: Based on the above embodiment, step S3 in this embodiment further includes: After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device and sends a consistency operation error flag to the master device; the consistency operation error flag includes whether an error occurs during the execution of the consistency operation.
[0058] In a specific implementation, when the slave device returns the snoop feedback (rsp_cr_valid is high), it marks the consistency operation error status, which includes a correct result (rsp_cr_error is low) and an error result (rsp_cr_error is high).
[0059] Based on this, when the consistency operation returns data, you can see whether any errors occurred during the consistency operation, so as to facilitate status recording and troubleshooting, and enhance the status monitoring of the consistency operation.
[0060] Embodiment 7: Based on the above embodiment, step S3 in this embodiment further includes: The master device sends a consistency request signal to the slave device through the consistency channel. After receiving the consistency request signal, the slave device returns a consistency operation acceptance signal to the master device through the consistency channel and sends a consistency request feedback signal to the master device. After receiving the consistency request feedback signal, the master device returns a consistency feedback acceptance signal to the slave device, so that a consistency operation can be performed between the master device and the slave device.
[0061] In the specific implementation, the master and slave devices receive the request and accept the request before proceeding to the next step. Based on this, the order of device communication between the master and slave devices can be enhanced, and errors in communication between the master and slave devices can be avoided.
[0062] It should be understood that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0063] See also Fig. 9 An embodiment of the present application provides a multi-core consistent ICB bus transmission system, including: The read operation unit 10 is used to instruct the master device to send a read request signal to the slave device through a read command channel. After receiving the read request signal, the slave device sends a read request feedback signal to the master device through a read return channel, so that a read operation is performed between the master device and the slave device. A write operation unit 20, used to instruct the master device to send a write request signal to the slave device through a write command channel, and after receiving the write request signal, the slave device sends a write request feedback signal to the master device through a write return channel, so that a write operation is performed between the master device and the slave device; The consistency operation unit 30 is used to enable the master device to send a consistency request signal to the slave device through the consistency channel. After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device to perform consistency operation between the master device and the slave device.
[0064] For the specific limitations of the above-mentioned multi-core consistency ICB bus transmission system, please refer to the limitations of the multi-core consistency ICB bus transmission method above, which will not be repeated here. Each unit in the above-mentioned multi-core consistency ICB bus transmission system can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned units can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned units.
[0065] In one embodiment, a computer device is provided, the internal structure diagram of which can be as follows: Fig.10 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a multi-core consistent ICB bus transmission method as above is implemented. It includes: a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, any step in the above video signal processing method is implemented.
[0066] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any step in the above multi-core consistent ICB bus transmission method can be implemented.
[0067] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program codes. The scheme in the embodiments of the present application may be implemented in various computer languages, for example, C language, VHDL language, Verilog language, object-oriented programming language Java, and literal scripting language JavaScript, etc.
[0068] The present application is described with reference to the flowcharts and / or block diagrams of the methods, systems, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0069] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0070] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0071] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0072] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0073] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A multi-core consistent ICB bus transmission method, characterized in that: include: The master device sends a read request signal to the slave device through a read command channel, and after receiving the read request signal, the slave device sends a read request feedback signal to the master device through a read return channel, so that a read operation is performed between the master device and the slave device; The master device sends a write request signal to the slave device through a write command channel, and after receiving the write request signal, the slave device sends a write request feedback signal to the master device through a write return channel, so that a write operation is performed between the master device and the slave device; The master device sends a consistency request signal to the slave device through a consistency channel. After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device, so that a consistency operation is performed between the master device and the slave device.
2. The multi-core consistent ICB bus transmission method according to claim 1, characterized in that: The master device sends a consistency request signal to the slave device through a consistency channel, and after receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device, so that the master device and the slave device perform a consistency operation, the step further includes: The master device sends a consistency request signal to the slave device through a consistency channel. After receiving the consistency request signal, the slave device sends data feedback to the master device through the write command channel, and sends a consistency request feedback signal to the master device through a consistency feedback channel, so as to perform consistency operations between the master device and the slave device.
3. The multi-core consistent ICB bus transmission method according to claim 1, characterized in that: The master device sends a consistency request signal to the slave device through a consistency channel, and after receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device, so that the master device and the slave device perform a consistency operation, the step further includes: The master device sends a consistency request signal to the slave device through a consistency channel. After receiving the consistency request signal, the slave device sends data feedback to the master device through the read command channel, and sends a consistency request feedback signal to the master device through a consistency feedback channel, so that consistency operations are performed between the master device and the slave device.
4. The multi-core consistent ICB bus transmission method according to any one of claims 1 to 3, characterized in that: The master device sends a consistency request signal to the slave device through a consistency channel, and after receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device, so that the master device and the slave device perform a consistency operation, the step further includes: After receiving the consistency request signal, the slave device sends the consistency request feedback signal to the master device in the same cycle.
5. The multi-core consistent ICB bus transmission method according to any one of claims 1 to 3, characterized in that: The master device sends a consistency request signal to the slave device through a consistency channel, and after receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device, so that the master device and the slave device perform a consistency operation, the step further includes: After receiving the consistency request signal, the slave device sends the consistency request feedback signal to the master device after a preset delay period.
6. The multi-core consistent ICB bus transmission method according to any one of claims 1 to 3, characterized in that: The master device sends a consistency request signal to the slave device through a consistency channel, and after receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device, so that the master device and the slave device perform a consistency operation, the step further includes: After receiving the consistency request signal, the slave device sends the consistency request feedback signal to the master device and sends a consistency operation error flag to the master device; the consistency operation error flag includes whether an error occurs during the execution of the consistency operation.
7. The multi-core consistent ICB bus transmission method according to any one of claims 1 to 3, characterized in that: The master device sends a consistency request signal to the slave device through a consistency channel, and after receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device, so that the master device and the slave device perform a consistency operation, the step further includes: The master device sends a consistency request signal to the slave device through a consistency channel, and after receiving the consistency request signal, the slave device returns a consistency operation acceptance signal to the master device through the consistency channel, and sends a consistency request feedback signal to the master device; After receiving the consistency request feedback signal, the master device returns a consistency feedback acceptance signal to the slave device, so that a consistency operation is performed between the master device and the slave device.
8. A multi-core consistent ICB bus transmission system, characterized in that: include: A read operation unit, used to instruct the master device to send a read request signal to the slave device through a read command channel, and after receiving the read request signal, the slave device sends a read request feedback signal to the master device through a read return channel, so that a read operation is performed between the master device and the slave device; A write operation unit, configured to enable the master device to send a write request signal to the slave device through a write command channel, and after receiving the write request signal, the slave device sends a write request feedback signal to the master device through a write return channel, so that a write operation is performed between the master device and the slave device; A consistency operation unit is used to enable the master device to send a consistency request signal to the slave device through a consistency channel. After receiving the consistency request signal, the slave device sends a consistency request feedback signal to the master device, so that a consistency operation is performed between the master device and the slave device.
9. A computer device, characterized in that: include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon; the computer program is executed by a processor to implement the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Multiprocessor system and Cache consistency message transmission method
CN101430664A
L2 Cache, uniformity implementation method for L2 Cache, and data processing system
CN105468540A
ICB bus system and protocol
CN109032973A
Filtering coherency protocol transactions
US20180157590A1
