Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6949441B2 - Vector optimization device and vector optimization program - Google Patents
[go: Go Back, main page]

JP6949441B2 - Vector optimization device and vector optimization program - Google Patents

Vector optimization device and vector optimization program Download PDF

Info

Publication number
JP6949441B2
JP6949441B2 JP2018072481A JP2018072481A JP6949441B2 JP 6949441 B2 JP6949441 B2 JP 6949441B2 JP 2018072481 A JP2018072481 A JP 2018072481A JP 2018072481 A JP2018072481 A JP 2018072481A JP 6949441 B2 JP6949441 B2 JP 6949441B2
Authority
JP
Japan
Prior art keywords
duplicate
sequence
vector
duplicate sequence
vector optimization
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
Application number
JP2018072481A
Other languages
Japanese (ja)
Other versions
JP2019185216A (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 Information Systems Japan Corp
Original Assignee
Toshiba Information Systems Japan 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 Information Systems Japan Corp filed Critical Toshiba Information Systems Japan Corp
Priority to JP2018072481A priority Critical patent/JP6949441B2/en
Publication of JP2019185216A publication Critical patent/JP2019185216A/en
Application granted granted Critical
Publication of JP6949441B2 publication Critical patent/JP6949441B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、ベクタ適正化装置及びベクタ適正化用プログラムに関するものである。 The present invention relates to a vector optimization device and a vector optimization program.

ディジタル検証では検証対象となるRTLに対してベクタと呼ばれる入力ファイルを作成して、RTLが正常に動作しているか確認を行う。通常、ベクタは人間が考えて手作業で作成を行っている。ベクタを実行することにより実行ログを得ることができる。 In digital verification, an input file called a vector is created for the RTL to be verified, and it is confirmed whether the RTL is operating normally. Normally, vectors are created manually by humans. Execution log can be obtained by executing the vector.

特許文献1には、回路とテストベクタを使用したこれまでの検証手法では、膨大な検証時間が必要で、全てのケースを設計・検証者が考えて検証することは極めて困難である旨が述べられている。そこで、動作命題(プロパティ)と検証対象の論理回路(Device Under Test、以下DUTという)が一致しているかどうかを検証する動作命題検証システムが紹介されている。しかし現状では不十分であるとし、時系列信号値データから人手を介すことなく自動的に動作命題を作成するシステムが開示されている。 Patent Document 1 states that conventional verification methods using circuits and test vectors require a huge amount of verification time, and it is extremely difficult for a designer / verifier to consider and verify all cases. Has been done. Therefore, an operation proposition verification system that verifies whether or not the operation proposition (property) and the logic circuit to be verified (Device Under Test, hereinafter referred to as DUT) match is introduced. However, the current situation is insufficient, and a system for automatically creating an operation proposition from time-series signal value data without human intervention has been disclosed.

また、特許文献2には、従来のハードウェア設計ではまずハードウェアの仕様書を作成し、作成された仕様書に基づきRTL(レジスタ転送レベル、Register Transfer Levelの略)設計を行うことが開示され、つぎに、論理仕様検証を行う旨が記載されている。論理仕様検証では、検証シーケンスと期待値を作成し、論理シミュレーションにてその動作が期待値と一致しているかを確認することが開示されている。 Further, Patent Document 2 discloses that in the conventional hardware design, a hardware specification is first created, and then RTL (register transfer level, an abbreviation for Register Transfer Level) design is performed based on the created specification. Next, it is stated that the logical specification verification will be performed. In the logical specification verification, it is disclosed that a verification sequence and an expected value are created, and whether or not the operation matches the expected value is confirmed by a logical simulation.

更に、特許文献3には、人手によってテストベクタデータを作成する場合、テストベクタデータの作成に時間と手間を要し、その結果、短い設計期間において十分なテストベクタデータを作成することが極めて困難であるとの開示がなされている。 Further, in Patent Document 3, when the test vector data is manually created, it takes time and effort to create the test vector data, and as a result, it is extremely difficult to create sufficient test vector data in a short design period. It is disclosed that it is.

そのため、特許文献3では、検査対象の回路に入力される入力信号を記述したオリジナルテストベクタデータを記憶し、この記憶されているオリジナルテストベクタデータから、オリジナルテストベクタデータとは異なる生成テストベクタデータを生成することが開示されている。更に、検査対象の回路へ入力するテストベクタデータを出力する出力部と、オリジナルテストベクタデータに記述された入力信号の誤り発生率を記憶する誤り発生率記憶部、そして、乱数データを発生する乱数発生部を用いるものである。 Therefore, in Patent Document 3, original test vector data describing an input signal input to the circuit to be inspected is stored, and from this stored original test vector data, generation test vector data different from the original test vector data is stored. Is disclosed to generate. Further, an output unit that outputs test vector data to be input to the circuit to be inspected, an error occurrence rate storage unit that stores the error occurrence rate of the input signal described in the original test vector data, and a random number that generates random number data. The generator is used.

これらを用いて、誤り発生率記憶部に記憶された入力信号の誤り発生率と乱数データとを比較し、ベクタ出力部は、入力信号の誤り発生率より乱数データが小さい場合、生成テストベクタデータを出力し、入力信号の誤り発生率より乱数データが大きい場合、オリジナルテストベクタデータを出力するというものである。 Using these, the error occurrence rate of the input signal stored in the error occurrence rate storage unit is compared with the random number data, and the vector output unit generates test vector data when the random number data is smaller than the error occurrence rate of the input signal. Is output, and when the random number data is larger than the error occurrence rate of the input signal, the original test vector data is output.

2008−97504号公報2008-97504 2009−110417号公報2009-110417 2010−203937号公報2010-203037

上記の通り、ベクタについては上記のように適正化する装置が存在しているものの、重複記述を削減する観点からのものはなかった。しかしながら、ベクタは人手によって作成される場合がほとんどであり、最初に作成したベクタに変更を加えてより効率的にディジタル検証を行う観点からのベクタに関する技術提供はなされておらず、極めて不便なものであった。 As described above, although there is a device for optimizing the vector as described above, there is no device from the viewpoint of reducing duplicate description. However, in most cases, the vector is created manually, and the technology related to the vector has not been provided from the viewpoint of modifying the vector created first to perform digital verification more efficiently, which is extremely inconvenient. Met.

本発明はこのようなディジタル検証における問題点を解決せんとしてなされたもので、その目的は、重複記述を削減して新たな効率的な複数のベクタを作成することへつながるベクタ適正化装置を提供することである。 The present invention has been made to solve such problems in digital verification, and an object of the present invention is to provide a vector optimization device that reduces duplicate descriptions and leads to the creation of new and efficient multiple vectors. It is to be.

本発明に係るベクタ適正化装置は、ステートマシンの動作を検証するディジタル検証装置へ動作検証動作を行わせる複数のベクタを入力して検証動作を実行させて複数の前記ベクタに対応するログを得るログ収集手段と、複数の前記ベクタに対応するログを検査して重複するシーケンスを検出する重複シーケンス検出手段と、前記重複シーケンス検出手段により重複するシーケンスが検出された場合に、重複するシーケンスが存在することを示す警告表示を行う警告表示処理手段とを具備することを特徴とする。 The vector optimization device according to the present invention inputs a plurality of vectors for performing the operation verification operation to the digital verification device for verifying the operation of the state machine, executes the verification operation, and obtains a log corresponding to the plurality of the vectors. There are a log collecting means, a duplicate sequence detecting means for inspecting logs corresponding to a plurality of the vectors to detect duplicate sequences, and a duplicate sequence when a duplicate sequence is detected by the duplicate sequence detecting means. It is characterized by comprising a warning display processing means for displaying a warning indicating that the device is to be used.

本発明に係るベクタ適正化装置では、前記重複するシーケンスが存在する場合に重複するシーケンスの記述を削除する重複シーケンス削除手段を備えることを特徴とする。 The vector optimization device according to the present invention is characterized by comprising a duplicate sequence deleting means for deleting the description of the duplicate sequence when the duplicate sequence exists.

本発明に係るベクタ適正化装置では、前記重複シーケンス削除手段は、前記重複するシーケンスが存在する場合に時間が最も早い重複するシーケンス記述を残して削除する。 In the vector optimization device according to the present invention, the duplicate sequence deleting means deletes the duplicate sequence by leaving the duplicate sequence description having the earliest time when the duplicate sequence exists.

本発明に係るベクタ適正化装置では前記警告表示処理手段は、重複するシーケンスの記述と、前記重複するベクタの識別情報とを表示して警告表示することを特徴とする。 In the vector optimization device according to the present invention, the warning display processing means displays a description of overlapping sequences and identification information of the overlapping vectors to display a warning.

本発明に係るベクタ適正化装置では、前記警告表示処理手段は、重複するシーケンスの記述と、前記重複するベクタの識別情報とを表示して、削除するシーケンスの記述の指示を求める警告表示を行い、削除手段は、前記指示に基づき削除を行うことを特徴とする。 In the vector optimization device according to the present invention, the warning display processing means displays the description of the duplicate sequence and the identification information of the duplicate vector, and displays a warning requesting an instruction to describe the sequence to be deleted. The deletion means is characterized in that the deletion is performed based on the above instruction.

本発明に係るベクタ適正化装置では、前記重複シーケンス検出手段は、前記ステートマシンのステート変化が同一のログを見つけて重複のシーケンスであると判断することを特徴とする。 In the vector optimization device according to the present invention, the duplicate sequence detecting means finds a log in which the state change of the state machine is the same and determines that the sequence is a duplicate.

本発明に係るベクタ適正化装置では前記重複シーケンス検出手段は、前記ステートマシンの所定信号の変化を一定時間内において行われていることに対応するログを見つけて重複のシーケンスであると判断することを特徴とする。 In the vector optimization device according to the present invention, the duplicate sequence detecting means finds a log corresponding to the change of a predetermined signal of the state machine within a certain time and determines that the sequence is duplicate. It is characterized by.

本発明に係るベクタ適正化装置では、前記重複シーケンス検出手段は、前記ステートマシンの所定信号の変化繰り返しが所定時間内において行われていることに対応するログを見つけて重複のシーケンスであると判断することを特徴とする。 In the vector optimization device according to the present invention, the duplication sequence detecting means finds a log corresponding to the repeated change of a predetermined signal of the state machine within a predetermined time, and determines that the duplication sequence is present. It is characterized by doing.

本発明に係るベクタ適正化用プログラムは、コンピュータを、ステートマシンの動作を検証するディジタル検証装置へ動作検証動作を行わせる複数のベクタを入力して検証動作を実行させて複数の前記ベクタに対応するログを得るログ収集手段、複数の前記ベクタに対応するログを検査して重複するシーケンスを検出する重複シーケンス検出手段、前記重複シーケンス検出手段により重複するシーケンスが検出された場合に、重複するシーケンスが存在することを示す警告表示を行う警告表示処理手段として機能させることを特徴とする。 The vector optimization program according to the present invention corresponds to the plurality of vectors by inputting a plurality of vectors for causing the computer to perform the operation verification operation to the digital verification device for verifying the operation of the state machine and executing the verification operation. A log collecting means for obtaining a log to be performed, a duplicate sequence detecting means for inspecting logs corresponding to a plurality of the vectors to detect a duplicate sequence, and a duplicate sequence detecting means for detecting a duplicate sequence when the duplicate sequence detecting means detects a duplicate sequence. It is characterized in that it functions as a warning display processing means for displaying a warning indicating the existence of.

本発明に係るベクタ適正化用プログラムでは、前記コンピュータを更に、前記重複するシーケンスが存在する場合に重複するシーケンスの記述を削除する重複シーケンス削除手段として機能させることを特徴とする。 The vector optimization program according to the present invention is characterized in that the computer further functions as a duplicate sequence deleting means for deleting the description of the duplicate sequence when the duplicate sequence exists.

本発明に係るベクタ適正化用プログラムでは、前記コンピュータを前記重複シーケンス削除手段として、前記重複するシーケンスが存在する場合に時間が最も早い重複するシーケンス記述を残して削除するように機能させることを特徴とする。 The vector optimization program according to the present invention is characterized in that the computer functions as the duplicate sequence deletion means so as to leave and delete the duplicate sequence description having the earliest time when the duplicate sequence exists. And.

本発明に係るベクタ適正化用プログラムでは、前記コンピュータを前記警告表示処理手段として、重複するシーケンスの記述と、前記重複するベクタの識別情報とを表示して警告表示するように機能させることを特徴とする。 The vector optimization program according to the present invention is characterized in that the computer is used as the warning display processing means to display a description of a duplicate sequence and identification information of the duplicate vector to display a warning. And.

本発明に係るベクタ適正化用プログラムでは、前記コンピュータを前記警告表示処理手段として、重複するシーケンスの記述と、前記重複するベクタの識別情報とを表示して、削除するシーケンスの記述の指示を求める警告表示を行うように機能させ、前記コンピュータを削除手段として、前記指示に基づき削除を行うように機能させることを特徴とする。 In the vector optimization program according to the present invention, the computer is used as the warning display processing means to display the description of the duplicate sequence and the identification information of the duplicate vector, and request an instruction to describe the sequence to be deleted. It is characterized in that it functions to display a warning, and the computer is used as a deletion means to function to perform deletion based on the instruction.

本発明に係るベクタ適正化用プログラムでは、前記コンピュータを前記重複シーケンス検出手段として、前記ステートマシンのステート変化が同一のログを見つけて重複のシーケンスであると判断するように機能させることを特徴とする。 The vector optimization program according to the present invention is characterized in that the computer functions as the duplicate sequence detecting means so as to find the same log and determine that the state change of the state machine is a duplicate sequence. do.

本発明に係るベクタ適正化用プログラムでは、前記コンピュータを前記重複シーケンス検出手段として、前記ステートマシンの所定信号の変化を一定時間内において行われていることに対応するログを見つけて重複のシーケンスであると判断するように機能させることを特徴とする。 In the vector optimization program according to the present invention, the computer is used as the duplication sequence detection means, and a log corresponding to the change of a predetermined signal of the state machine within a certain period of time is found and the duplication sequence is used. It is characterized by making it function so as to judge that it exists.

本発明に係るベクタ適正化用プログラムでは、前記コンピュータを前記重複シーケンス検出手段として、前記ステートマシンの所定信号の変化繰り返しが所定時間内において行われていることに対応するログを見つけて重複のシーケンスであると判断するように機能させることを特徴とする。 In the vector optimization program according to the present invention, the computer is used as the duplication sequence detection means, and a log corresponding to the fact that the change repetition of the predetermined signal of the state machine is performed within a predetermined time is found and the duplication sequence is found. It is characterized in that it functions so as to determine that.

本発明によれば、重複記述を削減して新たな効率的な複数のベクタを作成することを可能とするという効果を奏する。 According to the present invention, it is possible to reduce duplicate descriptions and create a new and efficient plurality of vectors.

本発明に係るベクタ適正化装置の第1の実施形態を示すブロック図。The block diagram which shows the 1st Embodiment of the vector optimization apparatus which concerns on this invention. 本発明に係るベクタ適正化装置の実施形態において、1つ目のベクタを実行して得られるログを示す図。The figure which shows the log obtained by executing the 1st vector in embodiment of the vector optimization apparatus which concerns on this invention. 本発明に係るベクタ適正化装置の実施形態において、2つ目のベクタを実行して得られるログを示す図。The figure which shows the log obtained by executing the second vector in the embodiment of the vector optimization apparatus which concerns on this invention. 本発明に係るベクタ適正化装置の第2の実施形態を示すブロック図。The block diagram which shows the 2nd Embodiment of the vector optimization apparatus which concerns on this invention. 本発明に係るベクタ適正化装置の第3の実施形態を示すブロック図。The block diagram which shows the 3rd Embodiment of the vector optimization apparatus which concerns on this invention.

以下添付図面を参照して、本発明に係るベクタ適正化装置及びベクタ適正化用プログラムの実施形態を説明する。各図において、同一の構成要素には同一の符号を付して重複する説明を省略する。本実施形態では、ステートマシンの動作を検証するディジタル検証装置1−1、1−2、・・・、1−Nを用いる。ディジタル検証装置1−1、1−2、・・・、1−Nは、シミュレータにより構成することができる。ディジタル検証装置1−1、1−2、・・・、1−Nは、N台のコンピュータシステムにより構成することもでき、また、1台のコンピュータ内に設けることもできる。 Hereinafter, embodiments of the vector optimization device and the vector optimization program according to the present invention will be described with reference to the accompanying drawings. In each figure, the same components are designated by the same reference numerals, and duplicate description will be omitted. In this embodiment, digital verification devices 1-1, 1-2, ..., 1-N for verifying the operation of the state machine are used. The digital verification devices 1-1, 1-2, ..., 1-N can be configured by a simulator. The digital verification devices 1-1, 1-2, ..., 1-N can be configured by N computer systems, or can be provided in one computer.

ディジタル検証装置1−1には、ベクタ2−1を入力し、ディジタル検証装置1−2には、ベクタ2−2を入力し、・・・・、ディジタル検証装置1−Nには、ベクタ2−Nを入力する。ベクタ2−1、2−2、・・・、2−Nは、検査対象の回路に入力される入力信号を記述したファイルであり、検証カテゴリが異なるごとに作成されているものとすることができる。ベクタ2−1、2−2、・・・、2−Nは、データベース23に記憶されているものを用いることができる。 Vector 2-1 is input to the digital verification device 1-1, vector 2-2 is input to the digital verification device 1-2, ..., Vector 2 is input to the digital verification device 1-N. Enter −N. Vectors 2-1, 2-2, ..., 2-N are files describing the input signals input to the circuit to be inspected, and may be created for each different verification category. can. As the vectors 2-1, 2-2, ..., 2-N, those stored in the database 23 can be used.

ディジタル検証装置1−1、1−2、・・・、1−Nに、それぞれベクタ2−1、2−2、・・・、2−Nを入力して実行させることにより、ディジタル検証装置1−1、1−2、・・・、1−Nからはログ(log)3−1、3−2、・・・、3−Nが出力される。 The digital verification device 1 is executed by inputting the vectors 2-1, 2-2, ..., 2-N into the digital verification devices 1-1, 1-2, ..., 1-N, respectively. Logs 3-1, 3-2, ..., 3-N are output from -1, 1-2, ..., 1-N.

ログ3−1、3−2、・・・、3−Nは、本実施形態に係るベクタ生成装置10のログ収集手段11によって収集される。ログ収集手段11は、1つとすることができるが、ログ3−1、3−2、・・・、3−Nに対応してN個であっても良い。 The logs 3-1, 3-2, ..., 3-N are collected by the log collecting means 11 of the vector generation device 10 according to the present embodiment. The number of log collecting means 11 can be one, but may be N corresponding to logs 3-1, 3-2, ..., 3-N.

ログ収集手段11の出力は重複シーケンス検出手段12へ送られる。重複シーケンス検出手段12は、複数の上記ベクタに対応するログ3−1、3−2、・・・、3−Nを検査して重複するシーケンスを検出するものである。ベクタ2−1のログ3−1が図2に示すようであり、ベクタ2−2のログ3−2が図3に示すようであるとする。 The output of the log collecting means 11 is sent to the duplicate sequence detecting means 12. The duplicate sequence detecting means 12 detects duplicate sequences by inspecting logs 3-1, 3-2, ..., 3-N corresponding to the plurality of vectors. It is assumed that the log 3-1 of the vector 2-1 is as shown in FIG. 2, and the log 3-2 of the vector 2-2 is as shown in FIG.

ログは、ステートマシンが変化したタイミングでその更新が行われるものである。図2と図3において、P_A_CSは変化前のA_CSの状態(present)を示すものであり、N_A_CSは変化後のA_CSの状態(next)を示すものである。図2の例ではtime=1000nsでA_CSのステートがIDLE_sからACTIVE_sに変化したことを示している。また、time=2000nsではtime=1000nsのnextステートがpresentとなり、B_CSがIDLE_sからACTIVE_sに変化したこと示している。このようにステートマシンが変化するたびに、ログが更新される。ベクタはそれぞれ異なる動作をしているため、図2と図3の出力のフォーマットは同じであるが、中身が異なっている。 The log is updated when the state machine changes. In FIGS. 2 and 3, P_A_CS indicates the state (present) of A_CS before the change, and N_A_CS indicates the state (next) of A_CS after the change. The example of FIG. 2 shows that the state of A_CS changed from IDLE_s to ACTIVE_s at time = 1000ns. Also, at time = 2000ns, the next state of time = 1000ns becomes present, indicating that B_CS has changed from IDLE_s to ACTIVE_s. The log is updated every time the state machine changes in this way. Since the vectors operate differently, the output formats of FIGS. 2 and 3 are the same, but the contents are different.

重複シーケンス検出手段12は、上記ステートマシンのステート変化が同一のログを見つけて重複のシーケンスであると判断する。具体的には、図2のtime=1000nsの情報Xと図3のtime=4000nsの情報Yは同じである。この場合、検証対象となるRTLのステート状態が同じであれば、ベクタのシーケンスの記述が同じで重複のシーケンスであることが検出できる。どちらか一つでカバーされれば問題ないことに基づき、削除するための前段階の処理である。重複ステートはディジタル検証装置へ入力するベクタが多ければ多いほど同じ情報が多数あるのでこういった重複ステートに対応するシーケンスを削除すれば無駄のないベクタを作成することができる。 The duplicate sequence detecting means 12 finds a log in which the state change of the state machine is the same, and determines that the sequence is a duplicate. Specifically, the information X of time = 1000ns in FIG. 2 and the information Y of time = 4000ns in FIG. 3 are the same. In this case, if the state state of the RTL to be verified is the same, it can be detected that the description of the vector sequence is the same and the sequence is duplicated. Based on the fact that there is no problem if it is covered by either one, it is a pre-stage process for deleting. Since the more vectors to be input to the digital verification device, the more the same information is available in the duplicate states, a lean vector can be created by deleting the sequence corresponding to these duplicate states.

上記重複シーケンス検出手段12は、上記ステートマシンの所定信号の変化を一定時間内において行われていることに対応するログを見つけて重複のシーケンスであると判断する。この変化を、一定時間内変化と呼ぶことにする。即ち、ログが更新されて行く1つの時間におけるログ(例えば、time=1000nsからtime=2000nsまでのログ)の内容ではなく、連続する複数の時間におけるログの内容において、所定信号の変化パターンが一定時間内において行われている場合には、一定時間内変化が検出される。この一定時間内変化の内容が同じであれば、一定時間内変化の重複シーケンスが検出される。 The duplication sequence detecting means 12 finds a log corresponding to the change of the predetermined signal of the state machine within a certain period of time, and determines that the duplication sequence is present. This change is called a change within a certain period of time. That is, the change pattern of the predetermined signal is constant not in the contents of the log at one time when the log is updated (for example, the log from time = 1000ns to time = 2000ns) but in the contents of the log at a plurality of consecutive times. If it is done in time, a change in time is detected. If the contents of the changes within a certain period of time are the same, an overlapping sequence of changes within a certain period of time is detected.

更に、上記重複シーケンス検出手段12は、上記ステートマシンの所定信号の変化繰り返しが所定時間内において行われていることに対応するログを見つけて重複のシーケンスであると判断する。この変化を、繰り返し変化と呼ぶことにする。繰り返し変化は、ログが更新されて行く1つの時間におけるログ(例えば、time=1000nsからtime=2000nsまでのログ)の内容ではなく、連続する複数の時間におけるログの内容において、所定信号の変化繰り返しが所定時間の周期で行われる場合に、検出される。このように、本実施形態では、ログ内のステートに基づき複数ベクタ間の重複シーケンスを検出するものである。 Further, the duplicate sequence detecting means 12 finds a log corresponding to the fact that the change repetition of the predetermined signal of the state machine is performed within the predetermined time, and determines that the sequence is duplicate. This change will be called a repetitive change. The repetitive change is not the content of the log at one time when the log is updated (for example, the log from time = 1000ns to time = 2000ns), but the change of a predetermined signal is repeated at the contents of the log at a plurality of consecutive times. Is detected when is performed in a cycle of a predetermined time. As described above, in the present embodiment, the overlapping sequence between a plurality of vectors is detected based on the state in the log.

上記重複シーケンス検出手段12は、重複するシーケンスを検出するにあたって、重複するシーケンスの記述(テキスト)と、上記重複するベクタの識別情報(当該ベクタに割り当てられているファイル名などのユニークな情報)とを検出するものとする。この情報を検出情報と呼ぶ。 In detecting the duplicate sequence, the duplicate sequence detecting means 12 includes a description (text) of the duplicate sequence and identification information (unique information such as a file name assigned to the vector) of the duplicate vector. Shall be detected. This information is called detection information.

上記重複シーケンス検出手段12が検出した検出情報は、警告表示処理手段13へ送られる。警告表示処理手段13は、上記重複シーケンス検出手段12により重複するシーケンスが検出された場合に、重複するシーケンスが存在することを示す警告表示を行うものである。表示は、LEDやLCD等のディスプレイ装置などである表示部22において行われる。表示内容は、重複が生じていることの警告文、重複するシーケンスの記述と、上記重複するベクタの識別情報とすることができる。なお、重複するシーケンスの記述に変えて、該当ベクタ内における位置情報(何行目)などであっても良い。 The detection information detected by the duplicate sequence detecting means 12 is sent to the warning display processing means 13. When the duplicate sequence detecting means 12 detects a duplicate sequence, the warning display processing means 13 displays a warning indicating that the duplicate sequence exists. The display is performed on the display unit 22 which is a display device such as an LED or an LCD. The display contents can be a warning message that duplication has occurred, a description of the duplication sequence, and identification information of the duplication vector. In addition, instead of the description of the overlapping sequence, the position information (what line) in the corresponding vector may be used.

上記の警告表示は、オペレータが見て確認することになり、コンピュータ部24と入力部21用いて所望の重複シーケンスを削除することができる。即ち、入力部21からコマンド等を与えてデータベース23から該当するベクタをコンピュータ部24へ読み出し、警告表示の内容を参照してオペレータが削除し、新規ベクタとしてデータベース23へ登録しておくことが可能である。なお、コンピュータ部24、入力部21と、本実施形態に係るベクタ適正化装置は一つのコンピュータシステムによって構成することができる。 The above warning display will be visually confirmed by the operator, and the desired overlapping sequence can be deleted by using the computer unit 24 and the input unit 21. That is, it is possible to give a command or the like from the input unit 21 to read the corresponding vector from the database 23 to the computer unit 24, refer to the content of the warning display, delete it, and register it in the database 23 as a new vector. Is. The computer unit 24, the input unit 21, and the vector optimization device according to the present embodiment can be configured by one computer system.

第2の実施形態に係るベクタ適正化装置の構成を図4に示す。本実施形態では、第1の実施形態の構成に対し、重複シーケンス削除手段14を備える。この重複シーケンス削除手段14は、重複するシーケンスが存在する場合に重複するシーケンスの記述を削除する重複シーケンス削除手段を備えるものである。 The configuration of the vector optimization device according to the second embodiment is shown in FIG. In the present embodiment, the duplicate sequence deleting means 14 is provided for the configuration of the first embodiment. The duplicate sequence deleting means 14 includes a duplicate sequence deleting means for deleting the description of the duplicate sequence when the duplicate sequence exists.

具体的には上記重複するシーケンスが存在する場合に時間が最も早い重複するシーケンス記述を残して削除するものである。既述の通り、図2のtime=1000nsの情報と図2のtime=4000nsの情報は同じであり、ベクタ2−1とベクタ2−2には、シーケンスの記述が同じである重複のシーケンスが存在することが重複シーケンス検出手段12により検出されている。そこで、時間を検出すると、ベクタ2−1ではtime=1000ns、べクタ2−2ではtime=4000nsであるから、ベクタ2−1の記述を残してベクタ2−2の重複シーケンスの記述を削除する。削除して新しくなった新規ベクタをデータベース23へ登録する。なお、3つ以上の重複の場合にも、時間が最も早い重複するシーケンス記述を残して削除する。 Specifically, when the above-mentioned duplicate sequence exists, the duplicate sequence description having the earliest time is left and deleted. As described above, the information of time = 1000ns in FIG. 2 and the information of time = 4000ns in FIG. 2 are the same, and vector 2-1 and vector 2-2 have duplicate sequences having the same sequence description. The presence is detected by the duplicate sequence detecting means 12. Therefore, when time is detected, time = 1000ns for vector 2-1 and time = 4000ns for vector 2-2, so the description of the duplicate sequence of vector 2-2 is deleted while leaving the description of vector 2-1. .. The deleted and new vector is registered in the database 23. Even in the case of three or more duplicates, the duplicate sequence description having the earliest time is left and deleted.

図5に、第3の実施形態の構成図を示す。本実施形態では、警告表示処理手段13は、重複するシーケンスの記述と、上記重複するベクタの識別情報とを表示して、削除するシーケンスの記述の指示を求める警告表示を行う。これに対する応答は、入力部21から行う。応答としては、どのベクタの重複シーケンスを削除するか指示しないで、単に、「重複を削除する」ことを指示することができる。係る指示が与えられた場合には、第2の実施形態と同様に時間が最も早い重複するシーケンス記述を残して削除する。 FIG. 5 shows a block diagram of the third embodiment. In the present embodiment, the warning display processing means 13 displays the description of the overlapping sequence and the identification information of the overlapping vector, and performs a warning display requesting an instruction to describe the sequence to be deleted. The response to this is made from the input unit 21. The response can simply be to "remove duplicates" without telling which vector duplicate sequence to remove. When such an instruction is given, the duplicate sequence description having the earliest time is deleted as in the second embodiment.

一方、削除するシーケンスの記述の指示が入力されると、重複シーケンス削除手段14は、上記指示に基づき削除を行う。即ち、上記の指示を行い易いように、重複シーケンスを有するベクタの識別情報とシーケンスの記述を削除候補として表示し、選択入力させるようにしても良い。これによって入力がなされると、重複シーケンス削除手段14は、入力に係るベクタにおける該当する重複シーケンス記述を削除する。削除して新しくなった新規ベクタをデータベース23へ登録する。 On the other hand, when an instruction for describing the sequence to be deleted is input, the duplicate sequence deleting means 14 deletes the sequence based on the above instruction. That is, in order to facilitate the above instruction, the identification information of the vector having the duplicate sequence and the description of the sequence may be displayed as deletion candidates and may be selected and input. When the input is made in this way, the duplicate sequence deleting means 14 deletes the corresponding duplicate sequence description in the vector related to the input. The deleted and new vector is registered in the database 23.

ディジタル検証装置へ入力するベクタは検証の用途に応じて作成することになるので、ベクタが多ければ多いほど重複シーケンスが多数となるので、こういった重複ステートに基づき重複シーケンスを削除することにより、無駄のないベクタが蓄積されたデータベース23を作成することができる。 Since the vector to be input to the digital verification device will be created according to the purpose of verification, the more vectors there are, the more duplicate sequences will be. Therefore, by deleting the duplicate sequences based on these duplicate states, It is possible to create a database 23 in which lean vectors are stored.

1−1〜1−N ディジタル検証装置
2−1〜2−N ベクタ
3−1〜3−N ログ
11 ログ収集手段
12 重複シーケンス検出手段
13 警告表示処理手段
14 重複シーケンス削除手段
21 入力部
22 表示部
23 データベース
24 コンピュータ部
1-11-1-N Digital Verification Device 2-1-2-N Vector 3-1 to 2-3-N Log 11 Log Collection Means 12 Duplicate Sequence Detection Means 13 Warning Display Processing Means 14 Duplicate Sequence Deletion Means 21 Input Unit 22 Display Department 23 Database 24 Computer Department

Claims (16)

ステートマシンの動作を検証するディジタル検証装置へ動作検証動作を行わせる複数のベクタを入力して検証動作を実行させて複数の前記ベクタに対応するログを得るログ収集手段と、
複数の前記ベクタに対応するログを検査して重複するシーケンスを検出する重複シーケンス検出手段と、
前記重複シーケンス検出手段により重複するシーケンスが検出された場合に、重複するシーケンスが存在することを示す警告表示を行う警告表示処理手段と
を具備することを特徴とするベクタ適正化装置。
A log collecting means for inputting a plurality of vectors for performing an operation verification operation to a digital verification device for verifying the operation of a state machine and executing the verification operation to obtain a log corresponding to the plurality of vectors.
A duplicate sequence detection means for inspecting logs corresponding to a plurality of the vectors to detect duplicate sequences, and
A vector optimization device including a warning display processing means that displays a warning indicating that a duplicate sequence exists when a duplicate sequence is detected by the duplicate sequence detection means.
前記重複するシーケンスが存在する場合に重複するシーケンスの記述を削除する重複シーケンス削除手段を備えることを特徴とする請求項1に記載のベクタ適正化装置。 The vector optimization apparatus according to claim 1, further comprising a duplicate sequence deleting means for deleting the description of the duplicate sequence when the duplicate sequence exists. 前記重複シーケンス削除手段は、前記重複するシーケンスが存在する場合に時間が最も早い重複するシーケンス記述を残して削除する請求項2に記載のベクタ適正化装置。 The vector optimization device according to claim 2, wherein the duplicate sequence deleting means deletes the duplicate sequence description with the earliest time when the duplicate sequence exists. 前記警告表示処理手段は、重複するシーケンスの記述と、前記重複するベクタの識別情報とを表示して警告表示することを特徴とする請求項1乃至3のいずれか1項に記載のベクタ適正化装置。 The vector optimization according to any one of claims 1 to 3, wherein the warning display processing means displays the description of the overlapping sequence and the identification information of the overlapping vector to display a warning. Device. 前記警告表示処理手段は、重複するシーケンスの記述と、前記重複するベクタの識別情報とを表示して、削除するシーケンスの記述の指示を求める警告表示を行い、
削除手段は、前記指示に基づき削除を行うことを特徴とする請求項1乃至4のいずれか1項に記載のベクタ適正化装置。
The warning display processing means displays the description of the duplicate sequence and the identification information of the duplicate vector, and performs a warning display requesting an instruction to describe the sequence to be deleted.
The vector optimization device according to any one of claims 1 to 4, wherein the deletion means performs deletion based on the above instruction.
前記重複シーケンス検出手段は、前記ステートマシンのステート変化が同一のログを見つけて重複のシーケンスであると判断することを特徴とする請求項1乃至5のいずれか1項に記載のベクタ適正化装置。 The vector optimization device according to any one of claims 1 to 5, wherein the duplicate sequence detecting means finds the same log and determines that the state change of the state machine is a duplicate sequence. .. 前記重複シーケンス検出手段は、前記ステートマシンの所定信号の変化を一定時間内において行われていることに対応するログを見つけて重複のシーケンスであると判断することを特徴とする請求項1乃至6のいずれか1項に記載のベクタ適正化装置。 Claims 1 to 6 are characterized in that the duplicate sequence detecting means finds a log corresponding to the change of a predetermined signal of the state machine within a fixed time and determines that the sequence is a duplicate. The vector optimization device according to any one of the above items. 前記重複シーケンス検出手段は、前記ステートマシンの所定信号の変化繰り返しが所定時間内において行われていることに対応するログを見つけて重複のシーケンスであると判断することを特徴とする請求項1乃至7のいずれか1項に記載のベクタ適正化装置。 The overlapping sequence detecting means is characterized in that it finds a log corresponding to the repeated change of a predetermined signal of the state machine within a predetermined time and determines that the sequence is duplicated. 7. The vector optimization device according to any one of 7. コンピュータを、
ステートマシンの動作を検証するディジタル検証装置へ動作検証動作を行わせる複数のベクタを入力して検証動作を実行させて複数の前記ベクタに対応するログを得るログ収集手段、
複数の前記ベクタに対応するログを検査して重複するシーケンスを検出する重複シーケンス検出手段、
前記重複シーケンス検出手段により重複するシーケンスが検出された場合に、重複するシーケンスが存在することを示す警告表示を行う警告表示処理手段
として機能させることを特徴とするベクタ適正化用プログラム。
Computer,
A log collecting means for inputting a plurality of vectors for performing an operation verification operation to a digital verification device for verifying the operation of a state machine and executing the verification operation to obtain a log corresponding to the plurality of vectors.
Duplicate sequence detection means for inspecting logs corresponding to a plurality of the vectors to detect duplicate sequences,
A vector optimization program characterized by functioning as a warning display processing means for displaying a warning indicating that a duplicate sequence exists when a duplicate sequence is detected by the duplicate sequence detection means.
前記コンピュータを更に、
前記重複するシーケンスが存在する場合に重複するシーケンスの記述を削除する重複シーケンス削除手段として機能させることを特徴とする請求項9に記載のベクタ適正化用プログラム。
Further, the computer
The vector optimization program according to claim 9, further comprising functioning as a duplicate sequence deletion means for deleting the description of the duplicate sequence when the duplicate sequence exists.
前記コンピュータを前記重複シーケンス削除手段として、前記重複するシーケンスが存在する場合に時間が最も早い重複するシーケンス記述を残して削除するように機能させることを特徴とする請求項10に記載のベクタ適正化用プログラム。 The vector optimization according to claim 10, wherein the computer functions as the duplicate sequence deletion means so as to delete the duplicate sequence description having the earliest time when the duplicate sequence exists. Program for. 前記コンピュータを前記警告表示処理手段として、重複するシーケンスの記述と、前記重複するベクタの識別情報とを表示して警告表示するように機能させることを特徴とする請求項9乃至11のいずれか1項に記載のベクタ適正化用プログラム。 Any one of claims 9 to 11, wherein the computer functions as the warning display processing means to display the description of the duplicate sequence and the identification information of the duplicate vector to display the warning. The vector optimization program described in the section. 前記コンピュータを前記警告表示処理手段として、重複するシーケンスの記述と、前記重複するベクタの識別情報とを表示して、削除するシーケンスの記述の指示を求める警告表示を行うように機能させ、
前記コンピュータを削除手段として、前記指示に基づき削除を行うように機能させることを特徴とする請求項9乃至12のいずれか1項に記載のベクタ適正化用プログラム。
Using the computer as the warning display processing means, the computer is made to function so as to display the description of the duplicate sequence and the identification information of the duplicate vector and perform a warning display requesting an instruction to describe the sequence to be deleted.
The vector optimization program according to any one of claims 9 to 12, wherein the computer is used as a deletion means to function to perform deletion based on the instruction.
前記コンピュータを前記重複シーケンス検出手段として、前記ステートマシンのステート変化が同一のログを見つけて重複のシーケンスであると判断するように機能させることを特徴とする請求項9乃至13のいずれか1項に記載のベクタ適正化用プログラム。 One of claims 9 to 13, wherein the computer functions as the duplicate sequence detecting means so as to detect the same log and determine that the state change of the state machine is a duplicate sequence. The vector optimization program described in. 前記コンピュータを前記重複シーケンス検出手段として、前記ステートマシンの所定信号の変化を一定時間内において行われていることに対応するログを見つけて重複のシーケンスであると判断するように機能させることを特徴とする請求項9乃至14のいずれか1項に記載のベクタ適正化用プログラム。 It is characterized in that the computer is used as the duplicate sequence detecting means to find a log corresponding to a change in a predetermined signal of the state machine within a certain period of time and determine that the sequence is a duplicate. The vector optimization program according to any one of claims 9 to 14. 前記コンピュータを前記重複シーケンス検出手段として、前記ステートマシンの所定信号の変化繰り返しが所定時間内において行われていることに対応するログを見つけて重複のシーケンスであると判断するように機能させることを特徴とする請求項9乃至15のいずれか1項に記載のベクタ適正化用プログラム。 Using the computer as the duplicate sequence detecting means, the computer is made to function so as to find a log corresponding to the repeated change of a predetermined signal of the state machine within a predetermined time and determine that the sequence is a duplicate. The vector optimization program according to any one of claims 9 to 15, which is characterized.
JP2018072481A 2018-04-04 2018-04-04 Vector optimization device and vector optimization program Active JP6949441B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018072481A JP6949441B2 (en) 2018-04-04 2018-04-04 Vector optimization device and vector optimization program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018072481A JP6949441B2 (en) 2018-04-04 2018-04-04 Vector optimization device and vector optimization program

Publications (2)

Publication Number Publication Date
JP2019185216A JP2019185216A (en) 2019-10-24
JP6949441B2 true JP6949441B2 (en) 2021-10-13

Family

ID=68341209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018072481A Active JP6949441B2 (en) 2018-04-04 2018-04-04 Vector optimization device and vector optimization program

Country Status (1)

Country Link
JP (1) JP6949441B2 (en)

Also Published As

Publication number Publication date
JP2019185216A (en) 2019-10-24

Similar Documents

Publication Publication Date Title
CN108415835B (en) Distributed database testing method, apparatus, device and computer readable medium
US20140068567A1 (en) Determining relevant events in source code analysis
CN108829903B (en) Method and System for Determining the Consistency of Code and Synthesized Circuits of FPGA Redundant Design
US20130054427A1 (en) Explosions of bill-of-materials lists
CN114253920A (en) Transaction reordering method, device, equipment and readable storage medium
JP2006139729A (en) Programming language model generation device for hardware verification, programming language model generation method for hardware verification, computer system, hardware simulation method, control program, and readable storage medium
JP2006106865A (en) Logic circuit design verifying device and method and program
US20120054560A1 (en) Verifying correctness of processor transactions
JP2013077124A (en) Software test case generation device
JP3195031B2 (en) Test specification generation method, semiconductor device inspection apparatus, and semiconductor device inspection method
JP6949441B2 (en) Vector optimization device and vector optimization program
JP5799823B2 (en) Test data generation device, test data generation program, and test data generation method
US20140143745A1 (en) Techniques for segmenting of hardware trace and verification of individual trace segments
CN113468158A (en) Data repair method, system, electronic device and medium
WO2019142266A1 (en) Test case generation device, test case generation method, and test case generation program
CN117827563A (en) Processor function verification method, device and medium
US8930759B2 (en) Stream generation
JP6949440B2 (en) Vector generator and vector generator program
JP6576873B2 (en) Job net verification apparatus and job net verification method
CN117370168B (en) Method for setting simulation restoration point of logic system design and related equipment
US20170220450A1 (en) Analytic method and analyzing apparatus
CN120278095B (en) DRC test result verification method, device, equipment and storage medium
JP3144617B2 (en) Logic circuit verification method
JP2014067109A (en) Data transition trace device, data transition trace method, and data transition trace program
JP2019144873A (en) Block diagram analyzer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200923

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: 20210921

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210921

R150 Certificate of patent or registration of utility model

Ref document number: 6949441

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