JPH0365727A - Microprogram storage system - Google Patents

Microprogram storage system

Info

Publication number
JPH0365727A
JPH0365727A JP20173089A JP20173089A JPH0365727A JP H0365727 A JPH0365727 A JP H0365727A JP 20173089 A JP20173089 A JP 20173089A JP 20173089 A JP20173089 A JP 20173089A JP H0365727 A JPH0365727 A JP H0365727A
Authority
JP
Japan
Prior art keywords
ram
write
microprogram
instruction
eprom
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
JP20173089A
Other languages
Japanese (ja)
Inventor
Hiroyuki Watabe
博之 渡部
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP20173089A priority Critical patent/JPH0365727A/en
Publication of JPH0365727A publication Critical patent/JPH0365727A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To shorten access time compared with a case that only an EPROM is used, and simultaneously, to facilitate the change of a microprogram by adopting a system to transfer the microprogram from the EPROM to a RAM. CONSTITUTION:After a RAM write-in control circuit 7 during RAM write-in operation sends firstly a write pulse to the RAM 2 by a signal line 17 during one cycle of a clock 22 divided by a clock frequency division circuit 8, and stores data 10 in it, it issues the count-up instruction of + or -1 to a write address register 4 by the signal line 18. A non-operation output circuit 3 having received the instruction during the RAM write-in operation outputs forcedly a non- operational microprogram instruction to a data signal line 13, and the RAM 2 having received the write pulse stores the data 10 outputted by the EPROM 1 in an address shown by the write address register 4. Thus, the microprogram instruction in the RAM can be read out by a usual clock.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプログラム格納方式に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a microprogram storage system.

〔従来の技術〕[Conventional technology]

従来のマイクロプログラム格納方式は、あらかじめマイ
クロプログラムを格納している再書き込み不能なマスク
ROMで構成されていた。
The conventional microprogram storage system is composed of a non-rewritable mask ROM that stores microprograms in advance.

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

上述した従来のマイクロプログラム格納方式は、再書き
込み不能なマスクROMで構成されているため、前記R
OMに格納されているマイクロプログラムを容易に変更
できないという欠点を有すると共に、また再書き込み可
能なEFROMを使用したとするとマスクROMに比べ
てEPROM内タ5セスタイムが遅いので、装置全体の
処理スピードが遅くなるという欠点がある。
The conventional microprogram storage method described above is composed of a non-rewritable mask ROM, so the R
It has the disadvantage that the microprogram stored in the OM cannot be easily changed, and if a rewritable EFROM is used, the processing time in the EPROM is slower than that of a mask ROM, so the overall processing speed of the device is reduced. The disadvantage is that it is slow.

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

本発明のマイクロプログラム格納方式は、あらかじめマ
イクロプログラムを格納している再書き込み可能なEP
ROMと、任意のマイクロプログラムを格納できるRA
Mと、前記RAMのライトアドレス及び前記EPROM
のソードアドレスを保持し、順次アドレスを更新する機
能を持った第一のレジスタと、前記RAMのリードアド
レスを保持する第二のレジスタと、前記RAMの書き込
み動作中に前記RAMの出力しているマイクロプログラ
ム命令を無演算命令に変換する無演算命令出力回路と、
前記EPROMのアクセスタイムに応じたクロックを発
生させる手段と、前記RAMの書き込み終了指示を出力
する書き込み終了指示作成回路と、前記各構成要件を制
御しEPROM内のデータをまとめてRAMに転送する
RAM書き込み制御回路とを備えて構成される。
The microprogram storage method of the present invention is based on a rewritable EP that stores microprograms in advance.
ROM and RA that can store any microprogram
M, the write address of the RAM and the EPROM
a first register that holds the sword address of the RAM and has a function of sequentially updating the address; a second register that holds the read address of the RAM; and a second register that holds the read address of the RAM; a no-operation instruction output circuit that converts microprogram instructions to no-operation instructions;
means for generating a clock according to the access time of the EPROM; a write end instruction generation circuit that outputs a write end instruction for the RAM; and a RAM that controls each of the constituent elements and collectively transfers data in the EPROM to the RAM. and a write control circuit.

〔実施例〕〔Example〕

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

本発明の一実施例の構成を第1図に示す。FIG. 1 shows the configuration of an embodiment of the present invention.

まず、本実施例の構成について説明する。First, the configuration of this embodiment will be explained.

第1図において、1はEPROM、2はRAM。In FIG. 1, 1 is an EPROM and 2 is a RAM.

3はRAM書き込み動作中にはNOP命令を出力しそれ
以外の時は12にデータを出力する無演算命令出力回路
、4はEFROMIのリードアドレスとRAMデコーダ
2のライトアドレスを共通に保持すると共に+1のカウ
ントアツプ機能を有する第1のレジスタであるライトア
ドレスレジスタ、5はRAM2のリードアドレスを保持
する第2のレジスタであるリードアドレスレジスタ、6
はライトアトレフ、レジスタ4をデコードしRAM書き
込み動作終了の指示を出す書き込み終了指示作成回路、
7はRAM2にライトパルスを出力すると共にライトア
ドレスレジスタ4に+1のカウントアツプの指示を出し
、さらに書き込み動作中に無演算命令出力の指示を出す
RAM書き込み制御回路、8はシステムクロックをアク
セスタイムの遅いEPROMIのために分周するクヨツ
ク分周回路、9はライトアドレスレジスタ4の+lカウ
ンタ回路である。
3 is a no-operation instruction output circuit that outputs a NOP instruction during RAM write operation and outputs data to 12 at other times; 4 holds the read address of EFROMI and the write address of RAM decoder 2 in common; and +1 A write address register 5 is a first register having a count-up function, a read address register 6 is a second register holding a read address of RAM2.
is a write end instruction generation circuit that decodes the write atref and register 4 and issues an instruction to end the RAM write operation;
7 is a RAM write control circuit which outputs a write pulse to the RAM 2 and also instructs the write address register 4 to count up by +1, and also instructs to output a no-operation instruction during a write operation. A clock frequency divider circuit divides the frequency for slow EPROMI, and 9 is a +l counter circuit of the write address register 4.

次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

EFROMIに格納されているマイクロプログラムをR
AM2に格納する場合、パワーオン指示信号20がRA
M書き込み制御回路7に入力される。RAM書き込み制
御回路7は、パワーオン指示を保持し、それにより無演
算出力回路3にRAM書き込み動作中の指示を信号線1
9により送出する。また、RAM書き込み動作中のRA
M書き込み制御回路7は、クロック分周回路8で分周し
たクロック22の1サイクル中に、まずRAM2に信号
線17でライトパルスを送出しデータlOを格納させた
後、ライトアドレスレジスタ4に信号線18で+1のカ
ウンタアップ指示を出す。
R the microprogram stored in EFROMI
When storing in AM2, the power-on instruction signal 20 is
It is input to the M write control circuit 7. The RAM write control circuit 7 holds a power-on instruction, and thereby sends an instruction to the no-operation output circuit 3 that a RAM write operation is in progress through the signal line 1.
Send by 9. In addition, the RA during RAM write operation
The M write control circuit 7 first sends a write pulse to the RAM 2 through the signal line 17 to store data lO during one cycle of the clock 22 frequency-divided by the clock frequency divider circuit 8, and then sends a signal to the write address register 4. A +1 counter up instruction is issued on line 18.

RAM書き込み動作中の指示を受は取った無演算出力回
路3は、強制的に無演算のマイクロプログラム命令をデ
ータ信号線13に出力する。また、ライトパルスを受は
取ったRAM2は、ライトアドレスレジスタ4の示すア
ドレスに、EPROM1の出力するデータ10を格納す
る。この時、EPROMIの出力するデータ10は、ラ
イトアドレスレジスタ4が示すEPROMIのリードア
ドレスのデータである。また、+1のカウントアツプ指
示を受は取ったライトアドレスレジスタ4は、+1のカ
ウントアツプをする。以下、RAMZ内で使用するすべ
てのワードにマイクロプログラムが格納されるまでくり
返す。
The no-operation output circuit 3, which has received the instruction that the RAM write operation is in progress, forcibly outputs a no-operation microprogram instruction to the data signal line 13. Further, the RAM 2 that has received the write pulse stores the data 10 output from the EPROM 1 at the address indicated by the write address register 4. At this time, the data 10 outputted by the EPROMI is the data at the read address of the EPROMI indicated by the write address register 4. Further, the write address register 4 that receives the +1 count up instruction counts up +1. The following steps are repeated until the microprogram is stored in all words used in RAMZ.

書き込み終了指示作成回路6は、ライトアドレスレジス
タ4を常時チエツクし、RAMZ内で使用するすべての
ワードにマイクロプログラムが格納されたことを確認す
ると、書き込み終了指示を信号線14で書き込み制御回
路7及び他の装置に出し、RAM書き込み動作の終了を
示す。書き込み終了指示を受は取ったRAM書き込み制
御回路7は、上述したパワーオン指示の保持をやめそれ
により書き込み動作中の指示及びライトパルスの送出並
びに+1のカウントアツプ指示の送出を中止し、RAM
書き込み動作を終了する。上述した動作でEPROM内
のデータをまとめてRAM内に転送することにより、通
常のクロックでRAM内のマイクロプログラム命令を読
み出すことができる。
The write end instruction generation circuit 6 constantly checks the write address register 4, and when it confirms that the microprogram has been stored in all the words used in the RAMZ, the write end instruction is sent to the write control circuit 7 and the write end instruction via the signal line 14. It is sent to another device to indicate the end of the RAM write operation. Upon receiving the write end instruction, the RAM write control circuit 7 stops holding the above-mentioned power-on instruction, thereby canceling the instruction during the write operation, the sending of the write pulse, and the sending of the +1 count up instruction, and
Finish the write operation. By collectively transferring the data in the EPROM to the RAM in the above-described operation, the microprogram instructions in the RAM can be read out using a normal clock.

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

以上説明したように本発明は、マイクロプログラムをE
PROMからRAMに転送する方式をとることにより、
EPROMのみを使用する場合と比べてアクセスタイム
の短縮が図れると共に、マイクロプログラムの変更が容
易にできるという効果がある。
As explained above, the present invention enables microprograms to be
By using a method of transferring data from PROM to RAM,
This has the advantage that the access time can be shortened compared to the case where only EPROM is used, and the microprogram can be changed easily.

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

第1図は本発明の一実施例の構成を示すブロック図であ
る。 l・・・・・・EPROM、2・・・・・・RAM、3
・・・・・・NOP出力回路、4・・・・・・ライトア
ドレスレジスタ、5・・・・・・リードアドレスレジス
タ、6・・・・・・書き込み終了指示作成回路、7・・
・・・・RAM書き込み制御回路、8・・・・・・クロ
ック分周回路、9・・・・・・十lカウンタ回路。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. l...EPROM, 2...RAM, 3
... NOP output circuit, 4 ... Write address register, 5 ... Read address register, 6 ... Write end instruction generation circuit, 7 ...
. . . RAM write control circuit, 8 . . . Clock frequency divider circuit, 9 . . . 10L counter circuit.

Claims (1)

