Circuit design method, apparatus, platform, electronic device, and storage medium
By decoding and encoding the circuit design interface, the problem of standardizing and unifying the annotation content in circuit design was solved, realizing the intuitive display and unified recording of revision information, and improving the efficiency and accuracy of circuit design.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2026-03-27
AI Technical Summary
In circuit design, existing technologies cannot standardize the requirements for annotation content, which makes modification and retrieval difficult. Manual recording is prone to errors, and version modification records need to be archived and managed separately, making it impossible to quickly obtain modification details from the database.
By acquiring the initial circuit design interface, decoding it to generate the initial editing interface, editing the entries, and finally encoding it to generate the target circuit design interface, the modification information and design software data are integrated and displayed intuitively on the circuit design platform through text.
It enables a unified and intuitive display and recording of revision information, reduces human error, simplifies version management, and improves the efficiency and accuracy of circuit design.
Smart Images

Figure CN116048345B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of integrated circuits, and in particular, to a circuit design method, device, platform, electronic device and storage medium. BACKGROUND
[0002] Integrated circuit design (IC design), also known as very large scale integrated circuit design (VLSI design), refers to a design process targeting integrated circuits and very large scale integrated circuits. Integrated circuit design involves the establishment of models of electronic devices (such as transistors, resistors, capacitors, etc.) and interconnection lines between devices. All devices and interconnection lines need to be placed on a semiconductor substrate material, and these components are placed on a single silicon substrate through semiconductor device manufacturing processes (such as photolithography, etc.), thereby forming a circuit.
[0003] In the process of modifying a circuit design, special designs or modifications in the circuit often need to be annotated with text. However, manual recording is prone to errors and omissions, and the recorded content also needs to be archived and sorted separately. Moreover, when the designer needs to check and modify, the details of the modification cannot be quickly obtained in the database, thereby increasing the difficulty of subsequent modification and retrieval processes. SUMMARY
[0004] In a first aspect, an embodiment of the present disclosure provides a circuit design method, which comprises:
[0005] obtaining an initial circuit design interface;
[0006] decoding the initial circuit design interface to generate an initial editing interface; the initial editing interface comprises at least one editable item, and the editable item comprises a preset item name and editable item content;
[0007] editing the item content in the initial editing interface to obtain a target editing interface;
[0008] encoding the target editing interface to generate a target circuit design interface, wherein the target circuit design interface comprises a target annotation formed by splicing the item name of the at least one editable item and the edited item content.
[0009] In some embodiments, the initial circuit design interface comprises a circuit structure and an initial annotation, and the initial annotation is formed by splicing the item name of the at least one editable item and the item content before editing; and the decoding the initial circuit design interface to generate an initial editing interface comprises:
[0010] receiving a preset calling instruction;
[0011] According to the preset calling instruction, the initial annotation is grabbed from the initial circuit design interface, the initial annotation is used for interface conversion, and the initial editing interface is generated.
[0012] In some embodiments, the number of initial annotations is at least one; wherein, when the initial annotation is grabbed from the initial circuit design interface according to the preset calling instruction, the grabbed initial annotation is one of the at least one initial annotation.
[0013] In some embodiments, the method further comprises:
[0014] The entry name of the at least one editable entry is set to realize editing interface initialization;
[0015] The entry name of the at least one editable entry includes one or more of the following: date, version, user name, annotation content.
[0016] In some embodiments, the initial circuit design interface is obtained, comprising:
[0017] After the target circuit design interface is generated, the target circuit design interface is determined as the initial circuit design interface;
[0018] Correspondingly, the method further comprises:
[0019] The target annotation is determined as the initial annotation.
[0020] In some embodiments, the initial circuit design interface includes a circuit structure, and the method further comprises:
[0021] Receiving a preset new instruction;
[0022] According to the preset new instruction, a new editing interface is created, and the created editing interface is determined as the initial editing interface.
[0023] In some embodiments, the encoding processing of the target editing interface comprises:
[0024] The entry name of the at least one editable entry and the edited entry content are spliced to obtain the target annotation.
[0025] In some embodiments, the method further comprises:
[0026] A preset data attribute is added to the target annotation, so that the target annotation is distinguished from other text content in the target circuit design interface.
[0027] In some embodiments, the preset calling instruction comprises: an interaction instruction for the initial annotation, or a preset shortcut key instruction associated with the preset data attribute.
[0028] In some embodiments, after obtaining the target editing interface, the method further comprises:
[0029] receiving a preset encoding instruction to accept an editing process on the entry content according to the preset encoding instruction and performing the step of encoding the target editing interface.
[0030] In a second aspect, the embodiments of the present disclosure provide a circuit design device, comprising an acquisition unit, an encoding and decoding unit, and an editing unit, wherein:
[0031] The acquisition unit is configured to acquire an initial circuit design interface.
[0032] The encoding and decoding unit is configured to perform decoding processing on the initial circuit design interface to generate an initial editing interface; the initial editing interface comprises at least one editable entry, and the editable entry comprises a preset entry name and editable entry content.
[0033] The editing unit is configured to perform editing processing on the entry content to obtain a target editing interface.
[0034] The encoding and decoding unit is further configured to perform encoding processing on the target editing interface to generate a target circuit design interface, and the target circuit design interface comprises a target annotation formed by splicing the entry name of the at least one editable entry and the edited entry content.
[0035] In some embodiments, the initial circuit design interface comprises a circuit structure and an initial annotation, and the initial annotation is formed by splicing the entry name of the at least one editable entry and the entry content before editing processing; wherein:
[0036] The encoding and decoding unit is further configured to receive a preset calling instruction, and to generate the initial editing interface by decoding the initial annotation from the initial circuit design interface according to the preset calling instruction.
[0037] In some embodiments, the encoding and decoding unit is further configured to perform splicing processing on the entry name of the at least one editable entry and the edited entry content to obtain the target annotation.
[0038] In a third aspect, the embodiments of the present disclosure provide a circuit design platform, comprising the circuit design device of any one of the second aspect.
[0039] In a fourth aspect, the embodiments of the present disclosure provide an electronic device, comprising a memory and a processor, wherein
[0040] The memory is configured to store a computer program capable of running on the processor.
[0041] The processor is configured to execute the circuit design method according to any one of the first aspect when running the computer program.
[0042] In a fifth aspect, the embodiments of the present disclosure provide a storage medium, which stores a computer program. The computer program is executed by at least one processor to implement the circuit design method according to any one of the first aspect.
[0043] The embodiments of the present disclosure provide a circuit design method, device, platform, electronic device and storage medium. The method comprises: obtaining an initial circuit design interface; decoding and processing the initial circuit design interface to generate an initial editing interface; the initial editing interface comprises at least one editable item, and the editable item comprises a preset item name and editable item content; editing the item content in the initial editing interface to obtain a target editing interface; encoding and processing the target editing interface to generate a target circuit design interface, and the target circuit design interface comprises a target annotation formed by splicing the item name and the edited item content of the at least one editable item. In this way, the method integrates the user input modification information and the design software data into one through interface interaction; and displays the modification information intuitively in the circuit design platform through text display, so as to realize delivery of the modification information together with the circuit; at the same time, the method realizes unified recording in the user modification process through standardized interface setting. BRIEF DESCRIPTION OF DRAWINGS
[0044] Figure 1 It is a schematic diagram of an interface for annotating a circuit with text;
[0045] Figure 2 It is a flowchart of a circuit design method provided by the embodiments of the present disclosure;
[0046] Figure 3A It is a schematic diagram of a circuit design interface provided by the embodiments of the present disclosure;
[0047] Figure 3B It is a schematic diagram of another circuit design interface provided by the embodiments of the present disclosure;
[0048] Figure 4 It is a schematic diagram of a change of an editing interface provided by the embodiments of the present disclosure;
[0049] Figure 5 It is a schematic diagram of a target circuit design interface provided by the embodiments of the present disclosure;
[0050] Figure 6 A flowchart of another circuit design method provided by the embodiment of the present disclosure is shown in FIG. 6;
[0051] Figure 7 A schematic diagram of encoding processing of an editing interface provided by the embodiment of the present disclosure is shown in FIG. 7;
[0052] Figure 8A A comparison schematic diagram of a comment provided by the embodiment of the present disclosure is shown in FIG. 8;
[0053] Figure 8B A comparison schematic diagram of an editing interface provided by the embodiment of the present disclosure is shown in FIG. 9;
[0054] Figure 9 A process schematic diagram of encoding processing provided by the embodiment of the present disclosure is shown in FIG. 10;
[0055] Figure 10 A flowchart of another circuit design method provided by the embodiment of the present disclosure is shown in FIG. 11;
[0056] Figure 11 A modification process schematic diagram of a comment provided by the embodiment of the present disclosure is shown in FIG. 12;
[0057] Figure 12 A modification process schematic diagram of a circuit provided by the embodiment of the present disclosure is shown in FIG. 13;
[0058] Figure 13 A component structure schematic diagram of a circuit design device provided by the embodiment of the present disclosure is shown in FIG. 14;
[0059] Figure 14 A component structure schematic diagram of a circuit design platform provided by the embodiment of the present disclosure is shown in FIG. 15;
[0060] Figure 15 A specific hardware structure schematic diagram of an electronic device provided by the embodiment of the present disclosure is shown in FIG. 16. DETAILED DESCRIPTION
[0061] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings in the embodiments of the present disclosure. It can be understood that the specific embodiments described herein are only for the purpose of explaining the related disclosure, and not limiting the disclosure. In addition, it should be noted that, for the purpose of description, only the parts related to the disclosure are shown in the drawings.
[0062] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used in the specification herein is for describing the embodiments of the present disclosure only and is not intended to limit the present disclosure.
[0063] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other as long as there is no conflict.
[0064] It should be noted that the terms "first", "second", "third" involved in the embodiments of the present disclosure are only to distinguish similar objects, and do not represent the specific order of the objects. Understandably, "first", "second", "third" can be interchanged in a specific order or sequence as long as it is allowed, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.
[0065] In the related art, the designer usually uses the "Add Note Text" in the circuit to make text annotation. Figure 1 The text annotation using "Add Note Text" is shown in the schematic diagram, and the designer can add annotation content in the text box after "Note Text".
[0066] However, when using this method to make text annotation, it is not possible to make unified and standardized requirements for the annotation content, which makes it difficult for other designers to make unified reference when modifying, thereby increasing the difficulty of subsequent modification and retrieval process. In addition, since the default generated text is used, it cannot be distinguished in subsequent inspection, which often leads to the generation of inspection omissions and other problems.
[0067] In short, at present, in the implementation of design version control in circuit design, the following problems exist: it is not possible to make unified and standardized requirements for the annotation content, which makes it difficult for other designers to make unified reference when modifying; through manual input, errors and omissions are easy to occur in recorded information; version modification record documents need to be separately archived and managed, and multiple files are needed when the circuit is delivered; when checking the version information, it is not possible to quickly obtain the modification details in the design database.
[0068] Based on this, the embodiment of the disclosure provides a circuit design method, which comprises: obtaining an initial circuit design interface; decoding the initial circuit design interface to generate an initial editing interface; the initial editing interface comprises at least one editable item, and the editable item comprises a preset item name and editable item content; editing the item content in the initial editing interface to obtain a target editing interface; encoding the target editing interface to generate a target circuit design interface, and the target circuit design interface comprises a target annotation formed by splicing the item name of the at least one editable item and the edited item content. In this way, the method integrates the user input modification information and the design software data into one through interface interaction, and displays the modification information intuitively in the circuit design platform through text display, so as to realize delivery of the modification information together with the circuit; at the same time, the method realizes unified recording of the user modification process through standardized interface setting.
[0069] The embodiments of the disclosure will be described in detail below with reference to the drawings.
[0070] In an embodiment of the disclosure, referring to Figure 2 which shows a flowchart of a circuit design method provided by an embodiment of the disclosure. As shown in Figure 2 , the method can comprise:
[0071] S101: obtaining an initial circuit design interface.
[0072] S102: decoding the initial circuit design interface to generate an initial editing interface; the initial editing interface comprises at least one editable item, and the editable item comprises a preset item name and editable item content.
[0073] S103: editing the item content in the initial editing interface to obtain a target editing interface.
[0074] S104: encoding the target editing interface to generate a target circuit design interface, and the target circuit design interface comprises a target annotation formed by splicing the item name of the at least one editable item and the edited item content.
[0075] It should be noted that the embodiment relates to semiconductor integrated circuits, in particular to memories, and is used for realizing design version control on an existing circuit design platform, and can be specifically applied to dynamic random access memory (DRAM) circuit design. Further, the circuit design method can be applied to a circuit design device or a circuit design platform, an electronic device, etc. integrated with the circuit design device, wherein the designed circuit can be a complex large circuit such as an integrated circuit, or other types of circuits, which are not specifically limited.
[0076] It should be further noted that, in the process of designing a circuit, it is usually required to modify several times, and in the present embodiment, the circuit design interface before modification is referred to as an initial circuit design interface, and the circuit design interface after modification is referred to as a target circuit design interface.
[0077] The circuit design interface can be displayed by a display screen, and the control manner of the circuit design interface can include a mouse control and / or a touch screen control (if the display screen has a touch function) and the like, so that a designer (or a user) can perform design, modification, annotation and the like.
[0078] For example, referring to Figure 3A , a schematic diagram of a circuit design interface provided by an embodiment of the present disclosure is shown. As shown in Figure 3A , the circuit design interface can include a circuit structure and an annotation. The circuit structure is a circuit structure diagram designed by a designer (as an example, only a simple circuit is shown in the drawing), and the annotation is annotation content (annotation content) added by the designer for the circuit structure or other matters for attention and the like.
[0079] Figure 3A The shown annotation includes four entries (since in the present embodiment, the specific entry content in each entry can be edited and modified, the entry is also referred to as an editable entry), and the entry names corresponding to the four editable entries are: editable entry 1, editable entry 2, editable entry 3 and editable entry 4. For each editable entry in the annotation, the part after the colon is the entry content of the editable entry. In the example of Figure 3A , the annotation includes four editable entries, and it can be understood that the annotation can also include a larger or smaller number of editable entries, which is not specifically limited.
[0080] In the example of Figure 3A , the entry name is in Chinese format, but as shown in Figure 3B , the entry name can also be in English format. Alternatively, the language can also be set as an optional item, so that the designer can set the language to any suitable language according to actual needs, for example, Japanese, Korean, French and the like. In addition, the annotation in the drawing is located in the upper right corner of the circuit design interface, but it can also be located in other positions of the circuit design interface; or the annotation can also be displayed in the form of a small picture or a small mark, and when selected, it is enlarged and normally displayed, so that it can also avoid that the annotation is too large to affect the design of the circuit structure by the designer.
[0081] It should be further noted that, when a circuit design file is opened in a circuit design platform, a circuit design interface as shown in Figure 3A or Figure 3BThe circuit design interface shown is called the initial circuit design interface, and the corresponding annotations are called initial annotations. At this point, designers can modify and adjust the circuit structure, as well as the content of the annotations.
[0082] When modifying or adjusting the annotations, the initial circuit design interface needs to be decoded first. This decoding process mainly involves decoding the initial annotations to generate an initial editing interface. Then, the content of editable entries is edited within this initial editing interface to obtain the target editing interface. In other words, the initial and target editing interfaces are used to distinguish between the pre-edited and post-editing interfaces; aside from the editable content, there are no other substantial differences between them.
[0083] For example, with Figure 3A The circuit design interface shown is the initial circuit design interface; see [link / reference]. Figure 4 It shows a schematic diagram illustrating the changes in the corresponding editing interface. Figure 3A The annotations (i.e., the initial annotations) in the code are decoded to obtain... Figure 4 The initial editing interface is then edited to obtain the target editing interface. For example... Figure 4 As shown, both the initial editing interface and the target editing interface include at least one editable item. For visual clarity, each editable item is outlined with a dashed box.
[0084] It should be noted that each editable item includes a preset item name and editable item content. In the initial editing interface, the four editable items are named: Editable Item 1, Editable Item 2, Editable Item 3, and Editable Item 4, and their corresponding item content is: AAA, BBB, CCC, and DDDDDDD. After editing, in the target editing interface, the four editable items have the same names as in the initial editing interface, and their item content is: XXX, YYY, CCC, and SSSSSS. After editing, the item content of Editable Item 1, Editable Item 2, and Editable Item 4 changes, while the item content of Editable Item 3 remains unchanged.
[0085] In other words, in this embodiment, the item name is a fixed preset item name, and it will not be edited during the editing process, while the item content can be edited and modified. Furthermore, editing the item content is optional; it is not necessary to edit the content of every item. Figure 4 As shown, the content of editable item 3 has not been edited or modified.
[0086] It should be noted that the editing process involved herein can be that the designer manually inputs, and the circuit design platform displays the content input by the designer in the editing interface in the form of text, etc. Alternatively, the editing process can be that the designer selects in the drop-down box of the editing interface to realize content input. Alternatively, the editing process can be that the circuit design platform automatically generates entry content. Alternatively, several editing process modes are combined to edit the entry content, which is not specifically limited herein.
[0087] In this way, the embodiments uniformly and standardize each editable entry, and each editable entry is clear in arrangement and clear in display, so that when the circuit is revised, the designer only needs to edit and modify after the corresponding item content, thereby realizing uniform recording in the circuit revision process.
[0088] As shown in Figure 4 The editing interface can further include other setting items, such as size, for adjusting the font size.
[0089] It should be noted that after the initial editing interface is generated, the initial editing interface and the initial circuit design interface can be displayed in the display screen at the same time. For example, they can be displayed in columns or in layers. Alternatively, the initial circuit design interface can be hidden. Alternatively, only the circuit structure and the initial editing interface can be displayed, so that the designer can design and adjust the circuit structure while editing the entry content. Even other feasible display modes are possible, which are not specifically limited herein.
[0090] Further, for the way of generating the initial editing interface, in some embodiments, the initial circuit design interface is decoded to generate the initial editing interface, which can include:
[0091] receiving a preset calling instruction;
[0092] According to the preset calling instruction, the initial editing interface is generated by grabbing the initial annotation from the initial circuit design interface and converting the interface according to the initial annotation.
[0093] It should be noted that the preset calling instruction can be that a designer performs a click operation (for example, double-clicks a left key, or clicks a right key and then selects an "edit comment" or "open comment" or the like in a menu bar popped up) on a region where the initial comment is located, and when it is detected that the click operation on the region where the initial comment is located is performed, it is considered that the preset calling instruction is received. Alternatively, the preset calling instruction can be a preset shortcut key instruction (for example, a shortcut key Q or another single key or a combination of multiple keys), and when it is detected that the preset shortcut key instruction is input, it is considered that the preset calling instruction is received. Thus, the initial comment is captured from the initial circuit design interface according to the preset calling instruction, the decoding process is performed, the interface is converted, and the initial editing interface is generated.
[0094] It should also be noted that for circuit design, it is often not completed by one designer alone and at one time, but is designed and revised by multiple designers respectively, and is finally combined into one circuit. Each designer can have made corresponding comments in the part of the circuit that he or she is responsible for, and thus the combined circuit design interface can include multiple initial comments. In this case, when the initial circuit design interface is decoded, one of the multiple initial comments is selected for decoding.
[0095] Therefore, in some embodiments, the number of initial comments is at least one, and when the initial comment is captured from the initial circuit design interface according to the preset calling instruction, the captured initial comment is one of the at least one initial comment.
[0096] In addition, there is also a case that the current initial circuit design interface is designed for the first time, and no comment exists in the initial circuit design interface, or although the current initial circuit design interface is not the first interface, no comment is added in the previous version. At this time, in some embodiments, the initial circuit design interface includes a circuit structure, and the method can further include:
[0097] receiving a preset new comment instruction;
[0098] creating a new editing interface according to the preset new comment instruction, and determining the new editing interface as the initial editing interface.
[0099] It should be noted that the circuit design platform can also include a function option of adding a new comment, and if it is needed to add a comment, the editing interface can be called according to the corresponding function option, and then the corresponding item content is edited. For example, the editing interface is called according to the preset new comment instruction, or the preset calling instruction can still be used to call the editing interface, which is not limited here.
[0100] In the embodiments of the present disclosure, the entry name of the editable entry is preset, and the preset can be preset by the circuit design platform when it is shipped, or can be preset by the designer or administrator during the use of the circuit design platform, for example, preset when the editing interface is first called up or preset by the administrator by actively opening the corresponding setting function.
[0101] Therefore, in some embodiments, the method can further include:
[0102] setting the entry name of the at least one editable entry to realize the initialization of the editing interface;
[0103] The entry name of the at least one editable entry includes one or more of the following: date, version, user name, comment content.
[0104] It should be noted that when the initialization is performed, the designer or administrator can preset the entry name of the several editable entries, and edit the entry content of each editable entry according to the requirement, for example, the entry content can be left blank or the description of the corresponding editable entry can be added when the editing interface is only initialized and the comment is not added; in the case of adding the comment for the first time, the designer can input the corresponding entry content by himself.
[0105] Further, after the editing of the entry content in the initial editing interface is performed, a target editing interface is obtained, and the target editing interface is encoded to generate a target circuit design interface. Taking the circuit design interface shown in Figure 3A as an initial circuit design interface, and combining the editing process shown in Figure 4 , refer to Figure 5 , which shows a schematic diagram of a target circuit design interface provided by the present embodiment. As shown in Figure 5 , in the target circuit design interface, the content of the target comment corresponds to the target editing interface in Figure 4 .
[0106] As shown in Figure 4 , in the editing interface, other options such as confirm, clear (cancel), apply, and help can also be included. Different options are selected to perform corresponding functions, and the selection of the options can be mouse click selection, touch screen selection, shortcut key selection, and the like.
[0107] The "confirm" option is selected to save the editing of the entry content, the "clear" option is selected to clear the editing of the entry content, the "apply" option is selected to apply the editing of the entry content to the circuit design interface, and the "help" option is selected to pop up the corresponding help option, function description, and the like.
[0108] In some embodiments, after obtaining the target editing interface, the method may further include:
[0109] Receive preset encoding instructions to accept editing processing of the entry content according to the preset encoding instructions and perform the steps of encoding processing of the target editing interface.
[0110] It should be noted that after editing the entries to obtain the target editing interface, encoding processing is required to generate the target circuit design interface. At this point, the encoding processing operation can be determined based on a preset encoding instruction.
[0111] For example, a preset encoding instruction can be applied to Figure 4 The "Apply" option allows for mouse clicks or touch input. When the designer clicks "Apply," coding is executed, generating the target circuit design interface.
[0112] In some embodiments, encoding the target editing interface may include:
[0113] The target annotation is obtained by concatenating the entry name and the edited content of at least one editable entry.
[0114] It should be noted that when encoding the target editing interface, the name and content of each editable entry can be concatenated in a certain way to form target annotations, which are then displayed in the target circuit design interface. For example... Figure 5 As shown, for editable item 1, after concatenating the item name (editable item 1) and the item content (XXX), the result is: "editable item 1: XXX". The same applies to other editable items. Here, a colon is used between the item name and the item content. In other implementations, it can also be a space or other punctuation marks, etc., which are not specifically limited here.
[0115] It should also be noted that in the accompanying drawings of this embodiment, each editable entry, after being spliced together, is displayed in the annotation in separate lines, or it can be displayed on the same line, or displayed in other formats, without any specific limitation here.
[0116] In this way, the embodiment of the present disclosure decodes the initial circuit design interface, obtains the initial editing interface, and then performs corresponding editing to obtain the target editing interface, and then encodes to obtain the target circuit design interface, thereby completing a version modification process. Based on this method, the version modification information input by the user is integrated with the data of the design software through interface interaction, and at the same time, when the circuit is delivered, the version modification record document does not need to be separately archived and managed, but the version modification information is directly displayed on the circuit design platform, and the version modification information is delivered together with the circuit.
[0117] After obtaining the target circuit design interface, when the next version modification process is needed, the initial circuit design interface opened is the target circuit design interface. Therefore, in some embodiments, obtaining the initial circuit design interface can include:
[0118] After generating the target circuit design interface, the target circuit design interface is determined as the initial circuit design interface.
[0119] Correspondingly, the method can also include:
[0120] The target annotation is determined as the initial annotation.
[0121] It should be noted that the target circuit design interface obtained by the last modification is taken as the initial circuit design interface to be modified this time, and correspondingly, the target annotation in the last target circuit design interface is taken as the initial annotation in the initial circuit design interface this time.
[0122] For the initial circuit design interface, in some embodiments, the initial circuit design interface includes a circuit structure and an initial annotation, and the initial annotation is formed by splicing at least one editable item name and item content before editing. That is, the initial circuit design interface is the circuit design interface that needs to be modified this time, and the annotation has not been revised for this version modification, so the item content at this time is the item content before editing.
[0123] Further, in order to distinguish from other text content, in some embodiments, the method can also include:
[0124] Adding a preset data attribute to the target annotation to distinguish the target annotation from other text content in the target circuit design interface.
[0125] It should be noted that the embodiment of the present disclosure can add a preset data attribute to the target annotation when performing encoding processing, or can add a preset data attribute to the annotation when the annotation is first formed, or can add a preset data attribute to the annotation through other ways, which is not limited here.
[0126] It should be noted that, as mentioned above, the preset calling instruction can be used to capture the annotation from the circuit design interface. The preset calling instruction can include an interaction instruction for the initial annotation, or a preset shortcut key instruction associated with the preset data attribute.
[0127] The interaction instruction herein can be a mouse click operation or a touch operation on the annotation area in the circuit design interface. Alternatively, the preset shortcut key instruction can be added with a special function to bind it to the preset data attribute. When the shortcut key instruction is detected, a decoding process of the annotation is performed to obtain the editing interface. In addition, if the circuit design interface includes multiple annotations, when the preset shortcut key instruction is received, options of each annotation can be popped up respectively for selection by the tester. Alternatively, the preset shortcut key instruction can be added with a corresponding number to capture the corresponding annotation, and the like, which is not limited here.
[0128] The circuit design method provided by the embodiment of the present disclosure is a method capable of realizing design version control on an existing circuit design platform. The method integrates the user inputted revision information and design software data through interface interaction, and displays the revision information on the circuit design platform through text display to realize delivery of the revision information together with the circuit. Meanwhile, the method realizes unified recording of the user revision process through standardized interface setting. In addition, the method realizes good data storage in limited database function through a special coding mode, and facilitates reading and modification.
[0129] In another embodiment of the present disclosure, referring to Figure 6 which shows a flowchart of another circuit design method provided by the embodiment of the present disclosure. As shown in Figure 6 , the method can include:
[0130] S201: Multi-user circuit revision.
[0131] S202: Input entry content by using a software tool.
[0132] S203: Process the editing interface by using a coding engine.
[0133] S204: Store and display the annotation in the circuit design interface.
[0134] S205: Deliver the annotation together with the circuit structure.
[0135] It should be noted that, Figure 6 which shows a flowchart of storing and displaying the revision information together with the circuit data by using a software tool and a coding engine. In this embodiment, the circuit can be designed and revised by multiple designers, and thus is referred to as multi-user circuit revision.
[0136] After obtaining the editing interface, the software tool inputs the entries edited by the designer; after editing is completed, the editing interface is encoded by the encoding engine to obtain the circuit design interface, and the annotations are displayed in the circuit design interface. Then, when the circuit is delivered, the annotations are delivered along with the circuit.
[0137] The software tools and coding engine can be integrated into the circuit design platform, or used as additional plug-ins in conjunction with the circuit design platform; no specific limitations are made here.
[0138] In other words, this embodiment uses software tools and an encoding engine to store and display the revised information along with the circuit data. Specifically, the software tools process user input, the encoding engine encodes and stores the information, and then displays it in the circuit.
[0139] It should also be noted that the editing interface can be customized upon initial use, allowing you to set the names of editable items. For an example, see [link to example]. Figure 7 This illustration shows a schematic diagram of encoding the editing interface provided in this embodiment, such as... Figure 7 As shown, customized editable entries can include editable entries such as Date, Revision, Owner (or username, ID, etc.), and Description.
[0140] Among them, the content of the Date entry can be manually entered by the designer or automatically generated by the software tool based on the actual time; the content of the Revision entry can be manually entered by the designer or automatically generated by the software tool based on the version information, for example, if the previous version was version 1, then the current version will be automatically generated as version 2; the content of the Owner entry can be manually entered by the designer or automatically generated by the software tool based on the user ID logged into the current circuit design platform; the Description is mainly entered by the designer.
[0141] exist Figure 7 In the example shown, the names of each item are represented in English. In this example, the item content corresponding to Data is “Oct 19 11:17:06 2022”, the item content corresponding to Revision is “RevA”, the item content corresponding to Owner is “ylwang”, and the item content corresponding to Description is “type in description”.
[0142] The functions of the options "OK", "Cancel", "Apply" and "Help" are the same as those of the options "Confirm", "Clear", "Apply" and "Help" described in the foregoing embodiments, and thus will not be described again.
[0143] After the user clicks "OK", the information input by the user is processed, and when each item of information input by the user is obtained, the splicing data function can be used according to the keyword to splice and obtain the final actual display text information (as shown in the comment in Figure 7 Here, the virtuoso skill command schCreateNoteLabel and entry can be used in the circuit design platform to generate an annotation text containing the text information processed in the previous step according to the mouse position of the user.
[0144] The corresponding functions can be implemented by the following code language:
[0145] NoteItem = strcat("Date : "date" \n"
[0146] "Revision : "Revision" \n"
[0147] "Owner : "Owner" \n"
[0148] "Description: "descFinal )
[0150] In addition, in order to distinguish from general text, the text content is assigned a special data attribute (i.e., the preset data attribute described above) for subsequent use. Here, the preset data attribute can be "isRev".
[0151] It can be seen that the disclosure embodiments can customize the management of the comment by manual setting and assign the text with a preset data attribute, and then the device for executing the related functions can be referred to as a customization tool; the text generated by the customization tool is compared with the text generated by the default tool, see Figure 8A which shows a comment comparison diagram provided by the disclosure embodiments, wherein Note1 represents the comment generated by the customization tool, and Note2 represents the comment generated by the default tool.
[0152] The attribute of Note1 and Note2 is called respectively, and the obtained results are as follows:
[0153] note1 -> isRev
[0154] "TRUE"
[0155] note2 -> isRev
[0156] nil
[0157] As can be seen, for the customized tool generated comment, the isRev attribute is TRUE, i.e., with the isRev attribute; for the default tool generated comment, the isRev attribute is nil, i.e., without the isRev attribute.
[0158] Further, referring to Figure 8B , a comparison diagram of an editing interface is shown. In Figure 8B , Note 1 still represents the customized tool generated comment, and Note 2 still represents the default tool generated comment. By modifying the shortcut key Q calling function with the isRev attribute text, it can be ensured that the user realizes the standardized modification. Here, it is assumed that for the customized tool generated comment, the modified shortcut key Q calling function with the isRev attribute text can be called according to the modified shortcut key Q calling function with the isRev attribute text, and for the default tool generated comment, the original shortcut key Q calling function can be called according to the original shortcut key Q calling function. Figure 8B , the calling interfaces of the two types of texts using the shortcut key Q are shown, wherein, editing interface 1 is the interface called according to the decoding processing of Note 1, and editing interface 2 is the interface called according to the decoding processing of Note 2,
[0159] As shown in Figure 8B , due to the special attribute (isRev) of Note 1 and the modification of the Q key calling function, after the user uses the shortcut key Q, the user selected text will be decoded according to Date, Revision, Owner, and Description, as shown in editing interface 1, the contents of the four editable items are displayed respectively, and the item name is fixed, the item name is editable, and the user can conveniently and simply modify it uniformly. For the editing interface 2 obtained by decoding Note 2, all the comment contents are displayed in Note Text, and it is difficult for the user to uniformly and standardizedly modify them.
[0160] Further, as shown in Figure 9 , a process diagram of an encoding processing is shown. As shown in Figure 9 , the item name and item content of each editable item in the editing interface are spliced, and after encoding, the circuit design interface is obtained, and the comment content is displayed in the editing interface, and the comment is also stored in the circuit file, so the encoding processing is also called the processing of encoding and storing information.
[0161] In this way, the method can realize design version control on an existing circuit design platform, and through fusing the revision information with a software database (for example, virtuoso software) and a special coding mode, realize standardized control such as quick saving, reading and modifying of circuit design version records.
[0162] In yet another embodiment of the present disclosure, referring to Figure 10 which shows a flow diagram of another circuit design method provided by the embodiment of the present disclosure. As shown in Figure 10 , the method can include:
[0163] S301: A user selects circuit revision information.
[0164] S302: A decoding engine processes.
[0165] S303: A graphical interface displays.
[0166] S304: The user modifies the revision information.
[0167] S305: After coding and storage, it is displayed again.
[0168] It should be noted that Figure 10 which shows a flow diagram of retrieving and modifying revision information. First, when a circuit is revised, a user opens a circuit design file, obtains an initial circuit design interface, and selects circuit revision information (i.e., initial notes that need to be modified and edited) from the initial circuit design interface; then a decoding engine decodes the initial notes, obtains an initial editing interface, and displays the initial editing interface in the form of a graphical interface; the user edits the contents of the items in the initial editing interface (i.e., modifies the revision information), obtains a target editing interface; finally, the decoding engine encodes the target editing interface, stores the latest item contents, obtains target notes, and displays the target notes in the target circuit design interface.
[0169] It should also be noted that Figure 11 which shows a modification process diagram of a note provided by the embodiment of the present disclosure. As shown in Figure 11 , after the user selects the text (initial notes), the user can use the shortcut key Q to call out the initial editing interface for modification. Due to the special attribute (isRev) of the generated text and the modification of the Q key calling function, after the user uses the shortcut key Q, the user-selected text will be decoded according to Date, Revision, Owner, Description, etc. After decoding, the data contents are combined as editable items and transmitted back to the graphical interface (editing interface). After the user modifies the related items, the target notes are obtained through encoding.
[0170] Further, referring to Figure 12This illustrates a schematic diagram of a circuit modification process provided in an embodiment of this disclosure. For example... Figure 12 As shown, when a user retrieves and modifies version information, the system first retrieves the modification entries for a specific version of the project from the circuit design platform. Then, the decoding engine converts the initial circuit design interface into an editing interface for easy user modification. After the user makes the changes, the decoding engine re-encodes the modified version information and re-displays it, resulting in the target circuit design interface. This customization tool plays a significant role in implementing design version control within the circuit design platform.
[0171] In another embodiment of this disclosure, see Figure 13 This illustrates a schematic diagram of the composition structure of a circuit design device provided in an embodiment of the present disclosure. Figure 13 As shown, the circuit design device 130 may include an acquisition unit 1301, an encoding / decoding unit 1302, and an editing unit 1303, wherein:
[0172] Acquisition unit 1301 is configured to acquire the initial circuit design interface;
[0173] The encoding / decoding unit 1302 is configured to decode the initial circuit design interface to generate an initial editing interface; the initial editing interface includes at least one editable entry, and the editable entry includes a preset entry name and editable entry content;
[0174] Editing unit 1303 is configured to edit the content of an entry to obtain the target editing interface;
[0175] The encoding / decoding unit 1302 is also configured to encode the target editing interface to generate a target circuit design interface, which includes a target annotation formed by concatenating the entry name of at least one editable entry with the content of the edited entry.
[0176] In some embodiments, the initial circuit design interface includes a circuit structure and initial annotations, wherein the initial annotations are formed by concatenating the entry name of at least one editable entry and the entry content before editing; wherein:
[0177] The encoding / decoding unit 1302 is also configured to receive a preset call instruction; and to retrieve initial annotations from the initial circuit design interface according to the preset call instruction, decode the initial annotations, and generate an initial editing interface.
[0178] In some embodiments, the number of initial annotations is at least one; wherein, when initial annotations are retrieved from the initial circuit design interface according to a preset call instruction, the retrieved initial annotation is one of at least one initial annotation.
[0179] In some embodiments, such asFigure 13 As shown, the circuit design apparatus 130 can further include an initialization unit 1304 configured to set an entry name of the at least one editable entry to implement initialization of the editing interface.
[0180] The entry name of the at least one editable entry includes one or more of the following: date, version, user name, and comment content.
[0181] In some embodiments, the obtaining unit 1301 is further configured to determine the target circuit design interface as an initial circuit design interface after the target circuit design interface is generated.
[0182] In some embodiments, the obtaining unit 1301 is further configured to determine the target comment as an initial comment.
[0183] In some embodiments, the initial circuit design interface includes a circuit structure, and the encoding and decoding unit 1302 is further configured to receive a preset new creation instruction; and create a new editing interface according to the preset new creation instruction, and determine the newly created editing interface as the initial editing interface.
[0184] In some embodiments, the encoding and decoding unit 1302 is further configured to perform splicing processing on the entry name of the at least one editable entry and the edited entry content to obtain the target comment.
[0185] In some embodiments, the encoding and decoding unit 1302 is further configured to add a preset data attribute to the target comment to distinguish the target comment from other text content in the target circuit design interface.
[0186] In some embodiments, the preset calling instruction includes an interaction instruction for the initial comment, or a preset shortcut key instruction associated with the preset data attribute.
[0187] In some embodiments, the encoding and decoding unit 1302 is further configured to receive a preset encoding instruction to accept editing of the entry content and perform the step of encoding the target editing interface according to the preset encoding instruction.
[0188] It should be noted that the circuit design apparatus provided in the present embodiment is applied to the circuit design method in the foregoing embodiments, and details not disclosed in the present disclosure embodiments can be understood with reference to the description of the foregoing embodiments.
[0189] It can be understood that, in this embodiment, the "unit" can be a partial circuit, a partial processor, a partial program or software, etc., and can also be a module, and can also be non-modular. Moreover, the components in this embodiment can be integrated in a processing unit, or can be physically present as individual units, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software function module.
[0190] When the integrated unit is realized in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiment can be embodied in the form of a software product, and the computer software product is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in the embodiment. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.
[0191] Based on the circuit design device 130, refer to Figure 14 which shows a component structure diagram of a circuit design platform provided by the embodiment of the present disclosure. As shown in Figure 14 , the circuit design platform 140 includes the circuit design device 130 described in any one of the foregoing embodiments. In this way, the circuit design platform can integrate user annotation content and software data into one, and deliver together with the circuit, and realize unified recording in the user revision process through the standardized interface setting, and can also realize good data saving in the limited database function, and facilitate reading and modification.
[0192] Further, the embodiment provides a computer storage medium, which stores a computer program. The computer program is executed by a processor to implement the circuit design method described in any one of the foregoing embodiments.
[0193] Based on the component of the circuit design device 130 and the computer storage medium, refer to Figure 15 which shows a specific hardware structure diagram of an electronic device 150 provided by the embodiment of the present disclosure. As shown in Figure 15As shown, the apparatus can include a communication interface 1501, a memory 1502 and a processor 1503; the various components are coupled together by a bus system 1504. It can be understood that the bus system 1504 is used to realize the connection communication between the components. In addition to including a data bus, the bus system 1504 also includes a power bus, a control bus and a status signal bus. However, in order to clearly illustrate, all kinds of buses are marked as the bus system 1504 in the Figure 15 The communication interface 1501 is used for receiving and sending signals in the process of transmitting information with other external network elements;
[0194] The memory 1502 is used for storing computer programs capable of running on the processor 1503;
[0195] The processor 1503 is used for executing the following when running the computer programs:
[0196] Obtaining an initial circuit design interface;
[0197] Decoding the initial circuit design interface to generate an initial editing interface; the initial editing interface includes at least one editable item, and the editable item includes a preset item name and editable item content;
[0198] Editing the item content in the initial editing interface to obtain a target editing interface;
[0199] Encoding the target editing interface to generate a target circuit design interface, and the target circuit design interface includes a target annotation formed by splicing the item name of the at least one editable item and the edited item content.
[0200] It is to be appreciated that the memory 1502 in the disclosed embodiments can be volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. In one embodiment, nonvolatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), electrically EPROM (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), which acts as external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), DRAM, synchronous dynamic RAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The memory 1502 of the subject systems and methods herein is intended to include, without being limited to, these and any other suitable types of memory.
[0201] The processor 1503 can be an integrated circuit chip logic circuit, or an instruction in a form of software. In implementation process, each step of the above method can be completed by the integrated logic circuit or the instruction in the form of software in the processor 1503. The processor 1503 described above can be a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. Each method, step and logic block in the embodiments of the present disclosure can be realized or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in combination with the embodiments of the present disclosure can be directly embodied as a hardware code processor to execute, or be executed by a combination of hardware and software modules in the code processor. The software module can be located in a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register, or other mature storage medium in the art. The storage medium is located in the memory 1502, and the processor 1503 reads the information in the memory 1502 and combines the hardware to complete the steps of the above method.
[0202] It can be understood that the embodiments described herein can be realized in hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described in the present disclosure, or a combination thereof.
[0203] For software implementation, the techniques described herein can be implemented with a module (for example, procedures, functions, and so on) that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0204] Optionally, as another embodiment, the processor 1503 is further configured to implement the circuit design method described in any of the preceding embodiments for a terminal device when running the computer program.
[0205] The above merely describes preferred embodiments of the present disclosure, but is not intended to limit the protection scope of the present disclosure.
[0206] It should be noted that in the present disclosure, the terms "comprising", "containing" or any other variants 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 further includes elements inherent to such a process, method, article or device. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0207] The above-mentioned sequence numbers of the embodiments of the present disclosure are only for description, and do not represent the advantages or disadvantages of the embodiments.
[0208] The methods disclosed in several method embodiments provided by the present disclosure can be combined arbitrarily without conflict to obtain new method embodiments.
[0209] The features disclosed in several product embodiments provided by the present disclosure can be combined arbitrarily without conflict to obtain new product embodiments.
[0210] The features disclosed in several method or device embodiments provided by the present disclosure can be combined arbitrarily without conflict to obtain new method or device embodiments.
[0211] The above merely describes specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and any skilled person in the art can easily think of changes or replacements within the technical range disclosed by the present disclosure, which should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims
1. A circuit design method, characterized in that, the method comprises: obtaining an initial circuit design interface; the initial circuit design interface comprises a plurality of initial annotations, and the initial annotations that need to be modified and edited are selected from the initial circuit design interface; decoding the selected initial circuit design interface to generate an initial editing interface; the initial editing interface comprises at least one editable item, and the editable item comprises a preset item name and editable item content; editing the item content in the initial editing interface to obtain a target editing interface; encoding the target editing interface to generate a target circuit design interface, and the target circuit design interface comprises a target annotation formed by splicing the item name of the at least one editable item and the edited item content.
2. The circuit design method of claim 1, characterized in that, the initial circuit design interface comprises a circuit structure and initial annotations, and the initial annotations are formed by splicing the item name of the at least one editable item and the item content before editing; and the decoding of the initial circuit design interface to generate an initial editing interface comprises: receiving a preset calling instruction; grabbing the initial annotations from the initial circuit design interface according to the preset calling instruction, and generating the initial editing interface according to the initial annotations.
3. The circuit design method of claim 2, characterized in that, the number of initial annotations is at least one; wherein, when the initial annotations are grabbed from the initial circuit design interface according to the preset calling instruction, the grabbed initial annotation is one of the at least one initial annotation.
4. The circuit design method of claim 1, characterized in that, the method further comprises: setting the item name of the at least one editable item to initialize the editing interface; wherein, the item name of the at least one editable item comprises one or more of the following: date, version, user name, annotation content.
5. The circuit design method of claim 2, characterized in that, the obtaining of the initial circuit design interface comprises: after the target circuit design interface is generated, the target circuit design interface is determined as the initial circuit design interface; correspondingly, the method further comprises: determining the target annotation as the initial annotation.
6. The circuit design method of claim 1, characterized in that, the initial circuit design interface comprises a circuit structure, and the method further comprises: receiving a preset new instruction; according to the preset new instruction, a new editing interface is created, and the created editing interface is determined as the initial editing interface.
7. The circuit design method of claim 2, characterized in that, the method further comprises: adding a preset data attribute to the target annotation to distinguish the target annotation from other text content in the target circuit design interface.
8. The circuit design method of claim 7, characterized in that, The preset calling instruction comprises an interaction instruction for the initial comment or a preset shortcut key instruction associated with the preset data attribute.
9. The circuit design method of any one of claims 1-8, wherein, After obtaining the target editing interface, the method further comprises: receiving a preset encoding instruction to accept editing of the item content according to the preset encoding instruction and perform encoding processing on the target editing interface.
10. A circuit design apparatus, comprising: an obtaining unit, an encoding and decoding unit, and an editing unit, wherein: the obtaining unit is configured to obtain an initial circuit design interface; the initial circuit design interface comprises a plurality of initial comments, and the initial comments that need to be modified and edited are selected from the initial circuit design interface; the encoding and decoding unit is configured to perform decoding processing on the initial circuit design interface to generate an initial editing interface; the initial editing interface comprises at least one editable item, and the editable item comprises a preset item name and editable item content; the editing unit is configured to edit the item content to obtain a target editing interface; the encoding and decoding unit is further configured to perform encoding processing on the target editing interface to generate a target circuit design interface; the target circuit design interface comprises target comments formed by splicing the item name of the at least one editable item and the edited item content.
11. The circuit design apparatus of claim 10, wherein: the initial circuit design interface comprises a circuit structure and initial comments formed by splicing the item name of the at least one editable item and the item content before editing; and the encoding and decoding unit is further configured to receive a preset calling instruction and perform decoding processing on the initial comments to generate the initial editing interface according to the preset calling instruction.
12. A circuit design platform, comprising: the circuit design apparatus of claim 10 or 11.
13. An electronic device, comprising: a memory and a processor, wherein: the memory is configured to store a computer program capable of running on the processor; the processor is configured to execute the circuit design method of any one of claims 1-9 when running the computer program.
14. A storage medium, comprising: the storage medium stores a computer program, and the computer program is executed by at least one processor to implement the circuit design method of any one of claims 1-9.