CN103020404A - Method and device for drawing lines in circuit design - Google Patents

Method and device for drawing lines in circuit design Download PDF

Info

Publication number
CN103020404A
CN103020404A CN2013100096724A CN201310009672A CN103020404A CN 103020404 A CN103020404 A CN 103020404A CN 2013100096724 A CN2013100096724 A CN 2013100096724A CN 201310009672 A CN201310009672 A CN 201310009672A CN 103020404 A CN103020404 A CN 103020404A
Authority
CN
China
Prior art keywords
lines
degree
drafting
parameter
user
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
Application number
CN2013100096724A
Other languages
Chinese (zh)
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.)
Dawning Information Industry Beijing Co Ltd
Original Assignee
Dawning Information Industry Beijing 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 Dawning Information Industry Beijing Co Ltd filed Critical Dawning Information Industry Beijing Co Ltd
Priority to CN2013100096724A priority Critical patent/CN103020404A/en
Publication of CN103020404A publication Critical patent/CN103020404A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and a device for drawing lines in a circuit design. The method includes receiving a ten-degree line drawing request inputted by a user; determining parameters of a ten-degree line required to be drawn according to the ten-degree line drawing request; substituting the parameters into a preliminarily configured statement for drawing the ten-degree line; and executing the statement after the parameters are substituted into the statement to draw the ten-degree line in a circuit design environment. The method and the device have the advantages that the request of the user is received, and the parameters in the request are substituted into the statement, so that the required ten-degree line can be drawn, the ten-degree line drawing accuracy can be improved, an operator is not required to draw the ten-degree line manually, and the work efficiency is improved; and as only the preset statement needs to be executed when the ten-degree line is drawn, ellipse drawing operation can be effectively and repeatedly executed advantageously, the reliability of drawing operation can be improved, and the operation efficiency of the user is enhanced.

Description

Lines method for drafting and device in the circuit design
Technical field
The present invention relates to computer realm, particularly, relate to the lines method for drafting in a kind of circuit design.
Background technology
Allegro (free software routine library) is the advanced PCB designing wiring instrument that Cadence (certain electronics supplier) releases.Allegro provides good and mutual working interface and comparatively perfect function, and the combination of its front end products C adence, OrCAD, Capture, for the complicated PCB designing wiring of current high speed, high density, multilayer provides comparatively perfect solution.But because software itself do not have the each side function concurrently, therefore in actual mechanical process, also need to develop some subsidiary functions in addition perfect.
The requirements that Intel proposes ten degree lines at first are in order to make signal circulation more smooth and easy, fiber is worked out the signal quality problem that effect brings drop to minimum.So-called fiber establishment effect is because base material is to be made by the grid that glass fibre is done cross, so there are some local glass fibre spaces, when HW High Way process glass fibre, some signal is walked on glass fibre, and some signal is walked on the space, will cause like this impedance different.
For fear of the different problem of impedance, 10 ° of cabling schemes have been proposed at present, that is, allow the medium coefficient of the base material below the cabling of HW High Way all be consistent.Wherein, 10 ° of cablings have an angular range, are not to refer to absolute 10 °.In cross coordinate axis " ++ " zone, the scope of 10 ° of cablings is 10 °~35,55 °~80 °, and other Three regions in like manner.Every section Cline seg is no more than 300Mil.When signal rate reaches 4GHz when above, need to consider 10 ° of cablings (hereinafter being also referred to as 10 ° of lines or ten degree lines) scheme.Fig. 1 is the schematic diagram of ten degree lines in the prior art, and control trace represents TRAJECTORY CONTROL among Fig. 1, and the unit of numeral (250,50,50,250) is mil shown in the figure.
But, when carrying out circuit design, need 10 ° of lines of operating personnel's hand drawn at present, the poor accuracy of not only drawing, and can increase operating personnel's workload, reduce the efficient of circuit design.
Poor accuracy, ineffective problem for drawing 10 ° of lines in the correlation technique not yet propose effective solution at present.
Summary of the invention
For poor accuracy, the ineffective problem of drawing 10 ° of lines in the correlation technique, the present invention proposes the lines method for drafting in a kind of circuit design, can accurate Drawing ten spend lines, and reduce the drafting time.
Technical scheme of the present invention is achieved in that
According to an aspect of the present invention, provide lines method for drafting in a kind of circuit design.
Lines method for drafting according to the present invention comprises:
Receive ten degree line render requests of user's input;
According to ten degree line render requests, need to determine ten of drafting to spend the parameter of lines;
Pre-configured being used for of parameter substitution drawn the statement of ten degree lines;
By the statement after the execution substitution parameter, under the circuit design environment, draw ten degree lines.
And this lines method for drafting further comprises:
Show ten degree lines drafting interfaces, ten degree lines are drawn in the interfaces and are comprised the parameter importation, and the parameter importation comprises option and/or input frame, and the parameter importation is used for receiving the parameter that the user inputs.
Wherein, select in the situation of a plurality of existing lines in the circuit board the user, if receive ten degree line render requests of user's input, then under the circuit design environment, draw ten degree lines and comprise:
The a plurality of existing lines that the user is selected are transformed to ten degree lines of the requirement that meets parameter.
And, in the situation of the lines in the not selected circuit board of user, if receive ten degree line render requests of user's input, then under the circuit design environment, draw ten degree lines and comprise:
Generation meets ten degree lines of the requirement of parameter.
Further, ten degree line render requests comprise: start point information and/or the terminating point information of the ten degree lines that needs are drawn.
Alternatively, parameter comprise following one of at least: the lines between the flex point of the line length between the flex point of ten degree lines, ten degree lines and the angle of board edge angle.
And statement configures based on the Skill language.
In addition, the circuit design environment comprises: Allegro running environment.
According to another aspect of the present invention, provide the drawing apparatus of the lines in a kind of circuit design, this lines drawing apparatus comprises:
Receiver module is used for receiving ten of user's input and spends the line render requests;
Determination module is used for according to ten degree line render requests definite parameter that needs ten degree lines of drafting;
The substitution module is used for the statement that is used for drafting ten degree lines that the parameter substitution is pre-configured;
Execution module is used for drawing ten degree lines by the statement after the execution substitution parameter under the circuit design environment.
Alternatively, parameter comprise following one of at least: the lines between the flex point of the line length between the flex point of ten degree lines, ten degree lines and the angle of board edge angle.
The present invention is by receiving user's request, by drawing ten required degree lines in the parameter substitution statement in will asking, can improve the degree of accuracy of drawing ten degree lines, avoid operating personnel's hand drawn, increase work efficiency, and owing to when drawing ten degree lines, only need to carry out predetermined statement, the ellipse drawing work of being convenient to repeatedly repeat efficiently, can increase the fiduciary level of drawing operation, improve user's operating efficiency.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use among the embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic diagram of ten degree lines in the prior art;
Fig. 2 is the process flow diagram according to the pattern drawing method that is used for circuit design of the embodiment of the invention;
Fig. 3 draws the schematic diagram at interface according to ten degree lines of the embodiment of the invention;
Fig. 4 is the schematic diagram of ten degree lines of drafting after implementing according to the pattern drawing method that is used for circuit design of the embodiment of the invention;
Fig. 5 is the block diagram of the lines drawing apparatus in the circuit design according to an embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtain belongs to the scope of protection of the invention.
It should be noted that, ten mentioned degree lines of the present invention singly do not refer to angle that board edge is to be the line of 10 degree, to be angle can be other angles approximate with 10 degree, for example, the alleged angle angle of ten degree lines of the present invention and board edge can be the angle of 9-11 degree, 8-12 degree, 7-13 degree or other scopes.
According to embodiments of the invention, provide a kind of pattern drawing method for circuit design.
As shown in Figure 2, the pattern drawing method that is used for circuit design according to the embodiment of the invention comprises:
Step S201 receives ten of user's input and spends the line render requests;
Step S203 according to ten degree line render requests, need to determine ten of drafting to spend the parameter of lines;
Step S205, the statement that is used for drafting ten degree lines that the parameter substitution is pre-configured;
Step S207 by the statement after the execution substitution parameter, draws ten degree lines under the circuit design environment.
And the method comprises the parameter importation in showing ten degree lines drafting interfaces, and the parameter importation comprises option and/or input frame, and the parameter importation is used for receiving the parameter of user's input.
Wherein, select in the situation of a plurality of existing lines in the circuit board the user, if receive ten degree line render requests of user's input, a plurality of existing lines of then under the circuit design environment user being selected are transformed to ten degree lines of the requirement that meets parameter.
And, in the situation of the lines in the not selected circuit board of user, if receive ten degree line render requests of user's input, then under the circuit design environment, generate ten degree lines of the requirement that meets parameter.
Further, above-mentioned ten degree line render requests comprise: start point information and/or the terminating point information of the ten degree lines that needs are drawn.
Alternatively, above-mentioned parameter can comprise following one of at least: the lines between the flex point of the line length between the flex point of ten degree lines, ten degree lines and the angle of board edge angle.
In addition, technical scheme of the present invention can also be made amendment to the angle value of ten degree lines, when user selection ten degree drawn during line, can allow system show ten degree lines drafting interfaces by sending order equally, draw line length, starting point, terminating point and/or other parameters between the new angle value of importation input in interface, new flex point when this ten degree line of user, so just can revise selected ten and spend lines.
In addition, above-mentioned statement of the present invention can configure based on the Skill language, wherein, the secondary development language that the Skill language provides for Cadence, this is a kind of interactive high-level programming language based on general artificial intelligence language-Lisp (LISP is List Processing, list processing (LISP)), configures above-mentioned statement of the present invention by means of the Skill language, can the Effective Raise work efficiency, and do not need former running environment is too much changed.
Further, the foregoing circuit design environment can comprise Allegro running environment.
As mentioned above, pattern drawing method for circuit design according to the present invention can be by means of authoring tool (practical application, can be Notepad++) employing skill (indicative script, run on the cadence design tool, can expand the function of cadence design tool) realize, can be tune.il in the practical application.
Use Skill under the allegro environment, could use relevant order after must being written into first, pattern drawing method according to the present invention provides following two kinds of modes that are used for loading Skill file and allegro.ilinit Context resolution:
Mode one directly is written at COMMAND window input skill load (" Skill filename "), and this mode only for the current ALLEGRO that is in opening just effectively;
Mode two writes the automatic loading that realizes in the allegro.ilinit file under the PCBENV catalogue when ALLEGRO starts with being written into statement, and this mode is more common.
The below will specifically describe the concrete steps of mode two:
Step 1 is checked environmental variance place catalogue, and this step can realize by two kinds of methods:
(1), by checking the HOME variate-value in the computerized environment variable.For example, the HOME variable be d:, that actual allegro.ilinit file path should be placed on d: under the pcbenv catalogue;
(2), directly also can obtain actual environmental variance catalogue at ALLEGRO order line input echo $ localenv.If under the environmental variance catalogue, there is not the allegro.ilinit file, can a newly-built text, revised file name then, allegro can search the allegro.ilinit file under the environmental variance catalogue when starting, and carry out Skill statement wherein.Allegro.ilinit can be understood as an automatically actuated Skill file of ALLEGRO.
Step 2, write the allegro.ilinit file:
In the practical application, the allegro.ilinit file content is as follows:
;--------------------------------------------------------
setSkillPath(buildString(append1(getSkillPath()“D:/Skill”)))
load(“xxx.il”)
;--------------------------------------------------------
Above code all is the Skill statement of standard, and the function that will use is described below, and employed function is not limited to the following cited and function described in the practical application:
Function one, getSkillPath (); Function, the Skill PATH tabulation that is used for obtaining ALLEGRO, this tabulation comprises the Skill file in the path, can directly use relative path to call;
Function two, append1; Function, be used for adding content in tabulation, append1 (getSkillPath () " D:/skill "))) be used for the D:/Skill catalogue is added in the Skill path, like this as long as the 123.il file is in and just can directly uses load (" 123.il ") to call under the D:/Skill catalogue;
Function three, buildString; Function forms character string with the LIST type, and this function can omit;
Function four, setSkillPath; Function arranges Skill PATH according to the path of reformulating;
Function five, load; Be written into function, if Skill with password, literary style is load (" xxx.il " " password "); Alternatively, can use the loadi function.
Use the Skill file can be put into specified folder with superior function so that management.
In addition, because PCBENV catalogue acquiescence is included among the Skill PATH, if do not use above-mentioned statement, also the Skill file can be put under the PCBENV catalogue, use relative path to call, such as load (" test.il "); If can use absolute path to call in other position, such as load (" d:/skill/test.il ").
After preserving alleg ro.ilinit file, the Skill that carries out all loadings of Skillload (" allegro.ilinit ") in the ALLEGRO order line can come into force, and can certainly restart allegro.
When realizing according to the skill that writes for the pattern drawing method of circuit design of the present invention, concrete operations are as follows:
This skill of tune.il is put under the catalogue of appointment and after loading, restarts allegro, at order line input tune, then interface as shown in Figure 3 appears in difference or single line that frame selects you to mind how you go.
According to the prompting among Fig. 3 " please enter addx_distance (please input addx_distance) ", can be in the frame of input below (being parameter referred to above importation) required ten the spending the parameter of length of lines ((its unit can be mil to 125 shown in the input frame of Fig. 3 of input, line length between the expression flex point) be exemplary), then hit OK (determining), then finish ten degree cabling operations of corresponding institute input parameter, ten degree lines of generation as shown in Figure 4.If the cancellation operation is then clicked Cancel (cancellation) and can be cancelled current operation.
In addition, ten degree lines drafting modes according to the present invention can be to parallel or effective perpendicular to the cabling of plank.In addition, before implementing the solution of the present invention, if wish to generate ten new degree lines, then can reserve in advance needs to generate ten degree space of lines.For the flex point of ten degree lines after drawing, can make amendment by manual correction.
Alternatively, interface of the present invention is not limited to interface shown in Figure 3, can increase more function or adopt different display styles, wherein, interface shown in Figure 3 is exemplary, the shown interface of Fig. 3 can comprise several options and/or input frame, and input frame or the choice box of angle can further be provided.And the used function code of the present invention also can be substituted by other the function code of same purpose that realizes conventionally known to one of skill in the art.
According to embodiments of the invention, provide the drawing apparatus of the lines in a kind of circuit design.
As shown in Figure 5, the lines drawing apparatus that provides according to embodiments of the invention comprises:
Receiver module 51 is used for receiving ten of user's input and spends the line render requests;
Determination module 52 is used for according to ten degree line render requests definite parameter that needs ten degree lines of drafting;
Substitution module 53 is used for the statement that is used for drafting ten degree lines that the parameter substitution is pre-configured;
Execution module 54 is used for drawing ten degree lines by the statement after the execution substitution parameter under the circuit design environment.
Alternatively, parameter comprise following one of at least: the lines between the flex point of the line length between the flex point of ten degree lines, ten degree lines and the angle of board edge angle.
In sum, by means of technique scheme of the present invention, by receiving user's request, by drawing ten required degree lines in the parameter substitution statement in will asking, can improve the degree of accuracy of drawing ten degree lines, avoid operating personnel's hand drawn, increase work efficiency, and owing to when drawing ten degree lines, only need to carry out predetermined statement, the ellipse drawing work of being convenient to repeatedly repeat efficiently, can increase the fiduciary level of drawing operation, improve user's operating efficiency.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the lines method for drafting in the circuit design is characterized in that, comprising:
Receive ten degree line render requests of user's input;
According to described ten degree line render requests, need to determine ten of drafting to spend the parameter of lines;
Pre-configured being used for of described parameter substitution drawn the statement of ten degree lines;
By the statement after the described parameter of execution substitution, under the circuit design environment, draw ten degree lines.
2. lines method for drafting according to claim 1 is characterized in that, further comprises:
Show ten degree lines drafting interfaces, described ten degree lines are drawn in the interfaces and are comprised the parameter importation, and described parameter importation comprises option and/or input frame, and described parameter importation is used for receiving the described parameter that the user inputs.
3. lines method for drafting according to claim 1, it is characterized in that, select in the situation of a plurality of existing lines in the circuit board the user, if receive the described ten degree line render requests of user's input, then under the circuit design environment, draw ten degree lines and comprise:
Described a plurality of existing lines that the user is selected are transformed to ten degree lines of the requirement that meets described parameter.
4. lines method for drafting according to claim 1 is characterized in that, in the situation of the lines in the not selected circuit board of user, if receive the described ten degree line render requests of user's input, then draws ten degree lines and comprise under the circuit design environment:
Generation meets ten degree lines of the requirement of described parameter.
5. lines method for drafting according to claim 4 is characterized in that, described ten degree line render requests comprise: start point information and/or the terminating point information of the ten degree lines that needs are drawn.
6. each described lines method for drafting is characterized in that according to claim 1-5, described parameter comprise following one of at least: the lines between the flex point of the line length between the flex point of ten degree lines, ten degree lines and the angle of board edge angle.
7. each described lines method for drafting is characterized in that according to claim 1-5, and described statement configures based on the Skill language.
8. each described lines method for drafting is characterized in that according to claim 1-5, and described circuit design environment comprises: Allegro running environment.
9. the lines drawing apparatus in the circuit design is characterized in that, comprising:
Receiver module is used for receiving ten of user's input and spends the line render requests;
Determination module is used for according to described ten degree line render requests, definite parameter that needs ten degree lines of drafting;
The substitution module is used for the statement that is used for drafting ten degree lines that described parameter substitution is pre-configured;
Execution module is used for by the statement after the described parameter of execution substitution, draws ten degree lines under the circuit design environment.
10. lines drawing apparatus according to claim 9 is characterized in that, described parameter comprise following one of at least: the lines between the flex point of the line length between the flex point of ten degree lines, ten degree lines and the angle of board edge angle.
CN2013100096724A 2013-01-10 2013-01-10 Method and device for drawing lines in circuit design Pending CN103020404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100096724A CN103020404A (en) 2013-01-10 2013-01-10 Method and device for drawing lines in circuit design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100096724A CN103020404A (en) 2013-01-10 2013-01-10 Method and device for drawing lines in circuit design

