Chip design method and device and terminal equipment

By automatically determining the chip module interface connection method and register location, the problem of low chip layout and timing accuracy is solved, and the accuracy of design results is improved.

CN118940709AInactive Publication Date: 2024-11-12XIAMEN UNISOC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410986204.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

There are errors in the adjustment of module layout and connection methods in the chip, resulting in low layout and timing accuracy.

Method used

By obtaining chip design requests, including module interface identification, associated interface, target area and tap register location, the module interface connection method, target area connection information and register location information are automatically determined, and the chip design results are generated to avoid human adjustments.

Benefits of technology

Improves the accuracy of chip layout and timing, and reduces connection method errors and route distance errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940709A_ABST
    Figure CN118940709A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a chip design method and device and terminal equipment. The method comprises the following steps: acquiring a chip design request, wherein the chip design request comprises an identifier of each module interface in a chip, at least one associated interface corresponding to each module interface, at least one target area and a first position of at least one beat register; determining a connection mode of each module interface in the chip according to the identifier of each module interface in the chip and at least one associated interface corresponding to each module interface; according to the connection mode of each module interface in the chip, determining connection information in the at least one target area; determining register position information according to the connection mode of each module interface in the chip and the first position of the at least one beat register; and determining a chip design result according to the connection mode of each module interface in the chip, the connection information in the at least one target area and the register position information. And the accuracy of determining the chip layout and the time sequence is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of chip technology, and in particular to a chip design method, device and terminal equipment. Background Art

[0002] After the functions of each module in the chip are determined, the layout and connection method of each module in the chip need to be determined. In this way, the chip design scheme can be determined according to the layout and connection method of each module in the chip, so as to produce the chip.

[0003] In the actual application process, after each module in the chip is determined and the simulation test is completed, the layout and connection method of each module in the chip can be automatically generated through the simulation tool. The front-end engineer can manually adjust the layout and connection method of each module in the chip to obtain the adjusted layout and connection method. The back-end engineer can determine the physical layout and routing method of the chip based on the adjusted layout and connection method, and then produce the chip. In the above process, due to the manual adjustment of the layout and connection method of each module in the chip, the adjusted layout and connection method are used for chip production. There may be statistical errors such as errors in the connection method or errors in the distance of the connection route, resulting in low accuracy in determining the chip layout and timing. Summary of the invention

[0004] Embodiments of the present application provide a chip design method, apparatus, and terminal device to solve the problem of low accuracy in determining chip layout and timing.

[0005] In a first aspect, an embodiment of the present application provides a chip design method, comprising:

[0006] Obtaining a chip design request, wherein the chip design request includes an identifier of each module interface in the chip, at least one associated interface corresponding to each module interface, at least one target area, and a first position of at least one beat register;

[0007] Determining a connection mode of each module interface in the chip according to an identifier of each module interface in the chip and at least one associated interface corresponding to each module interface;

[0008] Determining connection information in the at least one target area according to a connection mode of each module interface in the chip;

[0009] Determining register position information according to the connection mode of each module interface in the chip and the first position of the at least one beat register;

[0010] A chip design result is determined according to the connection mode of each module interface in the chip, the connection information in the at least one target area, and the register location information.

[0011] In a possible implementation, for any module interface, determining a connection mode of the module interface according to an identifier of each module interface in the chip and at least one associated interface corresponding to the module interface includes:

[0012] For any associated interface, obtaining a connection condition of the associated interface corresponding to the module interface, the connection condition including at least one first area between the associated interface and the module interface, and a location type of each first area;

[0013] According to the connection condition, the module interface and the associated interface are connected to obtain a connection route corresponding to the associated interface and a target distance between the module interface and the associated interface, wherein the connection route includes at least one second position, and the position type of the second position is an allowed routing type;

[0014] Determining the connection mode of the module interface includes at least one associated interface, and a connection route and a target distance corresponding to each associated interface.

[0015] In a possible implementation, performing connection processing on the module interface and the associated interface according to the connection condition to obtain a connection route corresponding to the associated interface includes:

[0016] Determine at least one to-be-selected area in the at least one first area according to the location type of each area in the connection condition, wherein the location type of the to-be-selected area is the allowed routing type;

[0017] In the at least one to-be-selected area, determining a minimum distance between the module interface and the associated interface;

[0018] The route corresponding to the minimum distance is determined as the connection route corresponding to the associated interface, and the minimum distance is determined as the target distance between the module interface and the associated interface.

[0019] In a possible implementation manner, for any target area, determining connection information in the target area according to the connection mode of each module interface in the chip includes:

[0020] According to the connection mode of each module interface in the chip, determining at least one connection route corresponding to each module interface in the target area;

[0021] The connection information is determined to include a target number of the at least one connection route and a module interface corresponding to each connection route.

[0022] In a possible implementation, determining register position information according to a connection mode of each module interface in the chip and a first position of the at least one beat register includes:

[0023] Determining the connection routes of the module interfaces according to the connection modes of the module interfaces in the chip;

[0024] In the connection routes of each module interface, determining at least one target route according to the first position of the at least one beat register;

[0025] The register position information is determined based on the first position of the at least one beat register and the at least one target route.

[0026] In a possible implementation, determining the register position information according to the first position of the at least one beat register and the at least one target route includes:

[0027] For any target route, determining a first number of at least one beat register corresponding to the target route according to a first position of the at least one beat register;

[0028] Determining a target distance corresponding to the target route;

[0029] Determine, according to the target distance and the first number, a register type of at least one beat register corresponding to the target route, wherein the register type is used to indicate the number of beats of the beat register within a processing cycle;

[0030] Determining a target position of the at least one beat register according to a target distance of the target route and a register type of the at least one beat register corresponding to the target route;

[0031] Determining the register position information includes at least one beat register corresponding to each target route, a register type and a target position of each beat register.

[0032] In a possible implementation, determining the target position of the at least one beat register according to the target distance of the target route and the register type of the at least one beat register corresponding to the target route includes:

[0033] Get the preset quantity and preset position;

[0034] If the first number is a preset number, then in the target route, determining the preset position as the target position of the at least one beat register;

[0035] If the first number is not a preset number, then in the target route, a target position of the at least one beat register is determined according to the target distance and the register type.

[0036] In a possible implementation, determining a chip design result according to a connection mode of each module interface in the chip, connection information in the at least one target area, and the register location information includes:

[0037] Acquire a first image corresponding to the chip, the first image comprising at least one first area, a third position of each first area in the first image, and a position type of each third position, the first area comprising the at least one module interface;

[0038] Processing the first image according to the connection mode of each module interface in the chip, the connection information in the at least one target area, and the register position information to obtain a target image;

[0039] Determine that the chip design result includes the target image.

[0040] In a second aspect, an embodiment of the present application provides a chip design device, the device comprising:

[0041] An acquisition module, used for acquiring a chip design request, wherein the chip design request includes an identifier of each module interface in the chip, at least one associated interface corresponding to each module interface, at least one target area, and a first position of at least one beat register;

[0042] A first determining module, configured to determine a connection mode of each module interface in the chip according to an identifier of each module interface in the chip and at least one associated interface corresponding to each module interface;

[0043] A second determining module, configured to determine connection information in the at least one target area according to a connection mode of each module interface in the chip;

[0044] A third determining module, configured to determine register position information according to a connection mode of each module interface in the chip and a first position of the at least one beat register;

[0045] The fourth determination module is used to determine the chip design result according to the connection mode of each module interface in the chip, the connection information in the at least one target area, and the register location information.

[0046] In a possible implementation manner, the first determining module is specifically configured to:

[0047] For any associated interface, obtaining a connection condition of the associated interface corresponding to the module interface, the connection condition including at least one first area between the associated interface and the module interface, and a location type of each first area;

[0048] According to the connection condition, the module interface and the associated interface are connected to obtain a connection route corresponding to the associated interface and a target distance between the module interface and the associated interface, wherein the connection route includes at least one second position, and the position type of the second position is an allowed routing type;

[0049] Determining the connection mode of the module interface includes at least one associated interface, and a connection route and a target distance corresponding to each associated interface.

[0050] In a possible implementation manner, the first determining module is specifically configured to:

[0051] Determine at least one to-be-selected area in the at least one first area according to the location type of each area in the connection condition, wherein the location type of the to-be-selected area is the allowed routing type;

[0052] In the at least one to-be-selected area, determining a minimum distance between the module interface and the associated interface;

[0053] The route corresponding to the minimum distance is determined as the connection route corresponding to the associated interface, and the minimum distance is determined as the target distance between the module interface and the associated interface.

[0054] In a possible implementation manner, the second determining module is specifically configured to:

[0055] According to the connection mode of each module interface in the chip, determining at least one connection route corresponding to each module interface in the target area;

[0056] The connection information is determined to include a target number of the at least one connection route and a module interface corresponding to each connection route.

[0057] In a possible implementation manner, the third determining module is specifically configured to:

[0058] Determining the connection routes of the module interfaces according to the connection modes of the module interfaces in the chip;

[0059] In the connection routes of each module interface, determining at least one target route according to the first position of the at least one beat register;

[0060] The register position information is determined based on the first position of the at least one beat register and the at least one target route.

[0061] In a possible implementation manner, the third determining module is specifically configured to:

[0062] For any target route, determining a first number of at least one beat register corresponding to the target route according to a first position of the at least one beat register;

[0063] Determining a target distance corresponding to the target route;

[0064] Determine, according to the target distance and the first number, a register type of at least one beat register corresponding to the target route, wherein the register type is used to indicate the number of beats of the beat register within a processing cycle;

[0065] Determining a target position of the at least one beat register according to a target distance of the target route and a register type of the at least one beat register corresponding to the target route;

[0066] Determining the register position information includes at least one beat register corresponding to each target route, a register type and a target position of each beat register.

[0067] In a possible implementation manner, the third determining module is specifically configured to:

[0068] Get the preset quantity and preset position;

[0069] If the first number is a preset number, then in the target route, determining the preset position as the target position of the at least one beat register;

[0070] If the first number is not a preset number, then in the target route, a target position of the at least one beat register is determined according to the target distance and the register type.

[0071] In a possible implementation manner, the fourth determining module is specifically configured to:

[0072] Acquire a first image corresponding to the chip, the first image comprising at least one first area, a third position of each first area in the first image, and a position type of each third position, the first area comprising the at least one module interface;

[0073] Processing the first image according to the connection mode of each module interface in the chip, the connection information in the at least one target area, and the register position information to obtain a target image;

[0074] Determine that the chip design result includes the target image.

[0075] In a third aspect, the present application provides a chip having a computer program stored thereon, wherein when the computer program is executed by the chip, the method as described in any one of the first aspects is implemented.

[0076] In a fourth aspect, the present application provides a chip module having a computer program stored thereon, wherein when the computer program is executed by the chip module, the method as described in any one of the first aspects is implemented.

[0077] In a fifth aspect, an embodiment of the present application provides a terminal device, including:

[0078] at least one processor; and

[0079] a memory communicatively connected to the at least one processor; wherein,

[0080] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform any method described in the first aspect.

[0081] In a sixth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute any one of the methods in the first aspect.

[0082] In a seventh aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements any method in the first aspect when executed by a processor.

[0083] The chip design method, device and terminal device provided in the embodiment of the present application obtain a chip design request, which includes the identification of each module interface in the chip, at least one associated interface corresponding to each module interface, at least one target area, and the first position of at least one beat register. According to the identification of each module interface in the chip and at least one associated interface corresponding to each module interface, the connection mode of each module interface in the chip is determined. According to the connection mode of each module interface in the chip, the connection information in at least one target area is determined. According to the connection mode of each module interface in the chip and the first position of at least one beat register, the register position information is determined. According to the connection mode of each module interface in the chip, the connection information in at least one target area, and the register position information, the chip design result is determined. In the above process, according to the chip design request, the connection mode of each module interface in the chip and the first position of at least one beat register can be automatically obtained, the register position information is determined, and the chip design result is generated. Avoiding artificial adjustment of the layout and connection mode of each module in the chip improves the accuracy of determining the chip layout and timing. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present application;

