A macro-reference inline non-macro-internal identifier processing method, electronic device and medium
By acquiring and adding storage information of macro reference lines, the problem of EDA tools being unable to recognize non-macro identifiers is solved, enabling accurate and fast binding and debugging of non-macro identifiers, and improving the debugging efficiency of chip design code.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-06
- Publication Date
- 2026-04-10
AI Technical Summary
Existing EDA tools cannot support the syntax parsing and recognition of non-macro identifiers within macro references, which makes it impossible to meet the debugging requirements of non-macro identifiers in the expanded macro text.
By obtaining the storage information of the macro reference line, including the position information of the identifier within the macro and the location information of the identifier outside the macro, it is added to the list of identifiers within the macro, the binding object is determined, and debugging operations are performed.
It enables accurate and rapid binding and debugging of non-macro identifiers after macro reference line expansion, improving the debugging efficiency of chip design code.
Smart Images

Figure CN121300758B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of macro text processing, and in particular to a macro reference line non-macro internal identifier processing method, an electronic device and a medium. BACKGROUND
[0002] In chip design code, in order to facilitate text replacement of the code, a large number of macro texts are usually used to participate in design programming. The macro reference line includes macro reference and non-macro internal identifier, and the macro text content is various. The identifier specifically includes signal, parameter, model, function, task and instance. In the macro text expansion process of the macro reference line, the non-macro internal identifier may be wrong, and the existing electronic design automation (Electronic Design Automation, referred to as EDA) tool usually only supports the conventional expansion of the macro text in the chip design code file, and does not support the functions such as syntax analysis, identifier identification and binding of the expanded text. In this way, the debugging demand of the non-macro internal identifier of the expanded macro text cannot be met. Therefore, how to accurately and quickly realize the debugging function based on the expanded non-macro internal identifier becomes a technical problem to be solved. SUMMARY
[0003] The present application aims to provide a macro reference line non-macro internal identifier processing method, an electronic device and a medium, which can accurately and quickly bind objects for the non-macro internal identifier of the expanded macro reference line, and realize the debugging function based on the bound objects.
[0004] According to the first aspect of the present application, a macro reference line non-macro internal identifier processing method is provided, comprising:
[0005] Step S1, obtaining the storage information corresponding to each macro reference of the macro reference line,
[0006] The storage information corresponding to the macro reference includes the macro reference identifier, the line number in the macro expansion text of the macro reference line and the macro internal identifier list corresponding to the line number in the macro expansion text of the macro reference line. The macro internal identifier list includes at least one macro internal identifier positioning information. The macro internal identifier positioning information includes the binding object, the position information of the macro internal identifier corresponding to the macro reference in the original file of the chip design code and the position information of the macro internal identifier in the macro expansion text of the macro reference line. The binding object is an object that can be identified and supports execution of the debugging operation;
[0007] Step S2, obtaining the non-macro internal identifier positioning information in the macro expansion text of the macro reference line and the corresponding macro reference identifier to be added,
[0008] The non-macro-in-identifier positioning information includes a binding object, position information of the non-macro-in-identifier in a chip design code original file, and position information of the non-macro-in-identifier in a macro expansion text of the macro reference line, a starting column number of a non-macro-in-identifier smaller than a starting column number of a first macro reference in the macro reference line corresponds to a first macro reference identifier to be added, a starting column number of a non-macro-in-identifier greater than an ending column number of an i-1th macro reference and smaller than a starting column number of an i-th macro reference corresponds to an i-th macro reference identifier to be added, a starting column number of a non-macro-in-identifier greater than a right starting column number of an I-th macro reference corresponds to an I-th macro reference identifier to be added, i is an integer in 2 to I, and I is a total number of macro references of the macro reference line;
[0009] In step S3, the non-macro-in-identifier positioning information is added to a macro-in-identifier list corresponding to the macro reference identifier to be added.
[0010] Further, the method further includes:
[0011] In step S4, based on the position of the non-macro-in-identifier in the macro expansion text of the macro reference line, storage information corresponding to the macro reference of the macro reference line is found, and a binding object corresponding to the non-macro-in-identifier is determined.
[0012] In step S5, based on the binding object corresponding to the non-macro-in-identifier, a debugging operation is performed on the non-macro-in-identifier in the macro expansion text of the macro reference line.
[0013] Further, the step S2 includes:
[0014] In step S21, identifiers in the macro reference line are sequentially obtained from a starting column to an ending column to construct an identifier list, and macro references are sequentially obtained to construct a macro reference list.
[0015] In step S22, a first pointer is set to point to a first identifier in the identifier list of the macro reference line, and a second pointer is set to point to a first macro reference in the macro reference list.
[0016] In step S23, if a starting column number of the identifier currently pointed to by the first pointer is smaller than a starting column number of the macro reference currently pointed to by the second pointer, step S27 is executed, otherwise, step S24 is executed.
[0017] In step S24, if an ending column number of the identifier currently pointed to by the first pointer is smaller than an ending column number of the macro reference currently pointed to by the second pointer, step S25 is executed, otherwise, step S26 is executed.
[0018] In step S25, if the first pointer does not point to a last identifier in the identifier list of the macro reference line, the first pointer is updated by 1, and the step S23 is returned to be executed, otherwise, the step S2 is ended.
[0019] Step S26, if the first pointer does not point to the last macro reference of the macro reference line, updating the second pointer by 1, and returning to execute step S23;
[0020] Step S27, obtaining the positioning information of the identifier currently pointed by the first pointer, and determining the macro reference identifier currently pointed by the second pointer as the macro reference identifier corresponding to the identifier currently pointed by the first pointer to be added, and returning to execute step S25.
[0021] Further, in the step S27, the positioning information of the identifier currently pointed by the first pointer comprises:
[0022] Step S271, setting the binding object of the identifier currently pointed by the first pointer;
[0023] Step S272, obtaining the line number and column number range of the identifier currently pointed by the first pointer in the original chip design code file, and adding to the location information of the identifier currently pointed by the first pointer in the original chip design code file;
[0024] Step S273, obtaining the line number and column number range of the identifier currently pointed by the first pointer in the macro expansion text of the macro reference line, and adding to the location information of the identifier currently pointed by the first pointer in the macro expansion text of the macro reference line.
[0025] Further, the step S272 further comprises: obtaining the code region identifier corresponding to the identifier currently pointed by the first pointer in the original chip design code file, and adding to the location information of the identifier currently pointed by the first pointer in the original chip design code file.
[0026] Further, the step S273 further comprises: determining the macro reference identifier currently pointed by the second pointer as the macro reference identifier corresponding to the identifier currently pointed by the first pointer, and adding to the location information of the identifier currently pointed by the first pointer in the macro expansion text of the macro reference line.
[0027] Further, the macro-in identifier comprises signal, parameter, model, function, task and instance.
[0028] Further, the non-macro-in identifier comprises signal, parameter, model, function, task and instance.
[0029] According to the second aspect of the present application, an electronic device is provided, comprising: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executed by the at least one processor, and the instructions are configured to execute the method according to the first aspect of the present application.
[0030] According to a third aspect of the present application, a computer readable storage medium is provided, which stores computer executable instructions for performing the method according to the first aspect of the present application.
[0031] The present application has obvious advantages and beneficial effects compared with the prior art. The macro reference line non-macro internal identifier processing method, electronic device and medium provided by the present application can achieve considerable technical progress and practicality, and have wide industrial utilization value. The present application has at least the following beneficial effects:
[0032] The present application first creates storage information corresponding to each macro reference of the macro reference line, adds macro internal identifier positioning information to the storage information corresponding to the macro reference, and then adds non-macro internal identifier positioning information to the macro internal identifier list corresponding to the macro reference based on the positional relationship between the non-macro internal identifier and the macro reference in the macro reference line. Each non-macro internal identifier also contains binding objects and position information in the storage information corresponding to each macro reference, so that the binding objects of the non-macro internal identifier after expansion of the macro reference line can be accurately and quickly bound, and the debugging function can be realized based on the binding objects. BRIEF DESCRIPTION OF DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0034] Figure 1 The macro reference line non-macro internal identifier processing flowchart provided by the present application is shown. DETAILED DESCRIPTION
[0035] The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings of the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0036] The present application provides a macro reference line non-macro internal identifier processing method, as shown in Figure 1 , which includes:
[0037] Step S1, obtaining storage information corresponding to each macro reference of the macro reference line.
[0038] The storage information corresponding to the macro reference includes a macro reference identifier, a line number in the macro expansion text of the macro reference line, and a macro internal identifier list corresponding to the line number in the macro expansion text of the macro reference line, and the macro internal identifier list includes at least one macro internal identifier positioning information, and the macro internal identifier positioning information includes a binding object, position information of the macro reference corresponding to the macro internal identifier in the chip design code original file, and position information of the macro internal identifier in the macro expansion text of the macro reference line.
[0039] It should be noted that the chip design code original file refers to a code file generated based on a hardware description language. The hardware description language can be Verilog, SystemVerilog, VHDL language, etc. The macro internal identifier refers to an identifier included in the macro expansion text, and the macro internal identifier can be a signal, a parameter, a model, a function, a task, and an instance, etc. It can be understood that the same name macro can be used in different positions, that is, corresponding to different macro references.
[0040] The macro reference identifier is a unique identifier capable of identifying the macro reference, and specifically can be a macro virtual file created for each macro reference, and the macro reference identifier is set as the macro virtual file identifier. The macro virtual file specifically can include a macro virtual file identifier, a macro initial expansion text, a macro internal identifier initial line number, and a macro internal identifier initial column number range. The macro internal identifier initial line number is the line number of the macro internal identifier in the macro initial expansion text, and the macro internal identifier initial column number range is the column number range of the macro internal identifier in the macro initial expansion text.
[0041] The binding object refers to an object that can be identified and supports execution of a debugging operation. The debugging operation specifically includes operations such as searching, marking, tracing a link relationship, and defining a jump. The marking operation specifically can be an operation in the form of highlighting, box selection, etc.
[0042] In step S2, non-macro internal identifier positioning information in the macro expansion text of the macro reference line and a corresponding macro reference identifier to be added are obtained.
[0043] The non-macro internal identifier positioning information includes a binding object, position information of the non-macro internal identifier in the chip design code original file, and position information of the non-macro internal identifier in the macro expansion text of the macro reference line. The macro reference identifier to be added corresponding to a non-macro internal identifier with a starting column number less than a starting column number of a first macro reference in the macro reference line is a first macro reference identifier. The macro reference identifier to be added corresponding to a non-macro internal identifier with a starting column number greater than an ending column number of an i-1th macro reference and less than a starting column number of an i-th macro reference is an i-th macro reference identifier. The macro reference identifier to be added corresponding to a non-macro internal identifier with a starting column number greater than a right starting column number of an I-th macro reference is an I-th macro reference identifier. i is an arbitrary integer in 2 to I, and I is the total number of macro references in the macro reference line.
[0044] It should be noted that the macro reference identifier to be added refers to the macro reference identifier corresponding to the macro-internal identifier list to which the non-macro-internal identifier positioning information needs to be added. The specific correspondence between the non-macro-internal identifier positioning information and the macro reference identifier to be added is determined based on the positional relationship between the non-macro-internal identifier and the macro reference. The non-macro-internal identifier can be specifically a signal, a parameter, a model, a function, a task, and an instance, etc.
[0045] Step S3, adding the non-macro-internal identifier positioning information to the macro-internal identifier list corresponding to the macro reference identifier to be added.
[0046] It should be noted that adding the non-macro-internal identifier positioning information to the macro-internal identifier list corresponding to the macro reference identifier to be added also adds the non-macro-internal identifier positioning information to the storage information corresponding to the macro reference, so that the storage information corresponding to the macro reference contains both the macro-internal identifier positioning information and the non-macro-internal identifier positioning information, and the non-macro-internal identifier can also be based on the storage information corresponding to the macro reference to implement the debugging function.
[0047] As an embodiment, the method further comprises:
[0048] Step S4, based on the position of the non-macro-internal identifier in the macro expansion text of the macro reference line, searching the storage information corresponding to the macro reference of the macro reference line to determine the binding object corresponding to the non-macro-internal identifier.
[0049] It should be noted that since the non-macro-internal identifier positioning information has been stored in the storage information corresponding to the macro reference, the positional information of the non-macro-internal identifier and the binding object are clear, and therefore the binding object corresponding to the non-macro-internal identifier can be determined by the position of the non-macro-internal identifier in the macro expansion text of the macro reference line.
[0050] Step S5, performing a debugging operation on the non-macro-internal identifier in the macro expansion text of the macro reference line based on the binding object corresponding to the non-macro-internal identifier.
[0051] It should be noted that since the binding object is an object that can be recognized and supported to perform a debugging operation, when the non-macro-internal identifier is bound to the corresponding binding object, a debugging operation can be performed on the non-macro-internal identifier in the macro expansion text of the macro reference line based on the binding object corresponding to the non-macro-internal identifier.
[0052] It should be noted that in the prior art, the macro expansion text of the macro reference line is pure text information and cannot perform debugging operations, and in the embodiment of the present application, the position of the non-macro-internal identifier in the macro expansion text based on the macro reference line and the storage information corresponding to the macro reference can accurately and quickly obtain the binding object corresponding to the non-macro-internal identifier, and the non-macro-internal identifier in the macro expansion text of the macro reference line is bound to the binding object, so that debugging operations such as annotation, searching, tracing link relationship, and definition jump can be performed.
[0053] As an embodiment, the step S2 comprises:
[0054] Step S21, from the start column to the end column of the macro reference line, the identifiers in the macro reference line are sequentially obtained to construct an identifier list, and the macro references are sequentially obtained to construct a macro reference list.
[0055] Step S22, a first pointer is set to point to the first identifier in the identifier list of the macro reference line, and a second pointer is set to point to the first macro reference in the macro reference list.
[0056] Step S23, if the start column number of the identifier currently pointed to by the first pointer is less than the start column number of the macro reference currently pointed to by the second pointer, step S27 is performed, otherwise, step S24 is performed.
[0057] It should be noted that if the start column number of the identifier currently pointed to by the first pointer is less than the start column number of the macro reference currently pointed to by the second pointer, it indicates that all or part of the identifier currently pointed to by the first pointer is located to the left of the macro reference currently pointed to by the second pointer, and the identifier currently pointed to by the first pointer is a non-macro-internal identifier.
[0058] Step S24, if the end column number of the identifier currently pointed to by the first pointer is less than the end column number of the macro reference currently pointed to by the second pointer, step S25 is performed, otherwise, step S26 is performed.
[0059] It should be noted that if the start column number of the identifier currently pointed to by the first pointer is greater than or equal to the start column number of the macro reference currently pointed to by the second pointer and the end column number of the identifier currently pointed to by the first pointer is less than the end column number of the macro reference currently pointed to by the second pointer, it indicates that the identifier currently pointed to by the first pointer is a macro-internal identifier of the macro reference currently pointed to by the second pointer, and it can be directly skipped.
[0060] Step S25, if the first pointer currently does not point to the last identifier in the identifier list of the macro reference line, the first pointer is updated by 1, and step S23 is returned to be executed, otherwise, step S2 is ended.
[0061] Step S26, if the first pointer currently does not point to the last macro reference of the macro reference line, the second pointer is updated by 1, and step S23 is returned to be executed.
[0062] In step S27, the positioning information of the identifier currently pointed to by the first pointer is obtained, and the macro reference identifier currently pointed to by the second pointer is determined as the macro reference identifier corresponding to the identifier currently pointed to by the first pointer, and the execution returns to step S25.
[0063] It should be noted that through the processing of steps S21-S27, a corresponding macro reference identifier to be added is determined for each non-in-macro identifier of the macro reference line.
[0064] As an embodiment, in step S27, the positioning information of the identifier currently pointed to by the first pointer includes:
[0065] In step S271, the binding object of the identifier currently pointed to by the first pointer is set.
[0066] In step S272, the line number and column number range of the identifier currently pointed to by the first pointer in the chip design code original file are obtained and added to the location information of the identifier currently pointed to by the first pointer in the chip design code original file.
[0067] In step S273, the line number and column number range of the identifier currently pointed to by the first pointer in the macro expansion text of the macro reference line are obtained and added to the location information of the identifier currently pointed to by the first pointer in the macro expansion text of the macro reference line.
[0068] As an embodiment, step S272 further includes: obtaining the code region identifier corresponding to the identifier currently pointed to by the first pointer in the chip design code original file, and adding the code region identifier to the location information of the identifier currently pointed to by the first pointer in the chip design code original file.
[0069] It should be noted that the data structure of the non-in-macro identifier positioning information and the in-macro identifier positioning information is the same. That is, the in-macro identifier positioning information also includes the code region identifier corresponding to the chip design code original file.
[0070] As an embodiment, step S273 further includes: determining the macro reference identifier currently pointed to by the second pointer as the macro reference identifier corresponding to the identifier currently pointed to by the first pointer, and adding the macro reference identifier to the location information of the identifier currently pointed to by the first pointer in the macro expansion text of the macro reference line. The chip design code original file can be divided into multiple code regions, and the storage information corresponding to the macro reference can be stored by code region, which facilitates storage and subsequent searching, and further improves the processing efficiency of the non-in-macro identifier.
[0071] It should be noted that the data structure of the non-in-macro identifier positioning information and the in-macro identifier positioning information is the same. That is, the in-macro identifier positioning information is also included in the corresponding macro reference identifier in the chip design code original file.
[0072] 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 application belongs. The terminology used in the description herein is for describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0073] It should be noted that some of the example embodiments are described as processes or methods depicted as flowcharts. Although the processes are described in a particular sequential order, many of the processes can be performed concurrently, in parallel, or simultaneously. In addition, the order of the processes can be re-arranged. The processes can terminate when their operations are completed, but can also have additional steps not included in the figure. The processes can correspond to methods, functions, procedures, subroutines, subprograms, etc.
[0074] The embodiment of the application first creates the storage information corresponding to each macro reference in the macro reference line, adds the in-macro identifier positioning information to the storage information corresponding to the macro reference, and then adds the non-in-macro identifier positioning information to the in-macro identifier list corresponding to the macro reference based on the position relationship between the non-in-macro identifier and the macro reference in the macro reference line, so that each non-in-macro identifier also contains the binding object and the position information in the storage information corresponding to each macro reference, thereby being able to accurately and quickly bind the non-in-macro identifier binding object after the macro reference line is expanded, and realizing the debugging function based on the binding object.
[0075] The embodiment of the application further provides an electronic device, including: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executed by the at least one processor, and the instructions are arranged to execute the method provided by the embodiment of the application.
[0076] The embodiment of the application further provides a computer readable storage medium, which stores computer executable instructions, and the computer executable instructions are used to execute the method provided by the embodiment of the application.
[0077] The above merely describes preferred embodiments of the present application, and is not intended to limit the present application in any form. Although the present application has been disclosed with the preferred embodiments as above, it is not intended to limit the present application. Any person skilled in the art, without departing from the technical solution of the present application, can make some changes or modifications to the above disclosed technical content to obtain equivalent embodiments with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present application, as long as it does not deviate from the technical solution of the present application, still belongs to the scope of the technical solution of the present application.
Claims
1. A method for processing inline non-macro identifiers referenced by macros, characterized in that, The method comprises: Step S1, obtaining storage information corresponding to each macro reference of a macro reference line, wherein the storage information corresponding to the macro reference comprises a macro reference identifier, a line number in a macro expansion text of the macro reference line, and a macro internal identifier list corresponding to the line number in the macro expansion text of the macro reference line, the macro internal identifier list comprising at least one macro internal identifier positioning information, the macro internal identifier positioning information comprising a binding object, position information of a macro reference corresponding to the macro internal identifier in a chip design code original file, and position information of the macro internal identifier in the macro expansion text of the macro reference line, the binding object being an object that can be identified and supports execution of a debugging operation; Step S2, obtaining non-macro internal identifier positioning information in the macro expansion text of the macro reference line and corresponding to-be-added macro reference identifiers, wherein the non-macro internal identifier positioning information comprises a binding object, position information of a non-macro internal identifier in a chip design code original file, and position information of the non-macro internal identifier in the macro expansion text of the macro reference line, a to-be-added macro reference identifier corresponding to a non-macro internal identifier with a starting column number less than a starting column number of a first macro reference in the macro reference line being a first macro reference identifier, a to-be-added macro reference identifier corresponding to a non-macro internal identifier with a starting column number greater than an ending column number of an i-1th macro reference and less than a starting column number of an i-th macro reference being an i-th macro reference identifier, a to-be-added macro reference identifier corresponding to a non-macro internal identifier with a starting column number greater than a right starting column number of an I-th macro reference being an I-th macro reference identifier, i being any integer in 2 to I, and I being a total number of macro references in the macro reference line; the step S2 comprising: Step S21, sequentially obtaining identifiers in the macro reference line from a starting column to an ending column to construct an identifier list, and sequentially obtaining macro references to construct a macro reference list; Step S22, setting a first pointer to point to a first identifier in the identifier list of the macro reference line, and setting a second pointer to point to a first macro reference in the macro reference list; Step S23, if a starting column number of the identifier currently pointed to by the first pointer is less than a starting column number of the macro reference currently pointed to by the second pointer, executing step S27, otherwise, executing step S24; Step S24, if an ending column number of the identifier currently pointed to by the first pointer is less than an ending column number of the macro reference currently pointed to by the second pointer, executing step S25, otherwise, executing step S26; Step S25, if the first pointer currently does not point to a last identifier in the identifier list of the macro reference line, updating the first pointer by 1, and returning to execute step S23, otherwise, ending step S2; Step S26, if the second pointer currently does not point to a last macro reference of the macro reference line, updating the second pointer by 1, and returning to execute step S23; Step S27, obtaining positioning information of the identifier currently pointed to by the first pointer, and determining the macro reference identifier currently pointed to by the second pointer as a to-be-added macro reference identifier corresponding to the identifier currently pointed to by the first pointer, and returning to execute step S25; Step S3, adding the non-macro internal identifier positioning information to a macro internal identifier list corresponding to the to-be-added macro reference identifier.
2. The method according to claim 1, further comprising: Step S4, based on the macro expansion text of the macro reference line, the position of the non-macro internal identifier in the macro expansion text of the macro reference line is found, and the corresponding storage information of the macro reference is determined to determine the binding object corresponding to the non-macro internal identifier. Step S5, based on the binding object corresponding to the non-macro internal identifier, the non-macro internal identifier in the macro expansion text of the macro reference line is executed to perform a debugging operation.
3. The method of claim 1, wherein, In step S27, the positioning information of the identifier currently pointed to by the first pointer is obtained, comprising: Step S271, setting the binding object of the identifier currently pointed to by the first pointer; Step S272, obtaining the line number and column number range of the identifier currently pointed to by the first pointer in the macro expansion text of the macro reference line, and adding to the position information of the identifier currently pointed to by the first pointer in the macro expansion text of the macro reference line; Step S273, obtaining the line number and column number range of the identifier currently pointed to by the first pointer in the macro expansion text of the macro reference line, and adding to the position information of the identifier currently pointed to by the first pointer in the macro expansion text of the macro reference line.
4. The method of claim 3, wherein, Step S272 further comprises: obtaining the code region identifier corresponding to the identifier currently pointed to by the first pointer in the chip design code original file, and adding to the position information of the identifier currently pointed to by the first pointer in the chip design code original file.
5. The method of claim 3, wherein, The step S273 further comprises: determining the macro reference identifier currently pointed to by the second pointer as the macro reference identifier corresponding to the identifier currently pointed to by the first pointer, and adding to the position information of the identifier currently pointed to by the first pointer in the macro expansion text of the macro reference line.
6. The method of claim 1, wherein, The macro internal identifier includes signal, parameter, model, function, task and instance.
7. The method of claim 1, wherein, The non-macro internal identifier includes signal, parameter, model, function, task and instance.
8. An electronic device, comprising: Comprise: At least one processor; And a memory connected in communication with the at least one processor; Wherein, the memory stores instructions executed by the at least one processor, the instructions are set to execute the method of any one of claims 1-7.
9. A computer-readable storage medium, characterized in that, Computer executable instructions are stored, and the computer executable instructions are used to execute the method of any one of claims 1-7.
Citation Information
Patent Citations
Macro text expansion method based on constant macro definition, electronic equipment and medium
CN117111950A
Macro text expansion method based on use chain, electronic equipment and medium
CN117111951A