JPH02249028A - Micro program controller - Google Patents

Micro program controller

Info

Publication number
JPH02249028A
JPH02249028A JP6917089A JP6917089A JPH02249028A JP H02249028 A JPH02249028 A JP H02249028A JP 6917089 A JP6917089 A JP 6917089A JP 6917089 A JP6917089 A JP 6917089A JP H02249028 A JPH02249028 A JP H02249028A
Authority
JP
Japan
Prior art keywords
address
instruction
register
microinstruction
signal line
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
JP6917089A
Other languages
Japanese (ja)
Inventor
Toshiyuki Hattori
俊幸 服部
Koichi Ishizaka
浩一 石坂
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
NEC Computertechno Ltd
Original Assignee
NEC Corp
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 Corp, NEC Computertechno Ltd filed Critical NEC Corp
Priority to JP6917089A priority Critical patent/JPH02249028A/en
Publication of JPH02249028A publication Critical patent/JPH02249028A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of bits in a RAM decoder and to reduce the probability of the occurrence of a fault in a controller caused by the fault of RAM by adding a constant to the address of E1 instruction with an adder and generating the address of an E2 instruction. CONSTITUTION:At the time of reading the first step of a series of micro instructions for executing the instruction from a control storage part 14, the address supplied with an address supply means 101 is selected. At the time of reading the micro instruction of a second step in a series of the micro instructions for executing the instruction from the control storage part 14, the constant is added to the address of the E1 instruction to generate the address of the E2 instruction, and the address supplied with an addition means 23 is selected. At the time of reading the micro instruction subsequent to the third step of a series of the micro instructions for executing the instruction from the control storage part 14, the address shown by the branch address field of the micro instruction held in a read register 15 is selected and used. Thus, the number of the bits in RAM is reduced and the probability of the occurrence of the controller caused by the fault of RAM is reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置に係シ、特にマイクロプログラム
制御装置における制御記憶の読出しアドレスの生成に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device, and particularly to generation of a read address of a control memory in a microprogram control device.

〔従来の技術〕[Conventional technology]

マイクロプログラム制御装置においては、マイクロプロ
グラムを格納するメモリの試験の容易性のため、および
遅延時間のために、制御記憶のアドレスはアドレスレジ
スタの出力で直接指定され、制御記憶から読出されたマ
イクロ命令は一旦読出しレジスタで受けた後、制御に使
われる構成をとることがある。
In microprogram controllers, for ease of testing the memory storing the microprogram and for delay times, the address of the control memory is directly specified by the output of the address register, and the microinstruction read from the control memory is Once received in the read register, it may be configured to be used for control.

このような構成のマイクロプログラム制御装置において
マイクロ命令が分岐する場合には、マイクロ命令は2ス
テップ後のマイクロ命令のアドレスを指定することにな
る。なぜならば、マイクロ命令のアドレス指示フィール
ドで示されるアドレスは読出しレジスタからアドレスレ
ジスタに転送された後、制御記憶のアクセスに使われる
ためである。
When a microinstruction branches in a microprogram control device having such a configuration, the microinstruction specifies the address of a microinstruction two steps later. This is because the address indicated by the address field of the microinstruction is transferred from the read register to the address register and then used to access the control memory.

このような構成をとる従来のマイクロプログラム制御装
置の一例を第3図に示し説明する。
An example of a conventional microprogram control device having such a configuration is shown in FIG. 3 and will be described.

図において、11はRAMデコーダで、とのトyデコー
ダ11は命令の動作を指示するオペレージgyコード(
以下、OPコードと呼称する)Kしたがってその命令を
実行するための一連のマイクロ命令の第1ステップのマ
イクロ命令(以下、E1命令と呼称する)のアドレスを
E1アドレス信号線101に出力し、同じく第2ステッ
プのマイクロ命令(以下、E2命令と呼称する)のアド
レスをE2アドレス化号線111に出力し、その命令が
1ステップのマイクロ命令で実行される場合にはIT命
令指示信号線102に「1」を出力し、2ステップ以上
のマイクロ命令を必要とする場合にはIT命令指示信号
線102にrOJを出力するRAMを使用したデコーダ
である。12はセレクタで、このセレクタ12は信号#
106が「1」のときRAMデコーダ11からE1アド
レス信号線101で供給されるE1命令のアドレスを選
択し、信号・線108が「1」のときE2アドレスレジ
スタ20に保持されているE2命令のアドレスを選択し
、信号線110が「1」のときは読出しレジスタ15に
保持されているマイクロ命令の分岐アドレスフィールド
を選択するセレクタである。
In the figure, 11 is a RAM decoder, and the toy decoder 11 is an operating gy code (
Therefore, the address of the first step microinstruction (hereinafter referred to as E1 instruction) of a series of microinstructions for executing that instruction is output to the E1 address signal line 101, and The address of the second step microinstruction (hereinafter referred to as E2 instruction) is output to the E2 addressing line 111, and when the instruction is executed as a one-step microinstruction, the address is output to the IT instruction instruction signal line 102. This is a decoder using a RAM that outputs "1" and outputs rOJ to the IT command instruction signal line 102 when a microinstruction of two or more steps is required. 12 is a selector, and this selector 12 receives the signal #
When 106 is "1", the address of the E1 instruction supplied from the RAM decoder 11 via the E1 address signal line 101 is selected, and when the signal line 108 is "1", the address of the E2 instruction held in the E2 address register 20 is selected. It is a selector that selects an address and, when the signal line 110 is "1", selects the branch address field of the microinstruction held in the read register 15.

13はセレクタ12で選択されたアドレスを保持するア
ドレスレジスタであり、このアドレスレジスタ13の出
力で直接制御記憶部14をアクセスする。そして、この
?l!II l+ W己1m’flE 14はマイクロ
プログラムを格納するメモリである。15は制御記憶部
14から読出されたマイクロ命令を保持する読出しレジ
スタである。
Reference numeral 13 denotes an address register that holds the address selected by the selector 12, and the output of this address register 13 directly accesses the control storage section 14. And this? l! II l+W 1m'flE 14 is a memory that stores a microprogram. Reference numeral 15 denotes a read register that holds microinstructions read from the control storage section 14.

16はフリップフロップ(F/F)21の出力とスター
ト予告信号線105の論理和(OR)を信号線106に
出力し、同じくノア(NOR)を信号線107に出力す
る0R−NORゲート、17はF/F21の出力を反転
して出力するインバータ、18はインバータ17の出力
とスタート信号線104の論理積(AND)を信号線1
08に出力し、同じくナンド(NAND)を信号線10
9に出力するAND−NANDゲート、19は信号線1
07と信号線109のANDを信号線110に出力する
MOゲートである。
16 is an 0R-NOR gate that outputs the logical sum (OR) of the output of the flip-flop (F/F) 21 and the start notice signal line 105 to the signal line 106, and also outputs the NOR to the signal line 107; 18 is an inverter that inverts and outputs the output of F/F 21, and 18 is the logical product (AND) of the output of the inverter 17 and the start signal line 104, and is connected to the signal line 1.
08, and also output NAND to signal line 10.
AND-NAND gate that outputs to 9, 19 is signal line 1
This is an MO gate that outputs the AND of 07 and the signal line 109 to the signal line 110.

E2アドレスレジスタ20はRAMデコーダ11から出
力されるE2命令のア、ドレスを保持するレジスタであ
る。F/F’ 21はRAMデコーダ11から出力され
るIT命令指示信号を保持するフリップフロップである
。そして、このE2アドレスレジスタ20とF/F21
は共にスタート予告信号線105とF/F 21の論理
和か「1」のときに更新される。また、OPコード伯号
線112で先行制御部から送られてくるOPコードもス
タート予告信号線105とFall’ 21の論理和で
更新され、制御記憶部14からE1命令が読出される1
クロツクサイクル前にはE1命令のアドレス、E2命令
のアドレスおよび1ステップで実行されるか否かという
情報がRAMデコーダ11から読出される。
The E2 address register 20 is a register that holds the address of the E2 instruction output from the RAM decoder 11. F/F' 21 is a flip-flop that holds the IT command instruction signal output from the RAM decoder 11. And this E2 address register 20 and F/F 21
are both updated when the logical sum of the start notice signal line 105 and the F/F 21 is "1". Further, the OP code sent from the advance control unit via the OP code line 112 is updated by the logical sum of the start notice signal line 105 and Fall' 21, and the E1 command is read from the control storage unit 14.
Before the clock cycle, the address of the E1 instruction, the address of the E2 instruction, and information as to whether the instruction will be executed in one step are read from the RAM decoder 11.

つぎにこの第3図に示すマイクロプログラム制御itに
おけるマイクロ命令の読出しについて第4図を参照して
説明する。
Next, reading of microinstructions in the microprogram control IT shown in FIG. 3 will be explained with reference to FIG. 4.

この第4図は第3図に示すマイクロプログラム制御装置
におけるマイクロ命令の読出し動作を示すタイムチャー
トで、(a)はIT命令指示信号線102を示したもの
であり、(1))はE1アドレス信号線101、(c)
はE2アドレス信号線111、(d)はF/F21、(
e)はE2アドレスレジスタ20、(f)はアドレスレ
ジスタ13 、(g)は読出しレジスタ15、(h)は
スタート予告信号線105、(i)はスタート信号線1
04を示したものである。
FIG. 4 is a time chart showing the microinstruction reading operation in the microprogram control device shown in FIG. Signal line 101, (c)
is the E2 address signal line 111, (d) is the F/F 21, (
e) is the E2 address register 20, (f) is the address register 13, (g) is the read register 15, (h) is the start notice signal line 105, (i) is the start signal line 1
04 is shown.

いま、読出しレジスタ15に命令Aを実行するための一
連のマイクロ命令の最後から2番目の命令(以下、EA
n−1命令と呼称する)が保持きれていて、アドレスレ
ジスタ13には命令Aを実行するための一連のマイクロ
命令の最後の命令(以下、EAn命令と呼称する)のア
ドレス が保持されているものとする。
Now, the penultimate instruction (hereinafter referred to as EA) of a series of microinstructions for executing instruction A is written to the read register 15.
The address register 13 holds the address of the last instruction (hereinafter referred to as the EAn instruction) in a series of microinstructions for executing instruction A. shall be taken as a thing.

まず、EAn−1命令はスタート予告信号線105に「
1」を出力し、スタート信号線104に「0」を出力す
る。このとき、命令Aは2ステップ以上のマイクロ命令
によって実行されるのでF/F 21には「0」が保持
されている。また、OPコード信号線112には命令A
の次に実行される命令BのOPコードが出力されている
のでE1アドレス信号線101には命令Bを実行するた
めの一連のマイクロ命令の第1ステップのマイクロ命令
(以下、EB1命令と呼称する)のアドレスが出力され
ている。
First, the EAn-1 command is sent to the start notice signal line 105 with "
1” and outputs “0” to the start signal line 104. At this time, since the instruction A is executed by a microinstruction of two or more steps, "0" is held in the F/F 21. In addition, the command A is connected to the OP code signal line 112.
Since the OP code of instruction B to be executed next is output, the E1 address signal line 101 contains a microinstruction (hereinafter referred to as EB1 instruction) of the first step of a series of microinstructions for executing instruction B. ) address is output.

ここで命令Bは1ステップのマイクロ命令だけで実行さ
れるものと仮定すると、IT命令指示信号線102には
「1」が出力されている。セレクタ12は信号線106
が「1」のためFBI命令のアドレスを選択する。
Here, assuming that instruction B is executed by only one step of microinstruction, "1" is output to the IT instruction instruction signal line 102. Selector 12 is signal line 106
is "1", so the address of the FBI instruction is selected.

