Bandwidth control method and device, integrated circuit, electronic equipment and carrier

By controlling operating system access based on the current bandwidth of the address range in the integrated circuit, the problem of bandwidth resource mismatch under multiple operating systems is solved, and the performance of processor and operating system is improved.

CN118964247APending Publication Date: 2024-11-15XG TECHNOLOGIES PTE LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411139246.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In integrated circuits, when multiple operating systems access different hardware units, mismatch in bandwidth resources leads to increased access delays and data waiting, reducing the operating efficiency of the processor and the performance of the operating system.

Method used

By obtaining the correspondence between the address range of the hardware unit and the operating system, the accessed bandwidth is controlled based on the current bandwidth to ensure that the bandwidth accessed by the operating system matches the obtained bandwidth resources.

Benefits of technology

Reduces access latency, reduces data waiting, and improves processor operation efficiency and operating system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964247A_ABST
    Figure CN118964247A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of integrated circuits, and provides a bandwidth control method and device, an integrated circuit, electronic equipment and a carrier. The method comprises the steps that a first address of first access of a first function module of a first hardware unit to a second hardware unit is obtained, and the second hardware unit comprises at least one address range; determining a first address range corresponding to the first address; and controlling the bandwidth of the first access based on the current bandwidth of the first address range. When the first hardware unit runs a plurality of operating systems, the address range of the second hardware unit has a corresponding relationship with the operating systems, so that the technical scheme of the embodiment of the invention can control the bandwidth of the operating system corresponding to the first address range to access the second hardware unit; the bandwidth of the second hardware unit accessed by the operating system is matched with the obtained bandwidth resource, so that the access delay is reduced, the data waiting is reduced, and the running efficiency of the processor and the performance of the operating system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of integrated circuit technology, and in particular to a bandwidth control method, device, integrated circuit, electronic device and carrier. Background Art

[0002] When some integrated circuits, such as system on chip (SoC), run multiple operating systems (OS), each operating system can call the processor of SoC to access at least one hardware unit (such as memory) to read the instructions to be executed and write the results of the instruction execution. Each hardware unit can be allocated to at least one operating system for use.

[0003] Since different hardware units have different bandwidth resources, and when the same hardware unit is allocated to multiple operating systems, the bandwidth resources obtained by each operating system may also be different. Therefore, the bandwidth of the operating system accessing the hardware unit may not match the bandwidth resources it obtains, resulting in increased access delays and data waiting, and reducing the operating efficiency of the processor and the performance of the operating system. Summary of the invention

[0004] The embodiments of the present disclosure provide a bandwidth control method, apparatus, integrated circuit, electronic device and carrier, which can control the bandwidth of operating systems accessing hardware units when multiple operating systems are running on the integrated circuit, so that the bandwidth of the operating systems accessing the hardware units matches the bandwidth resources obtained by them.

[0005] In a first aspect, an embodiment of the present disclosure provides a bandwidth control method, the method comprising: obtaining a first address of a first access of a first functional module of a first hardware unit to a second hardware unit, wherein the second hardware unit includes at least one address range; determining a first address range corresponding to the first address; and controlling the bandwidth of the first access based on the current bandwidth of the first address range.

[0006] In the embodiment of the present disclosure, the first hardware unit may be one or more functional modules on the SoC. When the first hardware unit runs multiple operating systems, different operating systems may run in different functional modules. The second hardware unit may include various types of memories. Each functional module may access the second hardware unit while running each operating system, wherein each address range of the second hardware unit corresponds to each operating system.

[0007] In a second aspect, an embodiment of the present disclosure provides a bandwidth control device, which includes: a first control module; the first control module is set corresponding to the first functional module of the first hardware unit; the first control module is configured to: obtain a first address of a first access of the first functional module to a second hardware unit, wherein the second hardware unit includes at least one address range; determine a first address range corresponding to the first address; and control the bandwidth of the first access based on the current bandwidth of the first address range.

[0008] In a third aspect, an embodiment of the present disclosure provides an integrated circuit, comprising: at least one functional module; at least one bandwidth control module arranged in a one-to-one correspondence with the at least one functional module, each bandwidth control module being communicatively connected to its corresponding functional module, wherein at least one bandwidth control module is configured to implement the function of the first control module of the second aspect, for example, to execute the steps of the bandwidth control method provided in the first aspect.

[0009] In a fourth aspect, an embodiment of the present disclosure provides an electronic device, which includes the integrated circuit provided in the third aspect.

[0010] In a fifth aspect, an embodiment of the present disclosure provides a carrier, which includes the integrated circuit provided in the third aspect or the electronic device provided in the fourth aspect.

[0011] The technical solution provided by the embodiment of the present disclosure can utilize the correspondence between the address range and the operating system to control the bandwidth of the first access based on the current bandwidth of the first address range, and further can control the bandwidth of the operating system corresponding to the first address range accessing the second hardware unit, so that the bandwidth of the operating system accessing the second hardware unit matches the bandwidth resources it obtains, thereby reducing access delays, reducing data waiting, and improving the operating efficiency of the processor and the performance of the operating system. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the drawings, the same reference numerals generally represent the same components or steps.

[0013] Figure 1 is a structural block diagram of a cabin-driver integrated system provided by an exemplary embodiment of the present disclosure;

[0014] Figure 2 is a schematic diagram of the structure of a bandwidth control system provided by an exemplary embodiment of the present disclosure;

[0015] Figure 3is a flow chart of a bandwidth control method provided by an exemplary embodiment of the present disclosure;

[0016] Figure 4 is a flowchart of step S130 of a bandwidth control method provided by an exemplary embodiment of the present disclosure;

[0017] Figure 5 is a flowchart of step S131 of a bandwidth control method provided by an exemplary embodiment of the present disclosure;

[0018] Figure 6 is a schematic diagram of a bandwidth control module obtaining a bandwidth level according to an embodiment of the present disclosure;

[0019] Figure 7 is another flow chart of a bandwidth control method provided by an exemplary embodiment of the present disclosure;

[0020] Figure 8 is a schematic diagram of the structure of a bandwidth control device provided by an embodiment of the present disclosure;

[0021] Fig. 9 It is a schematic diagram of the structure of an integrated circuit provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0022] Below, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.

[0023] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0024] Bus: A channel in a computer system that connects various modules / units and realizes data transmission. The main function of the bus is to transfer data, addresses and control signals between different modules / units (such as processors, memory, input / output (I / O) modules, memory controllers).

[0025] Bandwidth: The amount of data transmitted per unit time. Bandwidth can be expressed in bits per second (bps), kilobits per second (Kbps), megabits per second (Mbps), gigabits per second (Gbps), etc. It can also be expressed in bytes per second (B / s), kilobytes per second (KB / s), megabytes per second (MB / s), gigabytes per second (GB / s), etc.

[0026] Memory: A device in a computer system used to temporarily store data and instructions so that the processor can quickly access and execute them. Memory can include random access memory (RAM), such as dynamic random access memory (DRAM), static random access memory (SRAM), etc.

[0027] Bandwidth resources: refers to the maximum amount of data that can be transmitted per unit time. The unit of bandwidth resources can be bps, kbps, Mbps, Gbps, etc.

[0028] Memory bandwidth: also known as memory bandwidth resources, refers to the maximum amount of data that the memory can transmit per unit time.

[0029] SoC: An integrated circuit that integrates multiple modules / units of a computer system into a single chip. The modules / units that can be integrated on a SoC include: central processing unit (CPU), graphics processing unit (GPU), SRAM, I / O interface, digital signal processor (DSP), neural network processor (NPU), and image signal processor (ISP).

[0030] Application Overview

[0031] An operating system may be run on an integrated circuit. For example, an integrated circuit may include a processor, and an operating system may be run on the processor. The processor may establish communication with a memory (such as DRAM and SRAM) via a bus. Thus, during the operation of the operating system, the operating system may load instructions into the memory, and the processor may read instructions and data from the memory via the bus, and perform various operations according to these instructions, such as arithmetic operations, logical operations, and data transfer, and then write the results of the instruction execution into the memory via the bus.

[0032] A high-performance integrated circuit, such as a high-performance SoC, can run multiple operating systems.

[0033] Figure 1 It is a structural block diagram of a cabin-and-cockpit integrated system provided by an exemplary embodiment of the present disclosure.

[0034] Among them, the cabin-driver integrated system can be applied to autonomous driving vehicles, such as vehicles (such as intelligent connected cars), ships, trains, subways, airplanes, etc., as well as various robots, such as service robots, transport robots, automated guided vehicles (AGVs), unmanned ground vehicles (UGVs), etc., and various engineering machinery.

[0035] like Figure 1 As shown, in one embodiment, the cabin-pilot integrated system may include SoC 100. In one example, SoC 100 may include one or more processors. For example, one or more CPUs, and / or, one or more GPUs, and / or, and / or, one or more ISPs, and / or, one or more DSPs, and / or, one or more NPUs. These processors can provide computing resources to multiple operating systems to support each operating system to implement its functions.

[0036] In one embodiment, the cabin-pilot integrated system may further include a memory 200. The memory 200 may store instructions and / or data, and the processor may read and execute instructions in the memory 200, and write the results of the execution into the memory 200. In one example, the memory 200 may include a memory, such as a DRAM and / or an SRAM. Among them, the memory 200 may be integrated on the SoC 100, such as an SRAM and an embedded DRAM (eDRAM), so that the memory 200 may become a part of the SoC 100; or, the memory 200 may also be an independent device outside the SoC 100, such as a DRAM. In some examples, the memory 200 may also include a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, etc., which is not specifically limited in the embodiments of the present disclosure.

[0037] In one embodiment, SoC 100 can run multiple operating systems, such as operating systems 1 to OSN. Exemplarily, the multiple operating systems may include at least a cockpit operating system (referred to as the cockpit system) and an intelligent driving operating system (referred to as the intelligent driving system). Among them, the intelligent driving system is mainly responsible for the automatic driving and safety of the vehicle, including environmental perception, path planning, decision-making and control. The cockpit system is mainly responsible for the driving experience and human-computer interaction inside the vehicle, including infotainment, instrument display, media playback and environmental control. Compared with the independent cockpit system and intelligent driving system, the cabin-driving integrated system is more integrated and intelligent, which is conducive to improving the driving safety, comfort and driving experience of the vehicle.

[0038] In the case where the SoC 100 runs multiple operating systems, the cabin-pilot integrated system may include multiple memories 200 to meet the business requirements of the multiple operating systems. The multiple memories 200 may include, for example, at least one SRAM and / or eDRAM integrated on the SoC 100, and / or at least one independently set DRAM, flash memory, etc. For example, Figure 1 As shown, the memory 200 includes an SRAM and a DRAM, wherein the SRAM is integrated on the SoC 100 , and the DRAM is independently provided relative to the SoC 100 .

[0039] It is understandable that, since the hardware specifications of different memories 200 may be different, the bandwidth resources of different memories 200 may also be different. For example, the cabin-driver integrated system includes three memories 200, such as memory 200-1 to memory 200-3, then the bandwidth resource of memory 200-1 may be 100GB / s, the bandwidth resource of memory 200-2 may be 50GB / s, and the bandwidth resource of memory 200-3 may be 10GB / s.

[0040] In the case where the SoC 100 runs multiple operating systems, different memories 200 may be allocated to different operating systems for use. For example, if the SoC 100 runs three operating systems, then the memory 200-1 may be allocated to the operating system 1, the memory 200-2 may be allocated to the operating system 2, and the memory 200-3 may be allocated to the operating system 3. In this case, when the operating system accesses the memory 200, if the access bandwidth is greater than the bandwidth resource of the memory 200, the problem of increased access delay and data waiting will occur. Accordingly, the processor running the operating system needs to wait for the access transmission to be completed before it can continue to execute the next operation, which reduces the operating efficiency of the processor and the performance of the operating system.

[0041] In addition, when the SoC 100 runs multiple operating systems, the same memory 200 may be allocated to multiple operating systems for use, and each operating system can obtain a portion of the bandwidth resources of the processor. For example, the bandwidth resources of the memory 200-1 are 100GB / s, and this 100GB / s bandwidth resource can be allocated to three operating systems for use, wherein the operating system 1 obtains a bandwidth resource of 40GB / s, the operating system 2 obtains a bandwidth resource of 30GB / s, and the operating system 3 obtains a bandwidth resource of 30GB / s. In this case, if the bandwidth of the operating system 1 accessing the memory 200-1 is greater than the bandwidth resources allocated to the operating system 1, for example, greater than 40GB / s, there will be problems of increased access delay and data waiting. Accordingly, the processor running the operating system 1 needs to wait until the access transmission is completed before it can continue to execute the next step, which reduces the operating efficiency of the processor and the performance of the operating system 1.

[0042] The embodiments of the present disclosure provide a bandwidth control method, apparatus, integrated circuit, electronic device and carrier. When the integrated circuit (such as SoC) runs multiple operating systems, it is possible to perform differentiated bandwidth control on the behavior of the operating system accessing different memories, so that the bandwidth of the operating system accessing the memory matches the bandwidth resources allocated to the operating system, avoiding the problems of increased access delay and data waiting, and improving the operating efficiency of the processor and the performance of the operating system.

[0043] Exemplary Systems

[0044] Figure 2 It is a structural diagram of a bandwidth control system provided by an exemplary embodiment of the present disclosure.

[0045] The bandwidth control system may be implemented on an integrated circuit (eg, SoC 100). Figure 2 As shown, in one embodiment, the bandwidth control system may include: a first hardware unit 10.

[0046] The first hardware unit 10 may be provided on an integrated circuit (e.g., SoC 100), that is, the integrated circuit (e.g., SoC 100) includes the first hardware unit 10. For example, the first hardware unit 10 refers to one or more functional modules 11 on the integrated circuit (e.g., SoC 100). Each functional module 11 is used to implement one or more functions of the integrated circuit (e.g., SoC 100). For example, the functional module 11 may be a CPU, a GPU, an NPU, an ISP, a DSP, etc. In addition, the functional module 11 may also be a core of a CPU, a stream processor of a GPU, a computing unit of an NPU, etc. That is, each core of a CPU may be a functional module 11, each stream processor of a GPU may be a functional module 11, and each computing unit of an NPU may be a functional module 11.

[0047] The first hardware unit 10 may run multiple operating systems, such as an intelligent driving system, a cockpit system and / or other operating systems. The first hardware unit 10 runs multiple operating systems. Different operating systems may run in different functional modules 11, or different functional modules 11 may be managed by different operating systems, or different functional modules 11 correspond to different operating systems.

[0048] Exemplarily, the CPU of the first hardware unit 10 can run three operating systems, namely operating system 1 to operating system 3, and the CPU includes eight cores, namely core 1 to core 8. Operating system 1 can run on core 1 and core 2 (or, core 1 and core 2 are managed by operating system 1), operating system 2 can run on core 3 to core 6 (or, core 3 to core 6 are managed by operating system 2), and operating system 3 can run on core 7 and core 8 (or, core 7 and core 8 are managed by operating system 3). Similarly, one operating system can manage one or more stream processors of a GPU, and one operating system can manage one or more computing units of an NPU.

[0049] When the ISP includes multiple ISP units, one operating system can manage at least one ISP unit, and different ISP units can be managed by different operating systems. Similarly, when the DSP includes multiple DSP units, one operating system can manage at least one DSP unit, and different DSP units can be managed by different operating systems.

[0050] In one implementation, each functional module 11 of the first hardware unit 10 can communicate with other hardware units (eg, the second hardware unit 20 ). For example, each functional module 11 of the first hardware unit 10 can access the second hardware unit 20 .

[0051] Exemplarily, each functional module 11 of the first hardware unit 10 and the second hardware unit 20 may be communicatively connected via a bus 30. The bus 30 may specifically be an advanced extensible interface (AXI) bus, and the AXI bus may include five channels, for example:

[0052] Read address channel (AR): used to transmit the address for read access.

[0053] Read data channel (R): used to transmit read access data.

[0054] Write address channel (AW): used to transmit the address for write access.

[0055] Write data channel (W): used to transmit write access data.

[0056] Write response channel (B): used to transmit responses for write access.

[0057] Of course, buses with other protocols may also be used, such as an advanced high-performance bus (AHB), an inter-integrated circuit (I2C) bus, a HyperTransport bus, etc., which is not limited in the embodiments of the present disclosure.

[0058] The second hardware unit 20 may include a memory 200, such as a memory, or other hardware units that communicate with the first hardware unit 10. Exemplarily, the second hardware unit 20 may be a DRAM and / or an SRAM. Accordingly, the memory bandwidth includes the bandwidth of a DRAM bus (hereinafter referred to as DRAM bandwidth) and / or the bandwidth of an SRAM bus (hereinafter referred to as SRAM bandwidth).

[0059] In the embodiment of the present disclosure, the first hardware unit 10 and the second hardware unit 20 may be arranged on different integrated circuits, for example, the first hardware unit 10 may be arranged on the SoC 100, and the second hardware unit 20 may be a DRAM independently arranged relative to the SoC 100. Alternatively, the first hardware unit 10 and the second hardware unit 20 may also be arranged on the same integrated circuit, for example, the first hardware unit 10 may be arranged on the SoC 100, and the second hardware unit 20 may be an SRAM integrated on the SoC 100 chip.

[0060] In one implementation, the second hardware unit 20 may include a plurality of memories 200, wherein the types of the plurality of memories 200 may be the same, for example, the plurality of memories 200 are all DRAMs, or are all SRAMs. The types of the plurality of memories 200 may also be different, for example, a portion of the memories 200 is DRAM, and another portion of the memories 200 is SRAM.

[0061] In one implementation, the multiple memories 200 may be disposed on the SoC 100. Alternatively, the multiple memories 200 may be devices independently disposed relative to the SoC 100, or a portion of the memories 200 may be disposed on the SoC 100, and another portion of the memories 200 may be devices independently disposed. This disclosure embodiment does not specifically limit this.

[0062] It should be noted that, when the first hardware unit 10 runs multiple operating systems, each operating system will call its corresponding functional module 11 to implement the corresponding function. Accordingly, in order to implement its function, each functional module 11 can access the second hardware unit 20 to read instructions and data, or write the results of instruction execution, etc. Therefore, each functional module 11 accessing the second hardware unit 20 can be described as the operating system corresponding to each functional module 11 accessing the second hardware unit 20. For example, when the core 1 and core 2 of the CPU run the operating system 1, the core 1 and core 2 of the CPU access the DRAM, which can be described as the operating system 1 accessing the DRAM. For another example, the DSP managed by the operating system 2 accesses the DRAM, which can be described as the operating system 2 accessing the DRAM.

[0063] In one implementation, each memory 200 of the second hardware unit 20 may have a specific address range, and the address ranges of different memories 200 are different. Each address range may include multiple addresses, and the addresses in different address ranges are different. In other words, multiple memories 200 have a one-to-one correspondence with multiple address ranges, and each address range may correspond to one memory 200.

[0064] Exemplarily, taking the second hardware unit 20 including memory 200-1 to memory 200-N as an example:

[0065] The address range 1 of the memory 200 - 1 may be, for example, 0×1000 to 0×1999;

[0066] The address range 2 of the memory 200 - 2 may be, for example, 0×2000 to 0×2999;

[0067] The address range N of the memory 200 -N may be, for example, 0×N000 to 0×N999.

[0068] Each address can store data of a specific length, for example, each address can store 1 Byte of data. In this way, each functional module 11 can access different memories 200 based on different addresses.

[0069] To facilitate the subsequent description of the technical solution, in the embodiment of the present disclosure, the function module 11 accessing a certain address of the memory 200 can be described as the function module 11 accessing the address range corresponding to the address. In addition, since the function module 11 has a corresponding relationship with the operating system, the function module 11 accessing a certain address range can also be described as the operating system corresponding to the function module 11 accessing the address range.

[0070] In one implementation, each memory 200 can be allocated to one or more operating systems. For example, the addresses in a memory 200 can be divided into multiple address ranges, and different address ranges can be allocated to different operating systems, so that each operating system can access the address range allocated to it. In this way, it is possible to allocate a memory 200 to multiple operating systems. Each address range can correspond to one operating system.

[0071] For example, taking the allocation of the memory 200-2 to the operating systems 1 to 3 for use as an example:

[0072] The access address of the memory 200-2 can be divided into:

[0073] Address range 21: 0×2000~0×2299;

[0074] Address range 22: 0×2300~0×2599;

[0075] Address range 23: 0×2600~0×2999.

[0076] Among them, the address range 21 can be allocated to the operating system 1, the address range 22 can be allocated to the operating system 2, and the address range 23 can be allocated to the operating system 3. In this way, the operating system 1 can access the address range 21, the operating system 2 can access the address range 22, and the operating system 3 can access the address range 23.

[0077] In one implementation, when a memory 200 is allocated to multiple operating systems, bandwidth resources of the memory 200 may also be allocated to each operating system. For example, if the memory 200-2 includes 100 Gbps of bandwidth resources, 50 Gbps of bandwidth resources may be allocated to operating system 1, 30 Gbps of bandwidth resources may be allocated to operating system 2, and 20 Gbps of bandwidth resources may be allocated to operating system 3. The bandwidth resources allocated to each operating system may be fixed or dynamically changed.

[0078] It should be noted that, since the operating system has a corresponding relationship with the address range, in the embodiment of the present disclosure, allocating bandwidth resources to the operating system can also be described as allocating bandwidth resources to the address range corresponding to the operating system, so as to facilitate the subsequent description of the technical solution. For example, allocating 50Gbps of bandwidth resources to operating system 1 can be described as allocating 50Gbps of bandwidth resources to address range 21; allocating 30Gbps of bandwidth resources to operating system 2 can be described as allocating 30Gbps of bandwidth resources to address range 22.

[0079] In one embodiment, the bandwidth control system may further include a plurality of bandwidth control modules 40, such as bandwidth control modules 40-1, 40-2 to 40-N. The plurality of bandwidth control modules 40-1, 40-2 to 40-N are arranged in one-to-one correspondence with the plurality of functional modules 11-1, 11-2 to 11-N of the first hardware unit 10. The bandwidth control module 40 may be arranged on the SoC 100, for example, each bandwidth control module 40 may be arranged on the communication link between its corresponding functional module 11 and the bus 30. For example, each bandwidth control module 40 may be arranged on the exit side of its corresponding functional module 11. In this way, the access to each functional module 11 may first pass through the bandwidth control module 40, and then be transmitted to the second hardware unit 20 through the bus 30 downstream of the bandwidth control module 40.

[0080] In one implementation, each bandwidth control module 40 may correspond to multiple functional modules 11. In this case, the bandwidth control module 40 may be set on the communication link between the multiple functional modules 11 corresponding to it and the bus 30. It can be understood that the fewer the functional modules 11 corresponding to each bandwidth control module 40, the finer the granularity of the bandwidth control, and the more the functional modules 11 corresponding to each bandwidth control module 40, the coarser the granularity of the bandwidth control. Therefore, in the embodiment of the present disclosure, the correspondence between the bandwidth control module 40 and the functional module 11 can be flexibly set according to the granularity requirement of the bandwidth control, which is not limited here.

[0081] In the embodiment of the present disclosure, when the access of the functional module 11 passes through the bandwidth control module 40, the bandwidth control module 40 can determine the address range of the access, and control the bandwidth of the access based on the address range of the access. It can be understood that since the address range has a corresponding relationship with the operating system, the bandwidth control module 40 can control the bandwidth of different operating systems accessing the second hardware unit 20 based on the address range of the access.

[0082] Exemplary Methods

[0083] Figure 3 is a flowchart of a bandwidth control method provided by an exemplary embodiment of the present disclosure.

[0084] Combine the following Figure 3 , each step of the method is exemplarily described. Among them, each step of the method can be executed by any bandwidth control module 40 in the bandwidth control system. For the convenience of description, any bandwidth control module 40 in the bandwidth control system is referred to as a first control module, and any functional module 11 connected to the first control module in communication is referred to as a first functional module.

[0085] In one embodiment, the method may include the following steps:

[0086] Step S110 , obtaining a first address of a first access of a first functional module of a first hardware unit 10 to a second hardware unit 20 , wherein the second hardware unit 20 includes at least one address range.

[0087] In the scenario where the first hardware unit 10 runs multiple operating systems, the address range of the second hardware unit 20 can be allocated to multiple operating systems, and each operating system can be allocated to at least one address range. Each address range can correspond to a memory 200 or an operating system.

[0088] Exemplarily, taking the second hardware unit 20 including memories 200-1 to 200-3 as an example:

[0089] The address range 1 of the memory 200 - 1 is 0×1000 to 0×1999. If the address range 1 is allocated to the operating system 1 for use, then the address range 1 corresponds to the operating system 1, or in other words, the address range 1 corresponds to the memory 200 - 1.

[0090] The address range 2 of the memory 200-2 is 0×2000-0×2999. If the address range 2 is further divided into the address range 21 (for example, 0×2000-0×2299), the address range 22 (for example, 0×2300-0×2599) and the address range 23 (0×2600-0×2999), the address range 21 is allocated to the operating system 1, the address range 22 is allocated to the operating system 2, and the address range 23 is allocated to the operating system 3. Then, the address range 21 corresponds to the operating system 2, the address range 22 corresponds to the operating system 2, and the address range 23 corresponds to the operating system 3.

[0091] The address range 3 of the memory 200-3 is 0×3000-0×3999. If the address range 3 is further divided into an address range 31 (for example, 0×3000-0×3499) and an address range 32 (for example, 0×3500-0×3599), the address range 31 is allocated to the operating system 1, and the address range 32 is allocated to the operating system 3. Then, the address range 31 corresponds to the operating system 1, and the address range 32 corresponds to the operating system 3.

[0092] When the first functional module runs any operating system or is managed by any operating system, the first functional module can access the second hardware unit 20. For example, the first functional module can access any address range assigned by the operating system. In the disclosed embodiment, for ease of description, the access of the first functional module to the second hardware unit 20 may be referred to as a first access, and the access address of the first access may be referred to as a first address.

[0093] It should be noted here that the operating system running on the first functional module may be fixed or dynamically changing. Since different operating systems correspond to different address ranges, when the first functional module runs different operating systems, the first address may be located in different address ranges.

[0094] Exemplarily, when the first function module runs the operating system 1, the first function module can access the address range 1 of the memory 200-1, the address range 21 of the memory 200-2, and the address range 31 of the memory 200-3. Then, the first address can be located in the address range 1, for example, the first address can be 0×1001; the first address can also be located in the address range 21, for example, the first address can be 0×2001; the first address can also be located in the address range 31, for example, the first address can be 0×3001.

[0095] Exemplarily, when the first functional module runs the operating system 2, the first functional module can access the address range 22 of the memory 200-2. Then, the first address can be located within the address range 22, for example, the first address can be 0×2301.

[0096] In one implementation, the first control module may obtain the first address from an address channel of the bus. For example, if the first access is a read access, the first control module may obtain the first address from the read address channel of the bus; if the first access is a write access, the first control module may obtain the first address from the write address channel of the bus.

[0097] Step S120, determining a first address range corresponding to the first address.

[0098] It is understandable that, when the second hardware unit 20 includes multiple memories 200, or the memories 200 in the second hardware unit 20 are allocated to multiple operating systems, the second hardware unit 20 may include multiple address ranges. Then, in one implementation, the first address may be matched with the multiple address ranges respectively to determine the first address range corresponding to the first address.

[0099] Table 1 takes the second hardware unit 20 including memories 200-1 to 200-3 as an example, and exemplarily shows the correspondence between multiple memories 200, multiple address ranges, and multiple operating systems of the second hardware unit 20:

[0100] Table 1:

[0101]

[0102] In conjunction with Table 1, exemplarily, if the first address is 0×1500, then the corresponding first address range is address range 1; if the first address is 0×2500, then the corresponding first address range is address range 22; if the first address is 0×3600, then the corresponding first address range is address range 32.

[0103] Step S130: Control the bandwidth of the first access based on the current bandwidth of the first address range.

[0104] Controlling the bandwidth of the first access may also be referred to as controlling the first access, or may be referred to as performing transmission control on the first access, etc. The manner of controlling the bandwidth of the first access includes but is not limited to transmitting the first access or blocking the first access.

[0105] Among them, the current bandwidth of the first address range can be: the amount of data transmitted by the first address range per unit time at the current moment or the current time period (for example, at least one current clock cycle), or the throughput of the first address range per unit time. The unit of the current bandwidth can be, for example, bps, Kbps, Mbps, Gbps, etc.

[0106] Exemplarily, if the clock cycle is 1 ms and the amount of data transmitted in the first address range within one clock cycle is 1 Gb, then the current bandwidth of the first address range is 1000 Gbps.

[0107] Alternatively, the current bandwidth of the first address range may be described as: the total bandwidth of each functional module 11 accessing the first address range at the current moment or during the current period.

[0108] Exemplarily, within at least one current clock cycle, three functional modules 11 access addresses within the first address range, and their bandwidths are 10 Gbps, 15 Gbps, and 20 Gbps, respectively. Then, the current bandwidth of the first address range is 45 Gbps.

[0109] Since each address range has corresponding bandwidth resources, based on the current bandwidth of the first address range, the usage status of the bandwidth resources of the first address range can be determined. For example, it can be determined whether the first address range has idle bandwidth resources. Furthermore, the bandwidth of the first access can be controlled. For example, if the first address range has idle bandwidth resources, the first access can be transmitted, and if the first address range has no idle bandwidth resources, the first access can be blocked.

[0110] The method provided by the embodiment of the present disclosure determines the first address range corresponding to the first address of the first access, and uses the correspondence between the address range and the operating system to control the bandwidth of the first access based on the current bandwidth of the first address range, thereby achieving control over the bandwidth of the operating system corresponding to the first address range accessing the second hardware unit 20, so that the bandwidth of the operating system accessing the second hardware unit 20 matches the bandwidth resources it obtains, thereby reducing access delays, reducing data waiting, and improving the operating efficiency of the processor and the performance of the operating system.

[0111] Figure 4 4 is a flowchart of step S130 of a bandwidth control method provided by an exemplary embodiment of the present disclosure.

[0112] like Figure 4 As shown, in one embodiment, step S130 may include steps S131 - S132 .

[0113] Step S131: determine a first bandwidth threshold corresponding to a first address range.

[0114] The first bandwidth threshold may be a maximum bandwidth allowed when the operating system corresponding to the first address range accesses the first address range.

[0115] In one implementation, the first bandwidth threshold corresponding to the first address range may be less than or equal to the bandwidth resource corresponding to the first address range. It is understandable that, since the bandwidth resources corresponding to different address ranges may be the same or different, the first bandwidth thresholds corresponding to different address ranges may be the same or different.

[0116] Exemplarily, the first address range is address range 1. If the bandwidth resource corresponding to the first address range is 50 Gbps, then the first bandwidth threshold may be 50 Gbps, 45 Gbps, or the like.

[0117] It is understandable that the bandwidth resources corresponding to each address range can be fixed or dynamically changing, so when the bandwidth resources corresponding to a certain address range change, the first bandwidth threshold corresponding to the address range can also change. In other words, for any address range, the corresponding first bandwidth threshold can be a fixed value or a dynamically changing value.

[0118] Step S132: Control the bandwidth of the first access based on the first bandwidth threshold and the current bandwidth of the first address range.

[0119] In one implementation, the numerical values ​​of the first bandwidth threshold and the current bandwidth of the first address range can be compared; when the current bandwidth of the first address range is less than the first bandwidth threshold, it means that the first address range has idle bandwidth resources, and therefore, the first access can be transmitted; when the current bandwidth of the first address range is greater than or equal to the first bandwidth threshold, it means that the first address range has no idle bandwidth resources, and therefore, the first access can be blocked.

[0120] Exemplarily, assuming that the first bandwidth threshold is 50 Gbps, if the current bandwidth of the first address range is 45 Gbps, it means that the first address range has idle bandwidth resources for transmitting the first access. In this case, the first control module sends the first access to the downstream bus 30, so that the first access is sent to the first address via the downstream bus 30.

[0121] For example, assuming that the first bandwidth threshold is 50 Gbps, if the current bandwidth of the first address range is 55 Gbps, it means that the first address range has no idle bandwidth resources for transmitting the first access. In this case, the first control module can block the first access so that the first access will not be sent to the downstream bus 30. Thereafter, if the current bandwidth of the first address range is less than 50 Gbps, the first control module can transmit the first access so that the first access is sent to the first address via the downstream bus 30.

[0122] The method provided by the embodiment of the present disclosure controls the bandwidth of the first access based on the first bandwidth threshold corresponding to the first address range and the current bandwidth of the first address range, so that the first access is transmitted downstream when there are idle resources in the first address range, and is blocked when there are no idle resources in the first address range, so that the bandwidth of each operating system accessing the first address range matches the bandwidth resources corresponding to the first address range.

[0123] Figure 5 It is a flowchart of step S131 of a bandwidth control method provided by an exemplary embodiment of the present disclosure.

[0124] like Figure 5 As shown, in one embodiment, step S131 may include steps S1311 - S1312 .

[0125] Step S1311, obtaining a first bandwidth level corresponding to a first address range.

[0126] In one implementation, a bandwidth level may be preconfigured for each address range.

[0127] Among them, each address range may include at least one selectable bandwidth level, also known as bandwidth level indication or bandwidth indication information, etc., which is not specifically limited here. The bandwidth levels of different address ranges may be the same or different. During specific configuration, the bandwidth level of each address range may be reasonably determined based on factors such as the bandwidth resources corresponding to each address range. It is understandable that the bandwidth level corresponding to each address range may be fixed or dynamically changed. For example, if the bandwidth resources allocated to an address range change, the bandwidth level corresponding to the address range may also change accordingly.

[0128] In one implementation, the bandwidth level corresponding to each address range can be configured in a register. Thus, the first control module can read the bandwidth level corresponding to each address range from the register, and determine the first bandwidth level corresponding to the first address range based on the read information.

[0129] Exemplarily, five selectable bandwidth levels may be set for the address range, such as bandwidth levels 1-5, and different bandwidth levels may be represented by different values ​​(e.g., 1-5) in the register. Bandwidth level 1 may be the lowest level, bandwidth level 2 may be a lower level, bandwidth level 3 may be a medium level, bandwidth level 4 may be a higher level, and bandwidth level 5 may be the highest level. The number of selectable bandwidth levels for different address ranges may be the same or different, and is not specifically limited here.

[0130] Table 2 exemplarily shows bandwidth levels corresponding to multiple address ranges. It should be noted that the values ​​disclosed in Table 2 are only examples and do not constitute specific limitations on the embodiments of the present disclosure.

[0131] Table 2:

[0132]

[0133]

[0134] That is, if the first address range is address range 1, based on Table 2, the first control module may determine that the first bandwidth level corresponding to the first address range is bandwidth level 1.

[0135] Figure 6 It is a schematic diagram of the bandwidth control module 40 obtaining the bandwidth level provided by an embodiment of the present disclosure.

[0136] like Figure 6 As shown, in one implementation, an integrated circuit, such as SoC 100, may include a plurality of registers corresponding to the number of address ranges. Each register is used to store a bandwidth level corresponding to an address range. Exemplarily, register 1 stores the bandwidth level corresponding to address range 1, register 2 stores the bandwidth level corresponding to address range 2, and register 3 stores the bandwidth level corresponding to address range 3. Each bandwidth control module 40, such as bandwidth control module 40-1 to bandwidth control module 40-N, may read the bandwidth level in each register.

[0137] In one implementation, bandwidth levels corresponding to multiple address ranges may also be stored in the same register, thereby reducing the number of registers and the hardware complexity of the integrated circuit.

[0138] In one implementation, the bandwidth control module 40 may read the bandwidth level in each register when receiving an access from the functional module 11. Alternatively, the bandwidth control module 40 may periodically read the bandwidth level in each register. For example, a timer may be configured for the bandwidth control module 40, the timer periodically times out at a preset duration, and the bandwidth control module 40 may read the bandwidth level in each register in response to a timeout signal of the timer.

[0139] Step S1312: Based on the first bandwidth level, determine the first bandwidth threshold from the correspondence between at least one bandwidth level corresponding to the first address range and at least one bandwidth threshold.

[0140] In one implementation, a correspondence between at least one bandwidth level and at least one bandwidth threshold may be set for each address range, wherein each bandwidth level may correspond to a bandwidth threshold. For the same address range, different bandwidth levels may correspond to different bandwidth thresholds.

[0141] In one implementation, the correspondence between at least one bandwidth level and at least one bandwidth threshold corresponding to each address range can be stored in a register. In this way, when the first bandwidth level corresponding to the first address range is obtained, the bandwidth threshold corresponding to the first bandwidth level can be indexed in the correspondence between at least one bandwidth level and at least one bandwidth threshold corresponding to the first address range. The indexed bandwidth threshold is the first bandwidth threshold corresponding to the first address range.

[0142] Exemplarily, the correspondence between at least one bandwidth level and at least one bandwidth threshold corresponding to address range 1 is shown in Table 3. It should be noted that the values ​​disclosed in Table 3 are only examples and do not constitute a specific limitation on the embodiments of the present disclosure.

[0143] Table 3:

[0144]

[0145] Based on Table 3, if the first address range is address range 1 and the first bandwidth level is bandwidth level 1, it can be indexed that the bandwidth threshold corresponding to bandwidth level 1 is 60 Gbps, so it can be determined that the first bandwidth threshold corresponding to address range 1 is 60 Gbps. At this time, if the current bandwidth of address range 1 is less than 60 Gbps, the first control module will transmit the first access; if the current bandwidth of address range 1 is greater than or equal to 60 Gbps, the first control module will block the first access.

[0146] In contrast, if the first address range is address range 1 and the first bandwidth level is bandwidth level 4, it can be indexed that the bandwidth threshold corresponding to bandwidth level 4 is 90 Gbps, so it can be determined that the first bandwidth threshold corresponding to address range 1 is 90 Gbps. At this time, if the current bandwidth of address range 1 is less than 90 Gbps, the first control module will transmit the first access; if the current bandwidth of address range 1 is greater than or equal to 90 Gbps, the first control module will block the first access.

[0147] It can be seen that, for any address range, the bandwidth of each operating system accessing the address range can be controlled by adjusting the first bandwidth level corresponding to the address range.

[0148] It should be noted that, since each bandwidth level corresponds to a bandwidth threshold, for any address range, its corresponding bandwidth threshold can be determined based on its corresponding bandwidth level. In other words, the bandwidth level has the function of indicating the bandwidth threshold. In some implementations, in addition to using the bandwidth level, other information can also be used to indicate the bandwidth threshold, such as using a flag bit, a register address storing the bandwidth threshold, etc., which is not limited in the embodiments of the present disclosure.

[0149] It is understandable that, since the bandwidth resources corresponding to different address ranges may be the same or different, under the same bandwidth level, the bandwidth thresholds corresponding to different address ranges may be the same or different.

[0150] Table 4 shows the situation where bandwidth thresholds corresponding to different address ranges are the same or different under the same bandwidth level. It should be noted that the values ​​disclosed in Table 4 are only examples and do not constitute specific limitations on the embodiments of the present disclosure.

[0151] Table 4:

[0152]

[0153] Based on Table 4:, if the first bandwidth levels corresponding to address range 1 and address range 21 are both bandwidth level 1, then the first bandwidth threshold corresponding to address range 1 is 60 Gbps, and the first bandwidth threshold corresponding to address range 21 is 10 Gbps. Therefore, if the current bandwidth of address range 1 is equal to 30 Gbps, access to address range 1 will be transmitted to downstream bus 30. In contrast, if the current bandwidth of address range 21 is equal to 30 Gbps, access to address range 21 will be blocked.

[0154] It can be seen that for different address ranges, the same bandwidth level can correspond to different first bandwidth thresholds, thereby achieving differentiated control over the bandwidth of the operating system accessing different address ranges.

[0155] Figure 7 is another flow chart of a bandwidth control method provided by an exemplary embodiment of the present disclosure.

[0156] In the embodiment of the present disclosure, the first control module may be any bandwidth control module 40 of the bandwidth control system, that is, any bandwidth control module 40 may execute the bandwidth control method provided by the embodiment of the present disclosure to perform bandwidth control on accesses issued by the corresponding functional modules 11.

[0157] Combine the following Figure 7 , an exemplary description is given of the process of any bandwidth control module 40 executing the bandwidth control method of the embodiment of the present disclosure.

[0158] like Figure 7 As shown, in one embodiment, the process may include:

[0159] Step S410: upon receiving the access sent by the functional module 11-x, determine the access address range x.

[0160] Exemplarily, the accessed address range x may be determined based on step S110 and step S120.

[0161] Step S420, obtaining the bandwidth level x corresponding to the address range x.

[0162] Exemplarily, based on step S1311, the bandwidth level x corresponding to the address range x may be obtained.

[0163] Step S430: Determine a bandwidth threshold x corresponding to the address range x based on the bandwidth level x corresponding to the address range x.

[0164] Exemplarily, based on step S1312, a bandwidth threshold x corresponding to the address range x may be determined.

[0165] Step S440: determine whether the current bandwidth x of the address range x is greater than or equal to the bandwidth threshold x.

[0166] If the current bandwidth x is greater than or equal to the bandwidth threshold x, the bandwidth control module 40 - x may block the access. If the current bandwidth x is greater than or equal to the bandwidth threshold x, the bandwidth control module 40 - x may execute step S450 to transmit the access to the downstream bus 30 .

[0167] Since different bandwidth control modules 40 correspond to different functional modules 11, and different functional modules 11 may correspond to different operating systems, multiple bandwidth control modules 40 execute the method provided by the embodiment of the present disclosure in parallel, and thus the bandwidth of multiple operating systems accessing the second hardware unit 20 can be controlled simultaneously, so that the bandwidth of each operating system accessing the second hardware unit 20 matches the bandwidth resources obtained by it.

[0168] Exemplary Devices

[0169] The bandwidth control method provided by the embodiment of the present disclosure is introduced above. It is understandable that the integrated circuit (eg, SoC 100) or the first hardware unit 10 in SoC 100 may include corresponding hardware and software for implementing the hardware functions in order to implement the functions of the bandwidth control method.

[0170] Those skilled in the art should easily realize that, in combination with the steps of a bandwidth control method described in each embodiment of the present disclosure, each embodiment of the present disclosure can be implemented in the form of hardware, or in a combination of software-driven hardware. Whether a function is executed in hardware or software-driven hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present disclosure.

[0171] Figure 8 It is a structural diagram of a bandwidth control device provided by an exemplary embodiment of the present disclosure.

[0172] like Figure 8 As shown, in one embodiment, the bandwidth control device 300 may include:

[0173] The first control module 310. The first control module 310 is set corresponding to the first functional module of the first hardware unit 10. The first control module 310 is configured to: obtain a first address of a first access of the first functional module to the second hardware unit 20, wherein the second hardware unit 20 includes at least one address range; the first control module 310 is further configured to determine a first address range corresponding to the first address; the first control module 310 is further configured to control the bandwidth of the first access based on the current bandwidth of the first address range.

[0174] In one implementation, the first control module 310 is configured to: determine a first bandwidth threshold corresponding to the first address range; and control the bandwidth of the first access based on the first bandwidth threshold and the current bandwidth of the first address range.

[0175] In one implementation, the first control module 310 is configured to: obtain a first bandwidth level corresponding to the first address range; and determine a first bandwidth threshold based on the first bandwidth level from a correspondence between at least one bandwidth level corresponding to the first address range and at least one bandwidth threshold.

[0176] In one implementation, the bandwidth control device may further include: a storage module 320. The storage module 320 is used to store a bandwidth level corresponding to at least one address range, for example, to store a first bandwidth level corresponding to a first address range. In one example, the storage module 320 may include one or more registers.

[0177] In one implementation, the first control module 310 is configured to obtain a first bandwidth level corresponding to the first address range from the storage module 320 .

[0178] In one implementation, the first control module 310 is configured to: transmit the first access when the current bandwidth of the first address range is less than the first bandwidth threshold; block the first access when the current bandwidth of the first address range is greater than or equal to the first bandwidth threshold.

[0179] It can be seen from the above technical solutions that the device provided by the embodiment of the present disclosure can utilize the correspondence between the address range and the operating system to control the bandwidth of the first access based on the current bandwidth of the first address range, and then can realize the control of the bandwidth of the operating system corresponding to the first address range accessing the second hardware unit 20, so that the bandwidth of the operating system accessing the second hardware unit 20 matches the bandwidth resources it obtains, thereby reducing access delays, reducing data waiting, and improving the operating efficiency of the processor and the performance of the operating system.

[0180] Exemplary Integrated Circuits

[0181] The embodiment of the present disclosure also provides an integrated circuit, which may be, for example, a SoC.

[0182] Fig. 9 It is a schematic diagram of the structure of an integrated circuit provided by an exemplary embodiment of the present disclosure.

[0183] like Fig. 9 As shown, in one implementation, the integrated circuit 1000 includes a first hardware unit 10, and the first hardware unit 10 runs multiple operating systems. Among them: the first hardware unit 10 may include at least one functional module 11. Each functional module 11 is used to implement one or more functions of the integrated circuit 1000. For example: the functional module 11 can be a CPU, a GPU, an NPU, an ISP, a DSP, etc. In addition, the functional module 11 can also be a core of a CPU, a stream processor of a GPU, a computing unit of an NPU, etc.

[0184] In one implementation, each functional module 11 of the first hardware unit 10 may communicate with other hardware units (eg, the second hardware unit 20 ), for example, access the second hardware unit 20 .

[0185] The second hardware unit 20 may include one or more memories 200, such as memory, or other hardware units that communicate with the first hardware unit 10. Exemplarily, the second hardware unit 20 may be DRAM and / or SRAM. Accordingly, the memory bandwidth includes the bandwidth of the DRAM bus (hereinafter referred to as DRAM bandwidth) and / or the bandwidth of the SRAM bus (hereinafter referred to as SRAM bandwidth).

[0186] In one implementation, the at least one memory 200 in the second hardware unit 20 may be located on the integrated circuit 1000 and become a part of the integrated circuit 1000 .

[0187] In one embodiment, the integrated circuit 1000 further includes: at least one bandwidth control module 40 arranged in one-to-one correspondence with at least one functional module 11, each bandwidth control module 40 being communicatively connected to its corresponding functional module 11, wherein at least one bandwidth control module 40 is configured to implement the function of the first control module in the bandwidth control device, for example, to implement the steps of the bandwidth control method provided in the embodiment of the present disclosure.

[0188] In one example, the bandwidth control module 40 may obtain the address of the access of the functional module 11 communicating with it to the second hardware unit 20; then, determine the address range corresponding to the address; and then control the bandwidth of the access based on the current bandwidth of the address range.

[0189] It can be seen from the above technical solutions that the integrated circuit provided by the embodiment of the present disclosure can utilize the correspondence between the address range and the operating system, and based on the current bandwidth of the address range, control the bandwidth of the operating system accessing the hardware unit corresponding to the address range, so that the bandwidth of the operating system accessing the second hardware unit 20 matches the bandwidth resources it obtains, thereby reducing access delays, reducing data waiting, and improving the operating efficiency of the processor and the performance of the operating system.

[0190] Exemplary Electronic Devices

[0191] The present disclosure provides an electronic device that can be used in a vehicle, such as an intelligent networked car. The electronic device can be, for example, an on-board computing device, an on-board computing platform, an on-board computing unit, an intelligent driving computing platform, etc.

[0192] In one embodiment, the electronic device may include an integrated circuit provided by an embodiment of the present disclosure, which may run at least one operating system, such as an intelligent driving system and a cockpit system, to implement relevant functions of the cabin-cockpit integrated system.

[0193] In one embodiment, the electronic device may further include:

[0194] The housing is used to accommodate and install various hardware units of the electronic equipment, protect the various hardware units from being affected by dust and water, and improve the reliability of the electronic equipment.

[0195] The power module is used to supply power to various hardware units of the electronic device.

[0196] The heat dissipation module, such as a heat dissipation fan, a liquid cooling device, etc., is used to dissipate heat for the hardware units of the electronic equipment, reduce the operating temperature of each hardware unit, and improve the operating stability of each hardware unit.

[0197] External interfaces are used to connect various sensors on the vehicle, such as cameras, lidar, millimeter-wave radar, ultrasonic radar, etc., to send instructions to each sensor or receive data sent back by the sensor. External interfaces can also be connected to various actuators of the vehicle, such as the drive system, brake system, steering system, etc., to send control instructions to each system and receive feedback from each system.

[0198] Example Vehicles

[0199] The embodiments of the present disclosure provide a vehicle, which may include a land vehicle, an air vehicle, a water vehicle, an underwater vehicle, a space vehicle, etc. For details about the vehicle, please refer to the above embodiments, which will not be repeated here. The vehicle may include an integrated circuit or an electronic device provided by the embodiments of the present disclosure to implement the bandwidth control method provided by the embodiments of the present disclosure.

[0200] Exemplary computer program products and computer-readable storage media

[0201] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the bandwidth control method according to various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section of this specification.

[0202] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0203] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the processor executes the steps of the bandwidth control method according to various embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.

[0204] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical memory device, a magnetic memory device, or any suitable combination of the above.

[0205] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.

[0206] The block diagrams of the devices, apparatuses, equipment, and systems involved in the present disclosure are intended only as illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems may be connected, arranged, or configured in any manner. Words such as "include," "comprise," "have," and the like are open words, meaning "including but not limited to," and may be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and may be used interchangeably therewith, unless the context makes it clear that the bandwidth level is not so. The word "such as," used herein, refers to the phrase "such as but not limited to," and may be used interchangeably therewith.

[0207] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.

[0208] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0209] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A bandwidth control method, comprising: Obtaining a first address of a first access by a first functional module of a first hardware unit to a second hardware unit, wherein the second hardware unit includes at least one address range; Determine a first address range corresponding to the first address; Based on a current bandwidth of the first address range, a bandwidth of the first access is controlled.

2. The bandwidth control method according to claim 1, wherein: The controlling the bandwidth of the first access based on the current bandwidth of the first address range includes: Determine a first bandwidth threshold corresponding to the first address range; The bandwidth of the first access is controlled based on the first bandwidth threshold and the current bandwidth of the first address range.

3. The bandwidth control method according to claim 2, wherein: The determining a first bandwidth threshold corresponding to the first address range includes: Obtaining a first bandwidth level corresponding to the first address range; Based on the first bandwidth level, the first bandwidth threshold is determined from a correspondence between at least one bandwidth level corresponding to the first address range and at least one bandwidth threshold.

4. The bandwidth control method according to claim 2, wherein: The controlling the bandwidth of the first access based on the first bandwidth threshold and the current bandwidth of the first address range includes: If the current bandwidth of the first address range is less than the first bandwidth threshold, transmitting the first access; or, When the current bandwidth of the first address range is greater than or equal to the first bandwidth threshold, the first access is blocked.

5. The bandwidth control method according to any one of claims 1 to 4, wherein: The second hardware unit includes at least one dynamic random access memory DRAM and / or at least one static random access memory SRAM.

6. A bandwidth control device, comprising: a first control module; The first control module is arranged correspondingly to the first functional module of the first hardware unit; The first control module is configured as follows: Acquire a first address of a first access by the first functional module to a second hardware unit, wherein the second hardware unit includes at least one address range; Determine a first address range corresponding to the first address; Based on a current bandwidth of the first address range, a bandwidth of the first access is controlled.

7. The bandwidth control device according to claim 6, wherein: The first control module is configured to determine a first bandwidth threshold corresponding to the first address range; The first control module is further configured to control the bandwidth of the first access based on the first bandwidth threshold and the current bandwidth of the first address range.

8. The bandwidth control device according to claim 7, wherein: The first control module is configured to obtain a first bandwidth level corresponding to the first address range; The first control module is further configured to determine the first bandwidth threshold based on the first bandwidth level from a correspondence between at least one bandwidth level corresponding to the first address range and at least one bandwidth threshold.

9. The bandwidth control device according to claim 7, wherein: The first control module is configured to transmit the first access if the current bandwidth of the first address range is less than the first bandwidth threshold; The first control module is further configured to block the first access when a current bandwidth of the first address range is greater than or equal to the first bandwidth threshold.

10. An integrated circuit comprising: at least one functional module; At least one bandwidth control module is arranged in one-to-one correspondence with at least one of the functional modules, each of the bandwidth control modules is communicatively connected to the corresponding functional module, wherein at least one of the bandwidth control modules is configured to implement the function of the first control module described in any one of claims 6-9.

11. An electronic device, comprising: The integrated circuit of claim 10.

12. A vehicle, comprising: The integrated circuit of claim 10 or the electronic device of claim 11.

Citation Information

Cited By

  • Memory management system, method, device, medium and product

    CN120256132A

  • Memory management system, method, device, medium and product

    CN120256132B