JPH05266112A - Device and method for generating circuit diagram - Google Patents

Device and method for generating circuit diagram

Info

Publication number
JPH05266112A
JPH05266112A JP4061963A JP6196392A JPH05266112A JP H05266112 A JPH05266112 A JP H05266112A JP 4061963 A JP4061963 A JP 4061963A JP 6196392 A JP6196392 A JP 6196392A JP H05266112 A JPH05266112 A JP H05266112A
Authority
JP
Japan
Prior art keywords
information
circuit diagram
designated
reference line
specified
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
JP4061963A
Other languages
Japanese (ja)
Inventor
Keiko Noda
桂子 野田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP4061963A priority Critical patent/JPH05266112A/en
Publication of JPH05266112A publication Critical patent/JPH05266112A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the device and method for generating a circuit diagram where symbols, etc., can automatically be arranged at set positions. CONSTITUTION:This device and method feature a reference line generating device 1 which generates a reference line at an optional position in the circuit diagram, a circuit diagram information specifying device 2 which specifies plural pieces of specific circuit diagram information for setting arrangement to the reference line, an arrangement position specifying device 3 which specifies the arrangement positions of the pieces of specific circuit diagram information at the reference position when those pieces of information are set to the reference line, and a position arithmetic unit 4 which processes the position information that the respective pieces of specific circuit diagram information have when the respective pieces of specific circuit diagram information are arranged at the arrangement positions specified on the reference line by the arrangement position specifying device.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、回路図作成装置、特に
論理回路図の作成装置及び回路図作成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit diagram preparation apparatus, and more particularly to a logic circuit diagram preparation apparatus and a circuit diagram preparation method.

【0002】[0002]

【従来の技術とその課題】表示画面上で例えば論理回路
図を作成する場合、又、このようにして作成された論理
回路図をプリントアウトした場合、AND回路等の論理
記号を示すシンボルや、シンボル等についての注釈を示
す文字データであるテキストデータ等については回路図
の見易さ等より、関連のあるシンボル等どうしは互いに
回路図内の縦あるいは横方向等に位置をそろえて配置す
るのが好ましい。しかし、従来、上記シンボルの配置や
端子名等のテキストの入力は、ほとんど一つずつ人手に
より入力しており、したがって、配置位置を考えてシン
ボル等を入力することは、非常に細かい注意が必要とな
り、又、一旦不規則に配置したシンボル等を規則的に配
置し直すには、周辺の部品を移動させたり、配線の断線
等を配慮しなければならず、設計者は複雑で非常に手間
のかかる作業を行わねばならないという問題点がある。
本発明はこのような問題点を解決するためになされたも
ので、設定位置にシンボル等を自動配置できる回路図作
成装置を提供することを目的とする。
2. Description of the Related Art For example, when a logic circuit diagram is created on a display screen, or when the logic circuit diagram created in this way is printed out, a symbol indicating a logical symbol such as an AND circuit, For text data, which is character data that indicates annotations about symbols, etc., because of the visibility of the circuit diagram, etc., related symbols should be placed in the circuit diagram vertically or horizontally. Is preferred. However, in the past, the placement of symbols and the input of text such as terminal names were mostly done manually one by one. Therefore, it is necessary to be very careful when entering symbols considering the placement position. In addition, in order to regularly re-arrange symbols etc. that have been irregularly arranged, it is necessary to move peripheral parts and consider disconnection of wiring, etc., and the designer is complicated and very troublesome. There is a problem in that it is necessary to perform a work that requires a lot of work.
The present invention has been made to solve such a problem, and an object of the present invention is to provide a circuit diagram creation device capable of automatically arranging symbols and the like at set positions.

【0003】[0003]

【課題を解決するための手段とその作用】本発明は、回
路図情報格納装置から回路図の作成に必要な回路図情報
を読み出し回路図を表示画面上で作成する回路図作成装
置において、上記回路図の任意位置に基準線を作成する
基準線作成手段と、上記基準線に配置をそろえる複数の
指定回路図情報を指定する回路図情報指定手段と上記基
準線に上記指定回路図情報をそろえる場合に上記基準線
における上記指定回路図情報の配置位置を指定する配置
位置指定手段と、上記配置位置指定手段にて指定した、
上記基準線における配置位置に上記各指定回路図情報を
配置した場合にそれぞれの上記指定回路図情報が有する
位置情報をそれぞれ演算する位置情報演算手段と、を備
えたことを特徴とする。
The present invention provides a circuit diagram creating apparatus for reading circuit diagram information required for creating a circuit diagram from a circuit diagram information storage device and creating a circuit diagram on a display screen. A reference line creating means for creating a reference line at an arbitrary position in the circuit diagram, a circuit diagram information specifying means for specifying a plurality of designated circuit diagram information that is arranged on the reference line, and the specified circuit diagram information for the reference line. In this case, the placement position designating means for designating the placement position of the designated circuit diagram information on the reference line, and the placement position designating means,
Position information calculation means for calculating the position information of the specified circuit diagram information when the specified circuit diagram information is arranged at the arrangement position on the reference line.

【0004】このように構成することで、位置情報演算
手段は、基準線作成手段にて作成された基準線の位置で
あって配置位置指定手段にて指定された位置に、回路図
情報指定手段にて指定された回路図情報を配置した場合
に当該回路図情報が有するであろう位置情報を演算す
る。よって、位置情報演算手段、基準線作成手段、回路
図情報設定手段及び配置位置指定手段は、回路図情報指
定手段にて指定された複数の回路図情報を基準線におけ
る任意の位置にそろえるように作用する。
With this configuration, the position information calculation means is arranged at the position of the reference line created by the reference line creation means and designated by the placement position designating means at the circuit diagram information designating means. When the circuit diagram information designated by is placed, the position information that the circuit diagram information will have is calculated. Therefore, the position information calculating means, the reference line creating means, the circuit diagram information setting means and the arrangement position designating means align the plurality of circuit diagram information designated by the circuit diagram information designating means at arbitrary positions on the reference line. To work.

【0005】尚、上記配置位置指定手段は、上記指定回
路図情報が有する位置情報におけるX座標情報又はY座
標情報については変化させずに配置位置を指定するよう
にしても良い。
The placement position designating means may designate the placement position without changing the X coordinate information or the Y coordinate information in the position information contained in the designated circuit diagram information.

【0006】又、上記位置情報演算手段は、上記指定回
路情報が有する現在の位置情報と、上記指定回路情報が
上記基準線にそろえられたとした場合に上記指定回路情
報が有する移動後の位置情報との間の距離情報を求め、
該距離情報に基づき上記指定回路情報の移動後の位置情
報をそれぞれ演算するようにしても良い。
Further, the position information calculating means has the current position information included in the specified circuit information and the position information after the movement included in the specified circuit information when the specified circuit information is aligned with the reference line. Find the distance information between
The position information after the movement of the designated circuit information may be calculated based on the distance information.

【0007】又、上記指定回路図情報はシンボル情報で
あり、端点情報であり、若しくは文字情報であっても良
い。
The designated circuit diagram information may be symbol information, end point information, or character information.

【0008】[0008]

【実施例】本発明の回路図作成装置の一実施例について
以下に説明する。尚、作成する回路図は論理回路図を例
に取るが、これに限らず通常の電気回路等にあっても同
様に適用可能である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the circuit diagram creating apparatus of the present invention will be described below. The circuit diagram to be created is a logic circuit diagram as an example, but the present invention is not limited to this and can be similarly applied to an ordinary electric circuit or the like.

【0009】従来の回路図作成装置を使用して論理回路
図を作成するように、設計者は表示画面上でOR回路等
の論理記号であるシンボルや、シンボルの名称や出力線
の名称を示す「D0」等のテキストデータ等(以下、この
ような回路図を構成し回路図の作成に必要な情報を回路
図情報と呼ぶ)を配置しながら回路図を作成していく。
このように作成した論理回路図の一部を図3に示す。
尚、回路図情報の配置が終了した時点では、図3に示す
ように、回路図情報は、図面の例えば縦方向については
規則性なく配置されている。
As in the case of creating a logic circuit diagram using a conventional circuit diagram creating apparatus, a designer indicates a symbol which is a logical symbol such as an OR circuit on the display screen, the name of the symbol and the name of the output line. The circuit diagram is created while arranging text data such as “D0” (hereinafter, information necessary to create the circuit diagram by forming such a circuit diagram is referred to as circuit diagram information).
A part of the logic circuit diagram created in this way is shown in FIG.
Incidentally, when the arrangement of the circuit diagram information is completed, as shown in FIG. 3, the circuit diagram information is arranged without regularity, for example, in the vertical direction of the drawing.

【0010】図1に示す基準線作成装置1は、上述した
ように回路図等における縦方向に不規則に並んでいる回
路図情報を縦方向に規則的に並べる際に基準となる、縦
方向に直線状に延在する基準線、又は、横方向に不規則
に並んでいる回路図情報を横方向に規則的に並べる際に
基準となる、横方向に直線状に延在する基準線を作成す
る装置であり、基準線作成装置1の出力側は後述する位
置演算装置4に接続される。尚、上記基準線は、回路図
の横方向又は縦方向に不規則に並んでいる回路図情報を
斜め方向に規則的に並べるように回路図上の斜め方向に
直線状に延在するように作成することもできる。
The reference line creating apparatus 1 shown in FIG. 1 serves as a reference when regularly arranging the circuit diagram information, which is irregularly arranged in the vertical direction in the circuit diagram or the like, in the vertical direction as described above. A reference line extending in a straight line, or a reference line extending in a straight line in the horizontal direction, which is used as a reference when the circuit diagram information randomly arranged in the horizontal direction is regularly arranged in the horizontal direction. This is a device for creating, and the output side of the reference line creating device 1 is connected to a position calculating device 4 described later. The reference line extends linearly in the diagonal direction on the circuit diagram so that the circuit diagram information that is irregularly arranged in the horizontal or vertical direction of the circuit diagram is regularly arranged in the diagonal direction. It can also be created.

【0011】回路図情報指定装置2は、表示画面上に表
示されている回路図において、上記基準線に沿って配置
したい回路図情報を例えばマウス等のポインティングデ
バイスを利用し指定する装置であり、回路図情報指定装
置2の出力側は表示画面に表示される回路図全体のデー
タが記憶され、又、個々の回路図情報に関するデータを
も記憶可能な回路図情報記憶装置5に接続される。尚、
回路図情報指定装置2にて指定された回路図情報を以
下、指定回路図情報と呼ぶ。又、指定回路図情報の指定
方法としては、回路図情報を一つずつ指定しても良い
し、指定したい回路図情報が、ある領域に集まっている
ような場合には、その領域を指定するようにしても良
い。又、このような回路図情報記憶装置5の出力側は位
置演算装置4及び表示装置6に接続され、又位置演算装
置4の出力側は回路図情報記憶装置5の入力側に接続さ
れる。
The circuit diagram information designating device 2 is a device for designating circuit diagram information to be arranged along the reference line in the circuit diagram displayed on the display screen by using a pointing device such as a mouse. The output side of the circuit diagram information designating device 2 is connected to a circuit diagram information storage device 5 which can store the data of the entire circuit diagram displayed on the display screen and can also store the data relating to the individual circuit diagram information. still,
The circuit diagram information designated by the circuit diagram information designating device 2 is hereinafter referred to as designated circuit diagram information. As a method of specifying the designated circuit diagram information, the circuit diagram information may be designated one by one, or if the circuit diagram information to be designated is gathered in a certain region, the region is designated. You may do it. The output side of the circuit diagram information storage device 5 is connected to the position calculation device 4 and the display device 6, and the output side of the position calculation device 4 is connected to the input side of the circuit diagram information storage device 5.

【0012】又、配置位置指定装置3は、上記基準線に
上記指定回路図情報をそろえる場合、上記基準線におい
て、指定回路図情報を配置する位置を指定する装置であ
り配置位置指定装置3の出力側は位置演算装置4に接続
される。
Further, when the specified circuit diagram information is aligned with the reference line, the arrangement position designating device 3 is a device for designating a position where the designated circuit diagram information is arranged on the reference line. The output side is connected to the position calculation device 4.

【0013】よって、位置演算装置4には、上記基準線
作成装置1から基準線が有する位置情報、詳しくは、表
示画面を2次的平面のXY座標系に見立てた場合、基準
線が縦方向の直線として設定されたときには上記基準線
の位置情報としてはX座標情報が、基準線が横方向の直
線として設定されたときには上記基準線の位置情報とし
てはY座標情報が、基準線が斜め方向の直線として設定
されたときには上記基準線の位置情報としてはXY座標
情報がそれぞれ供給され、又、回路図記憶装置5からは
指定回路図情報が供給され、又、配置位置指定装置3か
らは基準線のどの位置に上記指定回路図情報を配置する
かを指定する位置情報が供給される。位置演算装置4
は、これらの情報に基づいて、上記指定回路図情報のそ
れぞれを基準線にそろえた場合にそれぞれの上記指定回
路図情報が有するであろう位置情報を、指定回路図情報
のそれぞれについて演算する。尚、位置演算装置4の出
力側は、上記回路図情報記憶装置5に接続され、又、表
示装置6に接続される。
Therefore, in the position calculating device 4, the position information of the reference line from the reference line creating device 1, more specifically, when the display screen is regarded as the XY coordinate system of the secondary plane, the reference line is in the vertical direction. X coordinate information as the position information of the reference line when set as a straight line, and Y coordinate information as the position information of the reference line when the reference line is set as a horizontal straight line, and a reference line in an oblique direction. When it is set as a straight line, the XY coordinate information is supplied as the position information of the reference line, the designated circuit diagram information is supplied from the circuit diagram storage device 5, and the reference position is provided from the arrangement position designating device 3. Position information is supplied that specifies at which position on the line the specified schematic information is to be arranged. Position calculation device 4
On the basis of these pieces of information, the position information that each of the designated circuit diagram information will have when the designated circuit diagram information is aligned with the reference line is calculated for each of the designated circuit diagram information. The output side of the position calculation device 4 is connected to the circuit diagram information storage device 5 and also to the display device 6.

【0014】又、回路図情報記憶装置5の出力側は、回
路図を可視的に表示する表示画面である表示装置6に接
続される。
The output side of the circuit diagram information storage device 5 is connected to a display device 6 which is a display screen for visually displaying the circuit diagram.

【0015】このように構成される回路図作成装置の動
作を以下に説明する。上述したように設計者は従来と同
様に表示画面上にて回路図を設計する。設計された一回
路図の一部を図3に示すが、設計後において回路図に表
示される回路図情報の内、回路図の縦方向に不規則に並
んでいるOR回路記号10ないし14について、ある基
準線に沿って縦方向に規則的に配置し直す場合を例とし
て以下の説明を行う。図2に示すステップ(図内ではS
にて示す)1にて、OR回路記号10ないし14をマウ
ス等を利用して指定する。このようにして指定された指
定回路図情報は、一たん回路図情報記憶装置5に記憶さ
れる。
The operation of the circuit diagram creating apparatus thus configured will be described below. As described above, the designer designs the circuit diagram on the display screen as in the conventional case. FIG. 3 shows a part of the designed one circuit diagram. Regarding the circuit diagram information displayed on the circuit diagram after the design, the OR circuit symbols 10 to 14 which are randomly arranged in the longitudinal direction of the circuit diagram are shown. The following description will be given by taking as an example the case where the pixels are regularly rearranged in the vertical direction along a certain reference line. Steps shown in FIG. 2 (S in the figure
1), the OR circuit symbols 10 to 14 are designated by using a mouse or the like. The designated circuit diagram information designated in this way is stored in the circuit diagram information storage device 5.

【0016】ステップ2において、基準線作成装置1を
使用し上記基準線の延在方向である、「縦」、「横」、
「斜め」のいずれかの方向を指定する。基準線作成装置
1は、「縦」、「横」、「斜め」の指定により、「縦」が指定さ
れたときには表示画面上の縦方向、即ちXY座標のY軸
方向に、「横」が指定されたときには表示画面上の横方
向、即ちX軸方向に、「斜め」が指定されたときには表示
画面上の斜め方向にそれぞれ基準線を設定することにな
る。
In step 2, the reference line creating device 1 is used to determine the direction in which the reference line extends, that is, "vertical", "horizontal",
Specify one of the "diagonal" directions. The reference line creation device 1 specifies “vertical”, “horizontal”, and “oblique”, and when “vertical” is specified, the “horizontal” is displayed in the vertical direction on the display screen, that is, in the Y-axis direction of XY coordinates. When designated, the reference line is set in the horizontal direction on the display screen, that is, in the X-axis direction, and when "diagonal" is designated, the reference line is set in the diagonal direction on the display screen.

【0017】さらにステップ2にて「縦」あるいは「横」が
指定されたときには、ステップ3において上記基準線の
位置設定がなされる。尚、基準線の位置の設定方法の一
つとして上記指定回路図情報の内、配置位置をそろえた
い指定回路図情報を指定する方法がある。これは配置位
置をそろえたい指定回路図情報を指定するため、「右」、
「左」、「センター」の指定を行う。具体的に説明すると、
上述したように指定回路図情報としてOR回路記号10
ないし14が選択され、上記「縦」を指定した場合、図3
に示すように、上記OR回路記号10ないし14の内、
最も右側に位置するOR回路記号11が配置されている
位置に他のOR回路記号10,12ないし14をそろえ
たいときには基準線作成装置1にて「右」を指定する。
又、上記OR回路記号10ないし14の内、最も左側に
位置するOR回路記号13が配置されている位置に他の
OR回路記号10ないし12及び14をそろえたいとき
には基準線作成装置1にて「左」を指定する。同様に、O
R回路記号10ないし14の内、ほぼ中央に位置するO
R回路記号10に他のOR回路記号11ないし14の配
置をそろえたいときには「センター」を指定する。尚、
基準線の延在方向について「横」を選択したときには、図
示はしないが、上記「右」に対応して「下」、上記「左」に対
応して「上」、上記「センター」に対応して「センター」の回
路図情報配置位置に他の指定回路図情報の配置位置がそ
ろえられる。
Further, when "vertical" or "horizontal" is designated in step 2, the position of the reference line is set in step 3. As one of the methods for setting the position of the reference line, there is a method of designating the designated circuit diagram information of which the layout positions are to be aligned among the designated circuit diagram information. This is to specify the specified schematic information that you want to arrange the placement positions, so "right",
Specify "left" and "center". Specifically,
As described above, the OR circuit symbol 10 is designated circuit diagram information.
3 to 14 are selected and the above “vertical” is designated, FIG.
As shown in, among the OR circuit symbols 10 to 14,
When it is desired to align the other OR circuit symbols 10, 12 to 14 at the position where the rightmost OR circuit symbol 11 is arranged, "right" is designated by the reference line creation device 1.
When it is desired to align the other OR circuit symbols 10 to 12 and 14 at the position where the leftmost OR circuit symbol 13 among the OR circuit symbols 10 to 14 is arranged, the reference line creating device 1 Specify "Left". Similarly, O
O located near the center of the R circuit symbols 10 to 14
When it is desired to align the arrangement of the other OR circuit symbols 11 to 14 with the R circuit symbol 10, "center" is designated. still,
When "Horizontal" is selected for the extension direction of the reference line, although not shown, it corresponds to "Down" corresponding to the above "Right", "Up" corresponding to the above "Left", and "Center" above Then, the layout position of the other designated circuit diagram information is aligned with the circuit diagram information layout position of "center".

【0018】上述した「右」等の指定に従い、ステップ4
にて「右あるいは下」、「左あるいは上」、「センター」の位
置に存在する回路図情報に沿って縦あるいは横方向に延
在する基準線が設定されることになる。
According to the designation such as "right" described above, step 4
At, the reference line extending in the vertical or horizontal direction is set along the circuit diagram information existing at the positions of "right or lower", "left or upper", and "center".

【0019】又、ステップ2にて「斜め」が指定されたと
きには、ステップ4にて斜線の基準線が通過する2点の
位置をカーソル、マウス等により指定することで、斜め
の基準線が設定される。
If "diagonal" is designated in step 2, the diagonal reference line is set by designating the positions of the two points where the diagonal reference line passes in step 4 with a cursor or a mouse. To be done.

【0020】尚、上記基準線の位置設定の他の方法とし
て、上述のように上記指定回路図情報が配置される範囲
に限らず、上記指定回路図情報を表示画面上の縦、横、
斜めの任意の位置へ移動させる方法をとることもでき
る。このように動作させたい場合には、ステップ2にて
「縦」が指定されたときには、ステップ3にて縦線を描く
べきX軸方向の任意の位置をカーソル、マウス等により
指定し、ステップ2にて「横」を指定したときにはステッ
プ3にて横線を描くべきY軸方向の任意の位置をカーソ
ル、マウス等により指定し、ステップ2にて「斜め」を指
定したときには、ステップ3にて斜線が通過する2点の
位置をカーソル、マウス等により指定する。ステップ4
では、上述したそれぞれの場合について指定された位置
に基準線が設定される。
As another method of setting the position of the reference line, the specified circuit diagram information is not limited to the range in which the specified circuit diagram information is arranged as described above, but the specified circuit diagram information can be displayed vertically, horizontally, or
It is also possible to adopt a method of moving it to an arbitrary position diagonally. In order to operate in this way, when "vertical" is specified in step 2, an arbitrary position in the X-axis direction in which a vertical line should be drawn is specified in step 3 with a cursor, a mouse, etc., and step 2 When "horizontal" is specified in step 3, an arbitrary position in the Y-axis direction where a horizontal line should be drawn is specified in step 3 with a cursor, mouse, etc. When "diagonal" is specified in step 2, diagonal lines are specified in step 3. Specify the positions of two points through which the cursor passes by using a cursor, a mouse, or the like. Step 4
Then, the reference line is set at the position designated in each of the cases described above.

【0021】ステップ5において、ステップ2ないしス
テップ4の指定により設定された基準線が表示画面に表
示される。例えば、「縦」及び「右」を指定したときには、
図3に示すように、基準線20が画面表示され、「縦」及
び「左」を指定したときには基準線21が画面表示され、
又、任意の位置を指定したときにはその指定位置に例え
ば基準線22が表示される。
In step 5, the reference line set by the designation in steps 2 to 4 is displayed on the display screen. For example, if "vertical" and "right" are specified,
As shown in FIG. 3, the reference line 20 is displayed on the screen, and when "vertical" and "left" are designated, the reference line 21 is displayed on the screen.
When an arbitrary position is designated, the reference line 22 is displayed at the designated position.

【0022】ステップ6において、ステップ5にて指定
された基準線の位置に各指定回路図情報をそろえるとし
たならば各指定回路図情報が有するであろう位置情報が
位置演算装置4にて演算される。具体的な演算方法とし
ては、例えば「縦」及び「右」が指定された場合には、ステ
ップ5にて基準線20が設定されることで表示画面上の
X座標の値が明らかになっていることから、位置演算装
置4は他の指定回路図情報10,12ないし14のそれ
ぞれが有する位置情報の内、それぞれのX座標の値のみ
を基準線20が有するX座標の値に置き換える方法があ
る。又、各指定回路図情報の現在の位置情報と移動後の
位置情報とに基づき、それぞれの指定回路図情報につい
ての移動距離を求め、各指定回路図情報毎に現在の位置
情報に上記移動距離をそれぞれ加算し移動後の位置情報
を得るようにすることもできる。
In step 6, if the specified circuit diagram information is aligned with the position of the reference line specified in step 5, the position calculation device 4 calculates the position information that the specified circuit diagram information may have. To be done. As a specific calculation method, for example, when “vertical” and “right” are designated, the reference line 20 is set in step 5 to clarify the value of the X coordinate on the display screen. Therefore, the position calculation device 4 has a method of replacing only the X coordinate value of each of the other designated circuit diagram information 10, 12 to 14 with the X coordinate value of the reference line 20. is there. Further, based on the current position information of each designated circuit diagram information and the position information after the movement, the moving distance for each designated circuit diagram information is obtained, and the moving distance is added to the current position information for each designated circuit diagram information. Can also be added to obtain position information after movement.

【0023】尚、移動の指定が「縦」で「左」あるいは「セ
ンター」の場合についても同様である。又、移動の指定
が「横」の場合には、ステップ5にて基準線が設定される
ことで表示画面上のY座標の値が明らかになっているこ
とから、位置演算装置4は他の指定回路図情報のそれぞ
れが有する位置情報の内、それぞれのY座標の値のみを
上記基準線が有するY座標の値に置き換えれば良い。
The same applies when the movement is designated as "vertical" and "left" or "center". When the movement is designated as "horizontal", the reference line is set in step 5 to clarify the Y coordinate value on the display screen. Of the position information included in each of the designated circuit diagram information, only each Y coordinate value may be replaced with the Y coordinate value of the reference line.

【0024】又、移動の指定が「斜め」の場合には、ステ
ップ5にて基準線が設定されることで、基準線が通過す
るXY座標位置が明らかになっているので、指定回路図
情報を表示画面のX軸方法に平行移動するときには位置
演算装置4は他の指定回路図情報のそれぞれが有する位
置情報のX座標の値を上記基準線が有するX座標の値に
置き換え、又、指定回路図情報を表示画面のY軸方法に
平行移動するときには位置演算装置4は他の指定回路図
情報のそれぞれが有する位置情報のY座標の値を上記基
準線が有するY座標の値に置き換えれば良い。
If the designation of movement is "diagonal", the reference line is set in step 5, and the XY coordinate position where the reference line passes is clarified. When translating in parallel with the X-axis method of the display screen, the position calculation device 4 replaces the value of the X coordinate of the position information of each of the other designated circuit diagram information with the value of the X coordinate of the reference line, and designates it. When translating the circuit diagram information in parallel with the Y-axis method of the display screen, the position calculation device 4 may replace the Y coordinate value of the position information of each of the other designated circuit diagram information with the Y coordinate value of the reference line. good.

【0025】尚、上述した、指定回路図情報の移動は、
「縦」の指定の場合には各指定回路図情報が有するY座標
の値は変化させずに、X軸方法へ回路図情報を平行移動
し、「横」の指定の場合には各指定回路図情報が有するX
座標の値は変化させずに、Y軸方法へ回路図情報を平行
移動し、又、「斜め」の指定の場合も同様である。しか
し、これに限るものではなく、位置演算装置4は、例え
ば「縦」の指定の場合に、基準線20における任意の位置
に指定回路図情報を移動可能なようにしても良い。この
場合には、図1に示す配置位置指定装置3を使用し、ス
テップ4にてX座標の値が明らかになった例えば基準線
20におけるY座標の値を指定する。配置位置指定装置
3が送出する位置情報に従い位置演算装置4は、各指定
回路図情報が移動後に有する位置情報を演算する。さら
に、配置位置指定装置3を使用することで、図5に示す
ように、斜めの基準線23に対して信号線が直交するよ
うに指定回路図情報を配置することもできる。
The movement of the designated circuit diagram information described above is
When "vertical" is designated, the Y coordinate value of each designated circuit diagram information is not changed, and the circuit diagram information is moved in parallel to the X-axis method. When "horizontal" is designated, each designated circuit is moved. X which figure information has
The same applies to the case where the circuit diagram information is moved in parallel to the Y-axis method without changing the coordinate value, and "diagonal" is designated. However, the present invention is not limited to this, and the position calculation device 4 may be able to move the designated circuit diagram information to an arbitrary position on the reference line 20 when “vertical” is designated, for example. In this case, the arrangement position designating device 3 shown in FIG. 1 is used to designate, for example, the Y coordinate value on the reference line 20 whose X coordinate value has been clarified in step 4. The position calculation device 4 calculates the position information that each designated circuit diagram information has after the movement in accordance with the position information sent by the arrangement position designation device 3. Further, by using the arrangement position designating device 3, the designated circuit diagram information can be arranged so that the signal line is orthogonal to the oblique reference line 23 as shown in FIG.

【0026】ステップ7において、ステップ6にて実行
された位置演算の結果に従い各指定回路図情報がある基
準線に沿ってそろえられた後の状態が表示画面に可視的
に表示される。即ち図3に示すように表示画面の縦方向
に不規則に並べられていたOR回路記号10ないし14
は、例えば図4に示すように、例えばOR回路記号11
にそろえられ、基準線20に沿ってOR回路記号10、
12ないし14が表示画面の縦方向に並べられる。
In step 7, the state after each designated circuit diagram information is aligned along a certain reference line according to the result of the position calculation executed in step 6 is visually displayed on the display screen. That is, as shown in FIG. 3, OR circuit symbols 10 to 14 which are randomly arranged in the vertical direction of the display screen are displayed.
Is, for example, as shown in FIG.
The OR circuit symbol 10 along the reference line 20,
12 to 14 are arranged in the vertical direction of the display screen.

【0027】ステップ8において、設計者は表示された
移動後の状態を確認し、満足なものであればステップ9
において、各指定回路図情報が有する移動後の位置情報
が回路図情報記憶装置5に記憶される。一方、不満足で
あれば、再度ステップ2に戻り、再度移動をやり直すこ
とになる。
In step 8, the designer confirms the displayed state after the movement, and if it is satisfactory, step 9
In, the position information after the movement of each designated circuit diagram information is stored in the circuit diagram information storage device 5. On the other hand, if it is not satisfied, the process returns to step 2 again and the movement is performed again.

【0028】尚、上記説明ではシンボルを具体例として
説明したが、これに限らず、図3に示すような「D0」、
「D1」等の信号線名や、信号線の端部等を対象とするこ
とももちろんできる。又、上記説明では論理回路図を例
としたが、これに限らず、一般の電気回路図等について
も適用可能なことはもちろんである。
Although the symbol has been described as a specific example in the above description, the present invention is not limited to this, and “D0” as shown in FIG.
Of course, the name of the signal line such as "D1" or the end of the signal line can be targeted. Further, in the above description, the logic circuit diagram is taken as an example, but the present invention is not limited to this, and it is of course applicable to a general electric circuit diagram and the like.

【0029】又、上記実施例では、回路図情報を指定
し、さらにそろえるべき基準線を指定するようにした
が、例えば表示画面内のある領域やある回路図情報を指
定することで、指定された領域等内で互いに不規則な配
列にある回路図情報を自動的に検索し、ある基準線に沿
って規則的に配列し直すような構成としても良い。
In the above embodiment, the circuit diagram information is designated and the reference lines to be further aligned are designated. However, it is designated by designating a certain area in the display screen or certain circuit diagram information. It is also possible to have a configuration in which circuit diagram information that is in an irregular array with each other is automatically searched for in a region or the like and rearranged regularly along a certain reference line.

【0030】以上説明したような回路図作成装置によれ
ば、複数のシンボル等の回路図情報をある基準線に沿っ
て一回の操作でそろえることができるので、従来のよう
に配置そろえに要する時間を大幅に短縮することができ
る。又、上述のように配置そろえが容易に行えることか
ら、回路図作成時には、回路図情報の配置を全く気にせ
ず回路図を設計することができるので、回路図設計に要
する時間を大幅に短縮することができる。
According to the circuit diagram creating apparatus as described above, circuit diagram information such as a plurality of symbols can be aligned along a certain reference line by a single operation, which is required for alignment as in the prior art. The time can be greatly reduced. In addition, since the arrangement can be easily arranged as described above, the circuit diagram can be designed without worrying about the arrangement of the circuit diagram information at the time of creating the circuit diagram, so that the time required for the circuit diagram design can be significantly reduced. can do.

【0031】又、回路図情報が規則的に整然と配置され
た回路図を得ることができるので、論理回路図等にあっ
ては論理動作の追跡が容易となり、又、未配線、断線等
の故障箇所も発見しやすいという効果も生じ、このこと
からも回路図設計、検証動作全体に要する時間を大幅に
短縮することができる。
Further, since the circuit diagram in which the circuit diagram information is regularly arranged can be obtained, it becomes easy to trace the logic operation in the logic circuit diagram and the like, and the failure such as unwiring and disconnection. This also has the effect of making it easy to find the location, which also greatly reduces the time required for the circuit diagram design and verification operation.

【0032】[0032]

【発明の効果】以上詳述したように本発明によれば、回
路図の任意位置に基準線を作成する基準線作成手段と、
上記基準線に配置をそろえる複数の指定回路図情報を指
定する回路図情報指定手段と、上記基準線に上記指定回
路図情報をそろえる場合に上記基準線における上記指定
回路図情報の配置位置を指定する配置位置指定手段と、
上記配置位置指定手段にて指定した、上記基準線におけ
る配置位置に上記各指定回路図情報を配置した場合にそ
れぞれの上記指定回路図情報が有する位置情報をそれぞ
れ演算する位置情報演算手段と、を備えたことより、不
規則に配置されている複数の回路図情報をある基準線に
沿って配置し直すことができ、したがって、従来のよう
に配置した回路図情報を配置し直すのに要する時間を大
幅に短縮することができる。又、上述のように配置そろ
えが容易に行えることから、回路図作成時には、回路図
情報の配置を全く気にせず回路図を設計することができ
るので、回路図設計に要する時間を大幅に短縮すること
ができる。
As described above in detail, according to the present invention, reference line creating means for creating a reference line at an arbitrary position in a circuit diagram,
Circuit diagram information designating means for designating a plurality of designated schematic information for aligning the reference line, and designating a layout position of the designated schematic information on the reference line when aligning the designated circuit diagram information for the reference line. Arrangement position specifying means for
Position information calculating means for calculating the position information of the specified circuit diagram information when the specified circuit diagram information is arranged at the arrangement position on the reference line specified by the arrangement position specifying means. Since it is provided, it is possible to rearrange a plurality of irregularly arranged circuit diagram information along a certain reference line. Therefore, the time required for rearranging the circuit diagram information arranged in the conventional manner Can be significantly shortened. In addition, since the arrangement can be easily arranged as described above, the circuit diagram can be designed without worrying about the arrangement of the circuit diagram information at the time of creating the circuit diagram, so that the time required for the circuit diagram design can be significantly reduced. can do.

【0033】又、回路図情報が規則的に整然と配置され
た回路図を得ることができるので、論理回路図等にあっ
ては論理動作の追跡が容易となり、又、未配線、断線等
の故障箇所も発見しやすいという効果も生じ、このこと
からも回路図設計、検証動作全体に要する時間を大幅に
短縮することができる。
Further, since the circuit diagram in which the circuit diagram information is regularly arranged can be obtained, it becomes easy to trace the logic operation in the logic circuit diagram and the like, and the failure such as unwiring and disconnection occurs. This also has the effect of making it easy to find the location, which also greatly reduces the time required for the circuit diagram design and verification operation.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明の回路図作成装置の一実施例における
構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a circuit diagram creation device of the present invention.

【図2】 図1に示す回路図作成装置の動作を示すフロ
ーチャートである。
FIG. 2 is a flowchart showing an operation of the circuit diagram creation device shown in FIG.

【図3】 図1に示す回路図作成装置の動作を説明する
ための図である。
FIG. 3 is a diagram for explaining the operation of the circuit diagram creation device shown in FIG. 1.

【図4】 図1に示す回路図作成装置の動作を説明する
ための図である。
FIG. 4 is a diagram for explaining the operation of the circuit diagram creation device shown in FIG. 1.

【図5】 図1に示す回路図作成装置の動作を説明する
ための図である。
5 is a diagram for explaining the operation of the circuit diagram creation device shown in FIG. 1. FIG.

【符号の説明】[Explanation of symbols]

1…基準線作成装置、2…回路図情報指定装置、3…配
置位置指定装置、4…位置演算装置、5…回路図記憶装
置。
DESCRIPTION OF SYMBOLS 1 ... Reference line creation device, 2 ... Circuit diagram information designation device, 3 ... Arrangement position designation device, 4 ... Position calculation device, 5 ... Circuit diagram storage device.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 回路図情報格納装置から回路図の作成に
必要な回路図情報を読み出し回路図を表示画面上で作成
する回路図作成装置において、 上記回路図の任意位置に基準線を作成する基準線作成手
段と、 上記基準線に配置をそろえる複数の指定回路図情報を指
定する回路図情報指定手段と上記基準線に上記指定回路
図情報をそろえる場合に上記基準線における上記指定回
路図情報の配置位置を指定する配置位置指定手段と、 上記配置位置指定手段にて指定した、上記基準線におけ
る配置位置に上記各指定回路図情報を配置した場合にそ
れぞれの上記指定回路図情報が有する位置情報をそれぞ
れ演算する位置情報演算手段と、を備えたことを特徴と
する回路図作成装置。
1. A circuit diagram creating device for reading circuit diagram information required for creating a circuit diagram from a circuit diagram information storage device and creating a circuit diagram on a display screen, wherein a reference line is created at an arbitrary position of the circuit diagram. Reference line creating means, circuit diagram information designating means for designating a plurality of designated circuit diagram information which is arranged on the reference line, and designated circuit diagram information on the reference line when the designated circuit diagram information is arranged on the reference line. Of the designated circuit diagram information when the designated circuit diagram information is placed at the placement position on the reference line designated by the placement position designating unit A circuit diagram creation device comprising: position information calculation means for calculating each information.
【請求項2】 上記配置位置指定手段は、上記指定回路
図情報が有する位置情報におけるX座標情報又はY座標
情報については変化させずに配置位置を指定する、請求
項1記載の回路図作成装置。
2. The circuit diagram creation device according to claim 1, wherein the placement position designation means designates the placement position without changing the X coordinate information or the Y coordinate information in the position information included in the designated circuit diagram information. ..
【請求項3】 上記位置情報演算手段は、上記指定回路
情報が有する現在の位置情報と、上記指定回路情報が上
記基準線にそろえられたとした場合に上記指定回路情報
が有する移動後の位置情報との間の距離情報を求め、該
距離情報に基づき上記指定回路情報の移動後の位置情報
をそれぞれ演算する、請求項1又は2記載の回路図作成
装置。
3. The position information calculation means includes the current position information included in the specified circuit information and the moved position information included in the specified circuit information when the specified circuit information is aligned with the reference line. 3. The circuit diagram creation device according to claim 1, wherein distance information between the designated circuit information and the designated circuit information is calculated based on the distance information.
【請求項4】 上記指定回路図情報はシンボル情報であ
る、請求項1記載の回路図作成装置。
4. The circuit diagram creation device according to claim 1, wherein the designated circuit diagram information is symbol information.
【請求項5】 上記指定回路図情報は端点情報である、
請求項1記載の回路図作成装置。
5. The specified circuit diagram information is end point information,
The circuit diagram creation device according to claim 1.
【請求項6】 上記指定回路図情報は文字情報である、
請求項1記載の回路図作成装置。
6. The specified circuit diagram information is character information.
The circuit diagram creation device according to claim 1.
【請求項7】 回路図情報格納装置から回路図の作成に
必要な回路図情報を読み出し回路図を表示画面上で作成
する回路図作成方法において、 上記回路図の任意位置に基準線を作成する基準線作成工
程と、 上記基準線に配置をそろえる複数の指定回路図情報を指
定する回路図情報指定工程と上記基準線に上記指定回路
図情報をそろえる場合に上記基準線における上記指定回
路図情報の配置位置を指定する配置位置指定工程と、 上記配置位置指定工程にて指定した、上記基準線におけ
る配置位置に上記各指定回路図情報を配置した場合にそ
れぞれの上記指定回路図情報が有する位置情報をそれぞ
れ演算する位置情報演算工程と、を備えたことを特徴と
する回路図作成方法。
7. A circuit diagram creating method for reading circuit diagram information required for creating a circuit diagram from a circuit diagram information storage device and creating a circuit diagram on a display screen, wherein a reference line is created at an arbitrary position of the circuit diagram. Reference line creation process, circuit diagram information specifying a plurality of specified circuit diagram information that aligns with the reference line Designation process and specified circuit diagram information on the reference line when the specified circuit diagram information is aligned with the reference line The placement position designating step of designating the placement position of the above, and the position of each of the designated schematic information when the above designated circuit diagram information is placed at the placement position on the reference line designated in the placement position designating step A circuit diagram creating method, comprising: a position information calculating step of calculating each information.
【請求項8】 上記配置位置指定工程は、上記指定回路
図情報が有する位置情報におけるX座標情報又はY座標
情報については変化させずに配置位置を指定する、請求
項7記載の回路図作成方法。
8. The circuit diagram creating method according to claim 7, wherein the placement position designating step designates a placement position without changing X coordinate information or Y coordinate information in the position information included in the designated circuit diagram information. ..
【請求項9】 上記位置情報演算工程は、上記指定回路
情報が有する現在の位置情報と、上記指定回路情報が上
記基準線にそろえられたとした場合に上記指定回路情報
が有する移動後の位置情報との間の距離情報を求め、該
距離情報に基づき上記指定回路情報の移動後の位置情報
をそれぞれ演算する、請求項7又は8記載の回路図作成
方法。
9. The position information calculating step comprises: current position information included in the specified circuit information, and position information after movement included in the specified circuit information when the specified circuit information is aligned with the reference line. 9. The circuit diagram creating method according to claim 7, wherein distance information between the specified circuit information and the designated circuit information is calculated based on the distance information.
【請求項10】 上記指定回路図情報はシンボル情報で
ある、請求項7記載の回路図作成方法。
10. The circuit diagram creating method according to claim 7, wherein the designated circuit diagram information is symbol information.
【請求項11】 上記指定回路図情報は端点情報であ
る、請求項7記載の回路図作成方法。
11. The circuit diagram creating method according to claim 7, wherein the designated circuit diagram information is end point information.
【請求項12】 上記指定回路図情報は文字情報であ
る、請求項7記載の回路図作成方法。
12. The circuit diagram creating method according to claim 7, wherein the designated circuit diagram information is character information.
JP4061963A 1992-03-18 1992-03-18 Device and method for generating circuit diagram Pending JPH05266112A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4061963A JPH05266112A (en) 1992-03-18 1992-03-18 Device and method for generating circuit diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4061963A JPH05266112A (en) 1992-03-18 1992-03-18 Device and method for generating circuit diagram

Publications (1)

Publication Number Publication Date
JPH05266112A true JPH05266112A (en) 1993-10-15

Family

ID=13186349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4061963A Pending JPH05266112A (en) 1992-03-18 1992-03-18 Device and method for generating circuit diagram

Country Status (1)

Country Link
JP (1) JPH05266112A (en)

Similar Documents

Publication Publication Date Title
JPH08137927A (en) Method for displaying arrangement/wiring of parts
JP4156274B2 (en) Interactive floor planner equipment
JPH05266112A (en) Device and method for generating circuit diagram
JP2006244326A (en) Icon display device
JP2785751B2 (en) Part number alignment method
JP2868866B2 (en) Interactive component placement CAD system
JP3108605B2 (en) How to display shape attributes
JP3248800B2 (en) Circuit diagram creation device and circuit diagram creation method
JP2830550B2 (en) Integrated circuit layout design equipment
JPH0199173A (en) Computer-aided designing equipment
JP2792921B2 (en) Graphic display method in graphic processing device
JP2582298B2 (en) Graphic information creation method in graphic processing device
JPS59180652A (en) Method for selecting plotting level of computer aided design device
JPH02217967A (en) Parts arrangement system for printed wiring board design system
JP2000155772A (en) Specified component display method
JPH079658B2 (en) Enlarged automatic drawing method with constant text size
CN114945247A (en) PCB (printed circuit board) external element query method, device, equipment and storage medium
JP3095308B2 (en) Electrical component approximate position determination device
JPH10171851A (en) Packaging design device and method therefor
JPH03257674A (en) Printed wiring board designing system
JPH06169199A (en) Device for laying out automatically component on printed board
JPH01134685A (en) System for inputting circuit block pattern
JPH07175835A (en) Pattern display device
JPH0452991B2 (en)
JPH08123831A (en) Editing method for circuit diagram data