JPH05274385A - Logic verification environment controlling device - Google Patents

Logic verification environment controlling device

Info

Publication number
JPH05274385A
JPH05274385A JP4066527A JP6652792A JPH05274385A JP H05274385 A JPH05274385 A JP H05274385A JP 4066527 A JP4066527 A JP 4066527A JP 6652792 A JP6652792 A JP 6652792A JP H05274385 A JPH05274385 A JP H05274385A
Authority
JP
Japan
Prior art keywords
random number
number data
logic
data
information processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4066527A
Other languages
Japanese (ja)
Inventor
Kaoru Suzuki
薫 鈴木
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4066527A priority Critical patent/JPH05274385A/en
Publication of JPH05274385A publication Critical patent/JPH05274385A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To provide the logic verification environment controlling device realizing accurate logic verification by setting environment equivalent to the real use environment and readily analyzing a fault in case of occurring a fault. CONSTITUTION:The system consists of an information processor 1 for logic verification, system console 2, verification program file 3, model information file 4, and trace information file 5. The information processor 1 is provided with an environment state controlling device 11, random data generating device 12 for an entry embeding random number data, entry random number data setting device 13, interrupt controlling device 14 performing a back trace at the run away of a program, memory 15, cache 16, register 17, and TLB 18. Before executing the logic verification program, the resource in the information processor 1 is initialized.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、論理シミュレーション
装置または情報処理装置などを構成する論理回路の論理
検証技術に関し、特に複雑で規模の大きな論理回路の高
精度な検証に好適な論理検証環境制御装置に適用して有
効な技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic verification technique for a logic circuit which constitutes a logic simulation device or an information processing device, and particularly to a logic verification environment control suitable for highly accurate verification of a complicated and large scale logic circuit. The present invention relates to a technique effectively applied to a device.

【0002】[0002]

【従来の技術】たとえば、従来の論理検証方式では、情
報処理装置がパワーオンリセット後の情報処理装置内メ
モリ、キャッシュ、レジスタ、TLB(Table Look-asi
de Buffer )などがイニシャライズ(ゼロクリア)され
た状態、またはそれと類似な状態から論理検証プログラ
ムをメモリロード、または検証プログラムデータを該当
するメモリ、キャッシュ、レジスタなどに設定し、実行
することで実現されていた。
2. Description of the Related Art For example, in a conventional logic verification method, an information processing device has a memory, a cache, a register, a TLB (Table Look-asi) in the information processing device after a power-on reset.
de Buffer) is initialized (zero-cleared) or similar state, and the logic verification program is loaded into the memory, or the verification program data is set in the corresponding memory, cache, register, etc. and executed. It was

【0003】なお、関連するこの種の従来技術として、
たとえば特開平3−250225号公報に記載される技
術などが挙げられる。
As a related conventional technique of this kind,
For example, the technique described in JP-A-3-250225 can be cited.

【0004】[0004]

【発明が解決しようとする課題】ところが、前記のよう
な従来技術において、実際の情報処理装置の使用環境で
は、オペレーティングシステムを始めとして、ユーザア
プリケーションジョブも含めて複数のジョブが非同期に
実行されており、このような状況下では、情報処理装置
内メモリ、キャッシュ、レジスタ、TLBなどの内容は
対象プログラムから見てランダムなデータが配されてい
る。
However, in the conventional technology as described above, in the actual usage environment of the information processing apparatus, a plurality of jobs including the user application job including the operating system are asynchronously executed. Under such circumstances, random data is arranged as the contents of the memory, cache, register, TLB, etc. in the information processing device when viewed from the target program.

【0005】この場合に、情報処理装置がパワーオンリ
セット後の状態、またはそれと類似な状態より、使用環
境のように情報処理装置内資源にランダムなデータが配
され、複数の条件が重なり合う状況下では、もし情報処
理装置に論理不良が内在している場合に誤動作を起こし
て論理不良が発覚し易いことが知られている。
In this case, from the state after the power-on reset of the information processing device, or a state similar thereto, random data is arranged in the resources in the information processing device such as the usage environment, and a plurality of conditions overlap. It is known that if a logic defect is inherent in the information processing device, a malfunction occurs and the logic defect is easily detected.

【0006】従って、従来技術の論理検証技術において
は、実使用環境と等価な情報処理装置内環境での論理検
証が実施されていないために、検証精度が低いという問
題があった。
Therefore, the conventional logic verification technique has a problem that the verification accuracy is low because the logic verification is not performed in the information processing apparatus environment equivalent to the actual use environment.

【0007】そこで、本発明の目的は、オペレーション
システム下で実際のユーザプログラムが実行されるのと
等価な環境を構築し、この実使用環境と等価な環境下で
の論理検証を可能とすることによって高精度な論理検証
を実現することができる論理検証環境制御装置を提供す
ることにある。
Therefore, an object of the present invention is to construct an environment equivalent to the execution of an actual user program under an operating system, and to enable logic verification in an environment equivalent to this actual use environment. Is to provide a logic verification environment control device capable of realizing highly accurate logic verification.

【0008】また、本発明の他の目的は、障害発生時
に、この障害発生の割込みアドレスからのバックトレー
スを行い、このトレース情報によって障害解析を容易に
実現することができる論理検証環境制御装置を提供する
ことにある。
Another object of the present invention is to provide a logic verification environment control device which, when a failure occurs, backtraces from the interrupt address of the failure occurrence and can easily realize the failure analysis by this trace information. To provide.

【0009】本発明の前記ならびにその他の目的と新規
な特徴は、本明細書の記述および添付図面から明らかに
なるであろう。
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0010】[0010]

【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記のとおりである。
Among the inventions disclosed in the present application, a brief description will be given to the outline of typical ones.
It is as follows.

【0011】すなわち、本発明の論理検証環境制御装置
は、ゲートレベルの回路シミュレーションを実施する論
理シミュレーション装置、または情報処理装置に対する
論理検証環境制御装置であって、ランダムな乱数データ
を作成する乱数データ発生装置と、この乱数データを論
理シミュレーション装置または情報処理装置内のデータ
格納手段、たとえばメモリ、キャッシュ、TLB、レジ
スタなどに設定する乱数データ設定装置と、論理シミュ
レーション装置または情報処理装置内で発生した割込み
を制御する割込み制御装置と、オペレータインタフェー
ス制御、論理シミュレーション装置または情報処理装置
の制御、およびトレース情報の編集出力を実施する環境
状態制御装置とを備えるものである。
That is, the logic verification environment control device of the present invention is a logic simulation device for performing a gate-level circuit simulation or a logic verification environment control device for an information processing device, and is random number data for creating random random number data. A generator is generated in the logic simulation device or the information processing device, and a random number data setting device for setting the random number data in a data storage means in the logic simulation device or the information processing device, such as a memory, a cache, a TLB, or a register. An interrupt control device for controlling an interrupt, an operator interface control, a control of a logic simulation device or an information processing device, and an environmental state control device for carrying out edit output of trace information are provided.

【0012】この場合に、前記データ格納手段のエント
リデータを作成する際、このエントリデータ、たとえば
パリティビット、ハミングコード(ECC:Error Corr
ecting Code )などを論理シミュレーション装置または
情報処理装置の論理フォーマットに整合するように作成
し、エントリデータに乱数データを埋め込むようにした
ものである。
In this case, when creating the entry data of the data storage means, the entry data, such as a parity bit and a Hamming code (ECC: Error Corr) are used.
ecting code) is created so as to match the logical format of the logic simulation device or the information processing device, and random number data is embedded in the entry data.

【0013】また、前記乱数データ発生装置が、特定の
論理シミュレーション装置または情報処理装置上で動作
する命令およびアドレスデータ、たとえば機械語命令コ
ード、オペランドアドレスデータなどを発生するように
したものである。
Further, the random number data generating device is adapted to generate an instruction and address data operating on a specific logic simulation device or information processing device, such as a machine language instruction code and operand address data.

【0014】さらに、前記乱数データ発生装置が、デー
タ格納手段に設定する乱数データを作成する際、数十か
ら数百バイトピッチに割込み発生命令オペランドコード
を発生するようにしたものである。
Further, when the random number data generator creates random number data to be set in the data storage means, it generates an interrupt generation instruction operand code at a pitch of several tens to several hundreds of bytes.

【0015】また、前記割込み処理装置が、割込み発生
アドレスおよび割込み種別をチェックし、割込み発生ア
ドレスからトレース可能な範囲でバックトレースを実施
してトレース情報をセーブするようにしたものである。
Further, the interrupt processing device checks an interrupt generation address and an interrupt type, performs a back trace within a traceable range from the interrupt generation address, and saves the trace information.

【0016】[0016]

【作用】前記した論理検証環境制御装置によれば、乱数
データ発生装置、乱数データ設定装置、割込み制御装置
および環境状態制御装置が備えられることにより、たと
えばパリティビットおよびハミングコードなどのエント
リデータを論理フォーマットに整合するように作成し、
このエントリデータに乱数データ発生装置による乱数デ
ータを埋め込み、このエントリデータを乱数データ設定
装置によりデータ格納手段に設定し、論理検証プログラ
ムの実行以前に、論理シミュレーション装置または情報
処理装置内資源を実使用環境と等価な環境に設定するこ
とができる。
According to the above-described logic verification environment control device, the random number data generator, the random number data setting device, the interrupt controller and the environmental condition controller are provided so that the entry data such as the parity bit and the Hamming code can be logically processed. Created to match the format,
Random data generated by the random number data generator is embedded in this entry data, this entry data is set in the data storage means by the random number data setting device, and the logic simulation device or resources in the information processing device are actually used before the execution of the logic verification program. Can be set to an environment equivalent to the environment.

【0017】また、特定の機械語命令コードおよびオペ
ランドアドレスデータなどの発生により、特定の論理シ
ミュレーション装置または情報処理装置上でのみ動作さ
せることができる。
Further, due to the generation of a specific machine language instruction code and operand address data, it can be operated only on a specific logic simulation device or information processing device.

【0018】さらに、数十から数百バイトピッチに割込
み発生命令オペランドコードが発生され、割込み発生ア
ドレスおよび割込み種別がチェックされることにより、
割込み発生アドレスからトレース可能な範囲でバックト
レースを実施し、このトレース情報をセーブすることが
できる。
Further, an interrupt generation instruction operand code is generated at a pitch of several tens to several hundred bytes, and the interrupt generation address and the interrupt type are checked,
Backtrace can be performed within the traceable range from the interrupt generation address, and this trace information can be saved.

【0019】これにより、オペレーションシステム下で
実際のユーザプログラムが実行されるのと等価な装置環
境を構築し、この環境下での論理検証を可能とすること
によって高精度な論理検証を実現すると共に、障害発生
時に障害解析を容易に実現することができる。
As a result, a device environment equivalent to that in which an actual user program is executed under the operating system is constructed, and logic verification under this environment is made possible to realize highly accurate logic verification. The failure analysis can be easily realized when a failure occurs.

【0020】[0020]

【実施例】図1は本発明の一実施例である論理検証環境
制御装置を示すブロック図、図2は本実施例の論理検証
環境制御装置における乱数データ発生装置および乱数デ
ータ設定装置の処理を示す説明図、図3は本実施例にお
いて、乱数データ発生装置のキャッシュデータ作成処理
を示すフローチャート図、図4は乱数データ発生装置お
よび乱数データ設定装置のハードウェアレジスタのデー
タ作成/設定処理を示すフローチャート図、図5は本実
施例の論理検証環境制御装置を用いた論理検証処理を示
すフローチャート図である。
FIG. 1 is a block diagram showing a logic verification environment control device according to an embodiment of the present invention, and FIG. 2 shows processing of a random number data generator and a random number data setting device in the logic verification environment control device of this embodiment. FIG. 3 is a flow chart showing the cache data creation process of the random number data generator in this embodiment, and FIG. 4 shows the data creation / setting process of the hardware registers of the random number data generator and the random number data setting device. FIG. 5 is a flowchart showing a logic verification process using the logic verification environment control device of this embodiment.

【0021】まず、図1により本実施例の論理検証環境
制御装置の構成を説明する。
First, the configuration of the logic verification environment control apparatus of this embodiment will be described with reference to FIG.

【0022】本実施例の論理検証環境制御装置は、たと
えば情報処理装置に対する論理検証環境制御装置とさ
れ、対象となる情報処理装置1、システムコンソール
2、実行形式の論理検証プログラムが格納されている検
証プログラムファイル3、各RAMのサイズおよびエン
トリなどが格納されているモデル情報ファイル4、バッ
クトレース情報を格納するためのトレース情報ファイル
5などから構成されている。
The logical verification environment control device of the present embodiment is, for example, a logical verification environment control device for an information processing device, and stores the target information processing device 1, system console 2, and execution form logical verification program. It comprises a verification program file 3, a model information file 4 in which the sizes and entries of each RAM are stored, a trace information file 5 for storing back trace information, and the like.

【0023】対象となる情報処理装置1には、オペレー
タインタフェース制御、各装置の制御およびトレース情
報の編集出力処理を実施する環境状態制御装置11、情
報処理装置の対象RAMに乱数データを埋め込み、エン
トリを作成する乱数データ発生装置12、作成されたエ
ントリを対象RAMに設定する乱数データ設定装置1
3、設定された環境下で実行された論理検証プログラム
が論理不良により暴走し、割込み発生命令で割込みが発
生した場合、その回復処理およびバックトレースを実施
する割込み制御装置14、データ格納手段の対象RAM
としてのメモリ15、キャッシュ16、レジスタ17お
よびTLB18などが備えられている。
The target information processing apparatus 1 includes an operator interface control, an environmental state control apparatus 11 for controlling each apparatus and a trace information edit output process, and a random number data is embedded in a target RAM of the information processing apparatus to make an entry. Random number data generator 12 for creating a random number data setting device 1 for setting the created entry in the target RAM
3. When the logic verification program executed under the set environment runs out of control due to a logic failure and an interrupt occurs due to an interrupt generation instruction, the interrupt control device 14 for executing the recovery process and back trace, the target of the data storage means RAM
A memory 15, a cache 16, a register 17, a TLB 18, and the like.

【0024】次に、本実施例の作用について説明する。Next, the operation of this embodiment will be described.

【0025】始めに、図2により乱数データ発生装置1
2および乱数データ設定装置13の処理を説明する。
First, referring to FIG. 2, a random number data generator 1
2 and the processing of the random number data setting device 13 will be described.

【0026】乱数データ発生装置12は、環境状態制御
装置11から起動されると、まずモデル情報ファイル4
から情報処理装置1内の各RAMのメモリ15、キャッ
シュ16、レジスタ17、TLB18などのサイズ、エ
ントリのフォーマット、ブロック/ラインサイズなどを
読み出し、その指示に従って各RAMのエントリデータ
を生成する。
When the random number data generator 12 is activated by the environmental condition controller 11, first, the model information file 4 is generated.
The size of the memory 15, the cache 16, the register 17, the TLB 18, etc. of each RAM in the information processing apparatus 1, the format of the entry, the block / line size, etc. are read from it and the entry data of each RAM is generated according to the instruction.

【0027】この際、TLB18、キャッシュアドレス
アレイなどのパリティビットやハミングコード(EC
C)などを有するエントリデータの生成時は、情報処理
装置1の論理フォーマットに合ったデータをモデル情報
ファイル4の指示に従い所定のビット位置に生成する。
At this time, parity bits such as the TLB 18 and the cache address array and a Hamming code (EC
When the entry data having C) or the like is generated, data matching the logical format of the information processing device 1 is generated at a predetermined bit position according to the instruction of the model information file 4.

【0028】また、メモリ15、キャッシュ16のデー
タは指定されたブロック/ラインサイズ単位に乱数デー
タを生成する。この場合、各ブロック/ラインの最後の
数バイトに、割込み制御装置14に制御を移すための割
込みを発生させる専用の割込み命令の機械語コードを埋
め込む。そして、エントリデータを生成後、乱数データ
発生装置12は乱数データ設定装置13へ制御を移す。
The data in the memory 15 and the cache 16 generate random number data in a designated block / line size unit. In this case, the machine code of a dedicated interrupt instruction for generating an interrupt for transferring control to the interrupt controller 14 is embedded in the last few bytes of each block / line. After generating the entry data, the random number data generator 12 transfers control to the random number data setting device 13.

【0029】さらに、乱数データ設定装置13は、乱数
データ発生装置12で生成されたエントリデータを所定
のRAMに、モデル情報ファイル4に登録されているサ
イズ(エントリ数)分のエントリデータを設定する。
Further, the random number data setting device 13 sets the entry data generated by the random number data generating device 12 in a predetermined RAM as much as the entry data for the size (the number of entries) registered in the model information file 4. ..

【0030】次に、図3のフローにより乱数データ発生
装置12のコードキャッシュデータの作成処理を説明す
る。
Next, the code cache data creation process of the random number data generator 12 will be described with reference to the flow of FIG.

【0031】乱数データ発生装置12は、まずモデル情
報ファイル4からコードキャッシュエントリ情報を読出
し(ステップ301)、このエントリ情報に従ってハミ
ングコード(ECC)部分を作成し(ステップ30
2)、次に実際のコードデータを乱数発生させて乱数デ
ータを作成する(ステップ303)。
The random number data generator 12 first reads the code cache entry information from the model information file 4 (step 301) and creates a Hamming code (ECC) portion according to this entry information (step 30).
2) Next, random number data is created by generating random numbers from the actual code data (step 303).

【0032】さらに、コードキャッシュエントリのブロ
ックの最後に割込み発生命令コードを埋め込み(ステッ
プ304)、そして乱数データ設定装置13を起動する
(ステップ305)。
Further, the interrupt generation instruction code is embedded at the end of the block of the code cache entry (step 304), and the random number data setting device 13 is activated (step 305).

【0033】次に、図4のフローによりハードウェア
(H/W)レジスタのデータ作成/設定処理を説明す
る。
Next, the data creation / setting process of the hardware (H / W) register will be described with reference to the flow of FIG.

【0034】もし、情報処理装置1の先行制御処理に待
ちが生じた場合、つまりLD(メモリからレジスタへの
データ転送)命令により確定するレジスタの内容を、次
のMVC(メモリからメモリへのデータ転送)命令が、
メモリアドレスとして使用している場合、このLD命令
の処理が終了するまでMVC命令のアドレス計算処理が
できないために処理に待ちが生じてレジスタが一旦空き
状態となる。
If a wait occurs in the advance control processing of the information processing apparatus 1, that is, the contents of the register determined by the LD (memory-to-register data transfer) instruction are transferred to the next MVC (memory-to-memory data). Transfer) command
When it is used as a memory address, the address calculation processing of the MVC instruction cannot be performed until the processing of this LD instruction is completed, so that the processing waits and the register temporarily becomes empty.

【0035】このような状態が発生した場合、環境状態
制御装置11がたとえばAステージレジスタでロックに
よりバブルが発生したことを感知し(ステップ40
1)、乱数データ発生装置12に対してデータの生成指
示を出す。
When such a condition occurs, the environmental condition control device 11 senses that a bubble has occurred due to a lock at the A stage register (step 40).
1) Issue a data generation instruction to the random number data generator 12.

【0036】さらに、乱数データ発生装置12は、Aス
テージレジスタのデータを作成し(ステップ402)、
乱数データ設定装置13に対してデータの設定指示を出
す。
Further, the random number data generator 12 creates data of the A stage register (step 402),
A data setting instruction is issued to the random number data setting device 13.

【0037】そして、乱数データ設定装置13は、Aス
テージレジスタに生成された乱数値によるデータを埋め
込む(ステップ403)。
Then, the random number data setting device 13 embeds the generated random number value data in the A stage register (step 403).

【0038】次に、図5により本実施例の論理検証環境
制御装置を用いた論理検証の処理フローを説明する。
Next, the processing flow of logic verification using the logic verification environment control device of this embodiment will be described with reference to FIG.

【0039】まず、オペレータの指示により、環境状態
制御装置11が乱数データ発生装置12を起動する(ス
テップ501)。そして、乱数データ発生装置12は、
モデル情報ファイル4から各RAMのエントリデータの
生成情報を読み出し(ステップ502)、このモデル情
報に従って各RAMのエントリデータを作成する(ステ
ップ503)。
First, the environmental condition control device 11 activates the random number data generation device 12 according to an instruction from the operator (step 501). Then, the random number data generator 12
The generation information of the entry data of each RAM is read from the model information file 4 (step 502), and the entry data of each RAM is created according to this model information (step 503).

【0040】さらに、乱数データ発生装置12が乱数デ
ータ設定装置13を起動し(ステップ504)、乱数デ
ータ設定装置13がモデル情報ファイル4に登録されて
いる各RAMのサイズに従って、作成されたエントリデ
ータを各RAMに初期設定する(ステップ505)。
Further, the random number data generator 12 activates the random number data setting device 13 (step 504), and the random number data setting device 13 creates entry data according to the size of each RAM registered in the model information file 4. Is initialized in each RAM (step 505).

【0041】そして、初期設定終了後、環境状態制御装
置11に制御を戻し(ステップ506)、この環境状態
制御装置11がオペレータの指示により該当する論理検
証プログラムをメモリ15にロードし(ステップ50
7)、この論理検証プログラムを起動する(ステップ5
08)。
After the initialization, the control is returned to the environmental condition control device 11 (step 506), and the environmental condition control device 11 loads the corresponding logic verification program in the memory 15 according to the instruction of the operator (step 50).
7), start this logic verification program (step 5)
08).

【0042】さらに、論理検証プログラムの実行が正常
に終了すれば、環境状態制御装置11がオペレータに対
して次の処理要求をする処理を繰り返す。
Further, when the execution of the logic verification program ends normally, the environmental condition control device 11 repeats the process of requesting the operator for the next process.

【0043】もし、論理検証プログラムが暴走した場合
(ステップ509)、割込み発生命令によって制御が割
込み制御装置14に移り(ステップ510)、バックト
レース可能なアドレスまで遡ってトレース情報を収集し
てトレース情報ファイル5に登録する(ステップ51
1)。
If the logic verification program runs out of control (step 509), control is transferred to the interrupt controller 14 by an interrupt generation instruction (step 510), trace information is collected retroactively to a backtraceable address, and trace information is collected. Register in file 5 (step 51)
1).

【0044】そして、環境状態制御装置11に制御が戻
り(ステップ512)、環境状態制御装置11がトレー
ス情報を編集し、このトレース情報をシステムコンソー
ル2に出力し(ステップ513)、これによって暴走原
因の解析が行われる。
Then, the control returns to the environmental condition control device 11 (step 512), the environmental condition control device 11 edits the trace information and outputs the trace information to the system console 2 (step 513), which causes the runaway. Is analyzed.

【0045】従って、本実施例の論理検証環境制御装置
によれば、環境状態制御装置11、乱数データ発生装置
12、乱数データ設定装置13および割込み制御装置1
4が備えられ、エントリデータに乱数データを埋め込
み、このエントリデータを情報処理装置1内の各RAM
のメモリ15、キャッシュ16、レジスタ17およびT
LB18などに初期設定することにより、論理検証の対
象となる情報報処理装置1内のデータ格納手段を、実際
のユーザプログラムが実行されるのと等しい環境に設定
することができ、これによって実使用環境下での論理検
証が可能となる。
Therefore, according to the logic verification environment control device of the present embodiment, the environment condition control device 11, the random number data generation device 12, the random number data setting device 13 and the interrupt control device 1 are provided.
4 is provided, random number data is embedded in the entry data, and the entry data is stored in each RAM in the information processing device 1.
Memory 15, cache 16, register 17 and T
By initializing in the LB 18 or the like, the data storage means in the information report processing device 1 to be subjected to the logic verification can be set in an environment equivalent to that in which an actual user program is executed, whereby the actual use Logical verification under the environment is possible.

【0046】また、論理検証プログラムが暴走した場合
にも、割込み発生命令によって割込み発生アドレスから
バックトレースが可能となるので、このトレース情報に
よって障害発生時の障害解析を容易に行うことができ
る。
Further, even when the logic verification program runs out of control, the back trace can be performed from the interrupt generation address by the interrupt generation instruction, so that the trace information facilitates the failure analysis when the failure occurs.

【0047】以上、本発明者によってなされた発明を実
施例に基づき具体的に説明したが、本発明は前記実施例
に限定されるものではなく、その要旨を逸脱しない範囲
で種々変更可能であることはいうまでもない。
Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the embodiments and various modifications can be made without departing from the scope of the invention. Needless to say.

【0048】たとえば、本実施例の論理検証環境制御装
置については、論理検証の対象が情報処理装置1である
場合について説明したが、本発明は前記実施例に限定さ
れるものではなく、ゲートレベルの回路シミュレーショ
ンを実施する論理シミュレーション装置などについても
広く適用可能である。
For example, with respect to the logic verification environment control apparatus of this embodiment, the case where the target of logic verification is the information processing apparatus 1 has been described, but the present invention is not limited to the above embodiment, and the gate level is used. The present invention can be widely applied to a logic simulation device that executes the circuit simulation of 1.

【0049】また、乱数データ発生装置12としては、
たとえば特定の情報処理装置上で動作するような機械語
命令コードおよびオペランドアドレスデータなどを発生
するようにしてもよい。
Further, as the random number data generator 12,
For example, a machine language instruction code and operand address data that operate on a specific information processing device may be generated.

【0050】[0050]

【発明の効果】本願において開示される発明のうち、代
表的なものによって得られる効果を簡単に説明すれば、
下記のとおりである。
The effects obtained by the typical ones of the inventions disclosed in the present application will be briefly described as follows.
It is as follows.

【0051】(1).乱数データ発生装置、乱数データ設定
装置、割込み制御装置および環境状態制御装置を備える
ことにより、エントリデータを論理フォーマットに整合
するように作成し、このエントリデータに乱数データを
埋め込んでデータ格納手段に設定することができるの
で、論理検証プログラムの実行以前に、論理シミュレー
ション装置または情報処理装置内資源を実使用環境と等
価な環境に構築することができる。
(1). By providing a random number data generator, a random number data setting device, an interrupt controller and an environmental condition controller, the entry data is created so as to match the logical format, and the random data is added to this entry data. Since the data can be embedded and set in the data storage means, the logic simulation device or the resources in the information processing device can be constructed in an environment equivalent to the actual use environment before the execution of the logic verification program.

【0052】(2).乱数データ発生装置が特定の命令およ
びアドレスデータを発生することにより、特定の論理シ
ミュレーション装置または情報処理装置上でのみ動作さ
せることができる。
(2). Since the random number data generator generates a specific instruction and address data, it can be operated only on a specific logic simulation device or information processing device.

【0053】(3).乱数データ発生装置が数十から数百バ
イトピッチに割込み発生命令オペランドコードを発生
し、この割込み発生命令オペランドコードの割込み発生
アドレスから割込み処理装置がバックトレースを実施し
てトレース情報をセーブすることができるので、障害が
発生した場合の障害解析を容易に行うことができる。
(3). The random number data generator generates an interrupt generation instruction operand code at a pitch of several tens to several hundreds of bytes, and the interrupt processing unit performs back trace from the interrupt generation address of this interrupt generation instruction operand code. Since the trace information can be saved, failure analysis can be easily performed when a failure occurs.

【0054】(4).前記(1) 〜(3) により、論理検証対象
となる論理シミュレーション装置または情報処理装置に
対して、実使用環境下での論理検証を可能とすることに
よって高精度な論理検証を実現すると共に、障害発生時
の障害解析が容易に可能とされる論理検証環境制御装置
を得ることができる。
(4) According to the above (1) to (3), the logic simulation device or the information processing device to be the logic verification target can be logically verified under the actual use environment, thereby achieving high accuracy. It is possible to obtain a logic verification environment control device that realizes logic verification and facilitates failure analysis when a failure occurs.

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

【図1】本発明の一実施例である論理検証環境制御装置
を示すブロック図である。
FIG. 1 is a block diagram showing a logical verification environment control device according to an embodiment of the present invention.

【図2】本実施例の論理検証環境制御装置における乱数
データ発生装置および乱数データ設定装置の処理を示す
説明図である。
FIG. 2 is an explanatory diagram showing a process of a random number data generation device and a random number data setting device in the logic verification environment control device of the present embodiment.

【図3】本実施例において、乱数データ発生装置のキャ
ッシュデータ作成処理を示すフローチャート図である。
FIG. 3 is a flowchart showing a cache data creation process of the random number data generation device in the present embodiment.

【図4】本実施例において、乱数データ発生装置および
乱数データ設定装置のハードウェアレジスタのデータ作
成/設定処理を示すフローチャート図である。
FIG. 4 is a flowchart showing a data creation / setting process of hardware registers of the random number data generator and the random number data setting device in the present embodiment.

【図5】本実施例の論理検証環境制御装置を用いた論理
検証処理を示すフローチャート図である。
FIG. 5 is a flowchart showing a logic verification process using the logic verification environment control device of the present embodiment.

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

1 情報処理装置 2 システムコンソール 3 検証プログラムファイル 4 モデル情報ファイル 5 トレース情報ファイル 11 環境状態制御装置 12 乱数データ発生装置 13 乱数データ設定装置 14 割込み制御装置 15 メモリ 16 キャッシュ 17 レジスタ 18 TLB 1 Information Processing Device 2 System Console 3 Verification Program File 4 Model Information File 5 Trace Information File 11 Environmental Status Control Device 12 Random Data Generator 13 Random Data Setting Device 14 Interrupt Control Device 15 Memory 16 Cache 17 Register 18 TLB

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ゲートレベルの回路シミュレーションを
実施する論理シミュレーション装置、または情報処理装
置に対する論理検証環境制御装置であって、ランダムな
乱数データを作成する乱数データ発生装置と、該乱数デ
ータを前記論理シミュレーション装置または情報処理装
置内のデータ格納手段に設定する乱数データ設定装置
と、前記論理シミュレーション装置または情報処理装置
内で発生した割込みを制御する割込み制御装置と、オペ
レータインタフェース制御、前記論理シミュレーション
装置または情報処理装置の制御、およびトレース情報の
編集出力を実施する環境状態制御装置とを備え、論理検
証プログラムの実行以前に、前記論理シミュレーション
装置または情報処理装置内資源を実使用環境と等価な環
境に設定することを特徴とする論理検証環境制御装置。
1. A logic simulation device for performing gate-level circuit simulation, or a logic verification environment control device for an information processing device, wherein a random number data generator for creating random random number data, and the random number data for the logic. A random number data setting device to be set in the data storage means in the simulation device or the information processing device, an interrupt control device for controlling an interrupt generated in the logic simulation device or the information processing device, an operator interface control, the logic simulation device or An environment state control device for controlling the information processing device and for editing and outputting the trace information is provided, and before the execution of the logic verification program, the logic simulation device or the resources in the information processing device are converted into an environment equivalent to the actual use environment. Special to set Logical verification environment control device.
【請求項2】 前記データ格納手段のエントリデータを
作成する際、該エントリデータを前記論理シミュレーシ
ョン装置または情報処理装置の論理フォーマットに整合
するように作成し、該エントリデータに前記乱数データ
を埋め込むことを特徴とする請求項1記載の論理検証環
境制御装置。
2. When the entry data of the data storage means is created, the entry data is created so as to match the logical format of the logic simulation device or the information processing device, and the random number data is embedded in the entry data. The logical verification environment control device according to claim 1, wherein:
【請求項3】 前記乱数データ発生装置が、特定の前記
論理シミュレーション装置または情報処理装置上で動作
する命令およびアドレスデータを発生することを特徴と
する請求項1記載の論理検証環境制御装置。
3. The logic verification environment control device according to claim 1, wherein the random number data generation device generates an instruction and address data which operate on a specific logic simulation device or information processing device.
【請求項4】 前記乱数データ発生装置が、前記データ
格納手段に設定する乱数データを作成する際、数十から
数百バイトピッチに割込み発生命令オペランドコードを
発生することを特徴とする請求項1記載の論理検証環境
制御装置。
4. The random number data generating device generates an interrupt generation instruction operand code at a pitch of several tens to several hundreds of bytes when generating the random number data to be set in the data storage means. The described logic verification environment control device.
【請求項5】 前記割込み処理装置が、割込み発生アド
レスおよび割込み種別をチェックし、割込み発生アドレ
スからトレース可能な範囲でバックトレースを実施して
トレース情報をセーブすることを特徴とする請求項1記
載の論理検証環境制御装置。
5. The interrupt processing device checks the interrupt generation address and interrupt type, backtraces within a traceable range from the interrupt generation address, and saves the trace information. Logical verification environment control device.
JP4066527A 1992-03-25 1992-03-25 Logic verification environment controlling device Pending JPH05274385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4066527A JPH05274385A (en) 1992-03-25 1992-03-25 Logic verification environment controlling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4066527A JPH05274385A (en) 1992-03-25 1992-03-25 Logic verification environment controlling device

Publications (1)

Publication Number Publication Date
JPH05274385A true JPH05274385A (en) 1993-10-22

Family

ID=13318439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4066527A Pending JPH05274385A (en) 1992-03-25 1992-03-25 Logic verification environment controlling device

Country Status (1)

Country Link
JP (1) JPH05274385A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6481043A (en) * 1987-09-24 1989-03-27 Hitachi Ltd System for testing data processor
JPH03138774A (en) * 1989-10-25 1991-06-13 Hitachi Ltd Logic simulation system
JPH03158972A (en) * 1989-11-16 1991-07-08 Mitsubishi Electric Corp Simulator
JPH03250225A (en) * 1990-02-27 1991-11-08 Hitachi Ltd Logical simulation environment setting system
JPH0434624A (en) * 1990-05-30 1992-02-05 Hitachi Ltd Device for setting up initial condition of parity data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6481043A (en) * 1987-09-24 1989-03-27 Hitachi Ltd System for testing data processor
JPH03138774A (en) * 1989-10-25 1991-06-13 Hitachi Ltd Logic simulation system
JPH03158972A (en) * 1989-11-16 1991-07-08 Mitsubishi Electric Corp Simulator
JPH03250225A (en) * 1990-02-27 1991-11-08 Hitachi Ltd Logical simulation environment setting system
JPH0434624A (en) * 1990-05-30 1992-02-05 Hitachi Ltd Device for setting up initial condition of parity data

Similar Documents

Publication Publication Date Title
US9507688B2 (en) Execution history tracing method
KR930703642A (en) Out of sequence work process and device
US3938101A (en) Computer system with post execution I/O emulation
US8261251B2 (en) Modification of array access checking in AIX
CN115935631A (en) Test system and method for vehicle equipment and storage medium
CN110637521B (en) Data real-time storage method and system based on model simulation
US6453276B1 (en) Method and apparatus for efficiently generating test input for a logic simulator
US7110934B2 (en) Analysis of the performance of a portion of a data processing system
JPH05274385A (en) Logic verification environment controlling device
WO2021247074A1 (en) Resumable instruction generation
JP2944321B2 (en) Logical evaluation system
JPH0821009B2 (en) CHANNEL CONTROLLER INITIALIZATION METHOD AND SYSTEM FOR THE INITIALIZATION
JPH0510692B2 (en)
KR100310291B1 (en) Method for simulating parallel program on single system
Lin et al. Automated development tools for Linux USB drivers
KR100246465B1 (en) Apparatus and method for reducing cycle of microprocessor stack order
JP2793396B2 (en) Computer status holding device
JPS6113615B2 (en)
CN1794244B (en) Data conversion unit and its implementing method and data receiving module
JP5499682B2 (en) Semiconductor integrated circuit, debug system, debug method, debug program, and recording medium
CN116775454A (en) Method for testing a computer program
JPH1097440A (en) Electronic computer diagnosing device
JPH04248634A (en) Debugger
JPH11149489A (en) Simulation system
Grant et al. Pseudo-emulation facilities for the ferranti FDS-10 development system