CN113468834A - Method for simplifying generation of rpt file - Google Patents
Method for simplifying generation of rpt file Download PDFInfo
- Publication number
- CN113468834A CN113468834A CN202110673047.4A CN202110673047A CN113468834A CN 113468834 A CN113468834 A CN 113468834A CN 202110673047 A CN202110673047 A CN 202110673047A CN 113468834 A CN113468834 A CN 113468834A
- Authority
- CN
- China
- Prior art keywords
- file
- rpt
- generation
- allegro
- command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000008676 import Effects 0.000 claims abstract description 16
- 238000009434 installation Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000013075 data extraction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/31—Design entry, e.g. editors specifically adapted for circuit design
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method for simplifying rpt file generation, which comprises the steps of creating a generation tool file which can be identified by Allegro software, writing a rpt file generation command into the generation tool file, storing the generation tool file into an Allegro software identification folder, operating the generation command in the Allegro software to realize the generation of the rpt file, associating the generation command with a certain key through the Allegro software to realize one-key quick start, so that the version of the Allegro software does not need to be manually modified when the rpt file is generated every time, the import address of a BRD file and the output address of the rpt file do not need to be manually input, the generation steps of the rpt file are simplified, and the efficiency is improved.
Description
Technical Field
The invention relates to the technical field of DDR data extraction, in particular to a method for generating a simplified rpt file.
Background
DDR (Double Data Rate) Data can be used for checking whether the equal length of a designed line meets requirements, the design of the DDR has strict requirements on the length, and the DDR Data mostly controls the equal length relation between CLK (counter) and Address/Command and Contro.
In response to part of customer requirements, after the PCB design file is completed, each DDR length data is imported into the related DDR form, and therefore an rpt file capable of being recognized by the DDR form is needed. However, when the circuit board is designed by using the Allegro software in the prior art, the rpt file cannot be directly exported from the BRD file, a command needs to be set outside the Allegro software, the version of the Allegro software needs to be manually modified, the import path of the BRD file and the generation path of the rpt file need to be input, the generation steps of the rpt file are complicated, and the efficiency is low when the number of rpt files is large.
The above disadvantages need to be improved.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a method for simplifying generation of an rpt file.
The technical scheme of the invention is as follows:
a method of simplifying rpt file generation, comprising:
s1, setting an ECL (electrical constraint length) attribute of a DDR signal to be true in an Allegro file;
s2, creating a generated tool file, and writing an rpt file generation command in the generated tool file;
s3, modifying the format of the generated tool file into a file format which can be identified by an Allegro file;
and S4, opening Allegro software, loading and operating the generation tool file, and generating the rpt file in a set directory.
In the method for simplifying rpt file generation, in step S2, the initial format of the generated tool file is the txt format.
In the method for simplifying rpt file generation, in step S3, the format of the generated tool file is modified to be in the format of il.
In the method for simplifying rpt file generation, in step S2, the rpt file generation command includes:
step T1, creating the rpt file generation command according to the own command of the Allegro software;
t2, acquiring an environment variable value of the Allegro software by using an own command of the Allegro software, locking and searching a directory address, and simultaneously requiring the following commands to be completed in the Allegro software;
t3, obtaining the content of the locking information and the generation information;
and T4, calling a self-owned command of the Allegro software to extract DDR data information to generate the rpt file according to the locking information and the generating information.
Further, in step T3, the locking information includes a BRD file import path, and the step of generating the tool file to obtain the BRD file import path includes:
step A1, determining the version number of the Allegro software according to the acquired environment variable value;
a2, obtaining the name of the BRD file by searching the file with the specific format;
and A3, setting a condition command, and obtaining the BRD file import path according to the matching of the version number of the Allegro software and the installation rule.
Further, if the locking information is in a locking state, a warning window prompt pops up in the process of operating the tool file generation.
Further, in step T3, the generation information includes a generation path and a generation format of the rpt file, the generation path of the rpt file matches the BRD file import path of the lock information, and the generation format of the rpt file is the.rpt format.
Further, the file name of the rpt file is the same as that of the BRD file.
In step S4, the method for simplifying rpt file generation further comprises,
b1, storing the generated tool file into a folder capable of being identified by an Allegro file
B2, opening an env command of Allegro software, and associating the generated tool file with any one quick start key;
and B3, pressing the shortcut start key in Allegro software, and generating an rpt file in a set directory.
Further, in step B1, the generation tool file is saved in the pcbenv folder.
The method for generating the rpt file is simplified, and the rpt file comprises coordinate information of each point of the DDR signal and length information between each point.
The method has the advantages that the generation tool file which can be identified by the Allegro software is created, locking information and generation information required by DDR data extraction are obtained through conditional commands of the Allegro software installation rule and the version number and are written into the generation tool file, and the generation tool file is stored in the Allegro software identification folder, so that the generation tool file can be run in the Allegro software, and generation of the rpt file is achieved. And the generated tool file can be associated with a certain key through Allegro software, so that one-key quick starting is realized. Therefore, the version number of the Allegro software, the importing path of the BRD file and the generating path of the rpt file are automatically obtained through the set generating tool file, the version of the Allegro software does not need to be manually modified when the rpt file is generated every time only after the Allegro software is input once, the importing path of the BRD file and the outputting path of the rpt file do not need to be manually input one by one, the generating steps of the rpt file are simplified, and the efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic diagram of opening Properties in Allegro software.
FIG. 2 is a schematic diagram of setting the ECL attribute of the DDR signal to true.
Fig. 3 is a schematic diagram of the created initial format file of the generated tool file.
Fig. 4 is a schematic diagram of the content in the generated rpt file.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A method of simplifying rpt file generation, comprising:
and S1, setting the ECL attribute of the DDR signal to be true in an Allegro file.
As shown in fig. 1 and fig. 2, the Allegro software is opened, Edit and Properties are selected in sequence, DDR data to be exported are selected, an Edit Property interface is popped up, Available Properties on the left side of the Edit Property interface select Ecl, and the Ecl attribute is set to True. In the Allegro software, the DDR table can extract the length of the network only when the ECL is set, and the DDR table cannot extract the length of the network unless the ECL attribute is set.
And S2, creating a generated tool file, and writing an rpt file generation command in the generated tool file.
As shown in FIG. 3, the initial format of the generated tool file is the txt format. And after the txt format file is created, writing an rpt file generation command into the generation tool file, and when the generation tool file runs in Allegro software, operating the rpt file generation command, so that the BRD file import path and the rpt file generation path can be correctly obtained through locking information and generation information, and the corresponding rpt file is generated. .
The rpt file generation command includes:
and T1, creating the rpt file generation command according to the own command of the Allegro software.
And (3) creating a new rpt file generation command by using the axlCmdregister function, and generating a tool file to achieve the purpose of generating the rpt file by operating the rpt file generation command.
And T2, acquiring the environment variable value of the Allegro software by utilizing the own command of the Allegro software, locking and searching the directory address, and simultaneously requiring the following commands to be completed in the Allegro software.
The environment variable value of the Allegro software is obtained through an axlGetVariable function, the getWorkingDir function searches a directory address, and the axlShell function requires that the following commands are all completed in the Allegro software.
And T3, obtaining locking information and generating information content.
The locking information comprises a BRD file import path, and the step of obtaining the BRD file import path comprises the following steps:
and A1, determining the version number of the Allegro software according to the acquired environment variable value of the Allegro software.
And A2, obtaining the BRD file name by searching the file with the specific format. In this step, the rpt file generation command obtains the BRD file name through the axlCurrentDesign function.
And step A3, setting a condition command, and obtaining a BRD file import path according to the matching of the version number of Allegro software and an installation rule. Because the installation path of the Allegro software has a rule, the corresponding BRD file import path can be known only by determining the version number and the BRD file name, so that path prefixes corresponding to the version numbers of a plurality of Allegro software can be preset, and the complete BRD file import path is obtained through a character splicing function.
The generated information comprises an rpt file generating path and a generating format, the rpt file generating path is consistent with the BRD file importing path of the locking information, the generating format is the rpt format, and the generated rpt file is named according to the BRD file name obtained in the step A2, so that the file name of the rpt file is the same as the file name of the BRD file, and the correspondence at the later stage is facilitated. And when the DDR data information extracted by the own command of the Allegro software is called, displaying the DDR data information in an rpt file according to the path association.
And T4, calling a self-contained command of Allegro software to extract DDR data information in the BRD file to generate an rpt file according to the locking information and the generation information. Since all the data is required to be completed in the Allegro software after the step T2, the DDR data information in the BRD file can be extracted in direct association with the own command calling the Allegro software.
And S3, modifying the format of the generated tool file into a file format which can be identified by an Allegro file. In step S3, the format of the generation tool file is modified to the format of il. The generated tool file can be directly stored as an il format file after being written into an rpt file generating command, or the suffix file format of the generated tool file originally in the txt format can be directly modified and changed into the il format file.
The il format can be recognized and run by the Allegro software, requiring the generation tool file to be executed in the Allegro software in coordination with the axlShell ("set nonconfirm") command used in the data extraction command, so that the function can be used directly with the Allegro software.
And S4, opening Allegro software, loading and running a generation tool file, and generating an rpt file in a set directory.
In step S4, further comprising,
and B1, storing the generated tool file into a folder capable of being identified by the Allegro file, namely storing the generated tool file into a pcbenv folder.
And B2, opening an env command of the Allegro software, and associating the generated tool file with any one quick start key.
And B3, pressing a quick start key in Allegro software, and generating an rpt file in a set directory.
After the setting is completed, the generated tool file is associated with a certain shortcut start key by matching with a shortcut key control function carried by Allegro software, and a user can use the shortcut start key to operate the generated tool file in a one-key mode in an Allegro software interface to generate the rpt file. The method can improve the efficiency of generating the rpt file, and especially can save a great deal of time of designers when a great deal of rpt file is required to be generated.
And if the BRD file is in a locked state, popping up a warning window prompt in the process of operating and generating the tool file. When all DDR data are extracted by the generated tool file and no locking state or other unexpected conditions are met, after the generated tool file is operated, a prompt window pops up on an Allegro software interface.
As shown in fig. 4, the rpt file contains coordinate information of each point (VIA hole) of the DDR signal and length information between the points. The DDR signals are separated by dotted lines to form a plurality of columns of signal information tables, each column comprises the name of each VIA hole in the DDR signals, the coordinate of the VIA hole and the length between the VIA holes, one column of length information corresponding to the VIA holes indicates the distance between the VIA hole and the VIA hole on the uppermost layer of the DDR signals, and the last display statistical result of the column where the DDR signals are located comprises the number of the VIA holes contained in the DDR signals and the total length of the signals.
In a specific embodiment, the contents of the written rpt file generation command are specifically as follows:
the above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (10)
1. A method for simplifying rpt file generation, comprising:
s1, setting the ECL attribute of the DDR signal to be true in an Allegro file;
s2, creating a generated tool file, and writing an rpt file generation command in the generated tool file;
s3, modifying the format of the generated tool file into a file format which can be identified by an Allegro file;
and S4, opening Allegro software, loading and operating the generation tool file, and generating the rpt file in a set directory.
2. The method for simplifying rpt file generation as claimed in claim 1, wherein in step S3, said generation tool file is in the format of il.
3. The method for simplifying rpt file generation as claimed in claim 1, wherein in step S2, said rpt file generation command comprises:
step T1, creating the rpt file generation command according to the own command of the Allegro software;
t2, acquiring an environment variable value of the Allegro software by using an own command of the Allegro software, locking and searching a directory address, and simultaneously requiring the following commands to be completed in the Allegro software;
t3, obtaining the content of the locking information and the generation information;
and T4, calling a self-owned command of the Allegro software to extract DDR data information to generate the rpt file according to the locking information and the generating information.
4. A method for simplifying rpt file generation as claimed in claim 3, wherein in step T3, said locking information includes a BRD file import path, and said step of generating the tool file to obtain said BRD file import path includes:
step A1, determining the version number of the Allegro software according to the acquired environment variable value;
a2, obtaining the name of the BRD file by searching the file with the specific format;
and A3, setting a condition command, and obtaining the BRD file import path according to the matching of the version number of the Allegro software and the installation rule.
5. The method for generating a simplified rpt file as claimed in claim 3, wherein if the locking information is in a locked state, a warning window is popped up to remind the user to run the generated tool file.
6. A method for simplifying generation of an rpt file as claimed in claim 3, wherein in step T3, said generation information includes a generation path and a generation format of said rpt file, said generation path of the rpt file coincides with a BRD file import path of said lock information, and said generation format of the rpt file is a.rpt format.
7. The method for simplifying rpt file generation of claim 6, wherein the file name of the rpt file is the same as the file name of the BRD file.
8. The method for simplifying rpt file generation as claimed in claim 1, wherein in step S4, further comprising,
b1, storing the generated tool file into a folder capable of being identified by an Allegro file
B2, opening an env command of Allegro software, and associating the generated tool file with any one quick start key;
and B3, pressing the shortcut start key in Allegro software, and generating an rpt file in a set directory.
9. The method for simplifying rpt file generation as claimed in claim 8, wherein in step B1, said generated tool file is saved in the pcbenv folder.
10. A method for simplifying the generation of an rpt file as claimed in claim 1, wherein said rpt file contains coordinate information of points of said DDR signal and length information between said points.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110673047.4A CN113468834B (en) | 2021-06-17 | 2021-06-17 | Method for simplifying rpt file generation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110673047.4A CN113468834B (en) | 2021-06-17 | 2021-06-17 | Method for simplifying rpt file generation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113468834A true CN113468834A (en) | 2021-10-01 |
CN113468834B CN113468834B (en) | 2024-01-05 |
Family
ID=77870306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110673047.4A Active CN113468834B (en) | 2021-06-17 | 2021-06-17 | Method for simplifying rpt file generation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113468834B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090018481A (en) * | 2007-08-17 | 2009-02-20 | 주식회사 마크프로 | A system for composing report, a method & a system for providing a made-to-order report |
CN107038278A (en) * | 2017-02-27 | 2017-08-11 | 同济大学 | Parametric sensitivity optimization method based on SWMM Yu MATLAB data interactions |
CN107480369A (en) * | 2017-08-10 | 2017-12-15 | 郑州云海信息技术有限公司 | Classification shows DRC design, operating method in a kind of PCB design |
CN108132984A (en) * | 2017-12-14 | 2018-06-08 | 重庆大学 | Pipe network repetition period of rainfall rendering intent, device and computer readable storage medium |
US20180343746A1 (en) * | 2017-05-26 | 2018-11-29 | Portwell Inc. | Circuit board component layout determination method |
CN111859826A (en) * | 2020-07-22 | 2020-10-30 | 深圳市一博科技股份有限公司 | Method and tool for converting PROTEL netlist into ALLEGRO text |
CN112784545A (en) * | 2020-07-15 | 2021-05-11 | 山东核电有限公司 | Dynamic chart editing method for radioactive gamma nuclide report file |
-
2021
- 2021-06-17 CN CN202110673047.4A patent/CN113468834B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090018481A (en) * | 2007-08-17 | 2009-02-20 | 주식회사 마크프로 | A system for composing report, a method & a system for providing a made-to-order report |
CN107038278A (en) * | 2017-02-27 | 2017-08-11 | 同济大学 | Parametric sensitivity optimization method based on SWMM Yu MATLAB data interactions |
US20180343746A1 (en) * | 2017-05-26 | 2018-11-29 | Portwell Inc. | Circuit board component layout determination method |
CN107480369A (en) * | 2017-08-10 | 2017-12-15 | 郑州云海信息技术有限公司 | Classification shows DRC design, operating method in a kind of PCB design |
CN108132984A (en) * | 2017-12-14 | 2018-06-08 | 重庆大学 | Pipe network repetition period of rainfall rendering intent, device and computer readable storage medium |
CN112784545A (en) * | 2020-07-15 | 2021-05-11 | 山东核电有限公司 | Dynamic chart editing method for radioactive gamma nuclide report file |
CN111859826A (en) * | 2020-07-22 | 2020-10-30 | 深圳市一博科技股份有限公司 | Method and tool for converting PROTEL netlist into ALLEGRO text |
Also Published As
Publication number | Publication date |
---|---|
CN113468834B (en) | 2024-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7228500B2 (en) | Web page rendering priority mechanism | |
JPH0833806B2 (en) | Multilingual conversion processing method in data processor | |
KR20050039536A (en) | System and method for providing context to an input method | |
KR102274561B1 (en) | Transaction system error detection method, apparatus, storage medium and computer device | |
JP3003915B2 (en) | Word dictionary search device | |
WO2024087909A1 (en) | Attribute linkage rule-based page data processing method, and medium | |
WO2008095191A1 (en) | Techniques for customization of phonetic schemes | |
CA3142770A1 (en) | Component linkage configuration method, device, computer equipment and storage medium | |
US5802482A (en) | System and method for processing graphic language characters | |
KR20080083290A (en) | A method and apparatus for accessing a digital file from a collection of digital files | |
CN114090671A (en) | Data import method and device, electronic equipment and storage medium | |
CN113468834B (en) | Method for simplifying rpt file generation | |
US20070055492A1 (en) | Configurable grammar templates | |
CN112199576A (en) | Method and system for realizing Chinese pinyin search | |
CN113157351B (en) | Voice plug-in construction method for quickly calling form tool | |
US7099886B2 (en) | Method and apparatus for identifying programming object attributes | |
CN116009899A (en) | Mirror image making method and device of operating system, electronic equipment and storage medium | |
CN106227713B (en) | The processing method and processing device of document | |
KR20060014043A (en) | Voice response system, voice response method, voice server, voice file processing method, program and recording medium | |
JP2000276492A (en) | Device and method for information processing, and storage medium stored with computer-readable information processing program | |
JP2998674B2 (en) | Document creation support device for design work | |
CN113641731B (en) | Fuzzy search optimization method, device, electronic equipment and readable storage medium | |
US20030200088A1 (en) | Electronic bookmark dictionary | |
KR102359964B1 (en) | Method of controlling user terminal by using voice recognition mouse | |
CN115237509A (en) | Language determination method of equipment management tool, management tool and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |