A flash FPGA wiring method considering programming interference

By considering programming interference in the wiring method of flash FPGA, and adjusting the wiring cost by using the programming cost and the number of interference switches, the timing requirement problem caused by programming interference is solved, and a balance between high operating frequency and resource usage is achieved, which is suitable for high-performance flash type FPGA.

CN115099178BActive Publication Date: 2024-10-01WUXI ESIONTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210758633.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2024-10-01
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

When making a flash FPGA, the programming operation interferes with the programmed flash switch, causing the threshold voltage to drift and increase the signal delay. As a result, the design does not meet the timing requirements and the operating frequency decreases.

Method used

A flash FPGA wiring method that considers programming interference is adopted. During the search process, the preset wiring algorithm is used to calculate the programming cost of each flash switch. According to the number and voltage effects of interference switches, the wiring cost is adjusted and the optimal one is selected. Fan out nodes to reduce programming interference and ensure timing requirements are met.

Benefits of technology

Consider programming interference during the programming process, optimize wiring methods, ensure that the design still meets timing requirements under interference, improve circuit performance, and achieve a balance between resource usage and operating frequency without adding hardware design, suitable for high performance and high resources The flash type FPGA used.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115099178B_ABST
    Figure CN115099178B_ABST
Patent Text Reader

Abstract

The present application discloses a flash type FPGA wiring method considering programming interference, which relates to the technical field of programmable logic devices. When searching for any destination point in the process of implementing wiring for each to-be-wired net in the user input netlist using a preset wiring algorithm, the method starts from the source point of the to-be-wired net, selects fan-out nodes based on the wiring cost component calculated by the node based on the preset wiring algorithm and the programming cost of the flash switch corresponding to the node, and searches in sequence until the destination point is found. The programming cost of each flash switch represents the programming interference suffered by the flash switch during the FPGA programming and burning process. The method is optimized on the basis of conventional wiring methods, and the programming interference caused by the programming and burning process is considered during wiring, so that the timing requirements can still be met when the flash type FPGA is manufactured according to the design results, and the overall circuit performance is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of programmable logic devices, and in particular to a flash type FPGA wiring method taking programming interference into consideration. Background Art

[0002] Flash FPGA is based on reconfigurable flash storage technology. By re-downloading the program, the circuit logic can be configured to realize different functions for users. Compared with conventional SRAM FPGA, it has the advantages of no loss of power-off information, fast power-on startup, simple peripheral circuits, and short development cycle. It is gradually becoming a new trend in FPGA.

[0003] The design of flash FPGA is similar to that of SRAM FPGA. It needs to perform layout and routing and timing analysis according to the user design, and finally obtain the design result that meets the timing requirements. However, in the process of making flash FPGA according to the design results, when applying high voltage to the flash switch to perform programming operation, it will affect the previously programmed flash switch, causing the threshold voltage of the previously programmed flash switch to drift, increasing the delay of the flash switch transmitting signal. As a result, the design result that originally met the timing requirements no longer meets the timing requirements after the production is completed, causing the operating frequency of the circuit to decrease. Summary of the invention

[0004] In view of the above problems and technical requirements, the applicant has proposed a flash type FPGA wiring method considering programming interference. The technical solution of this application is as follows:

[0005] A flash type FPGA wiring method considering programming interference, the method comprising:

[0006] In the process of implementing routing on the flash FPGA for each to-be-routed net in the user input netlist using the preset routing algorithm, each destination point of the to-be-routed net is searched in turn. When searching for any i-th destination point, starting from the source point of the to-be-routed net, the fan-out nodes are selected according to the routing cost components calculated by the preset routing algorithm based on the nodes and the programming cost of the flash switch corresponding to the nodes, and the search is carried out in turn until the i-th destination point is found;

[0007] The programming cost of each flash switch represents the programming interference suffered by the flash switch during the FPGA programming process.

[0008] A further technical solution is that the programming cost of each flash switch is positively correlated with the number N of interference switches of the flash switch, and the interference switches include all the flash switches that share the same bit line with the flash switch and are selected.

[0009] A further technical solution is to select fan-out nodes according to the wiring cost component of the node and the programming cost of the flash switch corresponding to the node and search in sequence, including:

[0010] A fan-out node whose number N of interfering switches of the corresponding flash switch is less than a corresponding number threshold and whose wiring cost component is the smallest is selected for searching.

[0011] A further technical solution is to select fan-out nodes according to the wiring cost component of the node and the programming cost of the flash switch corresponding to the node and search in sequence, including:

[0012] The programming cost of the flash switch corresponding to each fan-out node is added to the wiring cost component of the fan-out node to obtain the wiring cost of the fan-out node, and the fan-out node with the smallest wiring cost is selected to start the search.

[0013] A further technical solution is that the wiring cost of each fan-out node is:

[0014] cost=(1-w)×c+w×cp

[0015] Where c is the routing cost component of the fan-out node determined based on the preset routing algorithm, cp is the programming cost of the flash switch corresponding to the fan-out node, w is the weight and 0 <w<1。

[0016] A further technical solution is that the weights w of all fan-out nodes are equal, or there are at least two fan-out nodes whose weights w are unequal.

[0017] A further technical solution is that the programming cost cp of the flash switch corresponding to each fan-out node is proportional to N*ζ, and the voltage influence coefficient ζ is related to the word line voltage and the bit line voltage. 8. The method according to claim 7 is characterized in that the greater the voltage difference between the word line voltage and the bit line voltage, the greater the voltage influence coefficient ζ.

[0018] Its further technical solution is that the method further comprises:

[0019] Before routing each to-be-routed net, initialize the switch usage of each bit line to 0, where the switch usage is the number of selected flash switches among the flash switches connected to the bit line;

[0020] In the process of wiring each network to be wired, the switch usage of the bit line connected to the flash switch corresponding to each selected node is accumulated and counted; when the existing connection tree of the network to be wired is removed, the switch usage of the bit line connected to the flash switch corresponding to each node in the removed connection tree is decreased.

[0021] A further technical solution is that the preset routing algorithm is a congestion negotiation routing algorithm or a Lee's maze routing algorithm.

[0022] The beneficial technical effects of this application are:

[0023] The present application discloses a flash type FPGA wiring method that takes programming interference into consideration. The method is optimized on the basis of a conventional wiring method. During wiring, the programming interference to which the flash switch is subjected during the FPGA programming and burning process is taken into consideration. Thus, when the flash type FPGA is manufactured according to the design results, even if programming interference is encountered during the programming and burning process, the timing requirements can still be met, thereby ensuring the overall circuit performance.

[0024] The method characterizes the influence of programming interference on the flash switch during programming and burning based on the number of other flash switches that share the same bit line and are selected for each flash switch, and uses it as a condition for searching by a conventional wiring algorithm. The present application provides two different implementation methods, one of which directly uses the number N of interference switches of the flash switch as a constraint, and the other directly incorporates the programming cost of the flash switch into the wiring cost component of the node for unified consideration. Both implementation methods can achieve the desired functions well, and have little improvement on the traditional wiring algorithm, and are easy to implement.

[0025] This method can meet the demand for high operating frequency by slightly reducing the resource utilization rate of flash-type FPGAs. It can also meet the demand for high resource utilization rate under non-high operating frequency conditions, thereby achieving a balance between resource utilization and operating frequency. This method does not require additional hardware design and does not occupy additional chip area. It is particularly suitable for flash-type FPGAs with high performance and high resource utilization.

[0026] This method not only considers the programming influence brought by other flash switches, but also considers the influence of word line voltage and BL bit line voltage into the programming cost of the flash switch, and has high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a method flow chart of a flash type FPGA wiring method considering programming interference according to an embodiment of the present application.

[0028] Figure 2 is a schematic diagram of the structure of a wiring switch array in an embodiment.

[0029] Figure 3 The diagram is a schematic diagram of the structure of each flash switch in an embodiment when a p-type Sense_Switch structure switch is adopted.

[0030] Figure 4 It is a method flow chart of a flash type FPGA wiring method taking programming interference into consideration according to another embodiment of the present application. DETAILED DESCRIPTION

[0031] The specific implementation of the present application is further described below in conjunction with the accompanying drawings.

[0032] The present application discloses a flash type FPGA wiring method taking programming interference into consideration. The method is optimized on the basis of a conventional wiring method. During wiring, the programming interference to which the flash switch is subjected during the FPGA programming and burning process is taken into consideration. This ensures that the design result that meets the timing requirements after layout and wiring is completed can still meet the timing requirements even if programming interference is encountered during the programming and burning process.

[0033] The wiring method is implemented based on the existing preset wiring algorithm, which can be considered as an improvement on the existing preset wiring algorithm. The existing preset wiring algorithm typically includes the crowded negotiation wiring algorithm or the Lee's maze wiring algorithm. Regardless of the wiring process of the preset wiring algorithm, the flash FPGA wiring method of the present application mainly includes the following steps, please refer to Figure 1 The flowchart takes the preset routing algorithm as the congestion negotiation routing algorithm as an example. Figure 1 The steps that are the same as those in the conventional congestion negotiation routing algorithm are no longer described in detail in this application. When executing this method, it is first necessary to read in the user input netlist and the corresponding constraints, and determine the layout positions of the wire net endpoints of each to-be-routed net in the user input netlist based on the layout results of the user input netlist on the flash FPGA. Each to-be-routed net includes a source point and several destination points connected to it.

[0034] In the process of implementing routing on the flash FPGA using the preset routing algorithm for each to-be-routed net in the user input netlist, each destination point of the to-be-routed net is searched in turn. When searching for any i-th destination point, starting from the source point of the to-be-routed net, the fan-out nodes are selected and searched in turn according to the routing cost component calculated by the preset routing algorithm based on the node and the programming cost of the flash switch corresponding to the node, until the i-th destination point is found.

[0035] In conventional routing algorithms, when searching for the destination point, only the routing cost components of the nodes calculated based on the preset routing algorithm are considered. The routing cost components here are calculated based on multiple cost variables. Common cost variables include node cost, path cost, delay cost, timing criticality cost, future cost, etc. This application does not elaborate in detail, and the various cost variables calculated in conventional routing algorithms are collectively referred to as routing cost components.

[0036] On the basis of the wiring cost component, the present application also considers the programming cost of the flash switch corresponding to the node, where the programming cost of each flash switch represents the programming interference suffered by the flash switch during the FPGA programming process. Specifically, the programming cost of each flash switch is positively correlated with the number N of interference switches of the flash switch, and the interference switches include all selected flash switches that share the same bit line with the flash switch.

[0037] Please refer to Figure 2 The flash FPGA has a wiring switch array formed inside. The wiring switch array includes a number of flash switches connected to form an array structure. The wiring switch array also connects the word line circuit, the bit line circuit and the substrate circuit. The wiring switch array includes X columns and Y rows of flash switches. Each flash switch can adopt a single-tube structure or a structure such as Figure 3 The p-type Sense_Switch structure shown in the figure is Figure 3 In the structure, each flash switch includes a programming tube and a switch tube made on a substrate. The floating gates of the programming tube and the switch tube are connected and connected to the word line circuit through the word line WL as the control gate CG of the flash switch. The source S2 of the programming tube is connected to the bit line circuit through the bit line BL, and the drain D2 of the programming tube is connected to the bit line circuit through the bit line BLN. The substrate of the programming tube is connected to the substrate of the switch tube and connected to the substrate circuit as the substrate SUB of the flash switch. Figure 2 The substrate circuit is not shown. The source S1 of the switch tube serves as the first signal terminal of the flash switch, and the drain D1 of the switch tube serves as the second signal terminal of the flash switch. One of the first signal terminal and the second signal terminal serves as a signal input terminal, and the other signal terminal serves as a signal output terminal, so that bidirectional communication can be realized. The signal input terminal is used to connect to the upper-level logic unit circuit, and the signal output terminal is used to connect to the lower-level logic unit circuit, such as Figure 2 and 3 For example, the first signal terminal is the signal input terminal Signal_in, and the second signal terminal is the signal output terminal Signal_out. All flash switches in the same row share the same word line WL. Figure 2 CCP includes word line WL <0> ~WL <y-1>, all flash switches in the same column share the bit line BL / BLN, such as Figure 2 CPC includes bit line BL <0> ~BL <x-1>and BLN <0> ~BLN <x-1>.

[0038] In the process of routing the to-be-wired net, the flash switches in the routing switch array will be selected. Multiple flash switches sharing the bit line in the same column may not be used at all, may be partially used, or may be all used. In the process of programming and burning the FPGA, each selected flash switch needs to be burned, and when burning each flash switch, it is necessary to apply a high voltage to the bit line once to generate programming interference. When k flash switches are selected on the same bit line, k programming high voltages need to be applied to the bit line during the FPGA programming and burning process. The more times the programming high voltage is applied to the bit line, the greater the programming interference to a flash switch. Therefore, the programming interference to a flash switch during the FPGA programming and burning process is related to the number k of flash switches selected on the bit line connected to the flash switch, and is also related to the number N of interference switches of the flash switch, N = k-1. Multiple flash switches sharing the bit line in the same column may be selected in the connection tree of the same to-be-wired net, or they may be selected in the connection trees of multiple different to-be-wired nets. The interference switches of a flash switch include all the flash switches that share the same bit line with the flash switch and are selected, no matter whether they are selected in the connection tree of the same to-be-routed network or not.

[0039] Therefore, the present application utilizes the number N of interference switches of the flash switch to reflect the programming cost of the flash switch. The more the number N of interference switches of the flash switch is, the greater the programming cost of the flash switch is, which indicates that the flash switch is subjected to greater programming interference during the FPGA programming process.

[0040] There are two ways to consider the programming cost of the flash switch corresponding to the node when searching for each destination point of the routing network:

[0041] Method 1: Taking the number N of interference switches of the flash switch as a constraint, select the fan-out node whose number N of interference switches of the corresponding flash switch is less than the corresponding number threshold and whose wiring cost component is the smallest to start searching. When selecting fan-out nodes and searching sequentially, the conventional wiring algorithm directly selects the fan-out node with the smallest wiring cost component to start searching, while this embodiment adds a restriction, that is, the number N of interference switches of the flash switch of the selected fan-out node must be less than the corresponding number threshold, please refer to Figure 1 Flowchart shown.

[0042] The quantity threshold is preset, and the relationship between the delay caused by the selected flash switch and the timing margin needs to be considered. For example, it is preset that when the number of flash switches selected on a bit line does not exceed 200, even if additional delays are generated after programming, the timing requirements can be met, and the quantity threshold can be set to 199. Assume that when the search is launched, there are fan-out nodes 1, fan-out nodes 2, and fan-out nodes 3, and the wiring cost components of fan-out nodes 1, fan-out nodes 2, and fan-out nodes 3 increase in sequence. According to the conventional wiring algorithm, fan-out node 1 is directly selected and the search is launched. However, in the method of the present application, the connection bit line BL is first determined. <0> The number N of interference switches of fan-out node 1 is 199, which does not meet the requirement of being less than the number threshold, and the bit line BL is connected <100> If the number N of interference switches of fan-out node 2 is 30 and meets the requirement of being less than the number threshold, then the fan-out node 2 that meets the constraint of the number N of interference switches and has the smallest routing cost component is selected to start searching.

[0043] If there are at least two nodes that satisfy the constraint of the number N of interfering switches and have the same and minimum routing cost components, a fan-out node with a smaller number N of interfering switches of the corresponding flash switch is selected to start searching.

[0044] Method 2: The programming cost of the flash switch is included in the wiring cost component of the node for unified consideration. That is, the programming cost of the flash switch corresponding to each fan-out node is included in the wiring cost component of the fan-out node to obtain the wiring cost of the fan-out node, and the fan-out node with the smallest wiring cost is selected for search. Please refer to Figure 4 Flowchart shown.

[0045] For example, in the example of method 1, the wiring cost components of fan-out node 1, fan-out node 2 and fan-out node 3 increase in sequence. However, after adding the programming cost of the corresponding flash switch, the result may be that the wiring costs of fan-out node 2, fan-out node 1 and fan-out node 3 increase in sequence. In this case, fan-out node 2 with the smallest wiring cost is selected to start the search.

[0046] Specifically, the wiring cost of each fan-out node is cost = (1-w) × c + w × cp, where c is the wiring cost component of the fan-out node determined based on the preset wiring algorithm, cp is the programming cost of the flash switch corresponding to the fan-out node, w is the weight and 0 <w<1。

[0047] The programming cost cp of the flash switch corresponding to the fan-out node is proportional to the number N of interfering switches of the flash switch, and the actual fitting formula can be customized. The weights w of all fan-out nodes are equal, or there are at least two fan-out nodes with unequal weights w.

[0048] On the basis of the above, considering that the word line voltage and BL bit line voltage of the wiring switch array during programming will also affect the signal transmission delay value of the flash switch, the programming cost cp of the flash switch corresponding to each fan-out node is not simply proportional to the number N of interference switches of the flash switch, but is further proportional to N*ζ. Among them, the voltage influence coefficient ζ is related to the word line voltage and the bit line voltage. Specifically, the greater the voltage difference between the word line voltage and the bit line voltage, the greater the voltage influence coefficient ζ. Generally, the voltage influence coefficient ζ∈[0.01,0.02] can be taken.

[0049] If there are at least two nodes with the same and minimum routing costs, a fan-out node with a smaller number N of interference switches of the corresponding flash switch is selected to start searching.

[0050] As described above, in either method 1 or method 2, it is necessary to determine the number N of interference switches of the flash switch, that is, to determine the number k of flash switches selected on the bit lines connected to the flash switches. Therefore, when executing the wiring method of the present application, the switch usage of each bit line is counted. Please refer to Figure 1 and Figure 4 :

[0051] Before routing each network to be routed, the switch usage of each bit line is initialized to 0, and the switch usage is the number k of selected flash switches among the flash switches connected to the bit line. In the process of routing each network to be routed, the switch usage of the bit line connected to the flash switch corresponding to each selected node is accumulated and counted, that is, each time a node is selected, the switch usage of the bit line connected to the flash switch corresponding to the node is increased by 1. When removing the existing connection tree of the network to be routed, the switch usage of the bit line connected to the flash switch corresponding to each node in the removed connection tree is decreased, and each time a node is removed, the switch usage of the bit line connected to the flash switch corresponding to the node is decreased by 1.

[0052] The above are only preferred embodiments of the present application, and the present application is not limited to the above embodiments. It is understood that other improvements and changes directly derived or associated by those skilled in the art without departing from the spirit and concept of the present application should be considered to be included in the protection scope of the present application.

Claims

1. A flash FPGA wiring method considering programming interference, It is characterized in that The method comprises: In the process of implementing routing on the flash type FPGA for each to-be-routed net in the user input netlist using the preset routing algorithm, each destination point of the to-be-routed net is searched in turn. When searching for any i-th destination point, starting from the source point of the to-be-routed net, a fan-out node is selected according to the routing cost component calculated by the preset routing algorithm and the programming cost of the flash switch corresponding to the node, and the search is carried out in turn until the i-th destination point is found; The programming cost of each flash switch represents the programming interference of the flash switch during the FPGA programming process; the programming cost of each flash switch is proportional to the number of interference switches of the flash switch. Positive correlation, the interference switch includes all the flash switches that share the same bit line with the flash switch and are selected; Select the fan-out nodes based on the routing cost component of the nodes and the programming cost of the flash switches corresponding to the nodes and search them in sequence, including: Select the number of interference switches corresponding to the flash switch Search for fan-out nodes that are smaller than the corresponding quantity threshold and have the smallest wiring cost component; Alternatively, the programming cost of the flash switch corresponding to each fan-out node is included in the wiring cost component of the fan-out node to obtain the wiring cost of the fan-out node, and the fan-out node with the smallest wiring cost is selected to start searching; the wiring cost of each fan-out node is ;in, is a routing cost component of the fan-out node determined based on the preset routing algorithm, is the programming cost of the flash switch corresponding to the fan-out node, is the weight and .

2. The method according to claim 1, It is characterized in that The weight of all fan-out nodes are equal, or there are at least two fan-out nodes with the same weight Not equal.

3. The method according to claim 1, It is characterized in that Programming cost of the flash switch corresponding to each fan-out node and Proportional to the voltage influence coefficient Related to the word line voltage and the bit line voltage.

4. The method according to claim 3, It is characterized in that The greater the voltage difference between the word line voltage and the bit line voltage, the greater the voltage influence coefficient The bigger.

5. The method according to claim 1, It is characterized in that The method further comprises: Before routing each to-be-routed net, initialize the switch usage of each bit line to 0, where the switch usage is the number of selected flash switches among the flash switches connected to the bit line; In the process of wiring each network to be wired, the switch usage of the bit line connected to the flash switch corresponding to each selected node is accumulated and counted; when the existing connection tree of the network to be wired is removed, the switch usage of the bit line connected to the flash switch corresponding to each node in the removed connection tree is decreased.

6. The method according to claim 1, It is characterized in that The preset routing algorithm is a congestion negotiation routing algorithm or a Lee's maze routing algorithm.