Publications (1)

Publication Number Publication Date
CN103020404A true CN103020404A (en) 2013-04-03

Family

ID=47969006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100096724A Pending CN103020404A (en) 2013-01-10 2013-01-10 Method and device for drawing lines in circuit design

Country Status (1)

Country Link
CN (1) CN103020404A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106802963A (en) * 2015-11-26 2017-06-06 北京华大九天软件有限公司 A kind of method of the arbitrarily angled figure that Fast Drawing is fixed
CN109195314A (en) * 2018-09-27 2019-01-11 郑州云海信息技术有限公司 A kind of pcb board and a kind of electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1942055A (en) * 2005-09-30 2007-04-04 鸿富锦精密工业(深圳)有限公司 Auxiliary designing system and method for circuit board
CN101063985A (en) * 2006-04-29 2007-10-31 英业达股份有限公司 Wire laying data generating system and method
CN102456088A (en) * 2010-10-27 2012-05-16 英业达股份有限公司 Circuit diagram rewiring method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1942055A (en) * 2005-09-30 2007-04-04 鸿富锦精密工业(深圳)有限公司 Auxiliary designing system and method for circuit board
CN101063985A (en) * 2006-04-29 2007-10-31 英业达股份有限公司 Wire laying data generating system and method
CN102456088A (en) * 2010-10-27 2012-05-16 英业达股份有限公司 Circuit diagram rewiring method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
吴均等: "《Cadence印刷电路板设计:Allegro PCB Editor设计指南》", 31 August 2012 *
清源科技: "《Protel DXP电路设计及应用教程》", 30 April 2003 *
陈敏敏: "《http://wenku.baidu.com/link?url=TP3_TaXqoHcQrsZ64KROCtkTH1UDJFXEsKrptHOiApxYuBBQ7MU5PbFwL19E32SBRC3dx5ZNTTwxtCntVcX6ryZ8D0qoRlMoN54FZBLUCqm》", 25 December 2012 *
黄琦、李伟等: ""基于AXL-SKILL"语言的Allegro封装工具的二次开发", 《计算机应用与软件》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106802963A (en) * 2015-11-26 2017-06-06 北京华大九天软件有限公司 A kind of method of the arbitrarily angled figure that Fast Drawing is fixed
CN109195314A (en) * 2018-09-27 2019-01-11 郑州云海信息技术有限公司 A kind of pcb board and a kind of electronic equipment

