JPH03250275A - 1 chip microprocessor - Google Patents

1 chip microprocessor

Info

Publication number
JPH03250275A
JPH03250275A JP2045440A JP4544090A JPH03250275A JP H03250275 A JPH03250275 A JP H03250275A JP 2045440 A JP2045440 A JP 2045440A JP 4544090 A JP4544090 A JP 4544090A JP H03250275 A JPH03250275 A JP H03250275A
Authority
JP
Japan
Prior art keywords
chip
input
microprogram
output
microprocessor system
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.)
Granted
Application number
JP2045440A
Other languages
Japanese (ja)
Other versions
JPH0827790B2 (en
Inventor
Fumi Endo
文 遠藤
Koichi Nakai
中井 幸一
Keiichi Yu
恵一 勇
Nobukazu Kondo
伸和 近藤
Itsuki Hayashi
林 逸樹
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.)
Hitachi Ltd
Hitachi Chubu Software Ltd
Original Assignee
Hitachi Ltd
Hitachi Chubu Software 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 Hitachi Ltd, Hitachi Chubu Software Ltd filed Critical Hitachi Ltd
Priority to JP2045440A priority Critical patent/JPH0827790B2/en
Publication of JPH03250275A publication Critical patent/JPH03250275A/en
Publication of JPH0827790B2 publication Critical patent/JPH0827790B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は中央処理装置 (cpu)を搭載するLSIと
同一チップ上に、独自プロセッサで動作する1個もしく
は複数のI10コントローラを取込み、CPUのマイク
ロプログラムを利用しこれらのコントローラを制御する
ワンチップマイクロプロセッサ方式に関するものである
Detailed Description of the Invention [Field of Industrial Application] The present invention incorporates one or more I10 controllers that operate on a unique processor on the same chip as an LSI equipped with a central processing unit (CPU), and This relates to a one-chip microprocessor system that uses microprograms to control these controllers.

〔従来の技術〕[Conventional technology]

メインボード上のICチップ数の削減を図り、システム
装置の小型化を行なう為、現在まで数多くの方式が提案
されてきている。例えば、特開昭62−107361号
rCPUの周辺回路用LS■」や特開昭62−1073
62号「システム構成用LS IJのように、CPU周
辺論理(DMAコントローラ、割込コントローラ、イン
タバルタイマ等)の1チツプ化を推進し、ボード上の実
装密度の緩和を図り、コスト低減を行なう方式を開示し
ている。
Many methods have been proposed to date to reduce the number of IC chips on the main board and downsize the system device. For example, Japanese Patent Application Laid-open No. 62-107361 rCPU peripheral circuit LS
No. 62: ``A system that promotes the integration of CPU peripheral logic (DMA controller, interrupt controller, interval timer, etc.) into a single chip, such as LS IJ for system configuration, reduces the mounting density on the board, and reduces costs. is disclosed.

また、CPU LSIまでを含めたICチップ数の削減
を行う為、特開昭62−152001号「マイクロプロ
セッサJに示されるように、CPUと同一チップ上にD
MAコントローラまで取込み、ハードウェアの効率的な
利用を図る方式がある。又、ワンチップ内に複数のCP
Uやコプロセッサを内臓させ動作させる特開昭62−2
95168号「機器制御装置」や特開昭62−1504
59号「シングルチップマイクロコンピュータ」等の方
式も提案されてきた。
In addition, in order to reduce the number of IC chips including the CPU LSI, as shown in Japanese Patent Application Laid-open No. 152001/1988, "Microprocessor J,"
There is a method that incorporates the MA controller to efficiently utilize the hardware. Also, multiple CPs in one chip
JP-A-62-2 which incorporates U and co-processor and operates
No. 95168 "Equipment control device" and JP-A-62-1504
Systems such as No. 59 "Single Chip Microcomputer" have also been proposed.

さらに最近では、特開昭63−41970号rマイクロ
コンピュータシステム」に示されるように、演算やデー
タ処理機能を主とするマイクロコンピュータと周辺機器
の制御を行なうマイクロコンピュータを同一チップ上に
格納し、ICチップ数を減らし、小型化を図る方法も提
案されている。
More recently, as shown in Japanese Unexamined Patent Publication No. 63-41970 r Microcomputer System, a microcomputer that mainly performs arithmetic and data processing functions and a microcomputer that controls peripheral devices are housed on the same chip. A method of reducing the number of IC chips and achieving miniaturization has also been proposed.

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

さらに高度なコンピュータシステムやマイクロプログラ
ム制御に基づき動作する複雑かつ高機能な周辺機器の制
御を行なうような場合には、単純な機能の統合のみによ
る1チツプ化では、1チツプ化の為のプロセッサ数増加
によるLSI内ゲート数増大や制御用メモリ容量の増加
あるいはメモリ容量増加によりLSI内に取込めなくな
り、LSI外部へ出した時の制御メモリインタフェース
信号のビンネックというような問題も新たに発生する為
、1チツプ化の為のさらに効率的な手法の検討が必要と
なってきている。
Furthermore, when controlling complex and highly functional peripheral devices that operate based on advanced computer systems and microprogram control, it is difficult to integrate simple functions into a single chip, which requires a large number of processors. Due to the increase in the number of gates in the LSI, the increase in control memory capacity, or the increase in memory capacity, it becomes impossible to incorporate it into the LSI, and new problems such as bottle necks of control memory interface signals when outputting to the outside of the LSI occur. It is becoming necessary to consider more efficient methods for reducing the number of chips to one chip.

本発明の目的は1個のプロセッサと1つのマイクロプロ
グラムシーケンサのみ動作するマイクロプログラムによ
り、CPU及び周辺I10を制御させるようなワンチッ
プマイクロプロセッサを提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a one-chip microprocessor in which a CPU and peripheral I10 are controlled by a microprogram operating only one processor and one microprogram sequencer.

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

上記目的は、専用のプロセッサを持ち、マイクロプログ
ラム制御で動作するような周辺I10装置に対し、工/
○コントローラの機能をCPUと同一チップ上で実現さ
せ、I10コントローラ独自のプロセッサは使用せずC
PU用プロセッサを共用して制御すると同時に、マイク
ロプログラムについても周辺I10専用のものを使用せ
ず、CPUのマイクロシーケンサで制御されるマイクロ
プログラムのみにて制御することにより実現される。
The above purpose is to provide engineering and
○ The functions of the controller are realized on the same chip as the CPU, and the I10 controller's unique processor is not used.
This is realized by controlling the CPU by sharing the processor, and by controlling only the microprogram controlled by the microsequencer of the CPU without using a microprogram exclusively for the peripheral I10.

〔作用〕[Effect]

複雑、高機能な周辺I10を制御するようなI10コン
トローラは、−船釣に、汎用あるいは専用のプロセッサ
を持ち、マイクロプログラムにより制御される為、I1
0コントローラの機能を、CPUと同一チップ上に取込
み1本来CPUとして機能する制御部の一部を改造し、
これらI10コントロール部を直接制御することにより
、I10独自のプロセッサを削除し、動作させることが
できる。又、同時に、CPUを制御するマイクロプログ
ラム格納領域の一部にI10コントロール部への起動や
割込処理ルーチンを埋め込んでおくことにより、CPU
がフェッチした命令がこれら■/○コントローラに対す
る入出力命令であった場合には、指定処理ルーチンにブ
ランチさせ、起動手続きを行ない、その後、再度本来の
CPUの命令処理に戻すことにより、CPUを制御する
1つのマイクロプログラムシーケンサで動作するマイク
ロプログラムのみで周辺I10コントローラ制御を誤動
作することなく行なうことができる。
The I10 controller that controls the complex and highly functional peripheral I10 has a general-purpose or dedicated processor and is controlled by a microprogram.
0 The functions of the controller are incorporated into the same chip as the CPU. 1 A part of the control section that originally functions as the CPU is modified,
By directly controlling these I10 control sections, the I10's unique processor can be removed and operated. At the same time, by embedding startup and interrupt processing routines for the I10 control section in a part of the microprogram storage area that controls the CPU, the CPU
If the instruction fetched is an input/output instruction for these ■/○ controllers, the CPU is controlled by branching to the specified processing routine, performing the startup procedure, and then returning to the original CPU instruction processing. Peripheral I10 controller control can be performed without malfunctioning using only a microprogram operating on one microprogram sequencer.

〔実施例〕〔Example〕

以下本発明の一実施例について図に従い説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を示すワンチップ処理装置の
詳細ブロック図である。1はALU演算機能と、ディス
クコントローラDKC30,プリンタコントローラPR
C40の機能を同一チップ上に設け、CPUのマイクロ
プログラムのみで各種機能の制御を行うことを特徴とす
るワンチップマイクロプロセッサである。通常、命令フ
ェッチ動作を行なう場合、演算器ALU13の演算結果
をALU出力バス(Cバス)16からプログラムカウン
タPC8に格納し、PCBのアドレスをローカルアドレ
ス18から主メモリ5に送り、命令コードをローカルデ
ータバス19から読出し、命令レジスタIR6に格納す
る。IR6に格納した命令コードは、デコーダ7により
デコードされ、マイクロシーケンサ2のアドレスを切替
え、指定のマイクロプログラムの先頭へブランチさせる
FIG. 1 is a detailed block diagram of a one-chip processing device showing an embodiment of the present invention. 1 is ALU calculation function, disk controller DKC30, printer controller PR
This is a one-chip microprocessor characterized in that the functions of the C40 are provided on the same chip, and various functions are controlled only by the microprogram of the CPU. Normally, when performing an instruction fetch operation, the operation result of the arithmetic unit ALU13 is stored in the program counter PC8 from the ALU output bus (C bus) 16, the PCB address is sent from the local address 18 to the main memory 5, and the instruction code is sent to the local It is read from the data bus 19 and stored in the instruction register IR6. The instruction code stored in the IR 6 is decoded by the decoder 7, and the address of the microsequencer 2 is switched to branch to the beginning of the specified microprogram.

3はマイクロプログラムを格納するROM/RAMであ
り、マイクロシーケンサ2のアドレスによりデータを読
出し、マイクロデータレジスタEMB4に格納し、EM
B4に読出されたマイクロプログラムはDKC30,、
PRC40の制御及びALU13の制御等、一連のコン
トローラ制御を行tう、DKC30とPRC40はそれ
ぞれDK装置22及びプリンタ23を制御する為のハー
ドウェアであり、これらはALU入カバカバスバス)1
4とALU出力バス(Cバス)16に接続され、CPU
の制御部と同様に、マイクロプログラムの指定により自
在にデータの格納、読出し、演算を行なうことができる
ようになっている。
3 is a ROM/RAM that stores a microprogram, reads data according to the address of the microsequencer 2, stores it in the microdata register EMB4, and stores the data in the EM
The microprogram read to B4 is DKC30.
The DKC 30 and PRC 40 are hardware for controlling the DK device 22 and the printer 23, respectively, and perform a series of controller controls such as controlling the PRC 40 and controlling the ALU 13.
4 and ALU output bus (C bus) 16,
Similar to the control section, data can be freely stored, read, and operated as specified by the microprogram.

DKC30は汎用LSIHDC21を制御し、DK装置
22に起動をかける。ここで、汎用LSIHDC21の
論理をLSI中DKC部30に取込むことができるなら
、チップ内のDK制御部30で直接DK装置22を制御
することも可能である。また、PRC40はプリンタ2
3を直接制御し、起動をかける。
The DKC 30 controls the general-purpose LSI HDC 21 and activates the DK device 22. Here, if the logic of the general-purpose LSI HDC 21 can be incorporated into the DKC unit 30 in the LSI, it is also possible to directly control the DK device 22 with the DK control unit 30 in the chip. Also, PRC40 is printer 2
3 is directly controlled and activated.

DKC30−PRC40が起動をかけたDK装置22、
あるいはプリンタ23の動作が終了すると、ハード的な
割込がCPUに報告される。報告のしかたには2通りの
方法があり、通常のCPUへの割込という形で報告され
、受付けたマイクロプログラムが一連の割込処理ルーチ
ンを実行する方法と、サイクルスチール処理によりその
時に実行しているプログラムを中断し、マイクロ実行番
地をハード的に別のプログラムに切替えて実行する方法
を採っている。
DK device 22 activated by DKC30-PRC40,
Alternatively, when the operation of the printer 23 is completed, a hardware interrupt is reported to the CPU. There are two methods of reporting: one is in the form of a normal CPU interrupt, and the microprogram that receives the interrupt executes a series of interrupt processing routines, and the other is in the form of a cycle steal process. This method involves interrupting the current program, switching the micro execution address to another program using hardware, and executing the program.

又、前述したマイクロプログラム格納用ROM/RAM
3の中には、これら一連の制御を行なう為のマイクロプ
ログラムが格納されており、そのメモリマツプ50に示
す様に、cpuの命令処理部や割込処理、DKやPRに
対する起動ルーチンや解析処理部等が順次格納されてお
り、主メモリから読出された命令コードに従い任意のマ
イクロアドレスの制御部を実行するとともに、終了応答
や割込報告があった場合に各種処理ルーチンにて対応す
ることを可能としている。
In addition, the aforementioned microprogram storage ROM/RAM
3 stores microprograms for performing these series of controls, and as shown in the memory map 50, the CPU's instruction processing section, interrupt processing, startup routines and analysis processing section for DK and PR are stored. etc. are stored sequentially, and it is possible to execute the control section of any micro address according to the instruction code read from the main memory, and to respond with various processing routines when there is a completion response or interrupt report. It is said that

第3図は、第1図に対して通常のCPUと周辺I10装
置との一般的な接続手法の1例を示す図である。C,P
U60はCPU制御用マイクロプログラム格納用メモリ
61を持ち、周辺工/○装置の1例として示すディスク
コントローラDKC62とプリンタコントローラPRC
65とは共通IOCバス8で接続されている。DKC6
2は専用のプロセッサ64とディスク制御用マイクロプ
ログラム格納用メモリ63を持ち、マイクロプログラム
の制御により、汎用LSIHDC21を制御し、ディス
ク装[22を動作させる。またPRC65もDKC62
と同様、専用のプロセッサ67と、プリンタ制御用マイ
クロプログラム格納用メモリ66を持ち、マイクロプロ
グラム制御によりプリンタ23を動作させる。DK装置
22あるいはプリンタ23はそれぞれ独自のマイクロプ
ログラム制御で動作できる為、CPUはDKC62ある
いはPRC65に起動をかけた後はハードウェア割込が
DK装置22あるいはプリンタ23から報告されるまで
CPUの命令処理を実行することができる。しかしなが
ら、本システム構成では、1チツプ化によるLSI/I
C数の削減や実装面積の縮小、原価低減という面から考
えた場合、複数の周辺I10装置を複数のプロセッサ、
複数種類のマイクロプログラムで制御することになって
おり、制御用ROM/RAM等の物量まで考えると非常
に実装効率の悪いものになっている。
FIG. 3 is a diagram showing an example of a general connection method between a normal CPU and a peripheral I10 device compared to FIG. 1. C,P
The U60 has a memory 61 for storing microprograms for CPU control, and includes a disk controller DKC62 and a printer controller PRC, which are shown as an example of peripheral equipment/○ equipment.
65 through a common IOC bus 8. DKC6
2 has a dedicated processor 64 and a memory 63 for storing a disk control microprogram, and controls the general-purpose LSI HDC 21 and operates the disk unit [22] under the control of the microprogram. Also PRC65 is DKC62
Similarly, it has a dedicated processor 67 and a memory 66 for storing a printer control microprogram, and operates the printer 23 under microprogram control. Since each DK device 22 or printer 23 can operate under its own microprogram control, after the CPU activates the DKC 62 or PRC 65, the CPU continues processing instructions until a hardware interrupt is reported from the DK device 22 or printer 23. can be executed. However, in this system configuration, the LSI/I
From the viewpoint of reducing the number of C, mounting area, and cost, it is possible to connect multiple peripheral I10 devices to multiple processors,
Control is performed using multiple types of microprograms, and when considering the amount of control ROM/RAM, etc., the implementation efficiency is extremely low.

さらには、CPU60とCPU制御用マイクロプログラ
ム格納用メモリも持っており、システム全体のLSI化
を進める為にはさらに効果的な制御手法が必要となる。
Furthermore, it also has a CPU 60 and a memory for storing microprograms for controlling the CPU, so a more effective control method is required in order to advance the conversion of the entire system to LSI.

第2図に第1図で示したワンチップマイクロプロセッサ
における処理手順を説明する。
FIG. 2 describes the processing procedure in the one-chip microprocessor shown in FIG. 1.

まず、プログラムカウンタPC8のメモリアドレスに従
い、主メモリ5から命令をフェッチし、命令レジスタI
R6に格納された命令コードのデコード100を行ない
、この命令が■0命令でなければそのままCPUの命令
処理102を実行する。■○命令であれば、そのデバイ
スナンバーが、ディスクコントローラ(DKC)103
かプリンタコントローラ(PRC)104か、あるいは
その他のIOに対する起動1.05なのかをマイクロプ
ログラムにより切分け、指定されたデバイスに対しての
起動ルーチン106にマイクロアドレスをブランチさせ
る。実際にハードウェアに対して起動をかけると直ちに
元のマイクロメインルーチンにリタン107L、CPU
の命令処理を継続108する。
First, an instruction is fetched from the main memory 5 according to the memory address of the program counter PC8, and an instruction is fetched from the instruction register I.
The instruction code stored in R6 is decoded 100, and if this instruction is not a 0 instruction, the instruction processing 102 of the CPU is directly executed. ■If it is an instruction, the device number is disk controller (DKC) 103.
The microprogram determines whether the activation is for the printer controller (PRC) 104, or other IO, and branches the microaddress to the activation routine 106 for the specified device. When you actually start up the hardware, it immediately returns to the original micro main routine and the CPU
The instruction processing continues 108.

DMA転送等cpvの命令動作とは独立したIO動作や
割込処理が終了し、IOより終了割込109が返される
と、マイクロプログラムは割込処理110を開始し、例
えばディスクDKからの割込み111ならばDKの割込
処理ルーチン112にマイクロアドレスをブランチさせ
、プリンタPRからの割込み113ならばPRの割込処
理ルーチン114にマイクロアドレスをブランチさせ、
それぞれの割込処理を行ない、解析終了後直ちに元のマ
イクロメインルーチンにリタン115し、さらにCPU
の命令処理を継続116していく。
When the IO operation and interrupt processing independent of the cpv instruction operation such as DMA transfer are completed and the end interrupt 109 is returned from the IO, the microprogram starts the interrupt processing 110, and for example, the microprogram starts the interrupt processing 111 from the disk DK. If so, branch the microaddress to the interrupt processing routine 112 of the DK, and if it is an interrupt 113 from the printer PR, branch the microaddress to the interrupt processing routine 114 of the PR.
Performs each interrupt process, immediately returns to the original micro main routine 115 after the analysis is completed, and then
The instruction processing continues 116.

一方、高速な割込処理が必要な場合は、入出力装置に対
する起動に対して、先記したサイクルスチールの方法で
処理が行なわれる。現在実行中のCPUの命令処理10
8に対し、終了割込109を返さず、サイクルスチール
リクエスト117を報告することにより、実行中のマイ
クロプログラムには全く割込を意識させず、ハード的に
実行番地を変更し、引続きサイクルスチールリクエスト
されたI10割込処理ルーチンのマイクロプログラムを
実行させることになる112,114゜当然今まで実行
されていたCPUの命令処理は中断された形となってお
り5割込ルーチン112,114の終了とともに5プロ
グラムに意識させることなく再度、ハード的にスチール
開始番地に実行アドレスが戻されることになる。
On the other hand, when high-speed interrupt processing is required, processing is performed using the above-described cycle stealing method for activation of an input/output device. Currently executing CPU instruction processing 10
8, by not returning the end interrupt 109 and reporting the cycle steal request 117, the executing microprogram is completely unaware of the interrupt, changes the execution address in hardware, and continues to issue the cycle steal request. 112, 114 The microprogram of the I10 interrupt processing routine that has been executed will be executed. Naturally, the CPU instruction processing that has been executed up to now will be interrupted, and as soon as the 5th interrupt routine 112, 114 ends, 5 The execution address is returned to the steal start address in hardware again without the program being aware of it.

第4図にマイクロプログラムの切替えタイミングチャー
トを示す。第4図は一例としてDKに対する起動の手順
に従い、処理を時間軸で表わした図である。CPU処理
マイクロ、DK処理マイクロ200は共に、ワンチップ
マイクロプロセッサ内の共通マイクロシーケンサ2で制
御される。CPU処理マイクロは、CPUの命令処理を
行なうマイクロプログラム群を示し、I)K処理マイク
ロはDKの起動9割込処理を行なうマイクロプログラム
群を示す。
FIG. 4 shows a microprogram switching timing chart. FIG. 4 is a diagram showing, as an example, processing on a time axis according to the procedure for starting up the DK. Both the CPU processing micro and the DK processing micro 200 are controlled by a common micro sequencer 2 within a one-chip microprocessor. The CPU processing micro indicates a micro program group that processes instructions of the CPU, and the I) K processing micro indicates a micro program group that executes DK startup 9 interrupt processing.

方式(a)と(b)との大きな相違を示す。The major difference between methods (a) and (b) is shown.

(、)方式はDK起動後の割込みに対し、CPUのマイ
クロプログラムが介在し、判定処理を経てDK処理マイ
クロへ意識的にブランチさせることに特長がある。一方
、(b)方式は本発明において割込、応答処理の高速化
を狙ったものでありサイクルスチールリクエストと称す
る割込みをCPU処理部実行中のマイクロプログラムは
全く意識する必要がなく、サイクルスチールにより実行
中の処理が中断され、ハード的にマイクロシーケンサを
DKのマイクロアドレスに切替え、DKの割込処理を行
なわせる方式である。よって割込処理が終了すると再度
、サイクルスチールで中断したCPU処理マイクロ部か
ら実行再開始されるため、この時もCPU処理マイクロ
プログラムは全く意識せず1割込がなかった時と同じシ
ーケンスで動作し処理を継続する9 以上の様な特長を持たせながら、ワンチップマイクロプ
ロセッサとして複雑かつ高機能な周辺I10までも同一
チップ上に取込み、CPUのマイクロプログラム及び演
算器を使って工○までも動作させるという手法をとるこ
とにより、システムボード上の■/○コントロール用マ
イクロプログラムの格納用ROM/RAM及びI10制
御専用に設けた汎用プロセッサ等の大幅な削減が実現で
き、装置の小型化を図ることが可能となった。
The feature of the (,) method is that the CPU microprogram intervenes in response to an interrupt after the DK is started, and intentionally branches the interrupt to the DK processing micro after a determination process. On the other hand, method (b) is aimed at speeding up interrupt and response processing in the present invention, and the microprogram running the CPU processing unit does not need to be aware of interrupts called cycle steal requests. In this method, the process being executed is interrupted, the micro sequencer is switched to the DK's micro address by hardware, and the DK interrupt process is performed. Therefore, when the interrupt processing is completed, execution is restarted from the CPU processing micro program that was interrupted by the cycle steal, so at this time, the CPU processing micro program is completely unaware and operates in the same sequence as when there was no interrupt. 9 While having the above-mentioned features, as a one-chip microprocessor, even complex and highly functional peripheral I10 can be incorporated on the same chip, and even the process can be carried out using the CPU's microprogram and arithmetic unit. By using this method, it is possible to significantly reduce the ROM/RAM on the system board for storing the ■/○ control microprograms and the general-purpose processor provided exclusively for I10 control, thereby reducing the size of the device. It became possible.

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

本発明によれば、複雑かつ高機能な周辺110を持つよ
うなシステムの場合でも、CPUと同一チップ内にI1
0コントローラを取込み、CPUのマイクロプログラム
で制御することが可能となり、システムボード上の周辺
工/○用LSIや制御用マイクロプログラム格納用RO
M/RAM等の部品を削減することが可能となり、装置
の大幅な小型化及び原価低減を図ることができる。
According to the present invention, even in the case of a system having a complex and highly functional peripheral 110, the I1 is installed in the same chip as the CPU.
It is possible to incorporate the 0 controller and control it with the microprogram of the CPU, and the RO for storing the peripheral work/○ LSI on the system board and the control microprogram.
It becomes possible to reduce the number of components such as M/RAM, and it is possible to significantly reduce the size and cost of the device.

又、本方式の実現にあたっては、LSI化技術の進歩に
よるチップ内ゲート数の大規模化や制御起用ROM/R
AM容量の増大により、cpuと同一チップ上に取込む
べき周辺I10の数が増加しても本方式の延長線上で対
処でき、将来への拡張性も有るという利点がある。
In addition, in realizing this method, the number of gates in a chip has increased due to advances in LSI technology, and the number of control ROM/R
Even if the number of peripheral I10s to be included on the same chip as the CPU increases due to the increase in AM capacity, this method can be handled as an extension of the present method, and has the advantage of being expandable in the future.

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

第1図は本発明の一実施例を示す中央処理装置のブロッ
ク図、第2図は第1図で示したワンチップマイクロプロ
セッサにおける処理手順を示す図、第3図は従来例を示
す図、第4図はDKアクセス時の応答処理方式を説明す
る図である。 1・・・ワンチップマイクロプロセッサ、2・・・マイ
クロシーケンサ、3・・・マイクロプログラム格納用R
OM/RAM、4・・・マイクロデータレジスタ。 5・・・主メモリ、6・・・命令レジスタ、8・・・プ
ログラムカウンタ、30・・・ディスクコントローラ、
40・・・プリンタコントローラ。 ゛〜1′ 第 J 口 第 図
FIG. 1 is a block diagram of a central processing unit showing an embodiment of the present invention, FIG. 2 is a diagram showing a processing procedure in the one-chip microprocessor shown in FIG. 1, and FIG. 3 is a diagram showing a conventional example. FIG. 4 is a diagram illustrating a response processing method when accessing the DK. 1... One-chip microprocessor, 2... Micro sequencer, 3... R for microprogram storage
OM/RAM, 4...Micro data register. 5... Main memory, 6... Instruction register, 8... Program counter, 30... Disk controller,
40...Printer controller.゛〜1′ Jth part diagram

Claims (1)

【特許請求の範囲】 1、マイクロプログラム制御により動作する1チップマ
イクロプロセッサ方式において、中央処理装置に対して
専用のプロセッサを持ち、マイクロプログラム制御で動
作する周辺入出力装置の制御部を、上記中央処理装置と
同一チップ上に取込んだことを特徴とするワンチップマ
イクロプロセッサ方式。 2、1個以上複数の演算器を持ち、1つのマイクロシー
ケンサで動作するマイクロプログラムに従い中央処理装
置の制御と同一チップ内に取込んだ1つあるいは複数の
周辺入出力コントローラの制御を平行して行なうことを
特徴とするワンチップマイクロプロセッサ方式。 3、マイクロプログラムの格納用制御メモリを、同一チ
ップ上あるいはチップの外部に持ち、チップ内の演算器
、シーケンサ及びレジスタの少なくとも一部を中央処理
装置と周辺入出力コントローラで共用することを特徴と
するワンチップマイクロプロセッサ方式。 4、演算機能部と複数の入出力コントローラの制御機能
部を同一チップ上に設け、中央処理装置の命令処理部や
割込処理、入出力装置に対する起動ルーチン、終了情報
解析ルーチン等を格納するマイクロプログラムにより各
種入出力機能の制御を行なうことを特徴とするワンチッ
プマイクロプロセッサ方式。 5、チップ内の入出力コントローラに対する入出力命令
を命令コードのデコードにより検出し、入出力コントロ
ーラ制御用マイクロ処理に分岐させ、周辺入出力装置に
起動をかけ、周辺入出力装置の動作の終了、あるいは入
出力コントローラからの割込み要求があった時はサイク
ルスチール動作を行ない実行中のマイクロプログラムの
処理を中断し、周辺入出力装置の割込処理ルーチン用の
マイクロプログラムを実行し、解析終了後直ちに中断中
のマイクロ処理を再開始することを特徴とするワンチッ
プマイクロプロセッサ方式。 6、1本のマイクロシーケンサのみで動作するが、相互
関係がなく、互いに独立して動作する複数のタスクから
なるマイクロプログラムに対し、サイクルスチールする
ことにより、互いのマイクロプログラムに意識させるこ
となく、実行番地を変更することを特徴とするワンチッ
プマイクロプロセッサ方式。
[Claims] 1. In a one-chip microprocessor system that operates under microprogram control, the central processing unit has a dedicated processor, and the control section of the peripheral input/output device that operates under microprogram control is controlled by the central processing unit. A one-chip microprocessor system that is characterized by being incorporated on the same chip as the processing device. 2. It has one or more arithmetic units and controls the central processing unit and one or more peripheral input/output controllers incorporated into the same chip in parallel according to a microprogram running on one microsequencer. A one-chip microprocessor system that is characterized by 3. A control memory for storing microprograms is provided on the same chip or outside the chip, and at least a part of the arithmetic unit, sequencer, and registers in the chip are shared by the central processing unit and the peripheral input/output controller. One-chip microprocessor system. 4. A microcomputer that provides the arithmetic function unit and the control function unit of multiple input/output controllers on the same chip, and stores the instruction processing unit of the central processing unit, interrupt processing, startup routines for input/output devices, termination information analysis routines, etc. A one-chip microprocessor system that is characterized by controlling various input/output functions using programs. 5. Detecting an input/output command for the input/output controller in the chip by decoding the instruction code, branching to the microprocessing for controlling the input/output controller, starting up the peripheral input/output device, and terminating the operation of the peripheral input/output device. Alternatively, when an interrupt request is received from the input/output controller, a cycle steal operation is performed to interrupt the processing of the currently executing microprogram, execute the microprogram for the interrupt processing routine of the peripheral input/output device, and immediately after the analysis is completed. A one-chip microprocessor system that is characterized by restarting suspended microprocessing. 6. Although it operates with only one microsequencer, cycle stealing can be performed on microprograms consisting of multiple tasks that have no mutual relationship and operate independently, without making each microprogram aware of the other. A one-chip microprocessor system that is characterized by changing the execution address.
JP2045440A 1990-02-28 1990-02-28 1-chip microprocessor Expired - Fee Related JPH0827790B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2045440A JPH0827790B2 (en) 1990-02-28 1990-02-28 1-chip microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2045440A JPH0827790B2 (en) 1990-02-28 1990-02-28 1-chip microprocessor

Publications (2)

Publication Number Publication Date
JPH03250275A true JPH03250275A (en) 1991-11-08
JPH0827790B2 JPH0827790B2 (en) 1996-03-21

Family

ID=12719384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2045440A Expired - Fee Related JPH0827790B2 (en) 1990-02-28 1990-02-28 1-chip microprocessor

Country Status (1)

Country Link
JP (1) JPH0827790B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5240037A (en) * 1975-09-25 1977-03-28 Nec Corp Processing equipment for microprogram control data
JPS621031A (en) * 1985-03-25 1987-01-07 Hitachi Ltd data processing equipment
JPH01298458A (en) * 1988-05-26 1989-12-01 Rohm Co Ltd 1 chip microcomputer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5240037A (en) * 1975-09-25 1977-03-28 Nec Corp Processing equipment for microprogram control data
JPS621031A (en) * 1985-03-25 1987-01-07 Hitachi Ltd data processing equipment
JPH01298458A (en) * 1988-05-26 1989-12-01 Rohm Co Ltd 1 chip microcomputer

Also Published As

Publication number Publication date
JPH0827790B2 (en) 1996-03-21

Similar Documents

Publication Publication Date Title
US4547849A (en) Interface between a microprocessor and a coprocessor
EP0652514B1 (en) Data processing apparatus handling plural divided interruptions
JPH07120338B2 (en) Method for a data processor to coordinate the execution of instructions by a coprocessor and the data processor
JPH0916409A (en) Microcomputer
JP2001167058A (en) Information processing device
JPH03250275A (en) 1 chip microprocessor
JPS6336023B2 (en)
JP2003196251A (en) Multi-cpu system
JPS6223895B2 (en)
JPS61160144A (en) Emulation system
JPS6352240A (en) Data processor
JP2003029966A (en) Data processing device
JPH03269759A (en) Multiprocessor control system
JP2572821B2 (en) Operation processing method by instruction re-execution
JP2504515B2 (en) Test channel instruction execution control method
JPH0290331A (en) Interprocessor communication instruction processing device for virtual computer system
JPH05233525A (en) Input/otuput processor
JPH02176832A (en) Microcomputer
JPS62269237A (en) Data processor
JPH0683640A (en) Interrupt response processing method
JPS61166631A (en) Microprogram control processor
JP2002312335A (en) Asymmetric multiprocessor
JPH03127162A (en) How to access CPU shared memory
JPH0198029A (en) Data processor
JPH0233651A (en) Electronics

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees