JP3030962B2 - Micro program controller - Google Patents

Micro program controller

Info

Publication number
JP3030962B2
JP3030962B2 JP3233324A JP23332491A JP3030962B2 JP 3030962 B2 JP3030962 B2 JP 3030962B2 JP 3233324 A JP3233324 A JP 3233324A JP 23332491 A JP23332491 A JP 23332491A JP 3030962 B2 JP3030962 B2 JP 3030962B2
Authority
JP
Japan
Prior art keywords
microprogram
address
local memory
memory
control
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.)
Expired - Fee Related
Application number
JP3233324A
Other languages
Japanese (ja)
Other versions
JPH0573295A (en
Inventor
誠 荻原
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 JP3233324A priority Critical patent/JP3030962B2/en
Publication of JPH0573295A publication Critical patent/JPH0573295A/en
Application granted granted Critical
Publication of JP3030962B2 publication Critical patent/JP3030962B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はマイクロプログラム制御
装置に関し、特にローカルメモリの初期化に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprogram controller, and more particularly, to local memory initialization.

【0002】[0002]

【従来の技術】図2はマイクロプログラム制御装置の従
来例のブロック図である。
2. Description of the Related Art FIG. 2 is a block diagram of a conventional example of a microprogram controller.

【0003】このマイクロプログラム制御装置は、マイ
クロプロセッサ21と制御記憶23とローカルメモリ2
4とIO等の制御部25およびROM22からなり内部
バス26により接続されていた。マイクロプロセッサ2
1は、制御記憶23よりマイクロプログラムを読みだ
し、命令を実行し、制御部25等に適当な指示を与え
る。ローカルメモリ24は、各種制御のバッファ等に用
いられる。また、マイクロプロセッサ21を高速で動作
させるため制御記憶23は高速なSRAMが用いられ、
マイクロプログラムは、低速だが大容量のROM22に
格納しておき装置の立ち上げ時等にROM22からSR
AMである制御記憶23にロードして用いられる。
[0003] This microprogram control device comprises a microprocessor 21, a control memory 23 and a local memory 2.
4 and a control unit 25 such as an IO and a ROM 22 and were connected by an internal bus 26. Microprocessor 2
1 reads a microprogram from the control storage 23, executes an instruction, and gives an appropriate instruction to the control unit 25 and the like. The local memory 24 is used as a buffer for various controls. Further, in order to operate the microprocessor 21 at high speed, a high-speed SRAM is used for the control memory 23,
The microprogram is stored in the low-speed but large-capacity ROM 22 and stored in the ROM 22 when the device is started up.
It is used by loading it into the control memory 23 which is an AM.

【0004】また、制御記憶23やローカルメモリ24
等のSRAMは立ち上げ時等の電源投入直後にはその中
身のデータは不明であるため何らかのデータを書き込ま
ないとデータが確定しない、制御記憶はマイクロプログ
ラムをロードするためデータが確定するがローカルメモ
リはデータが不明であるためロード終了後マイクロプロ
グラムの実行により、ローカルメモリへの書き込みを行
なってデータを確定させていた。
The control memory 23 and the local memory 24
Immediately after the power is turned on at the time of startup, etc., the contents of the SRAM are unknown. Therefore, the data is not determined unless some data is written. Since the data is unknown, after the loading is completed, the microprogram is executed to write the data into the local memory to determine the data.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のマイク
ロプログラム制御装置は、マイクロプログラムによって
ローカルメモリの初期設定を行なうので、マイクロプロ
グラムの実行開始後にローカルメモリの初期設定を行な
わねばならず、マイクロプログラムの立ち上げにローカ
ルメモリの初期設定を行なう時間が余分にかかるという
欠点がある。
In the above-mentioned conventional microprogram controller, the local memory is initialized by the microprogram. Therefore, the local memory must be initialized after the microprogram starts to be executed. There is a disadvantage in that it takes extra time to initialize the local memory when booting up.

【0006】本発明の目的は、立ち上げ時ローカルメモ
リの初期設定を行なう時間が余分にかからないマイクロ
プログラム制御装置を提供することである。
An object of the present invention is to provide a microprogram control device which does not require extra time for initializing a local memory at startup.

【0007】[0007]

【課題を解決するための手段】本発明のマイクロプログ
ラム制御装置は、制御記憶およびローカルメモリのアド
レスを保持するアドレス保持手段と、アドレス保持手段
のアドレスに1を加算してアドレス番号を連続的に増加
させるアドレス更新手段と、初期設定時にローカルメモ
リに書き込む初期設定データを発生する初期データ発生
手段と、該初期データ発生手段が発生した初期設定デー
タをローカルメモリに書き込む手段と、マイクロプログ
ラムの制御記憶へのロードを開始するとき、同時にロー
カルメモリに対する初期設定データの書き込みを開始さ
せる手段とを有する。
SUMMARY OF THE INVENTION A microprogram controller of the present invention comprises an address holding means for holding an address of a control memory and a local memory, and adding one to the address of the address holding means to continuously change an address number. Address updating means for increasing, initial data generating means for generating initial setting data to be written to the local memory at the time of initial setting, means for writing initial setting data generated by the initial data generating means to the local memory, control storage of the microprogram Means for starting to write the initial setting data to the local memory at the same time when the loading to the local memory is started.

【0008】[0008]

【作用】初期設定時、ROMから制御記憶へマイクロプ
ログラムのロードを開始すると同時に、初期設定データ
をアドレス更新手段からのアドレスに従ってローカルメ
モリに書き込むことにより、マイクロプログラムの制御
記憶へのロード終了時にはローカルメモリが初期設定さ
れている。
At the time of initialization, the loading of the microprogram from the ROM to the control storage is started, and at the same time, the initialization data is written to the local memory according to the address from the address updating means. Memory is initialized.

【0009】[0009]

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

【0010】図1は本発明のマイクロプログラム制御装
置の一実施例のブロック図である。
FIG. 1 is a block diagram showing an embodiment of a microprogram control device according to the present invention.

【0011】このマイクロプログラム制御装置は、RO
M1と、マイクロ命令レジスタ2と、アドレスレジスタ
3と、加算器4と、初期データ発生回路5と、ローカル
メモリ6と、制御記憶7と、セレクタ8,9,10,1
1と、マイクロプロセッサ(不図示)からなる。
[0011] This microprogram controller has a RO
M1, micro instruction register 2, address register 3, adder 4, initial data generation circuit 5, local memory 6, control memory 7, selectors 8, 9, 10, 1
1 and a microprocessor (not shown).

【0012】ROM1にはマイクロプログラムが格納さ
れており、該マイクロプログラムのデータは初期設定に
際して、マイクロプロセッサにより読み出されてマイク
ロ命令レジスタ2に保持された後、制御記憶7に書き込
まれる。アドレスレジスタ3は、マイクロプログラムの
制御記憶へのロード時、ROM1と制御記憶7のアドレ
スを指示し、このアドレスは、同時に、ローカルメモリ
6のアドレスとしても使用される。加算器4はアドレス
番号の連続加算を行なう。初期データ発生回路5はマイ
クロプログラムのロードが開始されるとローカルメモリ
6の初期設定のための初期設定データを発生する。ロー
カルメモリ6、および制御記憶7はRAMで、それぞれ
セレクタ9,10を介してアドレスレジスタ3からアド
レスが入力される。
A microprogram is stored in the ROM 1. The data of the microprogram is read out by the microprocessor at the time of initial setting, held in the microinstruction register 2, and then written in the control memory 7. The address register 3 indicates the addresses of the ROM 1 and the control memory 7 when the microprogram is loaded into the control memory. This address is also used as the address of the local memory 6 at the same time. The adder 4 performs continuous addition of address numbers. When the loading of the microprogram is started, the initial data generating circuit 5 generates initial setting data for initial setting of the local memory 6. The local memory 6 and the control memory 7 are RAMs, and an address is input from the address register 3 via the selectors 9 and 10, respectively.

【0013】次に、本実施例の初期設定について説明す
る。
Next, the initial setting of this embodiment will be described.

【0014】まず、マイクロプロセッサがROM1から
マイクロプログラムを読み出し、セレクタ8を介してマ
イクロ命令レジスタ2に格納する。格納されたデータ
は、アドレスレジスタ3から出力されたアドレスに従っ
て制御記憶7にロードされる。一方、このロードと同時
に初期データ発生回路5から初期設定データが出力さ
れ、セレクタ11により内部バスに送出される。ローカ
ルメモリ6では、セレクタ9を介してアドレスレジスタ
3から入力されたアドレスに内部バスに送出された初期
設定データが書き込まれる。このようにして、制御記憶
7に対するマイクロプログラムのロードが終了したとき
には、ローカルメモリも初期設定が終わっている。した
がってマイクロプログラムによるローカルメモリの初期
設定は不必要となる。
First, the microprocessor reads a microprogram from the ROM 1 and stores it in the microinstruction register 2 via the selector 8. The stored data is loaded into the control memory 7 according to the address output from the address register 3. On the other hand, at the same time as the loading, the initial setting data is output from the initial data generating circuit 5 and sent to the internal bus by the selector 11. In the local memory 6, the initial setting data sent to the internal bus is written to the address input from the address register 3 via the selector 9. In this way, when the loading of the microprogram into the control memory 7 is completed, the initialization of the local memory has also been completed. Therefore, the initial setting of the local memory by the microprogram becomes unnecessary.

【0015】[0015]

【発明の効果】以上説明したように本発明は、マイクロ
プログラムをROMから制御記憶にロードするときにロ
ーカルメモリへの初期設定データの書き込みを行なうこ
とにより、マイクロプログラムの起動後にマイクロプロ
グラムによるローカルメモリの初期設定をする必要がな
くなりマイクロプログラムの立ち上げの高速化を計れる
という効果がある。
As described above, according to the present invention, when the microprogram is loaded from the ROM into the control memory, the initial setting data is written into the local memory, so that the local memory based on the microprogram is activated after the microprogram is started. This eliminates the need for the initial setting of the program, and has the effect of speeding up the startup of the microprogram.

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

【図1】本発明のマイクロプログラム制御装置の一実施
例のブロック図である。
FIG. 1 is a block diagram of an embodiment of a microprogram control device according to the present invention.

【図2】マイクロプログラム制御装置の従来例のブロッ
ク図である。
FIG. 2 is a block diagram of a conventional example of a microprogram control device.

【符号の説明】[Explanation of symbols]

1 ROM 2 マイクロ命令レジスタ 3 アドレスレジスタ 4 加算器 5 初期データ発生回路 6 ローカルメモリ 7 制御記憶 8,9,10,11 セレクタ DESCRIPTION OF SYMBOLS 1 ROM 2 Micro instruction register 3 Address register 4 Adder 5 Initial data generation circuit 6 Local memory 7 Control storage 8, 9, 10, 11 Selector

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 9/24 310 G06F 9/22 330 G06F 9/06 420 G06F 1/24 ──────────────────────────────────────────────────の Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 9/24 310 G06F 9/22 330 G06F 9/06 420 G06F 1/24

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 マイクロプロセッサと、マイクロプログ
ラムが蓄積されているROMと、マイクロプログラムを
記憶させる制御記憶と、ローカルメモリと、初期設定時
に制御記憶にマイクロプログラムをロードする手段を有
するマイクロプログラム制御装置において、 制御記憶およびローカルメモリのアドレスを保持するア
ドレス保持手段と、 アドレス保持手段のアドレスに1を加算してアドレス番
号を連続的に増大させるアドレス更新手段と、 初期設定時にローカルメモリに書き込む初期設定データ
を発生する初期データ発生手段と、 該初期データ発生手段が発生した初期設定データをロー
カルメモリに書き込む手段と、 マイクロプログラムの制御記憶へのロードを開始すると
き、同時にローカルメモリに対する初期設定データの書
き込みを開始させる手段とを有することを特徴とするマ
イクロプログラム制御装置。
1. A microprogram control apparatus comprising: a microprocessor; a ROM storing a microprogram; a control memory for storing the microprogram; a local memory; and a means for loading the microprogram into the control memory at initialization. An address holding means for holding an address of a control memory and a local memory; an address updating means for continuously increasing an address number by adding 1 to an address of the address holding means; Initial data generating means for generating data; means for writing the initial setting data generated by the initial data generating means to the local memory; and starting the loading of the micro program into the control storage when the initial setting data for the local memory is started. Writing Microprogram control unit, characterized in that it comprises a means for starting.
JP3233324A 1991-09-12 1991-09-12 Micro program controller Expired - Fee Related JP3030962B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3233324A JP3030962B2 (en) 1991-09-12 1991-09-12 Micro program controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3233324A JP3030962B2 (en) 1991-09-12 1991-09-12 Micro program controller

Publications (2)

Publication Number Publication Date
JPH0573295A JPH0573295A (en) 1993-03-26
JP3030962B2 true JP3030962B2 (en) 2000-04-10

Family

ID=16953359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3233324A Expired - Fee Related JP3030962B2 (en) 1991-09-12 1991-09-12 Micro program controller

Country Status (1)

Country Link
JP (1) JP3030962B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5454400B2 (en) 2010-07-15 2014-03-26 株式会社富士通ゼネラル Propeller fan and manufacturing method thereof

Also Published As

Publication number Publication date
JPH0573295A (en) 1993-03-26

Similar Documents

Publication Publication Date Title
JP3030962B2 (en) Micro program controller
JPH0221616B2 (en)
JPH05324452A (en) External memory interface circuit
JPH01261758A (en) Computer system
JP2523662B2 (en) Memory access circuit
JP2854301B2 (en) Memory access circuit
JP2888195B2 (en) Startup controller for disk unit
JPH029401Y2 (en)
JP3222647B2 (en) Automatic memory bank switching system
JP2591785B2 (en) Computer equipment
JP2964504B2 (en) Document processing device
JPH0728990A (en) Graphic memory access circuit
JP2001142712A (en) Start-up controller
JP3217815B2 (en) Address translation method
JP3299147B2 (en) Cache control circuit
JPH07182230A (en) Memory card
JPH07105171A (en) Data processor
JPH01260559A (en) Microcomputer system
JPH10105457A (en) Memory control system and memory control circuitt
JPH0644298B2 (en) Program rewriting device for data flow type computer
JPH01204146A (en) Effective address generating system
JPS59114622A (en) Initial microprogram loading system
JPS5990159A (en) Multi-cpu starting system
JPH0844570A (en) System and method for program execution
JPH07262129A (en) Printer device

Legal Events

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