JPS63123136A - Logical simulator - Google Patents

Logical simulator

Info

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
Application number
JP61270108A
Other languages
Japanese (ja)
Inventor
Norinaga Nomizu
野水 宣良
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 Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP61270108A priority Critical patent/JPS63123136A/en
Publication of JPS63123136A publication Critical patent/JPS63123136A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To attain the comprehensive judgement of simulation and to attain the efficient simulation by providing a memory to hold the change number of a status value in making a pair with the memory to hold the status value. CONSTITUTION:It is necessary to re-write and update the status value of the circuit, which is changed during the logical simulation execution, at the corresponding address area of a status value storing memory 1. Then, an address (a) to be changed and a status value (b), which is changed, are sent, the status value storing memory 1 writes status value data (b) into the address (a). Simultaneously, the contents of a status value change number storing memory 2 are read and outputted as a reading change number (c) by the address (a). For the change number (c), '1' is added in an adder 3, goes to a new change number (d), the new change number (d) are re-written into the area of the said address (a) of the state value change number storing memory 2 and the change number is updated.

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.

【図面の簡単な説明】[Brief explanation of the drawing]

図は本発明の実施例のブロック図である。 主要部分の符号の説明 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)

【特許請求の範囲】[Claims] シミュレーション対象回路の状態値を夫々割当てられた
各アドレスに格納する状態値格納メモリを有する論理シ
ミュレータであって、前記状態値格納メモリの各アドレ
スに夫々対応したアドレスを有しこのアドレスに対応す
る前記状態値が変化した数を格納する状態値変化数格納
メモリを含み、前記状態値の変化毎にこの状態値に対応
した前記状態値格納メモリのアドレス領域にこの変化後
の状態値を書込むと共に、この変化した状態値に対応し
た前記状態値変化数格納メモリのアドレス領域に格納さ
れた変化数を更新するようにしたことを特徴とする論理
シミュレータ。
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.
JP61270108A 1986-11-13 1986-11-13 Logical simulator Pending JPS63123136A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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