【特許請求の範囲】[Claims] あらかじめマイクロプログラムを格納している再書き込
み可能なEPROMと、任意のマイクロプログラムを格
納できるRAMと、前記RAMのライトアドレス及び前
記EPROMのソードアドレスを保持し、順次アドレス
を更新する機能を持った第一のレジスタと、前記RAM
のリードアドレスを保持する第二のレジスタと、前記R
AMの書き込み動作中に前記RAMの出力しているマイ
クロプログラム命令を無演算命令に変換する無演算命令
出力回路と、前記EPROMのアクセスタイムに応じた
クロックを発生させる手段と、前記RAMの書き込み終
了指示を出力する書き込み終了指示作成回路と、前記各
構成要件を制御しEPROM内のデータをまとめてRA
Mに転送するRAM書き込み制御回路とを備えて成るこ
とを特徴とするマイクロプログラム格納方式。
A rewritable EPROM that stores a microprogram in advance, a RAM that can store any microprogram, and a memory that has the function of holding the write address of the RAM and the sword address of the EPROM and sequentially updating the addresses. one register and the RAM
a second register holding the read address of R;
a no-operation instruction output circuit for converting a microprogram instruction outputted from the RAM into a no-operation instruction during a write operation of the AM; a means for generating a clock according to an access time of the EPROM; and an end of writing to the RAM. A write end instruction creation circuit that outputs an instruction, and an RA that controls each of the above components and collects the data in the EPROM.
A microprogram storage system characterized by comprising a RAM write control circuit for transferring data to a microprogram.
JP20173089A 1989-08-02 1989-08-02 Microprogram storage system Pending JPH0365727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20173089A JPH0365727A (en) 1989-08-02 1989-08-02 Microprogram storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20173089A JPH0365727A (en) 1989-08-02 1989-08-02 Microprogram storage system

Publications (1)

Publication Number Publication Date
JPH0365727A true JPH0365727A (en) 1991-03-20

Family

ID=16445984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20173089A Pending JPH0365727A (en) 1989-08-02 1989-08-02 Microprogram storage system

Country Status (1)

Country Link
JP (1) JPH0365727A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5603056A (en) * 1993-09-13 1997-02-11 Kabushiki Kaisha Toshiba Disk drive control computer and method for rewriting control program in flash EEPROM with serial communication using unassigned pins of SCSI or ATA connector
US5737762A (en) * 1993-12-08 1998-04-07 Kabushiki Kaisha Toshiba Data recording/reproducing system capable of processing servo process program at high speed

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5603056A (en) * 1993-09-13 1997-02-11 Kabushiki Kaisha Toshiba Disk drive control computer and method for rewriting control program in flash EEPROM with serial communication using unassigned pins of SCSI or ATA connector
US5737762A (en) * 1993-12-08 1998-04-07 Kabushiki Kaisha Toshiba Data recording/reproducing system capable of processing servo process program at high speed

Similar Documents

Publication Publication Date Title
US5245575A (en) Register circuit for copying contents of one register into another register
US4027291A (en) Access control unit
JPH1083303A (en) Electronic circuit and method for using coprocessor
JPH0365727A (en) Microprogram storage system
JPH1091593A (en) Data processor provided with microprocessor and optional calculation unit
KR0153537B1 (en) Signal processing structure preselecting memory address data
SU1418720A1 (en) Device for checking programs
SU1195364A1 (en) Microprocessor
JPH04140841A (en) Microprogram store system
JPH02224041A (en) Cache memory control circuit
JPS58184188A (en) Reading and writting system of display data
JPS60134956A (en) Information processing system
JPH0567035A (en) Data alignment system for dma transfer
JPH02136921A (en) Register access system
JPH01112449A (en) Speed converting memory device
JPS62168235A (en) Data processor
JPS58181134A (en) Data transfer circuit
JPS61249140A (en) Microprogram controller
JPH05143493A (en) Serial data transfer device
JPS62168233A (en) Information processor
JPH0425958A (en) Address counter control system
JPH06100963B2 (en) Micro program controller
JPH04156634A (en) Cache memory diagnosis address generation device
JPH01281533A (en) Microprogram controller
JPH04319597A (en) Initialization circuit for storage circuit