JPS62257531A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPS62257531A JPS62257531A JP10091286A JP10091286A JPS62257531A JP S62257531 A JPS62257531 A JP S62257531A JP 10091286 A JP10091286 A JP 10091286A JP 10091286 A JP10091286 A JP 10091286A JP S62257531 A JPS62257531 A JP S62257531A
- Authority
- JP
- Japan
- Prior art keywords
- microprogram
- program
- memory
- fixed
- loaded
- 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
Links
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は、マイクロプログラム制御方式の情報処理装置
に係り、特にマイクロプログラムロード方式に閃するも
県ある。DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an information processing device using a microprogram control method, and is particularly applicable to a microprogram loading method.
マイクロプログラム制御の情報処理装置は処理装置の基
本動作を指定するマイクロ命令セットによりプログラミ
ングを行い、これを制御記憶装置に格納し、これから逐
次マイクロ命令を読出し、実行Tることにより処理装置
の動作を実現する。A microprogram-controlled information processing device is programmed with a microinstruction set that specifies the basic operations of the processing device, stores this in a control storage device, and sequentially reads and executes the microinstructions to control the operations of the processing device. Realize.
従来、制御記憶装置を、固定メモリと、可変メモリとで
構成するものには例えば、特開昭58−200346号
がある。しかし、初期プログラムロードプログラムか格
納さ0ている固定メモリの1素子の1アドレス当りのデ
ータビット巾ホ、通常マイクロ命令語長のビット巾より
小ざいため、数個の固定メ% !J ’e: 、並列に
並べ、各固定メモリの同一アドレスの内容を、並列に読
出丁ことにより、マイクロ命令のビット巾に相当するビ
ットIll f得ている。しかし、この方法では、格納
されるマイクロブログラムの総胎数より、固定メモリの
素子で規定されている語数が大きい場合、固定メモリに
未使用部の無駄が生じ、またマイクロ命令のピント[I
Jの増加に伴い固定メモリの使用個数が増加するという
問題があった。Conventionally, a control storage device configured with a fixed memory and a variable memory is disclosed in, for example, Japanese Patent Laid-Open No. 58-200346. However, since the data bit width per address of one element in the fixed memory where the initial program load program is stored is usually smaller than the bit width of the microinstruction word length, several fixed bit widths are required. J'e: By arranging them in parallel and reading out the contents of the same address of each fixed memory in parallel, bits corresponding to the bit width of the microinstruction are obtained. However, with this method, if the number of words specified by the fixed memory element is larger than the total number of microprograms to be stored, unused portions of the fixed memory will be wasted, and the microinstruction focus [I
There is a problem in that as J increases, the number of fixed memories used increases.
本発明の目的は、この様な従来の問題を解決し、少量の
ハードウェアの追加で、マイクロプログラム格納用の固
定メモリの使用個数を減らT事が可能な情報処理装置を
提供する串にあり、特にマイクロプログラムロード方式
にIN ’fる。An object of the present invention is to solve such conventional problems and provide an information processing device that can reduce the number of fixed memories used for storing microprograms by adding a small amount of hardware. In particular, this applies to the microprogram loading method.
制御記憶部が、固定メモリと可変メモリとで構成される
マイクロプログラム制御方式のfI!1報処理装討にお
いてハ、電源投入後固定メモリに納められたマイクロプ
ログラムローダの実行により外部記憶媒体から可変メモ
リへ、マイクロプログラムをロードTる必要がある。従
来か1では、第6図に示されるような48ビツト巾のマ
イクロプログラムローダを第4図に示すような、8ピツ
) X 4 K aの固定メモリ素子6個に実装し、こ
れを並列に読み出しながら実行することにより、マイク
ロプログラムが、前記外部記憶媒体より、前記可変メモ
リヘロードされていた。しかし、マイクロプログラムの
M’lJ記外部記憶部記憶媒体前記可変メモリへのロー
ドプログラムの8駄は、8ピノ) ×4 K 詔も必要
としない場合が多く、例えば、1111I11の固定メ
モリに納めることが可能であることに注目し、前記固定
メモリから、前記可変メモリへの?jl Wlプログラ
ムロードプログラムのロード中か又は、通常のマイクロ
プログラムの実行中かを区別する表示手段を設けること
により、一度前記固定メモリの内存を、前記可変メモリ
へロードし、実行させることにより、IJiI記固定メ
モリの個ν2を誠ら丁ことが出来ることを特徴とするも
のである。fI is a microprogram control system in which the control storage unit is composed of a fixed memory and a variable memory! In the first report processing system, after the power is turned on, it is necessary to load the microprogram from the external storage medium to the variable memory by executing the microprogram loader stored in the fixed memory. Conventionally, a 48-bit wide microprogram loader as shown in FIG. 6 is mounted on six 8-bit x 4 K a fixed memory elements as shown in FIG. By executing the microprogram while reading it, the microprogram is loaded from the external storage medium into the variable memory. However, in many cases, it is not necessary to store the microprogram in the external storage unit storage medium (the variable memory has 8 pins), and for example, it is not necessary to store it in the fixed memory of 1111 I11. Note that it is possible to move from the fixed memory to the variable memory? jl Wl program load By providing a display means to distinguish whether a program is being loaded or a normal microprogram is being executed, by once loading the contents of the fixed memory into the variable memory and executing it, IJiI This device is characterized in that the number of fixed memories ν2 can be stored at any time.
〔発明の実施か1〕 以下本発明の実施例を図を用いて説明する。[Practice of the invention 1] Embodiments of the present invention will be described below with reference to the drawings.
第1図は、本発明の一実施I!A+を説明下る情報処理
装置の概略システム悄成図である。第2図は、電源投入
力)ら、マイクロN分セット実行までの動作フローであ
る。第3図は、マイクロ命令フォーマストの1例である
。第4図は、従来のマイクロプログラムロード方式。第
5図は、第4図に対する本発明のマイクロプログラムロ
ード方式。第6図は、第5図の動作を具体化する1例で
ある9本発明は1第1図に示すように演算制御部111
を制御する制御記憶部108が、RAMで構成され、電
源投入時ROM101に予め格納されているマイクロプ
ログラムロード用のプログラムかC8に格納された褒実
行されることにより、外部¥憎媒体102より、制御記
憶部@108へマイクロプログラムかロードされる方式
の情報処理装置について述べる。FIG. 1 shows one embodiment of the present invention I! It is a schematic system construction diagram of an information processing device that explains A+. FIG. 2 is an operational flow from power-on to execution of micro N-minute set. FIG. 3 is an example of a microinstruction format. Figure 4 shows the conventional microprogram loading method. FIG. 5 is a microprogram loading method of the present invention in comparison with FIG. 4. FIG. 6 shows an example of the operation shown in FIG.
The control storage unit 108 is composed of a RAM, and when the power is turned on, a program for loading a microprogram stored in the ROM 101 or a program stored in the C8 is executed. An information processing device in which a microprogram is loaded into the control storage unit @108 will be described.
第2図は、電源投入がら、マイクロ命令セット実行まで
の動作フローであり、電源が投入201されると、ハー
ドウェアにより、各柾レジスタ、フラグ等のりセント動
作202が行われる。その後、?/J 191プログラ
ムロード203が実行され、マイクロプログラムによる
自己a m 204が行われる。自己診曲204が正常
終丁丁れば、マイクロプログラム−ロード205が行わ
れ、処理装置の基本動作を指定するマイクロ命令セット
か実行206される。第3図は・本つこ明の実施例で使
用したマイクロ命令フォーマット301であり、1命令
当りのビット巾は一48bitである。第4図は、従来
技術によるマイクロプログラムロード方式であり、マイ
クロプログラムロード用のマイクロプログラムを格納す
るために、6個のデータ巾8bit 、深さ4に語のR
OM401〜406を用いて、48btt巾のマイクロ
命令フォーマット301を実現している。しかし、マイ
クロプログラムロード用の、プログラム容量は、小さく
てすむため、各ROM 401〜406の下位アドレス
部には空が生じることになる。第5図は、本発明の一実
施例であり、マイクロプログラムロード用のプログラム
は、512ステツプに納まるならば、データ巾8 kl
it 1深さ4に詔のROM 501111/jに格納
できる。電源投入時、制御、!;I記憶装置を構成する
R A M群108へ、512バイトブロック単位で上
位バイトから下位バイトへ順次ロードROM0ブロツク
→RAM oブロック・・・・・・ROM5ブロツク→
RA M 5ブロツクされる。このロード処理は専用ハ
ードウェアにより行われる。第6図に具体例を示す。第
6図において、マイクロプログラム、カウンタ107(
以下μP Cと格子)は、14bit巾であり、16に
分のアドレスを作成することが可能テアル。マタ、μP
C107の出力は、ROM5o1と、RAM608〜6
13に結線されている。なお、本発明の実施例では、制
御記憶装置108の容量は48ピツ) X 8 K 5
gである。第6図に従い以下動作をステップを追って説
明する。FIG. 2 shows an operation flow from power-on to execution of a microinstruction set. When power is turned on 201, the hardware performs cent operations 202 such as registers and flags. after that,? /J 191 Program load 203 is executed, and self a m 204 by the microprogram is executed. If the self-diagnosis song 204 is successfully completed, a microprogram is loaded 205 and a set of microinstructions specifying the basic operations of the processing device is executed 206. FIG. 3 shows a microinstruction format 301 used in Akira Hontsuko's embodiment, and the bit width per instruction is 148 bits. FIG. 4 shows a microprogram loading method according to the prior art. In order to store a microprogram for loading a microprogram, six data widths of 8 bits and a depth of 4 are written in word R.
A 48 btt width microinstruction format 301 is realized using OMs 401 to 406. However, since the program capacity for loading the microprogram only needs to be small, the lower address portions of each ROM 401 to 406 will be empty. FIG. 5 shows an embodiment of the present invention, and if the program for loading a microprogram can fit into 512 steps, the data width is 8 kl.
It can be stored in the imperial ROM 501111/j at depth 4. When the power is turned on, control,! ;Load sequentially from upper byte to lower byte in 512-byte block units to RAM group 108 that constitutes the I storage device ROM0 block → RAM o block ... ROM5 block →
RAM 5 blocked. This loading process is performed by dedicated hardware. A specific example is shown in FIG. In FIG. 6, the microprogram, counter 107 (
μPC (lattice) is 14 bits wide and can create 16 addresses. Mata, μP
The output of C107 is ROM5o1 and RAM608~6
It is connected to 13. In the embodiment of the present invention, the capacity of the control storage device 108 is 48 bits)
It is g. The operation will be explained step by step according to FIG.
(1) μP C107の値が0000〜01FFの
間、ANDゲート605は、論理信号レベル 1′ を
出力し、ROM 501をチップイネーブルする。RO
M501は、8btt巾のデータf、 RA M 60
8〜61ろへ供給する0しかし、この間、CPUリセッ
ト1に号によりセットされるフリップフロップ601の
出力と、μPC107のビット11〜9をデコードする
デコーダ607との出力により、RAM608L。(1) When the value of μP C107 is between 0000 and 01FF, the AND gate 605 outputs a logic signal level 1' and chips-enables the ROM 501. R.O.
M501 has 8 btt width data f, RAM 60
However, during this time, the output of the flip-flop 601, which is set to CPU reset 1, and the output of the decoder 607, which decodes bits 11 to 9 of the μPC 107, cause the RAM 608L to be supplied to the RAM 608L.
かチップセレクトしないようにし、ROM501の出力
データは、RAM608の0査地から512番地までG
こ取りこまれる。The output data of ROM 501 is stored in G from address 0 to address 512 of RAM 608.
This is taken in.
(11) μP C107の値が0200〜0!l
F Fの間RA Mアドレスのビット12〜9は、ドラ
イステートゲ−) 621によりハイインピーダンス状
、態に保たnている為、ROM 501の出力データは
、r(AM609の0査地から512番地に収りこまれ
る。(11) The value of μP C107 is 0200~0! l
During FF, bits 12 to 9 of the RAM address are kept in a high impedance state by the dry state gate 621, so the output data of the ROM 501 is It fits into the address.
(fit) 以下(11)と同様にして、μPC10
7の値が、0400〜o5FFの間は、RAM61oへ
、0600〜07FFの間は、rtAM611へ、08
00〜09FFの間は、IIAM612へ、0A00〜
0BFFの間は、RAM613の0査地から512番地
へROM 501の出力データが取りこtnる0
Qv) μPC1o7の値が、0C00〜0FFFの
間、ROM 5(11の内容は、出力されるが、フリッ
プフロップ601の出力と、デコーダ607の出力によ
り、どのRA M 608〜61ろもチップセレクトさ
れないため、この間RAMには、データは取りこまれ丁
、μP C107が更新されるのみである。(fit) Similarly to (11) below, μPC10
If the value of 7 is between 0400 and o5FF, it is sent to RAM61o, and between 0600 and 07FF, it is sent to rtAM611, and 08
Between 00 and 09FF, to IIAM612, 0A00 to
During 0BFF, the output data of ROM 501 is taken from address 0 to address 512 of RAM613.0Qv) When the value of μPC1o7 is between 0C00 and 0FFF, the contents of ROM 5 (11) are output. Since none of the RAMs 608 to 61 are chip-selected by the output of the flip-flop 601 and the decoder 607, no data is taken into the RAM during this time and the μPC 107 is only updated.
(■) μP(:’107の値が、1000〜3FF
Fの間、ANDゲート605は、論理信号レベル 0
を出力するため、ROM5o1及び、デコーダ607は
イイ・−プルされず、Qv)の場合と同様にμPC10
7が更新されるのみである0
μP C107が3FFFまで更新されると、ANDゲ
ート603は、論理信号レベル′1′コ出力いフリップ
プロップ601がリセットされ、反転ゲート614を通
して、μP C107が0000となるのと同時に、全
RA M 6oa〜613へのアクセスと、アドレス1
4ビット分すべてが有効となり、初期プログラムロード
の為のプログラムの、制御記憶装置へのロードは終了し
、通常のマイクロプログラム動作モードとなる。(■) μP(:'107 value is 1000 to 3FF
During F, the AND gate 605 has a logic signal level of 0.
Therefore, the ROM5o1 and the decoder 607 are not pulled, and the μPC10
When the 0 μP C107 is updated to 3FFF, the AND gate 603 outputs the logic signal level '1'. At the same time, access to all RAM 6oa~613 and address 1
All four bits become valid, the loading of the program for initial program loading into the control storage device is completed, and the normal microprogram operation mode is entered.
本発明によれは、以下の効果をあげることかできる。 According to the present invention, the following effects can be achieved.
W期プログラムロード用プログラムを格納する固定メモ
リQ)使用個数を減ら丁ことかでき、更に実装設計かや
り易くなる。Fixed memory for storing the program for loading the W-period program Q) The number of memory units used can be reduced, making implementation design easier.
第1図は本発明の一夷鳳例のシステムの概略何戎図・第
2図は電源投入からの動作フロー図、第3図はマイクロ
命令フォーマット図1第4図は、従来のマイクロプログ
ラムロード方式の説明図、第5図は、第4図に対する本
発明のマイクロプログラムロード方式の説明図、第6図
は、第5図の動作説明図である。
102・・・外部記憶媒体
107・・・マイクロプログラムカウンタ108・・・
制御記憶装置
601・・・モード表示フリップフロップ602・・・
マイクロ命令レジスタ
603 、 605 、606・・・ ANDゲート6
07・・・デコーダ
621・・・トライステートゲート
(、。Figure 1 is a schematic diagram of the system according to the present invention. Figure 2 is an operational flow diagram from power-on. Figure 3 is the microinstruction format. Figure 4 is the conventional microprogram loading method. FIG. 5 is an explanatory diagram of the microprogram loading method of the present invention with respect to FIG. 4, and FIG. 6 is an explanatory diagram of the operation of FIG. 102...External storage medium 107...Micro program counter 108...
Control storage device 601...Mode display flip-flop 602...
Microinstruction registers 603, 605, 606...AND gate 6
07...Decoder 621...Tri-state gate (,.
Claims (1)
グラムロードプログラム記憶部が、固定メモリで構成さ
れ、装置の電源投入と同時に、前記固定メモリ内に格納
された、初期プログラムロードプログラムが実行されて
、マイクロプログラムがロードされる、マイクロプログ
ラム制御方式の情報処理装置において、固定メモリから
可変メモリへのロード機構を備え初期プログラムロード
プログラムが、前記固定メモリより、前記可変メモリへ
ロード中であるか又は、前記可変メモリに格納されたマ
イクロプログラムを実行中であるかを示す、モード表示
手段を有することにより、固定メモリの使用個数が、マ
イクロ命令のビット巾に影響されないことを特徴とする
情報処理装置。1. The micro program storage section is configured with a variable memory and the initial program load program storage section is configured with a fixed memory. When the device is powered on, the initial program load program stored in the fixed memory is executed and the micro program is loaded. A microprogram control type information processing device into which a program is loaded is provided with a loading mechanism from a fixed memory to a variable memory, and an initial program load program is being loaded from the fixed memory to the variable memory, or An information processing device characterized in that the number of fixed memories to be used is not affected by the bit width of a microinstruction by having a mode display means for indicating whether a microprogram stored in a variable memory is being executed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10091286A JPS62257531A (en) | 1986-05-02 | 1986-05-02 | Information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10091286A JPS62257531A (en) | 1986-05-02 | 1986-05-02 | Information processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS62257531A true JPS62257531A (en) | 1987-11-10 |
Family
ID=14286549
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10091286A Pending JPS62257531A (en) | 1986-05-02 | 1986-05-02 | Information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS62257531A (en) |
-
1986
- 1986-05-02 JP JP10091286A patent/JPS62257531A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5566335A (en) | Method and apparatus for firmware upgrades in embedded systems | |
| JPS58219644A (en) | Instruction execution system | |
| JPS63226732A (en) | Sequencer circuit | |
| US7680976B2 (en) | Method and apparatus for emulating rewritable memory with non-rewritable memory in an MCU | |
| JPS62257531A (en) | Information processor | |
| JP2607319B2 (en) | Programmable controller | |
| KR100264758B1 (en) | Microcomputer | |
| JPS5821300B2 (en) | Memory address information | |
| JPS608557B2 (en) | Computer with programmable read-only memory | |
| JP2581057B2 (en) | Evaluation microcomputer | |
| JPS58107931A (en) | Eprom backup system | |
| JPS59186048A (en) | Microprogram control system | |
| JPS6218934B2 (en) | ||
| JPS6058493B2 (en) | information processing equipment | |
| JPH05289861A (en) | Memory content change device | |
| JPS6246493A (en) | Semiconductor integrated circuit device | |
| JPS6233396A (en) | Semiconductor memory device | |
| Huggins | Microprocessor Hardware | |
| JPH0287227A (en) | Data processor | |
| JPH03189726A (en) | Data processor | |
| JPH02126346A (en) | Address system for memory chip | |
| JPH0320826A (en) | Microprogram controller | |
| JPH03265030A (en) | Computer loading device | |
| JPS62182851A (en) | Computer memory switching circuit | |
| JPS63213029A (en) | Microprogram controller |