Gated clock conversion method, device and system for realizing double-edge clock selection circuit based on frequency multiplication clock

By implementing a dual-edge clock selection circuit using a frequency multiplier in the FPGA design, and using the frequency multiplier clock sampling and division circuit to drive the combinational logic output, the problems of clock skew and timing convergence difficulties are solved, achieving higher frequencies and easier hold timing convergence.

CN122072808APending Publication Date: 2026-05-22JINDIE SPACETIME (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610047509.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-14
Publication Date
2026-05-22

AI Technical Summary

Technical Problem

In FPGA design, the traditional method of inserting logic gates into the clock path leads to increased clock skew, difficulty in meeting setup and hold times, a decrease in the system's maximum operating frequency, and difficulty in timing convergence. In particular, when the register clock source requires rising or falling edge selection, it cannot be directly converted to the register's clock enable pin, resulting in an unclean clock tree.

Method used

A dual-edge clock selection circuit is implemented using a frequency multiplier clock. The combinational logic output is driven by the frequency multiplier clock sampling and division circuit. Rising and falling edge selection is implemented on the clock enable pin of the register. A lookup table logic circuit is constructed to generate a clock enable signal and replace the original clock input path.

Benefits of technology

It achieves higher frequencies and easier hold timing convergence on FPGAs, and solves the problem in existing technologies where placing the gate signal on the clock tree of the FF affects the frequency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122072808A_ABST
    Figure CN122072808A_ABST
Patent Text Reader

Abstract

The invention discloses a gated clock conversion method, device and system for realizing a double-edge clock selection circuit based on a frequency multiplication clock. The method comprises the following steps: acquiring design information of a to-be-converted circuit; generating a frequency multiplication clock signal based on the clock input signal; constructing a combinational logic circuit; constructing a clock enabling generation logic based on the frequency multiplication clock signal, the post comb, the pre comb, the gating signal and the edge selection signal; a clock input terminal of the timing device is connected to the frequency multiplication clock signal, and an output of the clock enable generation logic is connected to a clock enable terminal of the timing device. According to the invention, the output of the combinational logic driven by the frequency multiplication clock sampling frequency dividing circuit is utilized, so that the function of selecting the rising edge and the falling edge is realized on the clock enabling pin of the register, the clock tree on the register is very clean, the higher frequency on an FPGA (Field Programmable Gate Array) is realized, and the hold timing is easier to converge.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a gated clock conversion method, apparatus, and system based on a frequency multiplication clock to implement a dual-edge clock selection circuit. Background Technology

[0002] As chips become larger, more complex, and operate at higher frequencies, their dynamic power consumption increases. In FPGA design, to reduce power consumption, gated clocks are often used to disable clock tree flips. By using gated clocks, the state of an entire register group following the gated clock can be prevented from flipping when not necessary. The traditional method is to directly insert logic gates (such as AND gates) into the clock path.

[0003] FPGA clock networks are dedicated, high-speed, and low-skew. Adding ordinary combinational logic to the clock path can lead to problems such as increased clock skew, difficulty in meeting setup and hold times, a decrease in the system's maximum operating frequency, and difficulty in timing convergence. In particular, when the clock source of a certain register sometimes needs to come from the rising edge of the clock and sometimes from the falling edge, the selection logic cannot be switched to the clock enable terminal of the register, resulting in combinational logic on the clock tree.

[0004] like Figure 1 and Figure 2 As shown, when the "gate" signal is set low, all registers are turned off and no dynamic power consumption is consumed. However, in FPGA implementations, this coding style is not always effectively adapted to FPGAs because FPGAs have dedicated clock resources and cannot perform clock tree synthesis as freely as in ASIC designs. If combinational logic is included in the clock tree in an FPGA, it can cause clock skew, making it difficult for setup or hold timing to converge. Therefore, the gate signal needs to be converted to an open circuit (FF) with a cutoff signal (CE) to allow the clock to pass through all FFs, resulting in a clean clock tree.

[0005] However, for circuits with rising and falling edge selection in the FF clock source, it is not possible to directly convert the selection signal and the gate signal to the CE terminal of the FF, such as... Figure 3 The driving clock for ff_out can come from either the rising edge or the falling edge of clk1_bufgx1. Since the mux selection circuit cannot be directly placed at the CE terminal of ff, the clock tree of ff_out will inevitably be unclean, resulting in setup or hold timing violations. Summary of the Invention

[0006] The purpose of this invention is to provide a technical solution for a gated clock conversion method, device, and system based on a frequency multiplier clock to achieve a dual-edge clock selection circuit, addressing the shortcomings of existing technologies. By utilizing the frequency multiplier clock to sample the output of the combinational logic driven by the frequency divider circuit, the rising and falling edge selection functions are achieved on the clock enable pin of the register, making the clock tree on the register very clean. This enables higher frequencies on the FPGA and makes holding timing easier to converge, overcoming the problem in existing technologies where the gate signal is placed on the clock tree of the FF, thus affecting the frequency implemented on the FPGA.

[0007] To solve the above-mentioned technical problems, the present invention adopts the following technical solution:

[0008] A gated clock conversion method for a dual-edge clock selection circuit based on a frequency multiplier clock is characterized by the following steps:

[0009] S1. Obtain the design information of the circuit to be converted. The circuit to be converted includes at least one sequential device. The clock input signal of the sequential device is generated by edge selection and gating. Edge selection is used to select the rising edge or falling edge of the clock input signal.

[0010] S2. Generate a frequency-multiplied clock signal based on the clock input signal;

[0011] S3. Construct a combinational logic circuit. Driven by a frequency multiplier clock signal, the combinational logic circuit generates post_comb and ff_highclk_sample_comb generates pre_comb. The state changes of post_comb and pre_comb correspond to the rising and falling edges of the clock input signal.

[0012] S4. Based on the frequency multiplication clock signal, post_comb, pre_comb, gating signal and edge selection signal, construct clock enable generation logic;

[0013] S5. Connect the clock input terminal of the timing device to the frequency multiplier clock signal, and connect the output of the clock enable generation logic to the clock enable terminal of the timing device to replace the original clock input path generated by the clock input signal through edge selection and gating processing.

[0014] This gated clock conversion method has simple steps. By using the frequency multiplier clock to sample the output of the combinational logic driven by the frequency divider circuit, the rising edge and falling edge selection functions are realized on the clock enable pin of the register. This makes the clock tree on the register very clean, thereby achieving higher frequencies on the FPGA. Furthermore, the hold timing is easier to converge, overcoming the problem in the prior art of putting the gate signal on the clock tree of the FF, which affects the frequency implemented on the FPGA.

[0015] Furthermore, the frequency of the frequency multiplied clock signal in step S2 is N times the frequency of the clock input signal, where N is an integer greater than or equal to 2.

[0016] Furthermore, in step S3, the combinational logic circuit, driven by the frequency multiplication clock signal, generates post_comb from the combinational logic and pre_comb from ff_highclk_sample_comb, specifically including:

[0017] The trigger ff_highclk_sample_comb generates pre_comb under the drive of the frequency multiplier clock signal;

[0018] If a double clock frequency is used, the combinational logic circuit is an inverter.

[0019] Furthermore, the clock enable generation logic in step S4 specifically includes:

[0020] S4.1 Construct the first lookup table logic circuit LUT3_1. The inputs of the first lookup table logic circuit include the gate signal, post_comb and pre_comb. The output of the first lookup table logic circuit is used to implement the enable control signal equivalent to the gate signal.

[0021] S4.2 Construct the second lookup table logic circuit LUT4_1. The inputs of the second lookup table logic circuit include the edge selection signal, post_comb, pre_comb and the registered gating signal ff_en_q. The output of the second lookup table logic circuit is used to implement the final clock enable signal that combines edge selection and gating.

[0022] Furthermore, the logic function implemented by the first lookup table logic circuit in step S4.1 is as follows:

[0023] O = I0 & I1 & !I2;

[0024] Where I0 is post_comb, I1 is the registered gating signal ff_en_q, and I2 is pre_comb.

[0025] Furthermore, the logic function implemented by the second lookup table logic circuit in step S4.2 is as follows:

[0026] O=I3&(I0&I1&!I2+!I0&!I1&I2);

[0027] Where I0 is post_comb, I1 is the edge selection signal, I2 is pre_comb, and I3 is the gate signal ff_en_q after being registered by the frequency multiplier clock.

[0028] Furthermore, it also includes providing clock enable signals for other timing devices controlled by gating signals in the circuit to be converted, connecting the clock input terminals of other timing devices to the frequency multiplier clock signal, and connecting the enable control signal output by the first lookup table logic circuit to the clock enable terminals of other timing devices.

[0029] Furthermore, the generation of the frequency multiplication clock signal in step S2 is achieved through a phase-locked loop or a hybrid mode clock manager.

[0030] An apparatus for implementing the gated clock conversion method based on a frequency-multiplied clock to achieve a dual-edge clock selection circuit as described above, the apparatus being connected to a circuit to be converted, the circuit including at least one timing device, the clock input signal of the timing device being generated through edge selection and gating processing, the edge selection being used to select the rising or falling edge of the clock input signal, characterized in that: the apparatus includes

[0031] The frequency multiplier clock generation module is used to generate a frequency multiplier clock signal based on the clock input signal;

[0032] The edge sampling module is used to construct combinational logic circuits. Driven by a frequency multiplier clock signal, the combinational logic circuit generates post_comb and ff_highclk_sample_comb generates pre_comb. The state changes of post_comb and pre_comb correspond to the rising and falling edges of the clock input signal.

[0033] The enable logic generation module is used to construct clock enable generation logic based on the frequency multiplication clock signal, post_comb, pre_comb, gating signal and edge selection signal;

[0034] The synchronous clock enable module is used to connect the clock input terminal of the timing device to the frequency multiplier clock signal and connect the output of the clock enable generation logic to the clock enable terminal of the timing device, so as to replace the original clock input path generated by the clock input signal through edge selection and gating processing.

[0035] An electronic design automation system is characterized by comprising a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the gated clock conversion method for a dual-edge clock selection circuit based on a frequency multiplier clock, as described above.

[0036] The present invention, by adopting the above-described technical solution, has the following beneficial effects:

[0037] The gated clock conversion method of the present invention has simple steps. By using the frequency multiplier clock to sample the output of the combinational logic driven by the frequency divider circuit, the rising edge and falling edge selection function is realized on the clock enable pin of the register, making the clock tree on the register very clean, thereby achieving higher frequencies on the FPGA and making hold timing easier to converge. This overcomes the problem in the prior art of putting the gate signal on the clock tree of the FF, which affects the frequency of the FPGA implementation. Attached Figure Description

[0038] The present invention will be further described below with reference to the accompanying drawings:

[0039] Figure 1 This is a flowchart of a gated clock conversion method, device, and system based on a frequency multiplication clock to realize a dual-edge clock selection circuit according to the present invention.

[0040] Figure 2 This is a schematic diagram of a circuit in the prior art where all registers are turned off and no dynamic power consumption is consumed when the "gate" signal is set to low.

[0041] Figure 3 This is a schematic diagram of a circuit in the prior art that converts the gate signal to an FF with a CE.

[0042] Figure 4 A schematic diagram of a circuit in the prior art for a clock source of an FF with rising and falling edge selection;

[0043] Figure 5 This is a schematic diagram of the gated clock conversion of the dual-edge clock selection circuit implemented by using a frequency multiplier clock in this invention. Detailed Implementation

[0044] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0045] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0046] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.

