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
JP5234806B2 - Logic simulation apparatus and simulation method thereof - Google Patents
[go: Go Back, main page]

JP5234806B2 - Logic simulation apparatus and simulation method thereof - Google Patents

Logic simulation apparatus and simulation method thereof Download PDF

Info

Publication number
JP5234806B2
JP5234806B2 JP2009116041A JP2009116041A JP5234806B2 JP 5234806 B2 JP5234806 B2 JP 5234806B2 JP 2009116041 A JP2009116041 A JP 2009116041A JP 2009116041 A JP2009116041 A JP 2009116041A JP 5234806 B2 JP5234806 B2 JP 5234806B2
Authority
JP
Japan
Prior art keywords
function
test
unit
logic
logic simulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009116041A
Other languages
Japanese (ja)
Other versions
JP2010266973A (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.)
NEC Platforms Ltd
Original Assignee
NEC AccessTechnica 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 NEC AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP2009116041A priority Critical patent/JP5234806B2/en
Publication of JP2010266973A publication Critical patent/JP2010266973A/en
Application granted granted Critical
Publication of JP5234806B2 publication Critical patent/JP5234806B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Description

本発明は、論理シミュレーション装置およびそのシミュレーション方法に関し、特にFPGA(Field Programmable Gate Array )等のデバイスによる大規模な回路設計の論理シミュレーション装置およびそのシミュレーション方法に関する。   The present invention relates to a logic simulation apparatus and a simulation method thereof, and more particularly to a logic simulation apparatus and a simulation method for a large-scale circuit design using a device such as an FPGA (Field Programmable Gate Array).

近年、FPGA等のデバイスのテクノロジーが向上したことで、大規模な回路設計が可能となった。その反面、回路設計のシミュレーション(一例として、論理シミュレーション)ではシミュレーションする機能が以前よりも増加している。一方、シミュレーション環境の進歩もあり、大規模な回路でも比較的短時間でシミュレーションすることが可能となった。   In recent years, large-scale circuit design has become possible due to improvements in the technology of devices such as FPGAs. On the other hand, in the simulation of circuit design (for example, logic simulation), the function to simulate is increasing more than before. On the other hand, the simulation environment has been improved, and it has become possible to simulate even a large-scale circuit in a relatively short time.

図8は本発明に関連する論理シミュレーション装置の一例の構成図である。同図を参照すると、関連する論理シミュレーション装置の一例は、機能仕様部1と、ハード言語(HDL;Hardware Description Language )記述生成部2と、論理シミュレーション(SIM:Simulation)部5と、論理合成部3と、レイアウト部4と、ASIC(Application Specific Integrated Circuit )部6と、FPGA(Field Programmable Gate Array )部7とを含んで構成される。   FIG. 8 is a block diagram of an example of a logic simulation apparatus related to the present invention. Referring to the figure, an example of a related logic simulation device includes a function specification unit 1, a hardware description language (HDL) description generation unit 2, a logic simulation (SIM) unit 5, and a logic synthesis unit. 3, a layout unit 4, an application specific integrated circuit (ASIC) unit 6, and a field programmable gate array (FPGA) unit 7.

機能仕様部1には実現したい機能が記載されている。ハード言語記述生成部2は機能仕様部1に記載された機能を基にハード言語記述を行う。論理シミュレーション部5は、ハード言語記述生成部2で作成したHDLの論理検証を行い、機能仕様部1に記載された機能が実現できているか否かを、シミュレーションを実行して確認する。そして、論理シミュレーション部5にて動作に問題がないことが確認されると、論理合成部3にて論理合成が行われ、さらにレイアウト部4にてレイアウトが行われ、ASIC部6またはFPGA部7が生成される。   The function specification section 1 describes functions to be realized. The hardware language description generation unit 2 performs hardware language description based on the functions described in the function specification unit 1. The logic simulation unit 5 performs logic verification of the HDL created by the hardware language description generation unit 2 and executes a simulation to check whether the function described in the function specification unit 1 is realized. When the logic simulation unit 5 confirms that there is no problem in operation, the logic synthesis unit 3 performs logic synthesis, the layout unit 4 performs layout, and the ASIC unit 6 or the FPGA unit 7. Is generated.

図9は関連する論理シミュレーション装置の一例のハード言語記述生成部2における回路の一部分、一例としてカウンタ生成ブロック50の構成図である。同図を参照すると、カウンタ生成ブロック50はカウンタ(一例として、Nビットカウンタ(Nは正の整数))51と、初期値として設定されるデータレジスタ(ALL“0”)52と、カウンタ出力の最大値(MAX値)53と、クロック54とを含んで構成される。したがって、論理シミュレーション部5における論理シミュレーションではNビットをフルカウントさせて動作を確認する必要がある。   FIG. 9 is a configuration diagram of a part of a circuit in the hardware language description generation unit 2 as an example of a related logic simulation device, and a counter generation block 50 as an example. Referring to the figure, the counter generation block 50 includes a counter (for example, an N-bit counter (N is a positive integer)) 51, a data register (ALL “0”) 52 set as an initial value, and a counter output. A maximum value (MAX value) 53 and a clock 54 are included. Therefore, in the logic simulation in the logic simulation unit 5, it is necessary to check the operation by fully counting N bits.

図10は、関連する論理シミュレーション装置の一例におけるNビットカウンタ51の動作を示すタイムチャートである。同図は16ビットカウンタ(N=16)の一例を示しており、クロック54に同期してカウンタ51は初期値“0000”から“FFFFh(hは16進数を示す)”まで順次カウントアップされ、カウント値がMAX値、すなわち“FFFFh”に達するとクリア(“0000”)されることを示している。このような16ビットカウンタでは“0000”から“FFFFh”までカウントするのに“16536クロック(CLK)”かかることを同図は示している。   FIG. 10 is a time chart showing the operation of the N-bit counter 51 in an example of a related logic simulation apparatus. The figure shows an example of a 16-bit counter (N = 16). In synchronization with the clock 54, the counter 51 is sequentially counted up from an initial value “0000” to “FFFFh (h is a hexadecimal number)”. When the count value reaches the MAX value, that is, “FFFFh”, it is cleared (“0000”). This figure shows that such a 16-bit counter takes “16536 clocks (CLK)” to count from “0000” to “FFFFh”.

一方、本発明に関連する発明として、半導体集積回路のテスト回路付加装置の一例が特許文献1に開示されている。これは、テストパターンによる故障シミュレーションで得られた回路状態をもとに、複数の未検出故障の伝搬経路を検索し、検索された回路から最適なテスト回路挿入位置を検出し、検出された信号に対しタイミングを考慮しつつ、パリティチェックを行うテスト付加回路を付加することにより、自動的に、効率よくテスト回路を最適位置に挿入して既存のテストパターンによる故障シミュレーションで発見できなかった故障を検出するというものである。   On the other hand, as an invention related to the present invention, an example of a test circuit adding device for a semiconductor integrated circuit is disclosed in Patent Document 1. This is based on the circuit state obtained by the failure simulation using the test pattern, searching for multiple undetected failure propagation paths, detecting the optimum test circuit insertion position from the searched circuit, and detecting the detected signal. By adding a test additional circuit that performs parity check while taking timing into consideration, a test circuit can be automatically and efficiently inserted at the optimal position to find a fault that could not be found by fault simulation using existing test patterns. It is to detect.

また、カウンタ回路のテスト回路の一例が特許文献2に開示されている。これはカウンタ回路のテスト時間を短縮させるテスト回路に関するものである。カウンタ回路は複数のブロック(一例として4ビットで1ブロック)に分割され、テスト回路はカウンタ回路の1ブロックごとに“1111”を転送する。そして、テスト回路はカウンタ回路をカウントアップし、桁上りするか否かを調べる。そして、桁上りしてカウント値が“0000”、隣接する上位ビットが“1”となれば正常と判定する。これを各ブロックについて実行するというものである。   An example of a test circuit for the counter circuit is disclosed in Patent Document 2. This relates to a test circuit that shortens the test time of the counter circuit. The counter circuit is divided into a plurality of blocks (for example, one block of 4 bits), and the test circuit transfers “1111” for each block of the counter circuit. Then, the test circuit counts up the counter circuit and checks whether or not a carry is performed. Then, when the carry is carried and the count value is “0000” and the adjacent upper bits are “1”, it is determined as normal. This is executed for each block.

特開平06−148292号公報Japanese Patent Laid-Open No. 06-148292 特開2001−352239号公報JP 2001-352239 A

しかし、図8〜10に記載の関連技術では、“N”の値が大きくなればなるほどシミュレーションに費やす時間が膨大となるという課題がある。このような、シミュレーション結果を知るまでに、いわば、ただ待つだけの「無意味な時間」を要する回路のスペックがシミュレーション確認の遅延につながっている。   However, in the related techniques described in FIGS. 8 to 10, there is a problem that the time spent for simulation becomes enormous as the value of “N” increases. In other words, the specification of a circuit that requires “insignificant time” just waiting until the simulation result is known leads to a delay in the simulation confirmation.

一方、特許文献1に記載の発明は、テスト回路を付加するという点で本発明と共通するものの、その目的は既存のテストパターンによる故障シミュレーションで発見できなかった故障を発見することであり、その目的が本発明と全く相違する。したがって、特許文献1に記載の発明から論理シミュレーション時間を短縮するという本発明の目的は得られない。   On the other hand, the invention described in Patent Document 1 is common to the present invention in that a test circuit is added, but its purpose is to find a failure that cannot be found by a failure simulation based on an existing test pattern. The object is completely different from the present invention. Therefore, the object of the present invention to shorten the logic simulation time cannot be obtained from the invention described in Patent Document 1.

また、特許文献2に記載の発明は、カウンタ回路のテスト時間を短縮させる点で本発明と共通するものの、特許文献2に記載されているのはカウンタ回路およびテスト回路のみである。このカウンタ回路およびテスト回路は後述する本発明のテストモード仕様部10−2に対応する。一方、特許文献2には、後述する本発明の機能仕様部10−1に対応する構成は記載されていない。   The invention described in Patent Document 2 is common to the present invention in that the test time of the counter circuit is shortened, but only the counter circuit and the test circuit are described in Patent Document 2. The counter circuit and the test circuit correspond to a test mode specification unit 10-2 of the present invention described later. On the other hand, Patent Document 2 does not describe a configuration corresponding to a functional specification unit 10-1 of the present invention described later.

本発明は、HDLの設計段階から機能仕様部10−1とともにテストモード仕様部10−2を用いて論理シミュレーションを行うところに特徴がある。すなわち、設計段階からテストモードを意識した回路の設計ができるため、論理シミュレーションからの後戻りが少ないという効果がある。したがって、機能仕様部10−1に対応する構成を有しない特許文献2に記載の発明から、テストモード仕様部10−2を用いて機能仕様部10−1の一部機能の論理シミュレーション時間を短縮するという本発明の効果は得られない。   The present invention is characterized in that logic simulation is performed using the test mode specification unit 10-2 together with the function specification unit 10-1 from the HDL design stage. That is, since the circuit can be designed in consideration of the test mode from the design stage, there is an effect that there is little backtracking from the logic simulation. Therefore, from the invention described in Patent Document 2 that does not have a configuration corresponding to the function specification unit 10-1, the logic simulation time of a part of the function specification unit 10-1 is shortened using the test mode specification unit 10-2. The effect of the present invention is not obtained.

そこで本発明の目的は、論理シミュレーション時間を関連技術に比べ短縮させることが可能な論理シミュレーション装置およびそのシミュレーション方法を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide a logic simulation apparatus and a simulation method thereof that can shorten the logic simulation time as compared with the related art.

前記課題を解決するために本発明による論理シミュレーション装置は、所定機能が記載される機能仕様部と、前記所定機能のうちの一部の実行時間を短縮するためのテスト機能が記載されるテストモード仕様部と、前記機能仕様部およびテストモード仕様部を基に前記所定機能および前記テスト機能を実現するハード言語記述を行うハード言語記述生成部と、前記ハード言語記述生成部で生成されるハード言語記述の論理検証を行う論理シミュレーション部とを含み、ハード言語の設計段階から前記機能仕様部とともに前記テストモード仕様部を用いて論理シミュレーションが行われることを特徴とする。 In order to solve the above problems, a logic simulation apparatus according to the present invention includes a function specification section in which a predetermined function is described, and a test mode in which a test function for reducing the execution time of a part of the predetermined function is described. A hardware language generated by the specification language, a hardware language description generation unit for performing a hardware language description for realizing the predetermined function and the test function based on the function specification unit and the test mode specification unit, and a hardware language generated by the hardware language description generation unit A logic simulation unit that performs logic verification of the description, and the logic simulation is performed using the test mode specification unit together with the function specification unit from the hardware language design stage.

また本発明によるシミュレーション方法は、所定機能が記載される機能仕様部と、前記所定機能のうちの一部の実行時間を短縮するためのテスト機能が記載されるテストモード仕様部と、前記機能仕様部およびテストモード仕様部を基に前記所定機能および前記テスト機能を実現するハード言語記述を行うハード言語記述生成部と、論理シミュレーション部とを含む論理シミュレーション装置のシミュレーション方法であって、前記論理シミュレーション部は前記ハード言語記述生成部で生成されるハード言語記述の論理検証を行う論理検証ステップを含み、ハード言語の設計段階から前記機能仕様部とともに前記テストモード仕様部を用いて論理シミュレーションが行われることを特徴とする。 Further, the simulation method according to the present invention includes a function specification section in which a predetermined function is described, a test mode specification section in which a test function for shortening an execution time of a part of the predetermined function is described, and the function specification A logic simulation apparatus simulation method comprising: a hardware language description generating unit for performing a hardware language description for realizing the predetermined function and the test function based on a test unit and a test mode specification unit; and a logic simulation unit, wherein the logic simulation is performed. The unit includes a logic verification step for performing logic verification of the hardware language description generated by the hardware language description generation unit, and logic simulation is performed using the test mode specification unit together with the function specification unit from the hardware language design stage. It is characterized by that.

