JPS63123136A - Logical simulator - Google Patents
Logical simulatorInfo
- Publication number
- JPS63123136A JPS63123136A JP61270108A JP27010886A JPS63123136A JP S63123136 A JPS63123136 A JP S63123136A JP 61270108 A JP61270108 A JP 61270108A JP 27010886 A JP27010886 A JP 27010886A JP S63123136 A JPS63123136 A JP S63123136A
- Authority
- JP
- Japan
- Prior art keywords
- state value
- change number
- address
- status value
- storage memory
- 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
Links
- 230000015654 memory Effects 0.000 claims abstract description 34
- 238000004088 simulation Methods 0.000 abstract description 16
- 230000010365 information processing Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000008685 targeting Effects 0.000 description 2
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
炎4欠1
本発明は論理シミュレータに関し、特にハードウェア化
論理シミュレータに関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a logic simulator, and more particularly to a hardware logic simulator.
従来技術
従来のこの様な論理シミュレータについての詳細が以下
に示す文献に開示されている。すなわち、情報処理学会
発行の情報処理筒21回全国大会予稿集(7E−1〜7
E−4) 、同じく情報処理学会発行の情報処理学会誌
1984年10月号9.1048〜p、1055及び同
じく情報処理学会発行の情報処理箱26回全国大会予稿
集(7P−4〜7P−6)等の文献に開示されている。PRIOR ART Details of such conventional logic simulators are disclosed in the following documents. In other words, the 21st National Conference Proceedings of the Information Processing Society of Japan (7E-1 to 7
E-4), Information Processing Society of Japan October 1984 issue 9.1048-p, 1055, also published by the Information Processing Society of Japan, and Information Processing Box 26th National Conference Proceedings (7P-4 to 7P-), also published by the Information Processing Society of Japan. 6) and other documents.
かかる従来の論理シミュレータにおいては、シミュレー
ション対象のシミュレーションモデルがどの程度動作し
たかを確認する手段が設けられていないために、シミュ
レーションの網羅性の確認が困難となっている。そのた
めに、論理シミュレーション(テストケース)が完全に
行われない回路を製造することになり、後でバグが発見
されたり、あるいは無駄な重複したテストケースによる
シミュレーションを行うことが生じて多大な工数を費す
という欠点がある。In such conventional logic simulators, there is no means for checking how well the simulation model to be simulated operates, making it difficult to check the comprehensiveness of the simulation. As a result, circuits that cannot be completely simulated (test cases) are manufactured, and bugs may be discovered later, or simulations using redundant test cases may be performed, resulting in a large amount of man-hours. It has the disadvantage of being expensive.
及Haとl灼
本発明は上述の如き従来のものの欠点を解決すべくなさ
れたものであって、その目的とするところは、シミュレ
ーション対象回路の状態値の変化数を把握可能とするこ
とにより、シミュレーションの網羅性の判断が可能とな
り効率的なシミュレーションができるようにした論理シ
ミュレータを提供することにある。The present invention has been made to solve the above-mentioned drawbacks of the conventional ones, and its purpose is to make it possible to grasp the number of changes in the state value of the circuit to be simulated. An object of the present invention is to provide a logic simulator that enables efficient simulation by making it possible to judge the comprehensiveness of simulation.
1艶立且遁
本発明によれば、シミュレーション対象回路の状態値を
夫々割当てられた各アドレスに格納する状態値格納メモ
リを有する論理シミュレータであって、前記状態値格納
メモリの各アドレスに夫々対応したアドレスを有しこの
アドレスに対応する前記状態値が変化した数を格納する
状態値変化数格納メモリを含み、前記状態値の変化毎に
この状態値に対応した前記状態値格納メモリのアドレス
領域にこの変化後の状態値を書込むと共に、この変化し
た状態値に対応した前記状態値変化数格納メモリのアド
レス領域に格納された変化数を更新するようにしたこと
を特徴とする論理シミュレータが得られる。1. According to the present invention, there is provided a logic simulator having a state value storage memory for storing state values of a circuit to be simulated in respective assigned addresses, the logic simulator having state value storage memories corresponding to each address of the state value storage memory, respectively. an address area of the state value storage memory corresponding to the state value each time the state value changes; A logic simulator characterized in that the state value after the change is written in the state value, and the number of changes stored in the address area of the state value change number storage memory corresponding to the changed state value is updated. can get.
11貫 以下に図面を用いて本発明の詳細な説明する。11 pieces The present invention will be described in detail below using the drawings.
図は本発明の実施例のブロック図である。図において、
状態値格納メモリ1はシミュレーション対象回路のすべ
ての回路状態値を格納するためのものであり、格納すべ
き各状態値に対応して夫々アドレスが割当てられている
。このメモリ1と対に設けられている状態値変化数格納
メモリ2が有り、各状態値の変化した回数を、夫々の状
態値に対応して割付けられたアドレス領域へ格納するた
めのものである。The figure is a block diagram of an embodiment of the invention. In the figure,
The state value storage memory 1 is for storing all the circuit state values of the circuit to be simulated, and addresses are assigned to each state value to be stored. There is a state value change number storage memory 2 provided as a pair with this memory 1, and is used to store the number of times each state value has changed in an address area allocated corresponding to each state value. .
ある状態値が変化してこの状態値が状態値格納メモリ1
の対応アドレスへ書込まれるときに、同時に状態値変化
数格納メモリ2の対応アドレスの内容が読出されて加算
器3の1人力へ供給される。A certain state value changes and this state value is stored in state value storage memory 1.
When writing to the corresponding address, the contents of the corresponding address of the state value change number storage memory 2 are simultaneously read out and supplied to one of the adders 3.
この加算器3の他人力には「1」が常時印加されており
、「1」加算処理が行われる。この加算出力が状態値変
化数格納メモリ2内の当該対応アドレス領域へ再書込み
されて内容の更新が行われるようになっている。"1" is always applied to the external power of this adder 3, and "1" addition processing is performed. This addition output is rewritten to the corresponding address area in the state value change number storage memory 2 to update the contents.
かかる構成において、論理シミューション実施中に、変
化した回路の状態値を状態値格納メモリ1の対応アドレ
ス領域にて再書込み更新する必要がある。そこで、変更
すべきアドレスaと変化した状態値すとが送られてくる
ことから、状態値格納メモリ1はアドレスaにその状態
値データbを書込む。それと同時に、このアドレスaに
より状態値変化数格納メモリ2の内容を読出し変化数C
として出力する。この変化数Cは加算器3において「1
」が加えられて新たな変化数dとなり、状態値変化数格
納メモリ2の当該アドレスaの領域にこの新たな変化数
dが再書込みされて変化数の更新が行われることになる
。In such a configuration, it is necessary to rewrite and update the changed state value of the circuit in the corresponding address area of the state value storage memory 1 during execution of the logic simulation. Therefore, since the address a to be changed and the changed state value S are sent, the state value storage memory 1 writes the state value data b to the address a. At the same time, the contents of the state value change number storage memory 2 are read out using this address a, and the number of changes C is read out.
Output as . This number of changes C is "1" in the adder 3.
'' is added to obtain a new number of changes d, and this new number of changes d is rewritten in the area of the address a of the state value change number storage memory 2, thereby updating the number of changes.
この様にして状態値変化数格納メモリ2はシミュレーシ
ョン対象回路内の全回路の状態値の変化数を常に最新情
報として保持していることになる。In this way, the state value change number storage memory 2 always holds the state value change numbers of all circuits in the simulation target circuit as the latest information.
よって、シミュレーションの終了後に、この状態値変化
数格納メモリ2の内容Cを読出すことによリ、シミュレ
ーションの実施状態を把握することが可能となるのであ
る。すなわち、このメモリ2の内容Cにより、シミュレ
ーション対象の全回路のうち回路状態値の変化数が足り
ない回路を判別認識することができ、この回路を対象と
したシミュレーションを再度実施することが可能となる
。Therefore, by reading out the contents C of the state value change number storage memory 2 after the simulation is completed, it is possible to grasp the execution state of the simulation. That is, by using the contents C of this memory 2, it is possible to identify and recognize a circuit for which the number of changes in the circuit state value is insufficient among all the circuits to be simulated, and it is possible to perform a simulation targeting this circuit again. Become.
また、十分な回路を対象としたテストケースを省略する
ことができ、よって効率の良いシミュレーションが実現
できる。Further, test cases targeting sufficient circuits can be omitted, and therefore efficient simulation can be realized.
発明の詳細
な説明した如く、本発明によれば、状態値を保持するメ
モリと対に状態値の変化数を保持するメモリを設けるこ
とにより、シミュレーションの網羅性の判断が可能とな
り効率的なシミュレーションの実施が可能となるという
効果がある。As described in detail, according to the present invention, by providing a memory that stores the state value and a memory that stores the number of changes in the state value, it is possible to judge the comprehensiveness of the simulation, resulting in efficient simulation. This has the effect of making it possible to implement the following.
図は本発明の実施例のブロック図である。
主要部分の符号の説明
1・・・・・・状態値格納メモリ
2・・・・・・状態値変化数格納メモリ3・・・・・・
加算器The figure is a block diagram of an embodiment of the invention. Explanation of symbols of main parts 1... State value storage memory 2... State value change number storage memory 3...
adder
Claims (1)
各アドレスに格納する状態値格納メモリを有する論理シ
ミュレータであって、前記状態値格納メモリの各アドレ
スに夫々対応したアドレスを有しこのアドレスに対応す
る前記状態値が変化した数を格納する状態値変化数格納
メモリを含み、前記状態値の変化毎にこの状態値に対応
した前記状態値格納メモリのアドレス領域にこの変化後
の状態値を書込むと共に、この変化した状態値に対応し
た前記状態値変化数格納メモリのアドレス領域に格納さ
れた変化数を更新するようにしたことを特徴とする論理
シミュレータ。A logic simulator having a state value storage memory for storing a state value of a circuit to be simulated at each assigned address, the logic simulator having an address corresponding to each address of the state value storage memory, and having a state value storage memory that stores a state value of a circuit to be simulated at each assigned address. It includes a state value change number storage memory for storing the number of changes in the state value, and each time the state value changes, the state value after this change is written to the address area of the state value storage memory corresponding to this state value, and . A logic simulator characterized in that the number of changes stored in the address area of the state value change number storage memory corresponding to the changed state value is updated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61270108A JPS63123136A (en) | 1986-11-13 | 1986-11-13 | Logical simulator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61270108A JPS63123136A (en) | 1986-11-13 | 1986-11-13 | Logical simulator |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63123136A true JPS63123136A (en) | 1988-05-26 |
Family
ID=17481646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61270108A Pending JPS63123136A (en) | 1986-11-13 | 1986-11-13 | Logical simulator |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63123136A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0341565A (en) * | 1989-07-10 | 1991-02-22 | Matsushita Electric Ind Co Ltd | Method for verifying function of logical circuit |
-
1986
- 1986-11-13 JP JP61270108A patent/JPS63123136A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0341565A (en) * | 1989-07-10 | 1991-02-22 | Matsushita Electric Ind Co Ltd | Method for verifying function of logical circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2699377B2 (en) | Hardware logic simulator | |
TW564346B (en) | Memory device | |
JPS605024B2 (en) | Information processing method | |
JP3786993B2 (en) | Data storage unit and data storage device using the unit | |
JPS6022438B2 (en) | Non-volatile memory refresh method | |
JPS63123136A (en) | Logical simulator | |
CN211878599U (en) | Simulation verification system applied to field editable gate array FPGA | |
JPH0158535B2 (en) | ||
US6144930A (en) | Method for providing a memory model of a memory device for use in simulation | |
JPS6045994A (en) | Information storing method by prom | |
CN110147670A (en) | Persistence method for protecting EMS memory between a kind of process working in kernel state | |
JPS63131238A (en) | Logic simulator | |
JPH031279A (en) | Simulator | |
JPS61201347A (en) | Logical simulation device | |
JP2824853B2 (en) | Pattern data writing method | |
JPH0120514B2 (en) | ||
JPS5818719B2 (en) | ROM backup touch | |
JP3071717B2 (en) | Parity bit writing method | |
JPH0129639Y2 (en) | ||
JPH0823832B2 (en) | Logic verification method | |
JP3127492B2 (en) | Addressing arithmetic circuit | |
JPS63101934A (en) | Forming system for maintenance information of assembler language program | |
JPS6032189A (en) | Data storage method to memory | |
JPS59207100A (en) | Memory function simulator | |
JPS6365547A (en) | Integrated circuit with built-in memory |