JPS6321934B2 - - Google Patents
Info
- Publication number
- JPS6321934B2 JPS6321934B2 JP55120459A JP12045980A JPS6321934B2 JP S6321934 B2 JPS6321934 B2 JP S6321934B2 JP 55120459 A JP55120459 A JP 55120459A JP 12045980 A JP12045980 A JP 12045980A JP S6321934 B2 JPS6321934 B2 JP S6321934B2
- Authority
- JP
- Japan
- Prior art keywords
- register
- time
- stage
- computer
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/22—Microcontrol or microprogram arrangements
- G06F9/24—Loading of the microprogram
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Description
【発明の詳細な説明】
本発明は、制御記憶制御方式に関し、詳しくは
インタミテント障害を通常動作に影響を与えずに
回復できるRAM素子を用いた制御記憶装置の制
御方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a control memory control method, and more particularly to a control method for a control memory device using a RAM element that can recover from an intermittent failure without affecting normal operation.
従来より、計算機のハードウエア制御技術とし
て、制御記憶装置にハードウエア制御情報(以下
マイクロ・プログラム)を格納する方法が用いら
れている。これは、計算機内のサブユニツト、ゲ
ート、タイミングを構成する機能単位を制御する
指令(マイロ命令)をプログラムして、よりマク
ロな機能を定義する方法である。 BACKGROUND ART Conventionally, a method of storing hardware control information (hereinafter referred to as a microprogram) in a control storage device has been used as a hardware control technique for a computer. This is a method of defining more macroscopic functions by programming instructions (milo instructions) that control functional units that make up subunits, gates, and timing within a computer.
制御記憶装置の記憶素子としては、従来より
ROM(読み出し専用メモリ)素子が用いられて
いたが、マイクロ・プログラムの不良対策、仕様
変更に伴うマイクロ・プログラムの変更、および
ソフトウエアのフアームウエア化等を容易にする
ために、記憶素子を書き換え可能なRAM素子に
するのが、最近の大型機の一般的傾向である。 Conventionally, as a memory element of a control memory device,
A ROM (read-only memory) element was used, but the memory element was rewritten to make it easier to deal with defects in micro programs, change micro programs due to specification changes, and convert software into firmware. The general trend in recent large-scale machines is to use available RAM elements.
マイクロ・プログラム技術を用いて高性能な計
算機を設計するためには、アクセス時間の短か
い、かつ、容量の大きなRAMが必要であるが、
システムの冷却能力に限度があるために、高速
RAMの開発に当つては、チツプ当りの発熱を
ほゞ一定にしてRAMのアクセス時間をより短
く、チツプ当りの容量をより増加する方向に進ん
でいる。つまり、RAM素子内の1ビツトの情報
を保持するための電気エネルギは、小さくなつて
きているため、高速RAMは低速RAMに比べて
インタミテント障害が発生し易い。例えば、バイ
ポーラRAMは一般にフリツプ・フロツプ型のス
タテイツクRAMで構成されており、その場合、
RAMの情報保持状態における保持電流は、256
ビツト×1RAMでは1ビツト当り約90μAである
のに対し、1024ビツト×1RAMでは1ビツト当
り約30μAである。 In order to design a high-performance computer using microprogramming technology, a RAM with short access time and large capacity is required.
High speeds due to limited cooling capacity of the system
In the development of RAM, progress is being made in the direction of keeping the heat generation per chip almost constant, shortening RAM access time, and increasing the capacity per chip. In other words, the electrical energy required to hold one bit of information in a RAM element is becoming smaller, so intermittent failures are more likely to occur in high-speed RAM than in low-speed RAM. For example, bipolar RAM generally consists of flip-flop type static RAM;
The holding current in the RAM information holding state is 256
In a bit×1 RAM, it is about 90 μA per bit, whereas in a 1024 bit×1 RAM, it is about 30 μA per bit.
RAM障害の一因として、例えばα線障害があ
る。α線障害とは、空気中、あるいはパツケージ
材料より放射されたα線がRAM素子に衝突する
と、RAM素子内の記憶情報が失われてしまうこ
とをいう。例えば、フリツプ・フロツプ型スタテ
イツクRAMの情報を反転させるために必要な電
荷量は、約0.1ピコ・クーロン(Pico Coulomb)
であるが、α線(4.5Mev)がバイポーラRAM素
子に衝突すると、シリコン上で約0.2ピコ・クー
ロンの電荷量が発生するため、記憶情報を“0”
から“1”または“1”から“0”に反転させて
しまう。 One cause of RAM failure is, for example, α-ray failure. Alpha ray damage refers to the loss of information stored in a RAM element when alpha rays emitted from the air or from the packaging material collide with the RAM element. For example, the amount of charge required to invert information in a flip-flop static RAM is approximately 0.1 pico coulomb.
However, when α rays (4.5 Mev) collide with a bipolar RAM element, a charge of approximately 0.2 pico-coulomb is generated on the silicon, which causes the stored information to be set to “0”.
to "1" or from "1" to "0".
この場合、注意すべきことは、α線障害とは、
RAM素子が破壊されたわけではなく、情報が喪
失しただけであるので、再度情報を書き込めば
RAMは正常に使用できる。つまり、α線障害
は、ソリツド・エラーではなく、インタミテン
ト・エラーといわれるものに該当する。そして、
このα線障害は、RAMの1ビツト当りの電気エ
ネルギが小さくなればなるほど発生し易くなる。 In this case, what should be noted is that α-ray damage is
The RAM element is not destroyed, only the information is lost, so if you write the information again,
RAM can be used normally. In other words, α-ray damage corresponds to what is called an intermittent error, not a solid error. and,
This α-ray damage is more likely to occur as the electrical energy per bit of RAM becomes smaller.
したがつて、高速RAMになればなるほど、
RAMの信頼性が悪くなるのが実情である。 Therefore, the faster the RAM, the
The reality is that the reliability of RAM deteriorates.
従来は、制御記憶装置に使用しているRAM
に、α線障害のようなインタミテント障害が発生
した場合には、重要障害になつてシステム・ダウ
ンとなるため、計算機システムの信頼性を著しく
低下させている。 Traditionally, RAM used for control storage
Furthermore, if an intermittent failure such as an α-ray failure occurs, it becomes a major failure and the system goes down, significantly reducing the reliability of the computer system.
本発明の目的は、上記のような従来の問題点を
除去するため、α線障害のようなインタミテント
障害になつたRAM素子の内容を、計算機の通常
動作に影響を与えることなく、回復できる制御記
憶制御方式を提供することにある。 The purpose of the present invention is to eliminate the above-mentioned conventional problems by making it possible to recover the contents of a RAM element that has suffered from an intermittent failure such as an α-ray failure without affecting the normal operation of the computer. An object of the present invention is to provide a control storage control method.
本発明の制御記憶制御方式は、複数のデータ・
ブロツクに分割されたマイクロ・プログラムのブ
ロツク番号を順次指示する手段と、指示されたブ
ロツクの再書き込み処理から計算機の本来の処理
時間を保障するための経過時間測定用時計レジス
タとを有し、計算機の本来の処理の待機時間中
に、指示されたブロツク番号のマイクロ・プログ
ラムを上記制御記憶装置に再書き込みし、該再書
き込みの終了ごとに、上記時計レジスタに所定値
を設定して、少なくとも上記所定値の時間が経過
するまでは、次の再書き込み処理を待機すること
に特徴がある。 The control storage control method of the present invention allows multiple data
It has a means for sequentially instructing the block numbers of a microprogram divided into blocks, and a clock register for measuring the elapsed time to guarantee the original processing time of the computer from the rewriting process of the specified block. During the standby time of the original processing, the microprogram of the designated block number is rewritten into the control storage device, and each time the rewriting is completed, a predetermined value is set in the clock register, and at least the The feature is that the next rewrite process is waited until a predetermined value of time has elapsed.
本発明においては、α線障害のようなインタミ
テントなRAM障害は、RAM素子自体が破壊さ
れたわけではないので、情報の再書き込みにより
RAMは正常に動作できること、α線障害が生じ
たRAM素子のアドレスは不明のため、全情報を
再書き込みする必要があること、および制御記憶
装置内の情報は障害が発生すると即時システム障
害になるのではなく、制御記憶装置内の該当情報
が使用されるときにシステム障害となること、等
に着目し、計算機の空き時間を利用して、繰り返
し制御情報をRAMに書き込む。すなわち、本発
明においては、(イ)計算機の動作を停止するこ
となく、計算機の空き時間、つまり演算処理装置
の待機時間中に(記憶制御装置とその書き込み/
読み出し制御部は動作中)、マイクロ・プログラ
ムの再書き込みを制御記憶装置に対して行こと、
(ロ)演算処理装置の待機時間内にマイクロ・プ
ログラム全体を再書き込みすることはできないの
で、複数のブロツクに分割して、待機時間ごとに
再書き込みするためのブロツク番号を指示するこ
と、(ハ)再書き込みの回数が頻繁に繰り返され
ると、計算機本来の処理が遅れて、性能低下を招
くので、時間経過時計レジスタを設け、再書き込
み終了の度にこのレジスタに所定の値を設定し
て、その時間が経過するまでは次の再書き込みを
待機させる、つまり再書き込み時間間隔をある一
定時間以上保障することにより、計算機本来の処
理が遅れないようにすること、の各機能を新たに
設けている。 In the present invention, intermittent RAM failures such as α-ray failures do not mean that the RAM element itself has been destroyed, so rewriting information can
The RAM can operate normally, the address of the RAM element with the alpha fault is unknown and all information must be rewritten, and the information in the control storage will result in an immediate system failure if the fault occurs. Instead, we focused on the fact that system failures occur when the relevant information in the control storage device is used, and we repeatedly write control information to RAM using the computer's free time. That is, in the present invention, (a) the storage control device and its writing/writing are performed during the idle time of the computer, that is, the standby time of the arithmetic processing unit, without stopping the operation of the computer.
(the read control unit is in operation), rewriting the micro program to the control storage device;
(b) Since it is not possible to rewrite the entire microprogram within the waiting time of the arithmetic processing unit, it is necessary to divide the microprogram into multiple blocks and instruct the block number for rewriting for each waiting time. ) If the number of rewrites is repeated frequently, the original processing of the computer will be delayed and performance will deteriorate. Therefore, a time elapsed clock register is provided, and a predetermined value is set in this register every time the rewrite is completed. A new function has been added to make the next rewrite wait until that time has elapsed, in other words, to ensure that the rewrite time interval is longer than a certain period of time, so that the original processing of the computer is not delayed. There is.
以下、本発明の実施例を、従来と比較しながら
図面により説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings, while comparing them with conventional ones.
第1図は、従来の計算機の動作フロー・チヤー
ト、第2図は本発明の実施例を示す計算機の動作
フロー・チヤートである。 FIG. 1 is an operational flow chart of a conventional computer, and FIG. 2 is an operational flow chart of a computer showing an embodiment of the present invention.
従来の計算機では、第1図に示すようにスター
トした後、ステージ52でプログラムを実行し、
実行する仕事がなくなると、ステージ53で待機
指示が出るので、ステージ54で待機状態とな
り、ステージ55で割り込みが発生すると、ステ
ージ56で割り込みの処理を行なう。このよう
に、待機状態は、割り込みが発生して次の仕事が
入力されるまで続けられる。割り込みには、例え
ば入出力割り込み、外部割り込み等がある。 In a conventional computer, after starting as shown in FIG. 1, the program is executed at stage 52.
When there is no more work to be executed, a standby instruction is issued at stage 53, so the system enters a standby state at stage 54, and when an interrupt occurs at stage 55, the interrupt is processed at stage 56. In this way, the waiting state continues until an interrupt occurs and the next job is input. Interrupts include, for example, input/output interrupts and external interrupts.
本発明では、無駄に使われているこの待機状態
中の時間を用いて、制御記憶装置(CS)にマイ
クロ・プログラムを再書き込みする。 In the present invention, the wasted time in the standby state is used to rewrite the microprogram in the control storage (CS).
一般にマイクロ・プログラムのデータ量はきわ
めて多いため、1回で制御記憶装置に情報を再書
き込みすると、書き込み実行時間が長くなり、そ
の間に発生した割り込みの処理が遅れて、性能低
下になりかねない。 In general, the amount of data in a microprogram is extremely large, so rewriting information to the control storage device in one go increases the write execution time, which delays the processing of interrupts that occur during that time, which can lead to performance degradation.
そこで、本発明においては、マイクロ・プログ
ラムを複数のデータ・ブロツクに分割し、以後、
再書き込みはこの分割されたブロツク単位に実施
する。 Therefore, in the present invention, the microprogram is divided into multiple data blocks, and
Rewriting is performed in units of these divided blocks.
第2図において、ステージ51〜56は従来の
動作フローチヤートであり、本発明は待機状態中
に時計レジスタによつて任意の経過時間を測定す
るステージ57を挿入し、再書き込みの条件が満
たされたとき、指定されたブロツク単位の再書き
込みを行うサブ・ルーチンに分岐する。 In FIG. 2, stages 51 to 56 are a conventional operation flowchart, and the present invention inserts a stage 57 in which an arbitrary elapsed time is measured by a clock register during the standby state, and the rewriting condition is satisfied. When this happens, the program branches to a subroutine that rewrites the specified block.
このサブ・ルーチンは、ステージ58〜63の
処理を行う。 This subroutine processes stages 58-63.
第3図は、本発明の実施例を示す制御記憶装置
とその制御部のブロツク図であり、第4図は、第
3図における外部記録媒体に記録されるデータの
レコード形式図である。 FIG. 3 is a block diagram of a control storage device and its control unit showing an embodiment of the present invention, and FIG. 4 is a record format diagram of data recorded on the external recording medium in FIG. 3.
第3図においては、命令制御ユニツト1と、次
に実行すべきマイクロ・プログラムのアドレス決
定のためのテスト回路104と、CS書き込み制
御ユニツト4から選択回路105を経てCSアド
レス・レジスタ(CSAR)101にアドレスがセ
ツトされる。制御記憶装置100から読み出され
たマイクロ命令は、CG読み出しデータ・レジス
タ(CSDR)102にセツトされ、さらにデコー
ド回路103でデコードされ、デコード内容に従
つた制御を行なう。 In FIG. 3, the command control unit 1, the test circuit 104 for determining the address of the next microprogram to be executed, and the CS address register (CSAR) 101 from the CS write control unit 4 via the selection circuit 105. The address is set to . The microinstruction read from the control storage device 100 is set in the CG read data register (CSDR) 102, further decoded by the decode circuit 103, and control is performed according to the decoded contents.
本発明に関与するデコード信号としてデコード
信号203はプラス1加算器400を制御し、デ
コード信号204は計時機構500を制御し、ま
たデコード信号202はCS再書き込み要求フリ
ツプ・フロツプ202をセツトする。301,3
02は、制御フリツプ・フロツプである。 As decode signals related to the present invention, decode signal 203 controls plus-one adder 400, decode signal 204 controls clock mechanism 500, and decode signal 202 sets CS rewrite request flip-flop 202. 301,3
02 is a control flip-flop.
演算ユニツト2には、プログラム状態語
(PSW)がセツトされ、演算ユニツト2からテス
ト回路104に対して、PSW中の待機ビツトの
信号線22割り込み発生信号線23、およびマイ
クロ・プログラムでテストできる演算ユニツトの
各種情報線24が接続される。フロツピー・デイ
スク等の外部記憶媒体3には、制御記憶装置10
0にロードすべきマイクロ・プログラムが格納さ
れている。CS書き込み制御ユニツト4には、保
守診断ユニツト5が接続されている。 A program status word (PSW) is set in the arithmetic unit 2, and the arithmetic unit 2 sends information to the test circuit 104 via the standby bit signal line 22, interrupt generation signal line 23, and arithmetic operations that can be tested by the microprogram. Various information lines 24 of the unit are connected. The external storage medium 3, such as a floppy disk, includes a control storage device 10.
The micro program to be loaded into 0 is stored. A maintenance diagnosis unit 5 is connected to the CS writing control unit 4.
プラス1を行う加算機400内のレジスタ40
1は次に書き込む制御記憶装置100のブロツク
番号を保持するレジスタであり、信号線403は
レジスタ401の内容がN+1以上のとき“1”
となる信号を供給する。CPUタイマ、インター
バル・タイマ等に用いられる計時機構500内の
時計レジスタ501は、単位時間ごとに減算さ
れ、その内容が“0”以下になると信号線502
に“1”が送出される。また、時計レジスタ50
1は、信号線204により任意の値がセツトされ
る。時計レジスタ501は、単位時間、例えば
3.3mSごとに減算されるので、いま初期値が
「303」であれば、303×3.3mS≒1秒で約1秒後
に“0”以下になる。 Register 40 in adder 400 that performs plus one
1 is a register that holds the block number of the control storage device 100 to be written next, and the signal line 403 is set to “1” when the contents of the register 401 are N+1 or more.
A signal is supplied. A clock register 501 in a clock mechanism 500 used for a CPU timer, an interval timer, etc. is decremented every unit time, and when the content becomes "0" or less, a signal line 502
“1” is sent to In addition, the clock register 50
1 is set to an arbitrary value by the signal line 204. The clock register 501 stores a unit time, e.g.
Since it is subtracted every 3.3 mS, if the initial value is "303", it will become "0" or less after about 1 second, since 303 x 3.3 mS = 1 second.
第3図の外部記録媒体3には、第4図に示すよ
うに、マイクロ・プログラムはN個のデータ・ブ
ロツクに分割されて格納されており、再書き込み
はこの分割されたブロツク単位に実施される。 As shown in FIG. 4, the external recording medium 3 in FIG. 3 stores the microprogram divided into N data blocks, and rewriting is performed in units of these divided blocks. Ru.
マイクロ・プログラムのデータをN個に分割す
る場合、“N”の決定にはプログラムのデータ量
およびその計算機の性能を考慮する必要がある。
例えば、マイクロ・プログラムのデータ量を4K
ワード、1ワードを制御記憶装置に書き込むのに
必要な時間を1μSとすれば、N=8に設定され
る。このとき、分割された1ブロツクのデータを
書き込むのに要する時間は、(4×103)/8×
1μS=0.5mSとなる。各ブロツクを識別するため
に、各データの先頭にブロツク番号(1〜N)が
記憶される。 When dividing the data of a micro program into N pieces, it is necessary to consider the data amount of the program and the performance of the computer in determining "N".
For example, if the data amount of a micro program is 4K
If the time required to write one word into the control memory is 1 μS, then N=8. At this time, the time required to write one divided block of data is (4×10 3 )/8×
1μS=0.5mS. In order to identify each block, a block number (1 to N) is stored at the beginning of each piece of data.
第2図において、ステージ54で計算機が待機
状態になり、割り込みが発生しなければ、ステー
ジ57を実行するマイクロ命令が格納されている
CSアドレスがCSアドレス・レジスタ101にセ
ツトされ、その内容が読み出しデータ・レジスタ
102にセツトされる。このマイクロ命令は、こ
のとき時計レジスタ501の内容が“0”以下か
否かを示す信号502をテストすることを指示し
ている。信号502は、時計レジスタ501の内
容が“0”以下になれば、“1”となる信号であ
る。 In FIG. 2, the computer enters a standby state at stage 54, and if no interrupt occurs, a microinstruction to execute stage 57 is stored.
The CS address is set in CS address register 101 and its contents are set in read data register 102. This microinstruction instructs to test a signal 502 indicating whether the contents of the clock register 501 are less than or equal to "0" at this time. The signal 502 is a signal that becomes "1" when the contents of the clock register 501 become "0" or less.
CS読み出しデータ・レジスタ102からの信
号201は、次のマイクロ命令のCSアドレスを
決定するための制御情報であり、CSアドレス決
定回路104に送出される。 A signal 201 from the CS read data register 102 is control information for determining the CS address of the next microinstruction, and is sent to the CS address determination circuit 104.
第5図は、第3図におけるマイクロ・プログラ
ムのフオーマツト図である。 FIG. 5 is a format diagram of the micro program in FIG.
例えば、X番地のマイクロ命令は、第5図に示
すように、制御フイールドとテスト条件と次のマ
イクロ命令の格納番地から構成され、X番地のマ
イクロ命令の次に実行される命令は、テスト条件
が成立すればY番地に、テスト条件が不成立であ
れば(X+1)番地のマイクロ命令が実行され
る。 For example, as shown in FIG. 5, the microinstruction at address X consists of a control field, a test condition, and a storage address for the next microinstruction, and the instruction to be executed next after the microinstruction at address If the test condition is satisfied, the microinstruction at address Y is executed, and if the test condition is not satisfied, the microinstruction at address (X+1) is executed.
CSアドレス決定回路104により、ステージ
57の次のCSアドレスは、信号502が“0”
であればステージ54に戻り信号502が“1”
であればステージ58に決定される。いま、信号
502が“0”とすると、ステージ54のマイク
ロ命令が実行され、ステージ55で割り込みが発
生しなければ、再度ステージ57のマイクロ命令
が実行される。割り込みがあれば、ステージ56
の割り込み処理が実行される。このように実行さ
れるステージ54→55→57→54→55→5
7………、あるいは、54→55→56→52→
53→………、の処理は、従来の処理の流れと同
じである。 The CS address determination circuit 104 determines the next CS address of the stage 57 when the signal 502 is “0”.
If so, return to stage 54 and signal 502 is “1”
If so, stage 58 is determined. Now, if the signal 502 is "0", the microinstruction at stage 54 is executed, and if no interrupt occurs at stage 55, the microinstruction at stage 57 is executed again. If there is an interrupt, stage 56
interrupt processing is executed. Stages 54 → 55 → 57 → 54 → 55 → 5 executed like this
7……or, 54→55→56→52→
The processing of 53→... is the same as the conventional processing flow.
しかし、ステージ57のマイクロ命令で信号5
02が“1”の場合には、テスト回路104を通
してステージ58のマイクロ命令の内容が制御記
憶装置100から読み出され、レジスタ102に
セツトされる。レジスタ102の内容がデコーダ
103でデコードされると、CS再書き込み要求
トリガ信号202が“1”となり、フリツプ・フ
ロツプ300が“1”にセツトされ、セツト出力
線303を通じて信号線402で指示する番号の
データ・ブロツクを制御記憶装置100に書き込
むことを指示する。CS書き込み装置4は、出力
線303の信号を受け取ると、受付完了を信号線
44に送出し、フリツプ・フロツプ300を
“0”にリセツトする。 However, the microinstruction in stage 57 causes the signal 5 to
If 02 is "1", the contents of the microinstruction at stage 58 are read from control storage 100 through test circuit 104 and set in register 102. When the contents of the register 102 are decoded by the decoder 103, the CS rewrite request trigger signal 202 becomes "1", the flip-flop 300 is set to "1", and the number indicated by the signal line 402 is sent through the set output line 303. The data block is written to control storage 100. Upon receiving the signal on the output line 303, the CS writing device 4 sends an acceptance completion signal to the signal line 44, and resets the flip-flop 300 to "0".
フリツプ・フロツプ301は、前段のフリツ
プ・フロツプ300が“1”になれば“1”にセ
ツトされ、CS書込み装置4から信号線45を通
じて完了報告信号が“1”になればリセツトされ
る。フリツプ・フロツプ302は、前段フリツ
プ・フロツプ301のデイレイ・フリツプ・フロ
ツプである。フリツプ・フロツプ301が“1”
の間は、以後、読み出しレジスタ102の内容は
無効のため、信号線304を介してデコーダ10
3のデコード動作が無効にされる。同時に信号線
304により、選択回路105は信号線41に固
定される。フリツプ・フロツプ302が“1”の
間は、信号線305を介して読み出しレジスタ1
02の更新を禁止する。この時点では、読み出し
レジスタ102には、ステージ60のマイクロ命
令がセツトされている。また、このとき、加算器
400のレジスタ401には、ステージ58で制
御記憶装置100に再書き込みするデータ・ブロ
ツクのブロツク番号がセツトされている。 The flip-flop 301 is set to "1" when the flip-flop 300 at the previous stage becomes "1", and is reset when the completion report signal from the CS writing device 4 via the signal line 45 becomes "1". Flip-flop 302 is a delay flip-flop of flip-flop 301 in the previous stage. Flip-flop 301 is “1”
During this period, the contents of the read register 102 are invalid, so the contents are read from the decoder 10 via the signal line 304.
3 decoding operations are disabled. At the same time, the selection circuit 105 is fixed to the signal line 41 by the signal line 304. While the flip-flop 302 is “1”, the read register 1 is read through the signal line 305.
02 update is prohibited. At this point, the read register 102 has the stage 60 microinstruction set. Also, at this time, the block number of the data block to be rewritten into the control storage device 100 at stage 58 is set in the register 401 of the adder 400.
第6図は、第3図の主要フリツプ・フロツプの
タイム・チヤートである。 FIG. 6 is a time chart of the main flip-flop of FIG.
1マシン・サイクルTMの期間に、CSアドレ
ス・レジスタ101にセツトされたアドレスで、
制御記憶装置100がアクセスされ、読み出しレ
ジスタ102にステージ57のマイクロ命令がセ
ツトされる。ステージ57のテスト条件が成立す
ると、フリツプ・フロツプ300がセツトされ、
それにより、フリツプ・フロツプ301がセツト
され、さらにフリツプ・フロツプ302がセツト
される。フリツプ・フロツプ302のセツトによ
り、読み出しレジスタ102の内容の更新は禁止
される。その後、CS書き込み装置4からの完了
報告45により、フリツプ・フロツプ301がリ
セツトされると、CSアドレス・レジスタ101
に再び次のアドレスがセツトされる。 During one machine cycle TM , the address set in the CS address register 101 is
Control store 100 is accessed and read register 102 is set with the stage 57 microinstruction. When the test conditions of stage 57 are satisfied, flip-flop 300 is set;
As a result, flip-flop 301 is set, and flip-flop 302 is further set. Setting flip-flop 302 inhibits updating of the contents of read register 102. Thereafter, when the flip-flop 301 is reset by the completion report 45 from the CS writing device 4, the CS address register 101 is reset.
The next address is set again.
第3図において外部記録媒体3は、CS書き込
み装置4の制御により、信号線41にCSアドレ
スを、信号線42に書き込みデータを、また信号
線43に書き込み指示信号をそれぞれ送出し、信
号線402で指示されたデータ・ブロツクを制御
記憶装置100に書き込む。データ書き込みが完
了すると、信号線45の終了報告が“1”とな
り、フリツプ・フロツプ301はリセツトされ
る。フリツプ・フロツプ304が“0”にリセツ
トされると、信号線304に“0”が送られるの
で、デコーダ103が有効となり、すでに読み出
しレジスタ102にはステージ60のマイクロ命
令がセツトされているため、このステージ60が
実行され、レジスタ401の内容がプラス1され
る。 In FIG. 3, the external recording medium 3 sends a CS address to a signal line 41, write data to a signal line 42, and a write instruction signal to a signal line 43 under the control of a CS writing device 4, and sends a write instruction signal to a signal line 402. Writes the data block indicated by to control storage 100. When data writing is completed, the completion report on the signal line 45 becomes "1" and the flip-flop 301 is reset. When the flip-flop 304 is reset to "0", "0" is sent to the signal line 304, so the decoder 103 becomes valid, and since the microinstruction of stage 60 is already set in the read register 102, This stage 60 is executed and the contents of the register 401 are incremented by one.
次に、ステージ61が実行され、レジスタ40
1の内容が(N+1)であれば信号線403が
“1”となり、テスト回路104に送出され、ス
テージ62が実行され、レジスタ401は“0”
にクリアされて、ステージ63の実行に移る。ス
テージ61で信号線403が“0”であればステ
ージ63の実行に移る。ステージ63では、時計
レジスタ501の内容を任意の固定値に再セツト
する。これは、過度のマイクロ・プログラム再書
き込みにより、計算機の性能を低下させる危険が
あるため、マイクロ・プログラムの再書き込み時
間間隔をある一定時間(例えば、固定値「303」
とすれば約1秒)以上保障するためである。 Next, stage 61 is executed and register 40
If the content of 1 is (N+1), the signal line 403 becomes "1" and is sent to the test circuit 104, stage 62 is executed, and the register 401 becomes "0".
is cleared, and the process moves to stage 63. If the signal line 403 is "0" at stage 61, the process moves to stage 63. At stage 63, the contents of clock register 501 are reset to an arbitrary fixed value. This is because there is a risk of deteriorating computer performance due to excessive micro program rewriting, so the micro program rewriting time interval is set to a certain period of time (for example, a fixed value of 303).
This is to guarantee at least 1 second).
次に、ステージ54に戻り、通常の処理フロー
となる。そして、再びステージ57では、時計レ
ジスタ501の内容がマイクロ・プログラムでテ
ストされる。 Next, the process returns to stage 54 and the normal processing flow begins. Then, again at stage 57, the contents of clock register 501 are tested by the microprogram.
第7図は、第3図におけるCS書き込み装置の
詳細ブロツク図である。 FIG. 7 is a detailed block diagram of the CS writing device in FIG. 3.
CS書き込み装置4は、パワー・オン時にマイ
クロ・プログラムを制御記憶装置100に書き込
む初期書き込みと、待機状態中にマイクロ・プロ
グラムを制御記憶装置100に再書き込みする本
発明の書き込みの両方を行う。 The CS writing device 4 performs both the initial writing of writing the microprogram to the control storage device 100 at power-on and the writing of the present invention in which the microprogram is rewritten to the control storage device 100 during the standby state.
制御記憶装置100は、RAMで構成されてい
るため、パワー・オン時にその内容は保証されて
いない。そこで、計算機を使用する前に、外部記
録体3よりマイクロ・プログラムを制御記憶装置
100にロードする必要があり、この操作は保守
診断装置5を介して行われる。 Since the control storage device 100 is composed of RAM, its contents are not guaranteed when the power is turned on. Therefore, before using the computer, it is necessary to load the microprogram from the external recording medium 3 into the control storage device 100, and this operation is performed via the maintenance diagnosis device 5.
先ず、パワー・オン時には、第7図に示す保守
診断装置5が信号線51を介してアドレス・レジ
スタ46を初期値“0”に、レコード番号保持レ
ジスタ47を“X”に初期設定する。なお、ブロ
ツクXには、マイクロ・プログラムの全データが
記憶されている。次に、保守診断装置5は、信号
線52を介して制御回路49に起動をかける。制
御回路49は、信号線410を介して外部記録媒
体3にデータ読み出しの要求を送る。外部記録媒
体3は、制御回路49で指定されたブロツク
“X”のデータを1ワード単位に読み出し、デー
タ線31を介してレジスタ48にセツトする。制
御回路49は、CSアドレスをアドレス線41を
介してCSアドレス・レジスタ101にセツトし、
書き込みデータをデータ線42を介して制御記憶
装置100に送出すると同時に、書き込み指示信
号を信号線43を介して送出し、これにより1ワ
ードの書き込みを完了する。1ワードの書き込み
が完了すると、アドレス・レジスタ46はプラス
1される。以後、この動作を繰り返すことによ
り、ブロツク“X”の全データの書き込みが完了
する。完了した時点では、アドレス・レジスタ4
6は“0”になつている。 First, when the power is turned on, the maintenance/diagnosis device 5 shown in FIG. 7 initializes the address register 46 to the initial value "0" and the record number holding register 47 to "X" via the signal line 51. Note that block X stores all data of the microprogram. Next, the maintenance diagnosis device 5 activates the control circuit 49 via the signal line 52. The control circuit 49 sends a data read request to the external recording medium 3 via the signal line 410. The external recording medium 3 reads the data of the block "X" specified by the control circuit 49 word by word, and sets it in the register 48 via the data line 31. The control circuit 49 sets the CS address in the CS address register 101 via the address line 41,
At the same time as the write data is sent to the control storage device 100 via the data line 42, a write instruction signal is sent via the signal line 43, thereby completing the write of one word. When writing of one word is completed, address register 46 is incremented by one. Thereafter, by repeating this operation, writing of all data in block "X" is completed. Upon completion, address register 4
6 has become "0".
次に、本発明による制御記憶装置100への再
書き込み時には、信号線402を介して外部記録
装置3にブロツク番号が指定され、レコード番号
保持レジスタ47にブロツク番号をセツトする。
これにより、外部記録装置3よりデータを読み出
し、制御記憶装置100へ書き込む指示が信号線
52にかわつて信号線303で指示される。この
後の再書き込み動作は、パワー・オン時の書き込
み動作と同じである。 Next, when rewriting to the control storage device 100 according to the present invention, a block number is designated to the external recording device 3 via the signal line 402, and the block number is set in the record number holding register 47.
As a result, an instruction to read data from the external recording device 3 and write it to the control storage device 100 is issued via the signal line 303 instead of the signal line 52. The subsequent rewrite operation is the same as the write operation at power-on.
このように、本発明は、計算機の実行すべき仕
事がなくなつた待機時間を利用して、制御記憶装
置100にマイクロ・プログラムを再書き込みす
るものである。計算機のウエイト率は、(待機し
ている時間)/(実経過時間)で表わされるが、
この値は各ジヨブによつて異なり、通常、1秒間
のうち数10mSの待機時間があるので、数%の値
となる。 In this manner, the present invention rewrites the microprogram in the control storage device 100 by utilizing the waiting time when the computer has no more work to execute. The wait rate of the calculator is expressed as (waiting time)/(actual elapsed time).
This value varies depending on each job, and since there is normally a waiting time of several tens of milliseconds in one second, the value is several percent.
以下説明したように、本発明によれば、計算機
の空き時間を利用して、性能を低下させることな
く制御記憶装置の情報を定期的に保守することが
できるので、インタミテントなRAM障害に起因
するシステム・ダウンを殆んど防止することがで
き、システムの信頼性を著しく向上させることが
できる。 As explained below, according to the present invention, it is possible to periodically maintain information in the control storage device by utilizing idle time of the computer without degrading performance. system failures can be almost completely prevented, and system reliability can be significantly improved.
第1図は従来の計算機の動作フロー・チヤー
ト、第2図は本発明の実施例を示す計算機の動作
フロー・チヤート、第3図は本発明の実施例を示
す制御記憶装置とその制御部のブロツク図、第4
図は第3図の外部記録媒体に記録されるデータの
レコード形式図、第5図は第3図のマイクロ・プ
ログラムのフオーマツト図、第6図は第3図の主
要フリツプ・フロツプのタイム・チヤート、第7
図は第3図のCS書き込み装置の詳細ブロツク図
である。
1:命令制御ユニツト、2:演算ユニツト、
3:外部記録媒体、4:CS書き込み装置、5:
保守診断装置、21:PSW(プログラム状態語)、
46:アドレス・レジスタ、47:レコード番号
保持レジスタ、48:レジスタ、49:制御回
路、100:制御記憶装置、101:CSアドレ
ス・レジスタ、102:CS読み出しレジスタ、
103:デコーダ、104:テスト回路、10
5:選択回路、300〜302:フリツプ・フロ
ツプ、400:加算器、401:レジスタ、50
0:計時機構、501:時計レジスタ。
Fig. 1 is an operation flow chart of a conventional computer, Fig. 2 is an operation flow chart of a computer showing an embodiment of the present invention, and Fig. 3 is a control storage device and its control unit showing an embodiment of the present invention. Block diagram, 4th
The figure is a record format diagram of data recorded on the external recording medium in Figure 3, Figure 5 is a format diagram of the micro program in Figure 3, and Figure 6 is a time chart of the main flip-flops in Figure 3. , 7th
The figure is a detailed block diagram of the CS writing device of FIG. 3. 1: Instruction control unit, 2: Arithmetic unit,
3: External recording medium, 4: CS writing device, 5:
Maintenance diagnosis device, 21: PSW (program status word),
46: Address register, 47: Record number holding register, 48: Register, 49: Control circuit, 100: Control storage device, 101: CS address register, 102: CS read register,
103: Decoder, 104: Test circuit, 10
5: selection circuit, 300-302: flip-flop, 400: adder, 401: register, 50
0: Clock mechanism, 501: Clock register.
Claims (1)
記憶装置に格納して制御を行う電子計算機におい
て、複数のデータ・ブロツクに分割されたマイク
ロ・プログラムのブロツク番号を順次指示する手
段と、指示されたブロツクの再書き込み処理から
計算機の本来の処理時間を保障するための経過時
間測定用時計レジスタとを有し、計算機の本来の
処理の待機時間中に、指示されたブロツク番号の
マイクロ・プログラムを上記制御記憶装置に再書
き込みし、該再書き込みの終了ごとに、上記時計
レジスタに所定値を設定して、少なくとも上記所
定値の時間が経過するまでは、次の再書き込み処
理を待機することを特徴とする制御記憶制御方
式。1. In an electronic computer that stores and controls microprograms in a rewritable control storage device, a means for sequentially indicating the block numbers of a microprogram divided into a plurality of data blocks, and a means for reproducing the instructed blocks. It has a clock register for measuring elapsed time to ensure the original processing time of the computer from the writing process, and stores the microprogram of the specified block number in the control storage device during the standby time of the original processing of the computer. , and each time the rewriting ends, a predetermined value is set in the clock register, and the next rewriting process is waited for at least until the predetermined value elapses. Memory control method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55120459A JPS5745647A (en) | 1980-08-30 | 1980-08-30 | Control storage control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55120459A JPS5745647A (en) | 1980-08-30 | 1980-08-30 | Control storage control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5745647A JPS5745647A (en) | 1982-03-15 |
| JPS6321934B2 true JPS6321934B2 (en) | 1988-05-10 |
Family
ID=14786689
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55120459A Granted JPS5745647A (en) | 1980-08-30 | 1980-08-30 | Control storage control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5745647A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9940192B2 (en) | 2012-07-31 | 2018-04-10 | Toshiba Memory Corporation | Non-volatile semiconductor storage apparatus |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61171314A (en) * | 1985-01-25 | 1986-08-02 | 松下電工株式会社 | Manufacture of building board |
| JPH11120002A (en) | 1997-10-16 | 1999-04-30 | Fujitsu Ltd | Apparatus having a plurality of DSPs |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5258337A (en) * | 1975-11-10 | 1977-05-13 | Hitachi Ltd | Micro program control unit |
-
1980
- 1980-08-30 JP JP55120459A patent/JPS5745647A/en active Granted
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9940192B2 (en) | 2012-07-31 | 2018-04-10 | Toshiba Memory Corporation | Non-volatile semiconductor storage apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5745647A (en) | 1982-03-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5369754A (en) | Block specific status information in a memory device | |
| US6438665B2 (en) | System and method which compares data preread from memory cells to data to be written to the cells | |
| US5923838A (en) | Microcomputer with built-in flash memory | |
| US5307470A (en) | Microcomputer having EEPROM provided with detector for detecting data write request issued before data write operation responsive to preceding data write request is completed | |
| KR900002438B1 (en) | Interprocessor coupling | |
| WO2023226107A1 (en) | Storage apparatus data backup method, system, electronic device, and medium | |
| JPS6321934B2 (en) | ||
| JPS6319058A (en) | Memory device | |
| JP2549222B2 (en) | Background processing execution method of array disk device | |
| JPS5856165A (en) | Record update system | |
| JP5935319B2 (en) | Circuit emulation apparatus, circuit emulation method, and circuit emulation program | |
| US3411144A (en) | Input-output apparatus | |
| JPH0581145A (en) | Data writing circuit to EEPROM | |
| JP4324149B2 (en) | Emulator and development support system using it | |
| JPS61127026A (en) | Optical disk controller | |
| JP3669625B2 (en) | Data processing system and method of operating data processing system | |
| JPH0567973B2 (en) | ||
| JPS603658B2 (en) | Digital protection control device | |
| CN118409921A (en) | Storage test unit, test method thereof and electronic equipment | |
| JPS60193046A (en) | Instruction exception detection method | |
| JPS63307543A (en) | Debug device | |
| JPH03257572A (en) | Multiprocessor system | |
| JPS63237143A (en) | Programmable controller | |
| JPS60230261A (en) | Initializing control system in multi-processor system | |
| JP2000020498A (en) | Microcomputer and return method thereof |