JPH046030B2 - - Google Patents
Info
- Publication number
- JPH046030B2 JPH046030B2 JP56072645A JP7264581A JPH046030B2 JP H046030 B2 JPH046030 B2 JP H046030B2 JP 56072645 A JP56072645 A JP 56072645A JP 7264581 A JP7264581 A JP 7264581A JP H046030 B2 JPH046030 B2 JP H046030B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- circuit
- central processing
- bus
- address
- 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.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
- Multi Processors (AREA)
- Microcomputers (AREA)
Description
【発明の詳細な説明】
本発明は複数のCPU(中央処理回路)を用いた
マイクロコンピユータに関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microcomputer using multiple CPUs (central processing circuits).
例えばVTRのサーボ制御をマイクロコンピユ
ータを用いて行う場合に、制御を行うためのデー
タは例えば1/8V(垂直期間)に1回あるいは1V
に1回のように間欠に取り出される。このレート
を基準にして、1つのマイクロコンピユータでデ
ータの変化量等を検出(これは、現データと前デ
ータとの差をとつて速度データを形成すること、
あるいはスイツチ等のON、OFFデータの不安定
な変化と確実な変化を判別し、確実な変化があつ
た時のみスイツチデータとして形成すること等を
意味する)し、検出結果を演算し、この演算結果
に応じた制御を行うようにすると、1つのデータ
を検出して制御を行うまでに極めて多くの時間が
必要になつて処理能力が低下してしまう。またこ
のような処理をマイクロコンピユータで時分割等
で並列に行おうとすると、動作プログラムが極め
て複雑になつてしまう。 For example, when servo control of a VTR is performed using a microcomputer, the data for controlling is transmitted once every 1/8V (vertical period) or once every 1V.
It is taken out intermittently, such as once every. Based on this rate, one microcomputer detects the amount of data change, etc. (This means forming speed data by calculating the difference between the current data and the previous data.
Alternatively, it means distinguishing between unstable changes and definite changes in the ON/OFF data of a switch, etc., and forming it as switch data only when there is a definite change), calculating the detection results, and calculating the If control is performed according to the result, an extremely large amount of time is required to detect one piece of data and perform control, resulting in a decrease in processing capacity. Furthermore, if such processing is attempted to be performed in parallel by a microcomputer in a time-sharing manner, the operating program will become extremely complex.
本発明はこのような点にかんがみ、複数の
CPUを用いて簡単なプログラムで高速の処理が
行えるようにしたものである。また複数のCPU
の内の一つが不良になつたときに、他のCPUに
て容易にバツクアツプができるようにしたもので
ある。さらに複数のCPU間のデータの転送を高
速且つ良好に行えるようにしたものである。 In view of these points, the present invention includes a plurality of
It uses a CPU to perform high-speed processing with a simple program. Also multiple CPUs
If one of the CPUs becomes defective, it can be easily backed up to another CPU. Furthermore, data can be transferred quickly and efficiently between multiple CPUs.
以下図面を参照しながら本発明の一実施例につ
いて説明しよう。なお以下の説明はZ−80と呼ば
れるCPUについて行う。 An embodiment of the present invention will be described below with reference to the drawings. Note that the following explanation will be made regarding a CPU called Z-80.
すなわち第1図において、第1及び第2の
CPU1,2が設けられる。これらのCPU1,2
にクロツク発振器、リセツト回路等の回路3が共
通に接続される。またこの第1のCPU1のバス
ライン10にリードオンリーメモリ11、ランダ
ムアクセスメモリ12、IOポート13等が接続
されると共に、このバスライン10がスイツチ4
に接続される。さらに第2のCPU2のバスライ
ン20がスイツチ4に接続され、このスイツチ4
からのバスライン20′にリードオンリーメモリ
21、ランダムアクセスメモリ22、IOポート
23が接続されると共に、さらに外部のデータ源
あるいは制御対象とを結ぶIOポート24a,2
4b……が接続される。さらにバスライン10に
制御回路14が接続され、この制御回路14から
の信号によりスイツチ4が切換られる。なおこの
制御回路14は例えば後述する所定のアドレスに
よつて制御が行われる。またIOポート13,2
3間が接続される。 That is, in FIG. 1, the first and second
CPUs 1 and 2 are provided. These CPU1,2
A circuit 3 such as a clock oscillator and a reset circuit is commonly connected to the two. Further, a read-only memory 11, a random access memory 12, an IO port 13, etc. are connected to the bus line 10 of this first CPU 1, and this bus line 10 is connected to a switch 4.
connected to. Furthermore, the bus line 20 of the second CPU 2 is connected to the switch 4.
A read-only memory 21, a random access memory 22, and an IO port 23 are connected to the bus line 20' from
4b... is connected. Furthermore, a control circuit 14 is connected to the bus line 10, and the switch 4 is switched by a signal from the control circuit 14. Note that this control circuit 14 is controlled by, for example, a predetermined address that will be described later. Also IO port 13,2
3 are connected.
さらにこの回路において、CPU1,2のアド
レスの割当を第2図のように行う。すなわち図に
おいて、装置全体のアドレスを例えば「0000」か
ら「FFFF」とした場合に、CPU1のアドレスを
「0000」から「3FFF」及び「8000」から
「FFFF」とすると共に、CPU2のアドレスを
「0000」から「00FF」及び「4100」から
「7FFFF」とする。なおZ−80において、「0000」
から「00FF」まではイニシヤルセツト用のプロ
グラムが入つている。さらにCPU1のデータ転
送用のランダムアクセスメモリエリアのアドレス
を「2E00」から「2FFF」とすると共に、CPU2
のデータ転送用のランダムアクセスメモリエリア
のアドレスを「6E00」から「6FFF」とする。 Furthermore, in this circuit, addresses are assigned to CPUs 1 and 2 as shown in FIG. In other words, in the figure, if the address of the entire device is, for example, "0000" to "FFFF", the address of CPU1 is "0000" to "3FFF" and "8000" to "FFFF", and the address of CPU2 is "0000" to "FFFF". 0000” to “00FF” and “4100” to “7FFFF”. In addition, in Z-80, "0000"
From ``00FF'' to ``00FF'' contains the initial set program. Furthermore, the address of the random access memory area for data transfer of CPU1 is changed from "2E00" to "2FFF", and
Set the address of the random access memory area for data transfer from "6E00" to "6FFF".
この回路において、通常時なスイツチ4は
CPU2側に接続されており、CPU2においては、
IOポート24a等を通してデータを取り込み、
この入力データについて前述の変化量等の検出処
理が行われ、検出されたデータをCPU1にて処
理するのに適したデータに整え、このデータをラ
ンダムアクセスメモリ22に記憶させる処理、ラ
ンダムアクセスメモリ22に記憶されたCPU1
にて処理剤のデータを読み出し、これを制御対象
に適したデータに変換して出力データを形成する
処理、この出力データをIOポート24a等を介
して出力し、制御対象を制御する処理(制御処
理)等を行つている。尚、CPU2がIOポート2
4aから読み取つたデータからランダムアクセス
メモリ22に書き込むデータを形成するなどの処
理、およびランダムアクセスメモリ22から読み
出したデータから出力データを形成するまでの処
理は変換処理と称される。一方CPU1において
はランダムアクセスメモリ12に記憶されたデー
タに基づいて必要な演算処理が行われ、この処理
結果のデータがランダムアクセスメモリ12に記
憶されている。 In this circuit, switch 4 during normal operation is
It is connected to the CPU2 side, and in CPU2,
Import data through IO port 24a etc.
The process of detecting the amount of change described above is performed on this input data, the detected data is arranged into data suitable for processing by the CPU 1, and the process of storing this data in the random access memory 22. CPU1 stored in
A process of reading processing agent data and converting it into data suitable for the controlled object to form output data, and a process of outputting this output data via the IO port 24a etc. to control the controlled object (control processing) etc. In addition, CPU2 is IO port 2
The process of forming data to be written into the random access memory 22 from data read from the random access memory 22 and the process of forming output data from the data read from the random access memory 22 are called conversion processes. On the other hand, in the CPU 1, necessary arithmetic processing is performed based on the data stored in the random access memory 12, and data resulting from this processing is stored in the random access memory 12.
さらにCPU1にて「2E00」〜「2FFF」のアド
レスが指定されると、制御回路14によつてスイ
ツチ4が切換られ、ランダムアクセスメモリ1
2,22間でデータの転送が行われる。そしてデ
ータの転送が終了されると、スイツチ4が図示の
位置に復帰され、上述の演算処理及び変換処理と
制御処理が行われる。 Furthermore, when an address from "2E00" to "2FFF" is specified by the CPU 1, the control circuit 14 switches the switch 4, and the random access memory 1
Data is transferred between 2 and 22. When the data transfer is completed, the switch 4 is returned to the illustrated position, and the above-described arithmetic processing, conversion processing, and control processing are performed.
また通常時において、IOポート13,23を
通じてCPU1,2の動作が相互に監視される。
そしてCPU2の動作が異常になると、CPU1に
てCPU2のバツクアツプが行われる。すなわち
CPU1にて「4100」〜「7FFF」のアドレスを指
定することにより制御回路14にてスイツチ4が
切換られ、CPU1にてリードオンリーメモリ2
1、ランダムアクセスメモリ22、IOポート2
4a等が直接制御される。またCPU1の動作が
異常になると、CPU2にて装置の停止等の信号
がIOポート24a等に供給され、事故の発生が
防止される。 Further, during normal times, the operations of the CPUs 1 and 2 are mutually monitored through the IO ports 13 and 23.
When the operation of CPU2 becomes abnormal, CPU1 backs up CPU2. i.e.
By specifying an address from "4100" to "7FFF" on the CPU 1, the switch 4 is switched on the control circuit 14, and the read-only memory 2 is switched on the CPU 1.
1. Random access memory 22, IO port 2
4a etc. are directly controlled. Furthermore, when the operation of the CPU 1 becomes abnormal, the CPU 2 supplies a signal to the IO port 24a etc. to stop the device, thereby preventing the occurrence of an accident.
こうして複数のCPUによる制御が行われるわ
けであるが、本発明によればCPU2にてデータ
の変換処理及び制御処理を行い、CPU1にてデ
ータの演算処理をそれぞれ独立に行うようにした
ので、簡単な動作プログラムで高速の処理を行う
ことができる。 In this way, control is performed by multiple CPUs, but according to the present invention, CPU 2 performs data conversion processing and control processing, and CPU 1 performs data arithmetic processing independently, so it is easy to use. High-speed processing can be performed with a simple operating program.
またCPU1,2のアドレスの割当を第2図の
ようにしたことにより、必要時にスイツチ4を切
換ると、CPU1にてCPU2のプログラム及びメ
モリを直接アクセスすることができ、CPU1に
て容易にCPU2のバツクアツプを行うことがで
きる。 In addition, by assigning the addresses of CPUs 1 and 2 as shown in Figure 2, by switching switch 4 when necessary, CPU 1 can directly access the programs and memory of CPU 2, and CPU 1 can easily access CPU 2's programs and memory. You can perform backups.
さらにCPU1,2にて相互に監視を行い、
CPU2が不良のときは上述のバツクアツプを行
うと共に、CPU1が不良のときはCPU2にて装
置を停止させるようにしたので、重大な事故の発
生が未然に防止される。 Furthermore, CPUs 1 and 2 monitor each other,
When the CPU 2 is defective, the above-mentioned backup is performed, and when the CPU 1 is defective, the device is stopped by the CPU 2, so that serious accidents can be prevented from occurring.
さらに本発明においては、CPU1,2のラン
ダムアクセスメモリのアドレスの割当を第2図の
ようにしているので、データの転送を極めて容易
且つ高速で行うことができる。 Furthermore, in the present invention, since the addresses of the random access memories of the CPUs 1 and 2 are allocated as shown in FIG. 2, data transfer can be performed extremely easily and at high speed.
すなわちCPU2のアドレスが「0000」〜
「00FF」及び「4100」〜「7FFF」のみに割当て
られているが、CPU2のアドレスデコーダ41
においてはアドレスデータA0〜A15のうちの上位
2ビツトはデコードされないので、アドレス
「4100」〜「7FFF」のイメージが他のアドレス
に形成される。このためこれらのアドレスは、
「0000」〜「3FFF」、「4000」〜「7FFF」、
「8000」〜「BFFF」、「C000」〜「FFFF」にお
いてそれぞれ同等にアクセスすることができる。
従つてCPU2のランダムアクセスメモリのアド
レス「6E00」〜「6FFF」は「2E00」〜「2FFF」
のアドレスでもアクセスすることができる。 In other words, the address of CPU2 is "0000" ~
Although it is assigned only to "00FF" and "4100" to "7FFF", the address decoder 41 of CPU2
Since the upper two bits of address data A 0 to A 15 are not decoded in , images of addresses "4100" to "7FFF" are formed at other addresses. Therefore, these addresses are
"0000" ~ "3FFF", "4000" ~ "7FFF",
"8000" to "BFFF" and "C000" to "FFFF" can be accessed equally.
Therefore, the addresses "6E00" to "6FFF" of the random access memory of CPU2 are "2E00" to "2FFF"
It can also be accessed at the address.
そこで上述の回路において、スイツチ4を切
換、ランダムアクセスメモリ12,22を直結す
ることにより、データの転送を容易且つ高速で行
うことができる。 Therefore, in the above-mentioned circuit, by switching the switch 4 and directly connecting the random access memories 12 and 22, data can be transferred easily and at high speed.
さらに第3図にデータ転送のための具体的構成
例を示す。 Further, FIG. 3 shows a specific example of a configuration for data transfer.
図において、CPU1,2のコントロールバス
10c,20c、アドレスバス10a,20a、
データバス10d,20dがそれぞれスイツチ4
c,4a,4dを通じて接続される。またCPU
1のデータバス10dに通常オンのスイツチ30
aが挿入されると共に、このスイツチ30aと
CPU1との間が通常オフのスイツチ30dを通
じて接地される。 In the figure, control buses 10c and 20c of CPUs 1 and 2, address buses 10a and 20a,
Data buses 10d and 20d are connected to switch 4 respectively.
c, 4a, and 4d. Also CPU
A normally on switch 30 is connected to the data bus 10d of
a is inserted, and this switch 30a and
It is connected to the CPU 1 through a normally off switch 30d.
またコントロールバス10cとアドレスバス1
0aの信号が制御手段の一部を成すアドレスデコ
ーダ31に供給され、このデコーダ31からの信
号がそれぞれリードオンリーメモリ11、ランダ
ムアクセスメモリ12、IOポート13のチツプ
セレクト端子に供給される。同様にコントロール
バス20cとアドレスバス20aの信号がアドレ
スデコーダ41に供給され、このデコーダ41か
らの信号がそれぞれリードオンリーメモリ21、
ランダムアクセスメモリ22、IOポートのチツ
プセレクト端子に供給される。なお、アドレスデ
コーダ41にはアドレスバス20aの下位の14ビ
ツトA0〜A13のみが供給される。 Also, control bus 10c and address bus 1
The signal 0a is supplied to an address decoder 31 forming a part of the control means, and the signals from this decoder 31 are supplied to the chip select terminals of the read-only memory 11, random access memory 12, and IO port 13, respectively. Similarly, signals from the control bus 20c and the address bus 20a are supplied to the address decoder 41, and the signals from the decoder 41 are sent to the read-only memory 21 and the address bus 20a, respectively.
Random access memory 22 is supplied to the chip select terminal of the IO port. Note that the address decoder 41 is supplied with only the lower 14 bits A 0 to A 13 of the address bus 20a.
さらにデコーダ31からのデータ転送の指令信
号が、リードライトのコントロール回路32,3
3に供給され、またアドレスバス10aからのア
ドレス信号がコントロール回路32,33に供給
される。そしてコントロール回路32からの信号
がランダムアクセスメモリ12のリードライトの
コントロール端子に供給されると共に、コントロ
ール回路33からの信号がコントロールバス10
cに供給される。 Further, the data transfer command signal from the decoder 31 is transmitted to the read/write control circuits 32 and 3.
3, and an address signal from address bus 10a is also supplied to control circuits 32 and 33. The signal from the control circuit 32 is supplied to the read/write control terminal of the random access memory 12, and the signal from the control circuit 33 is supplied to the control bus 10.
c.
またデコーダ31からのデータ転送の指令信号
にて、スイツチ30a,30bが切換られる。 Further, the switches 30a and 30b are switched by a data transfer command signal from the decoder 31.
さらにデコーダ31からのデータ転送の指令信
号が制御手段の一部を成す制御回路34に供給さ
れ、この制御回路34からの信号にてスイツチ4
c〜4dがオンされると共に、この信号がCPU
2のバスリクエスト端子及びアンド回路35を通
じてCPU1のウエイト端子に供給される。さら
にCPU2からのバスアクノレツジ信号が反転さ
れてアンド回路35に供給される。 Further, a command signal for data transfer from the decoder 31 is supplied to a control circuit 34 forming a part of the control means, and the signal from the control circuit 34 causes the switch 4 to be activated.
When c to 4d are turned on, this signal is sent to the CPU
The signal is supplied to the wait terminal of the CPU 1 through the bus request terminal of No. 2 and the AND circuit 35. Further, the bus acknowledge signal from the CPU 2 is inverted and supplied to the AND circuit 35.
またデコーダ31からの「4100」〜「7FFF」
のアドレスが指定されたことを示す信号が制御回
路34に供給される。 Also, “4100” to “7FFF” from decoder 31
A signal indicating that the address has been designated is supplied to the control circuit 34.
この回路において、データ転送を行うときに
は、デコーダ31からの信号が制御回路34に供
給されてスイツチ4c〜4dがオンされると共
に、CPU2にバスリクエストが指令されてCPU
2の各バスが高インピーダンスにされる。またス
イツチ30a,30bが切換られてCPU1のデ
ータバスが接地される。 In this circuit, when data is transferred, a signal from the decoder 31 is supplied to the control circuit 34 to turn on switches 4c to 4d, and a bus request is issued to the CPU 2 to
2 buses are made high impedance. Also, the switches 30a and 30b are switched to ground the data bus of the CPU 1.
さらにCPU2からバスアクノレツジ信号が出
力されてCPU1のウエイトが解除されると、こ
のCPU1においてデータバスが全て「0」にな
つているので、CPU1はいわゆる「NOP」処理
が行われる。 Furthermore, when a bus acknowledge signal is output from the CPU 2 and the wait state of the CPU 1 is released, since all data buses are set to "0" in this CPU 1, the CPU 1 performs a so-called "NOP" process.
そしてこの「NOP」処理において、CPU1の
アドレスバスにはプログラムカウンタの値が出力
され、例えば「2E00」から1回の処理ごとに1
ずつ増加されるアドレスがランダムアクセスメモ
リ12,22に供給される。それと共に、このア
ドレスがコントロール回路32,33に供給さ
れ、例えばコントロール回路32においてアドレ
スが所定の範囲のときライト、他の範囲のときリ
ードの制御信号が形成され、ランダムアクセスメ
モリ12に供給される。またコントロール回路3
3においてアドレスが上述の所定の範囲のときリ
ード、他の範囲のときライトの制御信号が形成さ
れ、コントロールバス10c,20cを通じてラ
ンダムアクセスメモリ22に供給される。 In this "NOP" processing, the value of the program counter is output to the address bus of CPU1, and for example, from "2E00", the value of the program counter is output for each processing.
The incremented addresses are provided to the random access memories 12,22. At the same time, this address is supplied to control circuits 32 and 33, and, for example, in the control circuit 32, a write control signal is formed when the address is in a predetermined range, and a read control signal is generated when the address is in another range, and is supplied to the random access memory 12. . Also control circuit 3
At step 3, a read control signal is generated when the address is in the above-mentioned predetermined range, and a write control signal is generated when the address is in another range, and is supplied to the random access memory 22 through the control buses 10c and 20c.
従つてこの回路において、ランダムアクセスメ
モリ12,22に「2E00」〜「2FFF」のアドレ
スが供給されると共に、リードライトの制御信号
が相反に供給されてデータの転送が行われる。 Therefore, in this circuit, addresses "2E00" to "2FFF" are supplied to the random access memories 12 and 22, and read/write control signals are supplied reciprocally to perform data transfer.
さらに転送が終了し、プログラムカウンタの値
が「3000」になるとデコーダ31の出力が変化
し、スイツチ4c〜4d,30a,30bが切換
られて、通常動作に戻される。 Further, when the transfer is completed and the value of the program counter reaches "3000", the output of the decoder 31 changes, the switches 4c to 4d, 30a, and 30b are switched to return to normal operation.
こうしてデータの転送が行われるわけである
が、この回路によれば、データ転送は1「NOP」
処理ごとに行われるので極めて高速の転送が行わ
れ、従来のDMA処理によるものより数倍早い転
送が実現できる。 This is how data is transferred, and according to this circuit, data transfer is done with 1 "NOP"
Because it is performed for each process, extremely high-speed transfers are possible, making it possible to achieve transfers that are several times faster than traditional DMA processing.
またCPU1は機能を続けているので、たとえ
ばメモリとしてダイナミツク形のものを使用した
場合にも、メモリーリフレツシユは通常通り行わ
れる。従つて従来のDMAのようにリフレツシユ
回路を特別に設ける必要がない。 Furthermore, since the CPU 1 continues to function, memory refresh is performed as usual even when dynamic type memory is used, for example. Therefore, unlike conventional DMA, there is no need to provide a special refresh circuit.
さらに転送のための特殊なIC等が不要で、ス
イツチ等の簡単な回路を追加するだけでよく、回
路構成も極めて簡単である。 Furthermore, there is no need for a special IC for transfer, just adding a simple circuit such as a switch, and the circuit configuration is extremely simple.
なお転送時のCPU1の処理は、マシンサイク
ルが最短で、データ転送に影響のない処理であれ
ば「NOP」処理以外のものでもよい。 Note that the processing of the CPU 1 during transfer may be other than "NOP" processing as long as it requires the shortest machine cycle and does not affect data transfer.
またプログラムカウンタの数値をプログラム的
に指定することにより、データの転送を「2E00」
〜「2FFF」の間の任意のアドレスから開始させ
ることもできる。従つてひんぱんに必要とされる
データを後部のアドレスに記憶させておくことに
より、転送時間をさらに短縮することができる。 Also, by specifying the value of the program counter programmatically, data transfer can be set to "2E00".
It is also possible to start from any address between 2FFF and 2FFF. Therefore, by storing frequently needed data in rear addresses, the transfer time can be further shortened.
さらにこの回路において、CPU1にて「4100」
〜「7FFF」のアドレスが指定されると、制御回
路34にてスイツチ4c〜4dがオンされ、
CPU2がバスリクエストされて、CPU1にて
CPU2のバツクアツプが行われる。またこのア
ドレス内にCPU2のIOポート24a等のアドレ
スを設けておくことにより、CPU1にてIOポー
ト24a等を直接制御することもできる。 Furthermore, in this circuit, "4100" is set in CPU1.
~ When the address of "7FFF" is specified, the switches 4c to 4d are turned on in the control circuit 34,
CPU2 receives a bus request, and CPU1
Backup of CPU2 is performed. Furthermore, by providing an address for the IO port 24a, etc. of the CPU 2 within this address, the CPU 1 can directly control the IO port 24a, etc.
第1図は本発明の一例の構成図、第2図はアド
レスの構成図、第3図は要部の具体的構成図であ
る。
1,2はCPU、4はスイツチ、11,21は
リードオンリーメモリ、12,22はランダムア
クセスメモリ、14は制御回路である。
FIG. 1 is a block diagram of an example of the present invention, FIG. 2 is a block diagram of an address, and FIG. 3 is a specific block diagram of main parts. 1 and 2 are CPUs, 4 is a switch, 11 and 21 are read-only memories, 12 and 22 are random access memories, and 14 is a control circuit.
Claims (1)
と、 上記第1及び第2の中央処理回路で処理された
データを記憶するメモリ回路と を有し、 上記第1の中央処理回路にて、上記入出力ポー
ト回路から読み取つたデータを変換処理して上記
メモリ回路に記憶し、上記第2の中央処理回路に
て、上記メモリ回路を介して得る上記変換処理し
たデータの演算処理を行つて上記メモリ回路に記
憶し、上記第1の中央処理回路にて、上記メモリ
回路を介して得る上記演算処理したデータを所定
のデータに変換処理し、この変換処理したデータ
を上記入出力ポート回路を通して出力するように
したマイクロコンピユータにおいて、 上記メモリ回路は第1及び第2のランダムアク
セスメモリから成ると共に、これらの第1及び第
2のランダムアクセスメモリは、上記第1の中央
処理回路から出力される第1のアドレスデータと
上記第2の中央処理回路から出力される上記第1
のアドレスデータとは異なる第2のアドレスデー
タとにより、その共通するアドレスデータ部によ
つてアクセスされる同一のアドレスマツプ構成の
メモリ領域を有して成り、 上記入出力ポート回路と上記第1のランダムア
クセスメモリと上記第1の中央処理回路とに共用
される第1のデータバスと、 上記第2のランダムアクセスメモリと上記第2
の中央処理回路とに共用される第2のデータバス
と、 第1の制御信号に応じて上記第1の中央処理回
路を上記第1のデータバスから開放する第1の開
放手段と、 第2の制御信号に応じて上記第2の中央処理回
路を上記第2のデータバスから開放する第2の開
放手段と、 第3の制御信号に応じて上記第1のデータバ
ス、アドレスバス及びコントロールバスと上記第
2のデータバス、アドレスバス及びコントロール
バスとを接続する接続回路と、 上記第2の中央処理回路からの信号に応じて上
記第1、第2及び第3の制御信号を出力する制御
手段と を備え、 上記第1及び第2のデータバス、アドレスバス
及びコントロールバスを接続すると共に、上記第
1及び第2の中央処理回路を上記第1及び第2の
データバスから開放した状態で、上記第2の中央
処理回路の制御により、上記第1及び第2のラン
ダムアクセスメモリの上記メモリ領域間で上記変
換処理されたデータ及び上記演算処理されたデー
タの転送を行うようにしたことを特徴とするマイ
クロコンピユータ。[Claims] 1: first and second central processing circuits; an input/output port circuit of the first central processing circuit; and storing data processed by the first and second central processing circuits. The first central processing circuit converts the data read from the input/output port circuit and stores it in the memory circuit, and the second central processing circuit converts the data read from the input/output port circuit and stores the converted data in the memory circuit. The converted data obtained through the circuit is processed and stored in the memory circuit, and the first central processing circuit converts the processed data obtained via the memory circuit into predetermined data. In a microcomputer that performs conversion processing and outputs the converted data through the input/output port circuit, the memory circuit comprises first and second random access memories, and the first and second random access memories The random access memory includes first address data output from the first central processing circuit and first address data output from the second central processing circuit.
and second address data different from the address data of the input/output port circuit and the first input/output port circuit. a first data bus shared by the random access memory and the first central processing circuit; a first data bus shared by the second random access memory and the second central processing circuit;
a second data bus shared by the central processing circuit; a first release means for releasing the first central processing circuit from the first data bus in response to a first control signal; a second release means for releasing said second central processing circuit from said second data bus in response to a control signal; and said first data bus, address bus and control bus in response to a third control signal. and a connection circuit that connects the second data bus, the address bus, and the control bus; and a control circuit that outputs the first, second, and third control signals in response to signals from the second central processing circuit. means for connecting the first and second data buses, the address bus, and the control bus, and disconnecting the first and second central processing circuits from the first and second data buses; , the converted data and the arithmetic processed data are transferred between the memory areas of the first and second random access memories under the control of the second central processing circuit; Features of microcomputer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56072645A JPS57187758A (en) | 1981-05-14 | 1981-05-14 | Microcomputer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56072645A JPS57187758A (en) | 1981-05-14 | 1981-05-14 | Microcomputer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57187758A JPS57187758A (en) | 1982-11-18 |
| JPH046030B2 true JPH046030B2 (en) | 1992-02-04 |
Family
ID=13495320
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56072645A Granted JPS57187758A (en) | 1981-05-14 | 1981-05-14 | Microcomputer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57187758A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7214555B2 (en) | 1995-03-18 | 2007-05-08 | Semiconductor Energy Laboratory Co., Ltd. | Method for producing display device |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6014041A (en) * | 1983-07-06 | 1985-01-24 | Matsushita Electric Ind Co Ltd | Heating control device |
| JPS61201360A (en) * | 1985-03-05 | 1986-09-06 | Nec Corp | Arithmetic device for digital signal |
| JPS62214452A (en) * | 1986-03-17 | 1987-09-21 | Mitsubishi Electric Corp | Memory control system |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS51855A (en) * | 1974-06-21 | 1976-01-07 | Hitachi Ltd | |
| JPS5147350A (en) * | 1974-10-22 | 1976-04-22 | Nippon Shisutemu Kogyo Kk | MARUCHIPUROSETSUSASHISUTEMUNIOKERU BANCHIZUKEHOSHIKI |
| JPS5450329A (en) * | 1977-09-28 | 1979-04-20 | Ricoh Co Ltd | Copier control device using plural micro-computers |
| JPS5616242A (en) * | 1979-07-17 | 1981-02-17 | Fujitsu Ltd | Control system for processor |
-
1981
- 1981-05-14 JP JP56072645A patent/JPS57187758A/en active Granted
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7214555B2 (en) | 1995-03-18 | 2007-05-08 | Semiconductor Energy Laboratory Co., Ltd. | Method for producing display device |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57187758A (en) | 1982-11-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5497501A (en) | DMA controller using a predetermined number of transfers per request | |
| US4975838A (en) | Duplex data processing system with programmable bus configuration | |
| JPS6362010B2 (en) | ||
| US4344130A (en) | Apparatus to execute DMA transfer between computing devices using a block move instruction | |
| JPH01124031A (en) | Microcomputer | |
| US5179713A (en) | Apparatus for allowing external control of local bus read using zero wait stats input of combined I/O and DRAM controller | |
| US7237099B2 (en) | Multiprocessor system having a plurality of control programs stored in a continuous range of addresses of a common memory and having identification registers each corresponding to a processor and containing data used in deriving a starting address of a CPU-linked interrupt handler program to be executed by the corresponding processor | |
| JPH09311812A (en) | Microcomputer | |
| JPH0467215B2 (en) | ||
| EP0818008B1 (en) | Dynamic ram in a microprocessor system | |
| JP2682707B2 (en) | Programmable controller | |
| JP2612715B2 (en) | Address bus controller | |
| JPS6014435B2 (en) | Storage device | |
| JPH01160547U (en) | ||
| JPH0827761B2 (en) | Dual-system simultaneous writing method for dual memory | |
| JPS59128619A (en) | Microcomputer device | |
| JPH0716190Y2 (en) | Vending machine controller | |
| JP2869658B2 (en) | Logical operation method | |
| JPH04123145A (en) | Microcomputer | |
| JPH02210515A (en) | System resetting system | |
| JPH03175538A (en) | Duplex processor | |
| JPH0387936A (en) | Abnormality detecting circuit for computer | |
| JPH0336627A (en) | Microcomputer device | |
| JPS62271028A (en) | Microprocessor | |
| JPS63109547A (en) | Storage device |