[go: up one dir, main page]

CN100343854C - Method for quick completing port connection using graphic interface - Google Patents

Method for quick completing port connection using graphic interface Download PDF

Info

Publication number
CN100343854C
CN100343854C CNB2004100186261A CN200410018626A CN100343854C CN 100343854 C CN100343854 C CN 100343854C CN B2004100186261 A CNB2004100186261 A CN B2004100186261A CN 200410018626 A CN200410018626 A CN 200410018626A CN 100343854 C CN100343854 C CN 100343854C
Authority
CN
China
Prior art keywords
port
module
graphical interfaces
utilizes
row
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 - Lifetime
Application number
CNB2004100186261A
Other languages
Chinese (zh)
Other versions
CN1648904A (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.)
Individual
Original Assignee
Individual
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=34868242&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=CN100343854(C) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Individual filed Critical Individual
Priority to CNB2004100186261A priority Critical patent/CN100343854C/en
Publication of CN1648904A publication Critical patent/CN1648904A/en
Application granted granted Critical
Publication of CN100343854C publication Critical patent/CN100343854C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a method using a graphic interface to quickly complete the connection of ports. The method comprises the following steps: HDL source files defined by modules are read, and an external input output port of each of the modules is analyzed; a graphic interface is drawn on a screen; module names and port names of required operation are filled in corresponding positions in the graphic interface; after the filling of the contents are completed, ports which are mutually matched are connected to the interface, and simultaneously, an external port of the whole module is defined; the HDL source codes of modules at a top layer are automatically generated. Compared with the prior art, the present invention can display a compact graphic interface form of analyzed modules to be processed to make a limited display screen capable of simultaneously displaying more module ports, and simultaneously, connection rules can be freely configured so as to make connection processes in software drawing technique quick and convenient.

Description

Utilize graphical interfaces to finish the method that port connects fast
Technical field
The present invention relates to the general design method that a kind of internal module port connects, particularly relate to a kind of graphical interfaces that utilizes and realize the method that each end points connects fast in the hardware description language.
Background technology
Integrated circuit, particularly digital integrated circuit, its indoor design are often based on the module hierarchical structure.Be that whole design is a top-level module, top-level module is made of the plurality of sub module, and submodule may be again be made of other submodule.All modules are specifically defined by hardware description language (HDL) usually.When the experimental process module was constituted father's module, groundwork was exactly each other an annexation between definition module.At present, this work mainly uses graphical interfaces operation or code text editor's method to finish.Below these two kinds of methods are analyzed respectively:
1. graphical interfaces operation.When will be connected the port B of the port A of a module in the digital circuit shown in Figure 1 and another module, can take a. to be dragged to the B point from the A point with mouse, obtain this coordinate parameters of 2, so that draw line; Perhaps b. is that A plays identical network cable names with B.The software I SE that produces of Xilinx company for example.
The shortcoming of this method of attachment is, because its loose module display mode, caused original waste, in large-scale slightly design, often needed loaded down with trivial details action (for example frequent roll screen even the switching page are sought the port of needs connection) with regard to limited screen space.And, because the port that connected too disperses, be difficult for also checking that annexation handles whether correctly.
2. code text editor.Directly use text edit software to write the HDL code.
The code of annexation is a lot of between the representation module in this method, and thousands of row are arranged usually, and the workload of edit is very huge, and often makes mistake, and needs debugging repeatedly, and labour intensity is big.
Summary of the invention
Purpose of the present invention is just in order to solve the problem that each tie point can't connect fast in the existing IC design, finish the method that port connects fast and propose a kind of graphical interfaces that utilizes, this method is presented at each module that annexation is arranged, the port in the design drawing that will draw on the screen by the graphical interfaces form, provide simultaneously to connect guide, make the module that will connect or the line process of port become quick, easy.
The invention provides a kind of graphical interfaces that utilizes and finish the method that port connects fast, this method may further comprise the steps:
1) reads the source file of each module definition, analyze the external input/output port of each module;
2) graphical interfaces that on screen, draws;
3) module name and the port name of action required filled in the relevant position in graphical interfaces, and the input/output port in each module is arranged in one and lists, and can divide multiple row to show when row are long;
4) treat foregoing fill in finish after, on the interface, the port that matches each other is carried out line operation, define simultaneously whole module to external port;
5) generate the source code of this top-level module automatically.
Compared with prior art, the present invention can be to pending module through after resolving, be shown as the compact graphic interface form, make on the limited indicator screen and can show more module port simultaneously, can freely dispose simultaneously the rule that connects, thereby make the line process in the software drawing technique fast and convenient.
Be elaborated below in conjunction with embodiment and with reference to the technical scheme of accompanying drawing to this invention.
Description of drawings
Fig. 1 is the design diagram of the prior art in the background technology of the present invention;
Fig. 2 is a kind of general flow chart that utilizes graphical interfaces to finish the method for port connection fast proposed by the invention;
Fig. 3 is a kind of graphical interfaces synoptic diagram that utilizes graphical interfaces to finish the method for port connection fast proposed by the invention;
Fig. 4 is a kind of graphical interfaces synoptic diagram under the port case of not matching of having that utilizes graphical interfaces to finish method that port connects fast proposed by the invention;
Fig. 5 is a kind of graphical interfaces synoptic diagram that utilizes graphical interfaces to finish the defined pattern match clauses and subclauses of demonstration of the method that port connects fast proposed by the invention;
Fig. 6 is a kind of another kind of closely graphic presentation interface synoptic diagram of form that utilizes graphical interfaces to finish the method that port connects fast proposed by the invention;
Fig. 7 be the embodiment of the invention summarize the displayed map of three modules according to conventional art;
Fig. 8 is the digital integrated circuit connection diagram of the embodiment of the invention;
Fig. 9 is the graphical interfaces synoptic diagram of the embodiment of the invention.
Embodiment
As shown in Figure 2, be general flow chart of the present invention, it may further comprise the steps: read the HDL source file of each module definition, analyze the external input/output port of each module, step 201; The graphical interfaces that on screen, draws, step 202; The module name and the port name of action required, step 203 are filled in relevant position in graphical interfaces; Judging whether module name that all need be operated and port name have all been filled in finishes step 204; Wait to fill in finish after, on the interface, the port that matches each other is carried out line operation, define simultaneously whole module to external port, step 205; Automatically generate the HDL source code of this top-level module, step 206.
The present invention proposes a kind of new compact graphical interface form, shows more module port on limited indicator screen, thereby makes the line process fast and convenient, and this graphical interfaces as shown in Figure 3.
As shown in Figure 4, in order to make the user can on graphical interfaces, realize quicker and operation easily, provide and connect guide, when selecting what a source port, provide prompting by program: which port can not be connected (do not match such as port width, or two output ports can not link to each other), and which port most possibly is connected, can not connected port by deepening or hide, the target port that most probable connects is prompted out.After for example can utilizing the pattern matching mode (or be called character string parsing handle) of regular expression to judge, two si2 signals are considered to most possible continuous among Fig. 4, because their name is identical, meet the self-defined matched rule of article one " Same Link " by name among Fig. 5.
Wherein, matching way can be disposed voluntarily by the user.
In the present invention, the port arrangement mode at interface does not consider whether can to cause the situation that line intersects, and in fact, prior art one is not avoided intersecting of line fully yet.
As shown in Figure 5, be a kind of graphical interfaces synoptic diagram that utilizes graphical interfaces to finish the defined pattern match clauses and subclauses of demonstration of the method that port connects fast proposed by the invention, when mouse points to the rx_data1 port of first row, program finds " rx_data " in the 3rd row to be the coupling port according to that of by name " Rule 1 " in the predefined matched rule;
As shown in Figure 6, be a kind of another kind of closely graphic presentation interface synoptic diagram of form that utilizes graphical interfaces to finish the method that end points connects fast proposed by the invention, adopt this port arrangement mode, with new row immediately following back at previous column, it is tightr that thereby more foregoing each module of the structure that makes display interface takies the method for new row, in same screen, show more contents, with user friendly operation.
Below by a specific embodiment, further specify technical scheme of the present invention.
Need three module ModuleA, the ModuleB, the ModuleC that handle in this example.Each module realizes a function performance, and the definition of each module is described in the following HDL code source file: the definition module ModuleA of // module ModuleA (
input?PAa,
input?PAb,
input?PAc,
input?PAd,
Output PAe); Assign PAe=PAa+PAb+PAc+PAd; The definition module ModuleB of endmodule//module ModuleB (
input?PBa,
input?PBb,
input?PBc,
Output PBd); Assign PBd=PBa﹠amp; PBb﹠amp; PBc, the definition module ModuleC of endmodule//module ModuleC (
input?PCa,
input?PCb,
input?PCc,
output?PCd);assign?PCd=PCa|PCb|PCc;endmodule
As shown in Figure 7, for resolve three diagrammatic representations that module is summarized in the present embodiment according to traditional technology method.
Above-mentioned three modules have been formed module ModuleD by the port annexation of I/O, realize function: PCd=((PAa+PAb+PAc+PAd) ﹠amp; PBb ﹠amp; PBc) | PCb|PCc, its integrated circuit (IC) design structure is as shown in Figure 8.
If it is when directly calling in the text of three sub-module definitions in the graphical interfaces that present embodiment adopts the method for prior art, place according to as shown in Figure 7 form, carry out each port line with the mouse drag port then, Lian Haohou is as shown in Figure 8.
And adopt method of the present invention, then at first read the HDL source file of A, B, each module definition of C, analyze input, output port, it is presented on the screen according to as shown in Figure 9 graphical interfaces form, just port being arranged in one lists, this is different from the prior art methods of lining up two row according to the difference of input, output, utilizes program to reach the purpose of quick searching when helping port number in action required a lot.
Design of the present invention is mainly derived from the design process of digital integrated circuit, but this technological thought may extend to others, designs such as wiring board.And, along with development of science and technology, also may be used for the field of the quick connection processing of the similar software drawing of numerous needs such as design of optical module in the future.
Above content only is embodiments of the invention, and its purpose is not the restriction that is used for system and method proposed by the invention, and protection scope of the present invention is as the criterion with claim.Under the situation that does not break away from the spirit and scope of the present invention; those skilled in the art all should drop within protection scope of the present invention its all conspicuous modification or variation about form and details of carrying out under the situation that does not depart from scope and spirit of the present invention.

Claims (7)

1. one kind is utilized graphical interfaces to finish the method that port connects fast, and this method may further comprise the steps:
1) reads the source file of each module definition, analyze the external input/output port of each module;
2) graphical interfaces that on screen, draws;
3) module name and the port name of action required filled in the relevant position in graphical interfaces, and the input/output port in each module is arranged in one and lists, and can divide multiple row to show when row are long;
4) treat foregoing fill in finish after, on the interface, the port that matches each other is carried out line operation, define simultaneously whole module to external port; And
5) generate the source code of this top-level module automatically.
2. the graphical interfaces that utilizes as claimed in claim 1 is finished the method that port connects fast, it is characterized in that, described process of operating in graphical interfaces comprises provides the step that connects guide.
3. the graphical interfaces that utilizes as claimed in claim 2 is finished the method that port connects fast, it is characterized in that, the described step that connects guide that provides comprises:
Select source port;
According to the width of port, the analysis of type, and to the result that character string parsing is handled, analyze and obtain the port and the most possible port that connects that can not connect.
4. the graphical interfaces that utilizes as claimed in claim 3 is finished the method that port connects fast, it is characterized in that, the described port that can not connect is shown with Stealth Modus.
5. the graphical interfaces that utilizes as claimed in claim 3 is finished the method that port connects fast, it is characterized in that, the user can defining mode the rule of coupling, be used for looking for and point out out the port of most possible connection removing port beyond the port that can not connect.
6. the graphical interfaces that utilizes as claimed in claim 1 is finished the method that port connects fast, it is characterized in that described graphical interfaces adopts each module to take new row, and all ports that module is relevant are therewith described the tight form that writes these row with row in proper order.
7. the graphical interfaces that utilizes as claimed in claim 1 is finished the method that port connects fast, it is characterized in that, described graphical interfaces adopts the port relevant with module to describe and writes this module column in proper order with row, and module column is immediately following the graphical interfaces display structure in the previous column back.
CNB2004100186261A 2004-01-20 2004-01-20 Method for quick completing port connection using graphic interface Expired - Lifetime CN100343854C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100186261A CN100343854C (en) 2004-01-20 2004-01-20 Method for quick completing port connection using graphic interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100186261A CN100343854C (en) 2004-01-20 2004-01-20 Method for quick completing port connection using graphic interface

Publications (2)

Publication Number Publication Date
CN1648904A CN1648904A (en) 2005-08-03
CN100343854C true CN100343854C (en) 2007-10-17

Family

ID=34868242

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100186261A Expired - Lifetime CN100343854C (en) 2004-01-20 2004-01-20 Method for quick completing port connection using graphic interface

Country Status (1)

Country Link
CN (1) CN100343854C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023254A (en) * 2013-03-01 2014-09-03 联想(北京)有限公司 Information processing method and electronic equipment
CN105956250A (en) * 2016-04-27 2016-09-21 北京芯革电子科技有限公司 Graphical interface-based integrated circuit SoC (System on a Chip) design fast connecting method
CN109492257A (en) * 2018-10-15 2019-03-19 中国核电工程有限公司 A kind of software aided drawing method automatically generating connecting line
CN109492301B (en) * 2018-11-08 2020-05-22 北京世冠金洋科技发展有限公司 Software and hardware switching method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1381804A (en) * 2002-04-19 2002-11-27 西安交通大学 CAD software for horizontal internal combustion boil using oil or gas as fuel
CN1383082A (en) * 2001-04-13 2002-12-04 株式会社东芝 Integrated circuit lay out and wiring design and design program and integrated circuit mfg. method
US6564363B1 (en) * 2000-11-15 2003-05-13 Reshape, Inc. Method and system for implementing a graphical user interface for defining and linking multiple attach points for multiple blocks of an integrated circuit netlist

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6564363B1 (en) * 2000-11-15 2003-05-13 Reshape, Inc. Method and system for implementing a graphical user interface for defining and linking multiple attach points for multiple blocks of an integrated circuit netlist
CN1383082A (en) * 2001-04-13 2002-12-04 株式会社东芝 Integrated circuit lay out and wiring design and design program and integrated circuit mfg. method
CN1381804A (en) * 2002-04-19 2002-11-27 西安交通大学 CAD software for horizontal internal combustion boil using oil or gas as fuel

Also Published As

Publication number Publication date
CN1648904A (en) 2005-08-03

Similar Documents

Publication Publication Date Title
CN1184560C (en) User's interface design unit
CN1218274C (en) On-line handwrited script mode identifying editing device and method
CN1105964C (en) Method for displaying functional objects in visual programming
US20070133074A1 (en) Document editing apparatus, image forming apparatus, document editing method, and computer program product
CN101063924A (en) Method and device for enabling user to select multiple objects in one document
CN1612154A (en) File searching and reading method and apparatus
CN101196958A (en) Computer-aided design apparatus and method for designing printed circuit boards
KR20100127036A (en) Method of Providing Patent Map by Perspective Using Perspective Classification
CN1877531A (en) Embedded compiled system scanner accomplishing method
CN100343854C (en) Method for quick completing port connection using graphic interface
CN1790257A (en) Method for uniformly configuring configuration files
CN1869926A (en) Method and system for generating artificial equipment panel
CN100345116C (en) Program automatic converting method and program automatic converting device
CN1786965A (en) Method for acquiring news web page text information
CN1521622A (en) Layout Recognition Method of Integrated Circuit
CN1505270A (en) A schematic diagram inspection method for hardware design
CN1755697A (en) System-level circuit inspection method and tool
CN1904887A (en) Method for searching deleted document from assigned catalogue in FAT volume
CN1975701A (en) Master machine driving external equipment method and system
CN1862520A (en) Data processing device and set-up method thereof
CN1645372A (en) Universal constraining realizing method for real-time internal memory database
CN1619495A (en) A cross-platform approach to user interface development
CN1470986A (en) Automatic analysis of system performance based on process records
CN1320456C (en) Automatic forming method for intelligent instrument interface
CN101059758A (en) Screen transition program generating method and device

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
CX01 Expiry of patent term

Granted publication date: 20071017

CX01 Expiry of patent term