CN110502832A - A kind of method and device of board design - Google Patents
A kind of method and device of board design Download PDFInfo
- Publication number
- CN110502832A CN110502832A CN201910769656.2A CN201910769656A CN110502832A CN 110502832 A CN110502832 A CN 110502832A CN 201910769656 A CN201910769656 A CN 201910769656A CN 110502832 A CN110502832 A CN 110502832A
- Authority
- CN
- China
- Prior art keywords
- device model
- layout area
- user
- coordinate parameters
- boundary
- 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.)
- Withdrawn
Links
Landscapes
- Editing Of Facsimile Originals (AREA)
Abstract
The present invention relates to a kind of method and devices of board design, method includes the following steps: being that required device chooses device model according to type of device;Receive the coordinate parameters specified by user;Layout area is selected according to coordinate parameters;All device model boundaries are adjacent to by the parameter based on device model one by one to be arranged in layout area;Device model is chosen from layout area carries out board design.When solving merging device model in the prior art using method of the invention, the problem of device model in disorder stacking, device model rearrangement is improved into the efficiency of PCB layout so that designer chooses corresponding device in specified layout area in design interface.
Description
Technical field
The present invention relates to circuit board design techniques fields.The invention further relates to a kind of method of board design and dresses
It sets.
Background technique
When being designed to PCB (Printed Circuit Board, printed circuit board), the layout of PCB can shadow
The designing quality of castanets card entirety.Therefore need to put into a large amount of time in layout stage to carry out.Therefore PCB layout is promoted
Efficiency becomes the required course of engineer.
However in layout work, due to common PCB layout design software Cadence Allegro partial function not
It optimizes, causes part work that can not get rid of repetitive work.Maximum problem is exactly the merging in PCB layout
Device model discharge it is in disorder and overlapping one another.Designer needs to be stacked with mouse when choosing device model
Device model dragging together is opened, and required device model can be just clicked.This leads to a large amount of useless duplication of labour, into
And affect the efficiency of PCB layout.
It is, therefore, desirable to provide a kind of method for solving the above problem in the prior art, utilizes the expansible of design software
Property, new function is introduced into design software, when being placed in device model, the device model of in disorder stacking is arranged again
Cloth improves the efficiency of PCB layout to keep them unaffected by each other when designer chooses device model.
Summary of the invention
On the one hand, the present invention is based on above-mentioned purposes to propose a kind of method of board design, and this method includes following step
It is rapid:
It is that required device chooses device model according to type of device;
Receive the coordinate parameters specified by user;
Layout area is selected according to coordinate parameters;
All device model boundaries are adjacent to by the parameter based on device model one by one to be arranged in layout area;
Device model is chosen from layout area carries out board design.
The embodiment of the method for board design according to the present invention, wherein this method further comprise: according to user's
Frame choosing determination stays in the device model arranged in layout area.
The embodiment of the method for board design according to the present invention, wherein receiving the coordinate parameters specified by user into one
Step includes: the coordinate that coordinate parameters are the cornerwise two-end-points for the layout area specified by user.
The embodiment of the method for board design according to the present invention, wherein selecting layout area into one according to coordinate parameters
Step includes: the rectangular area selected according to the coordinate of cornerwise two-end-point for device model of arranging.
The embodiment of the method for board design according to the present invention, wherein the parameter based on device model will own one by one
Device model boundary, which is adjacent to, to be arranged in layout area and further comprises:
The boundary parameter of device model is determined according to the area parameters of device model;
It is adjacent based on boundary, the position that device model is arranged in layout area is determined according to the boundary parameter of device model
It sets.
On the other hand, the invention also provides a kind of device for board design, which includes:
At least one processor;With
Memory, the memory are stored with the program code that processor can be run, which runs by processor
Shi Zhihang following steps:
It is that required device chooses device model according to type of device;
Receive the coordinate parameters specified by user;
Layout area is selected according to coordinate parameters;
All device model boundaries are adjacent to by the parameter based on device model one by one to be arranged in layout area;
Device model is chosen from layout area carries out board design.
The embodiment of the device of board design according to the present invention, wherein the program code when being run by processor into
One step executes following steps: staying in the device model arranged in layout area according to the choosing determination of the frame of user.
The embodiment of the device of board design according to the present invention, wherein receiving the coordinate parameters specified by user into one
Step includes: the coordinate that coordinate parameters are the cornerwise two-end-points for the layout area specified by user.
The embodiment of the device of board design according to the present invention, wherein selecting layout area into one according to coordinate parameters
Step includes: the rectangular area selected according to the coordinate of cornerwise two-end-point for device model of arranging.
The embodiment of the device of board design according to the present invention, wherein the parameter based on device model will own one by one
Device model boundary, which is adjacent to, to be arranged in layout area and further comprises:
The boundary parameter of device model is determined according to the area parameters of device model;
It is adjacent based on boundary, the position that device model is arranged in layout area is determined according to the boundary parameter of device model
It sets.
By adopting the above technical scheme, the present invention at least has the following beneficial effects: based on board design of the invention
The problem of method solves when being placed in device model in the prior art, device model in disorder stacking, the row of specifying in design interface
Cloth region does not simultaneously arrange device model according to the parameter of device model with overlapping each other in layout area again, thus setting
Meter personnel keep them unaffected by each other when choosing device model, eliminate to click required device model and are incited somebody to action with mouse
The device model being stacked pulls a large amount of useless duplication of labour opened, and improves the efficiency of PCB layout.
The present invention provides the various aspects of embodiment, should not be taken to limit protection scope of the present invention.According to retouching herein
The technology stated is contemplated that other embodiment, this is to those skilled in the art in research the following drawings and specific
It will be apparent after embodiment, and these embodiments intention is comprised in scope of the present application.
Below with reference to the accompanying drawings it is explained in greater detail and describes the embodiment of the present invention, but they should not be construed as this
The limitation of invention.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in the prior art and embodiment description
Required attached drawing is briefly described, and the component in attached drawing is not drawn necessarily to scale, and can be omitted relevant
Element, or ratio may be amplified in some cases, it is described herein novel special to emphasize and to be clearly shown
Sign.In addition, as it is known in the art, structural order can be arranged differently.
Fig. 1 shows the schematic block diagram of the embodiment of the method for board design according to the present invention;
Fig. 2 shows the carry out board designs of the embodiment for the method for applying board design according to the present invention
The schematic diagram of design interface.
Specific embodiment
Although the present invention can be implemented in a variety of manners, it is shown in the accompanying drawings and will be described below some show
Example property and non-limiting embodiment, it is understood that, the disclosure will be considered as that example of the invention is not intended this
Invention is limited to illustrated specific embodiment.
Fig. 1 shows the schematic block diagram of the embodiment of the method for board design according to the present invention.As shown in the figure
In embodiment, this method is at least included the following steps:
S1: being that required device chooses device model according to type of device;
S2: the coordinate parameters specified by user are received;
S3: layout area is selected according to coordinate parameters;
S4: all device model boundaries are adjacent to by the parameter based on device model one by one to be arranged in layout area;
S5: device model is chosen from layout area and carries out board design.
When being laid out design to circuit board using Cadence Allegro, need to set using Cadence Allegro
The scalability for counting software, new function is introduced into design software, for this reason, it may be necessary to proceed as follows: 1) modifying first soft
The menu bar file of part, by its configuration file allegro.men be placed under installation path Cadence SPB_16.6
Share pcb text under cuimenus catalogue;2) modify installation path under Cadence SPB_16.6 share local
Pcb allegro.ilinit file under skill catalogue;3) place_inside.il file is put into the installation path of software
Under Cadence SPB_16.6 share local pcb under skill catalogue;4) corresponding execute is inputted in command bar to refer to
Order.
On this basis, corresponding device mould is chosen according to the type of device needed for PCB layout in step sl first
Type.Here, choosing device model simultaneously also includes the quantity of selector model.It in step s 2 receives and to be specified by user
Coordinate parameters.For example, it is preferable to specify corresponding coordinate parameters in design interface prompt user.Other suitable side can also be used
Formula.Then the arrangement area to arrange to device model is determined according to the coordinate parameters received in step S2 in step s3
Domain.After determining layout area, parameter of the step S4 based on device model is seriatim adjacent with boundary by all device models
Mode do not arrange overlappingly mutually in layout area.Fig. 2 shows after execution above-mentioned steps S1 to S4 to design interface into
The schematic diagram of the effect of row optimization.Later step S5 chooses device model from layout area and carries out board design.Using upper
It states step S1 to S5 to solve when being placed in device model in the prior art, the problem of device model in disorder stacking, in design interface
In specified layout area in by device model rearrangement, so that designer chooses corresponding device, improve PCB layout
Efficiency.
For example, following code can be used to realize in the above-mentioned function of extension Cadence Allegro design software:
Will be discussed below further embodiment of the present invention, it should be noted that it is mentioned that the step of number do not having
In the case where having specified otherwise, be only used for it is convenient explicitly indicate the step, do not limit the sequence of the step.
In some embodiments of the method for board design of the invention, this method further comprises: according to user's
Frame choosing determination stays in the device model arranged in layout area.Preferably, in some embodiments, it is desirable in layout area into
The device model of row arrangement is elected by user in PCB design interface upper ledge.
In several embodiments of the method for board design of the invention, step S2 is received to be joined by the coordinate that user specifies
Number further comprises: coordinate parameters are the coordinates of the cornerwise two-end-point for the layout area specified by user.In step S2
The coordinate for cornerwise two-end-point that design interface prompts user that corresponding coordinate parameters is specified to can be layout area.Accordingly
The mode of prompt user can be the text such as showing " please click first end point ", " please click the second endpoint " in design interface
Word prompt or other suitable mode.
In some embodiments of the method for board design of the invention, step S3 is according to the selected arrangement area of coordinate parameters
Domain further comprises: selecting the rectangular area for device model of arranging according to the coordinate of cornerwise two-end-point.Preferably, it arranges
It is selected as rectangular area in cloth region.Therefore, it is selected using the coordinate of the aforementioned cornerwise two-end-point specified by user for arranging
The above-mentioned rectangular area of cloth device model.
In several embodiments of the method for board design of the invention, parameter of the step S4 based on device model is one by one
All device model boundaries are adjacent to and is arranged in layout area and further comprises:
S41: the boundary parameter of device model is determined according to the area parameters of device model;
S42: determine what device model was arranged in layout area based on the adjacent boundary parameter according to device model in boundary
Position.
It further says, step S4 can be specifically divided into above-mentioned based on the arrangement that the parameter of device model completes device model
Two steps of S41 and S42.Wherein, step S41 determines the boundary parameter of device model, example according to the area parameters of device model
As the boundary parameter of the device model of class rectangle can be its dimensional parameters slightly larger than the four edges of the rectangle of its shape, class circle
The boundary parameter of shape device model can be using diameter of a circle as the dimensional parameters etc. on four sides of the square of side length.Then it walks
Rapid S42 determines the position that device model is arranged in layout area based on the adjacent boundary parameter according to device model in boundary.
That is device model is arranged in layout area in the adjacent mode in boundary according to the boundary parameter that step S41 is determined
Cloth, so that all device models are not overlapped each other ground rearrangement.
On the other hand, the invention also provides a kind of device for board design, which includes: at least one
Manage device;And memory, the memory are stored with the program code that processor can be run, the program code by processor when being run
Execute following steps:
S1: being that required device chooses device model according to type of device;
S2: the coordinate parameters specified by user are received;
S3: layout area is selected according to coordinate parameters;
S4: all device model boundaries are adjacent to by the parameter based on device model one by one to be arranged in layout area;
S5: device model is chosen from layout area and carries out board design.
In some embodiments of the device of board design of the invention, the program code when being run by processor into
One step executes following steps: staying in the device model arranged in layout area according to the choosing determination of the frame of user.
In several embodiments of the device of board design of the invention, step S2 is received to be joined by the coordinate that user specifies
Number further comprises: coordinate parameters are the coordinates of the cornerwise two-end-point for the layout area specified by user.
In some embodiments of the device of board design of the invention, step S3 is according to the selected arrangement area of coordinate parameters
Domain further comprises: selecting the rectangular area for device model of arranging according to the coordinate of cornerwise two-end-point.
In several embodiments of the device of board design of the invention, parameter of the step S4 based on device model is one by one
All device model boundaries are adjacent to and is arranged in layout area and further comprises:
S41: the boundary parameter of device model is determined according to the area parameters of device model;
S42: determine what device model was arranged in layout area based on the adjacent boundary parameter according to device model in boundary
Position.
It can be various electric terminal equipments, such as mobile phone, a number that the embodiment of the present invention, which discloses described device, equipment etc.,
Word assistant (PDA), tablet computer (PAD), smart television etc., are also possible to large-scale terminal device, such as server, therefore this hair
Protection scope disclosed in bright embodiment should not limit as certain certain types of device, equipment.The embodiment of the present invention discloses described
Client can be with the combining form of electronic hardware, computer software or both be applied to any one of the above electric terminal
In equipment.
Computer readable storage medium (such as memory) as described herein can be volatile memory or non-volatile
Memory, or may include both volatile memory and nonvolatile memory.As an example and not restrictive, it is non-easy
The property lost memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically-erasable
Programming ROM (EEPROM) or flash memory.Volatile memory may include random access memory (RAM), which can
To serve as external cache.As an example and not restrictive, RAM can be obtained in a variety of forms, such as synchronous
RAM (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), enhancing SDRAM
(ESDRAM), synchronization link DRAM (SLDRAM) and directly Rambus RAM (DRRAM).The storage of disclosed aspect is set
The standby memory for being intended to including but not limited to these and other suitable type.
By adopting the above technical scheme, the present invention at least has the following beneficial effects: based on board design of the invention
The problem of method solves when being placed in device model in the prior art, device model in disorder stacking, the row of specifying in design interface
Cloth region does not simultaneously arrange device model according to the parameter of device model with overlapping each other in layout area again, thus setting
Meter personnel keep them unaffected by each other when choosing device model, eliminate to click required device model and are incited somebody to action with mouse
The device model being stacked pulls a large amount of useless duplication of labour opened, and improves the efficiency of PCB layout.
It should be understood that technically in feasible situation, above in relation to technical characteristic cited by different embodiments
It can be combined with each other, to form the additional embodiment in the scope of the invention.In addition, particular example as described herein and embodiment
It is non-limiting, and structure explained above, step and sequence can be revised accordingly without departing from the present invention
Protection scope.
In this application, the use of disjunctive is intended to include conjunction.Fixed or indefinite article use is not intended to
Indicate radix.Specifically, be intended to indicate that the reference of "the" object or " one " and "one" object can in multiple such objects
One of energy.However, removing and non-clearly limiting although element disclosed by the embodiments of the present invention can be described or be required in the form of individual
It is made as odd number, it is understood that be multiple.In addition it is possible to use conjunction "or" conveys simultaneous feature, rather than
Repelling programs.In other words, conjunction "or" is understood to include "and/or".Term " includes " is inclusiveness and has
Range identical with "comprising".
Above-described embodiment, especially any " preferably " embodiment are the possibility examples of embodiment, and just to clear
Chu understands the principle of the present invention and proposes.It, can without departing substantially from the spirit and principle of technique described herein
To make many change and modification to above-described embodiment.All modifications are intended to be included in the scope of the present disclosure.
Claims (10)
1. a kind of method of board design, which is characterized in that the described method comprises the following steps:
It is that required device chooses device model according to type of device;
Receive the coordinate parameters specified by user;
Layout area is selected according to the coordinate parameters;
All device model boundaries are adjacent to by the parameter based on the device model one by one is arranged in the layout area
In;
The device model is chosen from the layout area carries out board design.
2. the method according to claim 1, wherein the method further includes:
The device model arranged in layout area is stayed according to the choosing determination of the frame of user.
3. the method according to claim 1, wherein the coordinate parameters specified by user that receive further wrap
It includes:
The coordinate parameters are the coordinates of the cornerwise two-end-point for the layout area specified by user.
4. according to the method described in claim 3, it is characterized in that, described select layout area into one according to the coordinate parameters
Step includes:
The rectangular area for the device model of arranging is selected according to the coordinate of cornerwise two-end-point.
5. the method according to claim 1, wherein the parameter based on the device model will own one by one
The device model boundary, which is adjacent to, to be arranged in the layout area and further comprises:
The boundary parameter of the device model is determined according to the area parameters of the device model;
It is adjacent based on boundary, determine that the device model is arranged in the layout area according to the boundary parameter of the device model
The position of cloth.
6. a kind of device for board design, which is characterized in that described device includes:
At least one processor;With
Memory, the memory are stored with the program code that processor can be run, and said program code is run by processor
Shi Zhihang following steps:
It is that required device chooses device model according to type of device;
Receive the coordinate parameters specified by user;
Layout area is selected according to the coordinate parameters;
All device model boundaries are adjacent to by the parameter based on the device model one by one is arranged in the layout area
In;
The device model is chosen from the layout area carries out board design.
7. device according to claim 6, which is characterized in that said program code is further held when being run by processor
Row following steps:
The device model arranged in layout area is stayed according to the choosing determination of the frame of user.
8. device according to claim 6, which is characterized in that the coordinate parameters specified by user that receive further wrap
It includes:
The coordinate parameters are the coordinates of the cornerwise two-end-point for the layout area specified by user.
9. device according to claim 8, which is characterized in that described to select layout area into one according to the coordinate parameters
Step includes:
The rectangular area for the device model of arranging is selected according to the coordinate of cornerwise two-end-point.
10. device according to claim 6, which is characterized in that the parameter based on the device model is one by one by institute
There is the device model boundary to be adjacent to be arranged in the layout area and further comprise:
The boundary parameter of the device model is determined according to the area parameters of the device model;
It is adjacent based on boundary, determine that the device model is arranged in the layout area according to the boundary parameter of the device model
The position of cloth.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910769656.2A CN110502832A (en) | 2019-08-20 | 2019-08-20 | A kind of method and device of board design |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910769656.2A CN110502832A (en) | 2019-08-20 | 2019-08-20 | A kind of method and device of board design |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110502832A true CN110502832A (en) | 2019-11-26 |
Family
ID=68588850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910769656.2A Withdrawn CN110502832A (en) | 2019-08-20 | 2019-08-20 | A kind of method and device of board design |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110502832A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110991140A (en) * | 2019-12-02 | 2020-04-10 | 南京九芯电子科技有限公司 | Method for automatically adjusting space between elements |
CN113808067A (en) * | 2020-06-11 | 2021-12-17 | 广东美的白色家电技术创新中心有限公司 | Circuit board detection method, visual detection equipment and device with storage function |
-
2019
- 2019-08-20 CN CN201910769656.2A patent/CN110502832A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110991140A (en) * | 2019-12-02 | 2020-04-10 | 南京九芯电子科技有限公司 | Method for automatically adjusting space between elements |
CN113808067A (en) * | 2020-06-11 | 2021-12-17 | 广东美的白色家电技术创新中心有限公司 | Circuit board detection method, visual detection equipment and device with storage function |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104267981B (en) | A kind of method and device of application layout on loading desktop | |
CN109753641B (en) | Method and device for changing object position, electronic equipment and storage medium | |
CN104794116B (en) | The layout method and device of element in a kind of page | |
CN110502832A (en) | A kind of method and device of board design | |
CN109165227A (en) | Update/application method, system, medium and the terminal in EDA pad encapsulation library | |
CN105468797A (en) | Information processing method and apparatus | |
CN107885767A (en) | A kind of page operation method and device | |
CN108038212A (en) | A kind of data interactive method, device, system, equipment and storage medium | |
CN109165332A (en) | A kind of webpage information acquisition methods, device and equipment | |
CN105867944A (en) | Web front-end terminal operating layer and implementing method thereof | |
CN104657195A (en) | Resource binding method and device | |
CN109543327B (en) | Method and device for placing parts in PCB design | |
CN107870975A (en) | The crawling method and application server of network picture | |
CN110069523A (en) | A kind of data query method, apparatus and inquiry system | |
CN110515690A (en) | Node layout's method and device, storage medium, electronic device | |
CN109598067A (en) | Wiring method, wiring system, storage medium and the electronic equipment of printed circuit board | |
CN105930354A (en) | Storage model conversion method and device | |
CN105844012A (en) | Layout comparing schematic verifying method and device of discrete device | |
CN107369192B (en) | Connection relation processing method and device | |
CN110427366A (en) | Index synchronous method, apparatus and system based on the phoenix transformation old system of hbase | |
CN105279195A (en) | Method and apparatus for webpage application to call browser function | |
CN104461603A (en) | Information processing method and electronic equipment | |
CN111159796B (en) | Method and device for generating beam of building, computer equipment and storage medium | |
CN105760155A (en) | Method and device for web interface layout | |
WO2016023276A1 (en) | Data processing method and device for storage card |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20191126 |