CN112613260B - Asynchronous clock synchronization constraint method in chip design - Google Patents

Asynchronous clock synchronization constraint method in chip design Download PDF

Info

Publication number
CN112613260B
CN112613260B CN202011502006.0A CN202011502006A CN112613260B CN 112613260 B CN112613260 B CN 112613260B CN 202011502006 A CN202011502006 A CN 202011502006A CN 112613260 B CN112613260 B CN 112613260B
Authority
CN
China
Prior art keywords
clock
design
frequency
chip
asynchronous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011502006.0A
Other languages
Chinese (zh)
Other versions
CN112613260A (en
Inventor
赵庆哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
No47 Institute Of China Electronics Technology Group Corp
Original Assignee
No47 Institute Of China Electronics Technology Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by No47 Institute Of China Electronics Technology Group Corp filed Critical No47 Institute Of China Electronics Technology Group Corp
Priority to CN202011502006.0A priority Critical patent/CN112613260B/en
Publication of CN112613260A publication Critical patent/CN112613260A/en
Application granted granted Critical
Publication of CN112613260B publication Critical patent/CN112613260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking
    • G06F30/3308Design verification, e.g. functional simulation or model checking using simulation
    • G06F30/3312Timing analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/337Design optimisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

The invention relates to a new theoretical method for synchronizing constraint of an asynchronous clock in a chip design process. Aiming at the chip circuit design of MCU and SOC scale, under the condition that a large amount of asynchronous clocks are inevitably existed, when the design is subjected to time sequence constraint, the synchronous concept and thought are adopted, the asynchronous clock constraint in the design is subjected to synchronous normalization processing, and the chip circuit is constrained by the synchronous normalization processing. On the premise of meeting the design requirement, the iteration time from logic synthesis to gate level simulation after layout and wiring of the chip design is reduced to the greatest extent, so that the time cost of the chip design is reduced greatly, and the chip marketing speed is accelerated. Through verification of a certain chip design, compared with a common chip constraint method, the method has obvious advantages and obtains excellent effects.

Description

Asynchronous clock synchronization constraint method in chip design
Technical Field
The invention belongs to the field of chip design realization, and provides a novel theoretical method for synchronizing design constraint aiming at an asynchronous clock in a chip.
Background
The current chip design is developed towards high integration and complex functions, especially the design of MCU and SoC. Multiple functional IP cores are integrated on one microchip, implementing complex functions. This makes the clock structure of the chip extremely complex, not only increases the number of clocks, but also contains many asynchronous clocks, and the existence of these asynchronous clocks makes the timing constraint of the design particularly difficult. In logic design, the use of asynchronous clocks or the synchronization of asynchronous clocks should be avoided as much as possible. However, in the actual design process of the current large-scale chip, the asynchronous clock is unavoidable, and once the constraint of a certain asynchronous clock is misplaced due to omission, the problem of design time sequence can be caused, and the whole design is further caused to fail, which is not only the loss of the cost of streaming, but also the increase of the time cost of the product, and sometimes even disastrous. Therefore, how to deal with the timing constraint problem of these asynchronous clocks is an important discussion of chip design implementation personnel.
Disclosure of Invention
The invention aims to provide a novel chip design time sequence constraint theoretical method, which is used for synchronously constraining an asynchronous clock in chip design, so that the whole chip design completes circuit optimization under the constraint of the synchronous clock. The theory and the method have the greatest characteristics that the clock constraint of the whole chip design is a synchronous clock tree system formed by a plurality of frequency division clocks under a main clock, and the chip design is used for succinctly and efficiently optimizing the time sequence of the circuit under the constraint of the clock tree. Pseudo-path processing for asynchronous clocks in conventional timing constraints is omitted. The method not only reduces the burden of logic designers, but also greatly reduces the error probability of time sequence constraint, thereby greatly avoiding iteration between front-end design and the realization of the back simulation of the gate-level netlist, and greatly reducing the time cost of chip design.
The technical scheme adopted by the invention for achieving the purpose is as follows:
a synchronous constraint method for asynchronous clocks in chip design selects one clock of multiple asynchronous clocks as a master clock, and other clocks as frequency division clocks of the master clock to form a plurality of synchronous clock architectures under the master clock so as to complete synchronous of the asynchronous clocks.
The clock selected as the master clock is the highest frequency clock in the plurality of asynchronous clocks, so that the asynchronous clock synchronization is constrained to the highest clock frequency.
Each clock is set as a corresponding n times frequency division clock of the master clock, and n is an integer, so that the clock forms a synchronous clock architecture from the master clock to the frequency division clock.
When the frequency division coefficient of each frequency division clock is selected, the principle of the maximum frequency division coefficient is adopted, and the maximum frequency division coefficient n=max { n 1,n2,n3...nmax } is selected from the frequency division coefficients which can be selected.
The frequency of the master clock is equal to or higher than the highest frequency in the asynchronous clock and is an integer.
The frequency as the master clock can be divided by 10.
The frequency of each frequency division clock is greater than or equal to the frequency of the clock and is an integer.
The frequency of each divided clock can be divided by the frequency of the master clock.
The invention has the following beneficial effects and advantages:
1. the invention adopts the synchronization idea to restrict the clock of the chip design, and can be used as a general clock restriction method, so that logic designers do not need to specially conduct the time sequence planning of the asynchronous clock, and the design time is shortened.
2. The invention adopts the synchronization idea to restrict the clock of the chip design, so that the clock restriction of the chip design is simple and efficient, and the problems are easy to find and correct.
3. The invention adopts the synchronization idea to restrict the clock of the chip design, and each part of the chip design is under the restriction of the synchronous clock, thus omitting the pseudo path processing mode aiming at the asynchronous clock independently, reducing the error rate of the restriction greatly and realizing the complete coverage of the clock restriction.
4. The invention adopts the synchronization idea to restrict the clock of the chip design, and realizes complete coverage of the clock restriction, so that once passing can be realized in the post-simulation process of the gate netlist after the static time sequence analysis passes, no repeated iteration of the design is caused, and the time cost of the design is greatly saved.
Drawings
FIG. 1 is a schematic diagram of asynchronous clock synchronization constraints;
FIG. 2 is a diagram of a multi-clock selection process.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
The invention provides a timing constraint theoretical method for asynchronous clock synchronization, which performs synchronization processing on an asynchronous clock in design in timing constraint, and achieves a very good effect in practice. The theoretical approach may be used as a general clock constraint approach.
1. When the chip design is subjected to time sequence constraint, the concept of a synchronous circuit is adopted, synchronous clock declaration is taken as a central idea, and an asynchronous clock in the chip design is constrained to be a frequency division clock of a master clock, so that the asynchronous clock is converted into the synchronous clock, a plurality of synchronous clock architectures under the master clock are formed, and further the chip design synchronization time sequence constraint is completed.
2. The designed clock network architecture is determined, and through deep analysis of the designed architecture, especially the clock structure, the designed main clock frequency and the relation of each clock (synchronous/asynchronous) are defined, namely, on a circuit, how each clock is matched with each other to complete the data flow of the circuit, and on the time sequence, whether each clock has a phase difference or not is determined.
3. The clock structure is considered from the synchronous central thought and point of view, and each designed clock is declared to be a corresponding n times (n is an integer) frequency division clock of the master clock by a command of time sequence constraint, so that the clock structure forms a complete synchronous clock tree structure from the master clock to the frequency division clock.
And 4, setting a selection terminal to select the maximum clock frequency for a multi-path selection clock structure existing in the design, so that the design is limited to the maximum clock frequency as much as possible.
5. For the selection of the frequency division coefficient of each frequency division clock, the principle of maximum frequency division coefficient should be adopted, that is, the maximum frequency division coefficient n=max { n1, n2, n3...n (max) }, for example, the main clock frequency is 40MHz, the destination clock of the synchronization process is 9MHz, and then the frequency division coefficient is n= {1,2,4,8,10} =10, that is, the clock is constrained by using a clock of 10 MHz.
The theoretical method of synchronization constraint of asynchronous clocks in the chip design process has the central ideas and principles as shown in fig. 1:
Assume that there are four asynchronous clocks in the figure in one chip design, with frequencies of 76MHz, 35MHz, 18MHz, 9MHz, respectively. According to the theoretical method of asynchronous clock synchronization processing, the master clock of the chip design is first determined, and generally, the clock with the highest frequency, here 72MHz, is selected. For a 35MHz clock, the constraint should be 40MHz, namely (80/2) MHz, for an 18MHz clock, the constraint should be 20MHz, namely (80/4) MHz, and for a 9MHz clock, the constraint should be 10MHz, namely (80/8) MHz, so that the clock system constrained by the whole chip design is a complete synchronous clock architecture system taking 80MHz clock as a main clock and 40MHz, 20MHz and 10MHz clocks as frequency division clocks.
For the problem of multiple clock selections, the processing method is as shown in fig. 2: in the figure, four asynchronous clocks of 76MHz, 35MHz, 18MHz and 9MHz are selected as one path according to the requirement in the chip design, the clock with the highest frequency is selected as the master clock of clock constraint according to the rule of the invention, the 76MHz clock is selected, after being selected, the clock is constrained to 80MHz clock through synchronization constraint processing, the clock is used as the master clock frequency of the whole design constraint, and other clocks are subjected to frequency division constraint by taking the clock as a reference.
It should be noted that, whether the master clock or the divided clock after clock constraint is provided, the frequency should be as small as possible on the premise of meeting the rule of the present invention, for example, 76MHz may be constrained by 80MHz and 90MHz, but may be constrained by 80 MHz. Thus, unnecessary area waste caused by the increase of frequency can be reduced as much as possible, and the optimal result of time sequence/area is achieved.

Claims (5)

1. A method for restraining asynchronous clock synchronization in chip design is characterized in that one clock of a plurality of asynchronous clocks is selected as a master clock, other clocks are used as frequency division clocks of the master clock, a plurality of synchronous clock structures under the master clock are formed, and asynchronous clock synchronization is completed;
Setting each clock as a corresponding n times frequency division clock of the master clock, wherein n is an integer, so that the clock forms a synchronous clock architecture from the master clock to the frequency division clock;
When the frequency division coefficient of each frequency division clock is selected, the principle of the maximum frequency division coefficient is adopted, and the maximum frequency division coefficient n=max { n 1,n2,n3...nmax } is selected from the frequency division coefficients which can be selected;
The frequency as the master clock can be divided by 10.
2. The method of claim 1, wherein the selected clock as the master clock is a highest frequency clock among the plurality of asynchronous clocks, such that the asynchronous clock is synchronously constrained to the highest clock frequency.
3. The method of claim 1, wherein the frequency of the master clock is equal to or higher than the highest frequency of the asynchronous clocks and is an integer.
4. The method of claim 1, wherein the frequency of each divided clock is greater than or equal to the frequency of the clock and is an integer.
5. The method of claim 1, wherein the frequency of each divided clock is divisible by the frequency of the master clock.
CN202011502006.0A 2020-12-18 2020-12-18 Asynchronous clock synchronization constraint method in chip design Active CN112613260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011502006.0A CN112613260B (en) 2020-12-18 2020-12-18 Asynchronous clock synchronization constraint method in chip design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011502006.0A CN112613260B (en) 2020-12-18 2020-12-18 Asynchronous clock synchronization constraint method in chip design

Publications (2)

Publication Number Publication Date
CN112613260A CN112613260A (en) 2021-04-06
CN112613260B true CN112613260B (en) 2024-04-23

Family

ID=75240506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011502006.0A Active CN112613260B (en) 2020-12-18 2020-12-18 Asynchronous clock synchronization constraint method in chip design

Country Status (1)

Country Link
CN (1) CN112613260B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04205011A (en) * 1990-11-29 1992-07-27 Fujitsu Ltd Method for synchronizing interchip clock chip
CN1737807A (en) * 2005-09-01 2006-02-22 上海交通大学 Clock frequency divider capable of controlling spike and clock skew by front/back end cooperation
CN1860484A (en) * 2003-10-31 2006-11-08 国际商业机器公司 Method and apparatus for dynamic system level frequency scaling
CN102195638A (en) * 2011-03-28 2011-09-21 东南大学 Low-delay digital clock frequency division method
CN106970679A (en) * 2017-03-30 2017-07-21 中国电子科技集团公司第二十四研究所 A kind of multi-chip synchronization structure based on time-digital converter circuit
CN111262578A (en) * 2020-04-26 2020-06-09 杭州城芯科技有限公司 Multi-chip synchronization circuit, system and method for high-speed AD/DA (analog-to-digital/digital) chip

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04205011A (en) * 1990-11-29 1992-07-27 Fujitsu Ltd Method for synchronizing interchip clock chip
CN1860484A (en) * 2003-10-31 2006-11-08 国际商业机器公司 Method and apparatus for dynamic system level frequency scaling
CN1737807A (en) * 2005-09-01 2006-02-22 上海交通大学 Clock frequency divider capable of controlling spike and clock skew by front/back end cooperation
CN102195638A (en) * 2011-03-28 2011-09-21 东南大学 Low-delay digital clock frequency division method
CN106970679A (en) * 2017-03-30 2017-07-21 中国电子科技集团公司第二十四研究所 A kind of multi-chip synchronization structure based on time-digital converter circuit
CN111262578A (en) * 2020-04-26 2020-06-09 杭州城芯科技有限公司 Multi-chip synchronization circuit, system and method for high-speed AD/DA (analog-to-digital/digital) chip

Also Published As

Publication number Publication date
CN112613260A (en) 2021-04-06

Similar Documents

Publication Publication Date Title
US7546567B2 (en) Method and apparatus for generating a variation-tolerant clock-tree for an integrated circuit chip
US20060053395A1 (en) Clock tree synthesis for low power consumption and low clock skew
US20010010092A1 (en) Semiconductor integrated circuit with a reduced skew and layout method in design for semiconductor integrated circuit
CN114330191B (en) Method and device for signal multiplexing transmission
CN113792520B (en) Layout wiring method, device, synchronous circuit and integrated circuit chip
Su et al. Clock skew minimization in multi-voltage mode designs using adjustable delay buffers
Lin et al. Hardware design of low-power high-throughput sorting unit
CN112331243B (en) Logic decoupling method of registers under same clock domain
CN101216721A (en) Digital television modulator chip synchronization frequency division clock production devices and method
CN101055606A (en) Multiple clock system integrative circuit plane layout method
TWI391809B (en) Clock tree distributing method
US20100253409A1 (en) Clock generation system and clock dividing module
CN112613260B (en) Asynchronous clock synchronization constraint method in chip design
US20030088835A1 (en) Method for reducing EMI and IR-drop in digital synchronous circuits
US20050132313A1 (en) Optimization of the design of a synchronous digital circuit
US8593177B2 (en) Integrated circuit with timing aware clock-tree and method for designing such an integrated circuit
Badaroglu et al. Clock-skew-optimization methodology for substrate-noise reduction with supply-current folding
CN112580278B (en) Optimization method and optimization device for logic circuit and storage medium
Semba et al. Conversion from synchronous RTL models to asynchronous RTL models
JP2003058270A (en) Semiconductor integrated circuit and design method therefor
Saurab et al. Design and Optimization of Timing Errors on Swapping of Threshold Voltage
Vishweshwara et al. Placement aware clock gate cloning and redistribution methodology
Pentapati et al. Tier partitioning and flip-flop relocation methods for clock trees in monolithic 3D ICs
CN101860359A (en) Clock generation system and clock frequency division module
EP1308862A1 (en) Optimization of the design of a synchronous digital circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant