JPH0612319A - Microprocessor system - Google Patents
Microprocessor systemInfo
- Publication number
- JPH0612319A JPH0612319A JP16724492A JP16724492A JPH0612319A JP H0612319 A JPH0612319 A JP H0612319A JP 16724492 A JP16724492 A JP 16724492A JP 16724492 A JP16724492 A JP 16724492A JP H0612319 A JPH0612319 A JP H0612319A
- Authority
- JP
- Japan
- Prior art keywords
- speed
- microprocessor
- ram
- cycle
- rom
- 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)【要約】
【目的】マイクロプロセッサのサイクルをマイクロ命令
で可変にすることにより、低価格で高速なマイクロプロ
セッサシステムを得る。
【構成】マイクロ命令でラッチ14をセット/リセット
することで、サイクル回路10のサイクルを可変する。
ラッチ14が0の時、低速なROM4をアクセスし、ラ
ッチ14が“1”の時高速なRAM5をアクセスする。
【効果】RAMの高速性を生かした高速なプロセッサシ
ステムを得ることができる。
(57) [Abstract] [Purpose] A microprocessor system can be obtained at low cost and at high speed by making the cycle of the microprocessor variable by a micro instruction. [Structure] A cycle of a cycle circuit 10 is changed by setting / resetting a latch 14 by a micro instruction.
When the latch 14 is 0, the low-speed ROM 4 is accessed, and when the latch 14 is "1", the high-speed RAM 5 is accessed. [Effect] It is possible to obtain a high-speed processor system that takes advantage of the high speed of the RAM.
Description
【0001】[0001]
【産業上の利用分野】本発明は、低価格で高速なマイク
ロプロセッサシステムを提供するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention provides a low cost and high speed microprocessor system.
【0002】[0002]
【従来の技術】コンピュータ周辺装置はこの装置を制御
する為のマイクロプロセッサシステムを内蔵することが
多い。マイクロプロセッサシステムにはいくつかの構成
があるが、この1つとして次のような構成がある。BACKGROUND OF THE INVENTION Computer peripherals often incorporate a microprocessor system to control the device. The microprocessor system has several configurations, one of which is as follows.
【0003】装置を制御する為のマイクロプログラムは
フロッピディスク等の低価格な不揮発性メモリに格納さ
れており、装置電源投入時にこの不揮発性メモリから高
速なRAMに上記マイクロプログラムをロードする。ロ
ード完了後マイクロプロセッサは前記高速なRAMから
マイクロコードを順次読取り前記装置制御用のマイクロ
プログラムを実行する。不揮発性メモリから高速なRA
Mへマイクロプログラムをロードする為のROMが有
り、このROMには前記ロード処理用マイクロプログラ
ムが格納されている。A microprogram for controlling the device is stored in a low-priced non-volatile memory such as a floppy disk, and the microprogram is loaded from the non-volatile memory into a high-speed RAM when the power of the device is turned on. After the loading is completed, the microprocessor sequentially reads the microcode from the high speed RAM and executes the microprogram for controlling the device. High-speed RA from non-volatile memory
There is a ROM for loading the microprogram into the M, and the loading processing microprogram is stored in this ROM.
【0004】装置電源投入時、マイクロプロセッサは上
記ROMからマイクロコードを順次読取り、不揮発性メ
モリから高速なRAMへのマイクロプログラムロード処
理を実行し、ロード完了後高速なRAMにロードされた
装置制御用マイクロプログラムを実行する。When the power of the device is turned on, the microprocessor sequentially reads the microcode from the ROM, executes the microprogram loading process from the non-volatile memory to the high-speed RAM, and controls the device loaded in the high-speed RAM after the loading is completed. Run a microprogram.
【0005】ここでマイクロプロセッサシステムの処理
速度を考えた場合、1つのマイクロプロセッサでROM
又はRAMからマイクロコードを読取るので、処理速度
はROMとRAMのアクセス速度の遅い方に依存するこ
とがわかる。一般にRAM特にSRAMは高速アクセス
が可能であり、これに対してROMはSRAMの2倍か
ら3倍のアクセス時間を必要とし、特に低価格なEPR
OMはSRAMに対して5倍程度のアクセス時間を必要
とする。Considering the processing speed of the microprocessor system, one microprocessor is used as the ROM.
Alternatively, since the microcode is read from the RAM, it can be seen that the processing speed depends on the slower access speed of the ROM and the RAM. In general, RAM, especially SRAM, can be accessed at high speed, whereas ROM requires twice to three times as much access time as SRAM, and is particularly low-priced EPR.
OM requires about 5 times as much access time as SRAM.
【0006】又、コンピュータ周辺装置においては、電
源投入時のロード処理は高速性を要求されない。なぜな
ら、中央処理装置のプログラムロード時間に対して周辺
装置のプログラムロード時間は、非常に小さく無視され
る為である。逆にロード完了後の装置制御ではプロセッ
サシステムは高速な処理が要求される。なぜなら、プロ
セッサシステムの処理能力が周辺装置の処理能力に大き
な影響を与えるからである。Further, in the computer peripheral device, the load processing at the time of turning on the power supply is not required to have high speed. This is because the program load time of the peripheral device is very small and neglected with respect to the program load time of the central processing unit. On the contrary, in the device control after the completion of loading, the processor system is required to perform high-speed processing. This is because the processing capacity of the processor system greatly affects the processing capacity of the peripheral devices.
【0007】このことは、マイクロプロセッサシステム
はROMに格納されたマイクロプログラム実行時は低速
処理でよいが、RAMに格納されたマイクロプログラム
実行時は高速処理が要求されることを示す。This means that the microprocessor system needs low-speed processing when executing the microprogram stored in the ROM, but requires high-speed processing when executing the microprogram stored in the RAM.
【0008】マイクロプロセッサシステムの低価格高速
化の公知例としては、特開平2−230350がある。A known example of low cost and high speed processing of a microprocessor system is JP-A-2-230350.
【0009】[0009]
【発明が解決しようとする課題】本発明の目的は、RO
Mの低速性に関係なくRAM高速性を生かした低価格高
速なマイクロプロセッサシステムを提供することにあ
る。The object of the present invention is to provide RO
An object of the present invention is to provide a low-cost and high-speed microprocessor system that takes advantage of the high speed of RAM regardless of the low speed of M.
【0010】[0010]
【課題を解決するための手段】この目的を達成する手段
として、マイクロプログラム命令によりRAM又はRO
Mへのアクセス時間を可変できるようにする。As means for achieving this object, a RAM or RO is provided by a microprogram instruction.
Make the access time to M variable.
【0011】[0011]
【作用】これにより、プログラムロード時のように高速
処理を要求されないプログラムは低価格なROMに加納
し、装置制御用マイクロプログラムのように高速処理を
要求されるプログラムは高速なRAMに格納でき、1つ
のマイクロプロセッサでこれら2種のプログラムが実行
可能になる。As a result, a program that does not require high-speed processing such as when loading a program can be stored in a low-priced ROM, and a program that requires high-speed processing such as a device control microprogram can be stored in high-speed RAM. One microprocessor can execute these two types of programs.
【0012】[0012]
【実施例】本発明の一実施例を図1〜2を用いて説明す
る。図1は本発明のマイクロプロセッサシステムの構成
を示す。マイクロプロセッサ1はフロッピディスク制御
部2を経由してフロッピディスク3に接続されており、
フロッピディスク3には装置制御用マイクロプログラム
が格納されている。又、マイクロプロセッサ1は64K
Wの高速RAM5と4KWの低速低価格ROM4に接続
されており、ROM4にはフロッピディスク3からRA
M5へ装置制御用マイクロプログラムをロードする為の
マイクロプログラムが格納されている。又、マイクロプ
ロセッサ1がROM4中のマイクロコードを読取るに
は、RAM5中のマイクロコードの読取り時間の4倍の
時間が必要である。又、マイクロプロセッサ1内には、
マイクロプロセッサ1のサイクルを指示するサイクル回
路10と、マイクロプログラムアドレスをROM4又は
RAM5に指示する16ビットのアドレスカウンタ11
と、アドレスカウンタ11の上位4ビットが(0)16時
にROM4を(1)16〜(F)16時にRAMを選択する
為のアドレスデコード回路12と、ROM4又はRAM
5から読出されたマイクロコードをデコードする命令解
読回路13と、サイクルタイムを指示するラッチ14が
含まれており、ラッチ14はマイクロ命令によりセット
/リセット可能である。EXAMPLE An example of the present invention will be described with reference to FIGS. FIG. 1 shows the configuration of the microprocessor system of the present invention. The microprocessor 1 is connected to the floppy disk 3 via the floppy disk controller 2,
The floppy disk 3 stores a device control microprogram. Also, the microprocessor 1 is 64K
It is connected to a high-speed RAM 5 of W and a low-speed low-cost ROM 4 of 4 KW, and the ROM 4 includes a floppy disk 3 to RA.
A microprogram for loading the device control microprogram into M5 is stored. Further, in order for the microprocessor 1 to read the microcode in the ROM 4, it takes four times as long as the reading time of the microcode in the RAM 5. In addition, in the microprocessor 1,
A cycle circuit 10 for instructing the cycle of the microprocessor 1 and a 16-bit address counter 11 for instructing the ROM 4 or the RAM 5 of a micro program address.
And the address decoding circuit 12 for selecting the ROM 4 when the upper 4 bits of the address counter 11 is (0) 16 o'clock (1) 16 to (F) 16 o'clock, the ROM 4 or the RAM
5 includes an instruction decoding circuit 13 for decoding the microcode read from the memory 5, and a latch 14 for instructing a cycle time. The latch 14 can be set / reset by a microinstruction.
【0013】図2はマイクロプロセッサ1のサイクルを
示す。マイクロプロセッサ1は2つのサイクルを持ち、
このサイクルはラッチ14の状態で切替えられる。ラッ
チ14の状態が“0”の時サイクル2で動作し、“1”
の時サイクル1で動作する。サイクル1は命令読取り時
間aが短い為、RAM5はアクセス可能だが、ROM4
をアクセスすることはできない。サイクル2では命令読
取り時間aがサイクル1の命令読取り時間の4倍なので
RAM5とROM4にアクセス可能である。FIG. 2 shows a cycle of the microprocessor 1. The microprocessor 1 has two cycles,
This cycle is switched by the state of the latch 14. When the state of the latch 14 is "0", it operates in cycle 2 and "1"
At that time, it operates in cycle 1. In cycle 1, instruction read time a is short, so RAM5 is accessible, but ROM4
Can not access. Since the instruction read time a in cycle 2 is four times the instruction read time in cycle 1, RAM 5 and ROM 4 can be accessed.
【0014】装置電源投入からRAM5の高速性を利用
したマイクロプロセッサ高速処理に至るまでの過程は次
のとおりである。装置電源投入時、アドレスカウンタ1
1は0番地を示し、ラッチ14は“0”状態になるよう
にする。この時、アドレスデコード回路12はROM4
を選択し、サイクル回路10はサイクル2で動作する。
マイクロプロセッサ1は、ROM4から順次読出される
マイクロコードに従ってフロッピディスク3に格納され
ている装置制御用マイクロプログラムをフロッピデイス
ク制御回路2を経由してRAM5にロードする。このロ
ード動作はプログラムアドレス(0×××)16番地で実
行されることは言うまでもない。ロード完了後プログラ
ムアドレス(1000)16番地にジャンプする。アドレ
スカウンタ11の値が(1000)16になるので、アド
レスデコード回路12はRAM5を選択する。アドレス
(1000)16番地にラッチ14を“1”にする命令コ
ードを入れておけば、以後RAM5にロードされた装置
制御用マイクロプログラムはサイクル1の高速処理で実
行される。The process from the power-on of the device to the high-speed processing of the microprocessor utilizing the high speed of the RAM 5 is as follows. Address counter 1 when the device power is turned on
1 indicates the address 0, and the latch 14 is set to the "0" state. At this time, the address decoding circuit 12 is the ROM 4
Is selected, the cycle circuit 10 operates in cycle 2.
The microprocessor 1 loads the device control microprogram stored in the floppy disk 3 into the RAM 5 via the floppy disk control circuit 2 in accordance with the microcode sequentially read from the ROM 4. The load operation program address (0 ×××) is of course to be executed by the address 16. After loading is completed, jump to 16th program address (1000). Since the value of the address counter 11 becomes (1000) 16 , the address decoding circuit 12 selects the RAM 5. If an instruction code for setting the latch 14 to "1" is entered at the address (1000) 16th , the device control microprogram loaded into the RAM 5 will be executed in the high speed processing of cycle 1.
【0015】[0015]
【発明の効果】本発明により低価格高速なマイクロプロ
セッサシステムが提供できる。実施例によれば、従来マ
イクロプロセッサシステムの2倍高速化される。According to the present invention, a low cost and high speed microprocessor system can be provided. According to the embodiment, the speed is twice as high as that of the conventional microprocessor system.
【図1】本発明のマイクロプロセッサシステムの構成図
である。FIG. 1 is a configuration diagram of a microprocessor system of the present invention.
【図2】本発明のマイクロプロセッササイクルを示す図
である。FIG. 2 is a diagram showing a microprocessor cycle of the present invention.
1…マイクロプロセッサ、 10…サイクル回路、 11…アドレスカウンタ、 12…アドレスデコード回路、 14…サイクル切替え用ラッチ、 3…フロッピディスク、 4…ROM、 5…高速RAM。 DESCRIPTION OF SYMBOLS 1 ... Microprocessor, 10 ... Cycle circuit, 11 ... Address counter, 12 ... Address decode circuit, 14 ... Cycle switching latch, 3 ... Floppy disk, 4 ... ROM, 5 ... High speed RAM.
Claims (1)
を格納する為の不揮発性メモリと前記マイクロプロセッ
サが命令を実行するマイクロプログラムを格納する高速
なRAMと電源投入時に前記不揮発性メモリから前記高
速なRAMへマイクロプログラムをロードする為のマイ
クロプログラムを格納する為の低速なROMから成るマ
イクロプロセッサシステムにおいて、マイクロプログラ
ム命令によりマイクロプロセッサのサイクルタイムを可
変できることを特徴としたマイクロプロセサシステム。1. A microprocessor and a non-volatile memory for storing a micro program, a high-speed RAM for storing a micro program for executing instructions by the microprocessor, and a micro-memory from the non-volatile memory to the high-speed RAM when power is turned on. A microprocessor system comprising a low-speed ROM for storing a microprogram for loading a program, characterized in that the cycle time of the microprocessor can be varied by a microprogram instruction.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16724492A JPH0612319A (en) | 1992-06-25 | 1992-06-25 | Microprocessor system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16724492A JPH0612319A (en) | 1992-06-25 | 1992-06-25 | Microprocessor system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0612319A true JPH0612319A (en) | 1994-01-21 |
Family
ID=15846137
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16724492A Pending JPH0612319A (en) | 1992-06-25 | 1992-06-25 | Microprocessor system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0612319A (en) |
-
1992
- 1992-06-25 JP JP16724492A patent/JPH0612319A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0235523A (en) | Flexible asic microcomputer | |
| RU2005137695A (en) | Predictive command in the data processing system | |
| JPS6146858B2 (en) | ||
| JP2826309B2 (en) | Information processing device | |
| JP2731618B2 (en) | emulator | |
| JP2000076078A (en) | Microcomputer | |
| JPH02118811A (en) | Micro-computer | |
| JP2972930B2 (en) | Optimal environment setting device for computer system | |
| JPS6232500B2 (en) | ||
| JP2001075798A (en) | Information processor | |
| JPH0683986A (en) | Single chip microcomputer | |
| JPS6398735A (en) | Microcontroller | |
| JPH04355832A (en) | Microprogram controller | |
| JPH02210537A (en) | Microprogram controller | |
| JPH0512107A (en) | Program execution system | |
| JPS6148746B2 (en) | ||
| JPH04369723A (en) | Micro program controller | |
| JPS62271143A (en) | Coprocessor | |
| JPH04324566A (en) | Method for controlling memory map switching of multiprocessor system | |
| JPH03257572A (en) | Multiprocessor system | |
| JPS63159935A (en) | data processing equipment | |
| JPS584443A (en) | Setting system of program constant | |
| JPH01237856A (en) | Instruction memory range expansion device | |
| JPH04246729A (en) | Memory selection control method in i/o adaptor | |
| JPH07271750A (en) | One-chip microcomputer |