[0085] Figure 2 A schematic diagram of a chip design method provided in an embodiment of the present application;

[0086] Figure 3 A schematic diagram of a process for obtaining a chip design request provided in an embodiment of the present application;

[0087] Figure 4 A schematic diagram of another chip design method provided in an embodiment of the present application;

[0088] Figure 5A A schematic diagram of a process for determining a connection route and a target distance provided in an embodiment of the present application;

[0089] Figure 5B A schematic diagram of a process for determining a connection route and a target distance provided in an embodiment of the present application;

[0090] Figure 6 A schematic diagram of a process for determining connection information in at least one target area provided in an embodiment of the present application;

[0091] Figure 7 A schematic diagram of a process for determining register location information provided in an embodiment of the present application;

[0092] Figure 8 A schematic diagram of a process for determining a chip design result provided in an embodiment of the present application;

[0093] Fig. 9 A schematic diagram of a chip design process provided in an embodiment of the present application;

[0094] Fig.10 A schematic diagram of the structure of a chip design device provided in an embodiment of the present application;

[0095] Fig.11 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0096] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0097] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0098] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0099] For ease of understanding, below, combined Figure 1 , the application scenarios to which the embodiments of the present application are applicable are described.

[0100] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1, including a terminal device 101. The terminal device 101 may be a computer, and a simulation tool is provided in the terminal device 101. After the user determines the functions corresponding to the modules in the chip, the user may use the simulation tool of the terminal device 101 to perform simulation tests on the functions corresponding to the modules in the chip, and generate the layout and connection mode of the modules in the chip. In this way, the chip may be generated according to the layout and connection mode of the modules in the chip.

[0101] In actual application, after each module in the chip is determined and the simulation test is completed, the layout and connection method of each module in the chip can be automatically generated through the simulation tool. The front-end engineer can manually adjust the layout and connection method of each module in the chip to obtain the adjusted layout and connection method. In the above process, since the layout and connection method of each module in the chip are manually adjusted, the adjusted layout and connection method are used for chip production. There may be statistical errors such as errors in the connection method or errors in the distance of the connection route, resulting in low accuracy in determining the chip layout and timing.

[0102] In the embodiment of the present application, a chip design request is obtained, and the chip design request includes the identification of each module interface in the chip, at least one associated interface corresponding to each module interface, at least one target area, and the first position of at least one beat register. According to the identification of each module interface in the chip, and at least one associated interface corresponding to each module interface, the connection mode of each module interface in the chip is determined. According to the connection mode of each module interface in the chip, the connection information in at least one target area is determined. According to the connection mode of each module interface in the chip and the first position of at least one beat register, the register position information is determined. According to the connection mode of each module interface in the chip, the connection information in at least one target area, and the register position information, the chip design result is determined. In the above process, according to the chip design request, the connection mode of each module interface in the chip and the first position of at least one beat register can be automatically obtained, the register position information is determined, and the chip design result is generated. Avoiding artificial adjustment of the layout and connection mode of each module in the chip improves the accuracy of determining the chip layout and timing.

[0103] The method shown in the present application is described below through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.

[0104] Figure 2 A schematic diagram of a chip design method provided in an embodiment of the present application. Figure 2 , the method may include:

[0105] S201. Obtain a chip design request.

[0106] The chip design request includes an identifier of each module interface in the chip, at least one associated interface corresponding to each module interface, at least one target area, and a first position of at least one beat register.

[0107] The execution subject of the embodiment of the present application may be a terminal device, or a chip, a chip module, or a chip design device set in the terminal device. The chip design device may be implemented by software, or by a combination of software and hardware. The terminal device may be a mobile phone, a tablet computer, etc.

[0108] In the page provided by the terminal device, the user can determine the identifier of each module interface in the chip, at least one associated interface corresponding to each module interface, at least one target area, and the first position of at least one beat register according to the configuration information and simulation results of the chip simulation. The terminal device generates a chip design request in response to the user's input selection operation.

[0109] Next, combine Figure 3 , describes the process of obtaining a chip design request. Figure 3 A schematic diagram of the process of obtaining a chip design request provided in an embodiment of the present application. Figure 3 , including interfaces 301 and 302. Interfaces 301 and 302 may be pages provided by the terminal device. Referring to interface 301, the user clicks the icon corresponding to the design application in the terminal device, and the terminal device displays the operation page in response to the user's click operation. The operation page includes a drop-down selection menu corresponding to the chip, a drop-down selection menu corresponding to at least one target area, a drop-down selection menu corresponding to at least one beat register position, and a text input box.

[0110] Please refer to page 302. The user determines that the chip to be designed is chip A in the drop-down selection menu corresponding to the chip, determines that the target area is area A1 in the drop-down selection menu corresponding to target area 1, determines that the target area is area A2 in the drop-down selection menu corresponding to target area 2, determines that the first position of the beat register is position A1 in the drop-down selection menu corresponding to beat register position 1, and clicks the OK icon. In response to the user's input selection operation, the terminal device obtains the identifier of each module interface in chip A and at least one associated interface corresponding to each module interface. And based on the identifier of each module interface in chip A, at least one associated interface corresponding to each module interface, area A1, area A2 and position A1, a chip design request is generated. The terminal device determines that the chip design request can be specifically as shown in Table 1:

[0111] Table 1

[0112] chip Chip A Each module interface Module interface A1, module interface A2, module interface A3 Associated interface of module interface A1 Module interface A2, module interface A3 Module interface A2 associated interface Module interface A1 Module interface A3 associated interface Module interface A1 Target area Area A1, Area A2 First Position Position A1 of beat register A1

[0113] S202: Determine a connection mode of each module interface in the chip according to an identifier of each module interface in the chip and at least one associated interface corresponding to each module interface.

