JPH0469736A - Microprogram controller - Google Patents

Microprogram controller

Info

Publication number
JPH0469736A
JPH0469736A JP2182976A JP18297690A JPH0469736A JP H0469736 A JPH0469736 A JP H0469736A JP 2182976 A JP2182976 A JP 2182976A JP 18297690 A JP18297690 A JP 18297690A JP H0469736 A JPH0469736 A JP H0469736A
Authority
JP
Japan
Prior art keywords
microprogram
address
evaluation
ram
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
JP2182976A
Other languages
Japanese (ja)
Inventor
Sadako Amamiya
雨宮 渉子
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP2182976A priority Critical patent/JPH0469736A/en
Publication of JPH0469736A publication Critical patent/JPH0469736A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To improve the evaluation efficiency by providing a ROM for storing a microprogram, and a RAM which is used as an address trace memory of the microprogram at the time of regular operation, and used as a means for storing an evaluation microprogram at the time of evaluation. CONSTITUTION:A ROM 1 stores a microprogram, and a RAM 2 is used as a means for storing the microprogram at the time of evaluation of the microprogram, and used as an address tracer at the time of regular operation. In such a state, when the housing of the microprogram to the RAM 2 is finished, a microprogram address 103 from a selective circuit 3 is selected by a selecting circuit 6 and supplied as a microprogram address 105 to the RAM 2, and by selecting output data 204 from the RAM 2 by a selective circuit 7, the initial evaluation of the microprogram is executed. In such a manner, the initial evaluation of the microprogram, the evaluation can be executed, while rewriting the data of the RAM 2, the evaluation can be simplified and the evaluation efficiency can be improved.

Description

【発明の詳細な説明】 技術分野 本発明はマイクロプログラム制御装置に関する。[Detailed description of the invention] Technical field The present invention relates to a microprogram controller.

従来技術 従来、マイクロプログラム制御装置においては、第2図
に示すように、選択回路3てカウンタ9により順次1ず
つ加算されるアドレスレジスタ4からのアドレス104
と、外部から指定される分岐アドレス101 と、マイ
クロ命令レジスタ8に保持されたマイクロ命令によって
指定される分岐アドレス102とのうち一つが選択され
、そのアドレスがマイクロプログラムアドレス103と
して記憶回路]0に供給される。
BACKGROUND TECHNOLOGY Conventionally, in a microprogram control device, as shown in FIG.
Then, one of the branch address 101 specified from the outside and the branch address 102 specified by the microinstruction held in the microinstruction register 8 is selected, and that address is stored in the memory circuit]0 as the microprogram address 103. Supplied.

選択回路3からのマイクロプログラムアドレス1、03
により記憶回路10から読出されたマイクロ命令302
は、マイクロ命令レジスタ8に保持された後に、マイク
ロ命令303として他の回路(図示せず)に(j(給さ
れる。
Microprogram address 1, 03 from selection circuit 3
The microinstruction 302 read out from the storage circuit 10 by
is held in the microinstruction register 8 and then supplied to another circuit (not shown) as a microinstruction 303.

上記の記憶回路10からの読出し動作により、記憶回路
10に格納されたマイクロプログラムを実行する通常動
作やマイクロプログラムの評価を行う評価動作が行われ
る。
The read operation from the memory circuit 10 described above performs a normal operation for executing the microprogram stored in the memory circuit 10 and an evaluation operation for evaluating the microprogram.

尚、記tQ回路10かROM (リードオンリメモリ)
の場合には書込みデータ301の書込みが行われないが
、記憶回路10かRAM (ランダムアクセスメモリ)
の場合には書込みデータ301の書込みが選択回路3か
らのマイクロプログラムアドレス103により行われる
In addition, the tQ circuit 10 or ROM (read only memory)
In the case of
In this case, the write data 301 is written using the microprogram address 103 from the selection circuit 3.

このような従来のマイクロプログラム制御装置では、マ
イクロプログラムを格納する記憶回路10としてROM
またはRA、 Mのみを使用していたため、記憶回路1
0と]7てROMを使用するときにはマイクロプログラ
ムの変更時に簡単に内容を書換えることができず、RO
Mの交換を必要とするので、評価効率が悪くなるという
問題があった。
In such a conventional microprogram control device, a ROM is used as a memory circuit 10 for storing microprograms.
Or, since only RA and M were used, memory circuit 1
When using ROM with 0 and ]7, the contents cannot be easily rewritten when changing the microprogram, and the
Since it is necessary to replace M, there is a problem that evaluation efficiency deteriorates.

また、記憶回路10としてRAMを使用するときにはマ
イクロプログラムの変更時に簡単に内容を書換えること
ができるが、装置の初期設定時にマイクロプログラムの
書込み動作を必要とし、これが装置の初期設定時間の短
縮を妨げる一要因となっていた。
Furthermore, when a RAM is used as the memory circuit 10, the contents can be easily rewritten when changing the microprogram, but the microprogram must be written during the initial setup of the device, which reduces the initial setup time of the device. This was one of the hindering factors.

発明の目的 本発明は上記のような従来のものの問題点を除去すべく
なされたもので、評価効率を向」二さ[ることができ、
装置の初期設定時間を短縮することができるマイクロプ
ログラム制御装置の提CJ(をl−1的とする。
Purpose of the Invention The present invention has been made to eliminate the problems of the conventional ones as described above, and can improve evaluation efficiency.
The proposal of a microprogram control device that can shorten the initial setting time of the device is defined as CJ (1-1).

発明の構成 本発明によるマイクロブロクラム制御装置は、マイクロ
プロクラムを格納する読出し専用メモリと、書込み読出
し自在なメモリと、前記書込め続出し自在なメモリを通
常動作時に前記読出し専用メモリに格納された前記マイ
クロプログラムを実行するときのアドレスを記憶するト
レースメモリとして動作し、評価時に評価用マイクロプ
ログラムを格納する格納手段として動作するよう制御す
る制御手段とを有することを特徴とする。
Composition of the Invention A micro program control device according to the present invention includes a read-only memory for storing a micro program, a memory that can be freely written to and read from, and a memory that can be freely written to and read from continuously, and a memory that is stored in the read-only memory during normal operation. The microprogram is characterized by comprising a control means that operates as a trace memory for storing an address when executing the microprogram, and a control means for controlling the microprogram to operate as a storage means for storing an evaluation microprogram at the time of evaluation.

実施例 次に、本発明の一実施例について図面を参照して説明す
る。
Embodiment Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の構成を示すブロック図であ
る。図において、ROMIはマイクロプログラムを格納
し、RAM2はマイクロプログラムの評価時にマイクロ
ブロクラムを格納する手段として使用され、通常動作時
にアドレストレーザとして使用される。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, ROMI stores a microprogram, and RAM2 is used as a means for storing the microprogram when evaluating the microprogram, and is used as an address laser during normal operation.

選択回路3はカウンタ9により順次1ずつ力10?され
るアドレスレジスタ4からのアドレス104と、外部か
ら指定される分岐アドレス+01と、マイクロ命令レジ
スタ8に保1jfされたマイクロ命令によって指定され
る分岐アドレス102とのうぢ一つを選択し、そのアド
レスを通常動作時にマイクロプログラムアドレス103
としてROMIに(!(給する。
The selection circuit 3 uses a counter 9 to sequentially increase the power 10? Select one of the address 104 from the address register 4 to be executed, the branch address +01 specified from the outside, and the branch address 102 specified by the microinstruction stored in the microinstruction register 8. Microprogram address 103 during normal operation
to ROMI (!().

アドレスレジスタ4はROM1へのアドレスを保持し、
この保持されたアドレスはカウンタ9により順次1ずつ
加算される。
Address register 4 holds the address to ROM1,
This held address is sequentially incremented by 1 by the counter 9.

選択回路5は評価時に外部から指定される書込みデータ
202を選択し、通常動作時に選択回路3からROMI
に供給されるマイクロプログラムアドレス1.03を選
択し、その選択したデータを書込みデータ203として
RAM2に送出する。
The selection circuit 5 selects the write data 202 specified from the outside during evaluation, and selects the write data 202 from the selection circuit 3 during normal operation.
It selects microprogram address 1.03 supplied to , and sends the selected data to RAM 2 as write data 203 .

選択回路6は評価時に選択回路3からROM 1に供給
されるマイクロプログラムアドレス103を選択し、通
常動作時にカウンタ9により順次]ずつ加算されるアド
レスレジスタ4からのアドレス04を選択し、そのアド
レスをマイクロプログラムアドレス105としてRAM
2に供給する。
The selection circuit 6 selects the microprogram address 103 supplied from the selection circuit 3 to the ROM 1 during evaluation, selects address 04 from the address register 4 which is sequentially incremented by ] by the counter 9 during normal operation, and selects the address RAM as microprogram address 105
Supply to 2.

選択回路7は通常動作時にROMIからの出力データ2
0+を選択し、評価時にRAM2からの出力データ20
4を選択し、該データをマイクロ命令205としてマイ
クロ命令レジスタ8に送出する。
The selection circuit 7 selects the output data 2 from the ROMI during normal operation.
Select 0+ and output data 20 from RAM2 during evaluation.
4 is selected and the data is sent to the microinstruction register 8 as a microinstruction 205.

マイクロ命令レジスタ8は選択回路7からのマイクロ命
令205を保持し、その保持内容をマイクロ命令206
として他の回路(図示せず)に送出するとともに、その
保持内容によって指定される分岐アドレス102を選択
回路3に111力する。
The microinstruction register 8 holds the microinstruction 205 from the selection circuit 7, and stores the contents as the microinstruction 206.
At the same time, the branch address 102 specified by the held content is sent to the selection circuit 3 as 111.

尚、選択回路3,5〜7は夫々外部からのモト信号に応
じて選択動作を行う。
Note that the selection circuits 3, 5 to 7 each perform a selection operation in response to an external Moto signal.

この第1図を用いて本発明の一実施例の動作について説
明する。
The operation of one embodiment of the present invention will be explained using FIG.

マイクロプログラムの評価時においては、RAM2がマ
イクロプログラムを格納するメモリとして使用されるの
で、まずスキャン動作によりアドレスレジスタ4にアド
レスデータを設定し、そのアドレスレジスタ4からのア
ドレス104を選択回路6で選択してマイクロプログラ
ムアドレス105としてR,A M 2に供給する。
When evaluating a microprogram, the RAM 2 is used as a memory to store the microprogram, so address data is first set in the address register 4 by a scan operation, and the address 104 from the address register 4 is selected by the selection circuit 6. and supplies it to R, A M 2 as the microprogram address 105.

また、外部から指定される書込ろデータ202を選択回
路5で選択し、該データを書込みデータ203としてR
A M2に送出することにより、RA M2に評価用の
マイクロプロゲラl、を書込む。
Further, the selection circuit 5 selects write data 202 specified from the outside, and R
By sending the data to A M2, the evaluation microprogera l is written to RAM M2.

」二記動作を繰返し行うことにより、評価用のマイクロ
ブロクラム・すべてをRAM2に格納する。
By repeating the operations described in section 2 above, all microblocks for evaluation are stored in the RAM 2.

RAM2へのマイクロプログラムの格納が終J′すると
、選択回路6て選択回路3からのマイクロプログラムア
ドレス103を選択してRAM2にマイクロプログラム
アト′1ノス105として供給し、選択回路7でRAM
2からの出力データ204を選択することにより、書換
え可能なRA、 M 2をマイクロブロクラムを格納す
るメモリとして使用して該マイクロプログラムの初期評
価を行う。
When the storage of the microprogram in the RAM 2 is completed, the selection circuit 6 selects the microprogram address 103 from the selection circuit 3 and supplies it to the RAM 2 as the microprogram address 105, and the selection circuit 7 selects the microprogram address 103 from the selection circuit 3.
By selecting the output data 204 from M2, the rewritable RA M2 is used as a memory to store the microprogram to perform an initial evaluation of the microprogram.

一方、通常動作時においてはRAM2を使用して評価の
終rしたマイクロプログラムをROMIに格納し、RO
M1をマイクロブロクラムを格納するメモリとして使用
すると同時に、RAM2をROMIから読出されて実行
されるマイクロプログラムのアドレストレーザとして使
用するので、選択回路3からのマイクロプログラムアド
レス103をROMIに供給し、選択回路7でROM1
からの出力データ201を選択することにより、ROM
1から読出されたマイクロプログラムが実行される。
On the other hand, during normal operation, RAM2 is used to store the evaluated microprogram in ROMI, and
Since M1 is used as a memory for storing a microprogram, and at the same time RAM2 is used as an address tracer for a microprogram read from ROMI and executed, the microprogram address 103 from the selection circuit 3 is supplied to ROMI, ROM1 with selection circuit 7
By selecting the output data 201 from ROM
The microprogram read from 1 is executed.

このとき、RA、 M 2には選択回路6で選択された
アドレスレジスタ4からのアドレス104が(jtH給
され、選択回路5て選択回路3からのマイクロプロクラ
ムアドレス103、ずなわちROM1から読出されて実
行されたマイクロプログラムのアドレスが書込ろデータ
203として選択されるので、マイクロ命令実行毎にR
OMIから読出されて実行されたマイクロプログラムの
アドレスか書込まれる。
At this time, the address 104 from the address register 4 selected by the selection circuit 6 is supplied to RA, M2 (jtH), and the selection circuit 5 reads out the microprogram address 103 from the selection circuit 3, that is, from the ROM 1. Since the address of the microprogram executed by the microprogram is selected as the write data 203, the R
The address of the microprogram read from OMI and executed is written.

よって、RAM2をROMIから読出されて実行される
マイクロプログラムのアドレストレーザとして使用する
ことができる。
Therefore, RAM2 can be used as an address tracer for a microprogram read from ROMI and executed.

RA、 M 2にゼ(込まれたマイクロプログラムアド
レスを障害発生時なとにおいて読出す場合には、マイク
ロ命令を停+Lしくクロック停止)、選択回路7でRA
M2からの出力データ204を選択するようにしてから
1クロックステップ動作の繰返しにより順次RAM2の
全7111分の読出しを行って装置の障害検出を行う。
RA, M2 (when reading the stored microprogram address when a failure occurs, stop the microinstruction + L to stop the clock), select circuit 7 selects RA
After selecting the output data 204 from M2, a total of 7111 portions of RAM 2 are sequentially read out by repeating one clock step operation to detect a failure in the device.

このように、マイクロプログラムを格納するメモリとし
て使用するROMIと、通常動作時にアドレストレー→
ノ゛として使用し、評価時に評価用マイクロプログラム
を格納するメモリとして使用するRAM2とを設けるよ
うにすることによって、マイクロプログラムの初期評価
においてはRA M2のデータを書換えながら評価を行
うことかできるので、評価の簡略化を図ることができる
とともに、評価効率を向上させることができる。
In this way, the ROMI used as memory for storing microprograms and the address tray during normal operation →
By providing RAM2, which is used as a memory to store the evaluation microprogram at the time of evaluation, it is possible to perform evaluation while rewriting the data in RAM2 during the initial evaluation of the microprogram. , it is possible to simplify the evaluation and improve the evaluation efficiency.

また、通常動作時の装置初期設定においては初期設定時
のマイクロプログラムの書込み動作が不用となるため、
装置の初期設定に要する時間を短縮することができる。
In addition, since the microprogram write operation at the time of initial setting is unnecessary during the initial setting of the device during normal operation,
The time required for initial setting of the device can be reduced.

従来、ROMまたはRAMのみを使用した場合にはL述
のどちらか一方の効果しかi9ることかてきなかったが
、本実施例では双方の効果を同時に得ることができる。
Conventionally, when only ROM or RAM was used, only one of the effects described in L could be obtained, but in this embodiment, both effects can be obtained at the same time.

また、障害時のアドレストレースにおいてはRAM2の
内容を読出ず動作だけで実行できるため、アドレストレ
ースを簡単に行うことができる。
Furthermore, address tracing at the time of a failure can be performed simply by operating without reading the contents of the RAM 2, so that address tracing can be easily performed.

発明の効果 以」二説明したように本発明によれば、マイクロプログ
ラムを格納するROMと、通常動作時にマイクロプログ
ラムのアドレスI・レースメモリとして使用し、評価時
に評価用マイクロプログラムを格納する手段として使用
するRAMとを設けるようにすることによって、評価効
率を向上させることができ、装置の初期設定時間を短縮
することができるという効果がある。
Effects of the Invention (2) According to the present invention, there is a ROM for storing a microprogram, a ROM that is used as an address I/race memory for the microprogram during normal operation, and a means for storing an evaluation microprogram during evaluation. By providing a RAM to be used, evaluation efficiency can be improved and the initial setting time of the device can be shortened.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は従来例の構成を示すブロック図である。 主要部分の符号の説明 1・・・・・ROM 2・・ ・ RA M 3゜ 5〜7・ ・・・選択回路 4・・・・・アドレスレジスタ 8・・・・・マイクロ命令レジスタ 出1翰人 甲府ト1本電気株式会ン1
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a block diagram showing the configuration of a conventional example. Explanation of symbols of main parts 1... ROM 2... RAM 3゜5~7... Selection circuit 4... Address register 8... Micro instruction register output 1 Jinkofuto 1 Electric Co., Ltd. 1

Claims (1)

【特許請求の範囲】[Claims] (1)マイクロプログラムを格納する読出し専用メモリ
と、書込み読出し自在なメモリと、前記書込み読出し自
在なメモリを通常動作時に前記読出し専用メモリに格納
された前記マイクロプログラムを実行するときのアドレ
スを記憶するトレースメモリとして動作し、評価時に評
価用マイクロプログラムを格納する格納手段として動作
するよう制御する制御手段とを有することを特徴とする
マイクロプログラム制御装置。
(1) A read-only memory for storing a microprogram, a readable and writable memory, and an address for executing the microprogram stored in the read-only memory during normal operation of the readable and writable memory. 1. A microprogram control device comprising: control means for controlling the device to operate as a trace memory and as a storage means for storing an evaluation microprogram at the time of evaluation.
JP2182976A 1990-07-11 1990-07-11 Microprogram controller Pending JPH0469736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2182976A JPH0469736A (en) 1990-07-11 1990-07-11 Microprogram controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2182976A JPH0469736A (en) 1990-07-11 1990-07-11 Microprogram controller

Publications (1)

Publication Number Publication Date
JPH0469736A true JPH0469736A (en) 1992-03-04

Family

ID=16127598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2182976A Pending JPH0469736A (en) 1990-07-11 1990-07-11 Microprogram controller

Country Status (1)

Country Link
JP (1) JPH0469736A (en)

Similar Documents

Publication Publication Date Title
JPS6022438B2 (en) Non-volatile memory refresh method
JPS58115673A (en) System and device for stored information control
JPH0469736A (en) Microprogram controller
JPH10161899A (en) Sequence control circuit
JPH033200A (en) Semiconductor memory
JPH10247165A (en) Method and device for data writing in write-compensation-frequency limited memory
JPS5927303A (en) Program correcting device
JPH11259308A (en) Programmable controller
JPH04112208A (en) Programmable controller
JP2000276347A (en) Portable electronic apparatus
JP3235316B2 (en) IC tester pattern control method
JP3594495B2 (en) Control device
JPH0697395B2 (en) Electronic musical instrument
JP2002073411A (en) EEPROM storage capacity determination device and EEPROM storage capacity determination method
JPS6134652A (en) Artificial input/output control device
JPS63223828A (en) Microprogram controller
JPH0228784A (en) One-chip digital signal processing device and debugging device for it
JPS59186048A (en) Microprogram control system
JPH03189726A (en) Data processor
JPS63150733A (en) Central processing unit
JPS58140852A (en) Microprogram controller
KR950023505A (en) Molding condition control device of injection molding machine and its control method
JP2000056991A (en) Micro computer programmable controller provided with multi-task function and its control method
JPH0335335A (en) Storage device
KR940022248A (en) Programmatic Behavior Control Method