JPS63201839A - Logical simulation device - Google Patents
Logical simulation deviceInfo
- Publication number
- JPS63201839A JPS63201839A JP62033221A JP3322187A JPS63201839A JP S63201839 A JPS63201839 A JP S63201839A JP 62033221 A JP62033221 A JP 62033221A JP 3322187 A JP3322187 A JP 3322187A JP S63201839 A JPS63201839 A JP S63201839A
- Authority
- JP
- Japan
- Prior art keywords
- microprogram
- execution
- pseudo
- logic circuit
- address
- 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
- 238000004088 simulation Methods 0.000 title claims abstract description 19
- 238000000034 method Methods 0.000 claims abstract description 25
- 230000001629 suppression Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 230000005764 inhibitory process Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、情報処理装置の論理シミュレーション装置に
関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a logic simulation device for an information processing device.
従来技術によるマイクロプログラム実行の論理シミュレ
ーションの例を、第2図、第3図により説明する。An example of logic simulation of microprogram execution according to the prior art will be explained with reference to FIGS. 2 and 3.
第2図は、マイクロプログラムを実行する論理回路の一
例であり、マイクロプログラムの実行を指示するマイク
ロプログラム実行制御論理回路1とマイクロプログラム
を実行するマイクロプログラム実行論理回路2とから構
成されている。FIG. 2 shows an example of a logic circuit that executes a microprogram, and is composed of a microprogram execution control logic circuit 1 that instructs execution of the microprogram, and a microprogram execution logic circuit 2 that executes the microprogram.
マイクロプログラム実行論理回路2は、更に、マイクロ
プログラムを格納するコントロール・ストレージ(C8
)5、マイクロプログラムの読み出しアドレスを保持す
るコントロール・ストレージ・アドレス・レジスタ(C
8AR)6、読み出したマイクロプログラムを保持する
コントロール・ストレージ・データ・レジスタ (C8
DR)7、マイクロプログラムに記述しである各ファン
クションを解読するデコーダ(DEC)8、及び、デコ
ード結果に基づきマイクロプログラムの各ファンクショ
ンを実行する複数種のファンクション実行部9から構成
されている。The microprogram execution logic circuit 2 further includes a control storage (C8) that stores the microprogram.
) 5. Control storage address register (C
8AR) 6. Control storage data register (C8
DR) 7, a decoder (DEC) 8 that decodes each function written in the microprogram, and a plurality of function execution units 9 that execute each function of the microprogram based on the decoding results.
ファンクション実行部9は、更に、データを格納する記
憶装置(MEM)10、記憶装置のアクセスアドレスを
保持する記憶装置アドレス・レジスタ(MAR)11、
データを保持するレジスタA (RA)12、レジスタ
B (RB)13、レジスタC(RC)14、データ
の加算を行う加算器(ADD)15、及び、記憶装置(
MEM)10とレジスタA (RA)12、レジスタB
(RB)13との間でデータの切換え伝達を行うデー
タバス(BUS)16等から構成されている。The function execution unit 9 further includes a memory device (MEM) 10 for storing data, a memory device address register (MAR) 11 for holding an access address of the memory device,
A register A (RA) 12 that holds data, a register B (RB) 13, a register C (RC) 14, an adder (ADD) 15 that adds data, and a storage device (
MEM) 10 and register A (RA) 12, register B
It is composed of a data bus (BUS) 16 and the like for switching and transmitting data to and from (RB) 13.
第2図中、コントロール・ストレージ(CS)5と記憶
装置(MEM)10は、論理シミュレーション操作性向
上の為、アクセス動作をモデル化した擬似プロシジャに
なっている。In FIG. 2, the control storage (CS) 5 and the storage device (MEM) 10 are pseudo procedures whose access operations are modeled in order to improve the operability of logic simulation.
第3図は、第2図で示した論理回路で実行するマイクロ
プログラムの一例であり、記憶装置(MEM)10(7
1’100’ X番地と’200’ X番地のデータを
読み出し、加算して、結果を再び、記憶装置(MEM)
10の100’ X番地へ書き込む処理を行う。FIG. 3 shows an example of a microprogram executed by the logic circuit shown in FIG.
Read the data at address 1'100'X and '200'
Write processing to address 100'X of 10 is performed.
以下、第2図、第3図に基づき、マイクロプログラムの
動作を説明する。Hereinafter, the operation of the microprogram will be explained based on FIGS. 2 and 3.
まず、マイクロプログラム実行制御論理回路1が、実行
したいマイクロプログラムの先頭アドレス(ADR:本
例では1番地)と起動信号(STRT)とを、マイクロ
プログラム実行論理回路2に対し送出し、マイクロプロ
グラムの実行を起動する。First, the microprogram execution control logic circuit 1 sends the start address (ADR: address 1 in this example) of the microprogram to be executed and a start signal (STRT) to the microprogram execution logic circuit 2. Launch execution.
マイクロプログラム実行論理回路2は、これを受けて、
送出されたADRをC3AR6にセットし、そのアドレ
スでC85からマイクロプログラムを読み出し、C3D
R7にセットする。、C3DR7にセットされたマイク
ロプログラムは、マイクロプログラムに記述された個々
のファンクションが、DEC8により解読され、対応す
るファンクション実行部9により、各ファンクション毎
に実行される。In response to this, the microprogram execution logic circuit 2
Set the sent ADR to C3AR6, read the microprogram from C85 at that address, and
Set to R7. , C3DR7, the individual functions written in the microprogram are decoded by the DEC 8, and each function is executed by the corresponding function execution unit 9.
先頭(本例では1番地)のマイクロプログラムの全ファ
ンクションが実行し終ると、C3AR6に保持されてい
るマイクロプログラム読み出しアドレスを更新(本例で
は2番地)する。更新したマイクロプログラム読み出し
アドレスに基づき、次のマイクロプログラムを読み出し
、1番地のマイクロプログラムを実行したのと同様の方
法で、2番地のマイクロプログラムもまた、実行する。When all functions of the microprogram at the beginning (address 1 in this example) have been executed, the microprogram read address held in C3AR6 is updated (address 2 in this example). Based on the updated microprogram read address, the next microprogram is read and the microprogram at address 2 is also executed in the same manner as the microprogram at address 1 was executed.
以下、同様にして、マイクロプログラムの全番地を実行
する。Thereafter, all addresses of the microprogram are executed in the same manner.
本例の場合、具体的には、マイクロプログラムで、次の
動作を行う。In this example, specifically, the microprogram performs the following operations.
1番地: MARIIに’100’ Xをセットする
。Address 1: Set '100' X to MARII.
2番地: MEMIO(7)’100’X番地のデー
タを読み出し、BUS16経由でRA12ヘセットする
。同時に、次のMEMIOアクセスの為、MARllに
’200’ Xをセットする。Address 2: MEMIO (7) '100' Read the data at address X and set it to RA12 via BUS16. At the same time, '200' X is set in MARll for the next MEMIO access.
3番地: MEMIOの’200’ X番地のデータ
を読み出し、BUS16経由でRB13ヘセットする。Address 3: '200' of MEMIO Read the data at address X and set it to RB13 via BUS16.
4番地: RA12とRB13のデータを加算し結果
をRC14ヘセットする。Address 4: Add the data of RA12 and RB13 and set the result to RC14.
同時に、次のMEMIOアクセスの為、MARllに’
100’ Xをセットする。At the same time, for the next MEMIO access, '
Set 100'X.
5番地: RC14のデータをBUS16経由でME
MIOの’100’ X番地へ書き込む。Address 5: RC14 data to ME via BUS16
Write to address '100'X of MIO.
この様に、マイクロプログラム実行の論理シミュレーシ
ョンでは、マイクロプログラムに記述しである個々のフ
ァンクションに基づき、対応する論理回路と擬似プロシ
ジャ(本例では、C85とMEMIO)とが逐一動作し
、マイクロプログラムを実行している。In this way, in the logic simulation of microprogram execution, the corresponding logic circuits and pseudo procedures (in this example, C85 and MEMIO) operate one by one based on the individual functions described in the microprogram, and the microprogram is executed one by one. Running.
なお、この種の技術として関連するものには、例えば、
(1) 情報処理学会論文誌 VOL、21N0.5
SEP、1980 P、354超大形電子計算機
HITACM−200Hの論理シミュレーション。Incidentally, related technologies of this type include, for example, (1) Transactions of the Information Processing Society of Japan VOL, 21N0.5
SEP, 1980 P, 354 Super Large Computer
Logic simulation of HITACM-200H.
(2) FUJITSU、37,2.(03,198
6) P、136
EACOM M−780開発用DAシステム。(2) FUJITSU, 37, 2. (03,198
6) P, 136 EACOM M-780 development DA system.
等が挙げられる。etc.
この様に、従来技術によるマイクロプログラム実行の論
理シミュレーションでは、マイクロプログラムに記述し
である個々のファンクションに基づき、対応する論理回
路と擬似プロシジャとが逐一動作する。In this manner, in the logic simulation of microprogram execution according to the prior art, the corresponding logic circuits and pseudo procedures operate one by one based on the individual functions described in the microprogram.
この為、先行して実施した論理シミュレーションで、既
に、正常作動が確認されているマイクロプログラム、及
び、マイクロプログラム実行論理回路であっても、マイ
クロプログラム実行の論理シミュレーションを行う度に
、毎回、論理回路と擬似プロシジャとが動作し、マイク
ロプログラム実行に時間がかかる問題があった。Therefore, even if the microprogram and microprogram execution logic circuit have already been confirmed to operate normally in the previous logic simulation, each time the logic simulation of microprogram execution is performed, the logic There was a problem in that circuits and pseudo-procedures operated, and it took a long time to execute the microprogram.
特に、割込動作が頻発する論理シミュレーションの場合
は、一般的に、割込処理のマイクロプログラムが非常に
長大な為、その実行には、多くの論理シミュレーション
時間を必要としていた。In particular, in the case of logic simulation where interrupt operations occur frequently, the microprogram for interrupt processing is generally very long, and its execution requires a lot of logic simulation time.
本発明の目的は、マイクロプログラムを実行する論理シ
ミュレーションの計算機時間を縮減することにある。An object of the present invention is to reduce the computer time required for logic simulation to execute a microprogram.
上記目的は、マイクロプログラム、及び、それを実行す
る論理回路(必要な擬似プロシジャも含む)とをまとめ
て等価的にモデル化した、マイクロプログラム実行の擬
似プロシジャにより、達成される。The above object is achieved by a pseudo-procedure for executing a microprogram, which equivalently models a microprogram and a logic circuit (including necessary pseudo-procedures) for executing the microprogram.
上記擬似プロシジャは、論理回路がマイクロプログラム
を実行しようとする時発行する起動情報により起動され
る。The above-mentioned pseudo procedure is activated by activation information issued when the logic circuit attempts to execute a microprogram.
起動された擬似プロシジャは、論理回路によるマイクロ
プログラムの実行を抑止した後、マイクロプログラム記
載の処理内容を等価的にモデル化して実行する。The activated pseudo procedure inhibits the execution of the microprogram by the logic circuit, and then equivalently models and executes the processing content described in the microprogram.
実行終了後、最初、論理回路に対し行っていたマイクロ
プログラム実行の抑止を解除し、終了信号を論理回路へ
送出し、擬似プロシジャの処理を終る。After the execution is completed, the inhibition of microprogram execution that was initially applied to the logic circuit is released, a termination signal is sent to the logic circuit, and the processing of the pseudo procedure is ended.
以下、本発明の一実施例を第1図、第3図により説明す
る。An embodiment of the present invention will be described below with reference to FIGS. 1 and 3.
第1図に示すマイクロプログラム実行擬似プロシジャ3
とは論理回路に代り、マイクロプログラムに記載しであ
る処理内容を等価的にモデル化して実行する擬似プロシ
ジャである。Microprogram execution pseudo procedure 3 shown in Figure 1
is a pseudo procedure that equivalently models and executes the processing contents described in a microprogram instead of a logic circuit.
マイクロプログラム実行制御論理回路1が、マイクロプ
ログラムの先頭アドレス(ADH:本例では1番地)と
起動信号(STRT)とを、マイクロプログラム実行論
理回路2へ送出する。The microprogram execution control logic circuit 1 sends the microprogram start address (ADH: address 1 in this example) and a start signal (STRT) to the microprogram execution logic circuit 2.
マイクロプログラム実行擬似プロシジャ3は、起動信号
(STRT)を検知し、同時に受は取ったマイクロプロ
グラムの先頭アドレス(A D H)から、当該マイク
ロプログラムの擬似ルーチンがマイクロプログラム実行
擬似プロシジャ3の中に、登録済か未かを判定する。The microprogram execution pseudo procedure 3 detects the start signal (STRT), and at the same time, from the received microprogram start address (ADH), the pseudo routine of the microprogram is inserted into the microprogram execution pseudo procedure 3. , determine whether it is registered or not.
登録未ならば、直ちに、マイクロプログラム実行擬似プ
ロシジャ3の処理を終り、従来技術と同様に、マイクロ
プログラムの実行をマイクロプログラム実行論理回路2
に任せる。If it is not registered, the process of the microprogram execution pseudo procedure 3 is immediately finished, and the execution of the microprogram is started by the microprogram execution logic circuit 2, as in the prior art.
Leave it to me.
登録済ならば、マイクロプログラム実行論理回路2に対
し、マイクロプログラムの実行を抑止する抑止信号(S
UP)を送出する。その後、マイクロプログラム実行擬
似プロシジャ3は、受は取ったマイクロプログラムの先
頭アドレスから必要なマイクロプログラム擬似ルーチン
を選出し、マイクロプログラム記載の処理内容を等価的
にモデル化して実行する。ここで、本実施例で使用する
マイクロプログラムが第3図に示すものとすると、本マ
イクロプログラムの処理は、前にも述べた様に、記憶装
置(M)4(71’100’ X番地のデータと’20
0’ X番地のデータとを読み出し、加算して、結果を
再び、記憶装置(M)4の′100′x番地へ書き込む
ことになるので、実行するマイクロプログラム擬似ルー
チンは、アセンブラ形の命令で記述し、
(1) L A、100・・・Mの’100’ X
番地のデータをREG#Aへ読み出す。If it has been registered, an inhibition signal (S) is sent to the microprogram execution logic circuit 2 to inhibit execution of the microprogram.
UP) is sent. Thereafter, the microprogram execution pseudo-procedure 3 selects a necessary microprogram pseudo-routine from the start address of the received microprogram, equivalently models and executes the processing contents described in the microprogram. Here, assuming that the microprogram used in this embodiment is shown in FIG. data and '20
The data at address 0' Describe (1) L A, 100...M's '100' X
Read address data to REG#A.
(2) A A、200・・・REG#Aのデータ
とMの’200’ X番地のデータとを加算し、結果を
REG#Aへ格納する。(2) A A, 200...Add the data of REG#A and the data of address '200'X of M, and store the result in REG#A.
(3) ST A、100・・・REC4Aのデー
タをMの’100’ X番地へ書き込む。(3) ST A, 100...Write the data of REC4A to address '100'X of M.
の3ステツプとなる。There are three steps.
マイクロプログラム実行擬似プロシジャ3は、マイクロ
プログラム擬似ルーチンを実行し終った時、マイクロプ
ログラム実行論理回路2に対し送出していた抑止信号(
SUP)を解除し、終了信号(END)をマイクロプロ
グラム実行制御論理回路1へ送出し、処理を終る。When the microprogram execution pseudo-procedure 3 finishes executing the microprogram pseudo-routine, the microprogram execution pseudo-procedure 3 transmits the inhibit signal (
SUP) is released, an end signal (END) is sent to the microprogram execution control logic circuit 1, and the process ends.
本発明によれば、マイクロプログラムの処理内容を等測
的にモデル化して実行できるので、マイクロプログラム
を実行する論理シミュレーションの計算機時間縮減に、
大きな効果がある。According to the present invention, since the processing contents of a microprogram can be modeled and executed isometrically, the computer time for logic simulation for executing the microprogram can be reduced.
It has a big effect.
第1図は、本発明の一実施例によるマイクロプログラム
を実行する論理シミュレーションの動作図、第2図は、
従来技術によるマイクロプログラムを実行する論理シミ
ュレーションの動作図、第3図は、本発明の説明に用い
たマイクロプログラムの一例を示す説明図である。
1・・・マイクロプログラム実行制御論理回路、2・・
・マイクロプログラム実行論理回路、3・・・マイクロ
プログラム実行擬似プロシジャ、4・・・記憶装置、5
・・・コントロール・ストレージ、6・・・コントロー
ル・ストレージ・アドレス・レジスタ、7・・・コント
ロール・ストレージ・データ・レジスタ、8・・・デコ
ーダ、9・・・ファンクション実行部、10・・・記憶
装置、11・・・記憶装置アドレス・レジスタ、12・
・・レジスタA、13・・・レジスタB、14・・・レ
ジスタC115・・・加算器、16・・・データバス。FIG. 1 is an operational diagram of a logic simulation that executes a microprogram according to an embodiment of the present invention, and FIG.
FIG. 3, which is an operational diagram of a logic simulation for executing a microprogram according to the prior art, is an explanatory diagram showing an example of a microprogram used to explain the present invention. 1... Microprogram execution control logic circuit, 2...
・Microprogram execution logic circuit, 3...Microprogram execution pseudo procedure, 4...Storage device, 5
...Control storage, 6.Control storage address register, 7.Control storage data register, 8.Decoder, 9.Function execution unit, 10.Storage. device, 11... storage device address register, 12.
...Register A, 13...Register B, 14...Register C115...Adder, 16...Data bus.
Claims (1)
ン装置において、マイクロプログラム、及び、マイクロ
プログラムを実行する論理回路とをまとめ、マイクロプ
ログラムの処理内容を等価的にモデル化して実行する擬
似プロシジャを設け、マイクロプログラム実行論理回路
の代りに、前記擬似プロシジャでマイクロプログラムを
等価的に実行することにより、論理シミュレーション時
間を縮減することを特徴とする論理シミュレーション装
置。1. In a logic simulation device that executes a microprogram, the microprogram and the logic circuit that executes the microprogram are put together, a pseudo procedure that equivalently models and executes the processing contents of the microprogram is provided, and the microprogram is executed. A logic simulation device characterized in that logic simulation time is reduced by equivalently executing a microprogram using the pseudo procedure instead of a logic circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62033221A JPS63201839A (en) | 1987-02-18 | 1987-02-18 | Logical simulation device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62033221A JPS63201839A (en) | 1987-02-18 | 1987-02-18 | Logical simulation device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63201839A true JPS63201839A (en) | 1988-08-19 |
Family
ID=12380393
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62033221A Pending JPS63201839A (en) | 1987-02-18 | 1987-02-18 | Logical simulation device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63201839A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02309428A (en) * | 1989-05-24 | 1990-12-25 | Nec Corp | Logical simulator |
-
1987
- 1987-02-18 JP JP62033221A patent/JPS63201839A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02309428A (en) * | 1989-05-24 | 1990-12-25 | Nec Corp | Logical simulator |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS58151655A (en) | Information processing device | |
JPH0430053B2 (en) | ||
GB2216306A (en) | Load and synchronize computer architecture and process | |
US5003468A (en) | Guest machine execution control system for virutal machine system | |
JPS63307535A (en) | Pipeline control circuit | |
EP0285634B1 (en) | Method to execute two instruction sequences in an order determined in advance | |
EP0287600B1 (en) | Method and device to execute two instruction sequences in an order determined in advance | |
JPS63201839A (en) | Logical simulation device | |
JP2846760B2 (en) | Programmable controller | |
JPS6049352B2 (en) | data processing equipment | |
JP2864496B2 (en) | Multi-processing computer | |
JPS59178543A (en) | Communication controlling device which can execute relative-address-formed program | |
JPH01116702A (en) | Sequence controller | |
JP2501393B2 (en) | Direct memory access device | |
JPS6349818B2 (en) | ||
JPH0247751A (en) | Channel control system | |
JPS63282528A (en) | Detection system for execution of instruction of central control unit | |
JPH0444290B2 (en) | ||
JPH0580698B2 (en) | ||
JPH0381854A (en) | Memory access system | |
JPS6232554A (en) | Extended memory controlling system | |
JPS6227423B2 (en) | ||
JPS59114622A (en) | Initial microprogram loading system | |
JPS6146545A (en) | Input and output instruction control system | |
JPS6394339A (en) | Virtual calculation system |