[0047] The Chinese translations of the English terms in this invention are as follows:

[0048] English Chinese FF / ff flip chip register clock tree Clock Tree FPGA Field Programmable Gate Array ASIC Application Specific Integrated Circuit gate Gating timing Time series clock tree synthesis Clock Tree Synthesis clock clock CE Clock Enable setup Establish hold Keep violation violation mux choose PLL Phase-Locked Loop MMCM Mixed-Mode Clock Manager LUT Look Up Table clock skew Clock tilted clk Source clock clk_mux Multi-channel clock clk1_bufgx1 Frequency multiplication clock (1x frequency) clk1_bufgx2 Frequency multiplier clock (2 times the frequency) ff_en_q Register output (Q terminal) sel Edge selection signal ff_highclk_sample_comb FF of high-frequency clock sampling combinational logic signals CE pin Clock enable pin

[0049] like Figure 5 As shown, the chip of this invention may have multiple rising edge clock and falling edge clock gating and selection. In this embodiment, the most simplified case of one mux followed by one gating is used as an example for explanation:

[0050] A clock multiplier circuit multiplies the source clock to a frequency of 2 times or more.

[0051] A combinational logic circuit is used to obtain the corresponding equivalent source clock rising edge and falling edge clock by sampling the combinational logic output through a frequency multiplier clock.

[0052] Multiple LUT circuits are used to sample the output of the LUT by a frequency multiplier clock to obtain the corresponding clock mux and gating effect.

[0053] like Figure 1 As shown, this invention provides a gated clock conversion method for a dual-edge clock selection circuit based on a frequency-multiplied clock, comprising the following steps:

[0054] S1. Obtain the design information of the circuit to be converted. The circuit to be converted includes at least one sequential device. The clock input signal of the sequential device is generated by edge selection and gating. Edge selection is used to select the rising edge or falling edge of the clock input signal.

[0055] S2. Generate a frequency-multiplied clock signal based on the clock input signal;

[0056] The frequency of the frequency multiplier clock signal is N times the frequency of the clock input signal, where N is an integer greater than or equal to 2.

[0057] The generation of frequency-multiplied clock signals is achieved through a phase-locked loop or a hybrid-mode clock manager.

[0058] like Figure 5 As shown, the frequency multiplier circuit PLL (phase-locked loop) is generally implemented in FPGA using MMCM, and is typically a frequency multiplier of 2 or higher.

[0059] S3. Construct a combinational logic circuit. Driven by a frequency multiplier clock signal, the combinational logic circuit generates post_comb and ff_highclk_sample_comb generates pre_comb. The state changes of post_comb and pre_comb correspond to the rising and falling edges of the clock input signal.

