JPH0740278B2 - Logic circuit drawing generator - Google Patents

Logic circuit drawing generator

Info

Publication number
JPH0740278B2
JPH0740278B2 JP61173041A JP17304186A JPH0740278B2 JP H0740278 B2 JPH0740278 B2 JP H0740278B2 JP 61173041 A JP61173041 A JP 61173041A JP 17304186 A JP17304186 A JP 17304186A JP H0740278 B2 JPH0740278 B2 JP H0740278B2
Authority
JP
Japan
Prior art keywords
symbol
logical
displacement
vertical
output
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
JP61173041A
Other languages
Japanese (ja)
Other versions
JPS6329883A (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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61173041A priority Critical patent/JPH0740278B2/en
Publication of JPS6329883A publication Critical patent/JPS6329883A/en
Publication of JPH0740278B2 publication Critical patent/JPH0740278B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、論理素子の接続関係を示す接続データから
自動的に論理回路図面を生成する論理回路図面生成装置
に係わり、特に図面をm×nに区画して各区画毎に論理
シンボルを配置する論理回路図面生成装置に関する。
The present invention relates to a logic circuit drawing generation device that automatically generates a logic circuit drawing from connection data indicating the connection relationship of logic elements. In particular, the present invention relates to a logic circuit drawing generation device that partitions a drawing into m × n and arranges logical symbols in each partition.

(従来の技術) 近年、グラフィックス機器の性能向上や高機能ワークス
テーションの低価格化に伴って、ディジタル・システム
の論理回路図面を設計者が指定した通りに作成したり修
正できる論理回路図面編集装置や、論理素子の接続関係
を示すデータから自動的にディジタル・システムの論理
回路図面を生成する論理回路図面生成装置等の論理回路
図面生成装置が普及してきている。このうち特に論理回
路図面自動生成装置においては、高速処理が可能で記憶
容量も少なく済むという利点から、従来より区画配置法
と呼ばれる回路図面生成法が用いられている。
(Prior Art) In recent years, as the performance of graphics equipment has improved and the price of high-performance workstations has become lower, logic circuit diagrams for digital systems can be created and modified as specified by the designer. 2. Description of the Related Art Devices and logic circuit diagram generation devices such as a logic circuit diagram generation device that automatically generates a logic circuit diagram of a digital system from data indicating the connection relationship of logic elements have become widespread. Among them, especially in the automatic logic circuit diagram generation device, a circuit diagram generation method called a partition layout method has been conventionally used because it has advantages of high-speed processing and a small storage capacity.

この区画配置法は、図面をn×m(n,mは任意の自然
数)の区画に分割し、各論理シンボルを区画単位で割当
てるものであり、例えば第10図に示すような2入力アン
ド1,2入力オア2、インバータ3からなる回路を自動設
計しようとする場合、まず第11図に示すように図面を3
×2の6つの区画に分割する。そして、各論理素子の入
出力関係の情報から各論理シンボルをいずれの区画に配
置するかを決定し、各論理シンボルを決定された区画に
それぞれ配置して行く。そして、論理シンボルが所定の
区画に割振られたら、論理シンボルの入出力間の結線処
理を行うようにしている。
This partition arrangement method divides the drawing into n × m (n and m are arbitrary natural numbers) partitions and assigns each logical symbol in partition units. For example, a 2-input AND 1 as shown in FIG. In order to automatically design a circuit consisting of a 2-input OR 2 and an inverter 3, first draw a drawing as shown in FIG.
Divide into 6 sections of × 2. Then, it is determined in which section each logical symbol is to be arranged based on the input / output relation information of each logical element, and each logical symbol is arranged in each of the determined sections. Then, when the logical symbol is allocated to a predetermined section, the connection process between the input and output of the logical symbol is performed.

この区画配置法によれば、論理シンボルの区画内におけ
る位置が予め決められているため、どの区画に配置する
かを決定すれば論理シンボルが配置される位置も一意的
に決定される。つまり回路の構成要素の論理シンボルの
型と、それを配置する区画とを指定するだけで一つのシ
ンボルの二次元的な配置が決定できるので、記憶容量の
低減化を図ることができる。
According to this partition arrangement method, the position of the logical symbol in the partition is determined in advance. Therefore, by determining in which partition the logical symbol is to be arranged, the position where the logical symbol is arranged is uniquely determined. That is, the two-dimensional arrangement of one symbol can be determined only by designating the type of the logical symbol of the circuit component and the section in which it is arranged, so that the storage capacity can be reduced.

しかしながら、このような従来の区画配置法による論理
図面生成装置では、区画内におけるシンボルが同じ位置
に固定されているため、例えば第12図に示すように、相
互に結合される論理シンボルの入出力端子の縦方向
(y)座標が異なってしまい、これがために折れ曲りの
非常に多い配線となり、論理回路図面が見難くなってし
まうという問題があった。
However, in such a conventional logical layout generating apparatus using the partition layout method, since the symbols in the partition are fixed at the same position, for example, as shown in FIG. There is a problem in that the vertical (y) coordinates of the terminals are different, which makes the wiring very bent and makes it difficult to see the logic circuit diagram.

(発明が解決しようとする問題点) このように、従来の区画配置法による論理回路図面生成
装置では、論理シンボルの入出力間の配線の折れ曲りが
多いために図面が見難く、かつ見栄えも良くないという
問題があった。
(Problems to be Solved by the Invention) As described above, in the conventional logic circuit drawing generation device using the partition layout method, the drawing is difficult to see because the wiring between the input and output of the logic symbol is often bent There was a problem that it was not good.

この発明は高速かつ少ない記憶容量で論理シンボルの配
置処理を行なえる区画配置法の利点を何等損うことなし
に、折れ曲り配線の数を減らすことができ、見易くかつ
見栄えの良い図面を生成できる論理回路図面生成装置を
提供することを目的とする。
The present invention can reduce the number of bent wirings without any loss of the advantage of the partition arrangement method that can perform the arrangement processing of logical symbols at high speed and with a small storage capacity, and can generate a drawing that is easy to see and looks good. An object is to provide a logic circuit drawing generation device.

[発明の構成] (問題点を解決するための手段) この発明は、複数の論理シンボルを区画単位で配置する
区画配置法による論理回路図面生成装置において、接続
される論理シンボル間の入出力関係位置に基づいて論理
シンボルの区画内基準位置からの変位量を設定する手段
と、この手段で設定された変位量を記憶する手段と、上
記論理シンボルを前記基準位置から上記変位量だけ変位
させて配置する手段とを具備したことを特徴としてい
る。
[Structure of the Invention] (Means for Solving the Problems) The present invention relates to an input / output relationship between connected logic symbols in a logic circuit drawing generation device by a partition layout method in which a plurality of logic symbols are arranged in partition units. Means for setting the displacement amount of the logical symbol from the in-zone reference position based on the position, means for storing the displacement amount set by this means, and displacing the logical symbol from the reference position by the displacement amount. And a means for arranging them.

(作用) この発明では、論理シンボルを区画内のある定まった基
準位置に固定的に配置するのではなく、区画内域は区画
を越えて論理シンボルを変位させることができるので、
入力側の論理シンボルの出力端位置と、これに接続され
る出力側の論理シンボルの入力端とを同一の縦方向座標
とするように論理シンボルを変位させることができる。
論理シンボルをこのように変位させると、2つの論理シ
ンボル間を直線で配線することができるので、折れ曲り
配線を減少させることができる。
(Operation) In the present invention, since the logical symbols are not fixedly arranged at a certain fixed reference position in the partition, but the internal area of the partition can displace the logical symbols beyond the partition,
The logical symbol can be displaced so that the output end position of the input side logical symbol and the input end of the output side logical symbol connected thereto have the same vertical coordinate.
By displacing the logical symbols in this way, it is possible to wire the two logical symbols in a straight line, and therefore it is possible to reduce the number of bent wires.

(実施例) 以下、図面を参照しながら本発明の一実施例に係る自動
論理回路生成装置について説明する。
(Embodiment) An automatic logic circuit generation device according to an embodiment of the present invention will be described below with reference to the drawings.

第1図は、同装置の構成を示す図である。この装置は各
種のデータの演算・処理を行う配置処理部11、変位設定
部12、配線処理部13及び表示処理部14と、各種データを
記憶する接続記憶部15、配置情報記憶部16、ピン位置情
報記憶部17、変位記憶部18、配線情報記憶部19及びシン
ボル形状記憶部20とで構成されている。この装置を図示
しないCPU(中央処理装置)と記憶装置とで構成する場
合には、CPUは、配置処理部11、変位設定部12、配線処
理部13及び表示処理部14の大きな4つの機能ブロックか
ら構成され、また記憶装置は、接続記憶部15、配置情報
記憶部16、ピン位置情報記憶部17、変位記憶部18、配線
情報記憶部19及びシンボル形状記憶部20の6つの記憶部
から構成される。
FIG. 1 is a diagram showing the configuration of the device. This apparatus includes an arrangement processing unit 11, a displacement setting unit 12, a wiring processing unit 13, and a display processing unit 14 that perform various data calculations and processing, a connection storage unit 15 that stores various data, an arrangement information storage unit 16, and pins. It is composed of a position information storage unit 17, a displacement storage unit 18, a wiring information storage unit 19, and a symbol shape storage unit 20. When this device is configured with a CPU (central processing unit) and a storage device (not shown), the CPU has four large functional blocks including an arrangement processing unit 11, a displacement setting unit 12, a wiring processing unit 13, and a display processing unit 14. The storage device is composed of six storage units: a connection storage unit 15, an arrangement information storage unit 16, a pin position information storage unit 17, a displacement storage unit 18, a wiring information storage unit 19, and a symbol shape storage unit 20. To be done.

いま、生成しようとしている回路図面が第10図に示した
2入力アンド1、2入力オア2及びインバータ3からな
る回路であるとする。接続情報記憶部15には、第2図に
示すような各コンポーネントの種類と、それが接続され
るコンポーネント及びピンの情報などの接続情報が記憶
される。
Now, it is assumed that the circuit diagram to be generated is the circuit composed of the 2-input AND 1 and 2-input OR 2 and the inverter 3 shown in FIG. The connection information storage unit 15 stores the connection information such as the type of each component as shown in FIG. 2 and information on the component and pin to which it is connected.

配置処理部11は、図面生成要求信号が入力されると、上
記接続情報記憶部15から接続情報を入力し、各コンポー
ネントの接続関係から各コンポーネントを区画単位で配
置する。この時の配置情報は配置情報記憶部16に格納さ
れる。この配置情報は、第3図に示すように各コンポー
ネントの論理シンボルタイプと、それが配置される区画
のX方向(横方向)番号及びY方向(縦方向)番号とか
ら構成される。配置情報記憶部16への格納が終了した
ら、配置処理部11は変位設定部12に配置終了信号を送出
する。
When the drawing generation request signal is input, the arrangement processing unit 11 inputs the connection information from the connection information storage unit 15 and arranges each component in a partition unit based on the connection relation of each component. The placement information at this time is stored in the placement information storage unit 16. As shown in FIG. 3, this arrangement information is composed of the logical symbol type of each component, and the X direction (horizontal direction) number and the Y direction (vertical direction) number of the section in which it is arranged. When the storage in the layout information storage unit 16 is completed, the layout processing unit 11 sends a layout end signal to the displacement setting unit 12.

一方、ピン位置情報記憶部17には、第4図に示すように
各コンポーネントのタイプと、各論理シンボルの基準位
置における入出力ピンの区画内座標とが格納されてい
る。即ち、この実施例では、1区画の寸法が300×300で
あり、第5図に示すように、各論理シンボルを各区画の
最も下方に配置したときを基準位置としている。従っ
て、2入力アンド及び2入力オアの場合には、2つ入力
ピンの座標がそれぞれ(0,20),(0,140)であり、出
力ピンの座標が(300,80)となる。また、インバータの
入力ピンの座標は(0,80)、出力ピンの座標は(300,8
0)となる。
On the other hand, the pin position information storage unit 17 stores the type of each component and the intra-section coordinates of the input / output pin at the reference position of each logical symbol, as shown in FIG. That is, in this embodiment, the size of one section is 300 × 300, and as shown in FIG. 5, the reference position is when each logical symbol is arranged at the bottom of each section. Therefore, in the case of 2-input AND and 2-input OR, the coordinates of the two input pins are (0,20) and (0,140), respectively, and the coordinates of the output pin are (300,80). The input pin coordinates of the inverter are (0,80) and the output pin coordinates are (300,8).
0).

変位設定部12は、上記配置終了信号を入力すると、接続
情報記憶部15からコンポーネント番号毎に接続情報を読
出し、配置情報記憶部16から配置情報を読出し、さらに
ピン位置情報記憶部17から上記ピン位置情報を読み出
す。変位設定部12は、これら情報を受取ったら、先ず全
論理シンボルの変位δの初期値を“0"とし、出力側、即
ち論理回路図面の右側に配置された論理シンボルから順
に、その変位を決定すべき論理シンボルの区画Yとその
出力の接続先の区画Yの値とを比較し、一致した場合は
さらに変位を決定すべき論理シンボルをその区画の範囲
内で動かし、変位を決定すべき論理シンボルの出力ピン
の座標yと接続先のピンの座標yとが同じ値にできる場
合は、そのときの値を変位yとする。
When the displacement setting unit 12 receives the placement end signal, it reads the connection information for each component number from the connection information storage unit 15, reads the placement information from the placement information storage unit 16, and further reads the pin from the pin position information storage unit 17. Read position information. Upon receiving these pieces of information, the displacement setting unit 12 first sets the initial value of the displacement δ of all logic symbols to “0”, and determines the displacement in order from the output side, that is, the logic symbols arranged on the right side of the logic circuit drawing. The value of the partition Y of the logical symbol to be compared with the value of the partition Y to which the output is connected is compared, and if they match, the logical symbol for which the displacement should be further determined is moved within the range of the partition to determine the displacement. When the coordinate y of the output pin of the symbol and the coordinate y of the connection destination pin can have the same value, the value at that time is set as the displacement y.

