JPH0334071A - Logic simulator - Google Patents

Logic simulator

Info

Publication number
JPH0334071A
JPH0334071A JP1166926A JP16692689A JPH0334071A JP H0334071 A JPH0334071 A JP H0334071A JP 1166926 A JP1166926 A JP 1166926A JP 16692689 A JP16692689 A JP 16692689A JP H0334071 A JPH0334071 A JP H0334071A
Authority
JP
Japan
Prior art keywords
memory
language
descriptive
simulation
input
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.)
Granted
Application number
JP1166926A
Other languages
Japanese (ja)
Other versions
JP2629359B2 (en
Inventor
Shigeru Takasaki
高崎 茂
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 JP1166926A priority Critical patent/JP2629359B2/en
Publication of JPH0334071A publication Critical patent/JPH0334071A/en
Priority to US08/074,725 priority patent/US5572708A/en
Priority to US08/432,260 priority patent/US5689683A/en
Priority to US08/432,270 priority patent/US6157904A/en
Application granted granted Critical
Publication of JP2629359B2 publication Critical patent/JP2629359B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To increase the executing speed of the logic simulation by using hardware to carry out the simulation of the logic described in a language. CONSTITUTION:An input data setting memory 10 is prepared to store the input value of a described sentence together with a described sentence identification memory 20 which identifies each described sentence, an input change described sentence identification memory 30 which can identify the described sentence whose input value is changed, a language evaluation circuit 40 which evaluates a language with input of the output of the memory 10 and the output of the memory 20, an output data store memory 50 which stores the result of the circuit 40, a changing signal sequencing circuit 60 which sequences the output changing signals of the evaluation result one by one, and a described sentence connection memory 70 which stores the connection goals of described sentences. Then the simulation of the logic described in a language is carried out with use of hardware. As a result, the executing speed of the logic simulation is increased.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は論理シミュレータに関し、特に機能記述言語の
シミュレーションをハードウェアで実現した論理シミュ
レータに関スル。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a logic simulator, and particularly to a logic simulator that realizes a simulation of a functional description language using hardware.

〔従来の技術〕[Conventional technology]

従来、この種の論理シミュレータはソフトウェアで実現
されるのが主で、最近ファームウェア/ハードウェアで
実現されるものが出始めているが、それらはゲートレベ
ルに限定されてぃ(2) 8imulator  for  Large  Di
gitalSystem  Logic  Verif
ication。
Conventionally, this type of logic simulator has been mainly realized by software, and recently some have started to be realized by firmware/hardware, but these are limited to the gate level.(2) 8imulator for Large Di
digitalSystem LogicVerif
cation.

17 th  DA  0onf、  pp、626〜
633(1980)。
17th DA 0onf, pp, 626~
633 (1980).

”OAI!:  5tation’s  simula
tors  tacklel  m1llion  g
ates″ Electron、Des、。
``OAI!: 5tation's simula
tors tacklel m1llion g
ates'' Electron, Des,.

ハ ulation  llingine :Introd
uction。
Halation llingine: Introd
uction.

Proc、  19 th  DA  Col/f、、
PI)、51〜54(1982)。
Proc, 19th DA Col/f,,
PI), 51-54 (1982).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の言語(機能)レベル論理シミュレータは
、7フトウエアで実現されているため、シミュレーショ
ン処理が各々の記述文(機能演算子)のシーケンス処理
となり実行時間がかかる。特に大規模論理回路を言語で
記述した際のシミュレーション時間は膨大なものになる
という課題がある。
Since the above-mentioned conventional language (function) level logic simulator is realized by 7 software, the simulation process involves sequential processing of each descriptive statement (function operator), which takes a long time to execute. In particular, there is a problem in that the simulation time required when large-scale logic circuits are described in language is enormous.