[0060] Driven by a frequency-multiplied clock signal, the combinational logic circuit generates a post_comb from the combinational logic and a pre_comb from ff_highclk_sample_comb, specifically including:

[0061] The trigger ff_highclk_sample_comb generates pre_comb under the drive of the frequency multiplication clock signal. If it is a 2x multiplication, ff_highclk_sample_comb here consists of 1 FF; if it is a 4x multiplication, ff_highclk_sample_comb here consists of 2 FFs; if it is an 8x multiplication, ff_highclk_sample_comb here consists of 3 FFs; and so on.

[0062] If a double clock frequency is used, the combinational logic circuit is an inverter.

[0063] S4. Based on the frequency multiplication clock signal, post_comb, pre_comb, gating signal and edge selection signal, construct clock enable generation logic;

[0064] The specific steps for constructing the clock enable generation logic include:

[0065] S4.1 Construct the first lookup table logic circuit LUT3_1. The inputs of the first lookup table logic circuit include the gate signal, post_comb and pre_comb. The output of the first lookup table logic circuit is used to implement the enable control signal equivalent to the gate signal.

[0066] The LUT2_1 circuit is a 2-input, 1-output combinational logic circuit implemented using a LUT, used to implement... Figure 4 The driving clock for ff_en is obtained by sampling the output of LUT2_1 through the edge of the frequency-multiplied clock to obtain the registered gated signal ff_en_q, which is equivalent to... Figure 4The function of LUT2_1 is: O = !I0 & I1 if the multiplication factor is 2.

[0067] Where I0 is pre_comb and I1 is post_comb.

[0068] The LUT3_1 circuit is a 3-input 1-output combinational logic circuit implemented using a LUT, used to implement... Figure 4 The clock clk_posten_bufg in the LUT3_1 is designed to achieve an equivalent gating effect by sampling the output of the LUT3_1 through the edge of the frequency-multiplied clock. For simple gating, the LUT3_1 implements the function shown in the first lookup table logic circuit. The logic function implemented by the first lookup table logic circuit is as follows:

[0069] O = I0 & I1 & !I2;

[0070] Where I0 is post_comb, I1 is the registered gating signal ff_en_q, and I2 is pre_comb.

[0071] S4.2 Construct the second lookup table logic circuit LUT4_1. The inputs of the second lookup table logic circuit include the edge selection signal, post_comb, pre_comb and the registered gating signal ff_en_q. The output of the second lookup table logic circuit is used to implement the final clock enable signal that combines edge selection and gating.

[0072] The LUT4_1 circuit is a 4-input, 1-output combinational logic circuit implemented using LUTs, used to implement, for example... Figure 4 The clock clkmux mechanism works by sampling the output of LUT4_1 at the edge of a frequency-multiplied clock to achieve an equivalent effect of gated clock selection. If it's simply a case of inverting clk1_bufgx1 and passing the output through an AND gate, then LUT4_1 implements the function shown in the second lookup table logic circuit. The logic function implemented by the second lookup table logic circuit is:

[0073] O=I3&(I0&I1&!I2+!I0&!I1&I2);

[0074] Where I0 is post_comb, I1 is the edge selection signal sel, I2 is pre_comb, and I3 is the output gating signal ff_en_q via the ff_en register.

[0075] S5. Connect the clock input terminal of the timing device to the frequency multiplier clock signal, and connect the output of the clock enable generation logic to the clock enable terminal of the timing device to replace the original clock input path generated by the clock input signal through edge selection and gating processing.

[0076] Figure 5 Compared to Figure 4 The input port (data / clk1_bufgx1 / gate / sel) and the output port (Q) remain unchanged.

[0077] The timing devices (using ff1 / ff2 / ff3 / ff_en / ff_out as examples, but not limited to these FFs) are directly mapped, but this will add a CE pin.

[0078] The clocks in FF1 / FF2 / FF3 start from Figure 4 The clk1_bufgx1 in the middle is converted into clk1_posten_bufg after gating. Figure 5 The PLL outputs clock clk1_bufgx2, and ff1 / ff2 / ff3 will add a CE pin, which comes from LUT3_1. Its input comes from lutn_comb, ff_highclk_sample_comb and ff_en.

[0079] The clock of ff_en from Figure 4 clk1_bufgx1 converted to Figure 5 The PLL outputs clock clk1_bufgx2, and ff_en adds a CE pin from LUT2_1, whose input comes from lutn_comb and ff_highclk_sample_comb.

[0080] The clock of ff_out starts from Figure 4 clk_mux converted to Figure 5 The PLL outputs clock clk1_bufgx2, and ff_out adds a CE pin from LUT4_1, whose inputs come from lutn_comb, ff_en, ff_highclk_sample_comb, and input sel.

[0081] It also includes providing clock enable signals for other timing devices controlled by gating signals in the circuit to be converted, connecting the clock input terminals of other timing devices to the frequency multiplier clock signal, and connecting the enable control signal output by the first lookup table logic circuit to the clock enable terminals of other timing devices.

[0082] This gated clock conversion method has simple steps. By using the frequency multiplier clock to sample the output of the combinational logic driven by the frequency divider circuit, the rising edge and falling edge selection functions are realized on the clock enable pin of the register. This makes the clock tree on the register very clean, thereby achieving higher frequencies on the FPGA. Furthermore, the hold timing is easier to converge, overcoming the problem in the prior art of putting the gate signal on the clock tree of the FF, which affects the frequency implemented on the FPGA.

[0083] An apparatus for implementing the gated clock conversion method based on a frequency-multiplied clock to achieve a dual-edge clock selection circuit as described above, the apparatus being connected to a circuit to be converted, the circuit including at least one timing device, the clock input signal of the timing device being generated through edge selection and gating processing, the edge selection being used to select the rising edge or falling edge of the clock input signal, the apparatus comprising:

[0084] The frequency multiplier clock generation module is used to generate a frequency multiplier clock signal based on the clock input signal;

[0085] The edge sampling module is used to construct combinational logic circuits. Driven by a frequency multiplier clock signal, the combinational logic circuit generates post_comb and ff_highclk_sample_comb generates pre_comb. The state changes of post_comb and pre_comb correspond to the rising and falling edges of the clock input signal.

[0086] The enable logic generation module is used to construct clock enable generation logic based on the frequency multiplication clock signal, post_comb, pre_comb, gating signal and edge selection signal;

[0087] The synchronous clock enable module is used to connect the clock input terminal of the timing device to the frequency multiplier clock signal and connect the output of the clock enable generation logic to the clock enable terminal of the timing device, so as to replace the original clock input path generated by the clock input signal through edge selection and gating processing.

[0088] An electronic design automation system includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the gated clock conversion method for a dual-edge clock selection circuit based on a frequency multiplier clock, as described above.

[0089] The above are merely specific embodiments of the present invention, but the technical features of the present invention are not limited thereto. Any simple changes, equivalent substitutions, or modifications made based on the present invention to achieve substantially the same technical effect are all covered within the protection scope of the present invention.

Claims

1. A gated clock conversion method for a dual-edge clock selection circuit based on a frequency-multiplied clock, characterized in that... Includes the following steps: S1. Obtain the design information of the circuit to be converted. The circuit to be converted includes at least one timing device. The clock input signal of the timing device is generated by edge selection and gating. The edge selection is used to select the rising edge or falling edge of the clock input signal. S2. Generate a frequency-doubled clock signal based on the clock input signal; S3. Construct a combinational logic circuit. Under the drive of the frequency multiplier clock signal, the combinational logic circuit generates post_comb from combinational logic and pre_comb from ff_highclk_sample_comb. The state changes of post_comb and pre_comb correspond to the rising edge and falling edge of the clock input signal. S4. Based on the frequency multiplication clock signal, the post_comb, the pre_comb, the gating signal, and the edge selection signal, construct clock enable generation logic; S5. Connect the clock input terminal of the timing device to the frequency multiplier clock signal, and connect the output of the clock enable generation logic to the clock enable terminal of the timing device to replace the original clock input path generated by the clock input signal through edge selection and gating processing.