Similar Documents

Publication Publication Date Title
KR101790190B1 (en) Application scenario identification method, power consumption management method, apparatus, and terminal device
CN103744784A (en) Method and system for automatically testing mobile phone applications
CN102830997B (en) Control method, device and equipment that a kind of plug-in unit is installed
CN102968511A (en) Line treatment method and device used for circuit design
US11063828B2 (en) Detecting software misconfiguration at a remote machine
CN103544106A (en) Method and device for generating script based on control
CN103365446A (en) Handwriting input method and device
CN103984626A (en) Method and device for generating test-case script
CN106557878B (en) Development project management method and device
CN105760289A (en) Debugging method and device of embedded system
US8650544B2 (en) Systems and methods for interactive testing of a computer application
CN103020404A (en) Method and device for drawing lines in circuit design
JP7285899B2 (en) USER IMAGE RECOGNITION MODEL UPDATE METHOD, APPARATUS, ELECTRONIC DEVICE, COMPUTER-READABLE RECORDING MEDIUM, AND COMPUTER PROGRAM
CN111459813B (en) Test processing method and device
CN103164570A (en) Circuit component lead-in method and device in circuit design
US20220244469A1 (en) System and method for estimating performance characteristics of an optical fiber routing path
CN205193768U (en) Touch frame of double -screen display system
CN112270412B (en) Network operator processing method and device, electronic equipment and storage medium
US9152388B2 (en) Tailored language sets for business level scripting
CN103020370A (en) Graph drawing method and device for circuit design
KR102505002B1 (en) Code reuse processing method, device, electronic equipment, computer readable storage medium and computer program
CN104077390A (en) Search display method and device based on browsers and electronic device
CN110865934B (en) Code verification method, device, electronic equipment and readable storage medium
CN114063868A (en) AI (Artificial intelligence) dragging modeling system and method, computer equipment and application
KR20170106029A (en) Electronic device and controlling method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130403