A method and device for protecting IP digital port data transmission
By generating halo areas and adding buffer units in the chip design, the problem of excessive conversion time of IP digital port signal is solved, more efficient data transmission is achieved, and signal integrity is improved.
Patent Information
- Application Number
- CN202410562563.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-05-08
AI Technical Summary
In chip design, the IP timing model is not accurate enough, the standard unit density is too large and the wiring is too large, resulting in a long signal conversion time, affecting the signal transmission quality. It is difficult for the existing technology to effectively solve the transition problem of IP digital ports through automatic layout and wiring.
Generate halo area at the edge of the IP, prohibit the placement of any module, obtain and judge the digital port, place buffer units at the edge of the halo area, and connect it with the digital port, add the don't touch attribute to prevent subsequent deletion, and ensure the buffer unit Direct interconnection with IP reduces the impact of interconnection line capacitance and resistance.
By setting the halo area and adding buffer units, the transition of the IP digital port is effectively reduced, the effective progress of data transmission is protected, the problems of too long connections and insufficient driving capabilities caused by too long distances are avoided, and signal integrity is improved .
Smart Images

Figure CN118607461B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of integrated circuit technology, and in particular to a method and device for protecting IP digital port data transmission. Background Art
[0002] Some IPs are often needed in chip design. In the back-end design, the data interaction between IP and digital circuits is usually physically realized through the automatic layout and routing of EDA tools. The results of layout and routing determine the quality of data interaction.
[0003] Signal transition time refers to the time it takes for voltage to change from high (logic-1) to low (logic-0) or from low to high. There are many factors that lead to longer signal transition time, such as driving capability, load size, interconnect length, etc. Longer signal transition time will lead to poor signal transmission quality and affect signal integrity. In the automated layout and routing process, EDA tools automatically select appropriate standard cells between IP ports and digital modules based on the timing model of IP to implement data interaction between IP and digital modules. However, in the actual chip design and implementation process, some problems are often encountered, such as the IP timing model is not accurate enough, the density of standard cells near IP is too high, and there are too many traces near IP, which may make it impossible for the tool to effectively solve the problem of excessive IP digital port transition through automatic layout and routing. Summary of the invention
[0004] The present application provides a method and device for protecting data transmission on an IP digital port, which can effectively reduce the transition of the IP digital port and protect the effective transmission of data on the IP digital port.
[0005] In a first aspect, an embodiment of the present application provides a method for protecting data transmission on an IP digital port, comprising:
[0006] A halo area is generated at the edge of the IP. No modules are allowed to be placed in the halo area.
[0007] Get each digital port of IP and the corresponding port position;
[0008] Determine whether each digital port is an input port or an output port;
[0009] Place the first buffer unit at the edge of the halo area at the position corresponding to each input port, and connect the input port and the corresponding first buffer unit; place the second buffer unit at the edge of the halo area at the position corresponding to each output port, and connect the output port and the corresponding second buffer unit.
[0010] Furthermore, the method further comprises:
[0011] A don't touch attribute is added to each first buffer unit and each second buffer unit.
[0012] Furthermore, the width of the halo region is obtained according to the design rule file.
[0013] Furthermore, the driving capability of the first buffer unit is greater than that of the second buffer unit.
[0014] In a second aspect, an embodiment of the present application provides a protection device for IP digital port data transmission, including:
[0015] Generate a module, which is used to generate a halo area at the edge of the IP. No modules are allowed to be placed in the halo area.
[0016] The acquisition module is used to obtain each digital port of the IP and the corresponding port position;
[0017] A judgment module, used for judging whether each digital port is an input port or an output port;
[0018] A first placement module is used to place first buffer units at positions corresponding to the input ports at the edges of the halo area, and connect the input ports and the corresponding first buffer units;
[0019] The second placement module is used to place second buffer units at positions corresponding to the output ports at the edges of the halo area, and to connect the output ports and the corresponding second buffer units.
[0020] Furthermore, the device also includes an attribute adding module, which is used to add a don't touch attribute to each first buffer unit.
[0021] Furthermore, the attribute adding module is further used to add a don't touch attribute to each second buffer unit.
[0022] In a third aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for protecting IP digital port data transmission in any of the above embodiments are performed.
[0023] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a method for protecting IP digital port data transmission as in any of the above embodiments.
[0024] In summary, compared with the prior art, the technical solution provided in the embodiment of the present application has at least the following beneficial effects:
[0025] An embodiment of the present application provides a method for protecting data transmission of an IP digital port. Before the EDA tool performs automatic layout and routing, a halo area is first set to prevent standard cells and IP from being placed too close and too densely. Secondly, a corresponding buffer unit is added to each digital port of the IP, so that the direct data interaction between the IP and the digital logic is converted into data interaction between the IP and the digital logic through the buffer unit, thereby ensuring that the IP digital port and the corresponding buffer unit are connected one by one, and placing the buffer unit at the edge of the halo area and at the position corresponding to the digital port can avoid excessively long wiring due to excessive distance, and reduce the influence of interconnection line capacitance and resistance on signal conversion. The above method effectively reduces the transition of the IP digital port and protects the effective transmission of data on the IP digital port. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A schematic diagram of signal conversion time provided for an exemplary embodiment of the present application.
[0027] Figure 2 A structural diagram of a driving end provided for an exemplary embodiment of the present application.
[0028] Figure 3 An IP connection diagram without a buffer unit is provided for an exemplary embodiment of the present application.
[0029] Figure 4 A flowchart of a method for protecting IP digital port data transmission is provided as an exemplary embodiment of the present application.
[0030] Figure 5 An IP schematic diagram of a one-to-one port connection buffer unit provided for an exemplary embodiment of the present application.
[0031] Figure 6 A flowchart of a method for protecting IP digital port data transmission is provided as another exemplary embodiment of the present application.
[0032] Figure 7 A structural diagram of a protection device for IP digital port data transmission provided as an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0033] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0034] Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative work shall fall within the scope of protection of this application.
[0035] In actual chip design, due to the limitations of various factors such as chip area size and layout planning, there is often a certain distance between the placement of IP and the digital modules that interact with it. During automated layout and routing, EDA tools usually place some related digital modules near the IP, or establish a buffer tree composed of buffer units between the IP and the digital modules. However, in either case, EDA tools often cannot guarantee that a relatively good data transmission path can be established between the IP digital port and the digital module, especially the part where the IP digital port is directly connected to the digital logic. It is common to see that the IP port is directly connected to the combinational logic, the buffer automatically added by the tool is unreasonable, and the interconnection line at the IP port is too long, which will lead to insufficient driving capability and affect data transmission. Therefore, taking protective measures for the transmission of the IP digital port before automated layout and routing can better avoid unexpected negative situations.
[0036] See also Figure 1 The signal transition time refers to the transition time from high (logic-1) to low (logic-0) or from low to high. Here, from high to low usually refers to from 70% to 30% of the supply voltage Vdd. Assuming that a digital signal voltage changes from 70% Vdd to 30% Vdd after Tfall time, the transition time from high to low of this signal is Tfall. If the signal transition time becomes longer, the quality of signal transmission will deteriorate, affecting the signal integrity.
[0037] In the actual chip design and implementation process, some problems are often encountered, such as the IP timing model is not accurate enough, the density of standard cells near the IP is too high, and there are too many traces near the IP, which may make the tool unable to effectively solve the transition problem of the IP digital port through automatic layout and routing. Specifically, when the tool automatically places and routes, the output port of an IP may drive multiple standard cells, or a standard cell may drive the IP port and other buffer cells at the same time, that is, a one-to-many situation. The length of the interconnection line when one-to-many is connected is usually longer than when one-to-one, thereby increasing the signal conversion time.
[0038] In addition to wiring problems, the main reasons for the increase in transition time are weak driving ability and excessive load on the driver side. Figure 2 As shown, the output end of G1 is connected to G2, G3, and G4, so the load capacitance of G1 is:
[0039] Total cap(Output G1)=Cout(G1)+Cin(G2)+Cin(G3)+Cin(G4)+Cs1+Cs2+Cs3+Cs4.
[0040] Among them, Cout(G1) is the output capacitance of G1, Cin(G2), Cin(G3), Cin(G4) are the input capacitance of the unit, and Cs1, Cs2, Cs3, Cs4 are the interconnection capacitance. When the unit G1 performs high-low conversion, these capacitors need to be charged and discharged, so the larger the load capacitance of G1, the slower the high-low conversion of G1.
[0041] In actual chip design, when the digital port of IP is directly connected to the digital logic, such as Figure 3 As shown in the figure. For the input port, it is directly driven by the gate unit, but the gate unit driving capability is relatively weak compared to the IP, resulting in a large transition at the IP port. For the output port, the IP directly drives the gate unit, the load capacitance is large, and a large transition also occurs.
[0042] See also Figure 4 To solve the above problems, the present application provides a method for protecting data transmission on an IP digital port, which may include the following steps:
[0043] Step S1, generate a halo area at the edge of the IP, and no module is allowed to be placed in the halo area.
[0044] Among them, the width of the halo area is obtained according to the design rule file.
[0045] The size of the halo area is generally determined by the design requirements of the specific process, and will be described in the design rule file. For example, if a minimum distance x is required, standard cells cannot be placed within the range of x from the IP.
[0046] Step S2, obtaining each digital port of the IP and the corresponding port position.
[0047] Step S3, determining whether each digital port is an input port or an output port.
[0048] See also Figure 5 , where the orange area is the halo area, the gray area is the IP, and the yellow triangle is the digital port.
[0049] Step S4, placing first buffer units at positions corresponding to the input ports at the edges of the halo area, and connecting the input ports and the corresponding first buffer units.
[0050] Step S5, placing second buffer units at positions corresponding to the output ports at the edges of the halo area, and connecting the output ports and the corresponding second buffer units.
[0051] Specifically, see Figure 6 You can also place the buffer unit at the corresponding port position first. In this case, the placement of the buffer unit will actually overlap with the IP, which does not meet the design requirements. Then adjust the added buffer unit through the script so that the final buffer unit is placed outside the halo area and has the shortest distance from the connected digital port, further realizing the shortest interconnection line between the buffer unit and the IP port.
[0052] The above embodiment provides a method for protecting data transmission of IP digital ports. Before the EDA tool performs automatic layout and routing, first, a halo area is set to prevent standard cells and IP from being placed too close and too densely. Secondly, a corresponding buffer unit is added to each digital port of the IP, so that the direct data interaction between the IP and the digital logic is transformed into data interaction between the IP and the digital logic through the buffer unit, ensuring that the IP digital port and the corresponding buffer unit are connected one by one, and placing the buffer unit at the edge of the halo area and the position corresponding to the digital port can avoid excessive connection length due to excessive distance, and reduce the influence of interconnection line capacitance and resistance on signal conversion; the above method effectively reduces the transition of the IP digital port and protects the effective data transmission of the IP digital port.
[0053] In some embodiments, the method further comprises:
[0054] A don't touch attribute is added to each first buffer unit and each second buffer unit.
[0055] This can prevent subsequent EDA tools from deleting these pre-added buffer cells during the automatic layout and routing process.
[0056] In some embodiments, the driving capability of the first buffer unit is greater than that of the second buffer unit.
[0057] Specifically, the first buffer unit may be BUFx6, and the second buffer unit may be BUFx4.
[0058] The standard unit is made by the process factory, which will provide relevant supporting process files, and each standard unit will have a corresponding description. BUFx4 is a buffer unit with a smaller driving load, which is convenient for being driven by the output port of the IP. BUFx6 is a buffer unit with a larger driving capacity, which is convenient for driving the input port of the IP.
[0059] The values 4 and 6 are not fixed. When associated with a specific process, the selection of the buffer unit should be determined according to the actual use effect. This effect can be judged by the signal conversion time reported by the EDA tool.
[0060] The above embodiment uses the buffer unit BUFx6 with a larger driving capability to drive the input port; and the output port uses the BUFx4 with a smaller input capacitance, which can further reduce the driving load of the IP port and shorten the signal conversion time.
[0061] See also Figure 7 Another embodiment of the present application provides a protection device for IP digital port data transmission, including:
[0062] The generation module 101 is used to generate a halo area at the edge of the IP. No module is allowed to be placed in the halo area.
[0063] The acquisition module 102 is used to acquire each digital port of the IP and the corresponding port position.
[0064] The determination module 103 is used to determine whether each digital port is an input port or an output port.
[0065] The first placement module 104 is used to place first buffer units at positions corresponding to the input ports at the edges of the halo area, and to connect the input ports and the corresponding first buffer units.
[0066] The second placement module 105 is used to place second buffer units at positions corresponding to the output ports at the edges of the halo area, and to connect the output ports and the corresponding second buffer units.
[0067] Furthermore, the device also includes an attribute adding module, which is used to add a don't touch attribute to each first buffer unit.
[0068] Furthermore, the attribute adding module is further used to add a don't touch attribute to each second buffer unit.
[0069] The specific definition of a protection device for IP digital port data transmission provided in this embodiment can be found in the above embodiment of a protection method for IP digital port data transmission, which will not be repeated here. Each module in the above-mentioned protection device for IP digital port data transmission can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0070] An embodiment of the present application provides a computer device, which may include a processor, a memory, a network interface and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, the processor executes the steps of a method for protecting IP digital port data transmission as in any of the above embodiments.
[0071] The working process, working details and technical effects of the computer device provided in this embodiment can be found in the above embodiment of a method for protecting IP digital port data transmission, which will not be described in detail here.
[0072] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of a method for protecting IP digital port data transmission as in any of the above embodiments are implemented. The computer-readable storage medium refers to a carrier for storing data, which may include but is not limited to a floppy disk, an optical disk, a hard disk, a flash memory, a USB flash drive and / or a memory stick, etc. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The working process, working details and technical effects of the computer-readable storage medium provided in this embodiment can be found in the above embodiment of a method for protecting IP digital port data transmission, which will not be repeated here.
[0073] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0074] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0075] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for protecting IP digital port data transmission, characterized in that: include: Generate a halo area at the edge of the IP, where no modules are allowed to be placed. Obtain each digital port of the IP and the corresponding port position; Determining whether each of the digital ports is an input port or an output port; Placing first buffer units at the edges of the halo area, at positions corresponding to the input ports, and connecting the input ports to the corresponding first buffer units; A second buffer unit is placed at a position corresponding to each output port at the edge of the halo area, and the output port and the corresponding second buffer unit are connected.
2. The method for protecting IP digital port data transmission according to claim 1, characterized in that: Also includes: A don't touch attribute is added to each of the first buffer units and each of the second buffer units.
3. The method for protecting IP digital port data transmission according to claim 1, characterized in that: The width of the halo region is obtained according to a design rule file.
4. The method for protecting IP digital port data transmission according to claim 1, characterized in that: The driving capability of the first buffer unit is greater than that of the second buffer unit.
5. A protection device for IP digital port data transmission, characterized in that: include: A generation module is used to generate a halo area at the edge of the IP, where no module is allowed to be placed; An acquisition module, used to acquire each digital port of the IP and the corresponding port position; A determination module, configured to determine whether each digital port is an input port or an output port; A first placement module is configured to place first buffer units at positions corresponding to respective input ports at the edges of the halo area, and connect the input ports to the corresponding first buffer units; The second placement module is used to place second buffer units at positions corresponding to the output ports at the edges of the halo area, and connect the output ports and the corresponding second buffer units.
6. The protection device for IP digital port data transmission according to claim 5, characterized in that: It also includes an attribute adding module, which is used to add a don't touch attribute to each of the first buffer units.
7. The protection device for IP digital port data transmission according to claim 6, characterized in that: The attribute adding module is further configured to add a don't touch attribute to each of the second buffer units.
8. The protection device for IP digital port data transmission according to claim 5, characterized in that: The width of the halo region is obtained according to a design rule file.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method for protecting IP digital port data transmission as claimed in any one of claims 1 to 4 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for protecting IP digital port data transmission as claimed in any one of claims 1 to 4 are implemented.