また本発明によるプログラムは、所定機能が記載される機能仕様部と、前記所定機能のうちの一部の実行時間を短縮するためのテスト機能が記載されるテストモード仕様部と、前記機能仕様部およびテストモード仕様部を基に前記所定機能および前記テスト機能を実現するハード言語記述を行うハード言語記述生成部と、論理シミュレーション部とを含む論理シミュレーション装置のシミュレーション方法のプログラムであって、前記論理シミュレーション部に、前記ハード言語記述生成部で生成されるハード言語記述の論理検証を行う論理検証ステップを実行させるためのものであり、ハード言語の設計段階から前記機能仕様部とともに前記テストモード仕様部を用いて論理シミュレーションが行われることを特徴とする。 Further, the program according to the present invention includes a function specification part in which a predetermined function is described, a test mode specification part in which a test function for shortening an execution time of a part of the predetermined function is described, and the function specification part And a simulation method of a logic simulation device including a hardware language description generating unit for performing a hardware language description for realizing the predetermined function and the test function based on a test mode specification unit, and a logic simulation unit, It is for causing a simulation unit to execute a logic verification step for performing logic verification of the hardware language description generated by the hardware language description generation unit, and the test mode specification unit together with the function specification unit from the hardware language design stage A logic simulation is performed using.

本発明によれば、上記構成を有することにより論理シミュレーション時間を関連技術に比べ短縮させることが可能となる。   According to the present invention, the logic simulation time can be shortened compared to the related art by having the above configuration.

本発明に係る論理シミュレーション装置の動作原理を示す構成図である。It is a block diagram which shows the operation principle of the logic simulation apparatus which concerns on this invention. 本発明に係る論理シミュレーション装置の第1実施例の構成図である。1 is a configuration diagram of a first embodiment of a logic simulation apparatus according to the present invention. 本発明に係る論理シミュレーション装置の第1実施例のハード言語記述生成部11における回路のカウンタ生成ブロック200およびカウンタ値テストロード回路100の構成図である。3 is a configuration diagram of a circuit counter generation block 200 and a counter value test load circuit 100 in the hardware language description generation unit 11 of the first embodiment of the logic simulation apparatus according to the present invention. FIG. 第1実施例の動作を示すフローチャートである。It is a flowchart which shows operation | movement of 1st Example. カウンタ201の動作の一例を示すタイムチャートである。3 is a time chart showing an example of the operation of a counter 201. 本発明の第2実施例のテスト回路の構成図である。It is a block diagram of the test circuit of 2nd Example of this invention. 論理シミュレーション対象回路の第2実施例の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of 2nd Example of a logic simulation object circuit. 本発明に関連する論理シミュレーション装置の一例の構成図である。It is a block diagram of an example of the logic simulation apparatus relevant to this invention. 関連する論理シミュレーション装置の一例のハード言語記述生成部2におけるカウンタ生成ブロック50の構成図である。It is a block diagram of the counter production | generation block 50 in the hard language description production | generation part 2 of an example of a related logic simulation apparatus. 関連する論理シミュレーション装置の一例におけるNビットカウンタ51の動作を示すタイムチャートである。It is a time chart which shows operation | movement of the N bit counter 51 in an example of a related logic simulation apparatus.

まず、本発明の実施例の説明に入る前に、本発明の動作原理について説明しておく。図1は本発明に係る論理シミュレーション装置の動作原理を示す構成図である。同図を参照すると、本発明に係る論理シミュレーション装置は、機能仕様部10−1と、テストモード仕様部10−2と、ハード言語記述生成部11と、論理シミュレーション部14とを含んで構成される。   First, the operating principle of the present invention will be described before the description of the embodiments of the present invention. FIG. 1 is a block diagram showing the operation principle of a logic simulation apparatus according to the present invention. Referring to FIG. 1, the logic simulation apparatus according to the present invention includes a function specification unit 10-1, a test mode specification unit 10-2, a hardware language description generation unit 11, and a logic simulation unit 14. The

機能仕様部10−1には所定機能が記載される。テストモード仕様部10−2には所定機能のうちの一部の実行時間を短縮するためのテスト機能が記載される。ハード言語記述生成部11は機能仕様部10−1およびテストモード仕様部10−2を基にハード言語記述を行う。論理シミュレーション部14はハード言語記述生成部11で生成されるハード言語記述の論理検証を行う。   The function specification section 10-1 describes a predetermined function. The test mode specification section 10-2 describes a test function for shortening the execution time of a part of the predetermined functions. The hardware language description generation unit 11 performs hardware language description based on the function specification unit 10-1 and the test mode specification unit 10-2. The logic simulation unit 14 performs logic verification of the hardware language description generated by the hardware language description generation unit 11.

このように、本発明では、所定機能のうちの一部の実行時間を短縮するためのテスト機能が記載されるテストモード仕様部10−2を有するため、論理シミュレーション部14は機能仕様部10−1とともにこのテストモード仕様部10−2を用いて論理シミュレーションを行うことにより、論理シミュレーション時間を短縮させることが可能となる。   As described above, in the present invention, the logic simulation unit 14 includes the test function specification unit 10-2 in which the test function for shortening the execution time of a part of the predetermined function is described. 1 and the test mode specification unit 10-2 are used to perform a logic simulation, whereby the logic simulation time can be shortened.

以下、本発明の実施例について添付図面を参照しながら説明する。   Embodiments of the present invention will be described below with reference to the accompanying drawings.

図2は本発明に係る論理シミュレーション装置の第1実施例の構成図である。なお、同図において、図1と同様の構成部分には同様の番号を付す。図2を参照すると、本発明に係る論理シミュレーション装置の第1実施例は、仕様部10と、ハード言語(HDL)記述生成部11と、論理シミュレーション(SIM)部14と、論理合成部12と、レイアウト部13と、ASIC部15と、FPGA部16と、プログラム格納部17とを含んで構成される。また、仕様部10は機能仕様部10−1と、テストモード仕様部10−2とを含んで構成される。   FIG. 2 is a block diagram of the first embodiment of the logic simulation apparatus according to the present invention. In the figure, the same components as those in FIG. Referring to FIG. 2, the logic simulation apparatus according to the first embodiment of the present invention includes a specification unit 10, a hardware language (HDL) description generation unit 11, a logic simulation (SIM) unit 14, a logic synthesis unit 12, , The layout unit 13, the ASIC unit 15, the FPGA unit 16, and the program storage unit 17. The specification unit 10 includes a function specification unit 10-1 and a test mode specification unit 10-2.

機能仕様部10−1には所定機能が記載される。テストモード仕様部10−2には所定機能のうちの一部の実行時間を短縮するためのテスト機能が記載される。すなわち、テストモード仕様部10−2とは、機能仕様部10−1で実現する機能から論理シミュレーション確認時に多くの時間を必要としそうな箇所(本発明では、一例としてカウンタ)を検討し、必要と判断した箇所にテスト回路を追加する内容が記載された仕様書である。   The function specification section 10-1 describes a predetermined function. The test mode specification section 10-2 describes a test function for shortening the execution time of a part of the predetermined functions. That is, the test mode specification unit 10-2 examines a location (in the present invention, a counter as an example) that is likely to require a lot of time from the function realized by the function specification unit 10-1. This is a specification document that describes the content of adding a test circuit to the determined location.

ハード言語(HDL)記述生成部11は機能仕様部10−1とテストモード仕様部10−2とを基にハード言語記述を行う。論理シミュレーション部14は、ハード言語記述生成部11で作成したHDLの論理検証を行い、機能仕様部10−1およびテストモード仕様部10−2に記載された機能が実現できているか否かを、シミュレーションを実行して確認する。そして、論理シミュレーション部14にて動作に問題がないことが確認されると、論理合成部12にて論理合成が行われ、さらにレイアウト部13にてレイアウトが行われ、ASIC部15またはFPGA部16が生成される。   The hardware language (HDL) description generation unit 11 performs hardware language description based on the function specification unit 10-1 and the test mode specification unit 10-2. The logic simulation unit 14 performs logic verification of the HDL created by the hardware language description generation unit 11, and determines whether or not the functions described in the function specification unit 10-1 and the test mode specification unit 10-2 are realized. Check by running a simulation. When the logic simulation unit 14 confirms that there is no problem in operation, the logic synthesis unit 12 performs logic synthesis, the layout unit 13 performs layout, and the ASIC unit 15 or the FPGA unit 16. Is generated.

図3は本発明に係る論理シミュレーション装置の第1実施例のハード言語記述生成部11における回路の一部分、一例としてカウンタ生成ブロック200およびカウンタ値テストロード回路100の構成図である。カウンタ生成ブロック200は関連技術のカウンタ生成ブロック50(図7参照)に対応するが、本発明の特徴はこのカウンタ生成ブロック200にカウンタ値テストロード回路100を追加したことにある。   FIG. 3 is a block diagram of a part of a circuit in the hard language description generation unit 11 of the first embodiment of the logic simulation apparatus according to the present invention, for example, a counter generation block 200 and a counter value test load circuit 100. The counter generation block 200 corresponds to the counter generation block 50 (see FIG. 7) of the related art. A feature of the present invention is that a counter value test load circuit 100 is added to the counter generation block 200.

図3を参照すると、カウンタ生成ブロック200はカウンタ(一例として、Nビットカウンタ(Nは正の整数))201と、第1初期値が設定されるデータレジスタ52と、第2初期値が設定されるテスト専用レジスタ(Nビット)202と、カウンタ出力の最大値(MAX値)53と、クロック54とを含んで構成される。また、データレジスタ52にはALL“0”、すなわち本実施例では一例として“0000”が予め設定され、テスト専用レジスタ202には一例として“FFFEh”が予め設定される。この“FFFEh”は、たとえば論理シミュレーションの際に確認したいタイミングの直前のカウント値である。   Referring to FIG. 3, the counter generation block 200 has a counter (for example, an N-bit counter (N is a positive integer)) 201, a data register 52 in which a first initial value is set, and a second initial value. A test dedicated register (N bit) 202, a counter output maximum value (MAX value) 53, and a clock 54. In addition, ALL “0” is set in the data register 52, that is, “0000” is preset as an example in the present embodiment, and “FFFEh” is preset as an example in the test dedicated register 202. This “FFFEh” is a count value immediately before the timing to be confirmed in the logic simulation, for example.

一方、カウンタ値テストロード回路100はセレクタ102と、ANDゲート101と、テストロード(TEST LD)端子111と、テスト(TEST)端子112とを含んで構成される。ANDゲート101の出力はセレクタ10の選択入力端子(SEL)に入力される。また、ANDゲート101の2つの入力のうちの一方には図示しないテスト専用レジスタからのテストロード許可信号が入力され、他方にはテスト(TEST)端子112からのテスト信号が入力される。これに対し、セレクタ102にはテストロード(TEST LD)端子111からの“1”と、外部からの“0”が入力される。   On the other hand, the counter value test load circuit 100 includes a selector 102, an AND gate 101, a test load (TEST LD) terminal 111, and a test (TEST) terminal 112. The output of the AND gate 101 is input to the selection input terminal (SEL) of the selector 10. A test load permission signal from a test-dedicated register (not shown) is input to one of the two inputs of the AND gate 101, and a test signal from a test (TEST) terminal 112 is input to the other. On the other hand, “1” from the test load (TEST LD) terminal 111 and “0” from the outside are input to the selector 102.

テスト(TEST)端子112はテスト回路を有効にするためのものであり、テスト(TEST)端子112からのテスト信号とテストロード許可信号がANDゲート101に入力されると、AND条件を満たし、ANDゲート101からテストロード信号がセレクタ102の選択入力端子(SEL)に入力される。このテストロード信号がセレクタ102に入力されると、セレクタ102からの出力は“0”(通常モード)から“1”(テストモード)に変化する。   The test (TEST) terminal 112 is for validating the test circuit. When the test signal from the test (TEST) terminal 112 and the test load permission signal are input to the AND gate 101, the AND condition is satisfied, and the AND A test load signal is input from the gate 101 to the selection input terminal (SEL) of the selector 102. When this test load signal is input to the selector 102, the output from the selector 102 changes from "0" (normal mode) to "1" (test mode).

一方、セレクタ102から出力“0”(通常モード)がカウンタ201のLD2端子に入力されると、カウンタ201の初期設定値として第1初期値“0000”が設定され、セレクタ102から出力“1”(テストモード)がカウンタ201のLD2端子に入力されると、カウンタ201の初期設定値として第2初期値“FFFEh”が設定されるようカウンタ生成ブロック200は構成されている。   On the other hand, when the output “0” (normal mode) is input from the selector 102 to the LD2 terminal of the counter 201, the first initial value “0000” is set as the initial setting value of the counter 201, and the output “1” is output from the selector 102. When (test mode) is input to the LD2 terminal of the counter 201, the counter generation block 200 is configured such that the second initial value “FFFEh” is set as the initial setting value of the counter 201.

次に、カウンタ生成ブロック200の動作について詳細に説明する。図4は第1実施例の動作を示すフローチャート、図5はカウンタ201の動作の一例を示すタイムチャートである。なお、以下の動作は、図2の論理シミュレーション部14がハード言語記述生成部11を制御することにより実行される。なお、図2のプログラム格納部17については後述する。   Next, the operation of the counter generation block 200 will be described in detail. FIG. 4 is a flowchart showing the operation of the first embodiment, and FIG. 5 is a time chart showing an example of the operation of the counter 201. The following operation is executed by the logic simulation unit 14 in FIG. 2 controlling the hardware language description generation unit 11. The program storage unit 17 in FIG. 2 will be described later.

まず、通常モードの動作について説明する。テストモードではないので(図4のステップS1にて“No”)、初期値として第1初期値をカウンタ201に設定する。次に、初期値として第1初期値をカウンタ201に設定する動作(図4のステップS5)について説明する。   First, the operation in the normal mode will be described. Since it is not the test mode (“No” in step S1 in FIG. 4), the first initial value is set in the counter 201 as the initial value. Next, the operation (step S5 in FIG. 4) for setting the first initial value in the counter 201 as the initial value will be described.

図3を参照すると、この場合、カウンタ値テストロード回路100のANDゲート101には、少なくともテストロード許可信号は入力されない。したがって、AND条件を満たさず、ANDゲート101からテストロード信号がセレクタ102の選択入力端子(SEL)に入力されない。これにより、セレクタ102から出力“0”(通常モード)がカウンタ201のLD2端子に入力される。LD2端子に“0”が入力されると、カウンタ201は初期設定値として第1初期値“0000”を設定する(図4のステップS5)。   Referring to FIG. 3, in this case, at least the test load permission signal is not input to the AND gate 101 of the counter value test load circuit 100. Therefore, the AND condition is not satisfied, and the test load signal from the AND gate 101 is not input to the selection input terminal (SEL) of the selector 102. As a result, the output “0” (normal mode) is input from the selector 102 to the LD 2 terminal of the counter 201. When “0” is input to the LD2 terminal, the counter 201 sets the first initial value “0000” as the initial setting value (step S5 in FIG. 4).

次に、カウンタ201はカウントを開始する(図4のステップS3)。次に、カウントアップの動作について説明する。クロック54がカウンタ201のCLK端子に入力されると、カウンタ201は“0000”から“FFFFh”まで順次カウントを行い、カウント値が最大値“FFFFh”、すなわち最大値(MAX値)53となると(図4のステップS4にて“Yes”)、カウント値をクリア(“0000”)し動作は終了する。   Next, the counter 201 starts counting (step S3 in FIG. 4). Next, the count-up operation will be described. When the clock 54 is input to the CLK terminal of the counter 201, the counter 201 sequentially counts from “0000” to “FFFFh”, and when the count value reaches the maximum value “FFFFh”, that is, the maximum value (MAX value) 53 ( In step S4 of FIG. 4, “Yes”), the count value is cleared (“0000”), and the operation is terminated.

また、カウント値が最大値“FFFFh”、すなわち最大値(MAX値)53とならない場合は(図4のステップS4にて“No”)、カウントアップするまでステップS4に留まる。一方、ここで動作を終了させず、ステップS4“Yes”からステップS5に戻り、再びカウント動作を行わせることも可能である。したがって、この場合、“0000”から“FFFFh”までカウントするのに16536CLK要することになる(図8参照)。   If the count value is not the maximum value “FFFFh”, that is, the maximum value (MAX value) 53 (“No” in step S4 in FIG. 4), the process stays at step S4 until the count is increased. On the other hand, it is also possible to return to step S5 from step S4 “Yes” without causing the operation to end, and to perform the counting operation again. Therefore, in this case, it takes 16536 CLK to count from “0000” to “FFFFh” (see FIG. 8).

次に、テストモードの動作について説明する。テストモードであるので(図4のステップS1にて“Yes”)、初期値として第2初期値をカウンタ201に設定する。次に、初期値として第2初期値をカウンタ201に設定する動作(図4のステップS2)について説明する。   Next, the operation in the test mode will be described. Since it is the test mode (“Yes” in step S1 in FIG. 4), the second initial value is set in the counter 201 as the initial value. Next, the operation (step S2 in FIG. 4) for setting the second initial value in the counter 201 as the initial value will be described.

図3を参照すると、この場合、カウンタ値テストロード回路100のANDゲート101には、テストロード許可信号およびテスト端子112からのテスト信号が入力される。したがって、AND条件を満たし、ANDゲート101からテストロード信号がセレクタ102の選択入力端子(SEL)に入力される。これにより、セレクタ102から出力“1”(テストモード)がカウンタ201のLD2端子に入力される。LD2端子に“1”が入力されると、カウンタ201は初期設定値として第2初期値(一例として、“FFFEh”)を設定する(図4のステップS2)。   Referring to FIG. 3, in this case, a test load permission signal and a test signal from the test terminal 112 are input to the AND gate 101 of the counter value test load circuit 100. Therefore, the AND condition is satisfied, and the test load signal is input from the AND gate 101 to the selection input terminal (SEL) of the selector 102. As a result, the output “1” (test mode) is input from the selector 102 to the LD 2 terminal of the counter 201. When “1” is input to the LD2 terminal, the counter 201 sets a second initial value (for example, “FFFEh”) as an initial setting value (step S2 in FIG. 4).

次に、カウンタ201はカウントを開始する(図4のステップS3)。次に、カウントアップの動作について説明する。クロック54がカウンタ201のCLK端子に入力されると、カウンタ201は“0000”、“0001”までカウントした後、“FFFEh”にジャンプし“FFFFh”までカウントを行い、カウント値が最大値“FFFFh”、すなわち最大値(MAX値)53となると(図4のステップS4にて“Yes”)、カウント値をクリア(“0000”)し動作は終了する。   Next, the counter 201 starts counting (step S3 in FIG. 4). Next, the count-up operation will be described. When the clock 54 is input to the CLK terminal of the counter 201, the counter 201 counts up to “0000” and “0001”, then jumps to “FFFEh” and counts up to “FFFFh”. The count value is the maximum value “FFFFh”. ", That is, when the maximum value (MAX value) 53 is reached (" Yes "in step S4 in FIG. 4), the count value is cleared (" 0000 ") and the operation ends.

また、カウント値が最大値“FFFFh”、すなわち最大値(MAX値)53とならない場合は(図4のステップS4にて“No”)、カウントアップするまでステップS4に留まる。一方、ここで動作を終了させず、ステップS4“Yes”からステップS2に戻り、再びカウント動作を行わせることも可能である。したがって、この場合、“0000”から“FFFFh”までカウントするのに4CLKで完了することになる(図5参照)。   If the count value is not the maximum value “FFFFh”, that is, the maximum value (MAX value) 53 (“No” in step S4 in FIG. 4), the process stays at step S4 until the count is increased. On the other hand, it is also possible to return to step S2 from step S4 “Yes” without terminating the operation, and to perform the counting operation again. Therefore, in this case, counting from “0000” to “FFFFh” is completed at 4 CLK (see FIG. 5).

なお、第1実施例では第2初期値として“FFFEh”を例に挙げたが、これに限定されるものではなく、第1初期値よりも大きな値であれば任意の値を第2初期値として設定することが可能である。また、第1実施例では16ビットカウンタを例に挙げたが、これに限定されるものではなく、任意ビット数のカウンタに本発明の適用が可能である。   In the first embodiment, “FFFEh” is exemplified as the second initial value. However, the present invention is not limited to this, and any value that is larger than the first initial value may be set as the second initial value. Can be set as In the first embodiment, a 16-bit counter is used as an example. However, the present invention is not limited to this, and the present invention can be applied to a counter having an arbitrary number of bits.

以上説明したように、本発明の第1実施例によれば、カウンタの初期値を“0”よりも大きな値に変更可能な構成を有するため、カウントの早回しが可能となり、よって、論理シミュレーション時間を関連技術に比べ短縮させることが可能となる。   As described above, according to the first embodiment of the present invention, since the initial value of the counter can be changed to a value larger than “0”, the count can be quickly rotated. Time can be reduced compared to related technologies.

すなわち、本発明の第1実施例によれば、カウンタ動作を自由に操れることで効率よくシミュレーションを実施でき、かつ時間の短縮に大きく貢献することが可能となる。たとえば、16ビットカウンタにテスト回路を付加した場合、通常の1/32768(“FFFFh”をロードした場合)でカウンタを1周することが可能となる。さらに、カウンタロード値は任意に決めることができるため、シミュレーションで確認したいポイントまで時間短縮したい場合にも有効に活用することができる。   That is, according to the first embodiment of the present invention, the counter operation can be freely operated, so that the simulation can be efficiently performed and the time can be greatly reduced. For example, when a test circuit is added to a 16-bit counter, the counter can be rotated once in a normal 1/32768 (when “FFFFh” is loaded). Furthermore, since the counter load value can be determined arbitrarily, it can be used effectively when it is desired to shorten the time to the point to be confirmed by simulation.