この変位設定部12は、例えば第6図に示すように構成さ
れる。レジスタ30には、変位を決定すべきコンポーネン
トの論理シンボル(以下、「着目シンボル」と呼ぶ)の
区画Yの値が格納され、レジスタ31には着目シンボルの
接続先の論理シンボル(以下、「接続先シンボル」と呼
ぶ)の区画Yの値が格納される。レジスタ32には、区画
の縦方向の大きさが格納され、レジスタ33には着目シン
ボルの縦方向の大きさが格納される。また、レジスタ34
には、接続先シンボルのピン位置yに接続先シンボルの
変位δを加算した値(以下、「変位加算ピン位置」と呼
ぶ)が格納され、レジスタ35には着目シンボルの出力ピ
ン位置yの値が格納される。
The displacement setting unit 12 is configured, for example, as shown in FIG. The register 30 stores the value of the partition Y of the logical symbol of the component whose displacement is to be determined (hereinafter referred to as “target symbol”), and the register 31 stores the logical symbol of the connection destination of the target symbol (hereinafter referred to as “connection”). The value of the section Y of the "previous symbol") is stored. The register 32 stores the vertical size of the partition, and the register 33 stores the vertical size of the target symbol. Also, register 34
Stores a value obtained by adding the displacement δ of the connection destination symbol to the pin position y of the connection destination symbol (hereinafter referred to as “displacement addition pin position”). The register 35 stores the value of the output pin position y of the target symbol. Is stored.

比較器36は、レジスタ30,31から出力される着目シンボ
ルの区画Yと、接続先シンボルの区画Yとを比較して、
両者が一致したときには、“1"を出力し、不一致の場合
には“0"を出力する。減算器37は、レジスタ32から出力
される区画Yの縦方向の大きさと、レジスタ33から出力
される着目シンボルの縦方向の大きさとを入力し、前者
から後者を減算してその結果を出力する。この減算結果
は、着目シンボルの変位の最大値(以下、「変位最大
値」と呼ぶ)を示す。減算器38は、レジスタ54から出力
される変位加算ピン位置yから、レジスタ35から出力さ
れる着目シンボルの出力ピン位置yを減算し、その結果
を出力する。この結果は、変位yの候補の値(以下、
「変位候補値」と呼ぶ)を示す。比較器39は、2つの減
算器37,38から出力される変位最大値と変位候補値とを
比較し、変位候補値が変位最大値以下ならば“1"を出力
し、同未満ならば“0"を出力する。また、比較器40は、
減算器38からの変位候補値と“0"とを比較し、変位候補
値が0より大きいときには“1"を出力し、同0以下であ
るときには“0"を出力する。3つの比較器35,39,40の出
力はアンド回路41に入力されている。アンド回路41は、
これらの比較器36,39,40からの出力が全て“1"のとき、
つまり着目シンボルの区画Yと接続先シンボルの区画Y
とが同じで、かつ変位候補値が“0"より大きく、変位最
大値よりも小さいとき、選択回路42に“1"を出力し、そ
の他の場合には選択回路42に“0"を出力する。選択回路
42には、減算器38からの変位候補値と、“0"レベル信号
とが入力されており、選択回路42は、上記アンド回路41
からの出力が“1"の場合は減算器38からの変位候補値を
選択し、同“0"の場合には“0"レベル信号を選択する。
そして、これらの選択された値を着目シンボルの変位δ
として出力する。
The comparator 36 compares the section Y of the target symbol output from the registers 30 and 31 with the section Y of the connection destination symbol,
If they match, "1" is output, and if they do not match, "0" is output. The subtractor 37 inputs the vertical size of the section Y output from the register 32 and the vertical size of the target symbol output from the register 33, subtracts the latter from the former, and outputs the result. . The subtraction result indicates the maximum value of the displacement of the target symbol (hereinafter, referred to as “displacement maximum value”). The subtractor 38 subtracts the output pin position y of the target symbol output from the register 35 from the displacement addition pin position y output from the register 54, and outputs the result. The result is a candidate value of displacement y (hereinafter,
“Displacement candidate value”). The comparator 39 compares the displacement maximum value output from the two subtractors 37 and 38 with the displacement candidate value, outputs "1" if the displacement candidate value is less than the displacement maximum value, and outputs "1" if less than the same. Output 0 ". Further, the comparator 40 is
The displacement candidate value from the subtractor 38 is compared with "0", and if the displacement candidate value is greater than 0, "1" is output, and if it is less than 0, "0" is output. The outputs of the three comparators 35, 39, 40 are input to the AND circuit 41. AND circuit 41
When the outputs from these comparators 36, 39, 40 are all "1",
That is, the section Y of the target symbol and the section Y of the connection destination symbol
And the displacement candidate value is larger than “0” and smaller than the displacement maximum value, “1” is output to the selection circuit 42, otherwise “0” is output. . Selection circuit
The displacement candidate value from the subtractor 38 and the “0” level signal are input to the 42, and the selection circuit 42 uses the AND circuit 41.
When the output from is "1", the displacement candidate value from the subtractor 38 is selected, and when it is "0", the "0" level signal is selected.
Then, these selected values are set to the displacement δ of the symbol of interest.
Output as.

例えば、着目シンボルがコンポーネント番号1の論理シ
ンボルである場合を考えると、レジスタ30〜35にはそれ
ぞれ“2",“0",“300",“160",“0",“80"が格納される
ので、比較器36の出力が“0"、アンド回路の出力が“0"
となり、選択回路42は“0"を選択するので、コンポーネ
ント1の変位δは“0"となる。
For example, considering the case where the symbol of interest is the logical symbol of component number 1, "2", "0", "300", "160", "0", "80" are stored in registers 30 to 35, respectively. Therefore, the output of the comparator 36 is “0” and the output of the AND circuit is “0”.
Therefore, since the selection circuit 42 selects “0”, the displacement δ of the component 1 becomes “0”.

一方、コンポーネント番号2の論理シンボルでは、レジ
スタ30〜35にそれぞれ“2",“2",“300",“160",“14
0",“80"が格納され、比較器36,39,40は全て“1"を出力
するので、アンド回路41の出力も“1"になり、選択回路
42は、減算器38の出力である“60"を選択し、これを変
位量δとして出力する。
On the other hand, in the logical symbol of the component number 2, "2", "2", "300", "160", "14" are stored in the registers 30 to 35, respectively.
Since 0 "and" 80 "are stored and the comparators 36, 39 and 40 all output" 1 ", the output of the AND circuit 41 also becomes" 1 "and the selection circuit
The 42 selects “60” which is the output of the subtractor 38 and outputs it as the displacement amount δ.

この変位情報δは例えば第7図に示すような形態で変位
記憶部18に記憶される。変位情報が格納されたら、変位
設定部12は変位設定終了信号を配線処理部13に出力す
る。
The displacement information δ is stored in the displacement storage unit 18 in the form as shown in FIG. 7, for example. When the displacement information is stored, the displacement setting unit 12 outputs a displacement setting end signal to the wiring processing unit 13.

配線処理部13は、変位設定終了信号が入力されたら、接
続情報記憶部15に格納されている論理回路の接続情報
と、配置情報記憶部16に格納されている配置情報と、ピ
ン位置情報記憶部17に格納されているピン位置情報と、
変位記憶部18に格納されている変位情報とをそれぞれ読
出し、配線の本数及び各配線の始点と終点の座標を求め
る。
When the displacement setting end signal is input, the wiring processing unit 13 stores the connection information of the logic circuit stored in the connection information storage unit 15, the placement information stored in the placement information storage unit 16, and the pin position information storage. Pin position information stored in section 17,
The displacement information stored in the displacement storage unit 18 is read, and the number of wirings and the coordinates of the start point and the end point of each wiring are obtained.

この例では、区画(1,2)に配置された2入力オアの出
力から、区画(3,2)に配置された2入力アンドの入力
1への配線と、区画(1,1)に配置されたインバータ3
の出力から区画(3,2)に配置された2入力アンドの入
力2への配線の2本配線が必要である。区画(Xs,Ys)
に配置された論理シンボルと、区画(Xe,Ye)に配置さ
れた論理シンボルとを接続する配線の始点座標(xs,y
s)と終点座標(xe,yeは、次の式によって求めることが
できる。なお、以下の式において(xsp,ysp),(xep,y
ep)は出力側及び入力側のピン位置情報、δs,δeは出
力側及び入力側の論理シンボルの変位である。
In this example, the wiring from the output of the 2-input OR arranged in the section (1,2) to the input 1 of the 2-input AND arranged in the section (3,2) and the section arranged in the section (1,1) Inverter 3
It is necessary to have two wires from the output of 2 to the input 2 of 2 input AND arranged in the section (3, 2). Compartment (Xs, Ys)
The starting point coordinates (xs, y) of the wiring that connects the logical symbol placed in the section and the logical symbol placed in the section (Xe, Ye)
s) and the end point coordinates (xe, ye) can be obtained by the following formula, where (xsp, ysp), (xep, y
ep) is the pin position information on the output side and the input side, and δs and δe are the displacements of the logical symbols on the output side and the input side.

xs=300・(Xs−1)+xsp …(1) ys=300・(Ys−1)+ysp+δs …(2) xe=300・(Xe−1)+xep …(3) ye=300・(Ye−1)+yep+δe …(4) 配線の始点と終点とが求まったら、次に、配線処理部13
は配線経路を決定する。これらの配線情報は、例えば第
8図に示すような形態で配線情報記憶部19に格納され
る。配線情報の格納が終了したら、配線処理部13は表示
処理部14に対し配線終了信号を送出する。
xs = 300. (Xs-1) + xsp ... (1) ys = 300. (Ys-1) + ysp + δs ... (2) xe = 300. (Xe-1) + xep ... (3) ye = 300. (Ye-1) ) + Yep + δe (4) Once the start and end points of the wiring have been obtained, the wiring processing unit 13
Determines the wiring route. The wiring information is stored in the wiring information storage unit 19 in the form as shown in FIG. 8, for example. When the wiring information is stored, the wiring processing unit 13 sends a wiring end signal to the display processing unit 14.

表示処理部14は、配線出力信号が入力されると、先ず、
配置情報記憶部16から配置情報を読出し、次式により区
画(X,Y)に配置された論理シンボルのシンボル座標
(x,y)を算出する。
When the wiring output signal is input, the display processing unit 14 first
The arrangement information is read from the arrangement information storage unit 16, and the symbol coordinate (x, y) of the logical symbol arranged in the section (X, Y) is calculated by the following formula.

x=300・(X−1) …(5) y=300・(Y−1)+δ …(6) 全ての論理シンボルの座標が求まったら、表示処理部14
は、配置情報の中の論理シンボルのタイプを基に、その
論理シンボルのタイプの形状をシンボル形状記憶部20か
ら読出す。シンボル形状記憶部20には、あらゆるシンボ
ル形状のデータが格納されている。シンボル形状が読み
出されたら、表示処理部14は上記(5),(6)式で算
出されたシンボル座標を原点として上記シンボル形状を
表示する。最後に、表示処理部14は、配線情報記憶部19
より配線情報を読出し、表示された上記論理シンボルに
配線を付加して結線された論理回路の形態で表示する。
x = 300 · (X−1) (5) y = 300 · (Y−1) + δ (6) When the coordinates of all the logical symbols are obtained, the display processing unit 14
Reads the shape of the type of the logical symbol from the symbol shape storage unit 20 based on the type of the logical symbol in the arrangement information. The symbol shape storage unit 20 stores data of all symbol shapes. When the symbol shape is read, the display processing unit 14 displays the symbol shape with the symbol coordinates calculated by the equations (5) and (6) as the origin. Finally, the display processing unit 14 includes the wiring information storage unit 19
The wiring information is read out and wiring is added to the displayed logic symbol to display it in the form of a connected logic circuit.

以上の処理により得られた回路を第9図に示す。2入力
オア出力と2入力アンドの入力1との間の結線には折れ
曲り部が存在しないため、従来に比べて見易く、かつ見
栄えの良い図面が生成されている。しかも、記憶される
情報としては従来に比べ、各論理シンボルの変位情報の
みであり、大幅に情報量が増加することはない。
The circuit obtained by the above processing is shown in FIG. Since there is no bent portion in the connection between the 2-input OR output and the 2-input AND input 1, a drawing that is easier to see and looks better than the conventional one is generated. Moreover, the stored information is only the displacement information of each logical symbol as compared with the conventional one, and the information amount does not increase significantly.

なお、本発明は上述した実施例に限定されるものではな
い。たとえば上記実施例では、論理シンボルを1区画の
範囲内で変位させるようにしたが、隣接する区画に他の
論理シンボルや配線等が存在しない場合には、1区画を
越えて論理シンボルを変位させることも考えられる。ま
た、例えば2つの入力側論理シンボルに1つの出力側論
理シンボルが接続されるような場合、上記2つの入力側
論理シンボルの縦方向の中間位置に上記出力側論理シン
ボルを配置するように出力側論理シンボルを変位させる
ことも考えられる。
The present invention is not limited to the above embodiment. For example, in the above-described embodiment, the logical symbol is displaced within the range of one section. However, when there is no other logical symbol or wiring in the adjacent section, the logical symbol is displaced beyond one section. It is also possible. Further, for example, when one output side logical symbol is connected to two input side logical symbols, the output side logical symbol is arranged at an intermediate position in the vertical direction between the two input side logical symbols. It is also possible to displace the logical symbols.

[発明の効果] 以上説明したように、本発明によれば論理シンボルを区
画内基準位置から変位させるようにしているので、見易
く、見栄えの良い論理回路図面を作成でき、しかも変位
情報のみを余分に記憶するだけで足り、区画内配置法の
利点である高速処理及び低記憶容量という利点を損うこ
とも無い。
[Effects of the Invention] As described above, according to the present invention, since the logic symbol is displaced from the reference position within the section, it is possible to create a logic circuit drawing that is easy to see and looks good, and only displacement information is redundant. It suffices to store the data in the partition, and the advantages of high-speed processing and low storage capacity, which are the advantages of the intra-partition layout method, are not lost.

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

第1図は本発明の一実施例に係る論理図面自動生成装置
の構成を示すブロック図、第2図は同装置における情報
記憶部に格納された接続情報を示す図、第3図は同装置
における配置情報記憶部に格納された配置情報を示す
図、第4図は同装置におけるピン位置情報記憶部に格納
されたピン位置情報を示す図、第5図は各論理シンボル
の形状とピン位置情報の一例を示す図、第6図は同装置
における変位設定部の更に詳細なブロック図、第7図は
同装置における変位記憶部に格納された変位情報を示す
図、第8図は同装置における配線情報記憶部に格納され
た配線情報を示す図、第9図は同装置によって生成され
た論理回路図面を示す図、第10図は論理回路の一例を示
す図、第11図は図面を区画した様子を示す図、第12図は
従来の論理回路図面生成装置で生成された論理回路図面
を示す図である。 11……配置処理部、12……変位設定部、13……配線処理
部、14……表示処理部、15……接続情報記憶部、16……
配置情報記憶部、17……ピン位置情報記憶部、18……変
位記憶部、19……配線情報記憶部、20……シンボル形状
記憶部、30〜35……レジスタ、36,39,40……比較器、3
7,38……減算器、41……アンド回路、42……選択回路。
FIG. 1 is a block diagram showing the configuration of a logical drawing automatic generation device according to an embodiment of the present invention, FIG. 2 is a diagram showing connection information stored in an information storage section of the same device, and FIG. 3 is the same device. 4 is a diagram showing the arrangement information stored in the arrangement information storage unit in FIG. 4, FIG. 4 is a diagram showing the pin position information stored in the pin position information storage unit in the same device, and FIG. 5 is the shape and pin position of each logical symbol. FIG. 6 is a diagram showing an example of information, FIG. 6 is a more detailed block diagram of a displacement setting unit in the device, FIG. 7 is a diagram showing displacement information stored in a displacement storage unit in the device, and FIG. 8 is the device. FIG. 9 is a diagram showing wiring information stored in a wiring information storage unit in FIG. 9, FIG. 9 is a diagram showing a logic circuit drawing generated by the device, FIG. 10 is a diagram showing an example of the logic circuit, and FIG. 11 is a drawing. Fig. 12 is a diagram showing a partitioned state, and Fig. 12 is a conventional logic circuit drawing It is a diagram illustrating a logic circuit diagram that is generated by the device. 11 ... Arrangement processing unit, 12 ... Displacement setting unit, 13 ... Wiring processing unit, 14 ... Display processing unit, 15 ... Connection information storage unit, 16 ...
Arrangement information storage unit, 17 ... Pin position information storage unit, 18 ... Displacement storage unit, 19 ... Wiring information storage unit, 20 ... Symbol shape storage unit, 30 to 35 ... Register, 36, 39, 40 ... … Comparator, 3
7,38 ... Subtractor, 41 ... And circuit, 42 ... Selection circuit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】複数の論理シンボルを、n×m(n,mは任
意の自然数)に区画された図面上に区画単位で配置する
とともに、配置された各論理シンボル間の結線処理を行
って論理回路図面を生成する論理回路図面生成装置にお
いて、 接続される論理シンボル間の入出力関係位置に基づいて
前記論理シンボルの区画内基準位置からの変位量を設定
する手段と、この手段で設定された変位量を記憶する手
段と、上記論理シンボルを前記基準位置から上記変位量
だけ変位させて配置する手段とを具備したことを特徴と
する論理回路図面生成装置。
1. A plurality of logical symbols are arranged in a unit of division on a drawing divided into n × m (n and m are arbitrary natural numbers), and connection processing is performed between the arranged logical symbols. In a logic circuit drawing generation device for generating a logic circuit drawing, a means for setting a displacement amount of the logic symbol from a reference position within a section based on input / output relational positions between connected logic symbols, and a means for setting the displacement amount by this means. And a means for storing the displacement amount and a means for arranging the logic symbol by displacing the logic symbol by the displacement amount from the reference position.
【請求項2】前記変位量を設定する手段は、着目論理シ
ンボルの縦方向の区画位置とその接続先の論理シンボル
の縦方向の区画位置とを比較する第1の比較手段と、区
画の縦方向の大きさから上記着目論理シンボルの縦方向
の大きさを減算する第1の減算手段と、上記着目論理シ
ンボルの出力ピンの縦方向の区画内座標から接続先の論
理シンボルの入力ピンの縦方向の区画内座標を減算する
第2の減算手段と、この第2の減算手段による減算結果
が0より大きく前記第1の減算手段による減算結果以下
の範囲にあるか否かを比較する第2の比較手段と、前記
第1の比較手段による比較結果が一致し、かつ前記第2
の比較手段による比較結果が範囲内にあるときは前記第
2の減算手段による減算結果を縦方向の変位として選択
し、その他の場合には“0"を縦方向の変位として選択す
る選択手段とを具備したことを特徴とする特許請求の範
囲第1項記載の論理回路図面生成装置。
2. The means for setting the displacement amount comprises first comparing means for comparing the vertical partition position of the logical symbol of interest with the vertical partition position of the logical symbol to which it is connected, and the vertical partition position. First subtracting means for subtracting the vertical size of the logical symbol of interest from the vertical size, and the vertical division of the input pin of the logical symbol of the connection destination from the vertical internal coordinates of the output pin of the logical symbol of interest Second subtraction means for subtracting the in-section coordinate of the direction and second comparison means for comparing whether or not the subtraction result by the second subtraction means is greater than 0 and less than or equal to the subtraction result by the first subtraction means And the comparison result by the first comparing means is the same, and the second comparing means
Selection means for selecting the subtraction result by the second subtraction means as the vertical displacement when the comparison result by the comparison means is within the range, and selecting "0" as the vertical displacement otherwise. The logic circuit drawing generation device according to claim 1, further comprising:
JP61173041A 1986-07-23 1986-07-23 Logic circuit drawing generator Expired - Lifetime JPH0740278B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61173041A JPH0740278B2 (en) 1986-07-23 1986-07-23 Logic circuit drawing generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61173041A JPH0740278B2 (en) 1986-07-23 1986-07-23 Logic circuit drawing generator

Publications (2)

Publication Number Publication Date
JPS6329883A JPS6329883A (en) 1988-02-08
JPH0740278B2 true JPH0740278B2 (en) 1995-05-01

Family

ID=15953106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61173041A Expired - Lifetime JPH0740278B2 (en) 1986-07-23 1986-07-23 Logic circuit drawing generator

Country Status (1)

Country Link
JP (1) JPH0740278B2 (en)

Also Published As

Publication number Publication date
JPS6329883A (en) 1988-02-08

Similar Documents

Publication Publication Date Title
US5550714A (en) Schematic generator and schematic generating method
EP1847965A1 (en) Plotting device and plotting method
JPS63225869A (en) Wiring path search system
JPH0530280B2 (en)
JP2618951B2 (en) 3D graphics processor
US5563995A (en) Method and system for directly drawing a convex polygon having a given number of vertices with high speed
JP2000011190A (en) Image processor
US6940519B2 (en) Graphics processor, graphics card and graphics processing system
JPH0740278B2 (en) Logic circuit drawing generator
JP2000182069A (en) Image processing unit and its method
US6476818B1 (en) Storage circuit control device and graphic computation device
JPH11316856A (en) Picture processor
JP2000011189A (en) Image processor
JP2536640B2 (en) Wiring method
JP2858328B2 (en) Network diagram automatic generation method and system
JPH11203486A (en) Translucent object display method and image display device using the method
JPH0580017B2 (en)
JP2903514B2 (en) High-speed drawing method
JPS63213091A (en) Depth map preparing device
JPH02224018A (en) Sorting circuit
JPS63143672A (en) Automatic parallel wiring system based upon grouping of wiring sections
JPH04199368A (en) Count value generating system in pattern data processing
JP2000123194A (en) Image synthesizing system
JPS63195772A (en) Producing device for circuit diagram
JPH0644275B2 (en) Clearance check method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term