つぎに、読出しレジスタ15にEAn命令が保持される
タイミングにアドレスレジスタ13にFBI命令のアド
レスが保持され、F/F 21にはIT命令指示信号線
102の「1」が保持される。このときopコード信号
線112には次の命令CのOPコードが出力されるので
E1アドレス信号線101には命令Cを実行するための
一連のマイクロ命令の第1ステップのマイクロ命令(以
下、EC1命令と呼称する)のアドレスが出力され、E
2アドレス信号線111には、同じく第2ステップのマ
イクロ命令(以下、EC2命令と呼称する)のアドレス
が出力され、IT命令指示信号線102には「0」が出
力され、る。ただし、命令Cは4ステップ以上のマイク
ロ命令により実行されるものとする。
Next, at the timing when the EAn instruction is held in the read register 15, the address of the FBI instruction is held in the address register 13, and "1" of the IT instruction instruction signal line 102 is held in the F/F 21. At this time, the OP code of the next instruction C is output to the OP code signal line 112, so the OP code of the next instruction C is output to the E1 address signal line 101. (referred to as an instruction) is output, and the address of E
Similarly, the address of the second step microinstruction (hereinafter referred to as EC2 instruction) is output to the 2-address signal line 111, and "0" is output to the IT instruction instruction signal line 102. However, it is assumed that instruction C is executed by a microinstruction of four or more steps.

そして、読出しレジスタ15に保持されているEAn命
令はスタート予告信号線105に「0」を出力しスター
ト信号線104に「1」を出力するがF/F21が「1
」を出力するので、信号線106が「1」に。
Then, the EAn instruction held in the read register 15 outputs "0" to the start notice signal line 105 and "1" to the start signal line 104, but the F/F 21 outputs "1".
” is output, so the signal line 106 becomes “1”.

信号線108が「0」にガリ、セレクタ12はE1アド
レス、すなわち、EC1命令のアドレスを選択する。E
 B 1命令が読出しレジスタ15に保持されるタイミ
ングにアドレスレジスタ13にはEcl命令のアドレス
が保持され、F/F 21には「0」が保持され、E2
アドレスレジスタ20に1lEc2命令のアドレスが保
持される。読出しレジスタ15に保持されているFBI
命令はスタート予告信号線105に「0」を出力し、ス
タート信号線104に「1」を出力する。また、F/F
 21は「0」を出力するので信号線106が「0」に
なシ、信号線108が「1」になるのでセレクタ12は
E2アドレス、す力わち、EC2命令のアドレスを選択
する。Ecl命令が読出しレジスタ15に保持されるタ
イミングにアドレスレジスタ13にはEC2命令のアド
レスが保持される。F/F 21およびE2アドレスレ
ジスタ20は更新されない。そして、読出しレジスタ1
5に保持されているEcl命令はスタート信号線104
とスタート予告信号線105に「O」を出力するためセ
レクタ12は分岐アドレスを選択する。以後、読出しレ
ジスタ15に保持されるマイクロ命令がスタート予告信
号を出力するまでセレクタ12は分岐アドレスを選択す
るので、制御記憶の読出しアドレスはマイクロ命令自身
によって決まることになる。また、スタート予告信号が
出力されるまでF/F 21とE2アドレスレジスタ2
0は更新されない。
When the signal line 108 becomes "0", the selector 12 selects the E1 address, that is, the address of the EC1 instruction. E
At the timing when the B1 instruction is held in the read register 15, the address of the Ecl instruction is held in the address register 13, "0" is held in the F/F 21, and the E2
The address of the 11Ec2 instruction is held in the address register 20. FBI held in read register 15
The command outputs "0" to the start notice signal line 105 and "1" to the start signal line 104. Also, F/F
21 outputs "0", the signal line 106 becomes "0", and the signal line 108 becomes "1", so the selector 12 selects the E2 address, that is, the address of the EC2 instruction. At the timing when the Ecl instruction is held in the read register 15, the address of the EC2 instruction is held in the address register 13. F/F 21 and E2 address register 20 are not updated. And read register 1
The Ecl command held at 5 is connected to the start signal line 104.
In order to output "O" to the start notice signal line 105, the selector 12 selects the branch address. Thereafter, the selector 12 selects a branch address until the microinstruction held in the readout register 15 outputs a start notice signal, so the readout address of the control memory is determined by the microinstruction itself. In addition, until the start notice signal is output, F/F 21 and E2 address register 2
0 is not updated.

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

上述した従来のマイクロプログラム制御装置では、E2
命令のアドレスを命令のOPコードにしたがってRAM
デコーダが供給するのでRAMのビット数が多く、ひい
てはRAMのLSI数が多かったシ、RAMの故障によ
る装置障害発生の確率が高いという課題があった。
In the conventional microprogram control device described above, E2
The instruction address is stored in RAM according to the instruction OP code.
Since the decoder supplies the RAM, the number of bits in the RAM is large, and the number of LSIs in the RAM is also large.Therefore, there is a problem in that there is a high probability of equipment failure due to a failure of the RAM.

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

本発明のマイクロプログラム制御装憐、は、マイクロプ
ログラムを格納する制御i記憶部と、この制御記憶部か
ら読出されたマイクロ命令を保持する読出しレジスタと
、上記制御記憶部の読出しアドレスを保持するアドレス
レジスタと、命令を実行するための一連のマイクロ命令
の第1ステップのマイクロ命令のアドレスを供給するア
ドレス供給手段と、上記アドレスレジスタに保持されて
いるアドレスに一定値を加算する加算手段と、命令を実
行するための一連のマイクロ命令の第1ステップを上記
制御記憶部から読出す際には上記アドレス供給手段によ
って供給されるアドレスを選択し、命令を実行するため
の一連のマイクロ命令の第2ステップのマイクロ命令を
上記制御記憶部から読出す際には上記加算手段によって
供給されるアドレスを選択し、命令を実行するための一
連のマイクロ命令の第3ステップ以降のマイクロ命令を
上記制御記憶部から読出す際には前記読出しレジスタに
保持されているマイクロ命令の分岐アドレスフィールド
で示されるアドレスを選択して上記アドレスレジスタに
出力するアドレス選択手段とを備えてなるものである。
The microprogram control system of the present invention includes a control i storage section that stores a microprogram, a read register that holds microinstructions read from the control storage section, and an address that holds a read address of the control storage section. a register, an address supply means for supplying an address of a first step microinstruction of a series of microinstructions for executing an instruction, an addition means for adding a constant value to an address held in the address register, and an instruction. When reading the first step of a series of microinstructions for executing an instruction from the control storage section, the address supplied by the address supply means is selected, and the second step of a series of microinstructions for executing an instruction is selected. When reading a microinstruction of a step from the control storage section, the address supplied by the addition means is selected, and the microinstruction after the third step of a series of microinstructions for executing the instruction is read out from the control storage section. When reading from the microinstruction register, the microinstruction controller is equipped with address selection means for selecting an address indicated by the branch address field of the microinstruction held in the read register and outputting the selected address to the address register.

〔作用〕[Effect]

本発明においては、加算器でE1命令のアドレスに定数
Cを加算してE2命令のアドレスを生成する。
In the present invention, an adder adds a constant C to the address of the E1 instruction to generate the address of the E2 instruction.

〔実施例〕〔Example〕

以下、図面に基づき本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第1図は本発明によるマイクロプログラム制御製雪の一
実施例を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of a microprogram controlled snowmaking system according to the present invention.

この第1図において第3図と同一符号のものは相補部分
を示し、22は命令の動作を指示するOPコードにした
がって、E1命令のアドレスをE1アドレス信号線10
1に出力し、その命令が1ステップのマイクロ命令で実
行される場合にはIT命令指示信号線102に「1」を
出力し、2ステップ以上のマイクロ命令で実行される場
合には「0」を出力するRAMを使用したRAMデコー
ダで、このRAMデコーダ22は命令を実行するための
一連のマイクロ命令の第1ステップのマイクロ命令のア
ドレスを供給するアドレス供給手段を構成している。2
3はアドレスレジスタ25に保持されているアドレスに
定数Cを加算する加算器で、この加算器23はアドレス
レジスタ25に保持されているアドレスに一定値を加算
する加算手段を構成している。24は信号線106が「
1」のとき沿賃デコーダ22からE1アドレス係号線1
01で供給されるE1命令のアドレスを選択し、信号線
108が「1」のとき加算器23によって供給されるア
ドレスを選択し、信号線110が「1」のときには読出
し−1ル ラスタ15に保持されているマイクロ命令の分岐アドレ
スフィールドを選択するセレクタである。
In FIG. 1, the same reference numerals as in FIG.
If the instruction is executed by a microinstruction of one step, it outputs “1” to the IT instruction instruction signal line 102, and if it is executed by a microinstruction of two or more steps, it outputs “0”. This RAM decoder 22 is a RAM decoder using a RAM that outputs . . 2
Reference numeral 3 denotes an adder that adds a constant C to the address held in the address register 25, and this adder 23 constitutes an addition means that adds a constant value to the address held in the address register 25. 24, the signal line 106 is
1”, E1 address code line 1 from fare decoder 22
Selects the address of the E1 instruction supplied by 01, selects the address supplied by the adder 23 when the signal line 108 is "1", and holds it in the read-1 raster 15 when the signal line 110 is "1". This selector selects the branch address field of the microinstruction being executed.

25は開側1記憶部14の読出しアドレスを保持するア
ドレスレジスタで、このアドレスレジスタ25はセレク
タ24で選択されたアドレスを保持するレジスタであり
、このレジスタの出力で直接制御記憶部14をアクセス
する。
25 is an address register that holds the read address of the open side 1 storage section 14, and this address register 25 is a register that holds the address selected by the selector 24, and the control storage section 14 is directly accessed by the output of this register. .

そして、0R−NORゲート16.インバータ17゜A
ND−NANDゲー) 18 、ANDゲート19とF
/F21およびセレクタ24は、命令を実行するだめの
一連のマイクロ命令の第1ステップを制御記憶部14か
ら読出す際には上記アドレス供給手段によって供給され
るアドレスを選択し、命令を実行するための一連のマイ
クロ命令の第2ステップのマイクロ命令を制御記憶部1
4から読出す際には上記加算手段によって供給されるア
ドレスを選択し、命令を実行するための一連のマイクロ
命令の第3ステップ以降のマイクロ命令を制御記憶部1
4から読出す際には読出しレジスタ15に保持されてい
るマイクロ命令の分岐アドレスフィールドで示されるア
ドレスを選択してアドレスレジスタ25に出力するアド
レス選択手段を構成している。
And 0R-NOR gate 16. Inverter 17°A
ND-NAND game) 18, AND gate 19 and F
/F21 and the selector 24 select the address supplied by the address supply means when reading the first step of a series of microinstructions for executing an instruction from the control storage unit 14, and execute the instruction. The second step microinstruction of the series of microinstructions is stored in the control storage unit 1.
4, the address supplied by the addition means is selected, and the microinstructions from the third step onward of the series of microinstructions for executing the instructions are read from the control storage unit 1.
When reading from the microinstruction 4, the microinstruction register 25 selects the address indicated by the branch address field of the microinstruction held in the read register 15 and outputs the selected address to the address register 25.

この第1図に示す実施例において前述の従来技術の説明
と同様に、命令A、命令B、命令Cを順に実行させる場
合について考える。
In the embodiment shown in FIG. 1, a case will be considered in which instructions A, B, and C are executed in sequence, similar to the description of the prior art described above.

Ec2命令のアドレスが第3図に示す従来技術ではRA
Mデコーダ11から出力された後E2アドレスレジスタ
20で一旦保持され、その後アドレスレジスタ13に保
持されるのに対し、この第1図に示す実施例では加算器
23でアドレスレジスタ25に保持されたアドレスに定
数Cを加算して生成される点で異なるが、それ以外は全
く同じ動作をする。(第2図参照) 第2図は第1図に示すマイクロプログラム制御装置にお
ける読出し動作を示すタイムチャートで、(a)はIT
命令指示信号線102を示したものであシ、cb)はE
1アドレス信号線101、(C)はF/F 21、(d
)は加算器23、(e)はアドレスレジスタ25、(f
’1は読出しレジスタ15、(g)はスタート予告信号
線105、(h)はスタート信号線104を示したもの
である。
In the prior art shown in FIG. 3, the address of the Ec2 instruction is RA
After being output from the M decoder 11, it is temporarily held in the E2 address register 20 and then held in the address register 13, whereas in the embodiment shown in FIG. The difference is that it is generated by adding a constant C to , but otherwise the operation is exactly the same. (See Fig. 2) Fig. 2 is a time chart showing the read operation in the microprogram control device shown in Fig. 1, and (a) is an IT
This shows the command instruction signal line 102, and cb) is E.
1 address signal line 101, (C) is F/F 21, (d
) is the adder 23, (e) is the address register 25, (f
'1 indicates the read register 15, (g) the start notice signal line 105, and (h) the start signal line 104.

そして、(d)に示す加算器23における+Cはアドレ
スに定数Cを加算することを表わす。
+C in the adder 23 shown in (d) represents adding a constant C to the address.

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

以上説明したように本発明は、加算器でE1命令のアド
レスに定数Cを加算してE2命令のアドレスを生成する
ことによp、RAMデコーダのビット数を減らし、RA
Mの故障による装置障害発生の確率の低いマイクロプロ
グラム制御装置を実現することができる効果がある。
As explained above, the present invention adds the constant C to the address of the E1 instruction in an adder to generate the address of the E2 instruction, thereby reducing the number of bits of the RAM decoder and
This has the effect of realizing a microprogram control device with a low probability of occurrence of device failure due to failure of M.

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

第1図は本発明によるマイクロプログラム制御装置の一
実施例を示すブロック図、第2図は第1図に示すマイク
ロプログラム制御装置におけるマイクロ命令の読出し動
作を示すタイムチャート、第3図は従来のマイクロプロ
グラム制御装置の一例を示すブロック図、第4図は第3
図に示すマイクロプログラム制御装置におけるマイクロ
命令の読出し動作を示ナタイムチャートである。 14・・φ・制御記憶部、15・・・・読出しレジスタ
、16・・・・0R−NORゲート、17000.イン
バータ、18・・−−AND・NANDゲート、 19
 ・ −・ ・ANDゲート、 21 ・ ・ ・・フ
リップフロップ、22・・・・RAMデコーダ、23・
・・拳加算器、24・・e・セレクタ、25・・・・ア
ドレスレジスタ。 特許出願人  日本電気株式会社 同    甲府日本電気株式会社
FIG. 1 is a block diagram showing an embodiment of a microprogram control device according to the present invention, FIG. 2 is a time chart showing a microinstruction read operation in the microprogram control device shown in FIG. A block diagram showing an example of a microprogram control device, FIG.
3 is a time chart showing a microinstruction read operation in the microprogram control device shown in the figure. 14... φ Control storage section, 15... Read register, 16... 0R-NOR gate, 17000. Inverter, 18...-AND/NAND gate, 19
・-・・AND gate, 21・・・・Flip-flop, 22・・・RAM decoder, 23・
...Fist adder, 24...e selector, 25...address register. Patent applicant: NEC Corporation Kofu NEC Corporation

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラムを格納する制御記憶部と、この制御
記憶部から読出されたマイクロ命令を保持する続出しレ
ジスタと、前記制御記憶部の読出しアドレスを保持する
アドレスレジスタと、命令を実行するための一連のマイ
クロ命令の第1ステップのマイクロ命令のアドレスを供
給するアドレス供給手段と、前記アドレスレジスタに保
持されているアドレスに一定値を加算する加算手段と、
命令を実行するための一連のマイクロ命令の第1ステッ
プを前記制御記憶部から読出す際には前記アドレス供給
手段によつて供給されるアドレスを選択し、命令を実行
するための一連のマイクロ命令の第2ステップのマイク
ロ命令を前記制御記憶部から読出す際には前記加算手段
によつて供給されるアドレスを選択し、命令を実行する
ための一連のマイクロ命令の第3ステップ以降のマイク
ロ命令を前記制御記憶部から読出す際には前記読出しレ
ジスタに保持されているマイクロ命令の分岐アドレスフ
ィールドで示されるアドレスを選択して前記アドレスレ
ジスタに出力するアドレス選択手段とを備えてなること
を特徴とするマイクロプログラム制御装置。
a control memory section for storing a microprogram, a continuation register for holding microinstructions read from the control memory section, an address register for holding a read address of the control memory section, and a series of instructions for executing instructions. address supply means for supplying the address of the microinstruction of the first step of the microinstruction; and addition means for adding a constant value to the address held in the address register;
When reading the first step of a series of microinstructions for executing an instruction from the control storage section, an address supplied by the address supply means is selected, and the first step of a series of microinstructions for executing an instruction is selected. When reading the second step microinstruction from the control storage section, the address supplied by the adding means is selected, and the microinstruction in the third and subsequent steps of the series of microinstructions for executing the instruction is selected. and address selection means for selecting an address indicated by a branch address field of a microinstruction held in the read register and outputting the selected address to the address register when reading the microinstruction from the control storage section. Microprogram control device.
JP6917089A 1989-03-23 1989-03-23 Micro program controller Pending JPH02249028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6917089A JPH02249028A (en) 1989-03-23 1989-03-23 Micro program controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6917089A JPH02249028A (en) 1989-03-23 1989-03-23 Micro program controller

Publications (1)

Publication Number Publication Date
JPH02249028A true JPH02249028A (en) 1990-10-04

Family

ID=13394973

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6917089A Pending JPH02249028A (en) 1989-03-23 1989-03-23 Micro program controller

Country Status (1)

Country Link
JP (1) JPH02249028A (en)

Similar Documents

Publication Publication Date Title
JPS63301339A (en) Computer device
JPS5914840B2 (en) Pattern generator for semiconductor memory testing
JPS61170828A (en) Microprogram control device
JP2882426B2 (en) Address generator
US4641278A (en) Memory device with a register interchange function
JPH0683615A (en) Computer for executing instruction set emulation
JPH02249028A (en) Micro program controller
JPH0192851A (en) Switching device for address space
JPH08241296A (en) Semiconductor integrated circuit
US5109516A (en) Sequence controller for controlling next operating state with a short sequence
JPH05298088A (en) Microcomputer
JPH0575985B2 (en)
JPS6355090B2 (en)
JP2781779B2 (en) Branch control circuit
JPS61294548A (en) Executing device for machine instruction
JP2583614B2 (en) Vector arithmetic unit
JPH02183332A (en) Programmed control system
JPS6039223A (en) Microcomputer device
JPH0531170B2 (en)
JPH0535651A (en) Digital signal processing lsi
JPH0290324A (en) Microprogram controller
JPH01269140A (en) Memory extending circuit
JPH01205227A (en) Microprogram control device
JPH0682321B2 (en) Micro controller
JPH04337832A (en) Micro program sequencer