第1実施例ではカウンタの早回しに関して述べたが、カウンタ以外でもテスト回路を設けることにより論理シミュレーション時間を短縮することが可能である。第2実施例では割り込み信号等、他ブロックで作成された信号を基に動作する回路に本発明を適用した場合について説明する。   Although the first embodiment has been described with respect to the rapid rotation of the counter, it is possible to reduce the logic simulation time by providing a test circuit other than the counter. In the second embodiment, a case will be described in which the present invention is applied to a circuit that operates based on signals generated in other blocks such as an interrupt signal.

割り込み信号等、他ブロックで作成された信号を基に動作する回路では、割り込み信号等は一定の条件でのみ発生する。したがって、一定の条件となるまで割り込み信号等は発生しないため、この回路について論理シミュレーションを行う場合、一定の条件となるまで待たなければならなくなる。したがって、シミュレーションに費やす時間が膨大となるという課題がある。   In a circuit that operates on the basis of a signal created in another block, such as an interrupt signal, the interrupt signal or the like is generated only under certain conditions. Therefore, an interrupt signal or the like is not generated until a certain condition is met. Therefore, when a logic simulation is performed on this circuit, it is necessary to wait until the certain condition is met. Therefore, there is a problem that the time spent for simulation becomes enormous.

そこで、本発明の第2実施例ではテスト割り込み信号を用いて割り込み信号等が発生する条件(必要な状態および有効なデータ等)を意図的に作成し、これをテストモード仕様部10−2として記述する。したがって、テストモードを選択した場合、即座に割り込み信号等が発生することになる。   Therefore, in the second embodiment of the present invention, a condition (necessary state and valid data) for generating an interrupt signal or the like is intentionally created using a test interrupt signal, and this is used as a test mode specification section 10-2. Describe. Therefore, when the test mode is selected, an interrupt signal or the like is generated immediately.

図6は本発明の第2実施例のテスト回路の構成図、図7は論理シミュレーション対象回路の第2実施例の動作を示すタイミングチャートである。図6のテスト回路300は図3(第1実施例)のカウンタ値テストロード回路100に対応する。また、図3(第1実施例)のカウンタ生成ブロック200に対応するものは図7にその動作が示される論理シミュレーション対象回路となる。   FIG. 6 is a block diagram of the test circuit of the second embodiment of the present invention, and FIG. 7 is a timing chart showing the operation of the second embodiment of the logic simulation target circuit. The test circuit 300 in FIG. 6 corresponds to the counter value test load circuit 100 in FIG. 3 (first embodiment). Also, the circuit corresponding to the counter generation block 200 in FIG. 3 (first embodiment) is a logic simulation target circuit whose operation is shown in FIG.

図6を参照すると、テスト回路300はセレクタ303と、ANDゲート301および302と、テスト割り込み端子304と、テスト(TEST)端子305とを含んで構成される。セレクタ303にはテスト割り込み端子304からのテスト割り込み信号“1”と、ANDゲート301の出力である内部割り込み信号“0”が入力される。また、セレクタ303の選択入力端子(SEL)にはANDゲート302の出力信号が入力される。   Referring to FIG. 6, the test circuit 300 includes a selector 303, AND gates 301 and 302, a test interrupt terminal 304, and a test (TEST) terminal 305. The selector 303 receives the test interrupt signal “1” from the test interrupt terminal 304 and the internal interrupt signal “0” which is the output of the AND gate 301. The output signal of the AND gate 302 is input to the selection input terminal (SEL) of the selector 303.

また、ANDゲート301の2つの入力のうちの一方には要因A信号が入力され、他方には要因B信号が入力される。また、ANDゲート302の2つの入力のうちの一方には図示しないテスト専用レジスタからのテストロード許可信号が入力され、他方にはテスト(TEST)端子305からのテスト信号が入力される。   The factor A signal is input to one of the two inputs of the AND gate 301, and the factor B signal is input to the other. A test load permission signal from a test-dedicated register (not shown) is input to one of the two inputs of the AND gate 302, and a test signal from a test (TEST) terminal 305 is input to the other.

テスト割り込み端子304はテスト回路を有効にするためにテスト割り込み信号“1”をセレクタ303に入力するためのものである。テスト(TEST)端子305からのテスト信号とテストロード許可信号がANDゲート302に入力されると、AND条件を満たし、ANDゲート302からテストロード信号がセレクタ303の選択入力端子(SEL)に入力される。   The test interrupt terminal 304 is for inputting a test interrupt signal “1” to the selector 303 in order to validate the test circuit. When the test signal and the test load permission signal from the test (TEST) terminal 305 are input to the AND gate 302, the AND condition is satisfied, and the test load signal is input from the AND gate 302 to the selection input terminal (SEL) of the selector 303. The

一方、要因A信号および要因B信号は割り込み発生条件の信号であり、これらの信号がANDゲート301に入力される。そして要因A信号および要因B信号がANDゲート301に入力されると、AND条件を満たし、ANDゲート302から内部割り込み信号“0”がセレクタ303に入力される。   On the other hand, the factor A signal and the factor B signal are interrupt generation condition signals, and these signals are input to the AND gate 301. When the factor A signal and the factor B signal are input to the AND gate 301, the AND condition is satisfied, and the internal interrupt signal “0” is input from the AND gate 302 to the selector 303.

一方、セレクタ303からの出力は図示しない論理シミュレーション対象回路に入力される。次に、セレクタ303および論理シミュレーション対象回路の動作について図7を参照しながら説明する。   On the other hand, the output from the selector 303 is input to a logic simulation target circuit (not shown). Next, operations of the selector 303 and the logic simulation target circuit will be described with reference to FIG.

まず、通常モードの動作について説明する。この場合、ANDゲート302の2つの入力信号のうち少なくとも一方はANDゲート302に入力されないので、AND条件を満たさず、したがってセレクタ303では“0”が選択され、信号“0”がセレクタ303から出力される。“0”は通常の要因Aおよび要因Bの条件で割り込みを発生させるモードなので、図7を参照すると、要因Aおよび要因Bの条件を共に満足する時刻T2に論理シミュレーション対象回路において割り込みが発生することになる。   First, the operation in the normal mode will be described. In this case, since at least one of the two input signals of the AND gate 302 is not input to the AND gate 302, the AND condition is not satisfied. Therefore, the selector 303 selects “0” and the signal “0” is output from the selector 303. Is done. Since “0” is a mode in which an interrupt is generated under the conditions of normal factor A and factor B, referring to FIG. 7, an interrupt is generated in the logic simulation target circuit at time T2 when both the conditions of factor A and factor B are satisfied. It will be.

これに対し、テストモードの動作の場合、ANDゲート302の2つの入力信号が共にANDゲート302に入力されるので、AND条件を満たし、したがってセレクタ303では“1”が選択され、信号“1”がセレクタ303から出力される。信号“1”はテスト割り込みで割り込みを発生させるモードなので、図7を参照すると、テスト割り込み信号“1”の発生時、すなわち時刻T1(T1<T2)に論理シミュレーション対象回路において割り込みが発生することになる。したがって、テストモードの場合、通常モードの場合よりも早く割り込みを発生させることが可能となる。   On the other hand, in the case of the test mode operation, the two input signals of the AND gate 302 are both input to the AND gate 302, so that the AND condition is satisfied. Therefore, the selector 303 selects “1” and the signal “1”. Is output from the selector 303. Since the signal “1” is a mode in which an interrupt is generated by a test interrupt, referring to FIG. 7, when a test interrupt signal “1” is generated, that is, at time T1 (T1 <T2), an interrupt is generated in the logic simulation target circuit. become. Therefore, in the test mode, an interrupt can be generated earlier than in the normal mode.

以上説明したように、本発明の第2実施例によれば、割り込み信号等が発生する条件(必要な状態および有効なデータ等)を意図的に作成し、これをテストモード仕様部10−2として記述する構成を有するため、論理シミュレーション時間を関連技術に比べ短縮させることが可能となる。   As described above, according to the second embodiment of the present invention, a condition (necessary state and valid data) for generating an interrupt signal or the like is intentionally created, and this is generated by the test mode specification section 10-2. Therefore, the logic simulation time can be shortened as compared with the related art.

第3実施例は論理シミュレーション装置のシミュレーション方法のプログラムに関するものである。前述のように、本発明に係る論理シミュレーション装置はプログラム格納部17を含んでいる(図2参照)。このプログラム格納部17には前述の図4にフローチャートで示す論理シミュレーション装置のシミュレーション方法のプログラムが格納されている。   The third embodiment relates to a program for a simulation method of a logic simulation apparatus. As described above, the logic simulation apparatus according to the present invention includes the program storage unit 17 (see FIG. 2). The program storage unit 17 stores a simulation method program of the logic simulation apparatus shown in the flowchart of FIG.

論理シミュレーション装置の論理シミュレーション部14はプログラム格納部17からそのプログラムを読み出し、そのプログラムに従ってハード言語記述生成部11を制御する。その制御の内容については既に述べたのでここでの説明は省略する。   The logic simulation unit 14 of the logic simulation apparatus reads the program from the program storage unit 17 and controls the hardware language description generation unit 11 according to the program. Since the contents of the control have already been described, the description thereof is omitted here.

以上説明したように、本発明の第3実施例によれば、論理シミュレーション時間を関連技術に比べ短縮させることが可能なプログラムが得られる。   As described above, according to the third embodiment of the present invention, it is possible to obtain a program capable of reducing the logic simulation time as compared with the related art.

VHDL(VHSIC Hardware Description Language, VHSIC:Very High Speed Integrated Circuit)やVerilog−HDL(Verilog :デジタル回路の設計用の論理シミュレータ)等でシミュレーションを行なう場合に本発明の適用が可能である。   The present invention can be applied to a case where a simulation is performed by VHDL (VHSIC Hardware Description Language, VHSIC: Very High Speed Integrated Circuit), Verilog-HDL (Verilog: logic simulator for designing a digital circuit), or the like.

10 仕様部
10−1 機能仕様部
10−2 テストモード仕様部
11 ハード言語記述生成部
12 論理合成部
13 レイアウト部
14 論理シミュレーション部
15 ASIC部
16 FPGA部
17 プログラム格納部
52 データレジスタ
53 カウンタ出力の最大値
54 クロック
100 カウンタ値テストロード回路
101 ANDゲート
102 セレクタ
111 テストロード端子
112 テスト(TEST)端子
200 カウンタ生成ブロック
201 カウンタ
202 テスト専用レジスタ
300 テスト回路
301、302 ANDゲート
303 セレクタ
304 テスト割り込み端子
305 テスト端子
10 Specification part 10-1 Function specification part 10-2 Test mode specification part
11 Hardware language description generator
12 Logic synthesis part
13 Layout section
14 Logic simulation part
15 ASIC Department
16 FPGA part
17 Program storage
52 Data register
53 Maximum counter output
54 clocks
100 Counter value test load circuit
101 AND gate
102 selector
111 Test load terminal
112 Test (TEST) terminal
200 Counter generation block
201 counter
202 Test dedicated register
300 Test circuit 301, 302 AND gate
303 selector
304 Test interrupt terminal
305 Test terminal

Claims (18)

