JP6594211B2 - Information processing apparatus, information processing method, and information processing program - Google Patents
Information processing apparatus, information processing method, and information processing program Download PDFInfo
- Publication number
- JP6594211B2 JP6594211B2 JP2016004779A JP2016004779A JP6594211B2 JP 6594211 B2 JP6594211 B2 JP 6594211B2 JP 2016004779 A JP2016004779 A JP 2016004779A JP 2016004779 A JP2016004779 A JP 2016004779A JP 6594211 B2 JP6594211 B2 JP 6594211B2
- Authority
- JP
- Japan
- Prior art keywords
- connection
- component
- circuit
- starting
- pin
- 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.)
- Active
Links
Images
Description
本発明は、複数の回路の構成を比較する技術に関する。 The present invention relates to a technique for comparing configurations of a plurality of circuits.
複数の回路の構成を比較する技術として特許文献1に開示された技術がある。
特許文献1の技術では、第1の回路に含まれる第1の部品を起点に第1の回路の部品間の配線を辿って第1の部分を抽出し、また、第2の回路に含まれる第2の部品を起点に第2の回路の部品間の配線を辿って第2の部分を抽出する。
そして、第1の部分と第2の部分との差分を抽出することで、第1の回路と第2の回路との差分を取得する。
There is a technique disclosed in
In the technique of
Then, the difference between the first circuit and the second circuit is acquired by extracting the difference between the first part and the second part.
特許文献1では、第1の部品と第2の部品は同一の部品である。
第1の部品と第2の部品とが異なる部品である場合には、第1の部品と第2の部品とでピンの本数やピンの種類が異なる。
第1の部品と第2の部品とでピンの本数やピンの種類が異なっている場合は、特許文献1の技術では、第1の部品のどのピンと第2の部品のどのピンとが対応関係にあるかを判定することができず、第2の部品を起点にどのように第2の回路の部品間の配線を辿っていくかを判定することができない。すなわち、比較可能な第1の部分と第2の部分を得ることができない。
第1の部品と第2の部品とが同じ場合、すなわち、第1の部品のピンの構成と第2の部品のピンの構成が同じ場合は、特許文献1の技術であっても、同じピン番号のピンに対してそれぞれの回路で配線を辿っていくことで、比較可能な第1の部分と第2の部分とを得ることができる。
In
When the first part and the second part are different parts, the number of pins and the type of pin are different between the first part and the second part.
When the number of pins and the type of pins are different between the first component and the second component, in the technique of
When the first part and the second part are the same, that is, when the configuration of the pins of the first part and the configuration of the pins of the second part are the same, even with the technique of
このように、特許文献1の技術では、起点となる部品がそれぞれの回路で異なる場合には、比較処理を行うことができない。
第1の回路を流用するとともに、第1の回路内の一部の部品を置き換えて第2の回路を設計する場合を想定する。
この場合に、第1の回路内の置き換え前の部品と第2の回路内の置き換え後の部品のピンの本数やピンの種類が異なる場合は、特許文献1では、第1の回路内の置き換え前の部品と第2の回路内の置き換え後の部品を起点とする比較処理を行うことができないという課題がある。
As described above, in the technique disclosed in
It is assumed that the second circuit is designed by diverting the first circuit and replacing some components in the first circuit.
In this case, in the case where the number of pins and the types of pins of the parts before replacement in the first circuit and the parts after replacement in the second circuit are different, in
本発明は、このような課題を解決することを主な目的としており、第1の回路の起点の部品と第2の回路の起点の部品とが異なっていても、第1の回路と第2の回路とを比較できる構成を得ることを主な目的とする。 The main object of the present invention is to solve such a problem. Even if the starting component of the first circuit and the starting component of the second circuit are different, the first circuit and the second circuit are different. The main object is to obtain a configuration that can be compared with the above circuit.
本発明に係る情報処理装置は、
第1の回路に含まれる複数の部品のうちの任意の部品である第1の起点部品が示されるとともに、前記第1の起点部品に含まれる複数のピンのうちの任意のピンが第1の起点ピンとして示される第1の起点情報と、第2の回路に含まれる複数の部品のうち前記第1の起点部品に対応する部品が第2の起点部品として示されるとともに、前記第2の起点部品に含まれる複数のピンのうち前記第1の起点ピンに対応するピンが第2の起点ピンとして示される第2の起点情報とを取得する情報取得部と、
前記第1の回路での部品間の接続関係が示される第1の接続関係情報を参照して、前記第1の起点ピンに接続されている部品を第1の接続部品として抽出し、前記第2の回路での部品間の接続関係が示される第2の接続関係情報を参照して、前記第2の起点ピンに接続されている部品を第2の接続部品として抽出する部品抽出部と、
前記第1の接続部品と前記第2の接続部品とが同一であるか否かを判定する判定部とを有する。
An information processing apparatus according to the present invention includes:
A first starting part which is an arbitrary part of a plurality of parts included in the first circuit is shown, and an arbitrary pin of the plurality of pins included in the first starting part is a first part. The first starting point information indicated as the starting pin and the part corresponding to the first starting part among the plurality of parts included in the second circuit are indicated as the second starting part, and the second starting point An information acquisition unit that acquires second starting point information in which a pin corresponding to the first starting point pin is indicated as a second starting point pin among a plurality of pins included in the component;
With reference to first connection relation information indicating a connection relation between parts in the first circuit, a part connected to the first starting pin is extracted as a first connection part, and the first A component extraction unit that extracts a component connected to the second starting pin as a second connection component with reference to second connection relationship information indicating a connection relationship between components in the circuit of 2;
A determination unit configured to determine whether or not the first connection component and the second connection component are the same;
本発明では、第1の起点部品の起点ピンと、第1の起点部品の起点ピンに対応する第2の起点部品の起点ピンとを起点とするため、第1の回路の起点の部品と第2の回路の起点の部品とが異なっていても、第1の回路と第2の回路とを比較することができる。 In the present invention, since the starting pin of the first starting component and the starting pin of the second starting component corresponding to the starting pin of the first starting component are used as the starting points, the starting component of the first circuit and the second Even if the starting parts of the circuit are different, the first circuit and the second circuit can be compared.
実施の形態1.
***構成の説明***
図1は、本実施の形態に係る情報処理装置100のハードウェア構成例を示す。
図2は、本実施の形態に係る情報処理装置100の機能構成例を示す。
本実施の形態に係る情報処理装置100は、コンピュータであり、記憶装置200、表示装置300及び入力装置400に接続されている。
情報処理装置100は、ハードウェアとして、プロセッサ151とメモリ152を備える。
プロセッサは、図2に示す検証条件設定部101、比較対象抽出部102等(以下、図2に示されている要素をまとめて「部」と表記する)を実現するプログラムを実行し、「部」の動作を行う。
プログラムは、記憶装置200であるHDD(Hard Disc Drive)250に記憶されており、メモリ152にロードされた後、プロセッサ151がプログラムを実行して「部」の機能を実現する。
表示装置300は、例えばディスプレイ装置であり、入力内容および処理結果を表示する。
入力装置400は、例えば、情報処理装置100の使用者が入力を行うためのキーボード、マウスである。
*** Explanation of configuration ***
FIG. 1 shows a hardware configuration example of an
FIG. 2 shows a functional configuration example of the
The
The
The processor executes a program for realizing the verification
The program is stored in an HDD (Hard Disc Drive) 250 that is the
The
The
情報処理装置100は、2つの回路における差分を抽出する。
より厳密には、情報処理装置100は、2つのネットリストに定義されている2つの回路における差分を抽出する。
それぞれのネットリストには、回路に含まれる複数の部品、部品間の接続関係が回路情報として定義されている。
なお、以下では、2つのネットリストに定義されている2つの回路を第1の回路と第2の回路という。
第1の回路は、第2の回路の定義の際に流用された回路である。
第2の回路は、第1の回路の少なくとも一部を流用して定義された回路である。
また、第1の回路が定義されているネットリストを第1のネットリストといい、第2の回路が定義されているネットリストを第2のネットリストという。
第1のネットリストは第1の接続関係情報の例であり、第2のネットリストは第2の接続関係情報の例である。
情報処理装置100は、第1の回路と第2の回路との間の差異を抽出し、抽出した差異を表示装置300に表示する。
The
More precisely, the
In each netlist, a plurality of components included in the circuit and a connection relationship between the components are defined as circuit information.
Hereinafter, the two circuits defined in the two netlists are referred to as a first circuit and a second circuit.
The first circuit is a circuit diverted when defining the second circuit.
The second circuit is a circuit defined by diverting at least a part of the first circuit.
A net list in which the first circuit is defined is referred to as a first net list, and a net list in which the second circuit is defined is referred to as a second net list.
The first netlist is an example of first connection relation information, and the second netlist is an example of second connection relation information.
The
次に、図2を参照して、情報処理装置100の機能構成を説明する。
Next, the functional configuration of the
図2において、検証条件設定部101は、検証条件を設定する。
検証条件は、第1の回路と第2の回路との間の差分を抽出する際に起点となる部品及びピンを指定する情報である。
検証条件設定部101は、入力装置400を介して、第1の起点情報と第2の起点情報とを取得し、第1の起点情報に示される第1の起点部品と第1の起点ピンと、第2の起点情報に示される第2の起点部品と第2の起点ピンとを検証条件として設定する。
つまり、検証条件設定部101は、第1の起点情報及び第2の起点情報を検証条件としてメモリ152に設定(格納)する。
第1の起点部品は、第1の回路に含まれる複数の部品のうちの任意の部品である。
第1の起点ピンは、第1の起点部品に含まれる複数のピンのうちの任意のピンである。
第2の起点部品は、第2の回路に含まれる複数の部品のうち第1の起点部品に対応する部品である。
第2の起点ピンは、第2の起点部品に含まれる複数のピンのうち第1の起点ピンに対応するピンである。
第1の起点部品、第1の起点ピン、第2の起点部品及び第2の起点ピンは情報処理装置100のユーザにより指定された部品及びピンである。
検証条件設定部101は、情報取得部の例に相当する。
また、検証条件設定部101により行われる処理は、情報取得ステップの例に相当する。
In FIG. 2, a verification condition setting
The verification condition is information for designating a component and a pin as a starting point when extracting a difference between the first circuit and the second circuit.
The verification
That is, the verification condition setting
The first starting part is an arbitrary part among a plurality of parts included in the first circuit.
The first starting pin is an arbitrary pin among a plurality of pins included in the first starting part.
The second starting part is a part corresponding to the first starting part among a plurality of parts included in the second circuit.
The second starting point pin is a pin corresponding to the first starting point pin among the plurality of pins included in the second starting point component.
The first starting part, the first starting pin, the second starting part, and the second starting pin are parts and pins designated by the user of the
The verification
The processing performed by the verification
比較対象抽出部102は、第1のネットリストを参照して、第1の起点ピンに接続されている部品を第1の接続部品として抽出する。
また、比較対象抽出部102は、第2のネットリストを参照して、第2の起点ピンに接続されている部品を第2の接続部品として抽出する。
比較対象抽出部102は、第1の回路比較部分抽出部1021と第2の回路比較部分抽出部1022で構成される。
第1の回路比較部分抽出部1021が第1の接続部品を抽出し、第2の回路比較部分抽出部1022が第2の接続部品を抽出する。
なお、比較対象抽出部102は、部品抽出部の例に相当する。
また、比較対象抽出部102により行われる処理は、部品抽出ステップの例に相当する。
The comparison
In addition, the comparison
The comparison
The first circuit comparison
Note that the comparison
The processing performed by the comparison
差異抽出部103は、比較対象抽出部102により抽出された第1の接続部品と第2の接続部品とが同一であるか否かを判定する。
より具体的には、差異抽出部103は、第1の回路及び第2の回路に含まれる複数の部品の属性が示される複数の部品属性情報の中から、第1の接続部品の部品属性情報と第2の接続部品の部品属性情報とを取得する。
そして、差異抽出部103は、取得した部品属性情報を参照して、第1の接続部品と第2の接続部品とが同一であるか否かを判定する。
差異抽出部103は、接続部品比較部1031と接続先部品ピン比較部1032で構成される。
接続部品比較部1031は、第1の接続部品の属性と第2の接続部品の属性が一致するか否かを判定する。
接続先部品ピン比較部1032は、第1の接続部品のピンと第2の接続部品のピンが一致するか否かを判定する。
なお、差異抽出部103は、判定部の例に相当する。
また、差異抽出部103により行われる処理は、判定ステップの例に相当する。
The
More specifically, the
Then, the
The
The connection
The connection destination component
The
Further, the processing performed by the
検証結果表示部104は、差異抽出部103による判定結果(検証結果)を表示装置300に出力して、表示装置300に判定結果を表示させる。
The verification
図3(a)は、ネットリストの例を示す。
図3(b)は、図3(a)のネットリストが定義する回路の一部を表す回路図である。
ネットリストは前述したように、回路の接続関係を示す。
本実施の形態に係る情報処理装置100は、ネットリストから回路情報を取得し、検証を行う。
図3において、1行目は、NETAというネット(接続線)はIC10という部品のPINFというピンに接続していることを示す。
同様に、2行目は、NETAというネットはR10という部品のPINAというピンに接続していることを示す。
部品を識別する部品ID(Identifier)は回路図中で部品を一意に特定する目的の名称であり、この名称がネットリストに記述される。
部品のピンは部品に接続線を接続する接続点であり、それぞれにピン名が定義されており、この名称がネットリストに記述される。
FIG. 3A shows an example of a net list.
FIG. 3B is a circuit diagram showing a part of a circuit defined by the net list of FIG.
As described above, the net list indicates the connection relationship of the circuits.
The
In FIG. 3, the first line indicates that a net (connection line) called NETA is connected to a pin called PINF of a component called IC10.
Similarly, the second line indicates that the net named NETA is connected to the pin named PINA of the component named R10.
The component ID (Identifier) for identifying the component is a name for the purpose of uniquely identifying the component in the circuit diagram, and this name is described in the net list.
A component pin is a connection point for connecting a connection line to a component, and a pin name is defined for each component pin. This name is described in the netlist.
図4(a)は、検証条件設定部101で設定される検証条件の例を示す。
図4(b)及び図4(c)は、図4(a)の検証条件が対象としている回路内の部品及びピンを示す。
図4(a)に示すように、検証条件は部品IDとピン名で指定される。
つまり、検証条件は、第1の回路の起点の部品のID(第1の起点部品)と第1の回路の起点のピンのID(第1の起点ピン)と、第2の回路の起点の部品のID(第2の起点部品)と第2の回路の起点のピンのID(第2の起点ピン)で構成される。
設定No1では、第1の回路の部品IC10のPINFと第2の回路の部品IC50のPINBが対応する検証起点である。
図4(a)に示すように、検証条件は複数設定することができる。
FIG. 4A shows an example of verification conditions set by the verification
FIG. 4B and FIG. 4C show components and pins in the circuit targeted by the verification condition of FIG.
As shown in FIG. 4A, the verification condition is specified by a component ID and a pin name.
That is, the verification condition includes the ID of the starting component of the first circuit (first starting component), the ID of the starting pin of the first circuit (first starting pin), and the starting point of the second circuit. The component ID (second starting component) and the pin ID of the starting point of the second circuit (second starting pin) are included.
In the setting No. 1, the PINF of the component IC10 of the first circuit and the PINB of the component IC50 of the second circuit correspond to the verification start points.
As shown in FIG. 4A, a plurality of verification conditions can be set.
***動作の説明***
次に、図6を参照して、本実施の形態に係る情報処理装置100の動作例を説明する。
以下では、図4に示す検証条件が設定された後の処理を説明する。
なお、図6に示す処理手順は、情報処理方法及び情報処理プログラムの例に相当する。
*** Explanation of operation ***
Next, an operation example of the
In the following, processing after the verification conditions shown in FIG. 4 are set will be described.
Note that the processing procedure illustrated in FIG. 6 corresponds to an example of an information processing method and an information processing program.
先ず、比較対象抽出部102の第1の回路比較部分抽出部1021が、検証条件に定義されている第1の起点部品の第1の起点ピンが接続するネットを第1のネットリストから抽出する(ステップS601)。
First, the first circuit comparison
次に、第1の回路比較部分抽出部1021は、ステップS601で抽出したネットに接続する部品(第1の接続部品)の部品属性情報を部品データベース(以下では、部品DBとも表記する)から取得する(ステップS602)。
図5に、部品属性情報の例を示す。
部品属性情報には部品IDとその部品の属性が示される。
部品属性情報に示される属性は例えば、抵抗であれば抵抗値、コンデンサであれば容量値のような特性値や、部品型番、パッケージ種などである。
ステップS602の処理により、第1の回路の比較対象ネットに接続する第1の接続部品の部品属性情報が抽出される。
Next, the first circuit comparison
FIG. 5 shows an example of component attribute information.
The component attribute information includes a component ID and an attribute of the component.
The attributes shown in the component attribute information are, for example, a characteristic value such as a resistance value for a resistor and a capacitance value for a capacitor, a component model number, a package type, and the like.
By the processing in step S602, the component attribute information of the first connection component connected to the comparison target net of the first circuit is extracted.
次に、比較対象抽出部102の第2の回路比較部分抽出部1022が、検証条件に定義されている第2の起点部品の第2の起点ピンが接続するネットを第2のネットリストから抽出する(ステップS603)。
Next, the second circuit comparison
次に、第2の回路比較部分抽出部1022は、ステップS603で抽出したネットに接続する部品(第2接続部品)の部品属性情報を部品データベースから取得する(ステップS604)。
ステップS604の処理により、第2の回路の比較対象ネットに接続する第2の接続部品の部品属性情報が抽出される。
Next, the second circuit comparison
By the processing in step S604, the component attribute information of the second connection component connected to the comparison target net of the second circuit is extracted.
次に、差異抽出部103が、第1の接続部品と第2の接続部品が同一であるか否かを判定する(S605)。
より具体的には、接続部品比較部1031が、ステップS602で抽出された部品属性情報とステップS604で抽出された部品属性情報とを比較し、接続先部品ピン比較部1032が、第1のネットリストと第2のネットリストとを照合して、第1の接続部品がステップS601で抽出されたネットと接続している接続ピンと第2の接続部品がステップS603で抽出されたネットと接続している接続ピンとを比較する。
差異抽出部103は、部品属性情報の一致状況、接続ピンの一致状況から、第1の接続部品と第2の接続部品が同一であるか否かを判定する。
差異抽出部103は、例えば、第1の接続部品の部品属性情報と第2の接続部品の部品属性情報で一部の項目が一致すれば第1の接続部品と第2の接続部品が同一であると判定してもよいし、指定された複数の項目あるいは全ての項目が一致してはじめて第1の接続部品と第2の接続部品が同一であると判断してもよい。
また、第1の接続部品と第2の接続部品が同一の回路であると判定するには、第1の接続部品の接続ピンと第2の接続部品の接続ピンが一致していることも必要である。
ただし、抵抗や一部のコンデンサのようにピンに極性がない部品については「極性無しの部品リスト」に部品を登録することで接続ピンが異なっていても同一と見なすという検証も可能である。
差異抽出部103は、比較対象部分の第1の接続部品と第2の接続部品がすべて同一であれば、その比較対象部分は同一であると判定する。
例えば、第1の接続部品が10個である場合、10個の第1の接続部品の部品属性情報および接続ピン名が10個の第2の接続部品の部品属性情報および接続ピン名と同一であれば、第1の回路と第2の回路の比較対象部分は同一である。
Next, the
More specifically, the connection
The
For example, the
Further, in order to determine that the first connection component and the second connection component are the same circuit, it is also necessary that the connection pins of the first connection component and the connection pins of the second connection component match. is there.
However, it is possible to verify that components having no polarity such as resistors and some capacitors are regarded as the same even if the connection pins are different by registering the components in the “component list without polarity”.
The
For example, when there are ten first connection parts, the part attribute information and connection pin names of the ten first connection parts are the same as the part attribute information and connection pin names of the ten second connection parts. If so, the comparison target portions of the first circuit and the second circuit are the same.
検証条件に、まだ検証していない第1の起点ピンと第2の起点ピンの対があれば(S606でYES)、S601以降の処理を繰り返す。
既に全ての起点ピンの対について検証が完了している場合(S606でNO)は、処理を終了する。
If the verification condition includes a pair of the first starting pin and the second starting pin that has not been verified yet (YES in S606), the processing from S601 is repeated.
If verification has already been completed for all starting pin pairs (NO in S606), the process ends.
次に、図6の処理フローを図3、図4及び図5の例を用いて説明する。 Next, the processing flow of FIG. 6 will be described using the examples of FIGS.
図4(a)の検証条件の設定No:1では、第1の起点ピンは、部品:IC10のPINFというピンであるため、第1の回路比較部分抽出部1021は、このピンが接続するネットであるNETAを第1のネットリストから抽出する(ステップS601)。
次に、第1の回路比較部分抽出部1021は、ネットNETAに接続する部品であるR10の部品属性情報を部品DBから取得する(ステップS602)。
次に、図4(a)の検証条件の設定No:1では、第2の起点ピンは、部品:IC50のPINBというピンであるため、第2の回路比較部分抽出部1022は、このピンが接続するネットであるNETBを第2のネットリストから抽出する(ステップS603)。
次に、第2の回路比較部分抽出部1022は、ネットNETBに接続する部品であるR20の部品属性情報を部品DBから取得する(ステップS604)。
次に、接続部品比較部1031がR10の部品属性情報とR20の部品属性情報とを比較する。
接続部品比較部1031は、図5の場合は、パッケージ及びメーカは同じであるが、部品ID、特性値1、特性値2、型番が異なっていることを確認する。
また、接続部品比較部1031は、R10がNETAに接続する接続ピンはPINAであり、R20がNETBに接続する接続ピンもPINAであることを確認する。
この結果、差異抽出部103は、例えば、R10とR30が同一ではないと判定する。
In the verification condition setting No: 1 in FIG. 4A, since the first starting pin is a pin called PINF of the component: IC10, the first circuit comparison
Next, the first circuit comparison
Next, in the verification condition setting No. 1 of FIG. 4A, since the second starting pin is a pin called PINB of the component: IC50, the second circuit comparison
Next, the second circuit comparison
Next, the connected
In the case of FIG. 5, the connection
In addition, the connection
As a result, the
差異抽出部103による検証が終了すると、検証結果表示部104が検証結果を表示する。
例えば、検証結果表示部104は、第1の回路と第1の回路の比較対象部分を同時に表示装置300に表示することで、第1の回路全体および検出した差異の視覚的な認識を可能とする。
また、差異箇所をハイライトするなど強調表示してより明確にする方法もある。
差異箇所のハイライト表示においては、第1の回路と第2の回路で同種の部品が接続しているが特性値など部品属性情報の一部が異なる場合は第1の回路及び第2の回路の両方の図面の当該部品をハイライトする。
第1の回路には存在するが第2の回路には存在しない部品は、検証結果表示部104は、第1の回路の図面の当該部品をハイライトする。
第1の回路には存在しないが第2の回路には存在する部品は、第2の回路の図面の当該部品をハイライトする。
図9に、検証結果表示部104による画面表示イメージを示す。
When the verification by the
For example, the verification
In addition, there is a method of highlighting and highlighting a difference portion to make it clearer.
In the highlight display of the difference portion, when the same type of components are connected in the first circuit and the second circuit, but part of the component attribute information such as the characteristic value is different, the first circuit and the second circuit Highlight the part in both drawings.
For a component that exists in the first circuit but does not exist in the second circuit, the verification
A component that is not present in the first circuit but present in the second circuit highlights that component in the drawing of the second circuit.
FIG. 9 shows a screen display image by the verification
***実施の形態の効果の説明***
本実施の形態では、第1の起点部品の起点ピンと、第1の起点部品の起点ピンに対応する第2の起点部品の起点ピンとを起点とするため、第1の回路の起点の部品と第2の回路の起点の部品とが異なっていても、第1の回路と第2の回路とを比較することができる。
*** Explanation of the effect of the embodiment ***
In this embodiment, since the starting pin of the first starting component and the starting pin of the second starting component corresponding to the starting pin of the first starting component are used as starting points, the starting component of the first circuit and the Even if the starting parts of the two circuits are different, the first circuit and the second circuit can be compared.
実施の形態2.
実施の形態1では、比較対象抽出部102において、使用者が指定した部品IDのピンを起点として第1の回路と第2の回路の比較対象部分を抽出したが、比較対象部分を自動で抽出することも可能である。
In the first embodiment, the comparison
***構成の説明***
図7は、本実施の形態に係る情報処理装置100の構成例を示す。
情報処理装置100の機能構成としては、図2に示すものと同様であるが、本実施の形態では、比較対象抽出部102は部品抽出部として機能するとともに接続線抽出部としても機能する。
本実施の形態では、比較対象抽出部102は、部品抽出部として、第1の回路に含まれる複数の部品と複数のネット(接続線)との接続関係が示される第1のネットリスト(第1の接続関係情報)を参照して、第1の回路に含まれるネットごとに、当該ネットに接続される部品を第1の接続部品として抽出する。
また、比較対象抽出部102は、第2の回路に含まれる複数の部品と複数のネット(接続線)との接続関係が示される第2のネットリスト(第2の接続関係情報)を参照して、第2の回路に含まれるネットごとに、当該ネットに接続される部品を第2の接続部品として抽出する。
更に、比較対象抽出部102は、接続線抽出部として、第2の回路に含まれるネットごとに、当該ネットに対して抽出された第2の接続部品と同じ第1の接続部品が抽出されている割合が閾値以上である第1の回路に含まれるネットを抽出する。
また、比較対象抽出部102は、第1の回路のネットを抽出するにあたって、第1の回路及び第2の回路に含まれる複数の部品の属性が示される複数の部品属性情報の中から、第1の接続部品の部品属性情報と第2の接続部品の部品属性情報とを取得する。
そして、比較対象抽出部102は、取得した部品属性情報を参照して、第2の回路に含まれるネットごとに、当該ネットに対して抽出された第2の接続部品と同じ第1の接続部品が抽出されている割合が閾値以上である第1の回路に含まれるネットを抽出する。
なお、本実施の形態では、比較対象抽出部102で行われる処理が、部品抽出ステップ及び接続線抽出ステップの例に相当する。
*** Explanation of configuration ***
FIG. 7 shows a configuration example of the
The functional configuration of the
In the present embodiment, the comparison
In addition, the comparison
Further, the comparison
In addition, when extracting the net of the first circuit, the comparison
Then, the comparison
In the present embodiment, the processing performed by the comparison
***動作の説明***
次に、本実施の形態に係る情報処理装置100の動作例を図8を参照して説明する。
なお、図8に示す処理手順は、情報処理方法及び情報処理プログラムの例に相当する。
*** Explanation of operation ***
Next, an operation example of the
Note that the processing procedure illustrated in FIG. 8 corresponds to an example of an information processing method and an information processing program.
まず、第2の回路比較部分抽出部1022が、第2の回路のネットリストである第2のネットリストから、すべてのネットを比較対象の回路部分として取得する(ステップS801)。
First, the second circuit comparison
次に、第2の回路比較部分抽出部1022が、ステップS801で取得されたネットに接続する第2の接続部品を第2のネットリストから抽出するとともに、第2の接続部品の部品属性情報を部品DBから取得する(ステップS802)。
Next, the second circuit comparison
次に、第1の回路比較部分抽出部1021が、第1の回路のネットリストである第1のネットリストから、すべてのネットを取得する(ステップS803)。
Next, the first circuit comparison
次に、第1の回路比較部分抽出部1021が、ステップS803で取得されたネットに接続する第1の接続部品を第1のネットリストから抽出するとともに、第1の接続部品の部品属性情報を部品DBから取得する(ステップS804)。
Next, the first circuit comparison
次に、比較対象抽出部102は、ステップS801で抽出された第2の回路のネットのうち、1つのネットを選択する(ステップS805)。
Next, the comparison
次に、比較対象抽出部102は、ステップS805で選択したネットに対してステップS802で抽出された第2の接続部品と同じ第1の接続部品が抽出されている割合が閾値上の第1の回路のネットがあれば、その第1の回路のネットを抽出する(ステップS806)。
Next, the comparison
次に、比較対象抽出部102は、第2の回路に未選択のネットが存在するか否かを判断し(ステップS807)、未選択のネットが存在する場合はステップS805以降の処理を繰り返す。
全てのネットについて選択している場合は、ステップS806で抽出した第1の回路のネットと、ステップS805で選択した第2の回路のネットとの対について、実施の形態1で説明した検証を行う(ステップS808)。
具体的には、第1の回路のネットと第2の回路のネットの対について、図6のステップS605の処理を行う。
Next, the comparison
If all nets have been selected, the verification described in the first embodiment is performed on the pair of the first circuit net extracted in step S806 and the second circuit net selected in step S805. (Step S808).
Specifically, the processing in step S605 in FIG. 6 is performed on the pair of the first circuit net and the second circuit net.
次に、ステップS806について、説明を補足する。
第2の回路内のある部分が第1の回路から流用されている場合は、その流用部分では第2の回路と第1の回路で回路構成は全く同一である。
しかしながら、第2の回路の定義の際の流用ミスにより第1の回路の回路構成の一部が変化した回路構成が第2の回路で定義されている可能性がある。
本実施の形態では、このような第2の回路の定義の際の流用ミスによって、第1の回路の回路構成の一部が変更された回路構成が含まれる第2の回路を検出する。
このため、本実施の形態に係る比較対象抽出部102は、第1の回路とほぼ同一であるが一部が異なる第2の回路の部分も特定する必要がある。
より具体的には、比較対象抽出部102は、ステップS805で選択した第2の回路のネットに対して抽出された第2の接続部品の組み合わせと、第1の回路のネットに対して抽出された第1の接続部品の組み合わせが一致している割合(一致率)が閾値以上である場合に、第2の回路のネットは、第1の回路の当該ネットからの流用箇所であると判断し、ステップS806で第1の回路の当該ネットを抽出する。
例えば、第2の回路のネットの第2の接続部品が10個ある場合に、第2の接続部品のうちの9個が、第1の回路のあるネットの第1の接続部品と一致している場合は、一致率は90%となる。
この場合に閾値が80%であれば、第1の回路のこのネットが抽出される。
但し、上記の方法で一致率を求めると例えば抵抗と抵抗をつなぐネットなどは回路中に多数出現するためマッチング候補が多数現れ正確に判定できない場合がある。
このような場合は、接続部品数が一定の数以上のネットについてのみマッチングを試みる、つまり、それ未満のネットについては検証を行わないようにすることにより、対象回路の絞り込み、マッチング精度の向上を実現する。
また、たとえば電源やグランドといったネットのように多数の部品に接続するが差異検証の対象から除外したいという場合に応えるために、使用者が指定したネット名については前記の基準に依らずに検証対象外とするようにしてもよい。
また、接続部品が同一ではないが類似である場合、例えば抵抗値が異なる抵抗部品が接続しているような箇所は0.5個分の一致箇所とカウントして一致率に反映するようにしてもよい。
Next, a description of step S806 will be supplemented.
When a certain part in the second circuit is diverted from the first circuit, the circuit configuration is completely the same in the diverted part in the second circuit and the first circuit.
However, there is a possibility that a circuit configuration in which a part of the circuit configuration of the first circuit is changed due to a misuse in the definition of the second circuit is defined in the second circuit.
In the present embodiment, a second circuit including a circuit configuration in which a part of the circuit configuration of the first circuit is changed due to such misuse in the definition of the second circuit is detected.
For this reason, the comparison
More specifically, the comparison
For example, when there are ten second connection parts of the net of the second circuit, nine of the second connection parts coincide with the first connection parts of the net of the first circuit. If it is, the coincidence rate is 90%.
In this case, if the threshold is 80%, this net of the first circuit is extracted.
However, when the coincidence rate is obtained by the above method, for example, many nets connecting resistors and resistors appear in the circuit, and thus there are cases where many matching candidates appear and cannot be accurately determined.
In such a case, try matching only for nets with a certain number of connected parts or more, that is, avoid verification for nets less than that, thereby narrowing down the target circuit and improving matching accuracy. Realize.
In addition, in order to respond to the case where a large number of parts are connected, such as a net such as a power supply or ground, but it is desired to exclude them from the target of difference verification, the net name specified by the user is subject to verification regardless of the above criteria. It may be outside.
Also, if the connected parts are not the same, but are similar, for example, a part where resistance parts having different resistance values are connected is counted as a matching part for 0.5 and reflected in the matching rate. Also good.
***実施の形態の効果の説明***
以上、本実施の形態によれば、比較対象とする第1の回路の部分と第2の回路の部分を抽出するため、ユーザの利便性を向上することができる。
*** Explanation of the effect of the embodiment ***
As described above, according to the present embodiment, since the first circuit portion and the second circuit portion to be compared are extracted, the convenience for the user can be improved.
***ハードウェア構成の説明***
最後に、情報処理装置100のハードウェア構成の補足説明を行う。
図1に示すプロセッサ151は、プロセッシングを行うIC(Integrated Circuit)である。
プロセッサ151は、CPU(Central Processing Unit)、DSP(Digital Signal Processor)等である。
図1に示すメモリ152は、RAM(Random Access Memory)である。
また、HDD250には、OS(Operating System)も記憶されている。
そして、OSの少なくとも一部がプロセッサ151により実行される。
プロセッサ151はOSの少なくとも一部を実行しながら、「部」の機能を実現するプログラムを実行する。
図1では、1つのプロセッサが図示されているが、情報処理装置100が複数のプロセッサを備えていてもよい。
また、「部」の処理の結果を示す情報やデータや信号値や変数値が、メモリ152、記憶装置200又は、プロセッサ151内のレジスタ又はキャッシュメモリに記憶される。
また、「部」の機能を実現するプログラムは、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ブルーレイ(登録商標)ディスク、DVD等の可搬記憶媒体に記憶されてもよい。
*** Explanation of hardware configuration ***
Finally, a supplementary description of the hardware configuration of the
A
The
The
The
At least a part of the OS is executed by the
The
Although one processor is illustrated in FIG. 1, the
In addition, information, data, signal values, and variable values indicating the processing results of the “unit” are stored in the
The program for realizing the function of “unit” may be stored in a portable storage medium such as a magnetic disk, a flexible disk, an optical disk, a compact disk, a Blu-ray (registered trademark) disk, or a DVD.
また、「部」を、「回路」又は「工程」又は「手順」又は「処理」に読み替えてもよい。
また、情報処理装置100は、ロジックIC(Integrated Circuit)、GA(Gate Array)、ASIC(Application Specific Integrated Circuit)、FPGA(Field−Programmable Gate Array)といった電子回路により実現されてもよい。
この場合は、「部」は、それぞれ電子回路の一部として実現される。
なお、プロセッサ及び上記の電子回路を総称してプロセッシングサーキットリーともいう。
In addition, “part” may be read as “circuit” or “process” or “procedure” or “processing”.
The
In this case, each “unit” is realized as part of an electronic circuit.
The processor and the electronic circuit are also collectively referred to as a processing circuit.
100 情報処理装置、101 検証条件設定部、102 比較対象抽出部、1021 第1の回路比較部分抽出部、1022 第2の回路比較部分抽出部、103 差異抽出部、1031 接続部品比較部、1032 接続先部品ピン比較部、104 検証結果表示部、151 プロセッサ、152 メモリ、200 記憶装置、250 HDD、300 表示装置、400 入力装置。
DESCRIPTION OF
Claims (8)
前記第1の回路での部品間の接続関係が示される第1の接続関係情報を参照して、前記第1の起点ピンに接続されている部品を第1の接続部品として抽出し、前記第2の回路での部品間の接続関係が示される第2の接続関係情報を参照して、前記第2の起点ピンに接続されている部品を第2の接続部品として抽出する部品抽出部と、
前記第1の接続部品と前記第2の接続部品とが同一であるか否かを判定する判定部とを有する情報処理装置。 A first starting part which is an arbitrary part of a plurality of parts included in the first circuit is shown, and an arbitrary pin of the plurality of pins included in the first starting part is a first part. The first starting point information indicated as the starting pin and the part corresponding to the first starting part among the plurality of parts included in the second circuit are indicated as the second starting part, and the second starting point An information acquisition unit that acquires second starting point information in which a pin corresponding to the first starting point pin is indicated as a second starting point pin among a plurality of pins included in the component;
With reference to first connection relation information indicating a connection relation between parts in the first circuit, a part connected to the first starting pin is extracted as a first connection part, and the first A component extraction unit that extracts a component connected to the second starting pin as a second connection component with reference to second connection relationship information indicating a connection relationship between components in the circuit of 2;
An information processing apparatus comprising: a determination unit that determines whether the first connection component and the second connection component are the same.
前記第1の回路及び前記第2の回路に含まれる複数の部品の属性が示される複数の部品属性情報の中から、前記第1の接続部品の部品属性情報と前記第2の接続部品の部品属性情報とを取得し、
取得した部品属性情報を参照して、前記第1の接続部品と前記第2の接続部品とが同一であるか否かを判定する請求項1に記載の情報処理装置。 The determination unit
The component attribute information of the first connection component and the component of the second connection component from the component attribute information indicating the attributes of the components included in the first circuit and the second circuit. Get attribute information,
The information processing apparatus according to claim 1, wherein the information processing apparatus determines whether or not the first connection component and the second connection component are the same with reference to the acquired component attribute information.
前記第2の回路に含まれる接続線ごとに、当該接続線に対して抽出された第2の接続部品と同じ第1の接続部品が抽出されている割合が閾値以上である第1の回路に含まれる接続線を抽出する接続線抽出部とを有する情報処理装置。 With reference to the first connection relationship information indicating the connection relationship between a plurality of components included in the first circuit and a plurality of connection lines, for each connection line included in the first circuit, The component to be connected is extracted as the first connection component, and the second connection relationship information indicating the connection relationship between the plurality of components included in the second circuit and the plurality of connection lines is referred to, and the second A component extraction unit that extracts a component connected to the connection line as a second connection component for each connection line included in the circuit;
For each connection line included in the second circuit, the first circuit in which a ratio of the same first connection component as the second connection component extracted for the connection line is equal to or greater than a threshold value. An information processing apparatus comprising: a connection line extraction unit that extracts connection lines included.
前記第1の回路及び前記第2の回路に含まれる複数の部品の属性が示される複数の部品属性情報の中から、第1の接続部品の部品属性情報と第2の接続部品の部品属性情報とを取得し、
取得した部品属性情報を参照して、前記第2の回路に含まれる接続線ごとに、当該接続線に対して抽出された第2の接続部品と同じ第1の接続部品が抽出されている割合が閾値以上である第1の回路に含まれる接続線を抽出する請求項3に記載の情報処理装置。 The connection line extraction unit
The component attribute information of the first connection component and the component attribute information of the second connection component from the component attribute information indicating the attributes of the components included in the first circuit and the second circuit. And get the
Percentage in which the same first connection component as the second connection component extracted for the connection line is extracted for each connection line included in the second circuit with reference to the acquired component attribute information The information processing apparatus according to claim 3, wherein connection lines included in the first circuit having a value equal to or greater than a threshold value are extracted.
前記コンピュータが、前記第1の回路での部品間の接続関係が示される第1の接続関係情報を参照して、前記第1の起点ピンに接続されている部品を第1の接続部品として抽出し、前記第2の回路での部品間の接続関係が示される第2の接続関係情報を参照して、前記第2の起点ピンに接続されている部品を第2の接続部品として抽出する部品抽出ステップと、
前記コンピュータが、前記第1の接続部品と前記第2の接続部品とが同一であるか否かを判定する判定ステップとを有する情報処理方法。 A first starting component that is an arbitrary component of the plurality of components included in the first circuit is indicated by the computer, and an arbitrary pin of the plurality of pins included in the first starting component is The first starting point information indicated as the first starting point pin and the part corresponding to the first starting point component among the plurality of parts included in the second circuit are indicated as the second starting point part. An information acquisition step of acquiring second starting point information in which a pin corresponding to the first starting point pin is indicated as a second starting point pin among a plurality of pins included in the two starting point components;
The computer refers to first connection relation information indicating a connection relation between parts in the first circuit, and extracts a part connected to the first starting pin as a first connection part. Then, referring to the second connection relationship information indicating the connection relationship between the components in the second circuit, the component that extracts the component connected to the second starting pin as the second connection component An extraction step;
An information processing method comprising: a determination step of determining whether or not the first connection component and the second connection component are the same.
前記コンピュータが、前記第2の回路に含まれる接続線ごとに、当該接続線に対して抽出された第2の接続部品と同じ第1の接続部品が抽出されている割合が閾値以上である第1の回路に含まれる接続線を抽出する接続線抽出ステップとを有する情報処理方法。 For each connection line included in the first circuit, the computer refers to first connection relation information indicating a connection relation between a plurality of components included in the first circuit and a plurality of connection lines. The component connected to the connection line is extracted as the first connection component, and referring to the second connection relationship information indicating the connection relationship between the plurality of components included in the second circuit and the plurality of connection lines, For each connection line included in the second circuit, a component extraction step for extracting a component connected to the connection line as a second connection component;
For each connection line included in the second circuit, the computer extracts a first connection component that is the same as the second connection component extracted with respect to the connection line. An information processing method comprising: a connection line extracting step for extracting a connection line included in one circuit.
前記第1の回路での部品間の接続関係が示される第1の接続関係情報を参照して、前記第1の起点ピンに接続されている部品を第1の接続部品として抽出し、前記第2の回路での部品間の接続関係が示される第2の接続関係情報を参照して、前記第2の起点ピンに接続されている部品を第2の接続部品として抽出する部品抽出ステップと、
前記第1の接続部品と前記第2の接続部品とが同一であるか否かを判定する判定ステップとをコンピュータに実行させる情報処理プログラム。 A first starting part which is an arbitrary part of a plurality of parts included in the first circuit is shown, and an arbitrary pin of the plurality of pins included in the first starting part is a first part. The first starting point information indicated as the starting pin and the part corresponding to the first starting part among the plurality of parts included in the second circuit are indicated as the second starting part, and the second starting point An information acquisition step of acquiring second starting point information in which a pin corresponding to the first starting point pin is indicated as a second starting point pin among a plurality of pins included in the component;
With reference to first connection relation information indicating a connection relation between parts in the first circuit, a part connected to the first starting pin is extracted as a first connection part, and the first A component extraction step of extracting a component connected to the second starting pin as a second connection component with reference to second connection relationship information indicating a connection relationship between components in the circuit of 2;
An information processing program for causing a computer to execute a determination step of determining whether or not the first connection component and the second connection component are the same.
前記第2の回路に含まれる接続線ごとに、当該接続線に対して抽出された第2の接続部品と同じ第1の接続部品が抽出されている割合が閾値以上である第1の回路に含まれる接続線を抽出する接続線抽出ステップとをコンピュータに実行させる情報処理プログラム。 With reference to the first connection relationship information indicating the connection relationship between a plurality of components included in the first circuit and a plurality of connection lines, for each connection line included in the first circuit, The component to be connected is extracted as the first connection component, and the second connection relationship information indicating the connection relationship between the plurality of components included in the second circuit and the plurality of connection lines is referred to, and the second For each connection line included in the circuit, a component extraction step for extracting a component connected to the connection line as a second connection component;
For each connection line included in the second circuit, the first circuit in which a ratio of the same first connection component as the second connection component extracted for the connection line is equal to or greater than a threshold value. An information processing program for causing a computer to execute a connection line extraction step of extracting a connection line included.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016004779A JP6594211B2 (en) | 2016-01-13 | 2016-01-13 | Information processing apparatus, information processing method, and information processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016004779A JP6594211B2 (en) | 2016-01-13 | 2016-01-13 | Information processing apparatus, information processing method, and information processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017126184A JP2017126184A (en) | 2017-07-20 |
| JP6594211B2 true JP6594211B2 (en) | 2019-10-23 |
Family
ID=59365496
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016004779A Active JP6594211B2 (en) | 2016-01-13 | 2016-01-13 | Information processing apparatus, information processing method, and information processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6594211B2 (en) |
-
2016
- 2016-01-13 JP JP2016004779A patent/JP6594211B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017126184A (en) | 2017-07-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018082462A1 (en) | Application interface traversing method and system, and testing device | |
| US20150094997A1 (en) | Explaining partially illegal combinations in combinatorial models | |
| CN104933214B (en) | Integrated circuit design method and apparatus | |
| JP6042974B2 (en) | Data management apparatus, data management method, and non-temporary recording medium | |
| CN116303459A (en) | Method and system for processing data tables | |
| CN115374009A (en) | Interface automation test method, device, equipment, medium and program product | |
| CN111046073A (en) | Test case query method, device and readable storage medium | |
| CN111309586A (en) | Command testing method, device and storage medium thereof | |
| JP5398663B2 (en) | Data processing apparatus, data processing method, and program | |
| CN110362481A (en) | Automatic test approach and terminal device | |
| CN116414716A (en) | Stability test method for application program, terminal equipment and storage medium | |
| JP6594211B2 (en) | Information processing apparatus, information processing method, and information processing program | |
| JP2014164385A (en) | Requirement detection device and requirement detection program | |
| JP6907689B2 (en) | Defect search program, defect search method and defect search device | |
| US8302045B2 (en) | Electronic device and method for inspecting electrical rules of circuit boards | |
| CN107656187B (en) | Differential line test information determining method and device | |
| KR102417677B1 (en) | Similar circuit searching method and apparatus for verifing circuit | |
| CN116701215A (en) | Interface test case generation method, system, device and storage medium | |
| CN110727639B (en) | Fragmented data reading method, electronic device, system and media | |
| CN112395594B (en) | Method, device and equipment for processing instruction execution sequence | |
| JP6089849B2 (en) | Program, information processing apparatus, and design verification method | |
| CN119396860B (en) | Population data sample expansion method, dialogue question-answering system, electronic device and storage medium | |
| JP7745510B2 (en) | Verification pattern check device and program | |
| US8468472B1 (en) | Computing device and method of checking wiring diagrams | |
| CN111552958B (en) | A method and device for extracting program running characteristics |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180822 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190711 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20190827 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190924 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6594211 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |