JPS6341931A - Microprogram controller - Google Patents

Microprogram controller

Info

Publication number
JPS6341931A
JPS6341931A JP61186359A JP18635986A JPS6341931A JP S6341931 A JPS6341931 A JP S6341931A JP 61186359 A JP61186359 A JP 61186359A JP 18635986 A JP18635986 A JP 18635986A JP S6341931 A JPS6341931 A JP S6341931A
Authority
JP
Japan
Prior art keywords
microprogram
control memory
control
rom
data
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
JP61186359A
Other languages
Japanese (ja)
Inventor
Ichirou Shirasaka
白阪 一郎
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 JP61186359A priority Critical patent/JPS6341931A/en
Publication of JPS6341931A publication Critical patent/JPS6341931A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To obtain a cheap and compact controlling device to cope with enlargement of a microprogram by providing a low speed but large capacity ROM, a small capacity and large bit width control memory, and a checking circuit that reads a microprogram copied in the control memory and makes parity check. CONSTITUTION:A low speed, large capacity ROM 3 is connected to a data bus 8 together at a high speed, small capacity control memory 2. The data bus 8 is a 16 bit bus, and the control memory 2 also inputs and outputs data in 16 bits. The data width of the ROM 3 is 8 bits, and connected to low-order of the data bus 8 by a data line 11. An instruction register 4 is connected to the data bus 8 and a microinstruction read out from the control memory 2 is set to it. A scan checking circuit 5 makes parity check of the microinstruction set to the instruction register 4, and when there is an error, reports to a controlling circuit 6 by an error line 16.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプログラム制御装置に関し、特にマイ
クロプログラム制御装置におけるマイクロプログラムの
実行制御に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprogram control device, and more particularly to execution control of a microprogram in a microprogram control device.

〔従来の技術〕[Conventional technology]

従来、内蔵されたマイクロプログラムにより制御される
ようなマイクロプログラム制御装置において、内蔵され
るマイクロプログラムは読出し専用の記憶装置(以下R
OMという)にあらかじめ書込まれており、このROM
の内容をマイクロプログラム実行時に順次読出して実行
する方式が一般的である。
Conventionally, in a microprogram control device that is controlled by a built-in microprogram, the built-in microprogram is stored in a read-only storage device (hereinafter referred to as R).
This ROM is written in advance in the ROM.
A common method is to sequentially read and execute the contents of a microprogram when executing a microprogram.

最近、このようなROMの技術的進歩は大きく、現在非
常に大容量のものが作られ非常に安価に入手することが
出来るようになった。しかしこのようなROMは一般的
に低速でデータ幅も8ビット程度のちのがほとんどであ
る。
Recently, the technology of such ROMs has made great progress, and ROMs with extremely large capacities are now manufactured and available at very low prices. However, such ROMs are generally slow in speed and have a data width of approximately 8 bits.

−万、高性能のマイクロダラム制御装置ではマイクロプ
ログラムは高速の動作が要求されるためマイクロプログ
ラムを高速に読出すことが出来ることと、並列動作のた
めにデータ幅も24ビット、32ビツトと広いことが要
求される。しかし、このような要求は前述のROMの現
在の仕様では満足することが出来ず、このようなマイク
ロプログラム制御装置では小容量で高速なROMを使用
しているのが現状である。
- High-performance MicroDurham controllers require high-speed operation of microprograms, so the microprogram can be read out at high speed, and the data width is wide at 24 bits and 32 bits for parallel operation. This is required. However, such requirements cannot be met with the current specifications of the ROMs mentioned above, and such microprogram control devices currently use small-capacity, high-speed ROMs.

マイクロプログラム制御装置は、年々多Ia能なものか
要求されてきておりマイクロ10グラムも大容量化しこ
のような小容量なROMでは、コス1−の而でも容積の
面でも非常に使いづらくなってきている。
Microprogram control devices are required to be capable of multi-Ia each year, and the capacity of micro 10 grams has also increased, making it extremely difficult to use such small-capacity ROMs in terms of both cost and volume. ing.

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