2. The gated clock conversion method for a dual-edge clock selection circuit based on a frequency multiplication clock as described in claim 1, characterized in that: The frequency of the frequency-multiplied clock signal in step S2 is N times the frequency of the clock input signal, where N is an integer greater than or equal to 2.

3. The gated clock conversion method for a dual-edge clock selection circuit based on a frequency multiplication clock as described in claim 1, characterized in that: The combinational logic circuit in step S3, driven by the frequency multiplication clock signal, generates post_comb from the combinational logic and pre_comb from ff_highclk_sample_comb, specifically including: The trigger ff_highclk_sample_comb generates pre_comb under the drive of the frequency multiplier clock signal; If a double clock frequency is used, the combinational logic circuit is an inverter.

4. The gated clock conversion method for a dual-edge clock selection circuit based on a frequency multiplication clock as described in claim 1, characterized in that: The clock enable generation logic in step S4 specifically includes: S4.1 Construct a first lookup table logic circuit. The inputs of the first lookup table logic circuit include the gate signal, the post_comb, and the pre_comb. The output of the first lookup table logic circuit is used to implement an enable control signal equivalent to the gate signal. S4.2 Construct a second lookup table logic circuit. The inputs of the second lookup table logic circuit include the edge selection signal, the post_comb, the pre_comb, and the registered gating signal ff_en_q. The output of the second lookup table logic circuit is used to implement the final clock enable signal that combines edge selection and gating.

5. A gated clock conversion method for a dual-edge clock selection circuit based on a frequency multiplication clock, as described in claim 4, characterized in that: The logic function implemented by the first lookup table logic circuit in step S4.1 is: O = I0 & I1 & !I2; Where I0 is post_comb, I1 is the registered gating signal ff_en_q, and I2 is pre_comb.

6. A gated clock conversion method for a dual-edge clock selection circuit based on a frequency multiplication clock, as described in claim 4, characterized in that: The logic function implemented by the second lookup table logic circuit in step S4.2 is as follows: O=I3&(I0&I1&!I2+!I0&!I1&I2); Where I0 is post_comb, I1 is the edge selection signal, I2 is pre_comb, and I3 is the gate signal ff_en_q after being registered by the frequency multiplier clock.

7. A gated clock conversion method for a dual-edge clock selection circuit based on a frequency multiplication clock as described in claim 1, characterized in that: It also includes providing clock enable signals for other timing devices in the circuit to be converted that are controlled by the gate signal, connecting the clock input terminals of the other timing devices to the frequency multiplication clock signal, and connecting the enable control signal output by the first lookup table logic circuit to the clock enable terminals of the other timing devices.

8. The gated clock conversion method for a dual-edge clock selection circuit based on a frequency multiplication clock as described in claim 1, characterized in that: The generation of the frequency multiplication clock signal in step S2 is achieved through a phase-locked loop or a hybrid mode clock manager.

9. An apparatus for implementing a gated clock conversion method based on a frequency-multiplied clock to achieve a dual-edge clock selection circuit as described in any one of claims 1 to 8, the apparatus being connected to a circuit to be converted, the circuit to be converted including at least one timing device, the clock input signal of the timing device being generated through edge selection and gating processing, the edge selection being used to select the rising edge or falling edge of the clock input signal, characterized in that: The device includes: A frequency multiplier clock generation module is used to generate a frequency multiplier clock signal based on the clock input signal; An edge sampling module is used to construct a combinational logic circuit. Driven by the frequency multiplier clock signal, the combinational logic circuit generates a post_comb and a pre_comb from the combinational logic and ff_highclk_sample_comb, respectively. The state changes of the post_comb and the pre_comb correspond to the rising edge and falling edge of the clock input signal. The enable logic generation module is used to construct clock enable generation logic based on the frequency multiplication clock signal, the post_comb, the pre_comb, the gate signal, and the edge selection signal; A synchronous clock enable module is used to connect the clock input terminal of the timing device to the frequency multiplier clock signal, and to connect the output of the clock enable generation logic to the clock enable terminal of the timing device, so as to replace the original clock input path generated by the clock input signal through edge selection and gating processing.

10. An electronic design automation system, characterized in that: The system includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the gated clock conversion method for implementing a dual-edge clock selection circuit based on a frequency multiplication clock as described in any one of claims 1 to 8.