Method and system for controlling data response by using attributes of transaction identification code

By transmitting attributes in the transaction identification code, determining and using the optimal data path to respond, the problem of command response data being blocked is solved, and data response efficiency and system performance are improved.

CN113448899BActive Publication Date: 2024-09-06REALTEK SEMICON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010218246.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-25
Publication Date
2024-09-06
Estimated Expiration
2040-03-25

AI Technical Summary

Technical Problem

In the system, the response data of a specific instruction may be blocked by the response data of other instructions, resulting in an increase in data response delay time, and it is difficult for existing technology to effectively solve this problem.

Method used

By transmitting its attributes in the transaction identification code, it is determined whether to use a specific data path among multiple data paths for response, ensuring that irrelevant instruction data will not be blocked by the response data of other instructions, thereby optimizing data response efficiency.

Benefits of technology

It achieves optimization of data response efficiency without increasing additional costs, avoids the situation where response data is blocked, and improves the overall response performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113448899B
    Figure CN113448899B
Patent Text Reader

Abstract

The present application provides a method and system for controlling data response by means of at least one attribute of a transaction identification code. The method comprises: transmitting the at least one attribute together with the transaction identification code from any one of one or more master devices to a slave device; and determining whether to use a specific data path among multiple data paths to respond data corresponding to the transaction identification code from a storage device in the slave device to any of the master devices according to the at least one attribute. Specifically, the specific data path is a data path with the highest transmission efficiency among the multiple data paths.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to data response control, and more particularly to a method and system for controlling data response by means of at least one attribute of a transaction identifier. Background Art

[0002] Many transmission interfaces in a system may be configured with a read re-order buffer to allow the system to reorder multiple unrelated instructions issued simultaneously to achieve optimized response efficiency. However, although a specific instruction is unrelated to other instructions (indicating that these instructions can be reordered), the response data of the specific instruction may be blocked by the response data of the other instructions in some cases, thereby significantly increasing the delay time of the data response.

[0003] Therefore, a novel data response control mechanism and related system are needed to allow the response data of a specific instruction that is irrelevant to other instructions to not be blocked by the response data of other instructions, so as to achieve the best data response efficiency. Summary of the invention

[0004] An object of the present invention is to provide a method and system for controlling data response by means of at least one attribute of a transaction identification code, so as to allow the response data of a specific instruction that is irrelevant to other instructions not to be blocked by the response data of other instructions, thereby achieving optimal data response efficiency.

[0005] At least one embodiment of the present invention provides a method for controlling data response by means of at least one attribute of a transaction identification code. The method comprises: transmitting the at least one attribute together with the transaction identification code from any one of one or more master devices to a slave device; and determining whether to use a specific data path among multiple data paths to respond data corresponding to the transaction identification code from a storage device in the slave device to the any one of the master devices according to the at least one attribute. For example, the specific data path may be a data path with the highest transmission efficiency among the multiple data paths.

[0006] At least one embodiment of the present invention provides a system for controlling data response by means of at least one attribute of a transaction identification code. The system includes a slave device and one or more master devices, wherein the one or more master devices are coupled to the slave device via a transmission interface circuit. The slave device may include a storage device for storing data, and the one or more master devices may obtain the data stored in the storage device via the transmission interface circuit. Specifically, any one of the one or more master devices may transmit the at least one attribute together with the transaction identification code to the slave device; and based on the at least one attribute, the slave device may determine whether to use a specific data path among multiple data paths to respond the data corresponding to the transaction identification code from the storage device to any of the master devices. For example, the specific data path is the data path with the highest transmission efficiency among the multiple data paths.

[0007] The method and system provided by the embodiments of the present invention can transmit the attributes of a transaction identification code together with the transaction identification code to determine whether to use a bypass path to optimize the efficiency of data response. Compared with the related art, the embodiments of the present invention will not significantly increase the additional cost. Therefore, the present invention can solve the problems of the related art without side effects or with less side effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 Some implementation details of a read reorder buffer in a read operation according to an embodiment of the present invention are shown.

[0009] Figure 2 FIG. 4 is a schematic diagram of a system for controlling data response by using at least one attribute of a transaction identification code according to an embodiment of the present invention.

[0010] Figure 3 The present invention is a workflow of a method for controlling data response by means of at least one attribute of a tag identification code according to an embodiment of the present invention.

[0011] Figure 4 According to an embodiment of the present invention Figure 2 Certain implementation details of a slave device in the system are shown in the case where a tag identification code is unique in the system.

[0012] Figure 5 According to an embodiment of the present invention Figure 2 Certain implementation details of a slave device in the system are shown in the case where a tag identification code is not unique in the system.

[0013] Figure 6 The present invention is a workflow of a method for controlling data response by means of at least one attribute of a tag identification code according to an embodiment of the present invention.

[0014] Figure 7 According to an embodiment of the present invention Figure 2 Certain implementation details of a slave device in the system are shown in the case where a tag identification code is unique in the system.

[0015] Figure 8 According to an embodiment of the present invention Figure 2 Certain implementation details of a slave device in the system are shown in the case where a tag identification code is not unique in the system.

[0016]

Explanation of symbols

[0017] 100: System

[0018] 120_1,120_n,120_N: Main device

[0019] 140: Slave device

[0020] 10,141: Atomizer

[0021] 20,142: Read reorder buffer

[0022] 30,143: Storage device

[0023] 142A, 142B: Storage area

[0024] 160: Transmission interface circuit

[0025] 162_1,162_N: Main interface

[0026] 164: From interface

[0027] Master_Tag_ID(0),Master_Tag_ID(n),Master_Tag_ID(N): Tag identification code

[0028] Master_ID(0),Master_ID(n),Master_ID(N),Is_unique_ID(0),Is_unique_ID(n),

[0029] Is_unique_ID(N):Attribute

[0030] 302~324,402~424: Steps

[0031] 200: Tag identification code image and read reorder buffer controller

[0032] 220: Control circuit

[0033] 240,280: Select circuit

[0034] 260: Image Circuit

[0035] Tag_ID: Tag identification code

[0036] Group_ID: Group identification code

[0037] W_pointer: write pointer

[0038] R_pointer: read pointer

[0039] cmd_index,RRB_index: index DETAILED DESCRIPTION

[0040] Figure 1 Some implementation details of a read re-order buffer (RRB) 20 in a read operation according to an embodiment of the present invention, wherein the read re-order buffer may be coupled between an atomizer 10 and a storage device 30. Figure 1As shown, the arrow marked "read instruction request" may indicate the direction of the read instruction request in the read operation, and the arrow marked "read data response" may indicate the direction of the read data response in the read operation. In the case where the storage device 30 receives a fixed burst length for access control, the atomizer 10 reads an instruction with a transaction identifier (ID) such as a tag identifier, and then chops the transaction to generate a plurality of burst truncation instructions with the above-mentioned fixed burst length, and assigns an index such as rrb_index to each of the plurality of burst truncation instructions, and then stores the tag identifier with the index rrb_index in the read reorder buffer. The storage device 30 may read the burst truncation instruction with index rrb_index and respond accordingly with valid data with rrb_index, so as to allow the read reorder buffer 20 to store the valid response with index rrb_index, wherein the storage device 30 may respond to data in an out-of-order manner to optimize the overall read performance (e.g., minimize read latency and increase utilization of dynamic out-of-order access), and examples of the storage device 30 may include random access memory (RAM) such as static RAM (SRAM) and dynamic RAM (DRAM). In some embodiments, the read reorder buffer 20 may be implemented using a first in first out (FIFO) buffer, and the atomizer 10 may obtain a tag such as a flag and an index of the bottom entry of the read reorder buffer 20 (in Figure 1 ) and obtains a valid response including a tag identifier from the top of the read reorder buffer 20 (in Figure 1 Marked as "Get valid response (including tag identification code) from the top of RRB") to allow the atomizer 10 to respond to data with tag identification codes in order.

[0041] In some embodiments, the storage device 30 can use different burst lengths for access control, so the atomizer 10 can be replaced by a wrapper to transmit the complete instruction to the storage device 30 without truncating the tag identification code, but the present invention is not limited to this. For ease of understanding, the following embodiments can be described by using the storage device 30 to perform access control with a fixed burst length.

[0042] Figure 2FIG. 1 is a schematic diagram of a system 100 for controlling data response by using at least one attribute of a transaction identification code according to an embodiment of the present invention. Figure 2 As shown, the system 100 may include a slave device 140 and one or more master devices such as N master devices 120_1, ... and 120_N, where N is a positive integer. The slave device 140 may include an atomizer 141, a read reorder buffer 142, and a storage device 143, wherein the atomizer 10, the read reorder buffer 20, and the storage device 30 may be respectively used as Figure 1An example of an atomizer 141, a read reorder buffer 142, and a storage device 143 is shown. In the present embodiment, the storage device 143 may be used to store data. In the present embodiment, the one or more master devices such as master devices 120_1, ..., and 120_N may be coupled to the slave device 140 via a transmission interface circuit 160 (e.g., a Network-on-Chip (NoC) or a bus / interconnection circuit) to obtain data stored in the storage device 143. For example, the master device 120_1 may be coupled to the transmission interface circuit 160 via a master interface 162_1, the master device 120_N may be coupled to the transmission interface circuit 160 via a master interface 162_N, and the slave device 140 may be coupled to the transmission interface circuit 160 via a slave interface 164, but the present invention is not limited thereto. In this embodiment, any master device among the master devices 120_1 , . . . , and 120_N (eg, the master device 120_n, where n is any integer between 1 and N) may transmit the at least one attribute together with the transaction identification code to the slave device 140 . For example, the master device 120_1 may utilize the master core circuit therein to send a transaction identification code such as the tag identification code Master_Tag_ID(0), and utilize the core encapsulator therein to add the attribute Is_unique_ID(0) of the tag identification code Master_Tag_ID(0) by means of an extended field, and the master interface 162_1 may further add the attribute Master_ID(0) of the tag identification code Master_Tag_ID(0) by means of an extended field; and similarly, the master device 120_N may utilize the master core circuit therein to send a transaction identification code such as the tag identification code Master_Tag_ID(N), and utilize the core encapsulator therein to add the attribute Is_unique_ID(N) of the tag identification code Master_Tag_ID(0) by means of an extended field, and the master interface 162_N may further add the attribute Master_ID(0) of the tag identification code Master_Tag_ID(0) by means of an extended field. The tag identification code Master_Tag_ID(n) may represent a transaction identification code issued by the main core circuit in the autonomous device 120_n, the attribute Is_unique_ID(n) may indicate whether the tag identification code Master_Tag_ID(n) is unique in the entire system 100, and the attribute Master_ID(n) indicates that Master_Tag_ID(n) is issued by the autonomous device 120_n.

[0043] Specifically, if any two transaction identification codes are the same, it means that the two transaction identification codes must respond to the corresponding data in order (e.g., respond in a predetermined order); and if the two transaction identification codes are different, it means that the corresponding data of the two transaction identification codes can be reordered (e.g., not necessarily respond in the predetermined order) to optimize the efficiency of data response. When a certain instruction has the requirement to obtain response data quickly, the system developer can give this instruction a unique identification code, indicating that the response data corresponding to this identification code can be reordered to respond to the data with the minimum delay time.

[0044] In order to enable the slave device 140 to determine whether the tag identification code Master_Tag_ID(n) is a unique identification code in the system 100 without a built-in lookup table, the master device 120_n may transmit the attribute Is_unique_ID(n) together with the tag identification code Master_Tag_ID(n) from the master device 120_n to the slave device 140. According to the attribute Is_unique_ID(n), the slave device 140 may determine whether to respond the data corresponding to the tag identification code Master_Tag_ID(n) from the storage device 143 to the master device 120_n using a specific data path among a plurality of data paths, wherein the specific data path is a data path with the highest transmission efficiency among the plurality of data paths. For example, when the attribute Is_unique_ID(n) indicates that the tag identification code Master_Tag_ID(n) is not unique in the system 100 (e.g., Is_unique_ID(n) is “0”), the read reorder buffer 142 may receive data corresponding to the tag identification code Master_Tag_ID(n) from the storage device 143 to allow the data to be responded to the master device 120_n in an orderly manner (e.g., according to the above-mentioned predetermined order) from the slave device 140. For another example, when the attribute Is_unique_ID(n) indicates that the tag identification code Master_Tag_ID(n) is unique in the system 100 (e.g., Is_unique_ID(n) is “1”), the slave device 140 may utilize a bypass path to directly respond the data corresponding to the tag identification code Master_Tag_ID(n) from the storage device 143 to the master device 120_n without passing through the read reorder buffer 142. This means that the data corresponding to the unique transaction identification code will not fail to respond because other data in the read reorder buffer 142 is not ready yet, thereby ensuring the data response efficiency of the unique transaction identification code.

[0045] Figure 3 The following is a workflow of a method for controlling data response by using at least one attribute of a tag identification code Tag_ID according to an embodiment of the present invention. Figure 4 According to an embodiment of the present invention Figure 2 The slave device 140 is shown in some implementation details when the tag identification code Tag_ID is unique in the system 100. Figure 5 According to an embodiment of the present invention Figure 2 The slave device 140 is shown in some implementation details when the tag identification code Tag_ID is not unique in the system 100, wherein in this embodiment, the length of the tag identification code Tag_ID is less than or equal to the burst length when the storage device 140 performs access control. It should be noted that, Figure 3 The workflow shown is for illustrative purposes only and is not intended to be limiting of the present invention, and one or more steps may be added, deleted, or modified in the workflow. In addition, the steps do not necessarily have to be followed exactly to achieve the same result. Figure 3 In addition, the tag identification code Tag_ID can be Figure 2 The example of the tag identification code {Master_Tag_ID(n), Master_ID(n), Is_unique_ID(n)} is shown, wherein the lowest bit of the tag identification code Tag_ID (represented by Tag_ID[0]) can be an example of Is_unique_ID(n), and the other bits of the tag identification code Tag_ID (represented by Tag_ID[k:1]) can be an example of {Master_Tag_ID(n), Master_ID(n)}. In addition, the read reorder buffer 142 can be integrated with other related control circuits in a tag identification code map and read reorder buffer controller 200, and in particular, the read reorder buffer 142 can include storage areas 142A and 142B, but the present invention is not limited thereto.

[0046] In step 302 , the slave device 140 may read a command with a tag identification code Tag_ID.

[0047] In step 304 , the slave device 140 may determine whether the tag identification code Tag_ID is unique in the system 100 , for example, by determining whether the tag identification code Tag_ID is unique in the system 100 based on Tag_ID[0]. If yes, proceed to step 312 ; otherwise, proceed to step 306 .

[0048] In step 306 , the slave device 140 may check whether the read reorder buffer 142 (eg, storage area 142A and / or 142B) is full. If so, it means that the command cannot be received at this time, and the process proceeds to step 308 ; otherwise, the process proceeds to step 310 .

[0049] In step 308 , since the slave device 140 (eg, the RRB 142 therein) is not ready to receive the data corresponding to the command and the response, the process returns to step 306 for reconfirmation until the RRB 142 has space.

[0050] In step 310, since Tag_ID[0] indicates that the tag identification code Tag_ID is not unique in the system 100 (e.g., Tag_ID[0] is 1'b0), the slave device 140 may allocate one or more entries of the read reorder buffer 142 to store the tag identification code Tag_ID, and the tag identification code image and a control circuit 220 in the read reorder buffer controller 200 send the index cmd_index and attribute Tag_ID[0] (e.g., 1'b0) of the one or more entries to the storage device 143 with the read identification code {cmd_index, 1'b0} after adding the padding bit, as shown in FIG. Figure 4 In addition, each of the one or more entries may include a valid bit, Tag_ID[k:1], Tag_ID[0], a data valid counter, a write pointer W_pointer, and a read pointer R_pointer, but the present invention is not limited thereto.

[0051] In step 312, since Tag_ID[0] indicates that the tag identification code Tag_ID is unique in the system 100 (e.g., Tag_ID[0] is 1′b1), the slave device 140 can bypass the read reorder buffer 142, and the control circuit 220 in the slave device 140 can directly send the tag identification code Tag_ID to the storage device 143 with the read identification code {Tag_ID[k:1], 1′b1} after adding the padding bit, as shown in FIG. Figure 5 shown.

[0052] In step 314 , the storage device 143 may respond with data according to the received instruction (eg, the aforementioned read identification code).

[0053] In step 316, the storage device 143 can determine whether the tag identification code corresponding to the data is unique according to the least significant bit of the response identification code. If so, for example, the response identification code is {Tag_ID[k:1],1'b1} Figure 5 As shown, go to step 322; otherwise, for example, the response identification code is {cmd_index, 1'b0} Figure 4 As shown, proceed to step 318.

[0054] In step 318, the slave device 140 may use the read reorder buffer write index {cmd_index, W_pointer} (which may correspond to the index RRB_index of the storage area 142B) to store the response data in the storage area 142B in the read reorder buffer 142, such as Figure 4 shown.

[0055] In step 320, the slave device 140 may output valid data and the tag identification code Tag_ID from the top entry of the read reorder buffer 142 (e.g., the storage area 142A and / or 142B) through the tag identification code image and a selection circuit 240 (labeled as "MUX" for simplicity) in the read reorder buffer controller 200, for example, reading the valid data from the storage area 142B according to the read index {cmd_index, R_pointer} (which may correspond to the index RRB_index of the storage area 142B), such as Figure 4 shown.

[0056] In step 322, the slave device 140 may bypass the read reorder buffer 140 and remove the padding bits from the tag identification code. That is, the selection circuit 240 uses a bypass path to directly output the tag identification code Tag_ID and the response data from the storage device 143, avoiding transmission through the read reorder buffer 142 (that is, the data will not enter the read reorder buffer 142). Figure 5 shown.

[0057] In step 324, the slave device 140 may respond with data to the master device (eg, master device 120_n).

[0058] As described above, since the storage device 143 performs access control with the fixed burst length and the length of the tag identification code Tag_ID is less than or equal to the fixed burst length, if the tag identification code Tag_ID is unique in the system 100 (Tag_ID[0] is 1'b1), the tag identification code mapping and read reorder buffer controller 200 can directly transmit the tag identification code Tag_ID to the storage device 143 to avoid storing the tag identification code in the read reorder buffer 142 (e.g., storage area 142A), and when responding to data, the data corresponding to the tag identification code Tag_ID can be directly responded to the master device 120_n from the storage device 143 to avoid being transmitted through the read reorder buffer 142. Therefore, when the tag identification code Tag_ID is unique in the system 100, the slave device 140 can respond to the data with optimized efficiency without being blocked due to waiting for the data in the read reorder buffer 142.

[0059] Figure 6The following is a workflow of a method for controlling data response by means of at least one attribute of a tag identification code Tag_ID according to an embodiment of the present invention. In this embodiment, the length of the tag identification code Tag_ID is greater than the length of the tag identification code used by the storage device 140 for access control. It should be noted that, Figure 6 The workflow shown is for illustrative purposes only and is not intended to be limiting of the present invention, and one or more steps may be added, deleted, or modified in the workflow. In addition, the steps do not necessarily have to be followed exactly to achieve the same result. Figure 6 Execute in the order shown. Figure 7 According to an embodiment of the present invention Figure 2 The implementation details of the slave device 140 when the tag identification code Tag_ID is unique in the system 100 are shown. In addition, when the length of the tag identification code Tag_ID is greater than the tag identification code length used when the storage device 140 performs access control, the implementation details of the slave device 140 when the tag identification code Tag_ID is not unique in the system 100 can be referred to. Figure 4 .

[0060] In step 402 , the slave device 140 may read a command with a tag identification code Tag_ID.

[0061] In step 406 , the slave device 140 may check whether the read reorder buffer 142 (eg, storage area 142A and / or 142B) is full. If so, it means that the command cannot be received at this time, and the process proceeds to step 408 ; otherwise, the process proceeds to step 410 .

[0062] In step 408 , since the slave device 140 (eg, the RRB 142 therein) is not ready to receive the data corresponding to the command and response, the process returns to step 406 for reconfirmation until the RRB 142 has space.

[0063] In step 410, regardless of whether the tag identification code Tag_ID is unique in the system 100, the slave device 140 may allocate the one or more entries of the read reorder buffer 142 to store the tag identification code Tag_ID, and the control circuit 220 may send the index cmd_index and attribute Tag_ID[0] (e.g., 1'b0 or 1'b1) of the one or more entries to the storage device 143 using the read identification code {cmd_index, Tag_ID[0]}. For example, the control circuit 220 sends {cmd_index, 1'b0}, such as Figure 4 As shown; for another example, the control circuit 220 sends {cmd_index, 1'b1}, such as Figure 7 shown.

[0064] In step 414 , the storage device 143 may respond with data according to the received instruction (eg, the aforementioned read identification code).

[0065] In step 416, the storage device 143 can determine whether the tag identification code corresponding to the data is unique based on the least significant bit of the response identification code. If so, for example, the response identification code is {cmd_index, 1'b1} Figure 7 As shown, go to step 422; otherwise, for example, the response identification code is {cmd_index, 1'b0} Figure 4 As shown, proceed to step 418.

[0066] In step 418, the slave device 140 may use the read reorder buffer write index {cmd_index, W_pointer} (which may correspond to the index RRB_index of the storage area 142B) to store the response data in the storage area 142B in the read reorder buffer 142, such as Figure 4 shown.

[0067] In step 420, the slave device 140 may output valid data and the tag identification code Tag_ID from the top entry of the read reorder buffer 142 (e.g., the storage area 142A and / or 142B) through the tag identification code image and the selection circuit 240 in the read reorder buffer controller 200, for example, reading the valid data from the storage area 142B according to the read index {cmd_index, R_pointer} (which may correspond to the index RRB_index of the storage area 142B), such as Figure 4 shown.

[0068] In step 422, the slave device 140 may use the index cmd_index to retrieve the tag identification code Tag_ID from the read reorder buffer 142 (e.g., the storage area 142A therein), and directly respond to the data corresponding to the tag identification code Tag_ID and the tag identification code Tag_ID, thereby avoiding transmitting the data through the read reorder buffer 142 (i.e., the data will not enter the read reorder buffer 142, such as the storage area 142B therein), as shown in FIG. Figure 5 shown.

[0069] In step 424, the slave device 140 may respond with data to the master device (eg, master device 120_n).

[0070] As described above, since the storage device 143 performs access control with the fixed burst length and the length of the tag identification code Tag_ID is greater than the tag identification code used for the fixed burst length, if the tag identification code Tag_ID is unique in the system 100 (Tag_ID[0] is 1'b1), the atomizer 141 can truncate the tag identification code Tag_ID to generate multiple burst truncation instructions (such as fixed-size read instructions) with the fixed burst length to allow the tag identification code image and read The fetch reorder buffer controller 200 stores the tag identification code Tag_ID in the fetch reorder buffer 142 (e.g., the storage area 142A), and uses the plurality of burst interception instructions to obtain data corresponding to the tag identification code Tag_ID from the storage device 143, and then uses the specific data path (e.g., the bypass path) to respond to the master device 120_n together with the tag identification code Tag_ID stored in the storage area 142A in the fetch reorder buffer 142. Therefore, when the tag identification code Tag_ID is unique in the system 100, the slave device 140 can respond to the data with optimized efficiency, and will not be blocked in responding to the data due to waiting for the data in the fetch reorder buffer 142.

[0071] In addition to the attribute Is_unique_ID(n), the slave device 140 may also refer to the attribute Master_ID(n) to control data response. For example, if some tag identification codes are not unique in the system 100, but these tag identification codes come from different master devices (the attributes Master_ID(n) of these tag identification codes are different from each other), the response order of the data corresponding to these tag identification codes can be reordered. Figure 8 According to an embodiment of the present invention Figure 2 The slave device 140 is shown with some implementation details when the tag identification code Tag_ID is not unique in the system 100 .

[0072] For example, in step 410, the slave device 140 may allocate the one or more entries of the read reorder buffer 142 and group them according to the attribute Master_ID(n) (e.g., by mapping the attribute Master_ID(n) to the group identifier Group_ID through a tag identifier mapping and a mapping circuit 260 in the read reorder buffer controller 200, such as Figure 8As shown in FIG. 4 , the control circuit 220 may use the index cmd_index to store the tag identification code Tag_ID and the group identification code Group_ID, and the control circuit 220 may use the read identification code {cmd_index, Tag_ID[0]} to send the index cmd_index and the attribute Tag_ID[0] (e.g., 1'b0 or 1'b1) of the one or more entries to the storage device 143. In addition, in step 420, the slave device 140 may select a corresponding group from a plurality of groups in the storage area 142B according to the group identification code Group_ID through the tag identification code image and the selection circuit 280 (labeled as "MUX" for simplicity) in the read reorder buffer controller 200, and then use the selection circuit 240 to output the valid data and the tag identification code Tag_ID from the top entry of the read reorder buffer 142 (e.g., the corresponding group in the storage area 142A and / or 142B), as shown in FIG. Figure 8 shown.

[0073] As described above, since the read reorder buffer 142 can be grouped into multiple groups corresponding to the master devices 120_1, ... and 120_N respectively, the data response operations of the transaction identification codes from different master devices can be performed independently, so that when the slave device 140 receives multiple read instructions from different master devices, the corresponding response data can be reordered to achieve optimized performance.

[0074] Additionally, in some embodiments, Figure 2 The transmission interface circuit shown may include a plurality of data paths, and the plurality of data paths may include a dedicated data path (which may be an example of the specific data path mentioned above) dedicated to transmitting data corresponding to the unique transaction identification code.

[0075] In addition, in the above embodiments, the at least one attribute (e.g., attribute Is_unique_ID(n)) is transmitted using an extended field (e.g., Tag_ID[0]) of the transaction identification code. In other embodiments, the at least one attribute may be transmitted using a sideband channel. Any information about the attribute of the transaction identification code (e.g., whether the transaction identification code is unique in the system 100) can be transmitted to the slave device 140 so that the slave device 140 can determine whether to provide a dedicated channel to respond to the data, which belongs to the scope of the present invention.

[0076] In summary, when the master device 120_n transmits a command, it can transmit the attribute information of the command to the slave device 140 together, so as to allow the slave device 140 to provide a corresponding data response path according to the attribute information, so as to achieve optimized performance. For example, when a part of the attribute information indicates that the tag identification code of the command is unique in the system, the data corresponding to the command can be responded through a dedicated signal path; for another example, when the part of the attribute information indicates that the tag identification code of the command is not unique in the system, the slave device 140 can determine which master device the command comes from based on another part of the command, so as to allow the data required by different master devices to be responded in a disorderly manner. Therefore, the present invention can fully utilize the advantages of responding to data in a disorderly manner and improve the overall performance of the system.

[0077] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the claims of this application should fall within the scope of the present invention.

Claims

1. A method for controlling a data response by means of at least one attribute of a transaction identifier, It is characterized in that The method includes: transmitting the at least one attribute together with the transaction identification code from any one of the one or more master devices to a slave device; as well as Determining whether to use a specific data path among a plurality of data paths to respond data corresponding to the transaction identification code from a storage device in the slave device to any of the master devices based on the at least one attribute; wherein the specific data path is a data path having the maximum transmission efficiency among the multiple data paths; The slave device includes a read reorder buffer for responding out-of-order data from the storage device to any of the master devices in an ordered manner; and the specific data path includes a bypass path for responding the data corresponding to the transaction identification code from the storage device directly to any of the master devices without transmitting through the read reorder buffer.

2. The method according to claim 1, It is characterized in that The at least one attribute indicates whether the transaction identification code is unique in the entire system, and the entire system includes the one or more master devices and the slave device.

3. The method according to claim 1, It is characterized in that Also includes: Because the storage device performs access control with a fixed burst length, the length of the transaction identification code is less than or equal to the fixed burst length, and the at least one attribute indicates that the transaction identification code is unique in the entire system, the transaction identification code is directly transmitted to the storage device to avoid storing the transaction identification code in the read reorder buffer.

4. The method according to claim 1, It is characterized in that Also includes: In response to the storage device performing access control with a fixed burst length and the length of the transaction identification code being greater than the fixed burst length, truncating the transaction identification code to generate a plurality of burst truncation instructions having the fixed burst length, and storing the transaction identification code in the read reorder buffer; Retrieving the data corresponding to the transaction identification code from the storage device using the plurality of burst interception instructions; as well as The transaction identification code stored in the read reorder buffer and the data corresponding to the transaction identification code are responded to any one of the master devices by using the specific data path.

5. The method according to claim 2, It is characterized in that Any one of the master devices and the slave device are coupled to each other via a transmission interface circuit, the transmission interface circuit includes the plurality of data paths, and the specific data path is dedicated to responding to data corresponding to a unique transaction identification code.

6. The method according to claim 1, It is characterized in that The at least one attribute is transmitted using an extension field of the transaction identifier or a sideband channel.

7. A system for controlling data responses by means of at least one attribute of a transaction identifier, It is characterized in that Include: a slave device comprising a storage device for storing data; One or more master devices, coupled to the slave device via a transmission interface circuit, for obtaining data stored in the storage device; in: Any of the one or more master devices transmits the at least one attribute together with the transaction identification code to the slave device; and Based on the at least one attribute, the slave device determines whether to use a specific data path among a plurality of data paths to respond data corresponding to the transaction identification code from the storage device to any of the master devices; wherein the at least one attribute indicates whether the transaction identification code is unique in the entire system, the entire system includes the one or more master devices and the slave device, and the specific data path is a data path with the greatest transmission efficiency among the multiple data paths; The slave device comprises: a read reorder buffer coupled to the memory device, for responding out-of-order data from the memory device from the slave device to any one of the master devices in an ordered manner; and This specific data path contains: A bypass path is used to directly respond the data corresponding to the transaction identification code from the storage device to any of the master devices without transmitting through the read reorder buffer.

8. The system of claim 7, It is characterized in that The at least one attribute is transmitted using an extension field of the transaction identifier or a sideband channel.