本発明は従来のもののこのような課題を解決しようとす
るもので、言語で記述された論理のシミュレーションを
ハードウェアテ実現シ、シミュレーション実行速度を高
速化した論理シミュレータを提供するものである。
The present invention aims to solve the above-mentioned problems of the conventional technology, and provides a logic simulator that realizes the simulation of logic written in a language using hardware and has an increased simulation execution speed.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の論理シミュレータは、シミュレーション・モデ
ルを記述する言語(文)の入力値が格納される記憶手段
と、モデルが記述された個個の記述文を識別する記憶手
段と、論理シミュレーション時、入力値が変化した記述
文を識別できる記憶手段と、前記記述文の識別子及び入
力値をもらい、言語の評価(シミュレーション)をして
、出力結果を返す言語評価手段と、評価結果が格納され
る記憶手段と、新たに評価された結果を旧結果と比較し
、変化信号を1つずつ順序づげる手段と、前記記述文の
接続先が格納された記憶手段とを含んでいる。
The logic simulator of the present invention includes a storage means for storing input values of a language (sentence) describing a simulation model, a storage means for identifying individual descriptive sentences in which the model is described, A storage means capable of identifying a descriptive sentence whose value has changed, a language evaluation means that receives the identifier and input value of the descriptive sentence, performs a language evaluation (simulation), and returns an output result, and a memory in which the evaluation result is stored. means for comparing the newly evaluated results with the old results and ordering the changed signals one by one; and storage means for storing the connection destinations of the descriptive sentences.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示す構成図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

10は記述文の入力値が格納される入力データ設定メモ
リ、20は個々の記述文を識別する記述文識別メモリ、
30は入力値が変化した記メモリ20の出力を入力して
言語を評価する言語評価回路、50は言語評価回路40
の結果を格納する出力データ格納メモリ、60は評価結
果の出力変化信号を1つずつ順序づけする変化信号順序
付回路、70は記述文の接続先が格納された記述文の接
続メモリ、80〜88は各部を結ぶ信号線である。
10 is an input data setting memory in which input values of descriptive sentences are stored; 20 is a descriptive sentence identification memory for identifying individual descriptive sentences;
30 is a language evaluation circuit that evaluates the language by inputting the output of the memory 20 in which the input value has changed; 50 is the language evaluation circuit 40
60 is a change signal ordering circuit that orders the output change signals of the evaluation results one by one; 70 is a descriptive sentence connection memory that stores the connection destinations of descriptive sentences; 80 to 88 is a signal line connecting each part.

第2図は第1図における言語評価回路4oの一例の一構
成図である。
FIG. 2 is a configuration diagram of an example of the language evaluation circuit 4o in FIG. 1.

110は言語の識別子、入力値及び評価結果が格納され
る記述文の入出力データ設定メモリ(CAM)、120
はマイクロ・プログラミングの実行ルーチンが格納され
たマイクロルーチン用メモリ(as)、130はメモリ
素子やレジスタ素子の様に、旧データ保存用メモリ(D
M)。
110 is an input/output data setting memory (CAM) for descriptive sentences in which language identifiers, input values, and evaluation results are stored; 120
130 is a microroutine memory (AS) in which a microprogramming execution routine is stored, and 130 is an old data storage memory (D) such as a memory element or register element.
M).

140は言語で記述された文が命令コード化された形で
格納されたモデル格納用メモ!、l(IM)。
140 is a model storage memo in which sentences written in a language are stored in the form of instruction codes! , l(IM).

150は言語を評価する演算回路、160はこれら全体
を制御する制御回路、170は各メモリや回路へのデー
タ・パス、180はアドレス・バス、190は制御信号
線である。
150 is an arithmetic circuit that evaluates the language, 160 is a control circuit that controls all of these, 170 is a data path to each memory and circuit, 180 is an address bus, and 190 is a control signal line.

第5図は論理回路を言語を使って記述した例である。(
a)に言語記述の一部を、(b)に言語に対応する回路
図を、(C)に言語記述が実行される際に使用される命
令コードが各記述に対比されて示されている。
FIG. 5 is an example of a logic circuit described using language. (
(a) shows a part of the language description, (b) shows the circuit diagram corresponding to the language, and (C) shows the instruction codes used when the language description is executed in comparison with each description. .

第4図は第1図、第2図を組み合せて、第5図で示され
る記述文が評価される経緯を示すものである。
FIG. 4 combines FIGS. 1 and 2 to show how the descriptive text shown in FIG. 5 is evaluated.

これらの図を参照して本発明の動作について説明する。The operation of the present invention will be explained with reference to these figures.

シミュレーション実行が始まる前に、シミュレータ内の
各メモリには必要なデータが格納されているものとする
。本例では入力データ設定メモリ10には記述文[、I
fの入力値、即ち。
It is assumed that necessary data is stored in each memory in the simulator before simulation execution begins. In this example, the input data setting memory 10 contains the descriptive text [,I
The input value of f, ie.

A、B、Cの値、D、ADRの値が2記述文識別メモリ
20には記述文1.IIの識別子が、即ち、記述文lに
対しては2,0.記述文■に対しては9,2が入ってい
る。入力変化記述文識別メモリ50には記述文の入力信
号変化が起ったものには“1nが立てられる。本例では
記述文Iには初期状態で“1#が、記述文■には@On
が立っているものとする。出力データ格加されて送られ
る。
The values of A, B, and C, and the values of D and ADR are 2. The descriptive sentence identification memory 20 has a descriptive sentence 1. The identifier of II is 2,0 . . . for descriptive sentence l. 9,2 is entered for the descriptive sentence ■. In the input change description sentence identification memory 50, “1n” is set for the input signal change of the description sentence. In this example, “1#” is set for the description sentence I in the initial state, and @ is set for the description sentence ■. On
is assumed to be standing. Output data is added and sent.

(5)Dの信号変化が送られてくると、入力データ設定
メモリ10の記述文■の入力値はn+4のアドレスで“
0″→“1”へ書き換えられる。同時に、入力変化記述
文識別メモリ50のn+4アドレスには人力信号の変化
を知らせるために“0”→″1”へ書き換えられる。
(5) When the signal change of D is sent, the input value of the description ■ in the input data setting memory 10 is “
It is rewritten from 0" to "1". At the same time, the n+4 address of the input change description identification memory 50 is rewritten from "0" to "1" to notify the change in the human input signal.

以上で記述文Iのシミュレーションは終了する。This completes the simulation of descriptive sentence I.

次に記述文■は同様に次の様に行われる。Next, the descriptive sentence (■) is similarly executed as follows.

(1)  n+4のアドレスよりデータを読み出して人
出力データ設定メモIJ (CM ) 110へ送る。
(1) Read data from address n+4 and send it to human output data setting memo IJ (CM) 110.

記述文■はメモリ文なので、記述文の識別子だけでなく
、メモリの開始アドレスも同時に送られる。この模様は
110゛に示されている。記述文■はDの値を調べ、D
=”1“ならADRで示されるアドレスから1ワード1
6ビツトを読み出す命令である。メモリMi;11.1
024wx16ビソトで、読み出されたイ直はMの出力
となる。
Since the descriptive sentence ■ is a memory sentence, not only the identifier of the descriptive sentence but also the memory start address is sent at the same time. This pattern is shown at 110゛. Descriptive sentence ■ checks the value of D, and
="1", 1 word 1 from the address indicated by ADR
This is an instruction to read 6 bits. Memory Mi; 11.1
In 024wx16 bits, the read value becomes the output of M.

(2)実行指令が来ると、記述文Iと同様にモデル格納
用メモリ(工M)140の識別子をとりだしてモデル格
納用メモリ(工M) 140を読み、Dの値を制御回路
160にとり込む。
(2) When an execution command comes, the identifier of the model storage memory (engineering M) 140 is taken out, the model storage memory (engineering M) 140 is read, and the value of D is taken into the control circuit 160 in the same way as in the description I. .

次にモデル格納用メモリJ (I M ) 1400次
の命令(TRN 1 )を実行し、モデル格納用メモリ
(工M)140の次のアドレスに飛ぶか。
Next, execute the next instruction (TRN 1 ) in the model storage memory J (IM) 1400 and jump to the next address in the model storage memory (IM) 140.

終了するかチエツクする。本例ではD−”1“なので次
の命令でADHを入出力データ設定メモリ(CM)11
0工リ制御回路160へとりこむ。次にRAT命令が読
み出され、マイクロルーチン用メモリ(as)120の
RAT実行ルーチンに基づいて、開始アドレス(本例で
はDMの2番地)からA D H= m番目のデータ(
本例では0FIF)が読み出され制御回路160の中に
とりこまれる。最後にKX工T命令が実行されて、読み
出し結果が入出力データ設定メモIJ(CM)110へ
格納される。
Check if it is finished. In this example, D-"1", so the next command sets ADH to input/output data setting memory (CM) 11.
It is taken into the zero-work control circuit 160. Next, the RAT instruction is read, and based on the RAT execution routine in the microroutine memory (AS) 120, ADH=mth data (
In this example, 0FIF) is read out and incorporated into the control circuit 160. Finally, the KX Engineering T command is executed and the read result is stored in the input/output data setting memo IJ (CM) 110.

(3)以降の処理は記述文【と同様に行われる。(3) The subsequent processing is performed in the same way as the descriptive sentence [.

以上の様に本シミュレータで言語の評価が行われる。As described above, language evaluation is performed using this simulator.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に本発明は、記述文の入力値が格納され
る記憶手段と1個々の記述文を識別する記憶手段と、入
力値が変化した記述文を識別できる記憶手段と、言語を
評価する手段と。
As explained above, the present invention includes a storage means for storing input values of descriptive sentences, a storage means for identifying individual descriptive sentences, a storage means for identifying descriptive sentences whose input values have changed, and a language evaluation method. and the means to do so.

評価結果が格納される記憶手段と、評価結果の出力変化
信号を1つずつ順序づけする手段と。
Storage means for storing the evaluation results; and means for ordering the output change signals of the evaluation results one by one.

記述文の接続先が格納された記憶手段とを組み合せるこ
とにより、言語で記述された論理のシミュレーションを
ハードウェアで実現し、シミュレーション実行速度を高
速化できるという効果がある。
By combining this method with a storage means that stores the connection destinations of written statements, it is possible to realize a simulation of logic written in a language using hardware, thereby increasing the speed of simulation execution.

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

第1図は本発明の論理シミュレータの一実施例の構成図
、第2図は第1図中の言語評価回路の一例の構成図、第
3図(a) (b)(C)はそれぞれ言語記述例を示す
図、対応する回路図、命令コードの例を示す図であり、
第4図は第5図の実行過程を示す図である。 記号の説明:10・・・人力データ設定メモリ。 20・・・記述文識別メモリ、50・・・入力変化記述
文識別メモリ、40・・・言語評価回路、50・・・出
力データ格納メモリ、60・・・変化信号順序付回路、
70・・・記述文の接続メモリ、80〜88信号線、1
10・・・記述文の入出力データ設定メ(DM)、14
0・・・モデル格納用メモリ(工M)。 150・・・演算回路、160・・・制御回路、170
・・・テータバス、180・・・アドレスバス、190
・・・制御信号線。 (Q) 第3図
Fig. 1 is a block diagram of an embodiment of the logic simulator of the present invention, Fig. 2 is a block diagram of an example of the language evaluation circuit in Fig. 1, and Figs. FIG. 2 is a diagram showing a description example, a corresponding circuit diagram, and an example of an instruction code;
FIG. 4 is a diagram showing the execution process of FIG. 5. Explanation of symbols: 10...Manual data setting memory. 20... Descriptive sentence identification memory, 50... Input change descriptive sentence identification memory, 40... Language evaluation circuit, 50... Output data storage memory, 60... Change signal ordering circuit,
70... Connection memory for descriptive text, 80 to 88 signal lines, 1
10...Input/output data setting method (DM) for descriptive text, 14
0...Memory for storing models (engineering M). 150... Arithmetic circuit, 160... Control circuit, 170
... data bus, 180 ... address bus, 190
...Control signal line. (Q) Figure 3

Claims (1)

【特許請求の範囲】[Claims] 1、シミュレーション・モデルを記述文の入力値が格納
される記憶手段と、モデルが記述された個々の記述文を
識別する記憶手段と、論理シミュレーション時、入力値
が変化した記述文を識別できる記憶手段と、前記記述文
の識別子及び入力値をもらい、言語の評価をして、出力
結果を返す言語評価手段と、評価結果が格納される記憶
手段と、新たに評価された結果を旧結果と比較し、変化
信号を1つずつ順序づける手段と、前記記述文の接続先
が格納された記憶手段とを含むことを特徴とする論理シ
ミュレータ。
1. A storage means for storing the input values of statements describing the simulation model, a memory means for identifying individual descriptive statements in which the model is described, and a memory capable of identifying descriptive statements whose input values have changed during logical simulation. a language evaluation means for receiving the identifier and input value of the descriptive sentence, evaluating the language, and returning an output result; a storage means for storing the evaluation result; A logic simulator comprising means for comparing and ordering change signals one by one, and a storage means for storing connection destinations of the descriptive sentences.
JP1166926A 1989-02-28 1989-06-30 Logic simulator Expired - Fee Related JP2629359B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP1166926A JP2629359B2 (en) 1989-06-30 1989-06-30 Logic simulator
US08/074,725 US5572708A (en) 1989-02-28 1993-06-10 Hardware simulator capable of dealing with a description of a functional level
US08/432,260 US5689683A (en) 1989-02-28 1995-05-01 Hardware simulator capable of dealing with a description of a functional level
US08/432,270 US6157904A (en) 1989-02-28 1995-05-01 Hardware simulator capable of dealing with a description of a functional level

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1166926A JP2629359B2 (en) 1989-06-30 1989-06-30 Logic simulator

Publications (2)

Publication Number Publication Date
JPH0334071A true JPH0334071A (en) 1991-02-14
JP2629359B2 JP2629359B2 (en) 1997-07-09

Family

ID=15840223

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1166926A Expired - Fee Related JP2629359B2 (en) 1989-02-28 1989-06-30 Logic simulator

Country Status (1)

Country Link
JP (1) JP2629359B2 (en)

Also Published As

Publication number Publication date
JP2629359B2 (en) 1997-07-09

Similar Documents

Publication Publication Date Title
US4918594A (en) Method and system for logical simulation of information processing system including logic circuit model and logic function model
US4539635A (en) Pipelined digital processor arranged for conditional operation
US4228498A (en) Multibus processor for increasing execution speed using a pipeline effect
US3293616A (en) Computer instruction sequencing and control system
JPH0241053B2 (en)
JPS5975347A (en) Simulation device of logical circuit
US3698007A (en) Central processor unit having simulative interpretation capability
US4598358A (en) Pipelined digital signal processor using a common data and control bus
US4525776A (en) Arithmetic logic unit arranged for manipulating bits
US5390306A (en) Pipeline processing system and microprocessor using the system
CA1182579A (en) Bus sourcing and shifter control of a central processing unit
US5586337A (en) Programmable controller with timing control
JPH0334071A (en) Logic simulator
US5819081A (en) Method of executing a branch instruction of jumping to a subroutine in a pipeline control system
US3290655A (en) Program control for data processing machine
JPS5995646A (en) Arithmetic control system
JP2581214B2 (en) Logic simulator
JPS6041102A (en) Sequence control device
JP3067161B2 (en) Fuzzy arithmetic processing unit
JPH03177976A (en) Logic simulator
JPS5875250A (en) Digital information processor
JP2556083B2 (en) Complex arithmetic pipeline circuit
JPH09288506A (en) Sequence control circuit capable of programming
JPS6338732B2 (en)
JP2757388B2 (en) Micro program controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees