Application circuit low-power-consumption design optimization method and related device
By adjusting the density distribution of carbon nanotubes in integrated circuit design and replacing carbon nanotube distribution devices on critical and non-critical paths, the problem of failure to fully utilize the density distribution characteristics of carbon nanotubes in integrated circuit design is solved, and the circuit frequency and power consumption optimization is achieved.
Patent Information
- Application Number
- CN202510476983.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2025-07-25
AI Technical Summary
The existing integrated circuit design has failed to fully utilize the density distribution characteristics of carbon nanotube field effect transistors, which limits its development in the field of integrated circuits.
By obtaining the location information, netlist files and simulation calculation results of the initial layout and wiring results, the standard density devices on the critical path are replaced with the more dense carbon nanotube distribution devices to reduce delays, and the standard density devices on the non-critical paths are replaced with the less dense carbon nanotube distribution devices to reduce power consumption.
The goal of increasing the operating frequency of the circuit and reducing power consumption is achieved, and the density distribution characteristics of carbon nanotubes are fully utilized, and the integrated circuit design is optimized.
Smart Images

Figure CN120373248A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic information technology, and in particular, to a method for optimizing the low-power design of an application circuit and related devices. Background Art
[0002] A carbon nanotube field-effect transistor uses carbon nanotubes as the channel material and is a voltage-controlled current source device that controls the magnitude of the current between the source and drain through gate modulation.
[0003] The carrier mobility of a carbon nanotube field-effect transistor is extremely high, enabling faster electron transport, thereby significantly increasing the operating frequency of an integrated circuit; the leakage current of a carbon nanotube field-effect transistor is small, and by changing the density of carbon nanotubes and other methods, the on-state and off-state currents can be reduced, showing low-power characteristics, and can effectively meet the requirements of electronic devices for battery life and heat dissipation performance. In addition, the diameter of carbon nanotubes is only 1-3 nanometers, which enables the device size to be further reduced, thereby significantly increasing the functional density of the chip.
[0004] However, in current integrated circuit designs, the density distribution characteristics of carbon nanotubes that make up carbon nanotube field-effect transistors cannot be fully utilized to optimize integrated circuit designs, which greatly limits the development of carbon nanotube field-effect transistors in the field of integrated circuits. Summary of the Invention
[0005] Based on the above problems, this application provides a method for optimizing the low-power design of an application circuit, which can make full use of the density distribution characteristics of carbon nanotubes that make up carbon nanotube field-effect transistors, thereby optimizing integrated circuit designs.
[0006] The embodiments of this application disclose the following technical solutions:
[0007] The first aspect of this application discloses a method for optimizing the low-power design of an application circuit, including:
[0008] Obtain the first position information of carbon nanotube distribution devices with standard density in the initial placement and routing result, as well as the first netlist file, constraint file, and first simulation calculation result of the initial placement and routing result; the first simulation calculation result includes the delay of each path in the circuit board corresponding to the first netlist file and the power consumption of each carbon nanotube distribution device.
[0009] If there is a path in the first simulation result whose delay is greater than the target delay in the constraint file, replace the carbon nanotube distribution devices with standard density on the critical path in the circuit board corresponding to the first netlist file with carbon nanotube distribution devices of the first density, to obtain a second netlist file, second position information, and a second simulation calculation result; the second simulation calculation result includes the delay of each path in the circuit board corresponding to the second netlist file and the power consumption of each carbon nanotube distribution device; the critical path is the path whose delay is greater than the target delay; the density of the carbon nanotube distribution devices of the first density is greater than the density of the carbon nanotube distribution devices of the standard density; the second position information is generated based on the first position information;
[0010] If there is a carbon nanotube distribution device in the second simulation result whose power consumption is greater than the target power consumption in the constraint file, replace the carbon nanotube distribution devices with standard density on the non-critical path in the circuit board corresponding to the second netlist file with carbon nanotube distribution devices of the second density, to obtain a third netlist file, third position information, and a third simulation calculation result; the non-critical path is the path whose delay is less than or equal to the target delay; the density of the carbon nanotube distribution devices of the second density is lower than the density of the carbon nanotube distribution devices of the standard density; the third position information is generated based on the second position information.
[0011] In an optional implementation manner, the step of if there is a path in the first simulation result whose delay is greater than the target delay in the constraint file, replace the carbon nanotube distribution devices with standard density on the critical path in the circuit board corresponding to the first netlist file with carbon nanotube distribution devices of the first density, to obtain a second netlist file, second position information, and a second simulation calculation result, includes:
[0012] Take the path with the maximum delay in the circuit board corresponding to the first netlist file as the target critical path;
[0013] Replace the carbon nanotube distribution devices with standard density in the target critical path with the carbon nanotube distribution devices of the first density, to obtain a first intermediate netlist file;
[0014] Perform a shifting operation on the carbon nanotube distribution devices in the first intermediate netlist file, to obtain a second netlist file; the change in the density gradient of adjacent carbon nanotube distribution devices in the second netlist file is less than the change in the density gradient of adjacent carbon nanotube distribution devices in the first intermediate netlist file;
[0015] Update the first target position information based on the second netlist file, to obtain the second position information;
[0016] Through a static timing analysis tool, perform simulation calculations on the second netlist file, the constraint file, and the carbon nanotube density distribution cell library to obtain the second simulation calculation result.
[0017] In an alternative implementation, if there are carbon nanotube distribution devices in the second simulation result whose power consumption is greater than the target power consumption in the constraint file, then replace the standard density carbon nanotube distribution devices on the non-critical path of the circuit board corresponding to the second netlist file with carbon nanotube distribution devices of the second density, to obtain a third netlist file, third location information, and third simulation calculation result, including:
[0018] Regarding the path with the largest total power consumption among the multiple paths in the circuit board corresponding to the second netlist file that have a delay less than the target delay, as the target non-critical path;
[0019] Replace the standard density carbon nanotube distribution devices on the target non-critical path with the carbon nanotube distribution devices of the second density to obtain a second intermediate netlist file;
[0020] Perform a shifting operation on the carbon nanotube distribution devices in the second intermediate netlist file to obtain a third netlist file; the change in the density gradient of adjacent carbon nanotube distribution devices in the third netlist file is less than the density gradient change in the second intermediate netlist file;
[0021] Based on the third netlist file, update the second target location information to obtain the third location information;
[0022] Through a static timing analysis tool, perform simulation calculations on the third netlist file, the constraint file, and the carbon nanotube density distribution cell library to obtain the third simulation calculation result.
[0023] In an alternative implementation, the method further includes:
[0024] Determine multiple carbon nanotube device groups in the third netlist file; the carbon nanotube device groups include multiple carbon nanotube distribution devices with different densities; the change in the density gradient of adjacent carbon nanotube distribution devices in the carbon nanotube device groups is greater than a preset gradient change threshold;
[0025] Determine, from the multiple carbon nanotube device groups, the multiple carbon nanotube device groups located on the non-critical path as the carbon nanotube device groups to be processed;
[0026] Update the carbon nanotube device groups to be processed with a target carbon nanotube device group to obtain an updated target netlist file; the change in the density gradient of adjacent carbon nanotube distribution devices in the target carbon nanotube device group is less than the preset gradient change threshold;
[0027] Update the third location information based on the updated target netlist file to obtain updated target location information.
[0028] In an alternative implementation, the method further includes:
[0029] Process the updated target location information and the updated target netlist file through a placement and routing tool to generate a carbon nanotube layout file.
[0030] In an alternative implementation, the replacing the carbon nanotube distribution devices with a standard density in the target critical path with the carbon nanotube distribution devices with the first density to obtain a first intermediate netlist file includes:
[0031] Based on a heuristic genetic algorithm, replace the carbon nanotube distribution devices with a standard density in the target critical path with the carbon nanotube distribution devices with the first density to obtain the first intermediate netlist file.
[0032] In an alternative implementation, the replacing the carbon nanotube distribution devices with a standard density in the target non-critical path with the carbon nanotube distribution devices with the second density to obtain a second intermediate netlist file includes:
[0033] Based on a simulated annealing algorithm, replace the carbon nanotube distribution devices with a standard density in the target non-critical path with the carbon nanotube distribution devices with the second density to obtain the second intermediate netlist file.
[0034] A second aspect of the present application discloses a low-power design optimization device for an application circuit, including:
[0035] An initial information acquisition module, configured to acquire first location information of carbon nanotube distribution devices with a standard density in an initial placement and routing result, as well as a first netlist file, a constraint file, and a first simulation calculation result of the initial placement and routing result; the first simulation calculation result includes the delay of each path and the power consumption of each carbon nanotube distribution device in the circuit board corresponding to the first netlist file;
[0036] The first information update module is configured to, if there is a path in the first simulation result whose delay is greater than the target delay in the constraint file, replace the carbon nanotube distribution devices with standard density on the critical path in the circuit board corresponding to the first netlist file with carbon nanotube distribution devices with a first density, so as to obtain a second netlist file, second position information, and a second simulation calculation result; the second simulation calculation result includes the delay of each path and the power consumption of each carbon nanotube distribution device in the circuit board corresponding to the second netlist file; the critical path is a path whose delay is greater than the target delay; the density of the carbon nanotube distribution devices with the first density is greater than the density of the carbon nanotube distribution devices with the standard density; the second position information is generated based on the first position information.
[0037] The second information update module is configured to, if there is a carbon nanotube distribution device in the second simulation result whose power consumption is greater than the target power consumption in the constraint file, replace the carbon nanotube distribution devices with standard density on the non-critical path in the circuit board corresponding to the second netlist file with carbon nanotube distribution devices with a second density, so as to obtain a third netlist file, third position information, and a third simulation calculation result; the non-critical path is a path whose delay is less than or equal to the target delay; the density of the carbon nanotube distribution devices with the second density is lower than the density of the carbon nanotube distribution devices with the standard density; the third position information is generated based on the second position information.
[0038] A third aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method steps described in any implementation manner of the first aspect are implemented.
[0039] A fourth aspect of the present application provides an electronic device, including:
[0040] A memory, on which a computer program is stored;
[0041] A processor, configured to execute the computer program in the memory to implement the steps of the method described in any implementation manner of the first aspect.
[0042] Compared with the prior art, the present application has the following beneficial effects:
[0043] The present application discloses an optimization method for low-power design of an application circuit, including: obtaining the position information of carbon nanotube distribution devices with standard density, the first netlist file, constraint conditions, and the first simulation calculation result in the initial placement and routing result; if it is found that there is a path in the first simulation calculation result with a delay greater than the target delay in the constraint file, then replacing the carbon nanotube distribution devices with standard density on the critical path with carbon nanotube distribution devices with a greater density of the first density to reduce the path delay and improve the operating frequency of the circuit; if it is found that there are carbon nanotube distribution devices in the second simulation result with a power consumption greater than the target power consumption in the constraint file, then replacing the carbon nanotube distribution devices with standard density on the non-critical path with carbon nanotube distribution devices with a lower density of the second density to reduce the overall power consumption. Therefore, the application circuit design optimization method provided by the present application achieves the goal of improving the operating frequency and reducing the power consumption of the circuit by utilizing the characteristics of carbon nanotube density distribution devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0045] Figure 1 It is a schematic structural diagram of a carbon nanotube field effect transistor provided by an embodiment of the present application;
[0046] Figure 2 It is a schematic diagram of the density change of a carbon nanotube density distribution device provided by an embodiment of the present application;
[0047] Figure 3 It is a flowchart of an optimization method for low-power design of an application circuit provided by an embodiment of the present application;
[0048] Figure 4 It is a schematic structural diagram of an optimization device for low-power design of an application circuit provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0049] In order to enable those skilled in the art to better understand the solution of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0050] A carbon nanotube field-effect transistor is a voltage-controlled current source device that uses carbon nanotubes as the channel material and controls the current magnitude between the source and drain through the modulation of the gate. Compared with silicon-based field-effect transistors, the biggest difference in carbon nanotube field-effect transistors is that the channel material changes from single-crystalline silicon to carbon nanotubes. Figure 1 FIG. is a schematic structural diagram of a carbon nanotube field-effect transistor provided by an embodiment of the present application. Figure 1 In FIG., G (Gate) is the region that controls the flow of electrons; S (Source) is the input terminal of electrons; D (Drain) is the output terminal of electrons. The gate G is located above the carbon nanotube, and the source S and drain D are respectively located at both ends of the carbon nanotube.
[0051] The gate G affects the flow of electrons in the carbon nanotube through an electric field, thereby controlling the current between the source S and the drain D. The source S and the drain D are usually made of a metal material and are used to provide the input and output of electrons. The carbon nanotube is located between the source S and the drain D and serves as a channel for electron transmission. The diameter of the carbon nanotube is very small, usually between 1 and 3 nanometers, which enables the device to be very tiny.
[0052] According to the differences in manufacturing processes, carbon nanotube field-effect transistors are mainly divided into two structural forms: arrays and networks. Currently, due to manufacturing process limitations, the network structure is more common. During the manufacturing process, the source-drain current of the device can be affected by adjusting the number of carbon nanotubes included in the channel region of each unit in the device.
[0053] In the current integrated circuit design process, three performance indicators of performance, power consumption, and area need to be considered. Among them, performance is mainly manifested as the clock frequency of the system, the area is the size of the chip, and the power consumption includes static power consumption and dynamic power consumption.
[0054] The expression for the static power consumption P leak is: P leak = V DD × I leak ; where V DD is the power supply power consumption, and I leak is the leakage current at static time.
[0055] The expression for the dynamic power consumption P switch is: P switch = 0.5 × V 2 DD × C load × T r ; where V DD is the power supply power consumption, C load is the load capacitance, and T r is the input signal flip frequency.
[0056] By analyzing the expressions of static power consumption and dynamic power consumption, it can be seen that if the power consumption of the integrated circuit is to be reduced, the leakage current, load capacitance and signal flip rate need to be reduced.
[0057] As mentioned above, carbon nanotube field-effect transistors have extremely high carrier mobility, which can achieve faster electron transmission, thereby greatly improving the operating frequency of integrated circuits; carbon nanotube field-effect transistors have low leakage current, and can reduce on-state and off-state currents by changing the density of carbon nanotubes, etc., showing low power consumption characteristics, which can effectively meet the needs of electronic devices for endurance and heat dissipation performance. In addition, the diameter of carbon nanotubes is only 1-3 nanometers, which allows the device size to be further reduced, thereby significantly increasing the functional density of the chip.
[0058] In current integrated circuit design, how to fully utilize the density distribution characteristics of carbon nanotubes constituting carbon nanotube field effect transistors to optimize integrated circuit design has become one of the technical problems that need to be urgently solved in the field of electronic information technology.
[0059] Based on this, the present application discloses a method for optimizing the low power consumption design of an application circuit, including: obtaining the position information of the standard density carbon nanotube distribution device in the initial layout and routing result, the first netlist file, the constraint condition and the first simulation calculation result; if it is found that there is a path with a delay greater than the target delay in the constraint file in the first simulation calculation result, the carbon nanotube distribution device with a higher density of the first density is used to replace the standard density carbon nanotube distribution device on the critical path to reduce the path delay and increase the operating frequency of the circuit; if it is found that there is a carbon nanotube distribution device with a power consumption greater than the target power consumption in the constraint file in the second simulation result, the carbon nanotube distribution device with a lower density of the second density is used to replace the standard density carbon nanotube distribution device on the non-critical path to reduce the overall power consumption. Therefore, the application circuit design optimization method provided by the present application achieves the goal of increasing the operating frequency of the circuit and reducing power consumption by utilizing the characteristics of the carbon nanotube density distribution device.
[0060] To facilitate understanding of the technical solutions in this application, the professional terms involved in this application are first explained.
[0061] A carbon nanotube density distribution device, also known as a carbon nanotube distribution device, is a carbon nanotube logic unit device constructed based on a carbon nanotube density gradient. It contains the parasitic parameters, timing information, power consumption information, etc. of the logic unit under different preset carbon nanotube density gradients, and can be dynamically adjusted based on the density distribution situation of the carbon nanotube density distribution device.
[0062] Figure 2 A schematic diagram of density variation of a carbon nanotube density distribution device provided in an embodiment of the present application.Figure 2 The left figure in shows the initial state where the density of carbon nanotubes is evenly distributed, and all logic units are labeled as type A, that is Figure 2 all the devices in the left figure in have the same characteristics or functions. Figure 2 The right figure in shows that as the density of carbon nanotubes changes, the types of logic units also change accordingly. Figure 2 The types of logic units in the central region of the right figure in are still type A, but as it expands outwards, the density of carbon nanotubes decreases, and the types of logic units change from A to B, and then from B to C; this change in density gradient enables different regions to perform different logic functions. That is Figure 2 shows how to achieve different logic units and functions by adjusting the density of carbon nanotubes.
[0063] A carbon nanotube distribution device refers to the number or concentration of carbon nanotubes in a specific region. A carbon nanotube distribution device with a standard density refers to a carbon nanotube density distribution device in which the density of carbon nanotubes used in integrated circuit design is evenly distributed.
[0064] A carbon nanotube density distribution cell library is a device library used in integrated circuit design, which contains carbon nanotube logic unit devices constructed based on the carbon nanotube density gradient. These devices have different preset carbon nanotube density gradients, and the parasitic parameters, timing information, power consumption information, etc. of the logic units under each gradient are defined in detail and included in the library.
[0065] Figure 3 This is a flowchart of an optimization method for low-power design of an application circuit provided by an embodiment of the present application. Combining Figure 3 as shown in , the optimization method for low-power design of the application circuit disclosed in the present application includes:
[0066] S301, obtain the first position information of the carbon nanotube distribution device with a standard density in the initial placement and routing result, as well as the first netlist file, constraint file, and first simulation calculation result of the initial placement and routing result.
[0067] The initial placement and routing result refers to the circuit layout obtained after the placement and routing steps in the integrated circuit design process. Placement is to place each component in the circuit at a specific position on the chip, and routing is to connect the wires of these components. The first position information refers to the exact physical position of the carbon nanotube distribution device with a standard density in the initial placement and routing result.
[0068] The first netlist file in the present application refers to a file that describes the circuit components and their connection relationships in the circuit corresponding to the initial placement and routing result. The first netlist file contains a list of all carbon nanotube distribution devices with a standard density in the circuit corresponding to the initial placement and routing result and their connection methods.
[0069] In integrated circuit design, constraint files are used to define design rules and limitations. The information in the constraint files in this application includes but is not limited to: the target delay of each path in the circuit board, the power consumption (static power consumption and dynamic power consumption) of each carbon nanotube distribution device in the circuit board, the number of delay iterations, and the number of power consumption iterations.
[0070] After determining the first netlist file and the constraint file for obtaining the initial placement and routing result, the first netlist file and the constraint file can be input into a static timing analysis tool, such as Synopsys Prime Time or Cadence Tempus, and then associated with the carbon nanotube density distribution cell library for simulation calculation to obtain the first simulation calculation result. Among them, the first simulation result includes: the delay of each path in the circuit board corresponding to the first netlist file and the power consumption of each carbon nanotube distribution device.
[0071] S302, determine whether there is a path in the first simulation result whose delay is greater than the target delay in the constraint file.
[0072] Specifically, compare the delay of each path included in the first simulation result with the target delay of the path preset in the constraint file.
[0073] If it is determined that there is at least one path in the first simulation result whose delay is greater than the target delay in the constraint file, then enter S303; otherwise, use the first simulation result as the second simulation result in S304 and enter S304.
[0074] S303, replace the carbon nanotube distribution device with standard density on the critical path in the circuit board corresponding to the first netlist file with the carbon nanotube distribution device with the first density to obtain a second netlist file, second location information, and a second simulation calculation result.
[0075] Among them, the critical path in this step is the path whose delay is greater than the target delay.
[0076] If it is determined in S302 that there is a path in the first simulation result whose delay is greater than the target delay in the constraint file, then through steps A1 - A5, a second netlist file, second location information, and a second simulation calculation result can be obtained. Specifically:
[0077] A1, take the path with the largest delay among the multiple paths in the first simulation result determined in S302 whose delay is greater than the target delay in the constraint file as the target critical path.
[0078] A2, based on the heuristic genetic algorithm, replace the carbon nanotube distribution device with standard density in the target critical path with the carbon nanotube distribution device with the first density to obtain a first intermediate netlist file.
[0079] The density of the carbon nanotube distribution device with the first density in this application is greater than that of the carbon nanotube distribution device with the standard density.
[0080] Among them, the heuristic genetic algorithm is an algorithm that combines the advantages of the heuristic algorithm and the genetic algorithm and is used to solve optimization problems. This algorithm not only inherits the advantages of the heuristic algorithm and the genetic algorithm but also makes up for some of their disadvantages. Specifically, the heuristic genetic algorithm generates a population of solutions with better performance indicators in the next generation by simulating genetic operations such as selection, crossover, and mutation in the process of biological evolution, while inheriting the original excellent genes, and continuously iterates until the optimal solution or a satisfactory solution is found.
[0081] In this application, through the heuristic genetic algorithm, the carbon nanotube distribution device with the standard density that needs to be replaced by the carbon nanotube distribution device with the first density in the target critical path is determined. By replacing the carbon nanotube distribution device with the standard density in the target critical path with the carbon nanotube distribution device with the first density, the delay of the target critical path is reduced.
[0082] A3. Perform a shifting operation on the carbon nanotube distribution devices in the first intermediate netlist file to obtain a second netlist file.
[0083] In the second netlist file of this application, the change in the density gradient of adjacent carbon nanotube distribution devices is smaller than the change in the density gradient of adjacent carbon nanotube distribution devices in the first intermediate netlist file.
[0084] The shifting operation in this application refers to fine-tuning the positions of adjacent carbon nanotube distribution devices. The purpose of this adjustment is to reduce the drastic change in density between adjacent devices that may be caused by replacing the carbon nanotube distribution device with the standard density in the critical path with a high-density carbon nanotube distribution device. Through this fine position adjustment, a smooth transition of the carbon nanotube density can be achieved, thus ensuring the stability and reliability of the circuit.
[0085] A4. Based on the second netlist file, update the first target position information to obtain the second position information.
[0086] A5. Through a static timing analysis tool, perform simulation calculations on the second netlist file, the constraint file, and the carbon nanotube density distribution cell library to obtain a second simulation calculation result.
[0087] Among them, the second simulation calculation result includes: the delay of each path and the power consumption of each carbon nanotube distribution device in the circuit board corresponding to the second netlist file.
[0088] It should be noted that after obtaining the second simulation calculation result, it is also necessary to determine whether there is a path in the second simulation result whose delay is greater than the target delay in the constraint file; if there is a path in the second simulation result whose delay is greater than the target delay in the constraint file, repeat the steps in A1 - A5 for delay iteration until the number of iterations exceeds the delay iteration number in the constraint file, or there is no path in the latest simulation result whose delay is greater than the target delay in the constraint file; at this time, stop the delay iteration, and use the latest obtained netlist file, the latest obtained location information, and the latest obtained simulation calculation result as the second netlist file, the second location information, and the second simulation calculation result in S303.
[0089] S304, determine whether there is a carbon nanotube distribution device in the second simulation result whose power consumption is greater than the target power consumption in the constraint file.
[0090] Specifically, compare the power consumption of each carbon nanotube distribution device included in the second simulation result with the target power consumption of the carbon nanotube distribution device preset in the constraint file.
[0091] If it is determined that there is at least one carbon nanotube distribution device in the second simulation result whose power consumption is greater than the target power consumption in the constraint file, go to S305; otherwise, go to S306.
[0092] S305, replace the carbon nanotube distribution device with standard density on the non - critical path of the circuit board corresponding to the second netlist file with the carbon nanotube distribution device with the second density, to obtain a third netlist file, a third location information, and a third simulation calculation result.
[0093] The non - critical path in this step refers to a path whose delay is less than or equal to the target delay.
[0094] If it is determined in S305 that there is a carbon nanotube distribution device in the second simulation result whose power consumption is greater than the target power consumption in the constraint file, then through steps B1 - B5, a third netlist file, a third location information, and a third simulation calculation result can be obtained. Specifically:
[0095] B1, among the multiple non - critical paths with delays less than the target delay in the circuit board corresponding to the second netlist file, take the path with the largest total power consumption as the target non - critical path.
[0096] B2, based on the simulated annealing algorithm, replace the carbon nanotube distribution device with standard density on the target non - critical path with the carbon nanotube distribution device with the second density, to obtain a second intermediate netlist file.
[0097] In this application, the density of the carbon nanotube distribution device with the second density is lower than the density of the carbon nanotube distribution device with standard density.
[0098] Among them, the simulated annealing algorithm is a probabilistic optimization algorithm inspired by the solid annealing process, and is used to find the optimal solution or approximate optimal solution of a problem in a given search space.
[0099] In this application, the simulated annealing algorithm is used to determine the carbon nanotube distribution devices with standard density in the target non-critical path that need to be replaced by carbon nanotube distribution devices with the second density. By replacing the carbon nanotube distribution devices with standard density in the target non-critical path with carbon nanotube distribution devices with the second density, the power consumption of the target non-critical path is reduced.
[0100] B3. Perform a shift operation on the carbon nanotube distribution devices in the second intermediate netlist file to obtain a third netlist file.
[0101] Among them, the change in the density gradient of adjacent carbon nanotube distribution devices in the third netlist file is less than the change in the density gradient of the second intermediate netlist file.
[0102] The shift operation in this application refers to fine-tuning the positions of adjacent carbon nanotube distribution devices. The purpose of this adjustment is to reduce the drastic change in density between adjacent devices that may be caused by replacing the carbon nanotube distribution devices with high density with standard density devices in the critical path. Through this fine position adjustment, a smooth transition of the carbon nanotube density can be achieved, thus ensuring the stability and reliability of the circuit.
[0103] B4. Update the second target position information based on the third netlist file to obtain the third position information.
[0104] B5. Through a static timing analysis tool, perform simulation calculations on the third netlist file, the constraint file, and the carbon nanotube density distribution unit library to obtain the third simulation calculation result.
[0105] Among them, the third simulation calculation result includes: the delay of each path in the circuit board corresponding to the third netlist file and the power consumption of each carbon nanotube distribution device.
[0106] It should be noted that after obtaining the third simulation result, it is also necessary to determine whether there is a carbon nanotube distribution device in the third simulation result whose power consumption is greater than the target power consumption in the constraint file; if there is a carbon nanotube distribution device in the third simulation result whose power consumption is greater than the target power consumption in the constraint file, repeat the steps in B1-B5 for power consumption iteration until the number of iterations exceeds the power consumption iteration number in the constraint file, or there is no carbon nanotube distribution device in the latest simulation result whose power consumption is greater than the target power consumption in the constraint file; at this time, stop the delay iteration, and use the latest obtained netlist file, the latest obtained position information, and the latest obtained simulation result as the third netlist file, the third position information, and the third simulation result in S305.
[0107] S306. Optimize the carbon nanotube density distribution result.
[0108] After obtaining the third netlist file, the third position information, and the third simulation result, the following steps can be referred to for optimizing the carbon nanotube density distribution result. Specifically, it includes:
[0109] C1. Determine multiple carbon nanotube device groups in the third netlist file.
[0110] In this step, multiple carbon nanotube device groups in the third netlist file can be determined by means of global search. Among them, the carbon nanotube device groups in this application include carbon nanotube distribution devices with different densities; the change in the gradient density of adjacent carbon nanotube distribution devices in the carbon nanotube device group is greater than a preset gradient change threshold.
[0111] It should be noted that the specific value of the preset gradient change threshold is not limited in this application; those skilled in the art can determine the specific value of the gradient change threshold according to actual needs.
[0112] C2. Determine multiple carbon nanotube device groups located on the non-critical path from multiple carbon nanotube device groups as the carbon nanotube device groups to be processed.
[0113] C3. Update the carbon nanotube device groups to be processed with the target carbon nanotube device group to obtain an updated target netlist file.
[0114] Among them, the change in the density gradient of adjacent carbon nanotube distribution devices in the target carbon nanotube device group is less than a preset gradient change threshold.
[0115] The purpose of optimizing the carbon nanotube density distribution result in this application is to make up for the drastic change in the density gradient between adjacent carbon nanotube distribution devices that is omitted and not perfected in A1-A5 and B1-B5 in the foregoing embodiments, and further achieve a smooth transition of the carbon nanotube density, thereby ensuring the stability and reliability of the circuit.
[0116] C4. Update the third location information based on the updated target netlist file to obtain the updated target location information.
[0117] C5. Use a static timing analysis tool to perform simulation calculations on the updated target netlist file, constraint file, and carbon nanotube density distribution cell library to obtain a fourth simulation calculation result.
[0118] It should be noted that after obtaining the fourth simulation calculation result, it is also necessary to determine whether there is a group of carbon nanotube devices in the fourth simulation result whose density gradient change exceeds a preset gradient change threshold; if there is such a group of devices, repeat steps C1 - C5 for optimization iteration until the number of iterations exceeds the optimization iteration number in the constraint file, or there is no group of carbon nanotube devices in the latest obtained simulation calculation result whose density gradient change exceeds the preset gradient change threshold; at this time, stop the optimization iteration, use the latest obtained netlist file as the updated target netlist file; use the latest obtained location information as the updated location information.
[0119] S307. Use a placement and routing tool to process the updated target location information and the updated target netlist file to generate a carbon nanotube layout file.
[0120] Specifically, after obtaining the updated target location information and the updated target netlist file, use general data transfer formats such as DEF (Design Exchange Format), LEF (Library Exchange Format), and DSPF (Detailed Standard Parasitic Format) to associate the optimized results with the placement and routing tool to generate a carbon nanotube layout file.
[0121] In summary, the present application discloses an optimization method for low-power design of an application circuit, including: obtaining the position information of carbon nanotube distribution devices with standard density, the first netlist file, constraint conditions, and the first simulation calculation result in the initial placement and routing result; if it is found that there is a path in the first simulation calculation result whose delay is greater than the target delay in the constraint file, then replacing the carbon nanotube distribution devices with standard density on the critical path with carbon nanotube distribution devices with a greater density of the first density to reduce the path delay and improve the operating frequency of the circuit; if it is found that there is a carbon nanotube distribution device in the second simulation result whose power consumption is greater than the target power consumption in the constraint file, then replacing the carbon nanotube distribution devices with standard density on the non-critical path with carbon nanotube distribution devices with a lower density of the second density to reduce the overall power consumption. Therefore, the application circuit design optimization method provided by the present application achieves the goal of improving the operating frequency and reducing the power consumption of the circuit by utilizing the characteristics of carbon nanotube density distribution devices.
[0122] Based on the same inventive concept, the present application also discloses an optimization device for low-power design of an application circuit. Figure 4 It is a schematic structural diagram of an optimization device for low-power design of an application circuit provided by an embodiment of the present application. Combining Figure 4 As shown, the optimization device 400 for low-power design of an application circuit disclosed in the present application includes:
[0123] An initial information acquisition module 401, configured to obtain the first position information of carbon nanotube distribution devices with standard density in the initial placement and routing result, as well as the first netlist file, constraint file, and the first simulation calculation result of the initial placement and routing result; the first simulation calculation result includes the delay of each path and the power consumption of each carbon nanotube distribution device in the circuit board corresponding to the first netlist file;
[0124] A first information update module 402, configured to, if there is a path in the first simulation result whose delay is greater than the target delay in the constraint file, then replace the carbon nanotube distribution devices with standard density on the critical path in the circuit board corresponding to the first netlist file with carbon nanotube distribution devices with a first density to obtain a second netlist file, second position information, and a second simulation calculation result; the second simulation calculation result includes the delay of each path and the power consumption of each carbon nanotube distribution device in the circuit board corresponding to the second netlist file; the critical path is a path whose delay is greater than the target delay; the density of the carbon nanotube distribution devices with the first density is greater than the density of the carbon nanotube distribution devices with the standard density; the second position information is generated based on the first position information;
[0125] The second information update module 403 is configured to, if there is a carbon nanotube distribution device with power consumption greater than the target power consumption in the constraint file in the second simulation result, replace the carbon nanotube distribution device with the standard density on the non-critical path of the circuit board corresponding to the second netlist file with a carbon nanotube distribution device with the second density, so as to obtain a third netlist file, third position information, and a third simulation result; the non-critical path is a path with a delay less than or equal to the target delay; the density of the carbon nanotube distribution device with the second density is lower than the density of the carbon nanotube distribution device with the standard density; the third position information is generated based on the second position information.
[0126] In an optional implementation manner, the first information update module 402 includes:
[0127] The target critical path determination unit is configured to use the path with the maximum delay in the circuit board corresponding to the first netlist file as the target critical path;
[0128] The first intermediate netlist file determination unit is configured to replace the carbon nanotube distribution device with the standard density in the target critical path with the carbon nanotube distribution device with the first density to obtain a first intermediate netlist file;
[0129] The second netlist file determination unit is configured to perform a shifting operation on the carbon nanotube distribution devices in the first intermediate netlist file to obtain a second netlist file; the change in the density gradient of adjacent carbon nanotube distribution devices in the second netlist file is less than the change in the density gradient of adjacent carbon nanotube distribution devices in the first intermediate netlist file;
[0130] The second position information determination unit is configured to update the first target position information based on the second netlist file to obtain the second position information;
[0131] The second simulation result determination unit is configured to perform a simulation calculation on the second netlist file, the constraint file, and the carbon nanotube density distribution unit library through a static timing analysis tool to obtain the second simulation result.
[0132] In an optional implementation manner, the second information update module 403 includes:
[0133] The target non-critical path determination unit is configured to use the path with the largest total power consumption among the multiple paths with a delay less than the target delay in the circuit board corresponding to the second netlist file as the target non-critical path;
[0134] The second intermediate netlist file determination unit is configured to replace the carbon nanotube distribution device with the standard density in the target non-critical path with the carbon nanotube distribution device with the second density to obtain a second intermediate netlist file;
[0135] A third netlist file determination unit, configured to perform a shifting operation on the carbon nanotube distribution devices in the second intermediate netlist file to obtain a third netlist file; the change in the density gradient of adjacent carbon nanotube distribution devices in the third netlist file is less than the density gradient change of the second intermediate netlist file;
[0136] A third position information determination unit, configured to update the second target position information based on the third netlist file to obtain the third position information;
[0137] A third simulation calculation result determination unit, configured to perform a simulation calculation on the third netlist file, the constraint file, and the carbon nanotube density distribution unit library through a static timing analysis tool to obtain the third simulation calculation result.
[0138] In an optional implementation manner, the application circuit low-power design optimization device 400 further includes:
[0139] A carbon nanotube device group determination module, configured to determine a plurality of carbon nanotube device groups in the third netlist file; the carbon nanotube device groups include a plurality of carbon nanotube distribution devices with different densities; the change in the density gradient of adjacent carbon nanotube distribution devices in the carbon nanotube device groups is greater than a preset gradient change threshold;
[0140] A target carbon nanotube device group determination module, configured to determine, from the plurality of carbon nanotube device groups, a plurality of carbon nanotube device groups located on the non-critical path as the carbon nanotube device groups to be processed;
[0141] A density optimization module, configured to update the carbon nanotube device groups to be processed by using the target carbon nanotube device groups to obtain an updated target netlist file; the change in the density gradient of adjacent carbon nanotube distribution devices in the target carbon nanotube device groups is less than the preset gradient change threshold;
[0142] A position information update module, configured to update the third position information based on the updated target netlist file to obtain an updated target position information.
[0143] In an optional implementation manner, the application circuit low-power design optimization device 400 further includes:
[0144] A carbon nanotube layout file generation module, configured to process the updated target position information and the updated target netlist file through a placement and routing tool to generate a carbon nanotube layout file.
[0145] In an optional implementation manner, the first intermediate netlist file determination unit includes:
[0146] The first intermediate netlist determination subunit is configured to replace the carbon nanotube distribution devices with standard density in the target critical path by using the carbon nanotube distribution devices with the first density based on a heuristic genetic algorithm, so as to obtain the first intermediate netlist file.
[0147] In an optional implementation manner, the first intermediate netlist file determination unit includes:
[0148] The second intermediate netlist determination subunit is configured to replace the carbon nanotube distribution devices with standard density in the target non-critical path by using the carbon nanotube distribution devices with the second density based on a simulated annealing algorithm, so as to obtain the second intermediate netlist file.
[0149] Based on the application circuit low-power design optimization method and device provided in the foregoing embodiments, correspondingly, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, some or all of the steps in the application circuit low-power design optimization method mentioned above are implemented.
[0150] Based on the application circuit low-power design optimization method and device provided in the foregoing embodiments, the present application further provides an electronic device, including:
[0151] A memory, on which a computer program is stored;
[0152] A processor, configured to execute the computer program in the memory to implement some or all of the steps in the application circuit low-power design optimization method provided in the foregoing embodiments.
[0153] It should be noted that the embodiments in this specification are all described in a progressive manner, the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated, and the components indicated as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without creative efforts.
[0154] As described above, it is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed by the present application should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. An optimization method for low-power design of an application circuit, characterized in that, The method includes: Obtaining first position information of carbon nanotube distribution devices with standard density in an initial layout and routing result, as well as a first netlist file, a constraint file, and a first simulation calculation result of the initial layout and routing result; the first simulation calculation result includes the delay of each path and the power consumption of each carbon nanotube distribution device in the circuit board corresponding to the first netlist file; If there is a path in the first simulation result whose delay is greater than the target delay in the constraint file, then replacing the carbon nanotube distribution devices with standard density on the critical path in the circuit board corresponding to the first netlist file with carbon nanotube distribution devices of a first density to obtain a second netlist file, second position information, and a second simulation calculation result; the second simulation calculation result includes the delay of each path and the power consumption of each carbon nanotube distribution device in the circuit board corresponding to the second netlist file; the critical path is a path whose delay is greater than the target delay; the density of the carbon nanotube distribution devices of the first density is greater than the density of the carbon nanotube distribution devices with standard density; the second position information is generated based on the first position information; If there is a carbon nanotube distribution device in the second simulation result whose power consumption is greater than the target power consumption in the constraint file, then replacing the carbon nanotube distribution devices with standard density on the non-critical path in the circuit board corresponding to the second netlist file with carbon nanotube distribution devices of a second density to obtain a third netlist file, third position information, and a third simulation calculation result; the non-critical path is a path whose delay is less than or equal to the target delay; the density of the carbon nanotube distribution devices of the second density is lower than the density of the carbon nanotube distribution devices with standard density; the third position information is generated based on the second position information.
2. The method according to claim 1, characterized in that, The step of if there is a path in the first simulation result whose delay is greater than the target delay in the constraint file, then replacing the carbon nanotube distribution devices with standard density on the critical path in the circuit board corresponding to the first netlist file with carbon nanotube distribution devices of a first density to obtain a second netlist file, second position information, and a second simulation calculation result includes: Taking the path with the maximum delay in the circuit board corresponding to the first netlist file as the target critical path; Replacing the carbon nanotube distribution devices with standard density in the target critical path with the carbon nanotube distribution devices of the first density to obtain a first intermediate netlist file; Performing a shifting operation on the carbon nanotube distribution devices in the first intermediate netlist file to obtain a second netlist file; the change in the density gradient of adjacent carbon nanotube distribution devices in the second netlist file is less than the change in the density gradient of adjacent carbon nanotube distribution devices in the first intermediate netlist file; Updating the first target position information based on the second netlist file to obtain the second position information; Performing simulation calculation on the second netlist file, the constraint file, and the carbon nanotube density distribution cell library through a static timing analysis tool to obtain the second simulation calculation result.
3. The method according to claim 1, characterized in that, If there are carbon nanotube distribution devices with power consumption greater than the target power consumption in the constraint file among the second simulation results, replace the carbon nanotube distribution devices with standard density on the non-critical path of the circuit board corresponding to the second netlist file with carbon nanotube distribution devices with the second density, to obtain a third netlist file, third location information, and third simulation calculation results, including: Regarding the path with the largest total power consumption among multiple paths with a delay less than the target delay in the circuit board corresponding to the second netlist file as the target non-critical path; Replace the carbon nanotube distribution devices with standard density on the target non-critical path with the carbon nanotube distribution devices with the second density to obtain a second intermediate netlist file; Perform a shifting operation on the carbon nanotube distribution devices in the second intermediate netlist file to obtain a third netlist file; the change in the density gradient of adjacent carbon nanotube distribution devices in the third netlist file is less than the density gradient change in the second intermediate netlist file; Based on the third netlist file, update the second target location information to obtain the third location information; Through a static timing analysis tool, perform simulation calculations on the third netlist file, the constraint file, and the carbon nanotube density distribution cell library to obtain the third simulation calculation results.
4. The method according to claim 1, characterized in that The method further includes: Determine multiple carbon nanotube device groups in the third netlist file; the carbon nanotube device groups include multiple carbon nanotube distribution devices with different densities; the change in the density gradient of adjacent carbon nanotube distribution devices in the carbon nanotube device groups is greater than a preset gradient change threshold; Determine multiple carbon nanotube device groups located on the non-critical path from the multiple carbon nanotube device groups as the carbon nanotube device groups to be processed; Update the carbon nanotube device groups to be processed with target carbon nanotube device groups to obtain an updated target netlist file; the change in the density gradient of adjacent carbon nanotube distribution devices in the target carbon nanotube device groups is less than the preset gradient change threshold; Based on the updated target netlist file, update the third location information to obtain updated target location information.
5. The method according to claim 4, characterized in that, The method further includes: Through a placement and routing tool, process the updated target location information and the updated target netlist file to generate a carbon nanotube layout file.
6. The method according to claim 2, wherein The step of replacing the carbon nanotube distribution devices with standard density in the target critical path with the carbon nanotube distribution devices with the first density to obtain a first intermediate netlist file includes: Based on a heuristic genetic algorithm, replace the carbon nanotube distribution devices with standard density in the target critical path with the carbon nanotube distribution devices with the first density to obtain the first intermediate netlist file.
7. The method according to claim 3, characterized in that, The step of replacing the carbon nanotube distribution devices with standard density on the target non-critical path with the carbon nanotube distribution devices with the second density to obtain a second intermediate netlist file includes: Based on a simulated annealing algorithm, replace the carbon nanotube distribution devices with standard density on the target non-critical path with the carbon nanotube distribution devices with the second density to obtain the second intermediate netlist file.
8. An optimization device for low-power design of an application circuit, characterized in that, The device includes: An initial information acquisition module, configured to acquire the first position information of carbon nanotube distribution devices with standard density in the initial layout and routing result, as well as the first netlist file, constraint file, and first simulation calculation result of the initial layout and routing result; the first simulation calculation result includes the delay of each path and the power consumption of each carbon nanotube distribution device in the circuit board corresponding to the first netlist file; A first information update module, configured to, if there is a path in the first simulation result whose delay is greater than the target delay in the constraint file, replace the carbon nanotube distribution devices with standard density on the critical path in the circuit board corresponding to the first netlist file with carbon nanotube distribution devices with a first density, to obtain a second netlist file, second position information, and second simulation calculation result; the second simulation calculation result includes the delay of each path and the power consumption of each carbon nanotube distribution device in the circuit board corresponding to the second netlist file; the critical path is a path whose delay is greater than the target delay; the density of the carbon nanotube distribution devices with the first density is greater than the density of the carbon nanotube distribution devices with standard density; the second position information is generated based on the first position information; A second information update module, configured to, if there is a carbon nanotube distribution device in the second simulation result whose power consumption is greater than the target power consumption in the constraint file, replace the carbon nanotube distribution devices with standard density on the non-critical path in the circuit board corresponding to the second netlist file with carbon nanotube distribution devices with a second density, to obtain a third netlist file, third position information, and third simulation calculation result; the non-critical path is a path whose delay is less than or equal to the target delay; the density of the carbon nanotube distribution devices with the second density is lower than the density of the carbon nanotube distribution devices with standard density; the third position information is generated based on the second position information.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, it implements the steps of the method according to any one of claims 1-7.
10. An electronic device, characterized in that, It includes: A memory, on which a computer program is stored; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1-7.