[0114] For any module interface, the connection mode of the module interface in the chip can be determined according to the identifier of the module interface in the chip and at least one associated interface corresponding to the module interface in the following manner: for any associated interface, obtain the connection condition of the associated interface corresponding to the module interface, the connection condition includes at least one first area between the associated interface and the module interface, and the location type of each first area; according to the connection condition, perform connection processing on the module interface and the associated interface to obtain the connection route corresponding to the associated interface and the target distance between the module interface and the associated interface, the connection route includes at least one second position, and the location type of the second position is an allowed routing type; determine that the connection mode of the module interface includes at least one associated interface, and the connection route and target distance corresponding to each associated interface.

[0115] The location type can be a permitted routing type or a prohibited routing type. The connection conditions of each associated interface can be set in advance, and the connection conditions of each associated interface can be stored in a preset storage space of the terminal device.

[0116] For example, according to the above Table 1, the associated interface of module interface A2 is module interface A1. The connection conditions for the terminal device to obtain module interface A1 may be specifically as shown in Table 2:

[0117] Table 2

[0118] area Location Type Area A21 Allowed routing types Area A22 Allowed routing types Area A23 Not allowed routing type

[0119] As shown in Table 2, it is determined that the location type of position A21 is a type that allows routing, then it can be determined that a connection route can exist in area A21. It is determined that the location type of position A23 is a type that does not allow routing, then it can be determined that no connection route can exist in area A21. When the connection route needs to pass through area A23, it cannot pass through area A23, and can be connected from the adjacent area of ​​area A23, where the location type is determined to be a type that allows routing. The terminal device performs connection processing on module interface A2 and module interface A1 according to the connection conditions, and obtains the connection route corresponding to module interface A1 as connection route A1. The connection route includes positions A21 to A29, and the location type of each position is a type that allows routing. According to the connection route, the target distance between the module interface and the associated interface is determined to be distance A2. The terminal device determines that the connection method of module interface A2 includes module interface A1, and the connection route A1 and target distance A1 corresponding to module interface A1.

[0120] S203: Determine connection information in at least one target area according to the connection mode of each module interface in the chip.

[0121] For any target area, the connection information in the target area can be determined according to the connection method of each module interface in the chip in the following manner: according to the connection method of each module interface in the chip, at least one connection route corresponding to each module interface in the target area is determined; the connection information is determined to include a target number of at least one connection route, and the module interface corresponding to each connection route.

[0122] For example, according to the above Table 1, it is determined that at least one target area includes area A1 and area A2. According to the connection mode of each module interface in the chip, the connection information can be specifically determined as shown in Table 3:

[0123] Table 3

[0124]

[0125] S204: Determine register position information according to the connection mode of each module interface in the chip and the first position of at least one beat register.

[0126] The register position information can be determined according to the connection mode of each module interface in the chip and the first position of at least one beat register in the following manner: determine the connection route of each module interface according to the connection mode of each module interface in the chip; determine at least one target route among the connection routes of each module interface according to the first position of at least one beat register; determine the register position information according to the first position of at least one beat register and at least one target route.

[0127] The beat register may be a beat register (Pipeline). The number of beat registers and the target route where the beat registers are located may be determined according to the functional requirements of each module of the chip.

[0128] For example, according to the above example, it is necessary to set the beat register A1 to determine the connection route A1 between the interface module A1 and the interface module A2, and the first position corresponding to the beat register A1 is position A1. Therefore, the terminal device determines that the target route is the connection route A1. According to the target distance, timing and frequency information of the connection route A1, the target position of the beat register is determined to be the first position A1, and the register type of the beat register A1 is the level 1 type. The register position information may include the beat register A1, the level 1 type, and the target position A1 of the beat register A1.

[0129] S205: Determine a chip design result according to the connection mode of each module interface in the chip, the connection information in at least one target area, and the register location information.

[0130] It can be determined that the chip design result includes the connection mode of each module interface in the chip, the connection information in at least one target area, and the register location information.

[0131] After the chip design result is determined, the chip design result can be stored in a preset storage area. In this way, the user can obtain the chip design result from the preset storage area and adjust the internal layout and connection mode of the chip according to the chip design result, or directly produce the chip.

[0132] The chip design method provided in the embodiment of the present application obtains a chip design request. According to the identification of each module interface in the chip and at least one associated interface corresponding to each module interface, the connection mode of each module interface in the chip is determined. According to the connection mode of each module interface in the chip, the connection information in at least one target area is determined. According to the connection mode of each module interface in the chip and the first position of at least one beat register, the register position information is determined. According to the connection mode of each module interface in the chip, the connection information in at least one target area, and the register position information, the chip design result is determined. In the above process, the connection mode of each module interface in the chip and the first position of at least one beat register can be automatically obtained according to the chip design request, the register position information is determined, and the chip design result is generated. Avoiding artificial adjustment of the layout and connection mode of each module in the chip improves the accuracy of determining the chip layout and timing.

[0133] Based on any of the above embodiments, Figure 4 , explaining the detailed process of chip design.

[0134] Figure 4 A flowchart of another chip design method provided in an embodiment of the present application. Figure 4 , the method comprising:

[0135] S401: Obtain a chip design request.

[0136] It should be noted that the execution process of S401 can refer to S201 and will not be repeated here.

[0137] S402: For any module interface, obtain the connection condition of the associated interface corresponding to the module interface.

[0138] The connection condition includes at least one first region between the association interface and the module interface, and a location type of each first region.

[0139] After obtaining the chip design request, the DEF / LEF file of the chip can be obtained in the preset storage space of the terminal device, and the connection conditions of the associated interfaces corresponding to each module interface in the chip can be obtained according to the DEF / LEF file of the chip.

[0140] The DEF / LEF file and chip design request can be processed by Python script to obtain chip design results. The chip design results can be automatically generated by the script, which can improve the efficiency of chip design.

[0141] For example, the terminal device may determine the chip design request as shown in Table 4:

[0142] Table 4

[0143]

[0144]

[0145] The terminal device obtains the connection conditions of the associated interfaces corresponding to the module interfaces shown in Table 4 in the preset storage space, which can be specifically shown in Table 5:

[0146] Table 5

[0147]

[0148] S403: Perform connection processing on the module interface and the associated interface according to the connection condition to obtain a connection route corresponding to the associated interface and a target distance between the module interface and the associated interface.

[0149] The connection route includes at least one second position, and the position type of the second position is a routing-allowed type.

[0150] The module interface and the associated interface can be connected according to the connection conditions to obtain the connection route corresponding to the associated interface in the following manner: according to the location type of each area in the connection condition, at least one candidate area is determined in at least one first area, and the location type of the candidate area is an allowed routing type; in at least one candidate area, the minimum distance between the module interface and the associated interface is determined; the route corresponding to the minimum distance is determined as the connection route corresponding to the associated interface, and the minimum distance is determined as the target distance between the module interface and the associated interface.

[0151] The second position can be represented by two-dimensional coordinates. For example, a two-dimensional coordinate system is established with the lower left end point of the chip as the origin, the axis in the horizontal direction of the origin as the X axis, and the axis in the vertical direction of the origin as the Y axis. In this way, each position in the chip can be represented by two-dimensional coordinates.

[0152] Optionally, the target distance may be the Manhattan distance between the module interface and the associated interface.

[0153] Next, combine Figure 5A-Figure 5B , the process of determining the connection route corresponding to the associated interface and the target distance between the module interface and the associated interface is described.

[0154] Figure 5A A schematic diagram of a process for determining a connection route and a target distance provided in an embodiment of the present application. Figure 5A , including chip 501. Chip 501 is a chip corresponding to each module interface shown in Table 4 and Table 5 above. According to the connection conditions shown in Table 5 above, it is determined that the associated interface corresponding to module interface B1 is module interface B2 and module interface B2. For module interface B2, it can be determined that the first area between module interface B1 and module interface B2 includes area B11, area B12 and area B21. As shown in Table 5, it is determined that the location type of area B11 and area B12 is a type that allows routing (shown in white in the figure), and the location type of area B21 is a type that does not allow routing (shown in black in the figure). Therefore, at least one selected area is determined to include area B11 and area B12 in at least one first area. The terminal device determines that the shortest distance between area B11 and area B12 is distance B1. Then it can be determined that the route corresponding to the shortest distance is the connection route B1 between module interface B1 and module interface B2, and the distance B1 is determined to be the target distance.

[0155] For module interface B3, it can be determined that the first area between module interface B1 and module interface B3 includes area B11 and area B13. As shown in Table 5, the location type of area B11 and area B13 is determined to be an allowed routing type (shown in white in the figure). Therefore, at least one selected area is determined to include area B11 and area B13 in at least one first area. The terminal device determines that the shortest distance between area B11 and area B13 is distance B3. Then, it can be determined that the route corresponding to the shortest distance is the connection route B3 between module interface B1 and module interface B2, and distance B3 is determined to be the target distance.

[0156] Figure 5B A schematic diagram of a process for determining a connection route and a target distance provided in an embodiment of the present application. Figure 5B , including a chip 501. The chip 501 and the above Figure 4The chip shown is the same. At this time, the location type of area B21 changes from a non-allowed routing type to an allowed routing type (shown in gray in the figure). Therefore, at least one selected area is determined to include area B11, area B12 and area B13 in at least one first area. The terminal device determines that the shortest distance in area B11, area B12 and area B13 is distance B2. Then, it can be determined that the route corresponding to the shortest distance is the connection route B2 between module interface B1 and module interface B2, and the distance B2 is determined to be the target distance.

[0157] S404: Determine that the connection mode of the module interface includes at least one associated interface, and a connection route and a target distance corresponding to each associated interface.

[0158] For example, according to the above example, the connection mode of each module interface may be determined as shown in Table 6:

[0159] Table 6

[0160]

[0161] S405: Determine connection information in at least one target area according to the connection mode of each module interface in the chip.

[0162] Next, combine Figure 6 , a process of determining connection information in at least one target area is described. Figure 6 A schematic diagram of a process for determining connection information in at least one target area provided in an embodiment of the present application. Figure 6 , including chip 601. Chip 601 is the chip shown in FIG. 5 above. In chip 601, at least one target area is determined to be area B1 and area B2. According to the connection mode of each module interface in the chip, the connection information in area B1 is determined to include connection route B3, the target number 1 of the connection route, and the module interface B1 and module interface B3 corresponding to the connection route B2. According to the connection mode of each module interface in the chip, the connection information in area B2 is determined to include connection route B1, the target number 1 of the connection route, and the module interface B1 and module interface B2 corresponding to the connection route B1.

[0163] It can be determined that the target number of connection routes in the target area is greater than the preset number based on the connection information in the target area. If the target number of connection routes in the target area is greater than the preset number, it means that the number of connection routes in the target area is large. At this time, the connection routes can be adjusted based on the connection information to reduce the target number of connection routes in the target area.

[0164] Determining the connection information in at least one target area can help chip design engineers discover and reserve sufficient physical channels in advance, avoiding repeated iterations of Floorplan due to insufficient reservations in the later stage.

[0165] S406: Determine the connection routes of the module interfaces according to the connection modes of the module interfaces in the chip.

[0166] For example, according to the above example, it is determined that the connection routes of each module interface include a connection route B1 and a connection route B3.

[0167] S407. Determine at least one target route in the connection routes of each module interface according to the first position of at least one beat register.

[0168] For any connection route, if there is a second position in the connection route that matches the first position, the connection route is determined as the target route.

[0169] For example, according to the above example, the first positions are determined to be positions B1 and B2. In connecting routes B1 and B2, it is determined that there is a second position in connecting route B3 that matches positions B1 and B2 respectively. Therefore, route B3 is determined to be the target route.

[0170] S408. Determine register position information according to a first position of at least one beat register and at least one target route.

[0171] The register position information can be determined in the target route according to the first position of at least one beat register and at least one target route in the following manner: for any target route, determine the first quantity of at least one beat register corresponding to the target route according to the first position of at least one beat register; determine the target distance corresponding to the target route; determine the register type of at least one beat register corresponding to the target route according to the target distance and the first quantity, the register type being used to indicate the number of beats of the beat register within a processing cycle; determine the target position of at least one beat register according to the target distance of the target route and the register type of at least one beat register corresponding to the target route; determine the register position information including at least one beat register corresponding to each target route, the register type and the target position of each beat register.

[0172] The first position can be represented by two-dimensional coordinates.

[0173] The register type of each beat register can be determined based on the target distance, timing and frequency information. The timing and frequency information can be obtained in the DEF / LEF file of the chip.

[0174] The target position of at least one beat register can be determined based on the target distance of the target route and the register type of at least one beat register corresponding to the target route in the following manner: obtain a preset quantity and a preset position; if the first quantity is the preset quantity, then in the target route, the preset position is determined as the target position of at least one beat register; if the first quantity is not the preset quantity, then in the target route, the target position of at least one beat register is determined based on the target distance and the register type.

[0175] The preset number may be 1. The preset position may be a midpoint position in the target route, or a statistical position in the target route obtained according to a statistical algorithm. The preset number and the preset position may be set in advance, and the preset number and the preset position may be stored in a preset storage space of the terminal device.

[0176] If the first number is not a preset number, the target position of at least one beat register may be determined by a preset algorithm according to the target distance and the register type.

[0177] Next, combine Figure 7 , the process of determining register location information is described. Figure 7 A schematic diagram of the process of determining register location information provided by an embodiment of the present application. Figure 7 , including chip 701. Chip 701 is the chip shown in FIG. 5 above. According to the above example, it is determined that route B3 includes a beat register B1 and a beat register B2 (represented by the gray area in the figure). The register types of the beat register B1 and the beat register B2 are respectively level 2 types. The terminal device determines that the first number of at least one beat register in route B3 is not the preset number 1. Therefore, in route B3, the terminal device determines, according to the target distance and the register type, through a preset algorithm, that the target position of the beat register B1 is position B1, and the target position of the beat register B3 is position B3. The terminal device determines that the register position information includes the beat register B1, the beat register B3, the register types of the beat register B1 and the beat register B2 corresponding to route B3 are respectively level 2 types, the target position of the beat register B1 is position B1, and the target position of the beat register B3 is position B3.

[0178] S409: Determine a chip design result according to the connection mode of each module interface in the chip, the connection information in at least one target area, and the register location information.

[0179] The chip design result can be determined according to the connection mode of each module interface in the chip, the connection information in at least one target area, and the register position information in the following manner: a first image corresponding to the chip is acquired, the first image includes at least one first area, the third position of each first area in the first image, and the position type of each third position, and the first area includes at least one module interface; the first image is processed according to the connection mode of each module interface in the chip, the connection information in at least one target area, and the register position information to obtain a target image; and it is determined that the chip design result includes the target image.

[0180] Next, combine Figure 8 , explaining the process of determining chip design results. Figure 8 A schematic diagram of the process of determining chip design results provided in the embodiment of the present application. Figure 8 , including a first image 801. The first image 801 is an image corresponding to the chip shown in FIG. 5 above. The terminal device can mark the lower left corner endpoint position of the chip as the coordinate origin according to the DEF / LEF file of the chip to establish a two-dimensional coordinate system. The physical position and physical size information of each module in the chip are processed by the script to obtain the first image 801. The first image 801 includes at least one first area, the third position of each first area in the first image, and the position type of each third position, and the first area includes at least one module interface. In the first image 801, if the position type of the third position is a type that allows routing, the third position is displayed in white. If the position type of the third position is a type that does not allow routing, the third position is displayed in black. According to the connection mode of each module interface in the chip, the connection information in at least one target area, and the register position information, the position corresponding to the first image is processed to obtain the target image 802. The target image 802 includes the connection mode of each module interface, the connection information in at least one target area, and the register position information.

[0181] Optionally, the chip design result may also include the connection mode of each module interface in the chip, the connection information in at least one target area, and the register location information, which are expressed in text form or code form. This application does not make any limitation.

[0182] The chip design method provided in the embodiment of the present application obtains a chip design request. For any module interface, the connection condition of the associated interface corresponding to the module interface is obtained. According to the connection condition, the module interface and the associated interface are connected to obtain the connection route corresponding to the associated interface, and the target distance between the module interface and the associated interface. It is determined that the connection mode of the module interface includes at least one associated interface, and the connection route and target distance corresponding to each associated interface. According to the connection mode of each module interface in the chip, the connection information in at least one target area is determined. In the connection route of each module interface, at least one target route is determined according to the first position of at least one beat register. According to the first position of at least one beat register and at least one target route, the register position information is determined. According to the connection mode of each module interface in the chip, the connection information in at least one target area, and the register position information, the chip design result is determined. In the above process, the connection mode of each module interface in the chip and the first position of at least one beat register can be automatically obtained according to the chip design request, the register position information is determined, and the chip design result is generated. Avoiding artificial adjustment of the layout and connection mode of each module in the chip improves the accuracy of determining the chip layout and timing.

[0183] Based on any of the above embodiments, Fig. 9 , the chip design process is illustrated with examples.

[0184] Fig. 9 Schematic diagram of the chip design process provided in the embodiment of the present application. Fig. 9 , including a terminal device 901. The terminal device 901 may be a computer, and the terminal device 901 stores a DEF / LEF file of the chip to be designed. The terminal device may mark the lower left corner endpoint position of the chip as the coordinate origin according to the DEF / LEF file of the chip to establish a two-dimensional coordinate system. And through a python script, the script processes the physical position and physical size information of each module in the chip to obtain a first image. The first image includes at least one first area, the third position of each first area in the first image, and the position type of each third position, and the first area includes at least one module interface. The chip design request input by the user obtained by the terminal device 901 may be specifically as shown in Table 7:

[0185] Table 7

[0186] Each module interface Module interface C1, module interface C2 Associated interface of module interface C1 Module interface C2 Associated interface of module interface C2 Module interface C1 Target area Area C1 First Position Position C1 of the beat register

[0187] The terminal device 901 obtains the connection conditions of the associated interfaces corresponding to each module interface in the preset storage space, and determines the connection mode of the module interface through the python script according to the connection conditions, which can be specifically shown in Table 8:

