Chip layout method without top channel
By inserting feed-through signal lines into the on-chip interconnection network module, multiple fan-outs and timing constraints are automatically processed, which solves the problems of low efficiency and resource waste in the top-less channel layout method, and achieves reduction in chip area and complexity. , improving the efficiency and flexibility of chip physical implementation.
Patent Information
- Application Number
- CN202410802131.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-18
AI Technical Summary
The existing chip layout method without top-level channels is inefficient and requires manual processing of multiple fan-out problems, resulting in a waste of chip resources. Moreover, all steps need to be repeated during layout adjustment, which is inefficient.
By inserting feed-through signal lines into the on-chip interconnection network module, multiple fan-out problems are automatically handled, timing constraints for the feed-through signal lines are automatically generated, and functional modules are directly connected to each other, reducing the chip area and complexity, and adjusting the layout Only the module interconnection matrix and signal markers are modified.
It achieves chip area reduction, complexity reduction, resource saving, improves the efficiency and flexibility of chip physical implementation, and automatically handles signal path merging and timing constraint generation.
Smart Images

Figure CN118798109A_ABST
Abstract
Description
[Technical field]
[0001] The invention relates to the technical field of semiconductor chip design, and in particular to a chip layout method without a top-level channel. [Background technology]
[0002] With the development of intelligence and network technology, the functions of chips have gradually diversified, the computing power requirements have become higher and higher, and the scale and complexity of chips have also increased accordingly, which has brought great challenges to the physical implementation of chips. In large-scale chips, a multi-level design structure is usually adopted, that is, each functional module is physically implemented in parallel first, and then combined into a top-level module for physical implementation. The advantage of this method is that it can reduce the complexity of large-scale chip implementation and improve the efficiency and feasibility of chip implementation.
[0003] There are usually complex interconnection signals between the functional modules of the chip, which are used for functional coordination and data exchange between the modules. And because the chip is large in size, the distance between the modules may be very far, so a large number of buffers (drivers) need to be inserted in the middle of the interconnection lines to ensure driving capacity. Figure 1 This is a schematic diagram of the chip layout that retains the top narrow channel. Figure 1 As shown in the figure, in the traditional design, when the functional modules on the top layer of the chip are arranged, narrow channels need to be reserved between the modules for interconnection routing and buffer insertion. These narrow channels usually occupy 5%-8% of the entire chip area, resulting in an increase in chip area and cost. Moreover, as the chip scale increases, the routing in the narrow channels becomes more and more complicated, which easily causes the problem of winding congestion and causes great difficulties for chip implementation.
[0004] Figure 2 This is a schematic diagram of the chip layout without top-level channels. Figure 2 As shown, in the existing technology, a chip layout method without top-level channels is proposed, that is, by inserting the interconnection signals between modules into the module in the middle of the layout for penetration, the modules are close together without reserving narrow channels on the top level, thereby achieving the purpose of reducing chip area, reducing costs, and reducing the probability of winding congestion.
[0005] When using a chip layout method without a top channel, it is necessary to deal with the problem of multiple signal drivers. Figure 3 This is a wiring diagram of a signal from module A driving four signals from modules B, C, and D when there is a narrow passage on the top floor. Figure 3 As shown, a signal output from module A drives four signals of modules B, C, and D; when channels are reserved at the top level, the signal can be copied four times at the top level and given to the four input signals of modules B, C, and D respectively. Figure 4This is a schematic diagram of the one-to-one connection between the four signals of module A and the four signals of modules B, C, and D when there is no narrow passage on the top floor. Figure 4 As shown, when the chip layout method without top-level channels is adopted, since the modules are close together, four copies can only be made inside module A, and 4 output signals can be extended before they can be connected with the four input signals of modules B, C, and D.
[0006] Figure 5 FIG. 1 is a schematic diagram of the implementation flow of the existing chip layout method without top-level channels. Figure 5 As shown, the implementation process method of the prior art is relatively complicated, inefficient and not flexible enough; first, each functional module is physically implemented to determine the top-level layout; then the multi-fan-out problem is manually handled, and the multi-fan-out signal is copied multiple times at the source end to ensure that the signals between modules are one-to-one connected; then, according to the layout, an interconnection table is established, and a feed-through signal line is inserted in the middle module.
[0007] Timing constraints are necessary inputs for physical implementation of a chip, that is, they put forward timing requirements for the designed circuit, so that the EDA (Electronic Design Automation) tool can try to meet the requirements when physically implementing the designed circuit, and perform timing checks based on the requirements. Timing constraints for feed-through signal lines are divided into two categories: clock signals and ordinary data signals. For clock signals, it is necessary to create a clock and let the EDA tool insert a dedicated clock buffer to ensure that its driving force and jitter can meet the requirements of the clock signal; for ordinary data signals, it is necessary to define input delays and output delays to ensure that the routing within the module is not too long.
[0008] In existing designs, it is necessary to manually write timing constraints related to feed-through signal lines. In large-scale chips, the number of feed-through signal lines is very large. It is very labor-intensive to identify whether each signal is a data signal or a clock signal and add corresponding clock constraints, which is not conducive to improving the efficiency of chip physical implementation.
[0009] In addition, if the top-level module layout needs to be adjusted in the original technology, all subsequent steps must be started over again, consuming a lot of manpower and time.
[0010] Related search result 1: Chinese application (patent) number, 202110200572.4, name, a method, device and storage medium for automatic routing of narrow channels on the top layer of a chip, to solve the problem of winding congestion existing in the automatic routing of narrow channels, the method comprising: setting a first routing buffer at the corner where the horizontal channel and the vertical channel of the channel to be routed are connected; wherein the routing buffer is arranged with a plurality of buffer units, and each signal pin to be routed corresponds to a buffer unit; automatic routing is performed according to the plurality of buffer units; wherein, when performing automatic routing, the horizontal routing of each signal pin is parallel to the edge of the horizontal channel, and a vertical routing perpendicular to the horizontal routing is arranged at the buffer unit corresponding to each signal pin. Technical highlights analysis: A layout method of reserving narrow channels on the top layer of the chip is adopted, and an innovative routing strategy is adopted to solve the winding congestion problem existing in the automatic routing of narrow channels in the prior art, but the chip layout method still reserves channels on the top layer of the chip, which will cause area waste and increase costs; it is not a layout method without reserved channels on the top layer of the chip, which cannot save area and cost.
[0011] Related search result 2: US application (patent) number, US10,747,933B2, name, CHANNEL-LESSINTEGRATED CIRCUIT LAYOUT WIRING FOR CHIPS INCLUDING A PLURALITY OFPARTITIONS. Technical review: A layout method without reserved channels on the top layer of the chip is used. However, on the one hand, multiple fan-outs must be processed manually, which is inefficient and not conducive to feed-through routing optimization. On the other hand, all steps must be repeated when adjusting the layout, which is inefficient.
[0012] The present invention aims at the technical problems that the prior art first needs to manually process the multi-fan-out problem, which is inefficient and not conducive to the optimization of feed-through signal line routing, resulting in waste of chip resources, and makes technical improvements to the chip layout method without top-level channels. [Summary of the invention]
[0013] The purpose of the present invention is to provide a top-channel-free chip layout method which inserts feed-through signal lines into an on-chip interconnect network module to realize direct and close connection between functional modules, thereby reducing chip area and physical implementation complexity.
[0014] To achieve the above object, the technical solution adopted by the present invention is a chip layout method without top-level channels, comprising the following steps:
[0015] S1. First, obtain the chip front-end design code, then physically implement each functional module in parallel, determine the layout of each functional module on the top layer of the chip according to the physical form of each functional module, obtain the on-chip interconnection network modules that need to be passed from one functional module to another, and obtain the on-chip interconnection network module matrix;
[0016] S2, capture the top-level output signals of each functional module, and do not feed-through the output signals output to the adjacent functional module, and feed-through the output signals output to other than the adjacent functional module, indicating which functional module or modules the output is sent to;
[0017] S3. Execute the feed-through insertion program, first automatically handle the multi-fan-out problem, and insert the feed-through signal line in the on-chip interconnect network module, then re-physically implement the on-chip interconnect network module and the functional module that needs to handle multiple drivers, and finally physically implement the top layer of the chip.
[0018] Preferably, the above-mentioned chip layout method without top-layer channels further includes the following steps:
[0019] S4. When the chip front-end design code is updated, if the top-level layout needs to be adjusted, the on-chip interconnect network module matrix needs to be modified, the feed-through mark of the functional module signal needs to be reset, and then the feed-through insertion program is executed to insert the feed-through signal line into the on-chip interconnect network module, and the timing constraints of the feed-through signal line are automatically generated. Subsequently, only the on-chip interconnect network module and the functional modules that need to handle multiple drivers need to be physically re-implemented, and there is no need to physically re-implement different functional modules according to the adjusted layout.
[0020] Preferably, the feed-through mark includes an input signal / output signal mark feedthr, a clock signal mark clk, a clock signal frequency freq, and a destination module list indicating to which functional module or modules the output signal is to be sent.
[0021] Preferably, step S2 includes the following sub-steps:
[0022] S21, first set up an on-chip interconnect network module list, and number each on-chip interconnect network module;
[0023] S22, then establish a routing relationship table for characterizing the on-chip interconnection network modules that each functional module must pass through in sequence to reach another functional module;
[0024] S23, extract the top-level output signal of each functional module, create an output signal list, and mark the output signal to be passed through.
[0025] Preferably, step S3 includes the following sub-steps:
[0026] S31, traverse the top-level output signal list of each functional module, and determine the feed-through signals to be added to each on-chip interconnect network module in turn according to the feed-through signal naming rule;
[0027] S32, removing duplicate feed-through signals, obtaining a list of feed-through signals added by each on-chip interconnect network module, and generating timing constraints for the feed-through signals added by the on-chip interconnect network module;
[0028] S33, according to the direction of the function module output list, if the output signal of a function module is bifurcated to two function modules from the source end, it is necessary to process the multi-driver at the source end; if the output signal of a function module is bifurcated again in the next function module it passes through, then through the characteristics of the feed-through signal naming rule, the multi-driver processing is automatically performed in the next function module, and finally a multi-driver list of each function module is generated;
[0029] S34. Generate a new on-chip interconnect network module top-level file based on the newly added feed-through signal list of the on-chip interconnect network module and the original on-chip interconnect network module top-level file, and generate a new functional module top-level file based on the functional module multi-drive signal list and the original functional module top-level file.
[0030] Preferably, step S32: the purpose of generating timing constraints for the feed-through signal added to the on-chip interconnect network module is to create a clock for the clock signal, so that the EDA tool can insert a special clock buffer for the feed-through signal during physical implementation, set input delay and output delay for ordinary data signals, and ensure that the feed-through signal does not have a too long route when passing through the on-chip interconnect network module.
[0031] Preferably, step S32 of generating timing constraints for the feed-through signal added to the on-chip interconnect network module includes the following sub-steps:
[0032] S321, first create a virtual clock with a lower frequency;
[0033] S322, then traverse the newly added feed-through signal list of the on-chip interconnect network module, and identify the input signal / output signal tag feedthr and the clock signal tag clk keyword;
[0034] S323, if the newly added feed-through signal is an output signal, set an output delay of 30% for the newly added feed-through signal;
[0035] S324. If the newly added feed-through signal is an input signal, determine whether it contains the clock signal tag clk keyword. If not, set a 30% input delay for the newly added feed-through signal. If so, create a clock based on the newly added feed-through signal name and the clock signal frequency freq.
[0036] The invention discloses a chip layout method without top-level channels, and has the following beneficial effects: inserting a feed-through (directly passing through in a module) signal line in a NoC (Network of Chip) module, marking the top-level signal of each functional module, setting an interconnection matrix between each module (which NoC modules need to be passed from a certain module to another module), formulating a naming rule for the feed-through signal line, and automatically generating the feed-through signal line to be inserted into each NoC module, the timing constraints of related signals, and the corresponding module wrapper (module top-level encapsulation) through computer code, so as to realize the decoupling of functional module design and chip top-level integration, flexible adjustment of chip layout, automatic signal path merging, optimization of chip resources occupied when multiple signals are fanned out, automatic generation of timing constraints, etc., directly and closely connecting each functional module without reserving a top-level routing channel, reducing the chip area, reducing the complexity of chip physical implementation, improving efficiency, and saving chip resources.
Brief Description of the Drawings
[0037] Figure 1 This is a schematic diagram of the chip layout that retains the narrow and long channels on the top layer.
[0038] Figure 2 This is a schematic diagram of the chip layout without top-layer channels.
[0039] Figure 3 This is a wiring diagram of one signal from module A driving four signals from modules B, C, and D when there is a narrow and long channel on the top floor.
[0040] Figure 4 This is a schematic diagram of the one-to-one connection between the four signals of module A and the four signals of modules B, C, and D when there is no narrow passage on the top floor.
[0041] Figure 5 It is a schematic diagram of the implementation process of the existing chip layout method without top-level channels.
[0042] Figure 6 In the existing chip layout method without top-level channels, the invention directly copies four copies of multiple driving signals at the source and then connects them to the destination respectively.
[0043] Figure 7 It is a wiring diagram for duplicating multiple driving signals at the last bifurcation point proposed in the present invention.
[0044] Figure 8 It is a schematic diagram of the steps of the chip layout method without top-layer channels proposed by the present invention.
[0045] Fig. 9 It is a schematic diagram of the feed-through signal insertion steps proposed by the present invention.
[0046] Fig.10 It is a flowchart diagram of adding signal generation timing constraints for NoC.
[0047] Fig.11 It is a schematic diagram of the specific process of feed-through signal insertion and signal naming rules proposed by the present invention. [Specific implementation method]
[0048] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In the detailed description below, many specific details are proposed to provide a comprehensive understanding of the present invention. But it is obvious to those skilled in the art that the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention. The present invention is by no means limited to any specific configuration and algorithm proposed below, but covers any modification, replacement and improvement of elements, parts and algorithms without departing from the concept of the present invention. In the accompanying drawings and the following description, known structures and technologies are not shown to avoid unnecessary ambiguity to the present invention.
[0049] Example
[0050] This embodiment implements a chip layout method without a top-level channel.
[0051] The existing chip layout method without top-level channels must first manually handle the multi-fan-out problem, which is inefficient and not conducive to the routing optimization of feed-through signal lines, resulting in a waste of chip resources. Suppose a signal from module A needs to pass through module B and be output to modules C, D, and E. Figure 6This is a wiring diagram of an existing chip layout method without a top-level channel, in which multiple drive signals are directly copied four times at the source and then connected to the destination respectively. Figure 6 As shown, the existing method will make four copies inside module A, extend 4 output signals, pass through module B, and give them to modules C, D, and E. In this way, module A will have 4 related output signals, and module B will have 4 related input signals and 4 related output signals.
[0052] But in fact, if a signal of a module is output to multiple modules and there is a common path in the middle, the signal does not need to be copied at the source end, but only needs to be copied at the middle branching node. Figure 7 This is a schematic diagram of the connection of multiple driving signals proposed in the present invention, which is replicated at the last bifurcation point. Figure 7 As shown, the signal first enters module B, and then is copied four times in module B and given to modules C, D, and E. In this way, module A has only one relevant output signal, and module B also has only one relevant input signal and four relevant output signals, saving chip resources.
[0053] Figure 8 FIG. 1 is a schematic diagram of the steps of the chip layout method without top-level channels proposed by the present invention. Figure 8 As shown, the steps of the chip layout method without top-level channels proposed in this embodiment are as follows:
[0054] First, the front-end design code is obtained, and then each functional module is physically implemented in parallel. According to the physical form of each functional module, the layout of each module on the top layer of the chip is determined, so that the module interconnection matrix can be obtained. That is, from one functional module to another, the NoC modules to be passed in sequence are shown in the following table (the numbers in the table represent the labels of each NoC):
[0055] Module A Module B Module C Module D Module E Module A 1,2 2,3,4 2,1 5,2 Module B 2,1 2,5,3 2,1,3 5,3,1 Module C 4,3,2 3,5,2 4,5 3,4 Module D 2,1 3,1,2 5,4 4,3,2 Module E 2,5 1,3,5 4,3 2,3,4
[0056] Then grab the top-level signals of each module and mark the output signals of each module that need to be fed through and output to other modules. The mark includes the feedthr keyword, whether it is a clock signal (if so, mark clk), the frequency of the clock signal freq, and the destination module list (that is, which module or modules the signal is output to). If the output signal is output to the adjacent module, it does not need to be fed through and the feed-through mark does not need to be added; if the signal is output to a module other than the adjacent module, it needs to be fed through and the feed-through mark needs to be added to the signal to indicate which module the signal is output to (it can be multiple modules).
[0057] Execute the feed-through insertion procedure, which can be automatically implemented by computer code. First, automatically handle the multi-fan-out problem and insert the feed-through signal line in the NoC module. Then re-implement the NoC module and the functional module that needs to handle multi-drive physically, and finally physically implement the top layer of the chip.
[0058] When the design code is updated, if the top-level layout needs to be adjusted, the module interconnect matrix needs to be modified, and the feed-through mark of the top-level module signal may also need to be reset. Then the feed-through insertion program is executed to insert the feed-through signal line in the NoC and automatically generate the timing constraints of the feed-through signal line. Subsequently, only the NoC module and the module that needs to handle multiple drivers need to be physically re-implemented, while the existing method requires the physical re-implementation of different functional modules according to the adjusted layout.
[0059] Fig. 9 Schematic diagram of the feed-through signal insertion steps proposed by the present invention. Fig. 9 As shown, the feed-through signal insertion steps are:
[0060] First, set up the NoC module list and number each NoC module. Then establish a routing relationship table to characterize the NoCs that each functional module must pass through in turn to reach another functional module. Then extract the top-level signals of each functional module, establish a signal list, and mark the signals to be passed through.
[0061] Next, we traverse the top-level signal list of each functional module and determine the signals to be added to each NoC in turn according to the signal tags and signal naming rules. Then, we remove duplicate signals to obtain the signal list added to each NoC and generate timing constraints for the signals added to the NoC.
[0062] Then, according to the direction of the functional module output list, a multi-driver list is generated for each module. That is, if the output signal of a module is bifurcated to two functional modules from the source end, the multi-driver needs to be processed at the source end; if the output of a module is bifurcated again in the next functional module it passes through, the multi-driver processing is automatically performed in the module through the characteristics of the feed-through signal naming rule.
[0063] Generate a new NoC top-level file based on the NoC newly added signal list and the original NoC top-level file. Generate a new functional module top-level file based on the module multi-drive signal list and the original functional module top-level file.
[0064] Fig.10 This is a flowchart diagram of the signal generation timing constraints added to the NoC. Fig.10 As shown in the figure, the process of generating timing constraints for the signals added to the NoC is as follows:
[0065] First, create a virtual clock with a lower frequency according to the system frequency. For example, for a system with a clock frequency of 1 GHz, a virtual clock of 100 MHz can be created.
[0066] Then traverse the list of newly added signals in the NoC and identify the input (representing input signals) / output (representing output signals) tags and the feedclk keyword.
[0067] If it is not an input signal (i.e. an output signal), set an output delay of 30% for the signal;
[0068] If it is an input signal, determine whether it contains the feedclk keyword. If it does not contain the feedclk keyword, set a 30% input delay for the signal.
[0069] If the feedclk keyword is included, a corresponding clock is created based on the signal name and freq (clock frequency).
[0070] The purpose of this process is to create a clock for the clock signal so that the EDA tool can insert a dedicated clock buffer for the signal during physical implementation; set input delay and output delay for ordinary data signals to ensure that the signal does not have too long a route when passing through the NoC.
[0071] Fig.11 FIG. 2 is a schematic diagram of the specific flow of feed-through signal insertion and signal naming rules proposed by the present invention. Fig.11 As shown, the specific process of the feed-through signal and the signal naming rules are shown, and the process can be easily implemented using computer code.
[0072] 1. Create an empty list of newly added signals for each NoC module and an empty list of multi-drive signals for each functional module;
[0073] 2. Extract the top-level signals of each functional module and establish a top-level signal list;
[0074] 3. Traverse each top-level signal of each functional module and check the feed-through signal tag;
[0075] 4. If the tag contains the clk keyword, change the signal name to feedclk_{freq}_{signal}, where {freq} is the clock frequency in the tag and {signal} is the original signal name; if it does not contain the clk keyword, keep the original signal name;
[0076] 5. Create an empty list of driver signals for each feed-through signal;
[0077] 6. Obtain the target functional module list according to the feed-through signal tag, that is, to which functional module or modules the signal is to be output;
[0078] 7. Search the module interconnection matrix according to the target functional module and the current functional module in turn;
[0079] 8. Obtain a list of NoC modules to be passed from the source end module to the target end module in sequence according to the module interconnection matrix;
[0080] 9. According to the characteristics of the NoC module list and the position of the NoC module in the list, add feed-through signals to the signal list corresponding to each NoC module passed through;
[0081] 10. If it only passes through one NoC module, that is, there is only one element in the NoC module list, then add "feedthr_src_{signal}" to the drive signal list corresponding to the feed-through signal and mark it as dst; add "input,{width},feedthr_src_{signal}", "output,{width},{signal}_feedthr_{cur_noc}_{nxt_noc}" to the NoC new signal list;
[0082] (Where {signal} is the original signal name of the feed-through signal, dst is the module name of the target module, feedthr_src is the original input signal tag, input represents the added input signal, output represents the added output signal, {width} represents the bit width of the signal, {cur_noc} represents the current NoC in the signal list, {nxt_noc} represents the next NoC of the current NoC in the signal list, and {pre_noc} represents the previous NoC of the current NoC in the signal list.)
[0083] 11. If it passes through multiple NoC modules and this NoC module is the first module in the NoC list, add feedthr_src_{signal} to the driving signal list corresponding to the feed-through signal and mark it as dst; add "input,{width},feedthr_src_{signal}" and "output,{width},{signal}_feedthr_{cur_noc}_{nxt_noc}" to the NoC new signal list;
[0084] 12. If it passes through multiple NoC modules and this NoC module is the last module in the NoC list, add "input,{width},{signal}_feedthr_{pre_noc}_{cur_noc}" and "output,{width},feedthr_{dst}_{signal}" to the NoC new signal list;
[0085] 13. If it passes through multiple NoC modules and the NoC module is the middle module in the NoC list, add "input,{width},{signal}_feedthr_{pre_noc}_{cur_noc}" and "output,{width},{signal}_feedthr_{cur_noc}_{nxt_noc}" to the NoC new signal list;
[0086] 14. After traversing all NoCs in the NoC module list, traverse the target module list. If the module list has not been traversed, return to step 7 to loop; if the target module list has been traversed, start signal multi-drive processing;
[0087] 15. Determine whether there are multiple signals in the drive signal list corresponding to the feed-through signal (that is, whether there are signals with different names. If there are signals with different names, it means that there is a bifurcation when the source module outputs, and multiple drivers need to be processed);
[0088] 16. If there are duplicate signals, remove duplicate signals from the drive signal list except the first signal, rename them to {signal}_to_{dst}, add them to the module top-level signal list and mark them as feed-through, and add the named signals to the module multi-drive signal list to facilitate the generation of a new module top-level file later;
[0089] 17. Based on the new module top-level signal list, regenerate the feed-through signal and return to step 5 to execute again;
[0090] 18. If there is no duplicate signal, it means that the feed-through insertion of the current signal has been completed. Go to the next signal with a feed-through mark and repeat step 5 until all signals with feed-through marks of all functional modules have been traversed.
[0091] The technical features of this embodiment are:
[0092] 1. The chip layout method without chip top-level channels is adopted. The interactive signals between modules pass directly through the middle module, so that the functional modules can be directly close to each other without reserving top-level routing channels, which can reduce the chip area and reduce the complexity of implementation;
[0093] 2. Feed-through signal insertion is performed through the NoC module. The interconnection relationship of each functional module is represented by the module interconnection matrix table, which is convenient for automatic processing of computer programs. When the top-level layout changes, only the module interconnection matrix table needs to be modified and the NoC module needs to be physically re-implemented, which can insert feed-through signals more efficiently and flexibly.
[0094] 3. Automatically process and optimize multi-drive signals. By judging the path of multi-drive signals of the module and duplicating them where they need to be branched, the module input and output ports and corresponding drivers can be reduced, thus saving chip resources.
[0095] 4. By setting feed-through signal tags, setting feed-through signal line naming rules, and formulating feed-through signal insertion processes, it is easy to automatically generate feed-through signal lists, feed-through signal timing constraints, and new top-level files through computer code to improve chip implementation efficiency.
[0096] Those skilled in the art will appreciate that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, wherein the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0097] The above is only a preferred embodiment of the present invention. It should be pointed out that ordinary technicians in this technical field can make several improvements and supplements without departing from the principle of the present invention. These improvements and supplements should also be regarded as the scope of protection of the present invention.
Claims
1. A chip layout method without top-level channels, characterized in that The following steps are involved: S1. First, obtain the chip front-end design code, then physically implement each functional module in parallel, determine the layout of each functional module on the top layer of the chip according to the physical form of each functional module, obtain the on-chip interconnection network modules that need to be passed from one functional module to another, and obtain the on-chip interconnection network module matrix; S2, capture the top-level output signals of each functional module, and do not feed-through the output signals output to the adjacent functional module, and feed-through the output signals output to other than the adjacent functional module, indicating which functional module or modules the output is sent to; S3. Execute the feed-through insertion program, first automatically handle the multi-fan-out problem, and insert the feed-through signal line in the on-chip interconnect network module, then re-physically implement the on-chip interconnect network module and the functional module that needs to handle multiple drivers, and finally physically implement the top layer of the chip.
2. A chip layout method without top-level channels according to claim 1, characterized in that The following steps are also included: S4. When the chip front-end design code is updated, if the top-level layout needs to be adjusted, the on-chip interconnect network module matrix needs to be modified, the feed-through mark of the functional module signal needs to be reset, and then the feed-through insertion program is executed to insert the feed-through signal line into the on-chip interconnect network module, and the timing constraints of the feed-through signal line are automatically generated. Subsequently, only the on-chip interconnect network module and the functional modules that need to handle multiple drivers need to be physically re-implemented, and there is no need to physically re-implement different functional modules according to the adjusted layout.
3. The chip layout method without top-level channels according to claim 2, characterized in that: The feed-through tag includes an input signal / output signal tag feedthr, a clock signal tag clk, a clock signal frequency freq, and a destination module list indicating which functional module or modules the output signal is to be sent to.
4. A chip layout method without top-level channels according to claim 3, characterized in that Step S2 includes the following sub-steps: S21, first set up an on-chip interconnect network module list, and number each on-chip interconnect network module; S22, then establish a routing relationship table for characterizing the on-chip interconnection network modules that each functional module must pass through in sequence to reach another functional module; S23, extract the top-level output signal of each functional module, create an output signal list, and mark the output signal to be passed through.
5. A chip layout method without top-level channels according to claim 4, characterized in that Step S3 includes the following sub-steps: S31, traverse the top-level output signal list of each functional module, and determine the feed-through signals to be added to each on-chip interconnect network module in turn according to the feed-through signal naming rule; S32, removing duplicate feed-through signals, obtaining a list of feed-through signals added by each on-chip interconnect network module, and generating timing constraints for the feed-through signals added by the on-chip interconnect network module; S33, according to the direction of the function module output list, if the output signal of a function module is bifurcated to two function modules from the source end, it is necessary to process the multi-driver at the source end; if the output signal of a function module is bifurcated again in the next function module it passes through, then through the characteristics of the feed-through signal naming rule, the multi-driver processing is automatically performed in the next function module, and finally a multi-driver list of each function module is generated; S34. Generate a new on-chip interconnect network module top-level file based on the newly added feed-through signal list of the on-chip interconnect network module and the original on-chip interconnect network module top-level file, and generate a new functional module top-level file based on the functional module multi-drive signal list and the original functional module top-level file.
6. A chip layout method without top-level channels according to claim 5, characterized in that Step S32: The purpose of generating timing constraints for the feed-through signal added to the on-chip interconnect network module is to create a clock for the clock signal, allow the EDA tool to insert a dedicated clock buffer for the feed-through signal during physical implementation, set input delay and output delay for ordinary data signals, and ensure that the feed-through signal does not have a long route when passing through the on-chip interconnect network module.
7. A chip layout method without top-level channels according to claim 6, characterized in that Step S32 generates timing constraints for the feed-through signal added to the on-chip interconnect network module, including the following sub-steps: S321, first create a virtual clock with a lower frequency; S322, then traverse the newly added feed-through signal list of the on-chip interconnect network module, and identify the input signal / output signal tag feedthr and the clock signal tag clk keyword; S323, if the newly added feed-through signal is an output signal, set an output delay of 30% for the newly added feed-through signal; S324. If the newly added feed-through signal is an input signal, determine whether it contains the clock signal tag clk keyword. If not, set a 30% input delay for the newly added feed-through signal. If so, create a clock based on the newly added feed-through signal name and the clock signal frequency freq.