所定機能が記載される機能仕様部と、
前記所定機能のうちの一部の実行時間を短縮するためのテスト機能が記載されるテストモード仕様部と、
前記機能仕様部およびテストモード仕様部を基に前記所定機能および前記テスト機能を実現するハード言語記述を行うハード言語記述生成部と、
前記ハード言語記述生成部で生成されるハード言語記述の論理検証を行う論理シミュレーション部とを含み、
ハード言語の設計段階から前記機能仕様部とともに前記テストモード仕様部を用いて論理シミュレーションが行われることを特徴とする論理シミュレーション装置。
A functional specification part in which a predetermined function is described;
A test mode specification part in which a test function for shortening the execution time of a part of the predetermined function is described;
A hardware language description generation unit for performing a hardware language description for realizing the predetermined function and the test function based on the function specification unit and the test mode specification unit;
A logic simulation unit that performs logic verification of the hardware language description generated by the hardware language description generation unit,
A logic simulation apparatus, wherein logic simulation is performed using the test mode specification unit together with the function specification unit from the design stage of a hardware language.
前記論理シミュレーション部は、前記所定機能のうちの一部の実行時間を短縮する必要がある場合に前記テストモード仕様部で記載されるテスト機能を用いることを特徴とする請求項1記載の論理シミュレーション装置。   2. The logic simulation according to claim 1, wherein the logic simulation unit uses the test function described in the test mode specification unit when it is necessary to shorten an execution time of a part of the predetermined function. apparatus. 前記テスト機能はカウンタに対するものであることを特徴とする請求項1または2記載の論理シミュレーション装置。   3. The logic simulation apparatus according to claim 1, wherein the test function is for a counter. 前記テスト機能は前記カウンタに設定する初期値を、標準値を超える値に変更して動作させるものであることを特徴とする請求項3記載の論理シミュレーション装置。   4. The logic simulation apparatus according to claim 3, wherein the test function is operated by changing an initial value set in the counter to a value exceeding a standard value. 前記テスト機能は割り込み信号等を基に動作する機能に対するものであることを特徴とする請求項1または2記載の論理シミュレーション装置。   3. The logic simulation apparatus according to claim 1, wherein the test function is for a function that operates based on an interrupt signal or the like. 前記テスト機能は割り込み信号等を予め設定された時刻よりも早く発生させるためのものであることを特徴とする請求項5記載の論理シミュレーション装置。   6. The logic simulation apparatus according to claim 5, wherein the test function is for generating an interrupt signal or the like earlier than a preset time. 所定機能が記載される機能仕様部と、前記所定機能のうちの一部の実行時間を短縮するためのテスト機能が記載されるテストモード仕様部と、前記機能仕様部およびテストモード仕様部を基に前記所定機能および前記テスト機能を実現するハード言語記述を行うハード言語記述生成部と、論理シミュレーション部とを含む論理シミュレーション装置のシミュレーション方法であって、
前記論理シミュレーション部は前記ハード言語記述生成部で生成されるハード言語記述の論理検証を行う論理検証ステップを含み、
ハード言語の設計段階から前記機能仕様部とともに前記テストモード仕様部を用いて論理シミュレーションが行われることを特徴とするシミュレーション方法。
Based on the function specification part in which the predetermined function is described, the test mode specification part in which the test function for reducing the execution time of a part of the predetermined function is described, and the function specification part and the test mode specification part A logic language simulation apparatus including a hardware language description generation unit for performing a hardware language description for realizing the predetermined function and the test function, and a logic simulation unit,
The logic simulation unit includes a logic verification step for performing logic verification of the hardware language description generated by the hardware language description generation unit,
A simulation method characterized in that a logic simulation is performed using the test mode specification unit together with the function specification unit from the design stage of a hardware language.
前記論理シミュレーション部は、前記所定機能のうちの一部の実行時間を短縮する必要がある場合に前記テストモード仕様部で記載されるテスト機能を用いることを特徴とする請求項7記載のシミュレーション方法。   The simulation method according to claim 7, wherein the logic simulation unit uses a test function described in the test mode specification unit when it is necessary to shorten an execution time of a part of the predetermined function. . 前記テスト機能はカウンタに対するものであることを特徴とする請求項または8記載のシミュレーション方法。 9. The simulation method according to claim 7, wherein the test function is for a counter. 前記テスト機能は前記カウンタに設定する初期値を、標準値を超える値に変更して動作させるものであることを特徴とする請求項9記載のシミュレーション方法。   The simulation method according to claim 9, wherein the test function operates by changing an initial value set in the counter to a value exceeding a standard value. 前記テスト機能は割り込み信号等を基に動作する機能に対するものであることを特徴とする請求項7または8記載のシミュレーション方法。   9. The simulation method according to claim 7, wherein the test function is for a function that operates based on an interrupt signal or the like. 前記テスト機能は割り込み信号等を予め設定された時刻よりも早く発生させるためのものであることを特徴とする請求項11記載のシミュレーション方法。   12. The simulation method according to claim 11, wherein the test function is for generating an interrupt signal or the like earlier than a preset time. 所定機能が記載される機能仕様部と、前記所定機能のうちの一部の実行時間を短縮するためのテスト機能が記載されるテストモード仕様部と、前記機能仕様部およびテストモード仕様部を基に前記所定機能および前記テスト機能を実現するハード言語記述を行うハード言語記述生成部と、論理シミュレーション部とを含む論理シミュレーション装置のシミュレーション方法のプログラムであって、
前記論理シミュレーション部に、前記ハード言語記述生成部で生成されるハード言語記述の論理検証を行う論理検証ステップを実行させるためのものであり、
ハード言語の設計段階から前記機能仕様部とともに前記テストモード仕様部を用いて論理シミュレーションが行われることを特徴とするプログラム。
Based on the function specification part in which the predetermined function is described, the test mode specification part in which the test function for reducing the execution time of a part of the predetermined function is described, and the function specification part and the test mode specification part A simulation method of a logic simulation device including a hardware language description generation unit for performing a hardware language description for realizing the predetermined function and the test function, and a logic simulation unit,
For causing the logic simulation unit to execute a logic verification step for performing logic verification of the hardware language description generated by the hardware language description generation unit;
A program in which logic simulation is performed using the test mode specification unit together with the function specification unit from the design stage of a hardware language.
前記論理シミュレーション部は、前記所定機能のうちの一部の実行時間を短縮する必要がある場合に前記テストモード仕様部で記載されるテスト機能を用いることを特徴とする請求項13記載のプログラム。   14. The program according to claim 13, wherein the logic simulation unit uses a test function described in the test mode specification unit when it is necessary to shorten an execution time of a part of the predetermined function. 前記テスト機能はカウンタに対するものであることを特徴とする請求項13または14記載のプログラム。   15. The program according to claim 13, wherein the test function is for a counter. 前記テスト機能は前記カウンタに設定する初期値を、標準値を超える値に変更して動作させるものであることを特徴とする請求項15記載のプログラム。   16. The program according to claim 15, wherein the test function is to operate by changing an initial value set in the counter to a value exceeding a standard value. 前記テスト機能は割り込み信号等を基に動作する機能に対するものであることを特徴とする請求項13または14記載のプログラム。   15. The program according to claim 13, wherein the test function is for a function that operates based on an interrupt signal or the like. 前記テスト機能は割り込み信号等を予め設定された時刻よりも早く発生させるためのものであることを特徴とする請求項17記載のプログラム。   18. The program according to claim 17, wherein the test function is for generating an interrupt signal or the like earlier than a preset time.
JP2009116041A 2009-05-13 2009-05-13 Logic simulation apparatus and simulation method thereof Expired - Fee Related JP5234806B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009116041A JP5234806B2 (en) 2009-05-13 2009-05-13 Logic simulation apparatus and simulation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009116041A JP5234806B2 (en) 2009-05-13 2009-05-13 Logic simulation apparatus and simulation method thereof

Publications (2)

Publication Number Publication Date
JP2010266973A JP2010266973A (en) 2010-11-25
JP5234806B2 true JP5234806B2 (en) 2013-07-10

Family

ID=43363917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009116041A Expired - Fee Related JP5234806B2 (en) 2009-05-13 2009-05-13 Logic simulation apparatus and simulation method thereof

Country Status (1)

Country Link
JP (1) JP5234806B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002162443A (en) * 2000-11-22 2002-06-07 Nec Access Technica Ltd Counter test circuit and method, and semiconductor device
JP4373859B2 (en) * 2004-06-28 2009-11-25 株式会社リコー Functional verification device, test bench circuit, simulator program, and recording medium
JP4631493B2 (en) * 2005-03-25 2011-02-16 ヤマハ株式会社 Simulation device
JP2007310565A (en) * 2006-05-17 2007-11-29 Toshiba Corp System LSI verification apparatus and system LSI verification program

Also Published As

Publication number Publication date
JP2010266973A (en) 2010-11-25

Similar Documents

Publication Publication Date Title
US9117044B2 (en) Hierarchical verification of clock domain crossings
KR20100049614A (en) Method of constrained aggressor set selection for crosstalk induced noise
TWI533154B (en) Digital circuit design method and associated computer program product
US7917882B2 (en) Automated digital circuit design tool that reduces or eliminates adverse timing constraints due to an inherent clock signal skew, and applications thereof
CN112069763B (en) Method for correcting circuit
US12073159B2 (en) Computing device and method for detecting clock domain crossing violation in design of memory device
US9305125B2 (en) Integrated circuit design timing path verification tool
KR20230131255A (en) Computation system including test circuit, test method and test circuit
US20100253409A1 (en) Clock generation system and clock dividing module
US7139673B1 (en) Method of and circuit for verifying a data transfer protocol
JP2007288788A (en) Programmable delay circuit having reduced insertion delays
JP5444985B2 (en) Information processing device
Lee et al. Contango: Integrated optimization of SoC clock networks
JP2014001937A (en) Scan test method, program and scan test circuit
JP5807887B1 (en) Programmable logic device, programmable logic device error verification method, and programmable logic device circuit formation method
US6654939B2 (en) Method of designing logic circuit, and computer product
JP5234806B2 (en) Logic simulation apparatus and simulation method thereof
JP2009180532A (en) Standard cell and semiconductor device
WO2009110615A1 (en) Device for designing semiconductor integrated circuit, method for designing semiconductor integrated circuit, and computer program for designing semiconductor integrated circuit
JP7069608B2 (en) Semiconductor design support device, semiconductor design support method and program
JP2008250583A (en) Layout design apparatus and layout method
JP2011134072A (en) Method for designing semiconductor integrated circuit and program
JP2013036960A (en) Delay scan test method, semiconductor device, and semiconductor device design method
CN101860359A (en) Clock generation system and clock frequency division module
JP6559995B2 (en) Design support apparatus and design support method for semiconductor integrated circuit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120312

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121217

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20121225

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130321

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160405

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees