This application claims the priority benefit of China application serial no. 201710146090.9, filed Mar. 13, 2017. All disclosure of the China application is incorporated herein by reference.
The present invention relates to the field of digital integrated circuit design, and more particularly to the structure and generation methods of a clock distribution network.
In the deep submicron technology, the design of synchronous clocks is vital to the performance and reliability of integrated circuits in chip design. In a clock distribution network, the time taken for clock signals to reach different registers should be synchronized. This requires distributions of all clock signals in the clock distribution network. A clock signal, an input from an external clock source or an output from an internal clock generator, passes through the clock distribution network constituted by combinational logic units and interconnects to sequential logic units.
At present, many clock tree structures have been proposed in the industry, which can be summarized as: tree-trunk structure, mesh structure, symmetrical H-tree structure and balanced buffer-tree structure, etc. In the above-mentioned structures, the balanced buffer-tree structure has been widely used in digital circuits.
The existing clock distribution networks are mainly divided into two categories:
1. Tree-Type Clock Distribution Network
Please refer to
It has advantages like simple algorithm, low consumption of layout and wiring resources and low power consumption; it has disadvantages like relatively weak timing performance, strong timing variations, great influence of process variation on timing sequence and the resulting low predictability of the timing sequence in front-end design and back-end design processes.
2. Mesh-Type Clock Distribution Network
Please refer to
It has advantages like small timing variations, low influence of process variations on timing sequence, good predictability in front-end design and back-end design, and relatively stable performance; it has disadvantages of requiring relatively more layout and wiring resources and consuming more power.
Accordingly, at least one objective of the present invention is to provide a novel structure of a clock distribution network and generation method thereof, which greatly combines the benefits of the tree-type clock distribution network structure and the mesh-type clock distribution network structure in terms of digital circuit design and thus provides a more flexible clock distribution network solution for VLSI (very large scale integrated circuit) design.
To achieve these and other advantages and in accordance with the objective of the invention, as embodied and broadly described herein, the invention provides a structure of a clock distribution network, wherein,
the clock distribution network is distributed in multiple local clock circuit modules; the clock distribution network comprises a clock tree structure and clock mesh structures, wherein the clock tree structure is distributed at least between or among the multiple local circuit modules and has a root node which is a clock access point of the clock distribution network; the clock mesh structures are distributed within at least one local circuit module at least according to one of the following: a proportion of clock nodes in the local circuit module, a proportion of sequential circuits connected by clock in the local circuit module, a ratio of a total length of clock routing wirings in the local circuit module to the perimeter of the corresponding local circuit module, and a proportion of timing violation in the local circuit module.
Furthermore, the clock mesh structures are distributed within at least one local circuit module according to the proportion of clock nodes in the local circuit module; for each local circuit module, if the proportion of clock nodes is more than 30% of the total local circuit nodes, the clock mesh structures are distributed therein; otherwise, the clock tree structure is distributed therein.
Furthermore, the clock mesh structures are distributed within at least one local circuit module according to the proportion of sequential circuits connected by clock in the local circuit module; for each local circuit module, if the proportion of sequential circuits connected by the clock is more than 20% of all the circuits in the local circuit module, the clock mesh structures are distributed therein; otherwise, the clock tree structure is distributed therein.
Furthermore, the clock mesh structures are distributed within at least one local circuit module according to the ratio of the total length of clock routing wirings in the local circuit module to the perimeter of the local circuit module; if the total length of the clock routing wirings in the local circuit module is 3 times longer than the perimeter of the local circuit module, the clock mesh structures are distributed therein; otherwise, the clock tree structure is distributed therein.
Furthermore, the clock mesh structures are distributed within at least one local circuit module according to the proportion of timing violations in the local circuit module; for each local circuit module, if the proportion of the timing violations is more than a predefined percentage, the clock mesh structures are distributed therein; otherwise, the clock tree structure is distributed therein.
Furthermore, each local circuit module comprises multiple clock circuits.
To achieve the above objectives, the invention also provides a method for generating the aforesaid clock distribution network, comprising the following steps:
step S1: applying a clock tree structure at least between or among the multiple local circuit modules; wherein, the clock tree structure has a root node which is a clock access point of the clock distribution network and branch interconnects distributed between or among the local circuit modules;
step S2: starting from the clock access point of the clock distribution network to an end point of the clock distribution network along the branch interconnects, determining whether to apply clock mesh structures within a next local circuit module at least according to one of the following: a proportion of clock nodes in the local circuit module, a proportion of sequential circuits connected by clock in the local circuit module, a ratio of total length of clock routing wirings in the local circuit module to the perimeter of the local circuit module, or a proportion of timing violation in the local circuit module; if yes, turn to step S3; otherwise, turn to step S4;
step S3: applying the clock mesh structures in the next local circuit module;
step S4: applying the clock tree structure in the next local circuit module.
As is disclosed above, the clock distribution network and its generation method of the present invention provides an innovative clock network synthesis technology solution for digital sequential circuit design. It combines the tree-type clock network with the mesh-type clock network, which offers a more flexible design idea and algorithm to the design of VLSI.
The clock distribution network and generation method thereof of the present invention will be elucidated by reference to the following embodiments and the accompanying drawings, in which:
The invention will be described in further details hereinafter with respect to the embodiments and the accompanying drawings of
It is important to note that the clock distribution network and generation method thereof of the present invention greatly combines the benefits of clock tree network and clock mesh network in terms of digital circuit design and provides an optimal solution for circuit design.
In the embodiments of the present invention, the global clock distribution network is distributed in multiple local circuit modules; each local circuit module can serve as a small function module and comprise multiple sequential circuits. Distinguished from the existing technology, the present invention applies a clock tree structure between or among the multiple local circuit modules while applies clock mesh structure or the clock tree structure within the local circuit modules according to practical calculation results of timing sequence and actual situation of the local circuit modules.
That is, the clock tree structure of the present invention starts from the clock access point of the clock distribution network, which is taken as the root node of the tree structure. The clock mesh structures are distributed within at least one local circuit module.
Please refer to
In the embodiment, the advantages of the tree-type clock distribution network in layout wiring resources and power consumption are efficiently utilized by distributing the clock tree structure between or among the local circuit modules for synthesis of the global clock distribution network, so as to save the global layout wiring resources and lower the power of the chip. Furthermore, the clock mesh structures are distributed within some local circuit modules, according to practical calculation results of timing sequence and actual situations of the circuit modules. The clock mesh structures can minimize the differences of timing sequence occurred in different local circuit modules, optimize the circuit timing sequence design, and meanwhile strengthen the tolerance of process variations of the clock distribution network.
In the embodiment of the present invention, whether or not to distribute the clock mesh structures within the local circuit module can be determined according to any one of the following parameters: a proportion of clock nodes in the local circuit module, a proportion of sequential circuits connected by clock in the local circuit module, a ratio of the total length of clock routing wirings in the local circuit module to the perimeter of the local circuit module, and a proportion of timing violation in the local circuit module.
It is important to note that when determining whether or not to distribute the clock mesh structures within the local circuit module, one or more of the above parameters can be used. For example, for a local circuit module, if any of the following conditions is satisfied, then the clock mesh structures are applied in the local circuit module, or else the clock tree structure is applied:
1. The proportion of clock nodes in the local circuit module is more than 30% of the total local circuit nodes. Clearly, the proportion of 30% is only a preferred example and does not set any limits to the present invention.
2. The proportion of sequential circuits connected by the clock in the local circuit module is more than 20% of the total circuits in the local circuit module. Clearly, the proportion of 20% is only a preferred example and does not set any limits to the present invention.
3. The total length of clock routing wirings in the local circuit module is 3 times longer than the perimeter of the local circuit module. Clearly, the multiple of 3 is only a preferred example and does not set any limits to the present invention.
4. The proportion of the timing violations is more than 30%. Clearly, the proportion of 30% is only a preferred example and does not set any limits to the present invention.
Turning next to
Please refer to
Step S1: applying a clock tree structure at least between or among the multiple local circuit modules; wherein, the clock tree structure has a root node which is a clock access point of the clock distribution network and branch interconnects distributed between or among the local circuit modules;
step S2: starting from the clock access point of the clock distribution network to an end point of the clock distribution network along the branch interconnects; determining whether to apply clock mesh structures within a next local circuit module according to at least one of the following: a proportion of clock nodes in the local circuit module, a proportion of sequential circuits connected by clock in the local circuit module, a ratio of a total length of clock routing wirings in the local circuit module to the perimeter of the local circuit module, or a proportion of timing violation in the local circuit module; if yes, turn to step S3; otherwise, turn to step S4.
step S3: applying the clock mesh structures in the next local circuit module;
step S4: applying the clock tree structure in the next local circuit module.
Wherein, step S2 comprises determining whether the proportion of clock nodes in the next local circuit module is more than 30% of the total local circuit nodes, whether the proportion of sequential circuits connected by the clock in the next local circuit module is more than 20% of the total circuits in the next local circuit module, whether the total length of the clock routing wirings in the next local circuit module is 3 times larger than the perimeter of the next local circuit module, and whether the proportion of the timing violations in the next local circuit module is more than 30%, if anyone is yes, turn to step S3, otherwise turn to step S4.
Although the present invention has been disclosed as above with respect to the preferred embodiments, they should not be construed as limitations to the present invention. Various modifications and variations can be made by the ordinary skilled in the art without departing the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201710146090.9 | Mar 2017 | CN | national |