Clock tree display method and device, electronic equipment and storage medium

By generating a three-dimensional clock tree and displaying detailed information of the chip clock tree, the problem in the existing technology of being unable to visually display the position relationship of the clock tree is solved, and the efficiency and effect of clock tree synthesis are improved.

CN118690716APending Publication Date: 2024-09-24SHENZHEN HONGXIN MICRO NANO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410732471.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The existing clock tree display method cannot intuitively display the positional relationship between the driving device and the receiving device in the chip clock tree, making it difficult for designers to determine the number and position of buffers, inverters, and delay units inserted on the clock path. Affects the efficiency and effectiveness of clock tree synthesis.

Method used

By obtaining the physical position information and delay information of each device in the target circuit, determine the three-dimensional coordinates of each device, generate and display a three-dimensional clock tree, including a virtual polygonal pyramid structure and a virtual grid plane, to intuitively display the positional relationship between devices and time delays.

Benefits of technology

It enables designers to intuitively determine the positional relationship and time delay between various devices, improves the efficiency and effect of clock tree synthesis, and enables the number and position of buffers, inverters, and delay units to be inserted on the clock path. determine more accurately.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690716A
    Figure CN118690716A
Patent Text Reader

Abstract

The invention provides a clock tree display method and device, electronic equipment and a storage medium, and relates to the technical field of chip design. The method comprises the following steps: acquiring physical position information and time delay information of each device in a target circuit; determining a three-dimensional coordinate of each device according to the physical position information and the time delay information of each device; and generating and displaying a three-dimensional clock tree of the target circuit according to the three-dimensional coordinates of each device. The detailed information of the chip clock tree can be visually and detailedly displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of chip technology, and in particular to a clock tree display method, device, electronic device and storage medium. Background Art

[0002] Clock tree synthesis (CTS) is a crucial step in modern digital integrated circuit design. Designers often need to check the distribution and various parameters of the clock tree during this step. To facilitate designers in completing this step, electronic design automation (EDA) usually needs to abstract the clock tree of the integrated circuit into an inverted tree and display it on a plane.

[0003] In the existing clock tree display method, the root node of the clock tree is the entry of the chip clock signal, that is, the driver device, and the leaf node is the receiving device corresponding to the chip clock signal. The EDA tool will display the delay from the root node to the leaf node so that designers can view the delay from the driver device to the receiving device on the clock tree.

[0004] However, based on this clock tree display method, designers cannot determine the positional relationship between the driver device and the receiving device on the clock tree, that is, the display of the clock tree is not intuitive and detailed enough. Summary of the invention

[0005] The purpose of the present invention is to provide a clock tree display method, device, electronic device and storage medium to address the deficiencies in the above-mentioned prior art, so as to intuitively and in detail display the detailed information of the chip clock tree.

[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0007] In a first aspect, an embodiment of the present application provides a clock tree display method, the method comprising:

[0008] Acquire physical location information of each device in the target circuit and delay information of each device;

[0009] Determining the three-dimensional coordinates of each device according to the physical position information and delay information of each device;

[0010] A three-dimensional clock tree of the target circuit is generated and displayed according to the three-dimensional coordinates of each device.

[0011] In a possible implementation, generating and displaying the three-dimensional clock tree of the target circuit according to the three-dimensional coordinates of each device includes:

[0012] Generate and display a plurality of reference nodes corresponding to each device according to the three-dimensional coordinates of each device;

[0013] The multiple reference nodes are connected according to the connection relationship between the various devices to obtain a three-dimensional clock tree of the target circuit.

[0014] In a possible implementation, the method further includes:

[0015] Determine a plurality of target reference nodes corresponding to each driving device and driven receiving device in the target circuit;

[0016] A virtual polygonal pyramid structure is generated and displayed, where the virtual polygonal pyramid structure is used to wrap the multiple target reference nodes.

[0017] In a possible implementation, the method further includes:

[0018] Determining vertex coordinates of the virtual polygonal pyramid structure according to the three-dimensional coordinates of each driving device;

[0019] The coordinates of the bottom plane of the virtual polygonal pyramid structure are determined according to the three-dimensional coordinates of the receiving device driven by each driving device.

[0020] In a possible implementation manner, the acquiring the delay information of each device includes:

[0021] A preset clock tree synthesis tool is used to generate delay information of each device in the target circuit.

[0022] In a possible implementation, the method further includes:

[0023] Generating and displaying a virtual grid plane in the three-dimensional clock tree;

[0024] According to the metal routing of the target circuit, the metal routing is drawn on the virtual grid plane.

[0025] In a possible implementation manner, generating and displaying a virtual grid plane in the three-dimensional clock tree includes:

[0026] Determining the three-dimensional coordinates of the virtual grid plane according to the three-dimensional coordinates of each device;

[0027] The virtual grid plane is generated and displayed in the three-dimensional clock tree according to the three-dimensional coordinates of the virtual grid plane.

[0028] In a second aspect, an embodiment of the present application further provides a clock tree display device, the device comprising:

[0029] An information acquisition module, used to acquire the physical location information of each device in the target circuit and the delay information of each device;

[0030] A coordinate determination module, used to determine the three-dimensional coordinates of each device according to the physical position information and delay information of each device;

[0031] A generating and displaying module is used to generate and display a three-dimensional clock tree of the target circuit according to the three-dimensional coordinates of each device.

[0032] In a possible implementation, the generation and display module is specifically used to generate and display multiple reference nodes corresponding to each device according to the three-dimensional coordinates of each device; and connect the multiple reference nodes according to the connection relationship between the devices to obtain the three-dimensional clock tree of the target circuit.

[0033] In a possible implementation, the generation and display module is also used to determine multiple target reference nodes corresponding to each driving device and the driven receiving device in the target circuit; generate and display a virtual polygonal pyramid structure, and the virtual polygonal pyramid structure is used to wrap the multiple target reference nodes.

[0034] In a possible implementation, the display generation module is also used to determine the vertex coordinates of the virtual polygonal pyramid structure according to the three-dimensional coordinates of each driving device; and determine the coordinates of the bottom plane of the virtual polygonal pyramid structure according to the three-dimensional coordinates of the receiving device driven by each driving device.

[0035] In a possible implementation, the information acquisition module is specifically configured to generate delay information of each device in the target circuit by using a preset clock tree synthesis tool.

[0036] In a possible implementation, the generating and displaying module is further used to generate and display a virtual grid plane in the three-dimensional clock tree; and draw the metal routing on the virtual grid plane according to the metal routing of the target circuit.

[0037] In a possible implementation, the generating and displaying module is further used to determine the three-dimensional coordinates of the virtual grid plane according to the three-dimensional coordinates of each device; and to generate and display the virtual grid plane in the three-dimensional clock tree according to the three-dimensional coordinates of the virtual grid plane.

[0038] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the program instructions to perform the steps of the clock tree display method as described in any one of the first aspects.

[0039] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the clock tree display method as described in any one of the first aspects are executed.

[0040] The beneficial effects of this application are:

[0041] The clock tree display method, device, electronic device and storage medium provided in the present application determine the three-dimensional coordinates of each device in the target circuit based on the physical position information and delay information of each device, generate and display the three-dimensional clock tree of the target circuit according to the three-dimensional coordinates of each device, and the three-dimensional clock tree is actually a three-dimensional display diagram of the clock tree of the target circuit. Based on the three-dimensional display diagram, designers can intuitively determine the positional relationship between each device and the time delay of each device, and realize intuitive and detailed display of detailed information of the chip clock tree, so that designers can determine the number and position of buffers, inverters, and delay units inserted in the clock path between each driver device and the receiving device based on the positional relationship and time delay between each driver device and the receiving device, thereby improving the efficiency of designers in clock tree synthesis and the effect of clock tree synthesis. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0043] Figure 1 Provides a two-dimensional display of the existing clock tree;

[0044] Figure 2 Schematic diagram of the process of the clock tree display method provided in the embodiment of the present application Figure 1 ;

[0045] Figure 3 Schematic diagram of the process of the clock tree display method provided in the embodiment of the present application Figure 2 ;

[0046] Figure 4Schematic diagram of the process of the clock tree display method provided in the embodiment of the present application Figure 3 ;

[0047] Figure 5 A three-dimensional clock tree display provided in the embodiment of the present application Figure 1 ;

[0048] Figure 6 Schematic diagram of the process of the clock tree display method provided in the embodiment of the present application Figure 4 ;

[0049] Figure 7 Schematic diagram of the process of the clock tree display method provided in the embodiment of the present application Figure 5 ;

[0050] Figure 8 A three-dimensional clock tree display provided in the embodiment of the present application Figure 2 ;

[0051] Fig. 9 Schematic diagram of the process of the clock tree display method provided in the embodiment of the present application Figure 6 ;

[0052] Fig.10 A schematic diagram of the structure of a clock tree display device provided in an embodiment of the present application;

[0053] Fig.11 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.

[0055] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0056] In addition, the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0057] It should be noted that, in the absence of conflict, the features in the embodiments of the present application may be combined with each other.

[0058] The clock tree is the clock circuit of the integrated circuit. The clock tree design of the integrated circuit can be performed to determine the timing logic of the integrated circuit. The root node of the clock tree is the driver device in the integrated circuit for receiving the clock signal. The leaf node of the clock tree is the receiving device connected to the driver device. There are buffers, inverters, delay units and other devices between the driver device and the receiving device. The buffers, inverters, delay units and other devices can be used to adjust the delay of the clock signal from the driver device to the receiving device.

[0059] The delay between the driver device and the receiving device in the integrated circuit needs to meet the timing requirements of the integrated circuit. When the timing requirements are not met, it is determined that the integrated circuit has a clock violation. Therefore, the clock violation of the integrated circuit needs to be repaired in the clock tree synthesis stage.

[0060] In the process of repairing the clock violation of the integrated circuit, the designer needs to view the distribution and various parameters of the clock tree. For this purpose, the EDA tool will abstract the clock tree of the integrated circuit into an inverted tree for display.

[0061] For example, Figure 1 A two-dimensional display diagram of the existing clock tree, such as Figure 1 As shown, the root node of the two-dimensional display diagram of the clock tree is located at the top, which is used to represent the driving device in the clock tree. The leaf nodes of the two-dimensional display diagram of the clock tree are located at the bottom, which are used to represent the receiving devices in the clock tree. According to the connection relationship between the driving device and the receiving device in the clock tree, the root node and the leaf nodes in the two-dimensional display diagram of the clock tree are connected.

[0062] The two-dimensional display diagram of the clock tree also includes a vertical ruler, which is used to represent the time delay from the root node to the leaf node, that is, the time delay of the clock signal from the driving device to the receiving device.

[0063] In some embodiments, the direction of the ruler is the same as the arrangement direction of the root node and the leaf node on the two-dimensional display diagram of the clock tree. If the root node and the leaf node are arranged vertically from top to bottom, the ruler is vertical; if the root node and the leaf node are arranged horizontally from left to right, the ruler is horizontal.

[0064] Generally speaking, the farther the receiving device is from the clock signal entrance, i.e. the driving device, the greater the time delay. Based on the time delay from the root node to the leaf node in the two-dimensional display diagram of the clock tree, the distance from the receiving device corresponding to the leaf node to the driving device can be roughly determined. However, the two-dimensional display diagram of the clock tree can only roughly display the distance from the receiving device to the driving device, and cannot accurately and intuitively represent the positional relationship between the driving device and the receiving device.

[0065] Based on this, the present application intends to provide a clock tree display method, which determines the three-dimensional coordinates of each device based on the physical position information and delay information of each device in the target circuit, and generates and displays the three-dimensional clock tree of the target circuit according to the three-dimensional coordinates of each device. The three-dimensional clock tree is actually a three-dimensional display diagram of the clock tree of the target circuit. Based on the three-dimensional display diagram, designers can intuitively determine the positional relationship between each device and the time delay of each device, thereby realizing an intuitive and detailed display of the detailed information of the chip clock tree.

[0066] In some embodiments, the clock tree display method provided in the present application is applied to an EDA tool, and the EDA tool is installed and runs in an electronic device, which may be a computer device, for example.

[0067] Figure 2 Schematic diagram of the process of the clock tree display method provided in the embodiment of the present application Figure 1 ,like Figure 2 As shown, the method may include:

[0068] S101: Acquire physical location information of each device in a target circuit and delay information of each device.

[0069] In this embodiment, the target circuit is an integrated circuit obtained through layout planning, placement and routing. In the integrated circuit, a clock tree of the target circuit is formed by designing the timing logic between the clock signal from the driving device to the receiving device.

[0070] It should be noted that the clock tree mentioned here is the clock circuit corresponding to the timing logic of the clock signal of the target circuit. In the process of designing the clock tree, the structure of the clock tree can be designed according to the requirements of the timing logic. For example, the clock tree can be an H structure or a mesh structure. The H structure uses one driver to drive multiple receiving devices, and the mesh structure uses multiple drivers to drive multiple receiving devices at the same time. The specific clock tree structure used can be determined by the designer according to actual needs and is not limited here.

[0071] The clock tree of the target circuit is composed of a driver device and a receiving device. The clock end of the driver device serves as the entry of the chip clock signal. The driver device transmits data to the receiving device according to the input signal based on the trigger of the chip clock signal. There is a time delay between the driver device and the receiving device.

[0072] Each device in the target circuit is a driving device and a receiving device on the clock tree. The physical location information of each device can be determined based on the location information of the driving device and the receiving device on the clock tree in the layout design of the target circuit. The delay information of each device is the delay information of the driving device and the delay information of the receiving device. Among them, since the driving device is the entrance for receiving the chip clock signal, the delay of the driving device is 0, and the delay information of the receiving device is the time delay from the driving device to the receiving device.

[0073] In a possible implementation, the process of obtaining the delay information of each device in S101 may include:

[0074] Use a preset clock tree synthesis tool to generate delay information for each device in the target circuit.

[0075] In this embodiment, an EDA tool is used to perform timing analysis on a target circuit to determine delay information of each device in the target circuit.

[0076] In some embodiments, a two-dimensional display diagram of a clock tree of a target circuit that has been generated using an EDA tool, such as Figure 1 The two-dimensional display diagram shown can determine the delay information of each driving device and receiving device based on the clock delay between each driving device and receiving device in the two-dimensional display diagram.

[0077] S102: Determine the three-dimensional coordinates of each device according to the physical position information and delay information of each device.

[0078] In this embodiment, the physical position information of each driving device and receiving device is used as the X-coordinate and Y-coordinate of each driving device and receiving device, and the delay information of each driving device and receiving device is used as the Z-coordinate of each driving device and receiving device to obtain the three-dimensional coordinates of each driving device and receiving device.

[0079] S103: Generate and display a three-dimensional clock tree of the target circuit according to the three-dimensional coordinates of each device.

[0080] In this embodiment, a three-dimensional coordinate system is established in the EDA tool, and the positions of the driving devices and receiving devices in the three-dimensional coordinate system are determined according to the three-dimensional coordinates of the driving devices and receiving devices. According to the connection relationship between the driving devices and receiving devices in the clock tree of the target circuit, the driving devices and receiving devices in the three-dimensional coordinate system are connected to display the three-dimensional clock tree of the target circuit. The three-dimensional clock tree is actually a three-dimensional display diagram of the clock tree of the target circuit.

[0081] When designers perform clock tree synthesis on the target circuit, they can determine the positional relationship and time delay between each driver device and receiving device from the three-dimensional clock tree, so that designers can determine the number and position of buffers, inverters, and delay units inserted on the clock path between each driver device and receiving device based on the positional relationship and time delay between each driver device and receiving device, thereby improving the efficiency of designers in performing clock tree synthesis and the effect of clock tree synthesis.

[0082] The clock tree display method provided in the above embodiment determines the three-dimensional coordinates of each device based on the physical position information and delay information of each device in the target circuit, generates and displays the three-dimensional clock tree of the target circuit according to the three-dimensional coordinates of each device, and the three-dimensional clock tree is actually a three-dimensional display diagram of the clock tree of the target circuit. Based on the three-dimensional display diagram, designers can intuitively determine the positional relationship between each device and the time delay of each device, and realize intuitive and detailed display of detailed information of the chip clock tree, so that designers can determine the number and position of buffers, inverters, and delay units inserted in the clock path between each driver device and the receiving device based on the positional relationship and time delay between each driver device and the receiving device, thereby improving the efficiency of designers in clock tree synthesis and the effect of clock tree synthesis.

[0083] In one possible implementation, Figure 3 Schematic diagram of the process of the clock tree display method provided in the embodiment of the present application Figure 2 ,like Figure 3 As shown, the process of generating and displaying the three-dimensional clock tree of the target circuit according to the three-dimensional coordinates of each device in S103 may include:

[0084] S201: Generate and display a plurality of reference nodes corresponding to each device according to the three-dimensional coordinates of each device.

[0085] S202: Connect multiple reference nodes according to the connection relationship between various devices to obtain a three-dimensional clock tree of the target circuit.

[0086] In this embodiment, in the process of generating and displaying a three-dimensional clock tree, based on the three-dimensional coordinates of each device in the target circuit, reference nodes corresponding to each device are generated and displayed in the three-dimensional coordinate system of the display interface of the EDA tool, and based on the connection relationship of each device, the reference nodes corresponding to each device are connected to obtain the three-dimensional clock tree of the target circuit.

[0087] In some embodiments, in the process of generating and displaying a three-dimensional clock tree, a reference root node or a reference intermediate node corresponding to the driving device is generated and displayed in the three-dimensional coordinate system of the display interface of the EDA tool according to the three-dimensional coordinates of the driving device, wherein if the driving device is a driving device located at the starting point of the timing path, that is, a driving device for receiving a clock signal, a corresponding reference root node is generated; if the driving device is a driving device located between the starting point and the end point of the timing path, a corresponding reference intermediate node is generated, and the last driving device on the timing path is used to connect to the receiving device; according to the three-dimensional coordinates of the receiving device, a reference leaf node corresponding to the receiving device is generated and displayed in the three-dimensional coordinate system of the display interface of the EDA tool, and according to the connection relationship between the driving device and the receiving device, the reference root node, the reference intermediate node and the reference leaf node corresponding to the driving device are connected to obtain the three-dimensional clock tree of the target circuit.

[0088] The driving device at the starting point of the timing path may be a trigger, a register or other device, and the driving device at the middle of the timing path may be a buffer, an inverter or other device.

[0089] The clock tree display method provided in the above embodiment generates and displays multiple reference nodes corresponding to each device according to the three-dimensional coordinates of each device, and connects the multiple reference nodes according to the connection relationship between each device to obtain a three-dimensional clock tree of the target circuit. The three-dimensional clock tree is actually a three-dimensional display diagram of the clock tree of the target circuit. Based on the three-dimensional display diagram, designers can intuitively determine the positional relationship between each device and the time delay of each device, thereby realizing an intuitive and detailed display of the detailed information of the chip clock tree.

[0090] In one possible implementation, Figure 4 Schematic diagram of the process of the clock tree display method provided in the embodiment of the present application Figure 3 ,like Figure 4 As shown, the method may also include:

[0091] S301: Determine a plurality of target reference nodes corresponding to each driving device and driven receiving device in a target circuit.

[0092] S302: Generate and display a virtual polygonal pyramid structure, where the virtual polygonal pyramid structure is used to wrap multiple target reference nodes.

[0093] In some embodiments, a target reference root node corresponding to a driver device located at the starting point of each timing path in a target circuit in a three-dimensional clock tree and a target reference leaf node corresponding to a receiving device corresponding to each driver device in the three-dimensional clock tree are determined, and a virtual polygonal pyramid structure is generated and displayed in a display interface of an EDA tool according to the positions of the target reference root node and the target reference leaf node in the three-dimensional clock tree. The virtual polygonal pyramid structure wraps the target reference root node and the target reference leaf node so that a designer can determine the physical position relationship between the driver device and the receiving device according to the virtual polygonal pyramid structure, wherein the virtual polygonal pyramid structure is based on the standard of being able to completely include the target reference root node and the target reference leaf node and having the smallest volume.

[0094] In other embodiments, the target reference intermediate node corresponding to the last driver device of each timing path in the target circuit in the three-dimensional clock tree and the target reference leaf node corresponding to the receiving device corresponding to the driver device in the three-dimensional clock tree are determined, and according to the positions of the target reference intermediate node and the target reference leaf node in the three-dimensional clock tree, a virtual polygonal pyramid structure is generated and displayed in the display interface of the EDA tool, and the virtual polygonal pyramid structure wraps the target reference intermediate node and the target reference leaf node, so that the designer can determine the physical position relationship between the driver device and the receiving device according to the virtual polygonal pyramid structure.

[0095] For example, Figure 5 A three-dimensional clock tree display provided in the embodiment of the present application Figure 1 ,like Figure 5 As shown, the target reference intermediate node serves as the vertex of the virtual polygonal pyramid structure, and the virtual polygonal pyramid structure can wrap the target reference intermediate node and the target reference leaf node.

[0096] In some embodiments, the target reference root node or the target reference intermediate node is used as the vertex of the virtual polygonal pyramid structure. If each driving device corresponds to a receiving device, the plane where the target reference leaf node corresponding to the receiving device is located can be determined as the bottom surface of the virtual polygonal pyramid structure. If each driving device corresponds to multiple receiving nodes, the plane where the target reference leaf node at the lowest position among the multiple target reference leaf nodes corresponding to the multiple receiving devices is located can be determined as the bottom surface of the virtual polygonal pyramid structure, and the target reference leaf node at the lowest position is the leaf node corresponding to the receiving device with the largest delay.

[0097] In some embodiments, the polygonal pyramid structure may be a quadrangular pyramid structure.

[0098] The clock tree display method provided in the above embodiment determines multiple target reference nodes corresponding to each driving device and the driven receiving device in the target circuit, generates and displays a virtual polygonal pyramid structure, and the virtual polygonal pyramid structure is used to wrap the multiple target reference nodes so that designers can intuitively determine the physical position relationship between the driving device and the receiving device based on the multiple target reference nodes wrapped by the virtual polygonal pyramid structure.

[0099] In one possible implementation, Figure 6 Schematic diagram of the process of the clock tree display method provided in the embodiment of the present application Figure 4 ,like Figure 6 As shown, the method may also include:

[0100] S401: Determine vertex coordinates of a virtual polygonal pyramid structure according to the three-dimensional coordinates of each driving device.

[0101] S402: Determine the coordinates of the bottom plane of the virtual polygonal pyramid structure according to the three-dimensional coordinates of the receiving device driven by each driving device.

[0102] In this embodiment, the vertex coordinates of the virtual polygonal pyramid structure are determined based on the three-dimensional coordinates of the target reference root node corresponding to the driving device located at the starting point of the timing path, or the three-dimensional coordinates of the target reference intermediate node corresponding to the last driving device on the timing path, and the coordinates of the bottom plane of the virtual polygonal pyramid structure are determined based on the three-dimensional coordinates of the target reference leaf node corresponding to the receiving device driven by the driving device on each timing path.

[0103] In some embodiments, if the driving device corresponds to a receiving device, the Z-axis coordinate of the bottom surface of the virtual polygonal pyramid structure can be determined according to the Z-axis coordinate of the target reference leaf node corresponding to the receiving device, and the X-axis coordinate and Y-axis coordinate of each vertex of the bottom surface of the virtual polygonal pyramid structure can be determined according to the X-axis coordinate and Y-axis coordinate of the target reference leaf node, wherein the position of the target reference leaf node on the two-dimensional plane corresponding to the X-axis and Y-axis is located at the center of the bottom surface of the virtual polygonal pyramid structure, based on which the X-axis coordinate and Y-axis coordinate of each vertex of the bottom surface of the virtual polygonal pyramid structure can be determined.

[0104] If the driving device corresponds to multiple receiving devices, the Z-axis coordinate of the bottom surface of the virtual polygonal pyramid structure can be determined according to the Z-axis coordinate of the lowest reference leaf node among the target reference leaf nodes corresponding to the multiple receiving devices, and the minimum bottom surface area that can cover the multiple target reference leaf nodes on the two-dimensional plane corresponding to the X-axis and Y-axis can be determined according to the X-axis coordinates and Y-axis coordinates of the multiple target reference leaf nodes, thereby determining the X-axis coordinates and Y-axis coordinates of each vertex of the bottom surface of the virtual polygonal pyramid structure.

[0105] The clock tree display method provided in the above embodiment determines the vertex coordinates of the virtual polygonal pyramid structure according to the three-dimensional coordinates of each driving device, and determines the coordinates of the bottom plane of the virtual polygonal pyramid structure according to the three-dimensional coordinates of the receiving device driven by each driving device. This ensures that the area of ​​the virtual polygonal pyramid structure is minimized while the physical position relationship between the driving device and the receiving device can be intuitively determined based on multiple target reference nodes wrapped by the virtual polygonal pyramid structure, thereby ensuring the simplicity of the three-dimensional clock tree display.

[0106] In one possible implementation, Figure 7 Schematic diagram of the process of the clock tree display method provided in the embodiment of the present application Figure 5 ,like Figure 7 As shown, the method may also include:

[0107] S501: Generate and display a virtual grid plane in a three-dimensional clock tree.

[0108] S502: Drawing metal routing lines on a virtual grid plane according to metal routing lines of a target circuit.

[0109] In this embodiment, if the clock tree of the target circuit adopts a clock tree with a mesh structure, the mesh structure will specifically distribute the clock signal through the metal layer, and the metal routing of each device on the clock tree forms a mesh on the metal layer, and the signal transmission from the driving device to the receiving device is realized through the mesh.

[0110] When a clock tree of a mesh structure is displayed in three dimensions, a virtual mesh plane can be generated and displayed in the three-dimensional clock tree according to the metal layers included in the clock tree of the mesh structure, and virtual metal traces can be drawn on the virtual mesh plane according to the metal traces on the metal layers of the clock tree of the mesh structure.

[0111] In some embodiments, if the clock tree of the mesh structure includes multiple metal layers, one or more virtual mesh planes can be generated and displayed. If a virtual mesh plane is generated, virtual metal routes corresponding to multiple metal layers can be drawn on the virtual mesh plane according to the metal routes on the multiple metal layers. If multiple virtual mesh planes are generated, virtual metal routes can be drawn on each virtual mesh plane according to the metal routes on each metal layer.

[0112] For example, Figure 8 A three-dimensional clock tree display provided in the embodiment of the present application Figure 2 ,like Figure 8 As shown, virtual metal routing corresponding to the metal routing on the metal layer of the clock tree of the mesh structure is drawn on the virtual grid plane.

[0113] In some embodiments, the virtual grid plane may be located above the target reference root node corresponding to the driving devices at the start points of all timing paths.

[0114] In other embodiments, the virtual grid plane may be located at any position between the target reference root node corresponding to the driving device at the starting point of all timing paths and the target reference leaf node corresponding to all receiving devices.

[0115] In some embodiments, the size of the virtual grid plane on the two-dimensional plane corresponding to the X-axis and the Y-axis must be able to cover all target reference nodes.

[0116] The clock tree display method provided in the above embodiment generates and displays a virtual grid plane in a three-dimensional clock tree, and draws metal routing on the virtual grid plane according to the metal routing of the target circuit, so that designers can understand the metal routing of the target circuit in the three-dimensional display diagram of the clock tree of the target circuit, so that designers can better perform clock tree synthesis and improve the effect of clock tree synthesis.

[0117] In one possible implementation, Fig. 9 Schematic diagram of the process of the clock tree display method provided in the embodiment of the present application Figure 6 ,like Fig. 9 As shown, the process of generating and displaying a virtual grid plane in the three-dimensional clock tree in S501 may include:

[0118] S601: Determine the three-dimensional coordinates of the virtual grid plane according to the three-dimensional coordinates of each device.

[0119] S602: Generate and display a virtual grid plane in a three-dimensional clock tree according to the three-dimensional coordinates of the virtual grid plane.

[0120] In this embodiment, since the time delay of the driving devices located at the starting point of each timing path is 0, the Z-axis coordinates of the reference root nodes corresponding to the driving devices located at the starting point of each timing path are the same. The reference leaf node at the lowest position, i.e., the receiving device with the largest delay, can be determined based on the Z-axis coordinates of the reference leaf nodes corresponding to each receiving device. The Z-axis coordinate of the virtual grid plane can be determined based on the midpoint of the Z coordinate of the driving device and the Z coordinate of the receiving device with the largest delay, i.e., the reference leaf node at the lowest position.

[0121] According to the X-axis coordinates and Y-axis coordinates of each driving device and the X-axis coordinates and Y-axis coordinates of each receiving device, the X-axis coordinates and Y-axis coordinates of each vertex of the virtual grid plane are determined; according to the X-axis coordinates and Y-axis coordinates of each vertex of the virtual grid plane and the Z-axis coordinate of the virtual grid plane, the virtual grid plane is generated and displayed in the three-dimensional clock tree.

[0122] In some embodiments, a set of (X-coordinate minimum value, Y-coordinate minimum value), (X-coordinate minimum value, Y-coordinate maximum value), (X-coordinate maximum value, Y-coordinate minimum value), (X-coordinate maximum value, Y-coordinate maximum value) can be determined based on the X-axis coordinate and Y-axis coordinate of each driving device and the X-axis coordinate and Y-axis coordinate of each receiving device, and (X-coordinate minimum value, Y-coordinate minimum value), (X-coordinate minimum value, Y-coordinate minimum value), (X-coordinate maximum value, Y-coordinate maximum value) are used as the X-axis coordinate and Y-axis coordinate of each vertex of the virtual grid plane, and the virtual grid plane is generated and displayed in the three-dimensional clock tree based on the X-axis coordinate and Y-axis coordinate of each vertex of the virtual grid plane and the Z-axis coordinate of the virtual grid plane.

[0123] The clock tree display method provided in the above embodiment determines the three-dimensional coordinates of the virtual grid plane according to the three-dimensional coordinates of each device, and generates and displays the virtual grid plane in the three-dimensional clock tree according to the three-dimensional coordinates of the virtual grid plane, so that designers can understand the metal routing of the target circuit in the three-dimensional display diagram of the clock tree of the target circuit, so that designers can better perform clock tree synthesis and improve the effect of clock tree synthesis.

[0124] Based on the above method embodiment, the embodiment of the present application also provides a clock tree display device. Fig.10 A schematic diagram of the structure of a clock tree display device provided in an embodiment of the present application is shown in FIG. Fig.10 As shown, the device may include:

[0125] The information acquisition module 701 is used to acquire the physical location information of each device in the target circuit and the delay information of each device;

[0126] A coordinate determination module 702, for determining the three-dimensional coordinates of each device according to the physical position information and delay information of each device;

[0127] The generating and displaying module 703 is used to generate and display a three-dimensional clock tree of the target circuit according to the three-dimensional coordinates of each device.

[0128] In a possible implementation, a display module 703 is generated, which is specifically used to generate and display multiple reference nodes corresponding to each device according to the three-dimensional coordinates of each device; and connect the multiple reference nodes according to the connection relationship of each device to obtain a three-dimensional clock tree of the target circuit.

[0129] In a possible implementation, the display module 703 is generated and used to determine multiple target reference nodes corresponding to each driving device and the driven receiving device in the target circuit; generate and display a virtual polygonal pyramid structure, which is used to wrap the multiple target reference nodes.

[0130] In a possible implementation, the display module 703 is generated and further used to determine the vertex coordinates of the virtual polygonal pyramid structure according to the three-dimensional coordinates of each driving device; and determine the coordinates of the bottom plane of the virtual polygonal pyramid structure according to the three-dimensional coordinates of the receiving device driven by each driving device.

[0131] In a possible implementation, the information acquisition module 701 is specifically configured to generate delay information of each device in the target circuit by using a preset clock tree synthesis tool.

[0132] In a possible implementation, the generating and displaying module 703 is further configured to generate and display a virtual grid plane in the three-dimensional clock tree; and draw metal routing lines on the virtual grid plane according to metal routing lines of the target circuit.

[0133] In a possible implementation, the generating and displaying module 703 is further configured to determine the three-dimensional coordinates of the virtual grid plane according to the three-dimensional coordinates of each device; and to generate and display the virtual grid plane in the three-dimensional clock tree according to the three-dimensional coordinates of the virtual grid plane.

[0134] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0135] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0136] Fig.11 A schematic diagram of an electronic device provided in an embodiment of the present application, such as Fig.11As shown, the electronic device 800 may include: a processor 801, a storage medium 802 and a bus, the storage medium 802 stores program instructions executable by the processor 801, when the electronic device 800 is running, the processor 801 and the storage medium 802 communicate through the bus, and the processor 801 executes the program instructions to execute the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.

[0137] Optionally, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above method embodiment is executed.

[0138] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0139] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0140] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0141] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.

[0142] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A clock tree display method, characterized in that: The method comprises: Acquire physical location information of each device in the target circuit and delay information of each device; Determining the three-dimensional coordinates of each device according to the physical position information and delay information of each device; A three-dimensional clock tree of the target circuit is generated and displayed according to the three-dimensional coordinates of each device.

2. The method according to claim 1, characterized in that The step of generating and displaying a three-dimensional clock tree of the target circuit according to the three-dimensional coordinates of each device includes: Generate and display a plurality of reference nodes corresponding to each device according to the three-dimensional coordinates of each device; The multiple reference nodes are connected according to the connection relationship between the various devices to obtain a three-dimensional clock tree of the target circuit.

3. The method according to claim 2, characterized in that The method further comprises: Determine a plurality of target reference nodes corresponding to each driving device and driven receiving device in the target circuit; A virtual polygonal pyramid structure is generated and displayed, where the virtual polygonal pyramid structure is used to wrap the multiple target reference nodes.

4. The method according to claim 3, characterized in that The method further comprises: Determining vertex coordinates of the virtual polygonal pyramid structure according to the three-dimensional coordinates of each driving device; The coordinates of the bottom plane of the virtual polygonal pyramid structure are determined according to the three-dimensional coordinates of the receiving device driven by each driving device.

5. The method according to claim 1, characterized in that The acquiring the delay information of each device includes: A preset clock tree synthesis tool is used to generate delay information of each device in the target circuit.

6. The method according to claim 1, characterized in that The method further comprises: Generating and displaying a virtual grid plane in the three-dimensional clock tree; According to the metal routing of the target circuit, the metal routing is drawn on the virtual grid plane.

7. The method according to claim 6, characterized in that The generating and displaying a virtual grid plane in the three-dimensional clock tree comprises: Determining the three-dimensional coordinates of the virtual grid plane according to the three-dimensional coordinates of each device; The virtual grid plane is generated and displayed in the three-dimensional clock tree according to the three-dimensional coordinates of the virtual grid plane.

8. A clock tree display device, characterized in that: The device comprises: An information acquisition module, used to acquire the physical location information of each device in the target circuit and the delay information of each device; A coordinate determination module, used to determine the three-dimensional coordinates of each device according to the physical position information and delay information of each device; A generating and displaying module is used to generate and display a three-dimensional clock tree of the target circuit according to the three-dimensional coordinates of each device.

9. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the clock tree display method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the clock tree display method according to any one of claims 1 to 7 are executed.