System on chip, access command routing method and terminal
By introducing address range configuration labels into the SOC chip, the bus determines how access commands are routed to the system cache or external memory, solving the problems of low IP core access hit rate and high chip power consumption, and achieving more efficient data processing.
Patent Information
- Application Number
- CN201980067620.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-02-21
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2039-02-21
AI Technical Summary
In the existing technology, the IP core access hit rate of the SOC chip is low, resulting in high chip access power consumption.
By introducing an address range configuration label into the on-chip system, the bus determines whether the access command is routed to the system cache (SC) or external memory based on the label, thereby avoiding that all access commands must first be query matched in the SC, improving the access hit rate and reducing the cost power consumption.
It improves the access hit rate of the IP core, reduces system power consumption, and optimizes data processing efficiency.
Smart Images

Figure CN112840327B
Abstract
Description
Technical Field
[0001] The present application relates to the field of chip technology, and in particular to a system on chip, a routing method for access commands, and a terminal. Background Art
[0002] System on chip (SOC) chip is an integrated circuit that integrates multiple electronic systems on the same chip. It is widely used in terminal devices such as mobile phones and PDAs. SOC is usually composed of multiple intellectual property (IP) cores, which are connected to external memory through a bus to interact with programs and data. Each IP core can be regarded as a pre-designed circuit function module for implementing corresponding functions. Among them, IP cores can be central processing unit (CPU), application processor (AP), graphics processing unit (GPU), multimedia subsystem (video subsystem), camera subsystem (camera subsystem), wireless access module (modem), display subsystem (display subsystem), etc.
[0003] For example, the structure of a SOC may be as follows: Figure 1 As shown. Figure 1 In the example, the AP, multimedia subsystem, camera subsystem, display subsystem, GPU and wireless access module are connected to the external memory through a bus. Figure 1 As shown in the figure, the SOC can also contain a system cache (SC). The SC cache is the last level cache (LLC) of the system and can be regarded as an extension of the external memory. When the IP core accesses the external memory, it can first access the SC. If the access hits a cache line in the SC, the data or response can be directly returned from the SC. Since on-chip access can obtain a larger bandwidth than off-chip access, the use of SC can improve access efficiency to a certain extent.
[0004] However, in the prior art, all access commands must first be queried and matched in the SC. If the match fails, the external memory is accessed through the SC, and then the SC returns the data or response to the IP core. Since the capacity of the SC and the external memory is quite different and the data capacity that the SC can store is limited, the access hit rate of the IP core is low when this method is adopted. Therefore, in most cases, the SC needs to obtain data or responses by accessing the external memory, and then return them to the IP core. This will undoubtedly increase the access power consumption of the system.
[0005] In summary, the use of existing technical solutions will lead to problems such as low access hit rate and high access power consumption. Summary of the invention
[0006] The embodiments of the present application provide a system on chip, a method for routing access commands and a terminal, so as to solve the problems of low IP core access hit rate and high chip access power consumption existing in the prior art.
[0007] In a first aspect, an embodiment of the present application provides a system on chip (SOC), which includes an intellectual property IP core and a bus; wherein the IP core is used to obtain an address range configuration label corresponding to an access address according to an access address corresponding to an access command, and transmit the access command and the address range configuration label to the bus, and the address range configuration label is used by the bus to route the access command; the bus is used to route the access command to a system cache SC or an external memory according to the address range configuration label.
[0008] With the above solution, the IP core obtains the address range configuration label corresponding to the access address and sends the address range configuration label to the bus together with the access command. Therefore, after receiving the address range configuration label, the bus can determine whether to route the access command to the SC or to the external memory. With the above solution, it is possible to avoid the situation where all access commands must first be queried and matched in the SC, thereby improving the access hit rate of the IP core and reducing system power consumption.
[0009] Specifically, in one implementation, the address space accessed by the IP core includes a first part of the address space and a second part of the address space, wherein the address range configuration label corresponding to the first part of the address space is a specified value, and the address range configuration label corresponding to the second part of the address space is a value other than the specified value, the corresponding data stored in the first part of the address space is not suitable for storage using SC, and the corresponding data stored in the second part of the address space is suitable for storage using SC.
[0010] By adopting the above scheme, data in the first part of the address space can be routed to the external memory for processing, and data in the second part of the address space can be routed to the SC for processing, so that more appropriate devices can be used to process data in different address spaces.
[0011] Then, based on the above implementation method, when the bus routes the access command to the SC or the external memory according to the address range configuration label, it can be implemented in the following way: if the address range configuration label is a specified value, the access command is routed to the external memory; if the address range configuration label is a value other than the specified value, the access command is routed to the SC.
[0012] The above solution provides a specific method for the bus to route access commands according to the address range configuration number.
[0013] In a possible design, the access address is a virtual address, and the IP core obtains the address range configuration label corresponding to the access address according to the access address corresponding to the access command. This can be specifically implemented in the following way: the access address is sent to the memory management unit MMU, and the MMU is used to obtain the address range configuration label corresponding to the access address by querying the page table, and the page table is used to record the mapping relationship between the access address and the address range configuration label; and the address range configuration label sent by the MMU is received.
[0014] The MMU queries the page table to obtain the physical address according to the access address, and the address range configuration label is stored in the high bit of the physical address.
[0015] By adopting the above solution, the IP core can obtain the address range configuration label corresponding to the access address (ie, the virtual address) through the virtual-to-real address conversion process of the MMU.
[0016] Alternatively, address range configuration labels may be stored in dedicated bit fields of the page table.
[0017] In another possible design, the access address is a physical address, and the IP core obtains the address range configuration label corresponding to the access address based on the access address corresponding to the access command. This can be specifically implemented in the following way: query the register according to the access address to obtain the address range configuration label corresponding to the access address. The register is placed in the IP core to record the mapping relationship between the access address and the address range configuration label.
[0018] With the above solution, when the access address is a physical address, the above mapping relationship can be stored in the register in advance. When the IP core initiates an access command, it can query the corresponding address range configuration label in the register according to the access address of the access command, and send the address range configuration label to the bus together with the access command.
[0019] In addition, the system on chip may further include an SC, and the SC is used to process the access command.
[0020] By adopting the above solution, the access command can be processed by the SC in the system on chip.
[0021] Since the cache line corresponding to the access address may or may not exist in the SC, the SC may have different processing modes when processing the access command.
[0022] Specifically, the SC processes the access command, which can be implemented in the following manner: if there is a cache line corresponding to the access address in the SC, the SC reads and writes data in the SC according to the access command.
[0023] With the above solution, since there is a cache line corresponding to the access address in the SC, there is no need to allocate a new cache line for the access command when executing the access command. Regardless of whether the access command is a read command or a write command, the SC can directly perform a read or write operation in the corresponding cache line.
[0024] Specifically, in the on-chip system, the bus is also used to route the address range configuration label to the SC. Then, the SC processes the access command, which can be implemented in the following way: if there is no cache line corresponding to the access address in the SC, the SC processes the access command according to the configuration policy corresponding to the address range configuration label.
[0025] By adopting the above solution, the SC can determine the specific processing method for the access command (for example, whether to allocate a new cache line for the access command) according to the configuration policy corresponding to the address range configuration label.
[0026] In the method provided in the first aspect, the configuration strategy corresponding to the address range configuration label includes one or more of the following: an allocation strategy, which is used to indicate that the data under the access address can be stored in the SC when the access command is a read command and / or a write command; a replacement strategy, which is used to indicate that the data under the access address can be replaced; a priority strategy, which is used to indicate the priority of the data under the access address; and a usage capacity, which is used to indicate the maximum capacity occupied by the data corresponding to the address range configuration label in the SC.
[0027] In addition, the SC is also used to: store the address range configuration label in the tag field of the cache line corresponding to the access address.
[0028] Using the above scheme, the address range configuration label field in the tag domain (Tag) can be used to determine the corresponding configuration strategy based on the address range configuration label. When the SC processes the access command, it can obtain the corresponding configuration strategy based on the address range configuration label to determine the processing method.
[0029] In a second aspect, an embodiment of the present application provides a terminal, which includes the system on chip provided in the above-mentioned first aspect and any possible design thereof.
[0030] In a third aspect, an embodiment of the present application provides a method for routing an access command, the method comprising the following steps: obtaining an address range configuration label corresponding to the access address according to the access address corresponding to the access command, the address range configuration label being used for the bus to route the access command; routing the access command to the system cache SC or the external memory according to the address range configuration label.
[0031] In one possible design, the address space accessed by the IP core includes a first address space and a second address space, wherein the address range corresponding to the first address space is configured with a label of a specified value, and the address range corresponding to the second address space is configured with a label other than the specified value, the corresponding data stored in the first address space is not suitable for storage using SC, and the corresponding data stored in the second address space is suitable for storage using SC.
[0032] In one possible design, the access command is routed to the SC or the external memory according to the address range configuration label, including: if the address range configuration label is a specified value, the access command is routed to the external memory; if the address range configuration label is a value other than the specified value, the access command is routed to the SC.
[0033] In one possible design, the access address is a virtual address, and an address range configuration label corresponding to the access address is obtained according to the access address corresponding to the access command, including: sending the access address to a memory management unit MMU, the MMU is used to obtain the address range configuration label corresponding to the access address by querying a page table, the page table is used to record the mapping relationship between the access address and the address range configuration label; receiving the address range configuration label sent by the MMU.
[0034] The MMU queries the page table to obtain the physical address according to the access address, and the address range configuration label is stored in the high bit of the physical address.
[0035] Alternatively, address range configuration labels may be stored in dedicated bit fields of the page table.
[0036] In one possible design, the access address is a physical address, and the address range configuration label corresponding to the access address is obtained according to the access address corresponding to the access command, including: querying a register according to the access address to obtain the address range configuration label corresponding to the access address, and the register is placed in the IP core to record the mapping relationship between the access address and the address range configuration label.
[0037] In one possible design, the method also includes: the SC processes the access command.
[0038] In one possible design, the SC processes the access command, including: if a cache line corresponding to the access address exists in the SC, the SC reads and writes data in the SC according to the access command.
[0039] In one possible design, the method also includes: routing the address range configuration label to the SC; the SC processes the access command, including: if there is no cache line corresponding to the access address in the SC, the SC processes the access command according to the configuration policy corresponding to the address range configuration label.
[0040] In one possible design, the configuration strategy corresponding to the address range configuration label includes one or more of the following: an allocation strategy, which is used to indicate that the data under the access address can be stored in the SC when the access command is a read command and / or a write command; a replacement strategy, which is used to indicate that the data under the access address can be replaced; a priority strategy, which is used to indicate the priority of the data under the access address; and a usage capacity, which is used to indicate the maximum capacity occupied by the data corresponding to the address range configuration label in the SC.
[0041] In one possible design, the method further includes: storing the address range configuration label in a tag field of a cache line corresponding to the access address.
[0042] In addition, the technical effects brought about by any possible design method in the second aspect to the third aspect can refer to the technical effects brought about by different design methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of the structure of a system on a chip provided by the prior art;
[0044] Figure 2 A schematic diagram of the structure of a terminal provided in an embodiment of the present application;
[0045] Figure 3 A schematic diagram of the structure of a system on a chip provided in an embodiment of the present application;
[0046] Figure 4 A schematic diagram of the structure of another system on chip provided in an embodiment of the present application;
[0047] Figure 5 A schematic diagram of the structure of a terminal provided in an embodiment of the present application;
[0048] Figure 6 A flowchart of a method for routing access commands provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] As described in the background art, in a SOC using an SC design, all IP core access commands must first be matched and queried in the SC, resulting in a low access hit rate for the IP core and high chip access power consumption.
[0050] The embodiment of the present application provides a system on chip, a routing method for access commands and a terminal, which are used to solve the problems of low IP core access hit rate and high chip access power consumption in the prior art. The method and the device are based on the same inventive concept. Since the principles of solving the problem by the method and the device are similar, the implementation of the device and the method can refer to each other, and the repeated parts will not be repeated.
[0051] Below, the application scenarios of the embodiments of the present application are first introduced. The embodiments of the present application can be applied to Figure 2 in the terminal shown.
[0052] Among them, the terminal can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer corresponding to the mobile terminal, for example, it can be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device, which exchanges language and / or data with the wireless access network. For example, personal communication service (PCS) phone, cordless phone, session initiated protocol (SIP) phone, wireless local loop (WLL) station, personal digital assistant (PDA) and other equipment. The terminal can also be called a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, a remote terminal, an access terminal, a user terminal, a user agent or a user equipment, which is not limited in the embodiments of the present application.
[0053] like Figure 2 As shown, the terminal includes multiple IP cores, a bus, at least one external memory connected to the bus through a controller, and an SC. The multiple IP cores are connected to the external memory and the SC through the bus; when the external memory is connected to the bus, it is connected to the bus through the controller, and the controller is used to control the access to the memory. In addition, the SC is also connected to the external memory.
[0054] Among them, IP cores include but are not limited to CPU, AP, GPU, multimedia subsystem, camera subsystem, wireless access module, and display subsystem; external memory includes but is not limited to dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), and double data rate synchronous dynamic random access memory (DDR SDRAM); SC is the last level cache (LLC) of the system. SC can be accessed by all IP cores and is the system shareable cache of the SoC chip. SC can be implemented using static random access memory (SRAM).
[0055] exist Figure 2 In the terminal shown, the external memory can be regarded as an off-chip system, and the part before the external memory can be regarded as an on-chip SOC chip.
[0056] After the IP core issues an access command, data exchange can be achieved by accessing the SC; data exchange can also be achieved by accessing the external memory. If data exchange is achieved by accessing the SC, the access command can be responded to directly within the chip without accessing the external memory. Due to the large bandwidth and high data exchange rate within the chip, the response speed is faster when responding to the access command within the chip. When the IP core accesses data outside the chip, the data exchange must pass through the input / output interface (I / O port), and the bandwidth of the I / O port is small, so the response speed to the access command is slower.
[0057] In the embodiment of the present application, after receiving the access command sent by the IP core, the bus does not directly match in the SC, but determines whether to route the access command to the SC or to the external memory according to the address range configuration label sent together with the access command. Therefore, it can avoid query matching in the SC for all access commands.
[0058] The embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0059] It should be noted that, in the embodiments of the present application, a plurality refers to two or more. In addition, it should be understood that, in the description of the present application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.
[0060] See also Figure 3 , is a schematic diagram of a system on chip structure provided in an embodiment of the present application. The system on chip 300 includes an IP core 301 and a bus 302 .
[0061] IP core 301 is used to obtain the address range configuration label corresponding to the access address according to the access address corresponding to the access command, and transmit the access command and the address range configuration label to bus 302. The address range configuration label is used by bus 302 to route the access command.
[0062] Bus 302 is used to route access commands to the SC or external memory according to the address range configuration label.
[0063] Among them, the IP core (also referred to as Master in the embodiment of the present application) includes but is not limited to CPU, AP, GPU, multimedia subsystem, camera subsystem, wireless access module, and display subsystem. In the embodiment of the present application and the accompanying drawings, the address range configuration number can be represented by RID (range of identity).
[0064] In addition, the address range configuration label is a parameter set in the embodiment of the present application to determine the routing path of the access command. For example, it can be set that: if the RID obtained according to a certain access command is a specified value, the access command is routed to the external memory; if the RID obtained according to a certain access command is not a specified value, the access command is routed to the SC. In specific implementation, the correspondence between different address ranges and RIDs can be stored in the SOC or in the external memory. When the IP core initiates an access command, the RID corresponding to the access address can be obtained by querying, and then the routing path of the access command can be determined according to the RID.
[0065] In the embodiment of the present application, each access address has a corresponding RID, and the RID can be used to indicate whether the access to the data at the access address is performed in the SC or in the external memory. After receiving the access command and the RID, the bus 302 can determine whether to route the access command to the external memory or the SC according to the RID.
[0066] It should be noted that, in the embodiment of the present application, multiple access addresses may correspond to one RID, or one access address may correspond to one RID, which is not specifically limited in the embodiment of the present application.
[0067] In specific implementation, when bus 302 routes the access command to SC or external memory according to RID, it can be implemented in the following way: if RID is a specified value, the access command is routed to the external memory; if RID is a value other than the specified value, that is, a non-specified value, the access command is routed to SC.
[0068] The specified value can be set to 0. Other values other than the specified value can be 1, 2, 3, 4, etc. Of course, the specified value can also be set to 1, 2, 3, etc., and the specific value of the specified value is not limited in the embodiment of the present application.
[0069] It is not difficult to understand that the IP core 301 can be used to implement a variety of services, and the system can reserve one or more address spaces for each specific type of task. Then, in the embodiment of the present application, the address space that the IP core needs to access when initiating different types of tasks can be divided according to the application scenarios of different tasks. Specifically, the address space accessed by the IP core includes an address space that is friendly to SC and an address space that is not friendly to SC. In actual applications, RIDs can be assigned to different address spaces: the RID corresponding to the address space that is not friendly to SC is assigned to a specified value, and the RID corresponding to the address space that is friendly to SC is assigned to a value other than the specified value.
[0070] Among them, the data stored in the SC-friendly address space is suitable for storage using SC, and the data stored in the SC-unfriendly address space is not suitable for storage using SC.
[0071] In specific implementation, we can consider how to divide the address space accessible to the IP core and assign RID values to it from the perspectives of time limitations (such as the frequency of service initiation, the time interval for re-initiating the same type of service, etc.) and space limitations (such as the data volume of the service, the probability of data at adjacent addresses being continuously accessed, etc.). For example, for a service type with a high initiation frequency, the RID corresponding to the address space reserved for the service type can be set to a value other than the specified value; for a service type with a low initiation frequency, the RID corresponding to the address space reserved for the service type can be set to a specified value; for a service type with a small data volume, the RID corresponding to the address space reserved for the service type can be set to a value other than the specified value; for a service type with a large data volume, the RID corresponding to the address space reserved for the service type can be set to a specified value.
[0072] Combined with the above description, it is not difficult to see that in the embodiment of the present application, the address space accessed by the IP core 301 includes a first address space and a second address space, wherein the RID corresponding to the first address space is a specified value, and the RID corresponding to the second address space is a value other than the specified value, and the data stored in the first address space is not suitable for storage using SC, and the data stored in the second address space is suitable for storage using SC. Among them, the first address space can be regarded as an address space that is not friendly to SC, and the second address space can be regarded as an address space that is friendly to SC.
[0073] In one possible implementation, Figure 3 The system on chip 300 shown may also include an SC, which is used to process the access command. The processing method will be described in detail later and will not be repeated here.
[0074] In addition, if the bus 302 routes the access command to the external memory according to the RID, the external memory processes the access command. The specific processing method is the same as that of the prior art and will not be repeated in the embodiments of the present application. It is worth noting that in the embodiments of the present application, since the external memory does not need to use the RID to process the access command, the bus 302 may not send the RID to the external memory, and only route the access command to the external memory. Of course, the bus 302 may also choose to route the RID to the external memory, and the external memory may discard the RID without processing it.
[0075] Specifically, when the SC processes the access command, it can be implemented in the following manner: if there is a cache line corresponding to the access address in the SC, the SC reads and writes data in the SC according to the access command.
[0076] That is to say, if there is a cache line corresponding to the access address in the SC, no matter whether the access command is a read command or a write command, the SC can directly perform the read or write operation in the corresponding cache line. Since there is a cache line corresponding to the access address in the SC, there is no need to allocate a new cache line for the access command when executing the access command.
[0077] In addition, in the embodiment of the present application, the second part of the address space can be further divided into different subclasses, and different configuration strategies are configured for each subclass, and then different RIDs are assigned for different configuration strategies, so that each subclass is identified by a different RID. Then, the SC can process the access command according to the configuration strategies corresponding to different RIDs.
[0078] It is not difficult to understand that, since the configuration policy corresponding to the RID is used by the SC to process the access command, the configuration policy corresponding to the address range configuration label can be stored in the SC, specifically, in the RID resolution module in the SC.
[0079] It should be noted that when assigning RID to other values other than the specified value, there can be multiple other values, so the assignment method can be static mapping, dynamic mapping, or a combination of the two. The static mapping method can be understood as: the same RID is assigned to the same configuration policy each time; the dynamic mapping method can be understood as: for the same configuration policy, the RID assigned each time is different; the combination of the two mapping methods can be understood as: each time multiple configuration policies are assigned, the RID values corresponding to some configuration policies are always unchanged, while the RID values corresponding to other configuration policies are dynamically changed.
[0080] Therefore, in another implementation, bus 302 is also used to route RID to SC. Then, when SC processes the access command, it can be implemented in the following way: if there is no cache line corresponding to the access address in SC, then SC processes the access command according to the configuration policy corresponding to RID.
[0081] Specifically, the configuration strategy corresponding to the RID includes one or more of the following: an allocation strategy, which is used to indicate that the data under the access address can be stored in the SC when the access command is a read command and / or a write command; a replacement strategy, which is used to indicate that the data under the access address can be replaced; a priority strategy, which is used to indicate the priority of the data under the access address; and usage capacity, which is used to indicate the maximum capacity occupied by the data corresponding to the RID in the SC.
[0082] The following explains each of the above configuration strategies one by one.
[0083] 1. Allocation Strategy
[0084] The allocation strategy is used to indicate that the data under the access address can be stored in the SC when the access command is a read command and / or a write command. That is, the allocation strategy is used to indicate that a cache line can be allocated in the SC for the access command when the access command is a read command (for example, read or write). For example, the allocation strategy can be used to indicate that a cache line can be allocated in the SC for the access command when the access command is a read command; or, the allocation strategy can be used to indicate that a cache line can be allocated in the SC for the access command when the access command is a write command.
[0085] As mentioned above, in the embodiment of the present application, each access command corresponds to an access address, and each access address corresponds to an RID. The access command can be a read command or a write command; the data under the access address may be stored in the SC or in an external memory.
[0086] Then, corresponding to the attribute of the access command (for example, read or write), the allocation strategy can be read allocation (that is, when the access command is a read command, a Cache Line can be allocated in the SC for the command, that is, a Cache Line is allocated for the access address corresponding to the command; if the access command is a write command, no Cache Line is allocated in the SC for the command), it can be write allocation (that is, when the access command is a write command, a Cache Line can be allocated in the SC for the command; if the access command is a read command, no Cache Line is allocated in the SC for the command), or it can be read-write allocation (that is, when the access command is a write command or a read command, a Cache Line can be allocated in the SC for the command).
[0087] Several specific ways in which the SC processes access commands according to the allocation strategy and the attributes of the access commands are given below.
[0088] When the allocation strategy is read allocation and the access command is a read command, the SC reads the data requested by the access command from the external memory and stores it; the SC returns the data requested by the access command to the IP core 301. As mentioned above, the meaning of read allocation is: when the access command is a read command, a Cache Line can be allocated in the SC for the command. Then, when the allocation strategy is read allocation and the access command is a read command, the SC can allocate a Cache Line for the access command, the SC reads the data requested by the access command from the external memory and stores it in the SC, and returns the data to the IP core 301. It should be noted that in this case, the SC reads the data from the external memory and writes the data into the SC, that is, the data under the access address occupies the Cache Line of the SC.
[0089] When the allocation strategy is read allocation and the access command is a write command, the SC writes the data requested to be written by the access command to the external memory. As mentioned above, the meaning of read allocation is: when the access command is a read command, a cache line can be allocated in the SC for the command, and if the access command is a write command, no cache line is allocated in the SC for the command. Then, when the allocation strategy is read allocation and the access command is a write command, the SC does not allocate a cache line for the access command, and the SC writes the data requested to be written by the access command to the external memory.
[0090] When the allocation strategy is write allocation and the access command is a read command, the SC reads the data requested by the access command from the external memory, and returns the data requested by the access command to the IP core 301. As mentioned above, the meaning of write allocation is: if the access command is a read command, no cache line is allocated in the SC for the command. Then, when the allocation strategy is write allocation and the access command is a read command, the SC reads the data requested by the access command from the external memory, and returns the data requested by the access command to the IP core 301. It should be noted that in this case, although the SC reads the data from the external memory, the data is not written into the SC, but directly returned to the IP core 301, that is, the data under the access address does not occupy the cache line of the SC.
[0091] When the allocation strategy is write allocation and the access command is a write command, the SC reads the data corresponding to the access address from the external memory and stores it; the SC writes the data corresponding to the access address into the SC. As mentioned earlier, the meaning of write allocation is that when the access command is a write command, a Cache Line can be allocated in the SC for the command. Then, when the allocation strategy is write allocation and the access command is a write command, the SC reads the data corresponding to the access address from the external memory and stores it, and then writes the data corresponding to the access address into the SC. That is to say, in this case, the data under the access address occupies the CacheLine of the SC.
[0092] When the allocation strategy is read-write allocation, the SC reads and writes data in the SC according to the access command. As mentioned above, the meaning of read-write allocation is that when the access command is a write command or a read command, a CacheLine can be allocated to the command in the SC. Then, when the allocation strategy is read-write allocation, no matter whether the access command is a read command or a write command, the Cache Line of the SC can be allocated to the command, and data can be directly read and written in the SC according to the access command.
[0093] It should be noted that if there is a cache line corresponding to the access address in the SC, then when executing the access command, the SC does not need to re-allocate the cache line for the access command. The SC can directly read or write in the corresponding cache line without considering the allocation strategy. The above-listed situations are applicable to the situation where there is no cache line corresponding to the access address in the SC.
[0094] Exemplarily, in addition to the standard read / write allocation, some special allocation strategies can also be configured, such as read de-allocate. This allocation strategy means that in the case of a read hit, the Cache Line corresponding to the sample address is cleared (invalid), and when the read command does not hit, no Cache Line is allocated for the read command; the read allocation strategy and the write allocation strategy can be combined. For example, the allocation strategy can be write allocation + read clear, which means that when the access command is a write command, a Cache Line can be allocated in the SC for the command, and when the access command is a read command, the Cache Line corresponding to the access address is cleared when a read hit occurs.
[0095] 2. Replacement Strategy
[0096] The replacement policy is used to indicate the situation where the data under the access address can be replaced. When the SC is not fully occupied, the SC can allocate the cache line according to the aforementioned allocation policy after receiving the access command. However, due to the limited capacity of the SC, it is difficult for the SC to allocate a cache line for each access command after receiving the access command. Then, when the capacity of the SC is fully occupied or insufficient, the problem of data overwriting will be involved. The replacement policy takes effect when it involves data overwriting issues.
[0097] For example, the replacement policy corresponding to the RID may be to allow replacement. Then, when the SC capacity is fully occupied or insufficient, the data under the access address corresponding to the RID may be overwritten by other data.
[0098] For example, the replacement policy corresponding to the RID may be to allow replacement with the same RID, so that when the SC capacity is fully occupied or insufficient, the data under the access address corresponding to the RID can be overwritten by the data under other access addresses corresponding to the same RID. That is, in this implementation, multiple access addresses correspond to one RID, and the data under one access address can be overwritten by the data under another access address.
[0099] For example, the replacement policy corresponding to the RID may be to allow high priority replacement. Then, when the SC capacity is fully occupied or insufficient, the data under the access address corresponding to the RID may be overwritten by the data under the access address corresponding to the RID with a higher priority than itself.
[0100] For example, the replacement policy corresponding to the RID may be that replacement is not allowed. In this case, when the SC capacity is fully occupied or insufficient, the data under the access address corresponding to the RID cannot be overwritten by other data.
[0101] In the embodiment of the present application, the SC may also store the RID in the tag field (Tag) of the cache line corresponding to the access address. In the prior art, the tag field (Tag) of the cache line corresponding to the access address includes a TAG field (used to indicate the Tag value), a VLD field (used to indicate whether the data is valid), and a CL field (used to indicate whether the data stored in the SC is consistent with the data stored in the external memory). In the embodiment of the present application, a RID field may also be added to the tag field (Tag) to indicate the RID corresponding to the access address of the cache line.
[0102] The RID field in the tag domain (Tag) can be used to determine the corresponding configuration policy based on the RID. When the SC processes the access command, it can obtain the corresponding configuration policy based on the RID to determine the processing method. For example, when the SC capacity is fully occupied or insufficient, the SC can determine whether the data stored in the cache line can be overwritten based on the priority policy corresponding to the RID field in the tag domain (Tag).
[0103] In addition, when writing data in a cache line in the SC, the RID must also be written in the tag field (Tag); in scenarios involving data overwriting, the RID in the tag field (Tag) of the cache line can be retrieved and the attributes parsed; if the data under the cache line needs to be overwritten, the RID in the tag field (Tag) of the cache line must also be modified and replaced accordingly.
[0104] 3. Priority Strategy
[0105] The priority policy is used to indicate the priority of the data under the access address. For example, the description of the priority policy has been involved in the above introduction to the replacement policy. In the scenario involving data overwriting, the priority policy can indicate the priority of the data under the access address corresponding to the RID.
[0106] For example, the priority of RID=1 is 2, and the replacement policy is to allow high-priority replacement; then, when the SC capacity is fully occupied or insufficient, if the priority of RID=2 is 3, the data under the access address corresponding to RID=1 can be overwritten by the data under the access address corresponding to RID=2.
[0107] 4. Usage capacity
[0108] The used capacity is used to indicate the maximum capacity occupied by the data corresponding to the RID in the SC, for example, it can be 1MByte, 256kByte, 2Mbyte, 128kByte, etc.
[0109] Since the capacity of SC is limited, it is impossible for SC to allow a task or an IP core to occupy the Cache Line in SC without limit. Therefore, the capacity usage policy can be set in the configuration policy corresponding to RID. Within the limit of the capacity usage, SC can allocate Cache Line for the data under the access address corresponding to the RID; if the capacity usage has been fully occupied, if the data corresponding to the RID is to be written in SC, it is necessary to select whether other data in SC can be overwritten according to the aforementioned replacement policy or priority policy, and then determine whether the data corresponding to the RID can be used to overwrite other data in SC.
[0110] In addition, the configuration policy corresponding to the RID may also include other contents, which are not specifically limited in the embodiments of the present application. For example, it may also include security attributes, which may be used to indicate the security (secure or non-secure) of the data under the access address corresponding to the RID.
[0111] As mentioned above, the configuration policy corresponding to the address range configuration number can be pre-configured in the SC. Of course, as the application scenario of the terminal changes, the application scenario of each task type will also change accordingly. At this time, the configuration policy stored in the SC can be modified.
[0112] Exemplarily, as the application scenario changes, the priority policy corresponding to the RID can be dynamically modified. For example, the priority policy can be changed from 2 to 3, thereby increasing the priority of the RID; the usage capacity corresponding to the RID can also be dynamically modified. For example, the usage capacity can be changed from 2Mbyte to 1Mbyte, thereby reducing the usage capacity occupied by the RID in the SC.
[0113] Exemplarily, assume that the aforementioned specified value is 0. When you want to cancel the use of a non-zero RID, you can first configure the usage capacity of the RID to 0, or set the allocation policy of the RID to not allow allocation; then invalidate the Cache Line allocated to the RID in the SC, so as to refresh the data in the Cache Line allocated to the RID in the SC to the external memory, and after completion, the RID is no longer used. Optionally, the RID can also be modified and allocated to other address spaces according to needs, and the corresponding configuration policy can be configured.
[0114] It should be noted that, in the above example, if the CL field in the tag domain (Tag) indicates that the data in the SC is consistent with the data in the external memory, the Cache Line allocated to the RID in the SC can be directly invalidated; if the CL field in the tag domain (Tag) indicates that the data in the SC is inconsistent with the data in the external memory, it is necessary to clear the Cache Line allocated to the RID in the SC and then perform an invalidation operation before the data in the Cache Line allocated to the RID in the SC can be refreshed to the external memory.
[0115] The above introduces the setting principle of RID, the configuration strategy corresponding to RID, and how SC processes access commands. The premise of the above solution is that the IP core needs to obtain the RID corresponding to the access address after issuing the access command. The following is a detailed introduction on how the IP core obtains the RID corresponding to the access address.
[0116] In specific implementation, there are many types of IP core 301. For example, the access address carried in the access command corresponding to some IP cores is a virtual address. When accessing data, the memory management unit (MMU) needs to convert the virtual address into a physical address through the page table stored in the external memory and then access the data according to the physical address. Among them, the MMU is connected to the IP core 301 and the bus 302. When performing virtual-to-real address conversion, the MMU receives the access address (virtual address) issued by the IP core 301 and routes the access address to the external memory via the bus 302. After the external memory queries the page table for address conversion, the MMU receives the corresponding physical address obtained by conversion through the bus 302 and sends it to the IP core 301. For another example, the access address carried in the access command corresponding to some IP cores is a physical address. When accessing data, there is no need to perform virtual-to-real address conversion, and it can be accessed directly according to the physical address.
[0117] For different types of IP cores, the setting method and storage location of RID are different, and accordingly, the IP core obtains RID in different ways. For example, for an IP core that accesses data based on a virtual address, the RID can be configured in a page table, and the RID corresponding to the access address can be obtained when performing virtual-to-real address conversion; for another example, for an IP core that accesses data based on a physical address, the RID can be configured in a register built into the IP core, and the IP core can obtain the RID by querying the register before sending an access command to the bus 302.
[0118] The following examples illustrate three ways for an IP core to obtain a RID.
[0119] Method 1
[0120] In method one, the access address is a virtual address. When the IP core 301 obtains the RID corresponding to the access address according to the access address corresponding to the access command, it can be implemented in the following way: sending the access address to the MMU, the MMU is used to obtain the RID corresponding to the access address by querying the page table, and the page table is used to record the mapping relationship between the access address and the RID; receiving the RID sent by the MMU.
[0121] That is to say, the above mapping relationship can be stored in the page table in advance. In the case where the access address is a virtual address, the above mapping relationship can be obtained by querying the page table, and then the RID corresponding to the access address can be obtained.
[0122] In the prior art, the page table can be used to record the mapping relationship between the virtual address and the physical address. When the IP core initiates access to the data under a certain virtual address, the MMU converts the virtual address into a physical address by querying the page table. The physical address is sent to the bus as a signal accompanying the access command, and then the data is accessed according to the physical address. In the embodiment of the present application, the RID can be stored in the high bit of the physical address (the high bit of the physical address is not occupied). After the MMU obtains the physical address by querying the page table according to the access address, the RID corresponding to the access address can be obtained from the high bit of the physical address.
[0123] In addition, in method one, the RID can also be stored in a dedicated bit field of the page table. The page table contains many bit fields. In addition to the bit field for storing address information, the page table also reserves bit fields for storing attribute information. For example, the page table may include a bit field reserved for hardware, and the data written in the bit field can be read by the hardware. The above-mentioned reserved bit field for storing attribute information can be regarded as the "dedicated bit field" described in the embodiment of the present application. The RID is stored in the dedicated bit field. After querying the page table according to the access address, the MMU can obtain the RID in the dedicated bit field, and then obtain the RID corresponding to the access address.
[0124] Exemplarily, a record in the page table may be a virtual address A~RID=N, where the information of RID=N is stored in a dedicated bit field. If the access address corresponding to the access command initiated by the IP core is virtual address A, then the MMU can determine that the RID corresponding to the virtual address A is N by querying this record in the page table. Then, after receiving the page table query result sent by the MMU, the IP core can determine the information that RID=N. After receiving the information that RID=N is sent by the IP core, the bus 302 can determine whether to route the access command to the SC or to the external memory.
[0125] In addition, when the bus 302 routes the access command to the SC according to RID=N, the SC may also process the access command. The specific method may refer to the above description and will not be described again here.
[0126] In method 1, the RID can be stored in the high bits of the physical address of the page table or in a dedicated bit field of the page table.
[0127] Method 2
[0128] In method 2, the access address is a physical address. When the IP core 301 obtains the RID corresponding to the access address according to the access address corresponding to the access command, it can be specifically implemented in the following way: query the register according to the access address to obtain the RID corresponding to the access address. The register is placed in the IP core 301, and the register is used to record the mapping relationship between the access address and the RID.
[0129] That is, when the access address is a physical address, the above mapping relationship can be stored in the register in advance. When the IP core initiates an access command, it can query the corresponding RID in the register according to the access address of the access command, and send the RID to the bus 302 together with the access command.
[0130] Generally speaking, the above mapping relationship is expressed by multiple groups of continuous physical address ranges (such as starting address and ending address, or starting address and length) and corresponding RIDs; multiple continuous physical addresses can correspond to one RID, or can correspond to multiple RIDs respectively.
[0131] In the second method, the address space that the IP core may access can be divided into multiple subclasses, each of which corresponds to a different RID. For example, there are multiple types of services initiated by the IP core, and the address space allocated to each type of service can be assigned a different RID.
[0132] Method 3
[0133] In method 2, the access address is a physical address. When the IP core 301 obtains the RID corresponding to the access address according to the access address corresponding to the access command, it can be implemented in the following way: query the built-in register of the IP core according to the access address to obtain the RID, and the register is used to record the RID.
[0134] That is, when the access address is a physical address, the RID can be stored in the register in advance. When the IP core initiates an access command, it can directly query the value of the RID in the register and send the RID to the bus 302 together with the access command.
[0135] In the third mode, the address spaces that the IP core may access are all assigned the same RID. For example, the service type initiated by the IP core is relatively simple, so the address spaces that the IP core may access are all assigned the same RID.
[0136] From the above introduction to the three methods, it can be seen that in method 1, MMU can be used to set RID for a series of discrete physical pages; in method 2, the same or different RIDs can be set for a number of fixed continuous physical addresses; in method 3, the same RID can be set for the address space accessible to an IP core by using a fixed register configuration. In methods 3 and 2, although the access addresses carried in the access commands initiated by the IP core are all physical addresses, in method 2, the IP core has a richer range of business types, so different RID values can be assigned to the address spaces allocated for different business types; while in method 3, the IP core has a relatively single business type, so the address spaces accessible to the IP core can all be assigned the same RID.
[0137] In summary, using the embodiment of the present application, the IP core 301 obtains the RID corresponding to the access address and sends the RID to the bus 302 together with the access command. Therefore, after receiving the RID, the bus 302 can determine whether to route the access command to the SC or to the external memory. The solution provided by the embodiment of the present application avoids the situation where all access commands must first be queried and matched in the SC, thereby improving the access hit rate of the IP core and reducing system power consumption.
[0138] Based on the above embodiments, the present application also provides a system on chip. Figure 4 As shown, the system on chip includes Master A, Master B, Master C, a bus, and SC. In addition, the system on chip is located in a terminal, and the terminal may also include a DRAM (including a DRAM controller).
[0139] Among them, Master is an example of the aforementioned IP core. Master A, Master B and Master C are three different types of IP cores, and their corresponding RID configuration strategies are different. For details, please refer to Figure 4Description in . When sending an access command, the IP core will send the corresponding value of RID to the bus. When the associated RID of the access command is 0, the bus will route the access command to the DRAM, and the DRAM will process the access command in accordance with the prior art; when the associated RID of the access command is not 0, the RID and the access command will be routed to the SC. The SC is configured with Tag and RID parsing modules. The tag field Tag includes the TAG field, VLD field, CL field and RID field. The meanings of these fields can be found in the previous description and will not be repeated here. The RID parsing module is used to parse and obtain the configuration policy corresponding to the RID after receiving the access command and the associated RID. The SC can process the access command according to the corresponding configuration policy. The specific processing method is described in Figure 3 The system on chip 300 has been introduced and will not be described again here.
[0140] Next, for Figure 4 Taking Master A in the system-on-chip shown in the figure as an example, the application steps of Master A are introduced in detail.
[0141] Step 1. Analyze the memory space to be used according to the application scenario, and classify the memory space according to whether it is friendly to the system cache (i.e., the time locality and spatial locality of access) based on the behavior of accessing the memory space.
[0142] Step 2. The cache-friendly space is further divided into different subclasses by using configuration strategies (SC usage capacity, allocation strategy, replacement strategy, priority, and security);
[0143] Step 3. After obtaining different SC application space subclasses from step 2, map different non-zero RIDs to them. The mapping method can be static mapping, dynamic mapping, or a combination of the two. Directly configure RID=0 from the SC non-friendly address space obtained from step 1;
[0144] Step 4. In the configuration table of the RID resolution module of the SC, set the configuration policy corresponding to the non-zero RID assigned in step 3;
[0145] Step 5. Add the RID parameter in the system address space application function. The RID parameter will be written into the last level page table of the applied address space.
[0146] Specifically, the RID parameter can be recorded in an unused high bit of the physical address, or in a dedicated bit field in the page table; the same physical address space can only be configured as one RID at the same time;
[0147] Step 6. When the access command of MasterA is converted from virtual to real address through MMU, the RID recorded in the page table (written in step 5) is extracted. MMU supports sending RID as an access signal to the downstream (bus);
[0148] Step 7. The bus will be routed to SC (RID!=0) or DRAM (RID=0) according to whether the RID of the accessed path is 0;
[0149] Step 8. For the access command arriving at the SC, the specific configuration strategy is parsed according to its RID. If the access needs to allocate a new cache line, the RID should be stored in the RID field of the tag. If the access needs to overwrite the old cache line, the RID in the old cache line tag needs to be taken out and various attributes need to be parsed for corresponding processing.
[0150] Step 9. DRAM processes the access command of RID=0. At this time, the information of RID=0 is meaningless to the DRAM processing process;
[0151] Step 10. As the application scenario changes, the software can dynamically modify the configuration strategy of RID in System Cache, such as modifying the priority, modifying the usage capacity, etc.
[0152] Step 11. When you want to cancel the use of a non-zero RID, first configure the allowed usage capacity of the RID to 0, and then perform clean and invalid operations on the Cache Line allocated to the RID in the SC; optionally, you can also modify the original address of the RID to RID=0 or other non-zero RID.
[0153] It should be noted that Figure 4 The system-on-chip shown can be viewed as Figure 3 A specific example of the system on chip 300 is shown, Figure 4 For implementations not described in detail in the illustrated system on chip, reference may be made to the related descriptions of the system on chip 300 .
[0154] In addition, the present application embodiment also provides a terminal, such as Figure 5 As shown, the terminal includes Figure 3 System on chip 300 is shown.
[0155] Optionally, the terminal may further include an external memory. The external memory is used to implement Figure 3 The operations performed by the external memory in the example.
[0156] The terminal can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it can also be deployed on the water (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons and satellites, etc.). The terminal can be a mobile phone, a tablet computer (pad), a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.
[0157] Based on the same inventive concept, the present application embodiment provides a method for routing access commands. Figure 6 , the method comprises the following steps:
[0158] S601: Obtain an address range configuration number corresponding to the access address according to the access address corresponding to the access command.
[0159] The address range configuration number is used by the bus to route access commands.
[0160] S602: Routing the access command to the SC or external memory according to the address range configuration label.
[0161] Optionally, the address space accessed by the IP core includes a first part of the address space and a second part of the address space, wherein the address range configuration label corresponding to the first part of the address space is a specified value, and the address range configuration label corresponding to the second part of the address space is a value other than the specified value, the corresponding data stored in the first part of the address space is not suitable for storage using SC, and the corresponding data stored in the second part of the address space is suitable for storage using SC.
[0162] Optionally, the access command is routed to the SC or external memory according to the address range configuration label, including: if the address range configuration label is a specified value, the access command is routed to the external memory; if the address range configuration label is a value other than the specified value, the access command is routed to the SC.
[0163] Optionally, the method further includes: the SC processes the access command.
[0164] Optionally, the SC processes the access command, including: if a cache line corresponding to the access address exists in the SC, the SC reads and writes data in the SC according to the access command.
[0165] Optionally, the method further includes: routing the address range configuration label to the SC; the SC processes the access command, including: if there is no cache line corresponding to the access address in the SC, the SC processes the access command according to the configuration policy corresponding to the address range configuration label.
[0166] also, Figure 6 For other implementations of the method shown, please refer to the relevant description in the system on chip 300, which will not be repeated here.
Claims
1. A system on a chip, It is characterized in that The system on chip SOC includes an intellectual property IP core and a bus; The IP core is used to obtain an address range configuration label corresponding to an access address according to an access address corresponding to an access command, and transmit the access command and the address range configuration label to the bus, wherein the address range configuration label is used by the bus to route the access command; The bus is used to route the access command to the system cache SC or the external memory according to the address range configuration label; the address space accessed by the IP core includes a first part of the address space and a second part of the address space, wherein the address range configuration label corresponding to the first part of the address space is a specified value, and the address range configuration label corresponding to the second part of the address space is a value other than the specified value, the corresponding data stored in the first part of the address space is not suitable for storage using the SC, and the corresponding data stored in the second part of the address space is suitable for storage using the SC.
2. The system on chip according to claim 1, It is characterized in that When the bus routes the access command to the SC or the external memory according to the address range configuration label, it is specifically used to: If the address range configuration label is a specified value, routing the access command to the external memory; If the address range configuration label is a value other than the specified value, the access command is routed to the SC.
3. The system on chip according to claim 1 or 2, It is characterized in that The access address is a virtual address. When the IP core obtains the address range configuration label corresponding to the access address according to the access address corresponding to the access command, it is specifically used to: Sending the access address to a memory management unit MMU, wherein the MMU is used to obtain the address range configuration label by querying a page table, wherein the page table is used to record a mapping relationship between the access address and the address range configuration label; Receive the address range configuration label sent by the MMU.
4. The system on chip as claimed in claim 3, It is characterized in that The MMU queries the page table to obtain a physical address according to the access address, and the address range configuration label is stored in a high order of the physical address.
5. The system on chip according to claim 1 or 2, It is characterized in that The access address is a physical address. When the IP core obtains the address range configuration label corresponding to the access address according to the access address corresponding to the access command, it is specifically used to: The address range configuration label corresponding to the access address is obtained according to the access address query register, the register is placed in the IP core, and the register is used to record the mapping relationship between the access address and the address range configuration label.
6. The system on chip according to claim 1, It is characterized in that The system further comprises: The SC is used to process the access command.
7. The system on chip according to claim 6, It is characterized in that When processing the access command, the SC is specifically used to: If a cache line corresponding to the access address exists in the SC, the SC reads and writes data in the SC according to the access command.
8. The system on chip according to claim 6, It is characterized in that The bus is also used for: Routing the address range configuration label to the SC; When processing the access command, the SC is specifically used to: If there is no cache line corresponding to the access address in the SC, the SC processes the access command according to the configuration policy corresponding to the address range configuration label.
9. The system on chip as claimed in claim 8, It is characterized in that The configuration strategies corresponding to the address range configuration label include one or more of the following: an allocation strategy, the allocation strategy being used to indicate that the data under the access address can be stored in the SC when the access command is a read command and / or a write command; A replacement strategy, used to indicate a situation in which data under the access address can be replaced; A priority policy, used to indicate the priority of the data under the access address; The used capacity is used to indicate the maximum capacity occupied by the data corresponding to the address range configuration label in the SC.
10. The system on chip according to any one of claims 6 to 9, It is characterized in that The SC is also used for: The address range configuration label is stored in a tag field of a cache line corresponding to the access address.
11. A terminal, It is characterized in that The invention comprises a system on chip as claimed in any one of claims 1 to 10.
12. A routing method for accessing commands, It is characterized in that include: According to the access address corresponding to the access command, an address range configuration label corresponding to the access address is obtained, and the address range configuration label is used for the bus to route the access command; Routing the access command to the system cache SC or the external memory according to the address range configuration label; The address space accessed by the intellectual property IP core includes a first part of the address space and a second part of the address space, wherein the address range configuration label corresponding to the first part of the address space is a specified value, and the address range configuration label corresponding to the second part of the address space is a value other than the specified value. The corresponding data stored in the first part of the address space is not suitable for storage using the SC, and the corresponding data stored in the second part of the address space is suitable for storage using the SC.
13. The method according to claim 12, It is characterized in that The access command is routed to the SC or the external memory according to the address range configuration label, including: If the address range configuration label is a specified value, routing the access command to the external memory; If the address range configuration label is a value other than the specified value, the access command is routed to the SC.
14. The method according to claim 12 or 13, It is characterized in that Also includes: The SC processes the access command.
15. The method of claim 14, It is characterized in that The SC processes the access command, including: If a cache line corresponding to the access address exists in the SC, the SC reads and writes data in the SC according to the access command.
16. The method of claim 15, It is characterized in that Also includes: Routing the address range configuration label to the SC; The SC processes the access command, including: If there is no cache line corresponding to the access address in the SC, the SC processes the access command according to the configuration policy corresponding to the address range configuration label.
