CN107704707A - A kind of method for checking word on pad - Google Patents
A kind of method for checking word on pad Download PDFInfo
- Publication number
- CN107704707A CN107704707A CN201711015174.5A CN201711015174A CN107704707A CN 107704707 A CN107704707 A CN 107704707A CN 201711015174 A CN201711015174 A CN 201711015174A CN 107704707 A CN107704707 A CN 107704707A
- Authority
- CN
- China
- Prior art keywords
- pad
- frame
- word
- distance values
- information
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/39—Circuit design at the physical level
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)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses the method for checking word on pad, using skill Programming with Pascal Language, the configuration processor in Allegro, specifically includes following steps:1) switching aspect is shown, obtains the pad information in current aspect;2) switching aspect is shown, obtains the text information in current aspect;3) pad information and text information are traveled through, calculates successively and obtains pad restriction frame and the spacing of dictionary definitions frame between any two;Judge each distance values being calculated, skipped if distance values are more than 0;If distance values are equal to 0, problematic text information is added to error listing;4) error listing is integrated into generation report set, highlights referent inside report set, and the title for the object being related in report set, coordinate are write into file, open file after checking in allegro.The word that can quickly check on pad, raising check efficiency, avoid naked eyes from checking the omission that may be brought and mistake, check that result orderliness is accurate, drastically increase efficiency.
Description
Technical field
The present invention relates to the technical field of quality detection of pcb board design, more particularly to a kind of side for checking word on pad
Method.
Background technology
In PCB design, word is checked on pad at present using manually checking, master the shortcomings that existing technical scheme
Have:1) manually check that efficiency is low, time-consuming, consumes very big human cost;2) easily there is omission, omission is likely to result in text
Word influences pad and played a role, and influences designing quality.Skill language be one kind built in Cadence softwares be based on C language and
The high-level programming language of list processing language, Cadence provide abundant interactive function for skill language, study skill language
Then authoring tool, input application can greatly improve operating efficiency.
The content of the invention
The present invention is aiming at deficiencies of the prior art, there is provided a kind of method for checking word on pad;This
The word that invention can be checked quickly on pad, the process of review in design is simplified, is also avoided while efficiency is improved
Naked eyes check the omission that may be brought and mistake, and the present invention is succinct convenient, can obtain checking result after key operation, right
Brd files are unrestricted, check that result orderliness is accurate, drastically increase efficiency.The present invention by writing skill programs,
The word on pad can be highlighted after configuration processor in Allegro, and eject report, click on report internal coordinate index, can be fast
Speed navigates to text point, confirms to change for engineer.
The present invention solve technical problem technical scheme be:
A kind of method for checking word on pad, using skill Programming with Pascal Language, the configuration processor in Allegro, specific bag
Include following steps:
1) switching aspect is shown, obtains the pad information in current aspect;
2) switching aspect is shown, obtains the text information in current aspect;
3) pad information and text information are traveled through, calculates successively and obtains pad restriction frame and dictionary definitions frame between any two
Spacing;It is Rule of judgment equal to 0 to set pad and limit frame with the distance values of dictionary definitions frame between any two, judges to calculate successively
Obtained each distance values, skipped if distance values are more than 0;If distance values are equal to 0, problematic text information is added to mistake
Misrepresent table;
4) error listing in step 3) is integrated into generation report set, highlights the object being related to inside report set,
And the title for the object being related in report set, coordinate are write into file, file is opened after checking in allegro.
Spacing in the step 3) between any two is obtained by following steps:
I) the restriction frame for limiting frame and word of pad is obtained respectively;
Ii the spacing limited between frame for limiting frame and word of pad) is calculated.
The distance values limited between frame for limiting frame and word of pad are calculated, pad limits the data of frame as one group, text
Word limits the data of frame as one group, and two groups of data compare calculating spacing two-by-two, and obtained distance values and 0 are carried out into numerical value contrast,
Met the requirements if unequal, error listing is added if equal.
The distance values value is 0 or positive number.Because how much unrelated distance values are with lap, between the side contact for limiting frame
It is 0 away from value, so Rule of judgment is set to 0.
The highlighted text information that goes wrong of the step 4), text point coordinate is formed in report and makes text point seat
Mark index, the particular location of the coordinate setting word in report is clicked on, confirm to change for engineer.
Beneficial effects of the present invention:
1. the word that the present invention can be checked quickly on pad using the present invention, the process of review in design is simplified,
Raising avoids naked eyes and checks the omission that may be brought and mistake while checking efficiency.
2. it is of the invention succinct convenient, it can obtain checking result after key operation, it is unrestricted to brd files, check result
Orderliness is accurate, drastically increases efficiency.Clicking operation button is without inputting any data, without selecting any object
Obtain checking result.
3. the present invention by writing skill programs, can highlight the word on pad after configuration processor in Allegro,
And report is ejected, report internal coordinate index is clicked on, can be confirmed to change for engineer with fast positioning to text point.
Brief description of the drawings
The schematic diagram of word on Fig. 1 pads of the present invention be present.
Fig. 2 is the properties interface schematic diagram of word;
Fig. 3 is the properties interface schematic diagram of pad;
Fig. 4 is to open the brd files that a wiring is completed, the result figure obtained after operation program.
Embodiment
For a better understanding of the present invention, embodiments of the present invention are explained in detail below in conjunction with the accompanying drawings.
With reference to Fig. 1 to Fig. 4, a kind of method for checking word on pad, using skill Programming with Pascal Language, held in Allegro
Line program, specifically include following steps:
1) switching aspect is shown, obtains the pad information in current aspect;
2) switching aspect is shown, obtains the text information in current aspect;
3) pad information and text information are traveled through, calculates successively and obtains pad restriction frame and dictionary definitions frame between any two
Spacing;It is Rule of judgment equal to 0 to set pad and limit frame with the distance values of dictionary definitions frame between any two, judges to calculate successively
Obtained each distance values, skipped if distance values are more than 0;If distance values are equal to 0, problematic text information is added to mistake
Misrepresent table;
4) error listing in step 3) is integrated into generation report set, be related to inside highlighted report set problematic
Text information, and by the title of the text information in report set, coordinate write file, after checking in allegro
Open file.
Pad limits spacing of the frame with dictionary definitions frame between any two and obtained by following steps in the step 3):
Obtain pad respectively limits frame information and the restriction frame information of word;
The distance values limited between frame for limiting frame and word of pad are calculated, pad limits the data of frame as one group, text
Word limits the data of frame as one group, and two groups of data compare calculating spacing two-by-two, and obtained distance values and 0 are carried out into numerical value contrast,
Met the requirements if unequal, error listing is added if equal, the distance values are 0 or positive number.
The step 4) forms text point coordinate in report set and makes text point coordinated indexing, clicks on report
The particular location of text point coordinate setting word in set, confirm to change for engineer.
The course of work of the present invention is described as follows:
1st, allegro softwares are opened;2nd, the Run Script in allegro design softwares;3rd, inspection result is checked one by one simultaneously
Confirm modification.The present invention can be highlighted the word on pad after configuration processor in Allegro by writing skill programs, and
Ejection report, report internal coordinate index is clicked on, can confirmed to change for engineer with fast positioning to text point.As shown in Figure 1
The example of word on pad as be present, such case does not allow to occur in the design, it is necessary to check modification.
For by the present invention application method and advantage sake of clarity, describe embodiment in detailed below:
1) modification of software configuration file and shortcut is carried out, first, load is added in allegro.ilinit files
(" silkonsold.il "), wherein, silkonsold.il is source files of program, and this is ordered for loading procedure;Secondly, exist
Shortcut is added in env files, by taking button F4 as an example, funckeyF4silkonsold, wherein, silkonsold is in program
Defined in order, perform after this order the i.e. signified program of the operation present invention, now, this order is with shortcut F4 replacements;
2) allegro softwares are opened, press alphabetical F4, you can operation program;
3) lap highlights after running, and ejects and check report, and click coordinate can navigate to object rapidly, by
One modification, the object after modification can be cancelled highlighted.The specific embodiment result of above-mentioned embodiment is shown now:
The brd files that a wiring is completed are opened, the result obtained after operation program is as shown in figure 4, can be with sectional drawing
See that partial objects are highlighted and ejected and check report, check in report there is coordinated indexing, it is specific right to be navigated to after click
As.
The word that can be quickly checked on pad using the present invention, the process of review in design is simplified, improving efficiency
While it also avoid naked eyes check the omission that may be brought and mistake.The advantage of the invention is that succinct convenient, key operation
It can obtain checking result afterwards.It is unrestricted to brd files, without inputting any data, without selecting any object i.e. available
Check result.Check that result orderliness is accurate, drastically increase efficiency.
The specific embodiment result of above-mentioned embodiment is shown now:
Fig. 2 is the properties interface of word, can see that this word belongs in rectangle frame " REF DES/SILKSCREEN_
TOP ", as character silk printing.
The properties interface of Fig. 3 pads, can see that this word belongs in rectangle frame " BOARD GEOMETRY/
SOLDERMASK_TOP ", as solder mask pad.
Although the present invention has shown that and described the present invention and applies example, for one of ordinary skill in the art, Ke Yili
Solution can apply example to these in the case where not departing from the principle of the present invention and spirit and carry out a variety of change, modification, replacement and modification, all belong to
In stating within claims for this present invention.
Claims (3)
1. a kind of method for checking word on pad, using skill Programming with Pascal Language, the configuration processor in Allegro, specifically include
Following steps:
1) switching aspect is shown, obtains the pad information in current aspect;
2) switching aspect is shown, obtains the text information in current aspect;
3) pad information and text information are traveled through, between calculating successively and obtaining pad restriction frame and dictionary definitions frame between any two
Away from;It is Rule of judgment equal to 0 to set pad and limit frame with the distance values of dictionary definitions frame between any two, judges to be calculated successively
Each distance values, if distance values be more than 0 if skip;If distance values are equal to 0, problematic text information is added to wrong row
Table;
4) error listing in step 3) is integrated into generation report set, the problematic text being related to inside highlighted report set
Word information, and the title of the text information in report set, coordinate are write into file, opened after checking in allegro
File.
2. a kind of method for checking word on pad as claimed in claim 1, it is characterized in that, pad limits in the step 3)
Spacing of the frame with dictionary definitions frame between any two is obtained by following steps:
Obtain pad respectively limits frame information and the restriction frame information of word;
The distance values limited between frame for limiting frame and word of pad are calculated, pad limits the data of frame as one group, word limit
The data for determining frame are one group, and two groups of data compare calculating spacing two-by-two, obtained distance values and 0 are carried out into numerical value contrast, if not
It is equal, meet the requirements, error listing is added if equal, the distance values are 0 or positive number.
3. a kind of method for checking word on pad as claimed in claim 1, it is characterized in that, the step 4) is in report set
Interior formation text point coordinate simultaneously makes text point coordinated indexing, clicks on the text point coordinate setting word in report set
Particular location, for engineer confirm change.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711015174.5A CN107704707A (en) | 2017-10-26 | 2017-10-26 | A kind of method for checking word on pad |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711015174.5A CN107704707A (en) | 2017-10-26 | 2017-10-26 | A kind of method for checking word on pad |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107704707A true CN107704707A (en) | 2018-02-16 |
Family
ID=61183146
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711015174.5A Pending CN107704707A (en) | 2017-10-26 | 2017-10-26 | A kind of method for checking word on pad |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107704707A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857453A (en) * | 2018-11-30 | 2019-06-07 | 济南浪潮高新科技投资发展有限公司 | A kind of method for the text that automatically resets in Allegro software |
CN112131821A (en) * | 2020-09-23 | 2020-12-25 | 惠州市金百泽电路科技有限公司 | Word processing method applied to PCB processing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593526A (en) * | 2013-11-15 | 2014-02-19 | 浪潮电子信息产业股份有限公司 | Design method for automatically searching copper foil clearances in stacks of PCBs |
US20160284460A1 (en) * | 2014-02-10 | 2016-09-29 | Dodo Tech Co., Ltd. | Multilayer transformer pcb structure for electric car and method for manufacturing multilayer transformer pcb for the same |
CN106991243A (en) * | 2017-04-12 | 2017-07-28 | 广东浪潮大数据研究有限公司 | A kind of quick inspection silk-screen layer method overlapping with solder mask |
CN107145689A (en) * | 2017-06-12 | 2017-09-08 | 郑州云海信息技术有限公司 | A kind of method that words direction is checked in PCB design |
-
2017
- 2017-10-26 CN CN201711015174.5A patent/CN107704707A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593526A (en) * | 2013-11-15 | 2014-02-19 | 浪潮电子信息产业股份有限公司 | Design method for automatically searching copper foil clearances in stacks of PCBs |
US20160284460A1 (en) * | 2014-02-10 | 2016-09-29 | Dodo Tech Co., Ltd. | Multilayer transformer pcb structure for electric car and method for manufacturing multilayer transformer pcb for the same |
CN106991243A (en) * | 2017-04-12 | 2017-07-28 | 广东浪潮大数据研究有限公司 | A kind of quick inspection silk-screen layer method overlapping with solder mask |
CN107145689A (en) * | 2017-06-12 | 2017-09-08 | 郑州云海信息技术有限公司 | A kind of method that words direction is checked in PCB design |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857453A (en) * | 2018-11-30 | 2019-06-07 | 济南浪潮高新科技投资发展有限公司 | A kind of method for the text that automatically resets in Allegro software |
CN112131821A (en) * | 2020-09-23 | 2020-12-25 | 惠州市金百泽电路科技有限公司 | Word processing method applied to PCB processing |
CN112131821B (en) * | 2020-09-23 | 2024-05-17 | 惠州市金百泽电路科技有限公司 | Word processing method applied to PCB processing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106991243A (en) | A kind of quick inspection silk-screen layer method overlapping with solder mask | |
CN101206467B (en) | Universal numerical control code analysis method | |
CN107553475B (en) | A kind of workpiece coordinate scaling method for work pieces process | |
CN107479504B (en) | A kind of method of numerical control processing Automatic feature recognition and path planning | |
CN107704707A (en) | A kind of method for checking word on pad | |
CN108536915B (en) | Method and device for designing bonding pad in PCB design drawing of printed circuit board | |
CN103761216B (en) | Edit the method and mobile terminal of text | |
US20140115547A1 (en) | Method of Generating Parameterized Units | |
CN109933765B (en) | Method for extracting Excel table content to CAD table | |
CN112579524B (en) | Method and device for conveniently tracing circuit board processing information, electronic equipment and storage medium | |
CN106325596A (en) | Automatic handwriting error correction method and system | |
CN103593526A (en) | Design method for automatically searching copper foil clearances in stacks of PCBs | |
CN108345468A (en) | Programming language code duplicate checking method based on tree and sequence similarity | |
CN108817571A (en) | A kind of intelligent positioning system and its implementation of electric discharge machine | |
CN115640777A (en) | Layout method, device, medium and equipment for aerospace printed board engineering pretreatment | |
CN102662592B (en) | A kind of data output method and device | |
CN106529009A (en) | Method for automatically measuring size of component in Allegro software | |
US7131094B2 (en) | Method and system for automatically extracting data from a textual bump map | |
CN107220439A (en) | A kind of method for moving assembling layer word in PCB design in batches | |
CN108846198A (en) | A method of it being automatically deleted invalid via hole in Cadence software | |
CN113515443A (en) | Multi-language automatic checking method, device, computer equipment and storage medium | |
CN113305383A (en) | Method and device for analyzing wire cut electrical discharge machining (EDFA) graph based on DXF graph file | |
CN108153963B (en) | Method for checking connector connection layer number in PCB design | |
CN102456079B (en) | The dimension guide system of offline image programming and method | |
CN105677629A (en) | Information processing method and electronic device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180216 |
|
RJ01 | Rejection of invention patent application after publication |