CN100377158C - Method for creating library file - Google Patents

Method for creating library file Download PDF

Info

Publication number
CN100377158C
CN100377158C CNB2004100919807A CN200410091980A CN100377158C CN 100377158 C CN100377158 C CN 100377158C CN B2004100919807 A CNB2004100919807 A CN B2004100919807A CN 200410091980 A CN200410091980 A CN 200410091980A CN 100377158 C CN100377158 C CN 100377158C
Authority
CN
China
Prior art keywords
file
symbol
schematic diagram
information
library
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.)
Expired - Fee Related
Application number
CNB2004100919807A
Other languages
Chinese (zh)
Other versions
CN1801154A (en
Inventor
毛忠宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100919807A priority Critical patent/CN100377158C/en
Publication of CN1801154A publication Critical patent/CN1801154A/en
Application granted granted Critical
Publication of CN100377158C publication Critical patent/CN100377158C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to a method for rapidly creating a library file of corresponding relationship between a schematic diagram element symbol and PCB device package base pin electrical property in printing circuit board software, which comprises the following procedures: according to the existing information, a search file which comprises schematic diagram element symbolic information of an electronic element, physical package information and electronic element characteristic information, and an enquiry list which comprises schematic diagram symbolic information is generated; corresponding file names are found out in the enquiry list according to the element symbol name in the search file, and the corresponding file information is written in a library file. The present invention also comprises the procedure of standardizing the searched schematic diagram element symbolic file according to the search file information. The present invention solves the problems of low efficiency and high error rate caused by manually establishing the library file of corresponding relationship between the schematic diagram symbol and PCB device package base pin electrical property, has the characteristics of convenient and fast use and low error rate.

Description

A kind of method of setting up library file
Technical field
The present invention relates to the mutual conversion between the different eda software design documents in the PCB software, more particularly, relate to a kind of method of setting up the related libraries file fast.
Background technology
In PCB design (Printed Circuit Board, printed circuit board), often need conversion mutually between the file that different EDA (electric design automation) software design goes out, this conversion has become a kind of trend of present stage PCB design.But this type of conversion generally needs respective physical encapsulation storehouse to support.The PCB device package storehouse of Mentor (a kind of leading PCB relates to software) mainly is made up of three parts: the parts (library file) of cell (physical package of electronic component), symbol (schematic diagram component symbol), reflection cell and the electrical corresponding relation of symbol.
As shown in Figure 1, the encapsulation cell of element is corresponding to the size of the physical size of device.Symbol then is a logical symbol, and as shown in Figure 2, a symbol is made of a text, its content description information such as the pin of device and corresponding physical encapsulated type, can call in use by schematic diagram software viewdraw.And the effect of library file parts is exactly a corresponding relation of setting up cell and corresponding symbol pin information.
Allegro (a kind of leading PCB design software) software and Mentor software are in PCB field top standard, can change into the physical package footprint of Allegro automatically the physical package cell of Mentor at present.Behind an encapsulation cell who an encapsulation among the allegro has been changed in the mentor software, the symbols file that a correspondence need be arranged in actual applications usually, need set up a parts file pin information of cell and symbols is mapped one by one this moment.And on the other hand, this conversion can not be set up the performance principle symbol symbol among the Mentor for example and the related libraries file parts of physical package cell corresponding relation automatically, set up this library file parts and can only rely on manual realization, efficient is lower, and there is corresponding problem too in other eda software when encapsulating the encapsulation that forwards mentor to.
When the corresponding relation of the library file expression of setting up is too much, for example reach thousands of even more, at this moment, finish this work and just must consume the great amount of manpower resource.Therefore, utilizing manual method to set up the parts file, to make cell and symbol set up the method consumption of corresponding relation very big; Simultaneously, because mistake appears in manually-operated easily, after makeing mistakes, be not easy again to check, error correction, more time-consuming taking a lot of work, thus greatly influenced the design rate of PCB.
Summary of the invention
The object of the invention is to provide a kind of method of setting up library file parts automatically, and this parts literature kit contains the pin corresponding relation of each single cell and symbol, sets up cell and the time-consuming problem of taking a lot of work of symbol corresponding relation to solve present craft.
The object of the present invention is achieved like this:
A kind of method of setting up library file may further comprise the steps:
A, the existing information of basis generate a search file and a query directory that comprises the schematic symbol file that comprises electronic component schematic diagram component symbol information, physical package information and electron component characteristic information; Wherein, described schematic diagram component symbol information comprises the coded message of schematic symbol title and element;
B, in described query directory, find the corresponding file name according to principle pel spare designation in the described search file, and find respective file i.e. " schematic diagram component symbol file " according to this document name, the information in the described schematic diagram component symbol file is written in the blank library file.
Before steps A, also comprise the step of creating blank library file.
Described step B is further comprising the steps of:
Schematic diagram component symbol title in B1, the basis search file that reads is searched corresponding schematic diagram component symbol filename in described query directory;
B2, when described filename when schematic diagram component symbol information in the described search file conforms to, then show to have searched corresponding schematic diagram component symbol file;
B3, the information of the respective file that searches is written in the blank library file, the coded message in the search file is written to carries out standardization principle figure element symbol file in the schematic diagram component symbol file simultaneously.
Blank library file described in the step B is known as the corresponding relation file because of writing respective file information; Described step B further comprises the corresponding relation file imported Software tool, the step of carrying out error correction according to the error message of Software tool report.
Described search file is a text, and described text is by the information of each electronic component of row storage.
Described schematic diagram component symbol file comprises the symbol file among the PCB software Mentor, and the symbol file finished of schematic diagram software for drawing.
By such scheme, the method that the present invention sets up schematic symbol and PCB device package pin corresponding relation file has fast solved the manual high problem of inefficiency, error rate that schematic diagram component symbol and the electrical corresponding relation file of PCB device package pin are brought of setting up; To in tens minutes, finish rapidly by the workload of artificial two weeks, improve the efficient in conversion PCB device package storehouse greatly, the characteristics that method of the present invention has is convenient, quick, error rate is low.
Description of drawings
Fig. 1 is the synoptic diagram of physical package file CELL among the PCB software Mentor;
Fig. 2 is the synoptic diagram of principle pel spare symbol SYMBOL file among the PCB software Mentor;
Fig. 3 is the process flow diagram that the present invention sets up schematic diagram component symbol and the electrical corresponding relation file of PCB device package pin fast;
Fig. 4 is the process flow diagram that the present invention has table standardization schematic diagram component symbol file embodiment.
Embodiment
A kind of method of setting up library file of the present invention, specifically refer to a kind of be used for printed circuit board software set up fast schematic diagram component symbol and PCB device package pin electrically between the method for corresponding relation library file.
The present invention sets up the process flow diagram of schematic diagram component symbol and the electrical corresponding relation library file of PCB device package pin fast as shown in Figure 3.
At first, in step S11, from the relevant database of company or according to the search file of an indexco.txt by name of associated documents output, contain schematic diagram component symbol information, electronic component physical package information and electron component characteristic information by computing machine in this file.Wherein, schematic diagram component symbol information comprises symbol coding, symbol schematic diagram title, and electronic component physical package information comprises symbol encapsulation title, and electron component characteristic information comprises information such as electric capacity, the capacitance etc. of other electronic components.It is pointed out that the information of this derivation comprises the title of certain symbol, and when this schematic diagram symbol file did not exist, for this kind situation, the present invention did not handle to it.
In step S12, need computing machine to generate the empty parts null file that is used to reflect corresponding information between symbol and cell pin, also can use existing library file, be used for the corresponding relation of follow-up foundation is write this parts file.
In step S13, will all be kept at the query directory of a computing machine from all schematic symbol symbol files (or being called schematic diagram component symbol file) that all departments collect, so that searching of symbol file conveniently realizes standardization.Usually, file name need be corresponding with the schematic symbol name information that database is derived, so that follow-up searching.
It should be noted that step S11, S12, S13 sequencing can have suitable variation, that is, S12 can finish before S11, also can finish after S13; Equally, S13 also can realize before S11.
Among the step S141 after this, computing machine reads symbol information corresponding among the text indexco.txt of derivation line by line; In step S142, in the catalogue of the various symbol files of above-mentioned preservation, search corresponding document again.This moment, there will be two kinds of situations, when the file of searching does not exist, reads the downlink information of text indexco.txt, returns step S141; And when judging that in step S17 reading file is text end of file row information, finish this operation S18.
Under the situation that has this class file, shown in figure S15 step, computing machine adds in the relevant information of this symbol file and the search file encapsulation cell information that electronic component therewith is correlated with in the parts file.The method of filling in parts is that the pin information in the corresponding symbo1 file is write among the parts.When the cell file does not exist, this method is ignored the situation of cell file at this moment, still sets up the pin relation of symbol and cell, when mentor calls in the parts file afterwards, mentor can find lack the project of cell file so that prompting user revisal.
In addition, when the file that will inquire about existed, as shown in Figure 4, the present invention can finish the step S16 that utilizes this symbol file of computer standardization simultaneously; The method of standardization symbol file is for to write corresponding coding information among the indexco.txt in the corresponding symbol file of being found.
At last, the parts file of the present invention's generation can directly be called in Mentor software.Call in the operation finish after, whether can in the report file HKP2PartsDB.txt that mentor generates, find out the situation of vicious symbol, for example, lack the information of pin PIN or have more the information of PIN, and symbol is corresponding with cell does not go up or lack situations such as cell.If the generation mistake then needs to revise corresponding symbol or cell file, repeat associative operation again, so just can guarantee all symbol and parts consistance, at last the parts file that generates is called in the Mentor software.
By above-mentioned explanation, the disposable relation of symbol of having set up fast of this method with the corresponding pin of cell.To in tens minutes, finish rapidly by the workload of artificial two weeks, improved the efficient in conversion PCB device package storehouse greatly, encoded attributes in the schematic symbol symbol file and the data on company's Relational database are consistent, make things convenient for the management of database.
The above; only be the preferable embodiment of the present invention; but protection scope of the present invention is not limited to therewith; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, all should be encompassed within protection scope of the present invention.

Claims (7)

1. a method of setting up library file is characterized in that, may further comprise the steps:
A, the existing information of basis generate a search file and a query directory that comprises the schematic symbol file that comprises schematic diagram component symbol information, electronic component physical package information and electron component characteristic information; Wherein, described schematic diagram component symbol information comprises the coded message of schematic diagram component symbol title and element;
B, in described query directory, find the corresponding file name according to principle pel spare designation in the described search file, and find respective file i.e. " schematic diagram component symbol file " according to this document name, the information in the described schematic diagram component symbol file is written in the blank library file.
2. the method for setting up library file according to claim 1 is characterized in that, also comprises the step of creating blank library file before steps A.
3. the method for setting up library file according to claim 1 is characterized in that, described step B may further comprise the steps:
Schematic diagram component symbol title in B1, the basis search file that reads is searched corresponding schematic diagram component symbol filename in described query directory;
B2, when described schematic symbol filename when schematic diagram component symbol title in the described search file conforms to, then show to have searched corresponding schematic symbol file;
B3, the information of the schematic symbol file that searches is written in the blank library file, the coded message of the element in the search file is written to carries out standardization principle figure element symbol file in the schematic diagram component symbol file simultaneously.
4. the method for setting up library file according to claim 1 is characterized in that, blank library file described in the step B is known as the corresponding relation file because of writing respective file information; Described step B further comprises corresponding relation file importing Software tool, carries out error correction according to the error message of Software tool report.
5. the method for setting up library file according to claim 4 is characterized in that, described Software tool is PCB software Mentor.
6. according to any one described method of setting up library file among the claim 1-5, it is characterized in that described search file is a text, described text is by the information of each electronic component of row storage.
7. according to any one described method of setting up library file among the claim 1-5, it is characterized in that, described schematic diagram component symbol file comprises the symbol file among PCB software Allegro, the Mentor, and the symbol file finished of schematic diagram software for drawing.
CNB2004100919807A 2004-12-31 2004-12-31 Method for creating library file Expired - Fee Related CN100377158C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100919807A CN100377158C (en) 2004-12-31 2004-12-31 Method for creating library file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100919807A CN100377158C (en) 2004-12-31 2004-12-31 Method for creating library file

Publications (2)

Publication Number Publication Date
CN1801154A CN1801154A (en) 2006-07-12
CN100377158C true CN100377158C (en) 2008-03-26

Family

ID=36811157

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100919807A Expired - Fee Related CN100377158C (en) 2004-12-31 2004-12-31 Method for creating library file

Country Status (1)

Country Link
CN (1) CN100377158C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339573B (en) * 2007-07-05 2010-07-07 华为技术有限公司 Method and device for obtaining device packaging types
CN102637226A (en) * 2012-03-27 2012-08-15 中国人民解放军国防科学技术大学 PCB (printed circuit board) packaging architecture method
CN103853895B (en) * 2014-03-27 2017-06-13 昆山龙腾光电有限公司 PCB design method and device
CN103902779B (en) * 2014-04-04 2018-03-09 无锡市同步电子科技有限公司 A kind of method of PCB devices encapsulation storehouse pin silk-screen mark
CN104503971B (en) * 2014-11-03 2017-12-19 深圳市兴森快捷电路科技股份有限公司 A kind of cycle control methods that file is exposed using welding resistance
CN109992801B (en) * 2017-12-29 2023-10-24 深圳市兴森快捷电路科技股份有限公司 PCB updating method based on PADS software
CN109257877A (en) * 2018-09-11 2019-01-22 陕西千山航空电子有限责任公司 A kind of PCB design method conducive to printed board debugging
CN109543298A (en) * 2018-11-22 2019-03-29 中国电子科技集团公司第四十七研究所 A kind of method of schematic diagram replacement Component library in cadence
CN111507056B (en) * 2020-04-17 2023-04-11 成都寰蓉光电科技有限公司 PCB design method and system for realizing component management and sharing
CN113721824B (en) * 2021-08-10 2024-05-03 深圳市一博科技股份有限公司 Method for setting library path by one key of CR5000 platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459716A (en) * 2002-05-22 2003-12-03 华为技术有限公司 Automatic checking device of printed-wiring board designing and its method
CN1545375A (en) * 2003-11-24 2004-11-10 韶关市恒鑫科贸有限公司 Intelligent circuit board mill

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459716A (en) * 2002-05-22 2003-12-03 华为技术有限公司 Automatic checking device of printed-wiring board designing and its method
CN1545375A (en) * 2003-11-24 2004-11-10 韶关市恒鑫科贸有限公司 Intelligent circuit board mill

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
使用PROTEL 99 SE进行PCB设计的主要流程. 李红.现代电子技术,第7期. 2001 *
电子CIMS中PCB文件的自动识别及转换. 黄沛然,金涌,文远保,广艾清.计算机工程与应用. 1997 *
综合PCB和PLD设计的EDA工具包. 电子设计技术 EDN China. 1996 *

Also Published As

Publication number Publication date
CN1801154A (en) 2006-07-12

Similar Documents

Publication Publication Date Title
JP2718881B2 (en) Token identification system
CN110888842A (en) File storage method, file query method, file storage device, file query device and file query equipment
CN100377158C (en) Method for creating library file
CN102804168A (en) Data Compression For Reducing Storage Requirements In A Database System
CN102279749A (en) Method and equipment for merging codes
CN107526746B (en) Method and apparatus for managing document index
CN109284273B (en) Massive small file query method and system adopting suffix array index
CN113901280B (en) Integrated circuit flattening design character string storage and query system and method
CN104298736A (en) Method and device for aggregating and connecting data as well as database system
CN106777258B (en) Coding and compressing method for Hbase row key in medical big data storage
CN111651453A (en) User historical behavior query method and device, electronic equipment and storage medium
CN111274454B (en) Spatio-temporal data processing method and device, electronic equipment and storage medium
CN105630923A (en) Method for realizing archives administration informatization
CN101290622A (en) Database cleaning system and method
CN114185895A (en) Data import and export method and device, electronic equipment and storage medium
CN108874639A (en) Log archiving method, electronic device and readable storage medium storing program for executing
CN110647564A (en) Hive table establishing method, electronic device and computer readable storage medium
CN113591434A (en) Method for merging OFD (office automation device) documents carrying semantic indexing information
CN104378362A (en) Method and device for carrying out conversion of message interfaces
CN109189728B (en) Intelligent hardware device, magnetic disk data processing method and storage medium
CN102411733A (en) Radio frequency identification (RFID) management scheme for museum collection
CN112506931B (en) Data query method, device, electronic equipment and storage medium
CN114118944A (en) Forensic laboratory grading management method, terminal device and storage medium
CN101553800B (en) Migration apparatus which convert SAM/VSAM files of mainframe system into SAM/VSAM files of open system and method for thereof
CN111143450A (en) Method and device for importing data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080326

Termination date: 20141231

EXPY Termination of patent right or utility model