A design method for FPGA multi-region dynamic parameter timing drive

By dividing the FPGA chip into multiple regions, measuring and establishing a timing model, the timing model inaccuracy problem caused by clock tree voltage drop is solved, more accurate timing calculation and low-power design are achieved, and chip operation speed and reduction are improved. power consumption.

CN111832241BActive Publication Date: 2024-11-12HERCULES MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010631700.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-03
Publication Date
2024-11-12
Estimated Expiration
2040-07-03

AI Technical Summary

Technical Problem

In the existing FPGA chip design, the voltage drop caused by the tree-like network of the clock tree, resulting in voltage differences in different regions of the chip. The timing model does not match the actual operating state accurately, and it is impossible to effectively match the timing model of the chip.

Method used

By dividing the field programmable logic gate array chip into multiple local areas, the timing performance of each area is measured, the timing parameters are extracted, the timing model is established that is more in line with the actual operating state, and the timing engine is used for layout and wiring design.

Benefits of technology

More precise timing calculations are achieved, significantly improving the running speed of low-power chips and the running speed of user modules, reducing power consumption, and saving chip power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111832241B_ABST
    Figure CN111832241B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method for designing the timing of a field programmable gate array chip, the method comprising: dividing the circuit diagram of the field programmable gate array chip into a plurality of local areas; measuring the timing performance of each local area and extracting the timing parameters; establishing a timing model of the field programmable gate array chip at least according to the range of each local area and its timing parameters; and performing the layout and wiring of the field programmable gate array chip using a timing engine based on the chip timing model. The field programmable gate array chip timing model established by the method is more accurate, thereby reducing the error between the design timing of the chip and the timing of the actual operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Field Programmable Gate Array (FPGA) chip design, and in particular to a FPGA multi-region dynamic parameter timing drive design method. Background Art

[0002] FPGA, Field Programmable Gate Array, is a logic device composed of many logic units. After manufacturing, FPGA can be reprogrammed according to the required application or functional requirements. In the current FPGA chip design, the FPGA chip is powered by the clock tree, which is a tree-like network with voltage drop problems. Therefore, there are slight differences in voltage in different areas of the chip, which causes the timing model of the chip to not accurately match the actual operating status.

[0003] Therefore, a new FPGA chip timing drive design method is needed. Summary of the invention

[0004] An embodiment of the present invention provides a multi-region dynamic parameter timing drive design method for a field programmable gate array. The method divides a field programmable gate array chip into regions, and establishes a timing model based on the measured timing performance of different regions, so that the timing model is more consistent with the actual timing state of the chip during actual operation, thereby making the timing of the PFGA chip designed based on the timing model more accurate.

[0005] The technical solution adopted by the present invention to solve the above technical problems is a field programmable gate array chip timing design method, the method comprising:

[0006] Obtaining a circuit diagram of a field programmable gate array chip;

[0007] Divide the circuit diagram of the field programmable gate array chip into a number of local areas;

[0008] The timing performance of each local area is measured, and the timing parameters of each local area are extracted.

[0009] A field programmable gate array chip timing model is established at least according to the division range of each local area and its timing parameters.

[0010] Based on the field programmable gate array chip timing model, a timing driving engine is used to perform layout and routing of the field programmable gate array chip.

[0011] Preferably, the field programmable gate array chip circuit diagram includes a field programmable gate array chip design diagram or schematic diagram described in a hardware design language, and the hardware design language includes at least Verilog language and VHDL language.

[0012] Preferably, the timing parameter includes a delay time of a path in the local area.

[0013] Preferably, the measuring the timing performance in each of the local areas and extracting the timing parameters includes, based on a prototype of a field programmable gate array chip, measuring the timing performance in each of the local areas and extracting the timing parameters.

[0014] Preferably, the measuring the timing performance in each of the local areas and extracting the timing parameters includes estimating the timing performance in each of the local areas based on simulation calculations and extracting the timing parameters.

[0015] Preferably, based on the chip timing model, a timing engine is used to perform layout and routing of a field programmable gate array chip, including determining a layout area of ​​a user module of the field programmable gate array chip according to timing parameters of each local area of ​​the field programmable gate array and the operating speed requirements of the user module.

[0016] Preferably, based on the chip timing model, a timing engine is used to perform layout and routing of a field programmable gate array chip, including determining a layout area of ​​a user module of the field programmable gate array chip according to timing parameters of each local area of ​​the field programmable gate array and power consumption requirements of the user module.

[0017] Preferably, the field programmable gate array chip timing design method is based on an electronic design automation tool.

[0018] Preferably, the electronic design automation tool comprises a Fuxi electronic design automation tool.

[0019] A method for designing multi-region dynamic parameter timing drive of a field programmable logic gate array provided by an embodiment of the present invention has the following advantages:

[0020] 1) The timing model is superior to the existing model, the timing calculation is more accurate, and it is more consistent with the actual situation of chip operation.

[0021] 2) In low-power chips, the operating speed of the user module can be significantly improved according to user needs, thereby improving the chip operating speed.

[0022] 3) In low-power chips, the power consumption of user modules can be reduced according to user needs, thereby saving the power consumption of the chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0024] Figure 1 A flowchart of a field programmable gate array chip timing design method provided by one embodiment of the present invention;

[0025] Figure 2 A schematic diagram of a clock tree provided in an embodiment of the present invention;

[0026] Figure 3 A schematic diagram of multi-region timing of a field programmable gate array provided by an embodiment of the present invention;

[0027] Figure 4 A complete design flow chart of a field programmable gate array provided for one embodiment of the present invention; DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] As mentioned above, in the existing field programmable gate array chip design, since the clock tree of the power supply is a tree network, there is a voltage drop problem, and there are slight differences in voltage in different areas of the chip, resulting in the chip's timing model not accurately matching the actual operating status.

[0030] To solve the above problems, the inventors propose a field programmable gate array chip timing design method in an embodiment of the present invention. The method divides the field programmable gate array chip into regions, and establishes a timing model based on the measured timing performance of different regions, so that the timing model is more consistent with the actual timing state of the chip during actual operation, thereby making the timing of the PFGA chip designed based on the timing model more accurate. Figure 1 A flow chart of a field programmable gate array chip timing design method provided by an embodiment of the present invention is shown as follows: Figure 1 As shown, the tuning process includes at least the following steps:

[0031] Step 11, obtain the circuit diagram of the field programmable gate array chip.

[0032] In this step, the field programmable gate array chip circuit diagram may be a high-level abstract field programmable gate array chip circuit design diagram.

[0033] In one embodiment, the field programmable gate array chip circuit diagram includes a field programmable gate array chip design diagram or schematic diagram described by a hardware design language, and the hardware design language includes at least Verilog language and VHDL language.

[0034] Step 12, dividing the field programmable gate array chip circuit diagram into several local areas.

[0035] In this step, the field programmable gate array chip circuit diagram is divided into local areas, essentially to capture the timing difference caused by the hierarchical progression of the clock tree. Figure 2 A schematic diagram of a clock tree provided by an embodiment of the present invention, such as Figure 2 As shown, the clock tree presents a tree-like network structure. Figure 3 A schematic diagram of a multi-region timing sequence of a field programmable gate array provided by an embodiment of the present invention, comparing Figure 2 , Figure 3 The division of regions in the illustrated embodiment reduces the timing difference caused by the hierarchical progression of the clock tree in the local region (relative to the entire chip region).

[0036] Step 13, measuring the timing performance in each local area and extracting the timing parameters.

[0037] In one embodiment, the timing parameter includes a delay time of a path in the local area.

[0038] According to one embodiment, measuring the timing performance in each of the local areas and extracting the timing parameters includes measuring the timing performance in each of the local areas and extracting the timing parameters based on a prototype of a field programmable gate array chip.

[0039] According to another embodiment, the measuring the timing performance in each of the local areas and extracting the timing parameters includes estimating the timing performance in each of the local areas based on simulation calculations and extracting the timing parameters.

[0040] Step 14: Establishing a field programmable gate array chip timing model at least according to the division range of each local area and its timing parameters.

[0041] Establishing a timing model is a necessary step in FPGA design. The timing model is mainly used for timing analysis. The main problem it solves is to ensure the relationship between the setup time and the hold time between the data signal and the clock latch edge. For example, it ensures that the total time from the previous register to the next register is less than or equal to the working clock cycle, so that data can be transmitted safely and reliably.

[0042] The existing timing model does not consider the problem that the actual operation timing of the chip has regional differences due to the voltage drop of the clock tree. In this step, the timing model established based on the division range of each local area and its timing parameters makes the timing results calculated based on the timing model more consistent with the actual timing operation status than the existing timing model.

[0043] Step 15: Based on the field programmable gate array chip timing model, the timing driving engine is used to perform layout and routing of the field programmable gate array chip.

[0044] Layout refers to assigning defined logic units to physical locations inside the FPGA, and routing refers to using routing resources to select paths to complete the connection between all logic units. In actual FPGA design, the timing-driven engine is used to layout and route field programmable gate array chips, which can also be said to be a situation where timing constraints must be considered in layout and routing.

[0045] According to one embodiment, the layout area of ​​the user module of the field programmable gate array chip can be determined according to the timing parameters of each local area of ​​the field programmable gate array and the operating speed requirements of the user module. In one example, in a low-power chip, the user module is laid out and wired in an area with a fast timing speed, which can significantly improve the operating speed of the user module. Since the user module is a frequently used module, this layout can further improve the chip operating speed.

[0046] According to another embodiment, the layout area of ​​the user module of the field programmable gate array chip can be determined according to the timing parameters of each local area of ​​the field programmable gate array and the power consumption requirements of the user module. In one example, when the user module requires low power consumption design, the user module can be laid out and wired in the area with slow timing speed. Since the area with slow timing consumes less power, this layout can reduce the power consumption of the user module. Since the user module is a frequently used module, this layout can further reduce the operating power consumption of the entire chip.

[0047] In one embodiment, the field programmable gate array chip timing design method is based on an electronic design automation tool.

[0048] In yet another embodiment, the electronic design automation tool includes a Fuxi electronic design automation tool.

[0049] In a specific embodiment, Figure 1 The presented approach can also be embedded into a complete FPGA design flow. Figure 4 FIG. 1 shows a complete design flow chart of a field programmable gate array provided by an embodiment of the present invention. Figure 4As shown, after layout and routing are performed using the delay data (timing model) divided according to the regions, subsequent FPGA design steps can be performed until the entire FPGA design is completed and tape-out is performed. This manual will not go into details about the subsequent FPGA design steps.

[0050] From the above embodiments, it can be seen that the embodiments of the present invention provide a field programmable gate array chip timing design method, which includes: dividing the circuit diagram of the field programmable gate array chip into several local areas; measuring the timing performance of each local area and extracting the timing parameters; building a chip timing model based on at least each chip area and the timing parameters of each chip area; and using the timing engine to perform the layout and routing of the field programmable gate array chip based on the chip timing model. Using this method has the following advantages:

[0051] 1) The timing model is more accurate, the timing calculation is more precise, and it is more consistent with the actual situation of chip operation.

[0052] 2) In low-power chips, it can significantly improve the chip running speed. Especially in large chips, when the user module is relatively small, the user design layout and routing can be placed in the area with fast timing speed to improve the user design speed.

[0053] 3) When users require low-power design, it can save the power consumption of user chips, especially for current battery-powered handheld devices such as pads, mobile phones, etc. Especially in large chips, when the user module is relatively small, the user module can be laid out and wired in an area with relatively low power consumption to reduce the power consumption of the user module.

[0054] 4) Combining 2) and 3) can also improve the flexibility and accuracy in user module design.

[0055] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0056] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0057] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0058] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A field programmable gate array chip timing design method, the method comprising: Obtaining a circuit diagram of a field programmable gate array chip; Dividing a circuit diagram of a field programmable gate array chip into a plurality of local areas, wherein the plurality of local areas are used to capture timing differences caused by hierarchical progression of a clock tree; Measuring the timing performance of each local area and extracting the timing parameters of each local area; including: estimating the timing performance in each local area based on simulation calculations and extracting the timing parameters; the timing parameters include the delay time of the path in the local area; At least according to the division range of each local area and its timing parameters, a field programmable gate array chip timing model is established; the timing model is used for timing analysis to determine the relationship between the setup time and the hold time between the data signal and the clock latch edge; Based on the field programmable gate array chip timing model, a timing driving engine is used to perform layout and routing of the field programmable gate array chip.

2. The method according to claim 1, wherein: The field programmable gate array chip circuit diagram includes a field programmable gate array chip design diagram or schematic diagram described in a hardware design language, and the hardware design language includes at least Verilog language and VHDL language.

3. The method according to claim 1, wherein: Measuring the timing performance of each local area and extracting the timing parameters of each local area includes measuring the timing performance in each local area and extracting the timing parameters based on a prototype of a field programmable gate array chip.

4. The method according to claim 1, wherein: Based on the chip timing model, the timing engine is used to perform layout and routing of the field programmable gate array chip. The method includes determining the layout area of ​​the user module of the field programmable gate array chip according to the timing parameters of each local area of ​​the field programmable gate array and the running speed requirement of the user module.

5. The method according to claim 1, wherein: Based on the chip timing model, the timing engine is used to perform layout and routing of the field programmable gate array chip. The method includes determining the layout area of ​​the user module of the field programmable gate array chip according to the timing parameters of each local area of ​​the field programmable gate array and the power consumption requirement of the user module. 6 . The method according to claim 1 , wherein the field programmable gate array chip timing design method is based on an electronic design automation tool.

7. The method according to claim 6, wherein the electronic design automation tool comprises a Fuxi electronic design automation tool.