[0188] Table 8

[0189]

[0190] The terminal device 901 determines the connection information in at least one target area shown in Table 7 through a python script, including the connection route C, the target number 1 of the connection route, and the module interface C1 and the module interface C2 corresponding to the connection route C, according to the connection mode of each module interface in the chip. The terminal device 901 determines the target video as route C through a python script according to the first position of at least one beat register shown in Table 7. The terminal device 901 determines that the first number of at least one beat register in route C is 1. The terminal device 901 obtains a preset number of 1 in the preset storage space, and determines that the first number is the preset number. Therefore, the terminal device 901 determines the preset position C2 as the target position of the beat register C through the python script.

[0191] The terminal device 901 processes the first image through a python script according to the connection mode of each module interface shown in Table 8, the connection information determined above, and the beat register information, obtains a target image, and determines that the chip design result includes the target image. The target image includes the connection mode of each module interface, the connection information in at least one target area, and the register position information. The terminal device 901 stores the chip design result in a preset storage area. The user can obtain the chip design result in the preset storage area and perform subsequent operations.

[0192] The chip design process provided in the embodiment of the present application obtains a chip design request. For any module interface, the connection condition of the associated interface corresponding to the module interface is obtained. According to the connection condition, the module interface and the associated interface are connected to obtain the connection route corresponding to the associated interface, and the target distance between the module interface and the associated interface. It is determined that the connection mode of the module interface includes at least one associated interface, and the connection route and target distance corresponding to each associated interface. According to the connection mode of each module interface in the chip, the connection information in at least one target area is determined. In the connection route of each module interface, at least one target route is determined according to the first position of at least one beat register. According to the first position of at least one beat register and at least one target route, the register position information is determined. According to the connection mode of each module interface in the chip, the connection information in at least one target area, and the register position information, the chip design result is determined. In the above process, the connection mode of each module interface in the chip and the first position of at least one beat register can be automatically obtained according to the chip design request, the register position information is determined, and the chip design result is generated. Avoiding artificial adjustment of the layout and connection mode of each module in the chip improves the accuracy of determining the chip layout and timing.

[0193] Fig.10 This is a schematic diagram of the structure of a chip design device provided in an embodiment of the present application. The chip design device may be a chip or a chip module. Fig.10 , the chip design device 10 may include:

[0194] An acquisition module 11 is used to acquire a chip design request, wherein the chip design request includes an identifier of each module interface in the chip, at least one associated interface corresponding to each module interface, at least one target area, and a first position of at least one beat register;

[0195] A first determining module 12, configured to determine a connection mode of each module interface in the chip according to an identifier of each module interface in the chip and at least one associated interface corresponding to each module interface;

[0196] A second determining module 13, configured to determine connection information in the at least one target area according to a connection mode of each module interface in the chip;

[0197] A third determining module 14, configured to determine register position information according to a connection mode of each module interface in the chip and a first position of the at least one beat register;

[0198] The fourth determination module 15 is used to determine the chip design result according to the connection mode of each module interface in the chip, the connection information in the at least one target area, and the register location information.

[0199] In a possible implementation manner, the first determining module 12 is specifically configured to:

[0200] For any associated interface, obtaining a connection condition of the associated interface corresponding to the module interface, the connection condition including at least one first area between the associated interface and the module interface, and a location type of each first area;

[0201] According to the connection condition, the module interface and the associated interface are connected to obtain a connection route corresponding to the associated interface and a target distance between the module interface and the associated interface, wherein the connection route includes at least one second position, and the position type of the second position is an allowed routing type;

[0202] Determining the connection mode of the module interface includes at least one associated interface, and a connection route and a target distance corresponding to each associated interface.

[0203] In a possible implementation manner, the first determining module 12 is specifically configured to:

[0204] Determine at least one to-be-selected area in the at least one first area according to the location type of each area in the connection condition, wherein the location type of the to-be-selected area is the allowed routing type;

[0205] In the at least one to-be-selected area, determining a minimum distance between the module interface and the associated interface;

[0206] The route corresponding to the minimum distance is determined as the connection route corresponding to the associated interface, and the minimum distance is determined as the target distance between the module interface and the associated interface.

[0207] In a possible implementation manner, the second determining module 13 is specifically configured to:

[0208] According to the connection mode of each module interface in the chip, determining at least one connection route corresponding to each module interface in the target area;

[0209] The connection information is determined to include a target number of the at least one connection route and a module interface corresponding to each connection route.

[0210] In a possible implementation manner, the third determining module 14 is specifically configured to:

[0211] Determining the connection routes of the module interfaces according to the connection modes of the module interfaces in the chip;

[0212] In the connection routes of each module interface, determining at least one target route according to the first position of the at least one beat register;

[0213] The register position information is determined based on the first position of the at least one beat register and the at least one target route.

[0214] In a possible implementation manner, the third determining module 14 is specifically configured to:

[0215] For any target route, determining a first number of at least one beat register corresponding to the target route according to a first position of the at least one beat register;

[0216] Determining a target distance corresponding to the target route;

[0217] Determine, according to the target distance and the first number, a register type of at least one beat register corresponding to the target route, wherein the register type is used to indicate the number of beats of the beat register within a processing cycle;

[0218] Determining a target position of the at least one beat register according to a target distance of the target route and a register type of the at least one beat register corresponding to the target route;

[0219] Determining the beat register information includes at least one beat register corresponding to each target route, a register type and a target location of each beat register.

[0220] In a possible implementation manner, the third determining module 14 is specifically configured to:

[0221] Get the preset quantity and preset position;

[0222] If the first number is a preset number, then in the target route, determining the preset position as the target position of the at least one beat register;

[0223] If the first number is not a preset number, then in the target route, a target position of the at least one beat register is determined according to the target distance and the register type.

[0224] In a possible implementation manner, the fourth determining module 15 is specifically configured to:

[0225] Acquire a first image corresponding to the chip, the first image comprising at least one first area, a third position of each first area in the first image, and a position type of each third position, the first area comprising the at least one module interface;

[0226] Processing the first image according to the connection mode of each module interface in the chip, the connection information in the at least one target area, and the register position information to obtain a target image;

[0227] Determine that the chip design result includes the target image.

[0228] The chip design device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0229] Fig.11 This is a schematic diagram of the structure of the terminal device provided in the embodiment of the present application. Fig.11 The terminal device 20 may include: a memory 21 and a processor 22. Exemplarily, the memory 21 and the processor 22 are interconnected via a bus 23.

[0230] The memory 21 is used to store program instructions;

[0231] The processor 22 is used to execute the program instructions stored in the memory, so as to enable the terminal device 20 to execute the method shown in the above method embodiment.

[0232] The terminal device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0233] An embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the above method.

[0234] The embodiment of the present application may also provide a computer program product, including a computer program, which can implement the above method when executed by a processor.

[0235] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (ROM), random access memory (RAM), flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc and any combination thereof.

[0236] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0237] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.

[0238] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0239] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0240] In the present application, the term "include" and its variations may refer to non-restrictive inclusion; the term "or" and its variations may refer to "and / or". The terms "first", "second", etc. in the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In the present application, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previously associated objects are in an "or" relationship.

Claims

1. A chip design method, characterized in that: include: Obtaining a chip design request, wherein the chip design request includes an identifier of each module interface in the chip, at least one associated interface corresponding to each module interface, at least one target area, and a first position of at least one beat register; Determining a connection mode of each module interface in the chip according to an identifier of each module interface in the chip and at least one associated interface corresponding to each module interface; Determining connection information in the at least one target area according to a connection mode of each module interface in the chip; Determining register position information according to the connection mode of each module interface in the chip and the first position of the at least one beat register; A chip design result is determined according to the connection mode of each module interface in the chip, the connection information in the at least one target area, and the register location information.

2. The method according to claim 1, characterized in that For any module interface; according to the identifier of each module interface in the chip and at least one associated interface corresponding to the module interface, determining the connection mode of the module interface includes: For any associated interface, obtaining a connection condition of the associated interface corresponding to the module interface, the connection condition including at least one first area between the associated interface and the module interface, and a location type of each first area; According to the connection condition, the module interface and the associated interface are connected to obtain a connection route corresponding to the associated interface and a target distance between the module interface and the associated interface, wherein the connection route includes at least one second position, and the position type of the second position is an allowed routing type; Determining the connection mode of the module interface includes at least one associated interface, and a connection route and a target distance corresponding to each associated interface.

3. The method according to claim 2, characterized in that According to the connection condition, the module interface and the associated interface are connected to obtain a connection route corresponding to the associated interface, including: Determine at least one to-be-selected area in the at least one first area according to the location type of each area in the connection condition, wherein the location type of the to-be-selected area is the allowed routing type; In the at least one to-be-selected area, determining a minimum distance between the module interface and the associated interface; The route corresponding to the minimum distance is determined as the connection route corresponding to the associated interface, and the minimum distance is determined as the target distance between the module interface and the associated interface.

4. The method according to any one of claims 1 to 3, characterized in that: For any target area; according to the connection mode of each module interface in the chip, determining the connection information in the target area includes: According to the connection mode of each module interface in the chip, determining at least one connection route corresponding to each module interface in the target area; The connection information is determined to include a target number of the at least one connection route and a module interface corresponding to each connection route.

5. The method according to any one of claims 1 to 4, characterized in that: Determining register position information according to the connection mode of each module interface in the chip and the first position of the at least one beat register includes: Determining the connection routes of the module interfaces according to the connection modes of the module interfaces in the chip; In the connection routes of each module interface, determining at least one target route according to the first position of the at least one beat register; The register position information is determined based on the first position of the at least one beat register and the at least one target route.

6. The method according to claim 5, characterized in that Determining the register position information according to the first position of the at least one beat register and the at least one target route includes: For any target route, determining a first number of at least one beat register corresponding to the target route according to a first position of the at least one beat register; Determining a target distance corresponding to the target route; Determine, according to the target distance and the first number, a register type of at least one beat register corresponding to the target route, wherein the register type is used to indicate the number of beats of the beat register within a processing cycle; Determining a target position of the at least one beat register according to a target distance of the target route and a register type of the at least one beat register corresponding to the target route; Determining the register position information includes at least one beat register corresponding to each target route, a register type and a target position of each beat register.

7. The method according to claim 6, characterized in that Determining a target position of at least one beat register according to a target distance of the target route and a register type of at least one beat register corresponding to the target route includes: Get the preset quantity and preset position; If the first number is a preset number, then in the target route, determining the preset position as the target position of the at least one beat register; If the first number is not a preset number, then in the target route, a target position of the at least one beat register is determined according to the target distance and the register type.

8. The method according to any one of claims 1 to 7, characterized in that: Determining a chip design result according to the connection mode of each module interface in the chip, the connection information in the at least one target area, and the register location information, includes: Acquire a first image corresponding to the chip, the first image comprising at least one first area, a third position of each first area in the first image, and a position type of each third position, the first area comprising the at least one module interface; Processing the first image according to the connection mode of each module interface in the chip, the connection information in the at least one target area, and the register position information to obtain a target image; Determine that the chip design result includes the target image.

9. A chip design device, characterized in that: The device comprises: An acquisition module, used for acquiring a chip design request, wherein the chip design request includes an identifier of each module interface in the chip, at least one associated interface corresponding to each module interface, at least one target area, and a first position of at least one beat register; A first determining module, configured to determine a connection mode of each module interface in the chip according to an identifier of each module interface in the chip and at least one associated interface corresponding to each module interface; A second determining module, configured to determine connection information in the at least one target area according to a connection mode of each module interface in the chip; A third determining module, configured to determine register position information according to a connection mode of each module interface in the chip and a first position of the at least one beat register; The fourth determination module is used to determine the chip design result according to the connection mode of each module interface in the chip, the connection information in the at least one target area, and the register location information.

10. A terminal device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: in, The computer instructions are used to make a computer execute the method according to any one of claims 1 to 8.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.