Method and device for evaluating clock tree, equipment and storage medium
Through the automated clock tree structure design and verification method, the candidate clock tree structure and circuit configuration information are determined based on the structure parameter set, which solves the problems of clock deviation and on-chip error in clock tree synthesis, and realizes the optimization of clock tree performance and automated design verification.
Patent Information
- Application Number
- CN202310362046.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-06
- Publication Date
- 2024-10-15
AI Technical Summary
During the clock tree synthesis process, it is difficult for existing technologies to effectively reduce clock deviation and on-chip errors, and the traditional design tool process is complex and lacks automated and efficient design verification methods.
By automatically determining the candidate clock tree structure based on multiple partial structural parameter sets of the clock tree, and obtaining the circuit configuration information associated with it, the clock performance is determined based on this information, thereby automating the clock tree design and verification.
It realizes the automation of clock tree design and verification, quickly understands the impact of different structural parameters on clock performance, optimizes clock tree performance, reduces on-chip errors, and improves drive strength.
Smart Images

Figure CN118780237A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of integrated circuits, and more particularly to methods, devices, apparatuses, and computer-readable storage media for evaluating clock trees. Background Art
[0002] The clock tree is a clock distribution network architecture used to transmit clock signals to each timing element. The process of generating a clock tree according to the constraints of the clock network is called Clock Tree Synthesis (CTS). Clock tree synthesis is a very important part of the back-end design process of digital circuits. How to reduce clock deviation, reduce on-chip variation (OCV) and improve drive strength is the goal of clock tree synthesis. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for evaluating a clock tree is provided. The method includes: automatically determining a candidate clock tree structure for the clock tree based on a structure parameter set for multiple parts of the clock tree, each structure parameter of the structure parameter set is used to define the structure of one of the multiple parts; obtaining circuit configuration information associated with the candidate clock tree structure, the circuit configuration information indicating a connection relationship of circuit units in the candidate clock tree structure; and determining a clock performance of the candidate clock tree structure based at least on the circuit configuration information.
[0004] In a second aspect of the present disclosure, a device for evaluating a clock tree is provided. The device includes: a clock tree structure determination module, configured to automatically determine a candidate clock tree structure for a clock tree based on a structure parameter set for multiple parts of the clock tree, each structure parameter of the structure parameter set is used to define the structure of one of the multiple parts; a circuit configuration information acquisition module, configured to acquire circuit configuration information associated with the candidate clock tree structure, the circuit configuration information indicating the connection relationship of circuit units in the candidate clock tree structure; and a clock performance determination module, configured to determine the clock performance of the candidate clock tree structure based at least on the circuit configuration information.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0010] Figure 2 A schematic diagram showing an example of a clock tree according to some embodiments of the present disclosure;
[0011] Figure 3 A flowchart illustrating an example process of clock tree design according to some embodiments of the present disclosure;
[0012] Figure 4 A flowchart illustrating an example process of clock tree evaluation according to some embodiments of the present disclosure;
[0013] Figure 5 A flowchart of a method for evaluating a clock tree according to some embodiments of the present disclosure is shown;
[0014] Figure 6 A block diagram showing an apparatus for evaluating a clock tree according to some embodiments of the present disclosure; and
[0015] Figure 7 A block diagram of a device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0016] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0017] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0018] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0019] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0020] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0021] The term "in response to" as used herein refers to a state in which a corresponding event occurs or a condition is satisfied. It will be understood that the timing of executing a subsequent action executed in response to the event or condition is not necessarily strongly related to the time when the event occurs or the condition is satisfied. For example, in some cases, the subsequent action may be executed immediately when the event occurs or the condition is satisfied; while in other cases, the subsequent action may be executed some time after the event occurs or the condition is satisfied.
[0022] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0023] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0024] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0025] As used herein, the term "clock tree structure" or similar terms refers to the specific structure of an instantiated clock network.
[0026] In an integrated circuit (e.g., a chip), the clock performance of a clock tree is critical to the operation of each component in the integrated circuit. Therefore, in the design of an integrated circuit, it is desirable to design a clock tree structure with excellent clock performance, or a clock tree instance. Clock trees have different structural parameters, and different parameter values of the same structural parameter may cause relatively large clock performance differences. In the process of clock tree design or clock tree instantiation, it would be helpful to understand the impact of changes in structural parameters on clock performance.
[0027] The whole process from clock tree design to verification (also called evaluation) places high demands on designers’ experience in clock tree structure design. The whole process involves many design and simulation tools, and the process automation is relatively complex.
[0028] To this end, an embodiment of the present disclosure proposes a scheme for evaluating a clock tree. According to various embodiments of the present disclosure, based on a set of structural parameters for multiple parts of the clock tree, a candidate clock tree structure for the clock tree is automatically determined, and each structural parameter of the structural parameter set is used to define the structure of one of the multiple parts. Circuit configuration information associated with the candidate clock tree structure is obtained, and the circuit configuration information indicates the connection relationship of the circuit units in the candidate clock tree structure. Based at least on the circuit configuration information, the clock performance of the candidate clock tree structure is determined. Thus, starting from the structural parameters of the clock tree, the automation of clock tree design, evaluation or verification can be achieved. In this way, by changing the value of the structural parameters, the impact of different structural parameters on clock performance can be quickly and comprehensively understood. This is conducive to achieving excellent clock tree design and optimization processes.
[0029] Example embodiments of the present disclosure are described below with reference to the accompanying drawings.
[0030] Example Environment and Example Clock Tree
[0031] Figure 1A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. In the environment 100, an electronic device 120 obtains a set of structural parameters 110 for multiple parts of a clock tree. Each structural parameter in the set of structural parameters 110 is used to define the structure of one of the multiple parts. In the set of structural parameters 110, each structural parameter can have one or more parameter values.
[0032] In some embodiments, the parameter values of at least some of the structural parameters in the structural parameter set 110 may be automatically generated by the electronic device 110. Alternatively or additionally, in some embodiments, the parameter values of one or more structural parameters in the structural parameter set 110 may be specified or customized by a user (e.g., a designer). For example, the electronic device 120 may provide a user interface for receiving a user's customization of one or more structural parameters in the structural parameter set 110.
[0033] The electronic device 120 automatically completes the design and simulation verification of the clock tree based on the combination of the structural parameters in the structural parameter set 110. Further, the electronic device 120 outputs the evaluation result 130 of the clock tree. The evaluation result may include the clock performance of each designed clock tree instance, such as the delay on one or more clock propagation paths, clock skew, etc.
[0034] In some embodiments, for different clock tree structures (also referred to as clock tree instances), the simulation verification process can be automatically iterated. For example, when multiple combinations of structural parameters can be determined based on the structural parameter set 110, each combination can define a clock tree structure. Furthermore, simulation verification can be performed for each clock tree structure.
[0035] It should be understood that the structure and functionality of environment 100 are described for exemplary purposes only and does not imply any limitation on the scope of the present disclosure.
[0036] The electronic device 120 can design and simulate any suitable type of clock tree. In some embodiments, the clock tree can include a clock grid. Figure 2 One type of clock tree is described as an example.
[0037] Figure 2A schematic diagram of an example clock tree 200 according to some embodiments of the present disclosure is shown. The clock tree 200 includes a clock source 210, a global tree 220, a grid driver stage 230, a clock grid 240, and a local tree 280. The local tree 280 may further include a tap driver stage 250, a gating unit 260, and a timing unit 270. The clock tree 200 is used to provide a clock signal to the timing unit 270 (such as a register or memory), and to minimize the difference in the time signal transmitted to each timing unit 270. The timing unit 270 can be regarded as a unit using a clock signal in an integrated circuit, and 0 can also be called a load.
[0038] The clock source 210 is used to generate a clock signal, and includes an element that can actively send out a clock signal (e.g., an active crystal oscillator or a passive crystal oscillator). Since different timing units 270 have different requirements for clock frequency, the clock source 210 may also include an element that multiplies the clock signal (e.g., a phase-locked loop) or an element that divides the clock signal (e.g., a frequency divider). In some embodiments, the clock source 210 may be a clock input port for introducing a clock signal from a top chip.
[0039] The global tree 220 is used to transmit the clock signal sent by the clock source 210 with a small clock deviation. The global tree 220 includes multiple drivers (e.g., buffers or inverters). These drivers can be arranged in a tree structure (e.g., a binary tree or an H tree), a fishbone structure, or other structures.
[0040] The grid driver stage 230 is used to drive the clock grid 240. The grid driver stage 230 includes a plurality of drivers (eg, buffers or inverters).
[0041] The clock grid 240 is used to transmit the clock signal to the timing unit 270. The clock grid 240 is a grid structure formed by shorting some clock signal nodes together, which can reduce the difference of the clock signal transmitted to each timing unit 270. The metal wires constituting the grid structure are connected by vias at the intersections.
[0042] The tap driver stage 250 is used to couple the clock grid 240 to the timing unit 270. The coupling mode may be direct coupling or coupling through a tree structure.
[0043] The gate control unit 260 is used to turn on and off the clock signal of each sequential unit 270. When the sequential unit 270 is not working, the clock signal thereof is cut off, which helps to reduce the dynamic power consumption of the chip.
[0044] The global tree 220 is a common part on the clock path, which can distribute the clock signal to the entire clock region, thereby solving the problem of large fan-out and large load of the clock network. The local tree 280 is a non-common part on the clock path, and has a small interconnection range.
[0045] refer to Figure 2 The described example clock tree 200 is a structurally multi-source clock tree, which reduces the impact of on-chip variation (OCV) and improves clock tree performance compared to traditional clock trees. For this type of clock tree, users have a lot of freedom in design. For example, the global tree, clock grid, grid driver level, tap driver level, etc. can all be customized according to the user. However, the local tree is based on the register transfer level (RTL), so the instantiation of the clock tree is relatively limited. The local tree can integrate and split the clock logic units in the clock tree synthesis stage without changing its logic level and clock structure.
[0046] In the following, this type of clock tree is mainly used as an example for description, but it should be understood that this is only exemplary and is not intended to limit the solution of the present disclosure. The embodiments of the present disclosure are applicable to any appropriate type of clock tree.
[0047] Clock tree design
[0048] In the design phase of the clock tree, the electronic device 120 automatically determines a candidate clock tree structure for the clock tree based on a set of structural parameters for multiple parts of the clock tree. The set of structural parameters includes multiple structural parameters for defining each part of the clock tree. For example, the multiple parts can be the above reference Figure 2 The global tree 220, grid driver stage 230, clock grid 240 and tap driver stage 250 are described. The structural parameters may include, but are not limited to, the number of buffer cells in each part, the location in the integrated circuit. For the clock grid, the structural parameters may include parameters of the pattern of the clock grid, such as will be described below.
[0049] In some embodiments, at least one structural parameter in the structural parameter set may be automatically set by the electronic device 120. For example, for a certain structural parameter, the electronic device 120 may automatically select one or more parameter values from a set of candidate parameter values to implement the setting for the structural parameter. For another example, the electronic device 120 may perform interval sampling within a possible range of parameter values to determine multiple parameter values, and use these parameter values to set the structural parameter.
[0050] Alternatively or additionally, in some embodiments, at least one structural parameter in the structural parameter set may be user-customized. Specifically, the electronic device 120 may provide a user interface for structural configuration, and receive at least one parameter in the structural parameter set via the user interface. The parameter customized by the user may correspond to at least one part of the clock tree. In particular, in this way, customization of the corresponding unit may be achieved.
[0051] In some embodiments, the structure of one or more of the clock grid 240, the grid driver stage 230, and the tap driver stage 250 can be customized by the user. For example, the electronic device 120 can provide a user interface for the grid driver stage 230. Accordingly, the user can specify the number and position distribution of each buffer unit in the grid driver stage 230 via the interface. Alternatively or additionally, the electronic device 230 can provide a user interface for the tap driver stage 250. Accordingly, the user can specify the number and position distribution of the buffer units in the tap driver stage 250 via the interface. Alternatively or additionally, a user interface for the grid driver stage 230 can be provided. Accordingly, the user can specify the pattern of the clock grid 240 via the interface.
[0052] Figure 3 FIG. 3 is a flow chart showing an example process 300 for clock tree design according to some embodiments of the present disclosure. Figure 2 The clock tree 200 shown is described as an example, but this is only exemplary. Figure 3 The concepts of clock tree design described are also applicable to other types of clock trees.
[0053] In block 310, the electronic device 120 obtains a database in which all placement operations have been completed, including the placement and addition of required components. For example, the clock unit and the logic unit have been placed, the previous physical unit and the power supply scheme have been added, and so on.
[0054] The clock unit includes a clock source 210 and various levels of drivers. The clock source 210 can be called a root node. The timing unit 270 can be called a sink. The clock signal passes through a series of distribution nodes from the clock source 210 and finally reaches the timing unit 270. The physical unit includes a unit without logical functions, such as a unit for reducing noise. In box 310, the electronic device 120 is ready for the basic conditions for normal clock tree synthesis.
[0055] In box 320, the electronic device 120 customizes the tap driver stage. Specifically, the user's specification of one or more structural parameter values of the tap driver stage 250 can be received. For example, the user can reasonably select the number and position of the tap drivers (e.g., buffer units) according to the distribution of the sinks. The electronic device 120 receives structural parameters about the tap driver stage 250, such as the number and position of the buffer units in the tap driver stage 250, through a user interface. For example, an interface for defining the structure of the tap driver stage can be opened to the user, and then automatically processed according to the user's input. Alternatively or additionally, in some embodiments, the electronic device 120 can set a given number of buffer units at corresponding positions based on an average distribution mode. In some embodiments, both user customization and automatic distribution modes can be supported, or one of the modes can be selected or enabled by the user.
[0056] In box 330, the electronic device 120 performs clock grid customization. Specifically, the electronic device 120 can receive a user's specification of one or more structural parameter values of the clock grid 240. For example, the user can design the clock grid 240 based on specific parameters and analysis results and in combination with resource considerations. The electronic device 120 receives structural parameters about the clock grid 240 through a user interface, such as wiring width, wiring spacing, pattern spacing, offset, and the like. Wiring width refers to the width of the metal wires that constitute the grid structure. Wiring spacing refers to the distance between the metal wires that constitute the grid structure. Pattern spacing refers to the distance between different patterns in the grid. Offset refers to the movement of the grid relative to a reference position. The user can customize an optimized design solution based on specific parameters and analysis of the results and in combination with resource considerations.
[0057] In block 340, the electronic device 120 performs grid driver level customization. Specifically, the electronic device 120 may receive a user's designation of one or more structural parameter values of the grid driver level 230. For example, the user may design the grid driver level 230, such as the number and position of buffer units, according to the required driving capability and the structure of the clock grid 240. The electronic device 120 receives structural parameters about the grid driver level 230, such as the number and position of buffer units in the grid driver level 230, through a user interface. In some embodiments, the electronic device 120 receives parasitic electrical parameters in the clock grid 240, such as parasitic capacitance and resistance of wiring, etc., for correcting on-chip errors. The number and position of the buffer units may be reasonably designed in combination with the parasitic electrical parameters (e.g., parasitic capacitance and resistance) and simulation results.
[0058] At block 350, the electronic device 120 designs the global tree 220. For example, the user may specify the network structure of the global tree 220, such as an H-tree or a traditional clock tree synthesis, while ensuring that the grid driver level 230 can be driven. The electronic device 120 may insert buffers and route clock signals based on the network structure to generate the global tree 220. Additionally or alternatively, the electronic device 120 may add a ground line for shielding interference to prevent parasitic interference of other signal lines to the network structure. For example, a ground line may be added according to a non-default rule to ensure clock tree performance.
[0059] In block 360, the electronic device 120 performs routing connection on the clock grid 240. For example, the electronic device 120 connects the input and output of the clock grid 240 to the nearest. Specifically, the output end of the clock grid 240 is connected to the tap driver stage 250, and the input end of the clock grid 240 is connected to the grid driver stage 230. Further, the global tree 220 and the local tree 280 upstream and downstream of the clock grid 240 can be merged and connected.
[0060] In block 370, the electronic device 120 generates a structure for the local tree 280. For example, the electronic device 120 may integrate or split the gating unit 260 to connect to the buffer unit in the tap driver stage 250. Further, the electronic device 120 may perform clock tree synthesis based on this. Alternatively, the process may also be customized by the user according to the specific clock tree structure.
[0061] In summary, the electronic device 120 can receive the user's free customization of multiple parts of the clock tree, and automatically generate a clock tree structure based on the user-customized structural parameter set. For example, through design optimization, it can help users quickly customize clock grid patterns (e.g., width, spacing, etc.), grid drivers (e.g., position, number, etc.), and tap drivers (e.g., position, number, etc.) to design different clock tree structures, thereby optimizing clock tree performance parameters.
[0062] In the above reference Figure 3 In the example process described, an interface for defining structural parameters is provided for user customization requirements. In this way, the system can be automatically operated according to the structural parameters defined by the user, which can advantageously avoid human interference.
[0063] Clock Tree Evaluation
[0064] When evaluating the clock performance of a clock tree, for different clock tree structures, especially structures containing clock grids, it is necessary to extract parasitic parameters for simulating the clock tree structure. Traditional static timing analysis tools cannot directly perform static timing analysis on clock trees containing clock grids, so some embodiments of the present disclosure provide solutions to this defect.
[0065] The electronic device 120 first automatically generates a clock tree structure based on the structure parameter set 110, such as a reference Figure 3 As described. Then, the electronic device 120 generates circuit configuration information associated with the clock tree structure. Such circuit configuration information indicates the connection relationship of the circuit units in the clock tree structure. Then, the electronic device 120 simulates and optimizes the clock tree structure based on the circuit configuration information. Finally, an evaluation result 130 for the clock performance of the clock tree structure is output.
[0066] Figure 4 FIG. 4 is a flow chart showing an example process 400 for clock tree evaluation according to some embodiments of the present disclosure. Figure 2 The clock tree 200 shown is described as an example, but this is only exemplary. Figure 4 The concepts described for clock tree verification are also applicable to other types of clock trees.
[0067] In box 410, the electronic device 120 extracts the parasitic electrical parameters of the clock tree 200. Since there are multiple driving sources in the clock grid 240, the electronic device 120 extracts the parasitic electrical parameters (e.g., parasitic resistance, parasitic capacitance, etc.) of the entire clock network. For example, after the design of the clock tree 200 is completed, the electronic device 120 exports the exchange format file and netlist of the design. The exchange format file contains the location distribution and wiring information of each part of the clock tree. The electronic device 120 extracts the parasitic electrical parameters from the exchange format file and outputs the parasitic electrical parameter file. In some embodiments, the electronic device 120 only extracts the parasitic electrical parameters of the clock grid 240 to reduce the amount of calculation and improve the evaluation efficiency.
[0068] In block 420, the electronic device 120 performs static timing analysis on the clock tree 200. Electrical configuration information can be obtained through static timing analysis, which indicates the connection relationship of the circuit units in the designed clock tree structure. As an example, if the subsequent simulation verification uses SPICE simulation, an input for the SPICE simulation process can be generated. For example, the static timing analysis process can be implemented or embedded in the input component generation system of the SPICE simulation environment.
[0069] In block 430, the electronic device 120 performs simulation verification on the clock tree 200. For example, the electronic device 120 performs simulation verification on the clock tree 200 based at least on parasitic electrical parameters and electrical configuration information. The input of the simulation verification may also include a simulation mode, etc., depending on the specific simulation environment used.
[0070] The evaluation results of the clock performance of the clock tree structure can be obtained through simulation. The evaluation results may include path delay, clock propagation delay (latency), clock skew, clock transition time (transition), clock uncertainty (uncertainty), clock level, etc.
[0071] In some embodiments, the clock tree design, parasitic electrical parameter extraction, static timing analysis, and simulation verification processes can be automated, which not only solves the problem of complex coordination of multiple tools in the traditional design to verification process, but also solves the problem that traditional static timing analysis tools cannot perform static analysis on clock trees containing clock grids.
[0072] Blocks 410, 420, and 430 in process 400 may be performed for each clock tree structure (also referred to as a candidate clock tree structure) obtained or designed by process 300, thereby obtaining the clock performance of each clock tree structure. For example, the above process may be automatically iterated for different user-customized structures. In this automated iteration, no manual intervention is required.
[0073] In some embodiments, the electronic device 120 determines multiple clock tree structures based on multiple structural parameter combinations. For example, the electronic device 120 receives parameter values input by a user regarding the wiring position and wiring width of the clock grid 240, and parameter values regarding the number of grid driver stages 230 and tap driver stages 250. The electronic device 120 combines these parameters to determine multiple clock tree structures, and then outputs an evaluation result for each clock tree structure. For example, for each clock tree structure, blocks 410, 420, and 430 are executed.
[0074] In some embodiments, in block 440, the electronic device 120 may also analyze and optimize the simulation results of each clock tree structure. As mentioned above, multiple different clock tree structures may be obtained by customizing different parameters, and simulation results for each clock tree structure (or each set of structural parameters) may be obtained after automatically performing blocks 410 to 430. By analyzing and comparing these simulation results, optimized structural parameters may be obtained.
[0075] In some embodiments, the electronic device 120 may present an interface of the evaluation result 130 or provide a user with a user interface for outputting the evaluation result 130. The evaluation result 130 includes clock performances respectively determined for a plurality of clock tree structures.
[0076] Tables 1-4 show the evaluation results of the clock tree structure according to some embodiments of the present disclosure. In this example, the set of structural parameters may include the wiring spacing and wiring width of the clock grid 240, the number of buffer units in the tap driver stage 250, and the number of buffer units in the grid driver stage 230. The electronic device 120 generates a variety of clock tree structures and their evaluation results 130 based on the combination of these structural parameters. The evaluation result 130 includes the longest path delay and the shortest path delay from the clock source 210 to the timing unit 270. The difference between the longest path delay and the shortest path delay is the clock deviation. According to the relationship between the clock domain and the path, the clock deviation can be divided into global deviation and local deviation. Global deviation refers to the maximum deviation of any two path delays in the same clock domain. Local deviation refers to the maximum deviation of any two path delays with a logical association relationship in the same clock domain. Take the global deviation as an example to compare the evaluation results of Tables 1-4.
[0077] Table 1 shows the influence of the change of the wiring width of the clock grid 240 on the global deviation when the wiring spacing of the clock grid 240, the number of buffer units in the tap driver stage 250, and the number of buffer units in the grid driver stage 230 remain unchanged. Each row represents a clock tree structure. It can be seen that the narrower the wiring width, the smaller the global deviation.
[0078] Table 1 Evaluation results of the clock tree structure based on the first set of structural parameter combinations
[0079]
[0080] The difference between Table 2 and Table 1 is that the number of buffer units in the mesh driver stage 230 is adjusted from 20 to 30. Comparing Table 2 with Table 1, it can be seen that the more the number of mesh driver stages 230 is, the smaller the global deviation is.
[0081] Table 2 Evaluation results of the clock tree structure based on the second set of structural parameter combinations
[0082]
[0083] The difference between Table 3 and Table 1 is that the wiring pitch of the clock grid 240 is adjusted from 229.824 μm to 114.912 μm. Comparing Table 3 with Table 1, it can be seen that the larger the wiring pitch, the smaller the global deviation.
[0084] Table 3 Evaluation results of the clock tree structure based on the third set of structural parameter combinations
[0085]
[0086]
[0087] The difference between Table 4 and Table 3 is that the number of buffer units in the tap driving stage 230 is adjusted from 20 to 40. Comparing Table 4 with Table 3, it can be seen that the smaller the number of the tap driving stages 230 is, the smaller the global deviation is.
[0088] Table 4 Evaluation results of the clock tree structure based on the fourth group of structural parameter combinations
[0089]
[0090] It should be understood that the data listed in Tables 1 to 4 are merely exemplary and are not intended to limit the scope of the present disclosure.
[0091] In summary, according to various embodiments of the present disclosure, the electronic device 120 can customize multiple parts of the clock tree based on the structural parameter set 110 input by the user, and automatically generate multiple clock tree structures without human intervention. The electronic device 120 can also perform clock performance evaluation on multiple clock tree structures and output evaluation results 130. During the evaluation process, the electronic device 120 automatically performs simulation optimization, which solves the problem that traditional static timing analysis tools cannot handle the multi-drive structure of the clock grid. Furthermore, the electronic device 120 realizes the full process automation of user customized design, parasitic electrical parameter extraction, static timing analysis, simulation verification and evaluation result display, providing an excellent design optimization process for the back-end clock tree design.
[0092] In other words, the above reference Figure 3 and Figure 4 The described process 300 and process 400 can be implemented automatically. In this way, a full-process automation solution from design to verification and even optimization is implemented for the clock tree.
[0093] Example Process
[0094] Figure 5 1 is a flow chart of a method 500 for evaluating a clock tree according to some embodiments of the present disclosure. The method 500 may be implemented at the electronic device 120. Figure 1 Method 500 is described.
[0095] At block 510, the electronic device 120 automatically determines a candidate clock tree structure for the clock tree based on a set of structural parameters for a plurality of parts of the clock tree, wherein each structural parameter of the set of structural parameters is used to define a structure of one of the plurality of parts. At block 520, circuit configuration information associated with the candidate clock tree structure is obtained, wherein the circuit configuration information indicates a connection relationship between circuit units in the candidate clock tree structure. At block 530, a clock performance of the candidate clock tree structure is determined based at least on the circuit configuration information.
[0096] In some embodiments, in order to determine a candidate clock tree structure, the electronic device 120 determines multiple structural parameter combinations in response to at least one structural parameter in the structural parameter set having different parameter values, each structural parameter combination including a set of parameter values for defining multiple parts; based on the multiple structural parameter combinations, respectively determine multiple clock tree structures for the clock tree; and respectively set the multiple clock tree structures as candidate clock tree structures.
[0097] In some embodiments, the electronic device 120 presents clock performances that are determined separately for multiple clock tree structures.
[0098] In some embodiments, in order to separately determine multiple clock tree structures, the electronic device 120 determines the structures of each of the multiple parts for a given structural parameter combination among multiple structural parameter combinations; and determines the clock tree structure corresponding to the given structural parameter combination among the multiple clock tree structures based on the structures of each of the multiple parts and the relative relationship between the multiple parts.
[0099] In some embodiments, the electronic device 120 provides a user interface for structural configuration for at least one of the multiple parts; and receives at least one parameter in the structural parameter set via the user interface, wherein the at least one parameter corresponds to at least one part.
[0100] In some embodiments, at least one portion includes at least one of: a clock grid for delivering a clock signal to a timing cell, a grid driver stage for driving the clock grid, or a tap driver stage for coupling the clock grid to the timing cell.
[0101] In some embodiments, the plurality of portions include a clock grid for delivering clock signals to the sequential cells, and to determine the clock performance, the electronic device 120 further bases the determination on parasitic electrical parameters in the candidate clock tree structure.
[0102] Example devices and equipment
[0103] Figure 6 A schematic structural block diagram of an apparatus 600 for evaluating a clock tree according to some embodiments of the present disclosure is shown. The apparatus 600 may be implemented as or included in the electronic device 120. Each module / component in the apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.
[0104] As shown in the figure, the device 600 includes a clock tree structure determination module 610, which is configured to automatically determine a candidate clock tree structure for the clock tree based on a structure parameter set for multiple parts of the clock tree, each structure parameter of the structure parameter set is used to define the structure of one of the multiple parts. The device 600 also includes a circuit configuration information acquisition module 620, which is configured to acquire circuit configuration information associated with the candidate clock tree structure, and the circuit configuration information indicates the connection relationship of the circuit units in the candidate clock tree structure. The device 600 also includes a clock performance determination module 630, which is configured to determine the clock performance of the candidate clock tree structure based at least on the circuit configuration information.
[0105] In some embodiments, the clock tree structure determination module is configured to: determine multiple structural parameter combinations in response to at least one structural parameter in the structural parameter set having different parameter values, each structural parameter combination including a set of parameter values for defining multiple parts; based on the multiple structural parameter combinations, respectively determine multiple clock tree structures for the clock tree; and respectively set the multiple clock tree structures as candidate clock tree structures.
[0106] In some embodiments, the apparatus 600 further includes: a clock performance presentation module configured to present clock performances respectively determined for a plurality of clock tree structures.
[0107] In some embodiments, the clock tree structure determination module is further configured to: determine the structures of each of the multiple parts for a given structural parameter combination among multiple structural parameter combinations; and determine the clock tree structure corresponding to the given structural parameter combination among multiple clock tree structures based on the structures of each of the multiple parts and the relative relationship between the multiple parts.
[0108] In some embodiments, the device 600 also includes: a user interface providing module, configured to provide a user interface for structural configuration for at least one part among the multiple parts; and a parameter set receiving module, configured to receive at least one parameter in the structural parameter set via the user interface, and the at least one parameter corresponds to at least one part respectively.
[0109] In some embodiments, at least one portion includes at least one of: a clock grid for delivering a clock signal to a timing cell, a grid driver stage for driving the clock grid, or a tap driver stage for coupling the clock grid to the timing cell.
[0110] In some embodiments, the plurality of portions include a clock grid for delivering clock signals to the sequential cells, and wherein the clock performance determination module is further configured to determine the clock performance based on parasitic electrical parameters in the candidate clock tree structure.
[0111] Figure 7A block diagram of an electronic device 700 is shown in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 7 The electronic device 700 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 7 The electronic device 700 shown can be used to implement Figure 1 An electronic device 120.
[0112] like Figure 7 As shown, the electronic device 700 is in the form of a general electronic device. The components of the electronic device 700 may include, but are not limited to, one or more processors or processing units 710, a memory 720, a storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. The processing unit 710 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 720. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 700.
[0113] The electronic device 700 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 720 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 730 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the electronic device 700.
[0114] The electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 7 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 720 may include a computer program product 725 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0115] The communication unit 740 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 700 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 700 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0116] The input device 750 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 760 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 700 may also communicate with one or more external devices (not shown) through the communication unit 740 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 700, or communicate with any device that allows the electronic device 700 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0117] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0118] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0119] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0120] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0121] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0122] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A method for evaluating a clock tree, include: automatically determining a candidate clock tree structure for the clock tree based on a set of structural parameters for a plurality of portions of the clock tree, each structural parameter of the set of structural parameters being used to define a structure of one of the plurality of portions; Acquire circuit configuration information associated with the candidate clock tree structure, wherein the circuit configuration information indicates a connection relationship between circuit units in the candidate clock tree structure; as well as Based at least on the circuit configuration information, a clock performance of the candidate clock tree structure is determined.
2. The method according to claim 1, wherein determining the candidate clock tree structure include: In response to at least one structural parameter in the structural parameter set having different parameter values, determining a plurality of structural parameter combinations, each structural parameter combination comprising a set of parameter values for defining the plurality of portions; Based on the multiple structural parameter combinations, respectively determine multiple clock tree structures for the clock tree; as well as The multiple clock tree structures are respectively set as the candidate clock tree structures.
3. The method according to claim 2, further comprising: include: The clock performances respectively determined for the plurality of clock tree structures are presented.
4. The method according to claim 2, wherein the plurality of clock tree structures are determined respectively include: For a given structural parameter combination among the plurality of structural parameter combinations, determining the structure of each of the plurality of parts; as well as Based on the respective structures of the multiple parts and the relative relationship between the multiple parts, a clock tree structure corresponding to the given structural parameter combination among the multiple clock tree structures is determined.
5. The method according to claim 1, further comprising: include: For at least one of the plurality of parts, a user P23011829801CN for structural configuration is provided. interface; as well as At least one parameter in the structure parameter set is received via the user interface, and the at least one parameter corresponds to the at least one part respectively.
6. The method of claim 5, wherein the at least one portion comprises at least one of: The clock grid is used to pass the clock signal to the timing unit. A grid driver stage for driving the clock grid, or A tap driver stage is used to couple the clock grid to the timing unit. 7 . The method of claim 1 , wherein the plurality of portions comprises a clock grid for delivering clock signals to sequential cells, and wherein determining the clock performance is further based on parasitic electrical parameters in the candidate clock tree structure.
8. A device for evaluating a clock tree, include: a clock tree structure determination module configured to automatically determine a candidate clock tree structure for the clock tree based on a structure parameter set for a plurality of parts of the clock tree, each structure parameter of the structure parameter set being used to define a structure of one of the plurality of parts; A circuit configuration information acquisition module, configured to acquire circuit configuration information associated with the candidate clock tree structure, wherein the circuit configuration information indicates a connection relationship between circuit units in the candidate clock tree structure; as well as The clock performance determination module is configured to determine the clock performance of the candidate clock tree structure based at least on the circuit configuration information.
9. An electronic device, include: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 7 when executed by the at least one processing unit.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the P23011829801CN method according to any one of claims 1 to 7.
Citation Information
Cited By
Logic comprehensive parameter optimization method and device of circuit, equipment and medium
CN119862847A
Clock grid simulation time sequence labeling method and device applied to POCV analysis mode
CN120197571A
Clock tree synthesis method of high-bandwidth interface module, electronic equipment and medium
CN122433672A
Clock tree synthesis method of high-bandwidth interface module, electronic device and medium
CN122433672B
