CN-120975017-B - Method, device, equipment and readable medium for generating schematic diagram based on DDRPHY layout
Abstract
The application discloses a method, a device, equipment and a readable medium for generating a schematic diagram based on DDRPHY layout, wherein the method comprises the steps of sequencing a plurality of modules according to the arrangement direction and module coordinates of the modules in the DDRPHY layout to obtain a module sequence list, setting schematic diagram symbols corresponding to the modules according to the module types and the arrangement direction in the module sequence list, determining signal line directions according to the pin directions of the schematic diagram symbols, and connecting the schematic diagram symbols according to the signal line directions and the signal line types to generate a schematic diagram corresponding to the DDRPHY layout. According to the technical scheme, the reverse generation from the layout to the schematic diagram can be realized according to the arrangement direction of the modules in the DDRPHY layout and the sequence list of the modules, so that the consistency verification of the layout and the schematic diagram can be realized, and the verification efficiency and the passing rate can be further improved.
Inventors
- ZHANG WU
Assignees
- 牛芯半导体(深圳)有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20251020
Claims (9)
- 1. A method for generating a schematic diagram based on DDRPHY layout, comprising: Sequencing a plurality of modules according to the arrangement direction and the module coordinates of the modules in the DDRPHY layout to obtain a module sequence list; the process for obtaining the module sequence list comprises the steps of sequencing first preset coordinate values of the center point coordinates of a plurality of modules according to a preset rule to obtain a coordinate sequence list, sequencing second preset coordinate values of the center point coordinates of the plurality of modules according to a preset rule to obtain the coordinate sequence list, sequencing the coordinate values of the center point coordinates of the plurality of modules according to a preset rule to obtain the coordinate sequence list, wherein the coordinate sequence direction corresponding to the second preset coordinate values is perpendicular to the second direction, sequencing the first preset coordinate values of the center point coordinates of the plurality of modules according to a preset rule to obtain the coordinate sequence list of the first direction, and sequencing the second preset coordinate values of the center point coordinates of the plurality of modules according to a preset rule to obtain the coordinate sequence of the second direction; setting schematic diagram symbols corresponding to the modules according to the module types and the arrangement directions in the module sequence list; determining the direction of a signal line according to the pin direction of the schematic diagram symbol, wherein the signal line comprises a wire connected with each schematic diagram symbol; and connecting the schematic diagram symbols according to the signal line direction and the signal line type to generate a schematic diagram corresponding to the DDRPHY layout, wherein different signal line types correspond to different schematic diagram symbol connection modes.
- 2. The method of generating a schematic based on DDRPHY layout according to claim 1, wherein before ordering a plurality of modules in the DDRPHY layout according to their arrangement direction and their coordinates, the method further comprises: And responding to a triggering operation entering a first parameter configuration interface, and displaying configuration options of first parameters in the first parameter configuration interface, wherein the first parameters at least comprise the arrangement direction of the modules.
- 3. The method for generating a schematic diagram based on DDRPHY layout according to claim 1, wherein the sorting the modules according to the arrangement direction and the module coordinates of the modules in the DDRPHY layout to obtain a module sequence list includes: obtaining boundary parameters of the module in the DDRPHY layout, wherein the boundary parameters comprise lower left corner coordinates and upper right corner coordinates of the module; calculating the center point coordinates of the module according to the boundary parameters of the module; Ordering the coordinates of the central points of the modules according to the arrangement direction to obtain a coordinate sequence list; And generating the module sequence list according to the coordinate sequence list.
- 4. A method of generating a schematic based on DDRPHY layouts according to claim 3, wherein the generating the module order list from the coordinate order list includes: Traversing the coordinate sequence list to obtain the current center point coordinate from the coordinate sequence list; And traversing the center point coordinates of each module in the DDRPHY layout aiming at the current center point coordinates, and adding the name of the module into a module sequence list if the center point coordinates of one module are matched with the current center point coordinates.
- 5. The method of generating a schematic based on DDRPHY layout according to claim 1, further comprising, prior to connecting the schematic symbols according to the signal line direction and signal line type: And responding to a triggering operation entering a second parameter configuration interface, and displaying configuration options of second parameters in the second parameter configuration interface, wherein the second parameters at least comprise parameters for determining the type of the signal line.
- 6. The method for generating a schematic diagram based on DDRPHY layouts according to claim 1, wherein the setting a schematic diagram symbol corresponding to the module according to the module type and the arrangement direction in the module order list includes: traversing the module names in the sequence list, and dividing the modules into a first module and a second module according to the module names, wherein the module names of the first module do not comprise appointed character strings, and the module names of the second module comprise appointed character strings; pairing the module name of the first module with the name of the first schematic symbol library to generate a first pairing list; pairing the module name of the second module with the second schematic symbol library name to generate a second pairing list; Obtaining schematic diagram symbols corresponding to the first module from a first schematic diagram symbol library corresponding to a first schematic diagram symbol library name according to the first pairing list, and obtaining schematic diagram symbols corresponding to the second module from a second schematic diagram symbol library corresponding to a second schematic diagram symbol library name according to the second pairing list; and setting schematic diagram symbols corresponding to the first module and the second module according to the arrangement direction.
- 7. The method for generating a schematic diagram based on DDRPHY layouts according to claim 6, wherein the setting schematic diagram symbols corresponding to the first module and the second module according to the arrangement direction includes: If the arrangement direction is the first direction, sequentially setting schematic diagram symbols corresponding to a plurality of modules according to a preset interval value by taking a first preset coordinate as a starting point; if the arrangement direction is the second direction, sequentially setting schematic diagram symbols corresponding to a plurality of modules according to a preset interval value by taking a second preset coordinate as a starting point; And sequentially setting schematic diagram symbols corresponding to the modules with the arrangement direction being the second direction according to a preset interval value by taking the first preset coordinate as a starting point and sequentially setting the schematic diagram symbols corresponding to the modules with the arrangement direction being the first direction according to a preset interval value by taking the second preset coordinate as a starting point.
- 8. The method of generating a schematic based on DDRPHY layout according to claim 1, wherein the determining a signal line direction from a pin direction of the schematic symbol includes: The boundary parameters of the schematic diagram symbol and the pin coordinates of each pin in the schematic diagram symbol are obtained, wherein the boundary parameters of the schematic diagram symbol comprise the lower left corner coordinates and the upper right corner coordinates of the schematic diagram symbol; determining the pin direction of the pin according to the boundary parameter and the pin coordinate, wherein the pin direction represents the arrangement direction of the pin in the schematic diagram symbol; and determining the direction of the signal line according to the direction of the pin.
- 9. The method of generating a schematic based on DDRPHY layouts according to claim 1, wherein the connecting the schematic symbols according to the signal line direction and signal line type to generate the schematic corresponding to DDRPHY layout includes: classifying the signal wires according to parameters configured in the second parameter configuration interface and used for determining the types of the signal wires to obtain the corresponding types of the signal wires; obtaining corresponding signal wire connection rules according to the signal wire types, wherein the signal wire connection rules comprise connection modes between the signal wires and the schematic diagram symbols, and different signal wire types correspond to different signal wire connection rules; and connecting the schematic diagram symbols according to the signal line direction and the signal line connection rule to generate a schematic diagram corresponding to the DDRPHY layout.
Description
Method, device, equipment and readable medium for generating schematic diagram based on DDRPHY layout Technical Field The application belongs to the technical field of integrated circuit design, and particularly relates to a method, a device, equipment and a readable medium for generating a schematic diagram based on DDRPHY layout. Background In the design flow of DDRPHY Layout (Double DATA RATE PHYSICAL LAYER Layout ), a corresponding schematic diagram is required to be generated after the Layout is designed, and the schematic diagram is used for key verification links such as LVS (Layout and schematic diagram consistency verification) so as to ensure that the electric connection and the function of a chip accord with the design specification. However, in the prior art, a design engineer needs to manually put corresponding schematic diagram symbols one by one according to the actual arrangement direction of each module in the layout in the generation of DDRPHY simulation part schematic diagrams, and the method is low in efficiency, and is easy to cause the problems of misjudgment of signal line directions, confusion of connection rules and the like, so that the generated schematic diagrams are not matched with the layout, and the subsequent LVS verification is difficult to pass. Disclosure of Invention The application aims to provide a method, a system and a computer program product for generating a schematic diagram based on DDRPHY layout, so as to improve the efficiency and the passing rate of the consistency verification of the layout and the schematic diagram. Other features and advantages of the application will be apparent from the following detailed description, or may be learned by practice of the application. According to an aspect of the embodiment of the present application, there is provided a method for generating a schematic diagram based on DDRPHY layouts, including: Sequencing a plurality of modules according to the arrangement direction and the module coordinates of the modules in the DDRPHY layout to obtain a module sequence list; setting schematic diagram symbols corresponding to the modules according to the module types and the arrangement directions in the module sequence list; determining the direction of a signal line according to the pin direction of the schematic diagram symbol, wherein the signal line comprises a wire connected with each schematic diagram symbol; and connecting the schematic diagram symbols according to the signal line direction and the signal line type to generate a schematic diagram corresponding to the DDRPHY layout, wherein different signal line types correspond to different schematic diagram symbol connection modes. According to an aspect of the embodiment of the present application, there is provided a method for generating a schematic diagram based on DDRPHY layouts, including: And responding to a triggering operation entering a first parameter configuration interface, and displaying configuration options of first parameters in the first parameter configuration interface, wherein the first parameters at least comprise the arrangement direction of the modules. According to an aspect of the embodiment of the present application, there is provided a method for generating a schematic diagram based on DDRPHY layouts, including: obtaining boundary parameters of the module in the DDRPHY layout, wherein the boundary parameters comprise lower left corner coordinates and upper right corner coordinates of the module; calculating the center point coordinates of the module according to the boundary parameters of the module; Ordering the coordinates of the central points of the modules according to the arrangement direction to obtain a coordinate sequence list; And generating the module sequence list according to the coordinate sequence list. According to one aspect of an embodiment of the present application, there is provided a method for generating a schematic diagram based on DDRPHY layouts, including: if the arrangement direction is a first direction, sequencing first preset coordinate values of the coordinates of the central points of the modules according to a preset rule to obtain the coordinate sequence list, wherein the coordinate axis direction corresponding to the first preset coordinate values is perpendicular to the first direction; if the arrangement direction is a second direction, sequencing second preset coordinate values of the coordinates of the central points of the modules according to a preset rule to obtain the coordinate sequence list, wherein the coordinate axis direction corresponding to the second preset coordinate values is perpendicular to the second direction; And if the arrangement direction comprises a first direction and a second direction, sequencing a first preset coordinate value in a plurality of module center point coordinates with the arrangement direction being the first direction according to a preset rule to obtain a coordinate