JPS61283934A - Control system for microprogram - Google Patents

Control system for microprogram

Info

Publication number
JPS61283934A
JPS61283934A JP60126684A JP12668485A JPS61283934A JP S61283934 A JPS61283934 A JP S61283934A JP 60126684 A JP60126684 A JP 60126684A JP 12668485 A JP12668485 A JP 12668485A JP S61283934 A JPS61283934 A JP S61283934A
Authority
JP
Japan
Prior art keywords
address
register
micro
partial
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
JP60126684A
Other languages
Japanese (ja)
Inventor
Takayuki Noguchi
野口 孝行
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 JP60126684A priority Critical patent/JPS61283934A/en
Publication of JPS61283934A publication Critical patent/JPS61283934A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To improve the reliability of a control system for a microprogram by using a means which shows the validity of the information stored in a control memory and therefore setting and changing easily the contents of a register and an address conversion table. CONSTITUTION:A register 1 holds some of the real addresses corresponding to the micrological addresses. A conversion table 6 is retrieved by those micrological addresses and secures some of the corresponding real addresses. An address array 4 stores the information showing whether the information within a block of a corresponding control memory 3 is valid or not and bits 0-3 of the micrological address of a microinstruction held in the block of the memory 3. Then the microinstruction which loaded the contents of the register 1 and the table 6 to the memory 3 from a main storage 7 is defined as the valid information and executed for setting. Thus the contents of the register 1 and the table 6 can be set and changed easily with no use of the complicated hardware. This improves the reliability and the degree of free designing for a control system for microprogram.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は主記憶装置から制御メモリにロードしたマイク
ロプログラムを制御メモリ」二で実行するマイクロプロ
グラム制御システムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprogram control system in which a control memory executes a microprogram loaded from a main memory into a control memory.

〔従来の技術〕[Conventional technology]

従来、大容量メモリから高速制御メモリにマイクロプロ
グラムをロードして実行する形式のこの種の装置におい
ては、マイクロ論理アドレスと主記憶装置−トの実アド
レスとの対応関係を示すアドレス変換テーブルを設け、
主記憶装置から制御メモリへのマイクロ命令のロード動
作をブロック単位に制御する方式を使用していた(特願
昭57−183389号)。
Conventionally, in this type of device in which a microprogram is loaded from a large-capacity memory to a high-speed control memory and executed, an address conversion table is provided that shows the correspondence between a micro logical address and a real address in the main memory. ,
A method was used in which the loading operation of microinstructions from the main memory to the control memory was controlled in units of blocks (Japanese Patent Application No. 183389/1983).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のマイクロプログラム制御システムは、主
記憶装置中のマイクロプログラムを格納する領域の実ア
ドレスが大きな値である場合、アドレス変換テーブル中
の1マイクロ命令を指し示す実アドレスに必要なビット
数が大きなものとなるという問題点がある。これに加え
、マイクロプログラムが増加すると、アドレス変換テー
ブルはさらに大容量を必要となり、アドレス変績テーブ
ルの高価格を生じるばかりでなく、アドレス変換テーブ
ルの使用効率を低下させるという問題点がある。
In the conventional microprogram control system described above, when the real address of the area storing the microprogram in the main memory is a large value, the number of bits required for the real address pointing to one microinstruction in the address translation table is large. There is a problem with becoming a thing. In addition, as the number of microprograms increases, the address translation table requires a larger capacity, which not only increases the cost of the address variation table but also reduces the efficiency of using the address translation table.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の装置はマイクロ論理アドレスを保持する第1の
レジスタと、前記マイクロ論理アドレスの第1の部分ア
ドレスによりアクセスされ複数のブロックから構成され
てマイクロ命令を保持する制御メモリと、前記マイクロ
論理アドレスの第1の部分アドレスの部分アドレスより
アクセスされ前記制御メモリの複数のブロックのそれぞ
れに格納されているマイクロ命令に対応したマイクロ論
理アドレスの第2の部分アドレスとその有効性を示すビ
ットとを格納するアドレスアレイと、前記アドレスアレ
イからの有効な出力と前記第1のレジスタに保持されて
いるマイクロ論理アドレスの第2の部分アドレスとを比
較する比較手段と、前記マイクロ論理アドレスに対応す
る実アドレスの第1の部分アドレスを保持する第2のレ
ジスタと、前記マイクロ論理アドレスの第2の部分アド
レスを含むマイクロ論理アドレスの第3の部分アドレス
により索引されることにより前記マイクロ論理アドレス
に対応する実アドレスの第2の部分アドレスを出力する
アドレス変換チープルと、システムの初期設定を行なう
一連のマイクロ命令からなる初期設定マイクロプログラ
ムを記憶するための領域と前記初期設定が行なわれた後
に前記第1のレジスタに示すマイクロ論理アドレスに対
応する実アドレスをもつ一連のマイクロ命令からなるマ
イクロプログラムを記憶する領域とを含み前記第2のレ
ジスタと前記アドレス変換テーブルとからえられる実ア
ドレスの第1の部分アドレスと第2の部分アドレスとを
含むアドレス信号によりアクセスされる主記憶装置と、
前記比較手段の結果が不一致のときおよび前記アドレス
アレイからの出力が無効のときには前記主記憶装置から
前記制御メモリへ前記マイクロ命令を前記ブロック単位
でロードするロード制御装置とを含んで構成される。
The apparatus of the present invention includes a first register holding a micro-logical address, a control memory accessed by a first partial address of the micro-logical address and comprising a plurality of blocks and holding a micro-instruction; Stores a second partial address of a micro logical address corresponding to a microinstruction accessed from a partial address of a first partial address and stored in each of the plurality of blocks of the control memory and a bit indicating its validity. a comparison means for comparing a valid output from said address array with a second partial address of a micro-logical address held in said first register; and a real address corresponding to said micro-logical address. a second register holding a first partial address of the micro-logical address; and a third partial address of the micro-logical address containing the second partial address of the micro-logical address. an address conversion cheaple for outputting the second partial address of the address; an area for storing an initial setting microprogram consisting of a series of micro instructions for initializing the system; a first partial address of the real address obtained from the second register and the address conversion table; and a second partial address.
and a load control device that loads the microinstructions from the main storage device to the control memory in units of blocks when the results of the comparison means do not match and when the output from the address array is invalid.

〔実施例〕〔Example〕

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

本発明の一実施例のブロック図を第1図に示す。A block diagram of one embodiment of the present invention is shown in FIG.

第1図のマイクロプログラム制御システムはレジスタ1
と、レジスタ2と、制御メモリ3と、アドレスアレイ4
と、比較器5と、アドレス変換テーブル6と、主記憶装
置7と、ロード制御装置8と、否定論理積回路9と、か
ら構成される。
The microprogram control system in Figure 1 is register 1.
, register 2, control memory 3, and address array 4
, a comparator 5 , an address conversion table 6 , a main memory 7 , a load control device 8 , and a NAND circuit 9 .

本実施例においては、マイクロプログラムは、1ワード
16バイトで構成され65,536ワードの容量から成
り、そのマイクロ論理アドレスは16ビツトから成るも
のとする。第1図において、レジスタ】は16ビツトの
マイクロ論理アドレスを保持するためのジスタ、制御メ
モリ3は1ワード16バイトで構成され4,096ワー
ドの容量を有するメモリ、アドレスアレイ4は256個
のエントリを有する回路である。制御メモリ3は16ワ
ード毎に256のブロックに分割されており、各ブロッ
クはアドレスアレイ4の各エントリに対応している。制
御メモリ3にはレジスタ1のピッ1−4〜15がアドレ
ス情報として与えられ、アドレスアレイ4にはビット4
〜11がアドレス情報とした与えられている。アドレス
アレイ4の各エントリには、対応する制御メモリ3のブ
ロック内の情報が有効であるか否かを示す情報および対
応する制御メモリ3のブロック内に保持されているマイ
クロ命令のマイクロ論理アドレスのピッI−0〜3が格
納されている。比較器5はレジスタ1のビットO〜3と
アドレスアレイ4の出方とを比較し、レジスタ1に保持
されたマイクロ論理アドレスに対応するマイクロ命令が
制御、メモリ3に保持されているか否かを検出する。否
定論理積回路9は比較器5の出力情報とアドレスアレイ
4の各エントリごとに保持する対応する制御メモリ3の
ブロック内の情報が有効であるか否かを示す出力情報と
の論理積の否定を指示する回路である。レジスタ2は1
2ビツトから成りシステムの初期設定を行なうマイクロ
プログラムの実行により設定されレジスタ1に保持され
マイクロ論理アドレスに対応するマイクロ命令の実アド
レスの一部を保持するためのレジスタである。アドレス
変換テーブル6はレジスタ1のビットO〜7を索引情報
として使用した2 56111i1の項目より構成され
ている。
In this embodiment, it is assumed that the microprogram consists of 16 bytes per word and has a capacity of 65,536 words, and its micro logical address consists of 16 bits. In FIG. 1, register ] is a register for holding a 16-bit micro logical address, control memory 3 is a memory consisting of 1 word of 16 bytes and has a capacity of 4,096 words, and address array 4 has 256 entries. This is a circuit with The control memory 3 is divided into 256 blocks of 16 words each, and each block corresponds to each entry of the address array 4. Bits 1-4 to 15 of register 1 are given to control memory 3 as address information, and bit 4 is given to address array 4.
~11 is given as address information. Each entry in the address array 4 contains information indicating whether the information in the corresponding block of control memory 3 is valid or not, and information indicating the micro logical address of the microinstruction held in the corresponding block of control memory 3. Pit I-0 to I-3 are stored. Comparator 5 compares bits O to 3 of register 1 with the output of address array 4, and determines whether or not the microinstruction corresponding to the micrologic address held in register 1 is held in control memory 3. To detect. A NAND circuit 9 performs a NAND operation between the output information of the comparator 5 and the output information indicating whether or not the information in the corresponding block of the control memory 3 held for each entry in the address array 4 is valid. This is a circuit that instructs. register 2 is 1
This register consists of 2 bits and is set by the execution of a microprogram that initializes the system and is held in register 1 to hold a part of the real address of the microinstruction corresponding to the micro logical address. Address conversion table 6 is composed of 256111i1 items using bits O to 7 of register 1 as index information.

主記憶装置7はシステムの初期設定を行なうゼロ番地よ
り格納されているマイクロプログラムを記憶する領域と
、初期設定が行なわれた後レジスタ1の示すマイクロ論
理アドレスに対応する実アドレスをもつ65,536ワ
ードのマイクロプログラムを記憶する領域とを含み32
ビツトがら成る実アドレスによりアクセスされるもので
ある。この主記憶装置上に記憶され初期設定が行なわれ
な後レジスタ1の示すマイクロ論理アドレスに対応する
実アドレスをもつマイクロプログラムはそれぞれ256
ワードのグループに分割され、この各グループの先頭の
実アドレスがレジスタ2とアドレス変換テーブル6の対
応する各項目とに保持されている。ロード制御装置8は
主記憶装置7から制御メモリ3へのマイクロ命令のロー
ド動作を上記ブロック単位に制御するための回路である
。レジスタ1に保持されたマイクロ論理アドレスに対応
したマイクロ命令が制御メモリ3上に存在しないときに
は、まず、ロード制御装置8はこれを指示し、ロード制
御装置8のビットO〜11にはレジスタ2から、ビット
12〜19にはアドレス変換テーブル6から、ピッI・
20〜23にはレジスタ1のビット8〜11からそれぞ
れアドレス情報が供給され、ビット24〜31にすべて
ゼロの情報を与え、これらの情報より対応するブロック
の先頭アドレスを求める。求められた実アドレスにより
主記憶装置7からレジスタ1の内容に対応するマイクロ
命令を含む16ワードが読出され制御−つ − メモリ3の対応するブロックへこれがロードされる。こ
のとき、同時にアドレスアレイ4の対応するエントリに
対してレージスタ1のビット0〜3の内容を書き込むこ
とが指示され制御メモリ3のブロック内の情報が有効で
あるか否がを示す情報が有効となるよう指示される。
The main memory 7 has an area for storing microprograms stored from address zero where system initialization is performed, and a real address 65,536 that corresponds to the micro logical address indicated by register 1 after initialization. 32 including an area for storing word microprograms.
It is accessed by a real address consisting of bits. After being stored in this main memory and not initialized, there are 256 microprograms each having a real address corresponding to the micro logical address indicated by register 1.
It is divided into groups of words, and the first real address of each group is held in the register 2 and each corresponding item of the address conversion table 6. The load control device 8 is a circuit for controlling the loading operation of microinstructions from the main storage device 7 to the control memory 3 in units of blocks. When the microinstruction corresponding to the micrologic address held in register 1 does not exist in control memory 3, first, load control device 8 instructs this, and bits O to 11 of load control device 8 are filled with the microinstruction from register 2. , bits 12 to 19 contain the pin I and bits from the address conversion table 6.
Address information is supplied from bits 8 to 11 of register 1 to bits 20 to 23, respectively, information of all zeros is given to bits 24 to 31, and the start address of the corresponding block is determined from these pieces of information. According to the obtained real address, 16 words containing the microinstruction corresponding to the contents of register 1 are read from main memory 7 and loaded into the corresponding block of control memory 3. At this time, it is simultaneously instructed to write the contents of bits 0 to 3 of register 1 to the corresponding entry of address array 4, and the information indicating whether the information in the block of control memory 3 is valid is determined to be valid. be instructed to become

次に具体例について本実施例の動作を詳細に説明する。Next, the operation of this embodiment will be explained in detail with respect to a specific example.

システムの初期設定を行なう一連のマイクロ命令からな
るマイクロプログラムを記憶するための領域の先頭実ア
ドレスは16進の” OO。
The starting real address of the area for storing a microprogram consisting of a series of microinstructions for initializing the system is "OO" in hexadecimal.

oooooo“とし、初期設定が行なわれた後レジスタ
1の示すマイクロ論理アドレスに対応する実アドレスを
もつ一連のマイクロ命令から成るマイクロプログラムを
記憶するための領域の先頭実アドレスを16進の” O
O1oo 000 ”とする(°°°′は16進数を示
す)。初めはレジスタ1、レジスタ2、制御メモリ3、
アドレスアレイ4、アドレス変換テーブル6に格納され
ている情報はすべて未知であり無効である。そこで、ハ
ードウェアによりレジスタ1、レジスタ2、制御メモリ
3、アドレスアレイ4、アドレス変換テーブル6に格納
されている情報をすべてゼロで置き替える。
oooooo", and after initialization is performed, the starting real address of the area for storing a microprogram consisting of a series of microinstructions with a real address corresponding to the micro logical address indicated by register 1 is set in hexadecimal as "O".
O1oo 000''(°°°' indicates a hexadecimal number). Initially, register 1, register 2, control memory 3,
All information stored in the address array 4 and address translation table 6 is unknown and invalid. Therefore, all information stored in register 1, register 2, control memory 3, address array 4, and address conversion table 6 is replaced with zero by hardware.

ロード制御袋N8に起動をかけると、レジスタ2より出
力信号線28に16進の゛000”が読出されアドレス
変換テーブル6より出力信号線27に16進の“00”
が読出され、この出力信号線27と出力信号線28とが
結合し出力信号線29に16進の“ooooo”が読出
されロード制御装置8に送出される。ロード制御装置8
は上位20ビツトで出力信号線29の情報” o o 
o o o”を受はビット20〜23でレジスタ1の出
力ビット8〜11の情報を受はビット24〜31に°゛
00”情報を加えて主記憶装置7上での実アドレスとし
、実アドレス“oooooooo’”より16ワードの
マイクロ命令を読出し制御モリ3の16進アドレスの“
000”番地〜“”OOF”番地に順次これを書き込む
、同時にアドレスアレイ4の対応する制御メモリ3のブ
ロック内の情報が有効であるか否かを示すビットに2進
の“1(21”が書き込まれる(“(21″は2進数を
示す)。次にレジスタ1より制御メモリ3にアドレスと
して16進の°′000“′が供給され、16進の’ 
O(’) O”番地の内容が出力信号線21に読出され
る。同時にアドレスアレイ4には16進アドレス゛00
°“が供給され、出力信号線22に16進の°゛0″が
読出される。また、レジスタ1の出力ビット0〜3も1
6進の′0°′であるから、比較器5の入力はともに1
6進の“0゛°であるため出力信号線24に2進の°“
](21°°読出される。この時、出力信号線23には
アドレスアレイ4のエントリに対応する制御メモリ3ブ
ロツク内の情報が有効であるか否かを示すビットが保持
する情報の2進の°′1(2,”読出される。この出力
信号線23と出力信号線24とから情報が供給される否
定論理積回路9より出力信号線31に2進の°0(21
”が読出される。これにより制御メモリ3から読出され
た出力信号線21の内容は有効となり、このマイクロプ
ログラムが実行される。このマイクロプログラムはシス
テムの初期設定を行なうものでありその実行により制御
メモリ3の16進アドレスの001”番地〜“OOF”
番地のマイクロプログラムを呼び出し実行する。これら
のマイクロプログラムの実行によりレジスタ2には入力
信号線25より16進の“001”が設定され、アドレ
ス変換テーブル6には入力信号線26よりレジスタ1の
示すマイクロ論理アドレスに対応する実アドレスの一部
を指示する情報が設定され、最後にアドレスアレイ4の
制御メ゛モリ3のブロック内の情報が有効であるか否か
を示す全ビットにすべて2進□の“0(2)”を入力信
号線30より書き込みこのマイクロプログラムは実行を
終了する。
When the load control bag N8 is activated, hexadecimal ``000'' is read from the register 2 to the output signal line 28, and hexadecimal ``00'' is read from the address conversion table 6 to the output signal line 27.
is read out, the output signal line 27 and the output signal line 28 are coupled, and hexadecimal "oooooo" is read out on the output signal line 29 and sent to the load control device 8. Load control device 8
is the upper 20 bits and is the information of the output signal line 29" o o
o o o" is output in bits 20 to 23, and the information in bits 8 to 11 of register 1 is output. The receiver adds °'00" information to bits 24 to 31, making it a real address on the main memory 7, and outputting it as a real address. Read the 16-word microinstruction from the address “ooooooooo’” and write the hexadecimal address “
This is written sequentially to addresses "000" to "OOF", and at the same time, a binary "1 (21") is written to the bit indicating whether or not the information in the corresponding block of control memory 3 of address array 4 is valid. is written ("(21" indicates a binary number). Next, hexadecimal °'000"' is supplied from register 1 to control memory 3 as an address, and hexadecimal '
The contents of the address O(') O'' are read out to the output signal line 21. At the same time, the address array 4 receives the hexadecimal address '00'.
°" is supplied, and hexadecimal "0" is read out to the output signal line 22. Also, output bits 0 to 3 of register 1 are also 1.
Since it is '0°' in hexadecimal, both inputs of comparator 5 are 1.
Because it is hexadecimal “0゛°,” the output signal line 24 has binary “°”.
] (21°° is read out. At this time, the output signal line 23 shows the binary information held by the bit indicating whether or not the information in the control memory 3 block corresponding to the entry of the address array 4 is valid. °'1 (2," is read out. The output signal line 31 is supplied with binary °0 (21
" is read out. As a result, the contents of the output signal line 21 read out from the control memory 3 become valid, and this microprogram is executed. This microprogram initializes the system, and its execution controls the Memory 3 hexadecimal address 001” ~ “OOF”
Call and execute the microprogram at the address. By executing these microprograms, hexadecimal "001" is set in the register 2 from the input signal line 25, and the real address corresponding to the micro logical address indicated by the register 1 is set in the address conversion table 6 from the input signal line 26. Information indicating a part of the block is set, and finally all bits indicating whether or not the information in the block of control memory 3 of address array 4 is valid are set to all binary □ "0 (2)". Writing from the input signal line 30 ends the execution of this microprogram.

次に第2図に示すようなマイクロ命令シーケンスを実行
する場合を考える。第3図はシステムの初期設定を行な
う一連をマイ”タロ命令からなるマイ20□プログラム
を記憶するための領域と前記初期設定が行なわれた後レ
ジスタ「の示すマイクロ論理アドレスに対応する実アド
レスをもつ一連のマイクロ命令から成るマイクロプログ
ラムを記憶する□ための領域およびその主記憶゛装置上
での実アドレスを示す。
Next, consider the case where a microinstruction sequence as shown in FIG. 2 is executed. Figure 3 shows a series of initial settings for the system, an area for storing the My20□ program consisting of Taro instructions, and a real address corresponding to the micro logical address indicated by the register after the initial settings. This figure shows an area for storing a microprogram consisting of a series of microinstructions and its real address on the main storage device.

まずレジスタ1に16進の’0200”がセットされる
First, hexadecimal '0200' is set in register 1.

ステップ1:制御メモリ3にアドレスとして16進の“
200“が供給され、16 進の“200”番地の内容が出力信 号線21に読出される。同時に、ア ドレスアレイ4には16進アドレス ゛°20°”が供給され、出力信号線2・2に16進の
0°゛が読出される。
Step 1: Write “ in hexadecimal as the address in control memory 3.
200" is supplied, and the contents of the hexadecimal address "200" are read out to the output signal line 21. At the same time, the hexadecimal address "20°" is supplied to the address array 4, and the contents of the hexadecimal address "200" are read out to the output signal line 2. A hexadecimal value of 0° is read.

比較器5の入力はともに16進の“ 0”であるため、出力信号線24に 2進゛の1 (21″が読出される。この時、アドレス
アレイ4のエントリ の対応する制御メモリ3のブロック 内の情報が有効であるか否かを示す ビットの指示する情報の2進の“0 (2,”・が出力信号線23に読出され、1に2進の1
 (21”′が読出される。
Since both inputs of the comparator 5 are hexadecimal "0", a binary "1"(21") is read out to the output signal line 24. At this time, the entry in the control memory 3 corresponding to the entry in the address array 4 is read out. The binary “0 (2,”) of the information indicated by the bit indicating whether or not the information in the block is valid is read out to the output signal line 23, and the binary 1 is changed to 1.
(21''' is read.

否定論理積回路9より出力信号線3 これより制御メモリ3の出力信号線 21の内容は無効化されロード制御 装置8に起動がかけられる。またア ドレス変換テーブル6にアドレスと して16進の′02°“が供給され、 16進のマイクロ論理アドレス゛°0 200”に対応するマイクロ命令が 格納されている主記憶装置7上での 実アドレスの一部“02”が出力信 号線27に読出され、レジスタ2に 保持されているマイクロ命令が格納 されている主記憶装N7上での実ア ドレスの一部” 001″′が出力信号線28に読出さ
れる。この出力信号 線27と出力信号線28の内容とご 結合され、16進マイクロ論理アド レス“0200 ”に対応するマイク ロ命令が格納されている主記憶装置 7上での実アドレスの一部” 001 02”が出力信号線29に読出され、 レジスタ1の出力ビット8〜11 ( =”o’“)とともにロード制御装置 8に送出される。ロード制御装置8 は、」1位20ピッI・で出力信号線29の情報を受は
次の4ビツトでレジ スタ1の出力ビット8〜11の情報 を受は下位8ビツトに“00゛を加 えることで16進のマイクロ論理ア ドレス” 0200 ”に対応するマイクロ命令が格納
されている主記憶装 置7上での実アドレス“00102 000゛を求め、この実アドレスに より主記憶装置7から16進のマイ クロ論理アドレス゛’0200”〜゛′02OF’”に
対応した16ワードの マイクロ命令を読出し制御メモリ3 の16進アドレス′200′“番地〜  ′“′20F
”番地に順次これを書き込 む。同時に、アドレスアレ−イ4の1 6進データ“1パを書き込み、制御 メモリ3のブロック内の情報が有効 であるか否かを示すビットに2進の ”1(21”を書き込む。以上の過程 が終了すると制御メモリ3の出力信 号線21には新たな16進アドレス の“200”番地の内容が読出され、 アドレスアレイ4の出力信号線22 には16進アドレス“20′′番地の 新たな内容“0′”が読出されて比較 器5に入力される。比較器5の入力 はともに0”であるため出力信号 線24には2進の“1 (21″が読出され、アドレス
アレイ4のエントリ の対応する制御メモリ3のブロック 内の情報が有効であるか否かを示す ビットより出力信号線23には2進 の“1,2.”が読出される。これよ り、出力信号線31には否定論理積 回路9より2進の“0(2)”が読出 され出力信号線21が有効化される とともに、レジスタ1にステップ2 の16進アドレス゛’0202”がセ ットされる。
The output signal line 3 is output from the NAND circuit 9. The contents of the output signal line 21 of the control memory 3 are then invalidated and the load control device 8 is activated. Also, '02°' in hexadecimal is supplied as an address to the address conversion table 6, and one of the real addresses on the main memory 7 in which the microinstruction corresponding to the micro logical address '0200' in hexadecimal is stored. Part "02" is read out to the output signal line 27, and part "001"' of the real address on the main memory N7 where the microinstruction held in the register 2 is stored is read out to the output signal line 28. be done. A portion of the real address on the main memory 7 in which the microinstruction corresponding to the hexadecimal micrological address "0200" is stored, combined with the contents of the output signal line 27 and the output signal line 28. " is read out to the output signal line 29 and sent to the load control device 8 together with output bits 8 to 11 (="o'") of the register 1. The load control device 8 receives the information on the output signal line 29 at the 1st 20th bit, receives the information on the output bits 8 to 11 of the register 1 using the next 4 bits, and adds "00" to the lower 8 bits. By doing this, the real address “00102 000゛” on the main storage device 7 where the microinstruction corresponding to the hexadecimal micrological address “0200” is stored is obtained, and by this real address, the hexadecimal microinstruction is stored from the main storage device 7. Read the 16-word microinstruction corresponding to the logical addresses ``0200'' to ``02OF'' and read the hexadecimal addresses ``200'' to ``20F'' in the control memory 3.
At the same time, write hexadecimal data "1" in address array 4, and write "1" in binary to the bit indicating whether the information in the block of control memory 3 is valid. (21" is written. When the above process is completed, the contents of the new hexadecimal address "200" are read out to the output signal line 21 of the control memory 3, and the contents of the new hexadecimal address "200" are written to the output signal line 22 of the address array 4. The new content "0'" of the address "20'' is read out and input to the comparator 5. Since both inputs of the comparator 5 are 0", the output signal line 24 has a binary "1 ( 21'' is read out, and binary "1, 2." is read out to the output signal line 23 from the bit indicating whether or not the information in the block of the control memory 3 corresponding to the entry of the address array 4 is valid. As a result, binary "0 (2)" is read from the NAND circuit 9 to the output signal line 31, the output signal line 21 is enabled, and the hexadecimal address of step 2 is written to the register 1. '0202' is set.

ステップ2:制御メモリ3にアドレスとして16進の“
202°”が供給され、16 進の202”番地の内容が出力信 号線21に読出される。同時に、ア ドレスアレイ4には16進アドレス “20”が供給され、出力信号線2 2に16進の0”が読出される。
Step 2: Write “ in hexadecimal as the address in control memory 3.
202°” is supplied, and the contents of the hexadecimal address 202” are read out to the output signal line 21. At the same time, a hexadecimal address "20" is supplied to the address array 4, and a hexadecimal 0" is read to the output signal line 22.

比較器5の入力はともに16進の 0”であるため出力信号線24には 2進の1 (21”が読出され、アド レスアレイ4のエントリの対応する 制御メモリ3のブロック内の情報が 有効であるか否がを示すビットより 出力信号線23には2進の“1 (21”が読出される
。これより、出力信号 線31には否定論理積回路9より2 進の“0(21”が読出され出力信号 線21に有効化されるとともに、レ ジスタ1に次ステツプの16進アド レスがセットされる。
Since the inputs of the comparator 5 are both hexadecimal 0'', a binary 1 (21'') is read on the output signal line 24, and the information in the block of the control memory 3 corresponding to the entry of the address array 4 is valid. A binary “1 (21)” is read out to the output signal line 23 from the bit indicating whether the " is read out and made valid on the output signal line 21, and the hexadecimal address of the next step is set in the register 1.

以後、同様の動作が繰返される。次に、ステップNにお
いて、アドレスアレイ4には16進の゛31°′番地に
16進の2°°、このエンI・りの対応する制御メモリ
3のブロック内の情報が有効が否かを示すビットに2進
のl 1(旧IIが書き込ままれているとする。
Thereafter, similar operations are repeated. Next, in step N, the address array 4 is set to address ``31'' in hexadecimal to indicate whether the information in the block of control memory 3 corresponding to this encoder is valid or not. It is assumed that binary l1 (old II) is written in the indicated bit.

ステップN:制御メモリ3から16進アドレスの“31
4”番地の内容が出力信号 線21に読出される。同時にアドレ スアレイ4から16進アドレスの′ 31”番地の内容、すなわち、16 進の“2”が出力信号線22に読出 される。比較器5の入力は片方が1 6進の°゛1”であり、いま一方が1 6進の“2″°であるため、出力信号 線24には2進の“” O(21”が読出される。また
、アドレスアレイ4の エントリの対応する制御メモリ3の ブロック内の情報が有効であるか否 かを示すビットより出力信号線23 に2進の“1 (21″が読出される。
Step N: From control memory 3 to hexadecimal address “31”
The contents of the address '4'' are read out to the output signal line 21. At the same time, the contents of the hexadecimal address '31', that is, hexadecimal '2', are read out from the address array 4 to the output signal line 22. Since one input of the comparator 5 is a hexadecimal value "1" and the other is a hexadecimal "2" degree, the output signal line 24 has a binary value "O(21"). Also, a binary "1 (21") is read out to the output signal line 23 from the bit indicating whether or not the information in the block of the control memory 3 corresponding to the entry of the address array 4 is valid. .

・  これより、出力信号線31には否定論理積回路9
より2進の“l ] 、2. I+が読出され、出力信
号線21の内容 は無効化されロード制御装置8に起 動がかけr、れる。ロード制御装置8 に起動がかけられた後の動作はステ ップ1でロード制御装置8に起動が かけられた後の動作と同様の動作で ある。
- From this, the NAND circuit 9 is connected to the output signal line 31.
Then, the binary "l", 2.I+ is read out, the contents of the output signal line 21 are invalidated, and the load control device 8 is activated.Operation after the load control device 8 is activated is the same operation as the operation after the load control device 8 is activated in step 1.

以後のステップにおいては、ステップ1およびステップ
2およびステップNの動作のいずれかが行われる。
In subsequent steps, any one of the operations of step 1, step 2, and step N is performed.

このようにして本実施例では複雑なハードウェアを必要
としないでレジスタ2の内容とアドレス変換テーブルの
内容とを設定変更でき設定の自由度を大としまた主記憶
装置の実アドレスが32ビツトという大きな値にも拘ら
ず、レジスタ2のその一部を設定することによりアドレ
ス変換テーブルの容量を小さくできこの使用効率を高め
ている。
In this way, in this embodiment, the contents of register 2 and the contents of the address conversion table can be changed without the need for complicated hardware, increasing the degree of freedom in setting. Despite the large value, by setting that part of register 2, the capacity of the address translation table can be reduced and its usage efficiency can be improved.

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

以上説明したように本発明によれば、マイクロ論理アド
レスに対応する実アドレスの一部を保持するレジスタと
、マイクロ論理アドレスで索引されることによりマイク
ロ論理アドレスに対応する実アドレスの一部を与えるた
めのアドレス変換テーブルと制御メモリに格納されてい
る情報の有効性を示す手段とを設け、前記のレジスタと
アドレス゛変換テーブルの内容とを主記憶装置から制御
メモ刀ヘロードしたマイクロ命令を有効な情報としその
命令を実行することによ1り設定できることにより、複
雑なハードウェアを必要とせず、レジスタおよびアドレ
ス変換テーブルの内容を容易に設定、変更でき、信頼性
は向上し設計の自由度も大きくなるという効果・がある
。さらに必要最小限の容量のアドレス変換テーブルでマ
イクロ論理アドレスi主記憶装置上の実アドレスと壬自
由に対応−21−’ づけることを可能とし、アドレス変換テーブルの使用効
率を高めるとともに、より安価なマイクロプログラム制
御システ、ムを実現できるという効果がある。
As explained above, according to the present invention, there is a register that holds a part of the real address corresponding to a micro logical address, and a register that provides a part of the real address corresponding to the micro logical address by being indexed by the micro logical address. An address translation table for the purpose of the control memory and a means for indicating the validity of the information stored in the control memory are provided, and a microinstruction that loads the register and the contents of the address translation table from the main memory into the control memory is provided with valid information. By executing this instruction, the contents of registers and address translation tables can be easily set and changed without the need for complex hardware, improving reliability and providing greater freedom in design. It has the effect of becoming. Furthermore, it is possible to freely associate micro logical addresses with real addresses on the main memory using an address translation table with the minimum necessary capacity, which increases the efficiency of address translation table use and makes it cheaper. This has the effect of realizing a microprogram control system.

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

第1図は本発明の一実施例を示すブロック図、第゛2図
は・マイクロ命令シーケンスの一例を示す図、第3図は
主記憶装置における各マイクロプログラム領域およびマ
イクロ論理アドレスと実アドレスとの対応の一例を示す
図である。 1・・・レジスタ、2・・・レジスタ、3・・・制御メ
モリ、4・・・アドレス、5.・・・比較器、6・・・
アドレス変換テーブル、7・・・主記憶装置、8・・・
ロード制御装置、9・・・否定論理積器・路、・21〈
31・・・信号線。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing an example of a microinstruction sequence, and FIG. It is a figure showing an example of correspondence. 1...Register, 2...Register, 3...Control memory, 4...Address, 5. ... Comparator, 6...
Address conversion table, 7... Main storage device, 8...
Load control device, 9...NOT/path, 21<
31...Signal line.

Claims (1)

【特許請求の範囲】 マイクロ論理アドレスを保持する第1のレジスタと、 前記マイクロ論理アドレスの第1の部分アドレスにより
アクセスされ複数のブロックから構成されてマイクロ命
令を保持する制御メモリと、前記マイクロ論理アドレス
の第1の部分アドレスの部分アドレスによりアクセスさ
れ前記制御メモリの複数のブロックのそれぞれに格納さ
れているマイクロ命令に対応したマイクロ論理アドレス
の第2の部分アドレスとその有効性を示すビットを格納
するアドレスアレイと、 前記アドレスアレイからの有効な出力と前記第1のレジ
スタに保持されているマイクロ論理アドレスの第2の部
分アドレスとを比較する比較手段と、 前記マイクロ論理アドレスに対応する実アドレスの第1
の部分アドレスを保持する第2のレジスタと、 前記マイクロ論理アドレスの第2の部分アドレスを含む
マイクロ論理アドレスの第3の部分アドレスにより索引
されることにより前記マイクロ論理アドレスに対応する
実アドレスの第2の部分アドレスを出力するアドレス変
換テーブルと、システムの初期設定を行なう一連のマイ
クロ命令からなる初期設定マイクロプログラムを記憶す
るための領域と前記初期設定が行なわれた後に前記第1
のレジスタに示すマイクロ論理アドレスに対応する実ア
ドレスをもつ一連のマイクロ命令からなるマイクロプロ
グラムを記憶する領域とを含み前記第2のレジスタと前
記アドレス変換テーブルとからえられる実アドレスの第
1の部分アドレスと第2の部分アドレスとを含むアドレ
ス信号によりアクセスされる主記憶装置と、 前記比較手段の結果が不一致のときおよび前記アドレス
アレイからの出力が無効のときには前記主記憶装置から
前記制御メモリへ前記マイクロ命令を前記ブロック単位
でロードするロード制御装置とを含むことを特徴とする
マイクロプログラム制御システム。
[Scope of Claims] A first register that holds a micro-logic address; a control memory that is accessed by a first partial address of the micro-logic address and is made up of a plurality of blocks and that holds micro-instructions; Stores a second partial address of a micro logical address corresponding to a microinstruction accessed by a partial address of the first partial address and stored in each of the plurality of blocks of the control memory and a bit indicating its validity. a comparison means for comparing a valid output from said address array with a second partial address of a micro-logical address held in said first register; and a real address corresponding to said micro-logical address. the first of
a second register holding a partial address of the micro-logical address; and a second register of the real address corresponding to the micro-logical address by being indexed by a third partial address of the micro-logical address containing the second partial address of the micro-logical address. 2, an area for storing an initial setting microprogram consisting of a series of micro instructions for initializing the system;
a first portion of the real address obtained from the second register and the address conversion table; a main memory accessed by an address signal including an address and a second partial address; and a main memory accessed by an address signal including an address and a second partial address; and a main memory accessed from the control memory when the results of the comparison means do not match and when the output from the address array is invalid. A microprogram control system comprising: a load control device that loads the microinstructions in units of the blocks.
JP60126684A 1985-06-11 1985-06-11 Control system for microprogram Pending JPS61283934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60126684A JPS61283934A (en) 1985-06-11 1985-06-11 Control system for microprogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60126684A JPS61283934A (en) 1985-06-11 1985-06-11 Control system for microprogram

Publications (1)

Publication Number Publication Date
JPS61283934A true JPS61283934A (en) 1986-12-13

Family

ID=14941295

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60126684A Pending JPS61283934A (en) 1985-06-11 1985-06-11 Control system for microprogram

Country Status (1)

Country Link
JP (1) JPS61283934A (en)

Similar Documents

Publication Publication Date Title
US4118773A (en) Microprogram memory bank addressing system
WO1986000434A1 (en) Method and apparatus for a compare and swap instruction
US4980819A (en) Mechanism for automatically updating multiple unit register file memories in successive cycles for a pipelined processing system
US4054945A (en) Electronic computer capable of searching a queue in response to a single instruction
US5081608A (en) Apparatus for processing record-structured data by inserting replacement data of arbitrary length into selected data fields
US3768080A (en) Device for address translation
EP0062658B1 (en) Stack for a data processor
US4597041A (en) Method and apparatus for enhancing the operation of a data processing system
US4236205A (en) Access-time reduction control circuit and process for digital storage devices
US4661925A (en) Computer control memory apparatus providing variable microinstruction length
US4635188A (en) Means for fast instruction decoding for a computer
JPS623461B2 (en)
EP0388735A2 (en) Microprogram controller having fixed-instruction generator and microprogram memory
US4337510A (en) Read control system for a control storage device
JPS61283934A (en) Control system for microprogram
JPS5972545A (en) Microprogram control system
US4085439A (en) Computer programming system having greatly reduced storage capacity and high speed
JPS61283932A (en) Control system for microprogram
JPH01177145A (en) Information processor
SU491952A1 (en) Device for exchanging information between RAM and processor
JPH0258646B2 (en)
JPS61283931A (en) Control system for microprogram
JPS61283933A (en) Control system for microprogram
KR950006585B1 (en) Micro program control apparatus and control method thereof
JPH0315772B2 (en)