前述した従来の高性能なマイクロプログラム内蔵型のマ
イクロプログラム制御装置では高速にマイクロプログラ
ムを実行する必要があるために高速で高価なROMが−
g・要であった。また、機能のθ桟上により大写iよの
マイクロプログラムを搭、戊することが・ビ・要となっ
てきており、従来の方式では高価なROMと大量に必要
としコストの面でネ・ツクとなってきている。低速のR
OMは非常に大容量のものが安価に作られているが高性
能なマイクロプログラム制0′j装置では、このような
ROMの仕様では使用することが出来ないという欠点が
あった。
In the conventional high-performance microprogram control device with a built-in microprogram mentioned above, it is necessary to execute the microprogram at high speed, so a high-speed and expensive ROM is required.
g. It was important. In addition, it has become necessary to install and install microprograms on the θ-frame of the function, and the conventional method requires expensive ROM and a large amount of memory, making it costly in terms of cost. It is becoming. slow R
Although OM has a very large capacity and is manufactured at low cost, it has the drawback that such ROM specifications cannot be used in high-performance microprogram system 0'j devices.

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

本発明の装置は、マイクロプログラムを記憶している読
出し専用記憶手段と、前記マイクロプログラムの実行に
先立って前記読出し専用記憶手段からnビット(nは自
然数)づつ読出されたデータを前記マイクロプログラム
が実行される順序に格納する制御記憶手段と、前記制御
記憶手段に格納された前記マイクロプログラムをマイク
ロプログラムの実行に先立ってm×nビット(mは自然
数〉づつ読出し、正しく格納されているかのチエ・ツク
を行うスキャンチェック手段と、外部より入力されるイ
ニシャライズ信号により前記読出し専用記憶手段から前
記制御記憶手段への前記マイクロプログラムの格納と格
納された前記マイクロプログラムの正統性のチェックと
マイクロプログラムの実行開始とを制御する制御手段と
を含んで構成される。
The apparatus of the present invention includes a read-only storage means for storing a microprogram, and a read-only storage means for storing a microprogram. control storage means for storing the microprogram in the order in which it is executed; and a control storage means for reading out the microprogram stored in the control storage means in m×n bits (m is a natural number) each time prior to execution of the microprogram, and checking whether the microprogram is stored correctly.・scan check means for checking, and storage of the microprogram from the read-only storage means to the control storage means by an initialization signal input from the outside, checking the legitimacy of the stored microprogram, and checking the legitimacy of the microprogram. and a control means for controlling execution start.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図のマイクロプログラム制御装置において、低速の
大容量のROM3はデータバス8に高速小容量の制御記
+!!2と共に接続される。データバス8は16ビツト
のバスであり、制御記憶2も16ビツトでデータを入出
力している。ROM 3のデータ幅は8ビツトであり、
データバス8の下位にデータ線11により接続され、デ
ータバス8の上位にはバッファ7を介してデータ線12
により接続される。プログラムカウンタ1からのアドレ
ス出力は制御記憶2とROM3とに接続される。データ
バス8にはさらにインスI・ラクションレジスタ4が接
続され制御記憶2から読出されたマイクロ命令がセット
される。スキャンチェック回路5はインストラクション
レジスタ4に接続されインストラクションレジスタ4に
セットされたマイクロ命令のバリティチエックを行いエ
ラーがあった場合はエラー線16により制御回路6に知
らされる。制御回路6はイニシャライズ人力13からの
イニシャライズ信号により起動され、各回路のデータの
入出力、ストローブの送出等の制御を行う。
In the microprogram control device shown in FIG. 1, a low-speed, large-capacity ROM 3 is connected to a data bus 8 with a high-speed, small-capacity control memory. ! Connected with 2. The data bus 8 is a 16-bit bus, and the control memory 2 also inputs and outputs data using 16 bits. The data width of ROM 3 is 8 bits,
A data line 11 is connected to the lower part of the data bus 8, and a data line 12 is connected to the upper part of the data bus 8 via a buffer 7.
Connected by The address output from program counter 1 is connected to control memory 2 and ROM 3. An instance I/action register 4 is further connected to the data bus 8, and a microinstruction read from the control memory 2 is set therein. The scan check circuit 5 is connected to the instruction register 4 and checks the validity of the microinstruction set in the instruction register 4, and if an error occurs, it is notified to the control circuit 6 via an error line 16. The control circuit 6 is activated by an initialization signal from the initialization input 13, and controls data input/output, strobe transmission, etc. of each circuit.

第2図は本実施例のROMB内のアドレスマツプである
FIG. 2 is an address map in the ROMB of this embodiment.

ROM3はデータ幅8ビツトでアドレス範囲は16進数
でO〜IFFF(16)である、マイクロプログラムは
全体が16ビツトで構成されROM3の0〜FFF(1
6)までに上位の8ビツトが、1000 (16)〜I
FFF(16)に残りの下位の8ビツトが格納されてい
る。
ROM3 has a data width of 8 bits and an address range of 0 to IFFF (16) in hexadecimal.
By 6), the upper 8 bits are 1000 (16) to I
The remaining lower 8 bits are stored in FFF (16).

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

第1図のマイクロプログラム制御装置の電源が投入され
ると、イニシャライズ入力13よりイニシャライズ信号
が入力される。これにより制御回路6が起動されてプロ
グラムカウンタ1にクリア信号と低速のクロックがクロ
ック線14を介して送出される。プログラムカウンタ1
はマイクロプログラムアドレスを出力し制御記憶2とR
OM 3に供給する。また制御回路6は出力イネーブル
信号をROM3とバッファ7とに出力することによりR
OMB内のアドレスされたマイクロプログラムの上位8
ビツトがバッファを介してデータバスSに出力される。
When the microprogram control device shown in FIG. 1 is powered on, an initialization signal is input from the initialization input 13. This activates the control circuit 6 and sends a clear signal and a low-speed clock to the program counter 1 via the clock line 14. Program counter 1
outputs the microprogram address and controls memory 2 and R
Supply to OM 3. In addition, the control circuit 6 outputs an output enable signal to the ROM 3 and the buffer 7 to
Top 8 addressed microprograms in OMB
The bits are output to the data bus S via the buffer.

次に、制御回路6は制御記憶2の上位8ビツトにライト
信号を出力し、データバス8上のマイクロプログラムの
上位8ビツトを制御記憶2に書込む。ROM3のアクセ
ス時間は長いので(ROM3は低速用を使用しているの
で)データバスS上のデータが確定してのちライト信号
が出力される。次に、また制御回路6はプログラムカウ
ンタ1にクロックを出力することによりプログラムカウ
ンタ1とカウントアツプ゛する。これによりROM3と
制御記+!:i2の次の番地をアクセスし上記の説明と
同様にROM 3の次の番地のマイクロプログラムの制
御記憶2へのライト動作が行われる。
Next, the control circuit 6 outputs a write signal to the upper 8 bits of the control memory 2, and writes the upper 8 bits of the microprogram on the data bus 8 to the control memory 2. Since the access time of the ROM3 is long (because the ROM3 is a low-speed one), the write signal is output after the data on the data bus S is determined. Next, the control circuit 6 again outputs a clock to the program counter 1 to increment the count of the program counter 1. With this, ROM3 and control record +! :The next address of i2 is accessed, and the write operation of the microprogram at the next address of ROM 3 to control memory 2 is performed in the same manner as described above.

このようにして同様の動作が制御記憶2の肢後の番地(
FFF (16))まで行われる。
In this way, a similar operation is performed at the address after the limb in control memory 2 (
FFF (16)).

ROM3には第2図にようにマイクロプログラムが書込
まれているのでプログラムカウンタ1が次にカウントア
ツプして1000 (16)になったときは、データバ
ス8にはマイクロプログラムの下位が出力される。これ
と共に制御回路6は制御記憶2へのライト信号を下位側
に切換え、制御記憶のO番地の下位にマイクロプログラ
ムの下位が書込まれる。このようにしてマイクロプログ
ラムの上位を書込んだのと同様に制御回路6はプログラ
ムカウンタ1を1づつカラン1−アワプし制御記憶2の
最後の番地(IFFF (16))まで書込み動作を行
う。
Since the microprogram is written in the ROM 3 as shown in Figure 2, the next time the program counter 1 counts up and reaches 1000 (16), the lower part of the microprogram is output to the data bus 8. Ru. At the same time, the control circuit 6 switches the write signal to the control memory 2 to the lower level side, and the lower level of the microprogram is written to the lower level of address O in the control memory. In the same manner as writing the upper part of the microprogram in this way, the control circuit 6 wakes up the program counter 1 one by one and performs the write operation up to the last address (IFFF (16)) in the control memory 2.

次に、制御回路6はROM3の出力とバッファ7の出力
とをディスイネーブルにし制御記憶2の出力をイネーブ
ルにすると共に高速のクロックをプログラムカウンタ1
に送出しプログラムカウンタ1をゼロにリセットする。
Next, the control circuit 6 disables the output of the ROM 3 and the output of the buffer 7, enables the output of the control memory 2, and transmits the high-speed clock to the program counter 1.
The send program counter 1 is reset to zero.

これにより制御記憶2は先に書込まれた0番地のマイク
ロプログラムをデータバス8に出力する。
As a result, the control memory 2 outputs the previously written microprogram at address 0 to the data bus 8.

次に、このデータバス8の内容はインストラクションレ
ジスタ4にセットされスキャンチェック回路5に送られ
る。スキャンチェック回路5に送られたマイクロプログ
ラムの値はパリティチェックが行われエラーがあればエ
ラー線16により制御回路6に知らされる。エラーがあ
ったときは制御回路6よりのプログラムカウンタ1に出
力されるクロックが停止しそれ以降の動作を禁止する。
Next, the contents of this data bus 8 are set in the instruction register 4 and sent to the scan check circuit 5. The value of the microprogram sent to the scan check circuit 5 is subjected to a parity check, and if there is an error, the control circuit 6 is informed via the error line 16. When an error occurs, the clock output from the control circuit 6 to the program counter 1 is stopped and subsequent operations are prohibited.

エラーが無い場合は順次相続く番地の内容のチェックを
行っていき最終番地までチェックを行う。
If there is no error, the contents of successive addresses are checked one after another until the final address is checked.

最終番地までのチェックの結果すべての番地にエラーが
無かった場合に制御回路6はプログラムカウンタ1をゼ
ロに戻し、制御回路2からはデータ線10を介してマイ
クロプログラムの上位および下位を一度に16ビツトの
幅で読み出される。
If there is no error in all addresses as a result of checking up to the final address, the control circuit 6 returns the program counter 1 to zero, and the control circuit 2 sends the upper and lower parts of the microprogram 16 at a time via the data line 10. Read in bit width.

マイクロプログラムはこの後16ビツト幅で順次フェッ
チされ高速のクロックでマイクロプログラムの実行が開
始される。
Thereafter, the microprogram is sequentially fetched in 16-bit width, and execution of the microprogram is started using a high-speed clock.

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

以上説明したように本発明には、低速であるが大容量の
ROMと、小容量でビット幅の広い制御記憶と、ROM
から制御記憶にマイクロプログラムのコピーを行う制御
回路と、制御記憶にコピーされたマイクロプログラムを
読出しパリティチェックを行うチェック回路を設けるこ
とにより、マイクロプログラムの大容量化に対応し安価
でコンパクトな高性能なマイクロプログラム制御装置を
提供出来るという効果がある。
As explained above, the present invention includes a low-speed but large-capacity ROM, a small-capacity, wide-bit control memory, and a ROM.
By providing a control circuit that copies the microprogram from the control memory to the control memory, and a check circuit that reads the microprogram that has been copied to the control memory and performs a parity check, it is possible to create an inexpensive, compact, and high-performance device that can handle larger capacity microprograms. This has the advantage that it is possible to provide a microprogram control device.

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

第1図は本発明の一実施例を示すブロック図、第2図は
ROM内のアドレスマツプ図である。 1・・・プログラムカウンタ、2・・・制御記憶、3・
・・ROM、4・・・インストラクションレジスタ、5
・・・スキャンチェック回路、6・・制御回路、7・・
・バ・ソファ、8 データバス、9・・アドレス線、1
1データ線、11・ データ線、12・・・データ線3
 イニシャライズ入力、14・・・クロック線5・クロ
ック線、16・・エラー線。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is an address map diagram in the ROM. 1...Program counter, 2...Control memory, 3.
...ROM, 4...Instruction register, 5
...Scan check circuit, 6.. Control circuit, 7..
・Bassofa, 8 Data bus, 9・Address line, 1
1 data line, 11・data line, 12...data line 3
Initialize input, 14...Clock line 5, clock line, 16...Error line.

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラムを記憶している読出し専用記憶手段
と、前記マイクロプログラムの実行に先立って前記読出
し専用記憶手段からnビット(nは自然数)づつ読出さ
れたデータを前記マイクロプログラムが実行される順序
に格納する制御記憶手段と、前記制御記憶手段に格納さ
れた前記マイクロプログラムをマイクロプログラムの実
行に先立ってm×nビット(mは自然数)づつ読出し正
しく格納されているかのチェックを行うスキャンチェッ
ク手段と、外部より入力されるイニシャライズ信号によ
り前記読出し専用記憶手段から前記制御記憶手段への前
記マイクロプログラムの格納と格納された前記マイクロ
プログラムの正統性のチェックとマイクロプログラムの
実行開始とを制御する制御手段とを含むことを特徴とす
るマイクロプログラム制御装置。
A read-only storage means storing a microprogram, and data read n bits at a time (n is a natural number) from the read-only storage means prior to execution of the microprogram are stored in the order in which the microprogram is executed. a control storage means for reading out the microprogram stored in the control storage means in units of m×n bits (m is a natural number) prior to execution of the microprogram, and checking whether the microprogram is stored correctly; a control means for controlling storage of the microprogram from the read-only storage means to the control storage means, checking the legitimacy of the stored microprogram, and starting execution of the microprogram by an initialization signal inputted from the outside; A microprogram control device comprising:
JP61186359A 1986-08-08 1986-08-08 Microprogram controller Pending JPS6341931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61186359A JPS6341931A (en) 1986-08-08 1986-08-08 Microprogram controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61186359A JPS6341931A (en) 1986-08-08 1986-08-08 Microprogram controller

Publications (1)

Publication Number Publication Date
JPS6341931A true JPS6341931A (en) 1988-02-23

Family

ID=16186988

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61186359A Pending JPS6341931A (en) 1986-08-08 1986-08-08 Microprogram controller

Country Status (1)

Country Link
JP (1) JPS6341931A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6097439A (en) * 1983-11-02 1985-05-31 Oki Electric Ind Co Ltd Microprocessor circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6097439A (en) * 1983-11-02 1985-05-31 Oki Electric Ind Co Ltd Microprocessor circuit

Similar Documents

Publication Publication Date Title
JPS607301B2 (en) computer system
US4814977A (en) Apparatus and method for direct memory to peripheral and peripheral to memory data transfers
JPS581451B2 (en) Data transfer method
JPS6319058A (en) Memory device
JPS6341931A (en) Microprogram controller
JPH0821009B2 (en) CHANNEL CONTROLLER INITIALIZATION METHOD AND SYSTEM FOR THE INITIALIZATION
JPS6132144A (en) Exclusive data processing system by microprogram control
JP3442972B2 (en) Information processing apparatus and rewritable nonvolatile memory rewriting method
JPS603049A (en) Bus interface apparatus
JPH09259039A (en) Method and device for controlling initialization for electronic computer system
JPH02207344A (en) Software development supporting device
JP2002318779A (en) Device, and access method for its register
JPS5922150A (en) Memory control system
JPS63237133A (en) Central processing unit
JPH1027153A (en) Bus transfer device
JPS61105789A (en) Magnetic bubble control circuit
JPH0561659B2 (en)
JPH01219930A (en) Interrupt control circuit device for indirect address system
JPS6266333A (en) Indirect address register control system
JP2002091520A (en) Programmable controller and memory module
JPH01111239A (en) Error display system
JPS5922151A (en) Addressing system of electronic computer
JPS61109143A (en) Operating mode setting system
JPS617962A (en) Programmable controller
JPH0566992A (en) Data access system for eeprom