Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0561671B2 - - Google Patents
[go: Go Back, main page]

JPH0561671B2 - - Google Patents

Info

Publication number
JPH0561671B2
JPH0561671B2 JP58177715A JP17771583A JPH0561671B2 JP H0561671 B2 JPH0561671 B2 JP H0561671B2 JP 58177715 A JP58177715 A JP 58177715A JP 17771583 A JP17771583 A JP 17771583A JP H0561671 B2 JPH0561671 B2 JP H0561671B2
Authority
JP
Japan
Prior art keywords
cpu
shared memory
general
chip
bus
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
Application number
JP58177715A
Other languages
Japanese (ja)
Other versions
JPS6068462A (en
Inventor
Kenji Hara
Ikuo Furuya
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP17771583A priority Critical patent/JPS6068462A/en
Publication of JPS6068462A publication Critical patent/JPS6068462A/en
Publication of JPH0561671B2 publication Critical patent/JPH0561671B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、メインCPUを汎用CPUとし、サブ
CPUを外部メモリアクセス機能を有するが
WAIT機能を持たない1チツプCPUとしたマル
チプロセツサ・システムに関するものである。 なお、本発明でいう汎用CPUとは、CPUから
出力されたバスにROM、RAM、さらには、
I/O、周辺チツプ等を結合してシステムを構成
するものを言い、例えば、インテル社8080、同
8086、ザイログ社Z80が該当する。 本発明でいう1チツプCPUとは、単一チツプ
上にCPU、ROM、RAM、I/O機能を搭載し
たものでチツプの端子はI/Oポートになつてお
り、通常は外部メモリーアクセス機能は有しない
ものを言うが、中には、I/Oポートを利用し外
部メモリーアクセス機能を有するものがある(例
えばインテル社8051)。
In the present invention, the main CPU is a general-purpose CPU, and the sub
CPU has external memory access function
This relates to a multiprocessor system using a single-chip CPU that does not have a WAIT function. Note that the general-purpose CPU referred to in the present invention refers to a bus output from the CPU that includes ROM, RAM, and
Refers to a system that combines I/O, peripheral chips, etc., such as Intel's 8080,
8086 and Zilog Z80 are applicable. A single-chip CPU as used in the present invention is one that has a CPU, ROM, RAM, and I/O functions on a single chip.The terminals of the chip are I/O ports, and the external memory access function is usually not available. Although some devices do not have this function, some devices do have an external memory access function using an I/O port (for example, the Intel 8051).

【従来の技術】[Conventional technology]

マルチプロセツサ・システムにおいて、共有メ
モリーへのアクセスタイミングを各処理装置に予
め割当てるものは特開昭51−11534号公報や特開
昭57−27353号公報に示されるように公知である。 前者は、一定の周期を有する信号によつて、メ
モリーアクセスの時間を時分割して、命令の実行
とは関係なく、各CPUに予め割当てるものであ
る。 後者は、共有メモリーを同時にアクセスした時
に、一方のプロセツサーが保留されスループツト
が低下することを防止するために、同期信号を発
生させ同時アクセスをなくすものである。 なお、後者が問題としているスループツトの低
下はメモリーアクセス時のみの数100ナノ秒単位
の低下であるが、本願で問題にするのは数10マイ
クロ秒であり全く異なる技術である。 このように予め割当てるのではなく、処理の実
行に同期させるシステムを、本出願人は特願昭58
−91454(特公昭63−63941)として提案している。 この提案は、1チツプCPU、汎用CPU、外部
メモリの間に共通のバスを直接接続し、データ処
理時には、前記汎用CPUにバスを占有させてデ
ータ処理を行わしめるとともに、データ転送時に
は前記1チツプCPUが前記汎用CPUに対して
HOLD要求を発して前記汎用CPUにバスを放棄
させ、前記1チツプCPUがバスを占有するよう
に構成したものであつた。 RAMの“FF00H”番地から、1チツプCPUの
内部メモリの“30H”番地へ16バイトのデータを
転送(すなわち、RAMデータの続出し)する場
合を例に取り説明する。 まず、汎用CPUを無視して、プログラムを作
成するとすれば、第1図に示すプログラムが考え
られる。 しかしながら、実際は汎用CPUがRAMをアク
セスすることがあるから、1チツプCPUがRAM
をアクセスする命令(MOVE A,@DPTR)を
実行する時には、1チツプCPUのバス占有権を
確立しておく必要がある。
In a multiprocessor system, a system in which access timing to a shared memory is assigned in advance to each processing device is known, as shown in Japanese Patent Laid-Open Nos. 51-11534 and 1987-27353. In the former method, memory access time is time-divided and allocated to each CPU in advance, regardless of instruction execution, using a signal having a constant period. The latter generates a synchronization signal and eliminates simultaneous accesses in order to prevent one processor from being put on hold and reducing throughput when the shared memory is accessed simultaneously. Note that the problem with the latter is a decrease in throughput of several hundreds of nanoseconds only during memory access, but the problem in this application is several tens of microseconds, which is a completely different technology. The present applicant proposed a system in which the allocation is not made in advance but is synchronized with the execution of processing, in the patent application filed in 1983
-91454 (Special Publication No. 63-63941). This proposal directly connects a common bus between a 1-chip CPU, a general-purpose CPU, and an external memory, and when processing data, the general-purpose CPU occupies the bus and processes the data, and when transferring data, the 1-chip CPU compared to the general-purpose CPU
The configuration was such that a HOLD request was issued to cause the general-purpose CPU to abandon the bus, and the one-chip CPU occupied the bus. An example of transferring 16 bytes of data from address "FF00H" in RAM to address "30H" in the internal memory of a 1-chip CPU (that is, sequentially outputting RAM data) will be explained. First, if we were to create a program ignoring the general-purpose CPU, we could consider the program shown in Figure 1. However, in reality, a general-purpose CPU may access RAM, so a single-chip CPU may access RAM.
When executing an instruction (MOVE A, @DPTR) that accesses the 1-chip CPU, it is necessary to establish bus occupancy for the 1-chip CPU.

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

ところが、このようなシステムにおいては、一
時休止中の汎用CPUはHOLDをかけられたまま
になるので、データ転送のバイト数が多いと、実
行速度が大幅に低下してしまい、効率の悪い処理
しか行えないことが明らかになつた。 そこで、本発明は上記問題点を解消し、1チツ
プCPUが共有メモリーをアクセスする時、汎用
CPUがこれを同時にアクセスした時のみ汎用
CPUにWAITをかけるのみにし、汎用CPUの実
行速度の低下を防止できるマルチプロセツサ・シ
ステムを提供することを目的とする。
However, in such systems, when the general-purpose CPU is temporarily inactive, the general-purpose CPU remains on HOLD, so if the number of bytes of data transfer is large, the execution speed will drop significantly, and only inefficient processing will be performed. It became clear that it could not be done. Therefore, the present invention solves the above problems, and when a single-chip CPU accesses shared memory, a general-purpose
General purpose only when the CPU accesses this at the same time
The purpose of the present invention is to provide a multiprocessor system that can prevent a decrease in the execution speed of a general-purpose CPU by only applying WAIT to the CPU.

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

本発明は、少なくとも、 (a) 外部に出力するバスを有する汎用CPUと、 (b) 共有メモリーと、 (c) 通常は自己の内部メモリーをアクセスし、前
記共有メモリーをアクセスするときのみ入出力
ポートにバスが出力される1チツプCPUであ
つて、前記共有メモリーのアクセスを一定の時
間間隔とし、その時間間隔だけ以前に読出しま
たは書込みを発生させるダミー命令と、そのダ
ミー命令の後に実際に前記共有メモリーを周期
的にアクセスする命令を発する機能を有する1
チツプCPUと、 (d) 前記共有メモリーと前記1チツプCPUの入
出力ポートが接続された1チツプCPU側バス
と前記汎用CPUがアクセスする周辺チツプ等
が接続された汎用CPU側バスをつなぐバスバ
ツフアと、 (e) 前記1チツプCPUの前記共有メモリーに対
する読出命令または書込命令が発生した所定時
間後に、所定時間幅のパルスを出力することに
より、前記1チツプCPUが前記共有メモリー
を周期的にアクセスする一定期間ごとに前記読
出命令または書込命令信号を前記共有メモリー
に伝達するとともに、その直前に前記バスバツ
フアを切り離す信号を発し、さらに、前記汎用
CPUがこの所定時間幅のパルスが出力されて
いる時点で、前記共有メモリーをアクセスする
ためにチツプセレクト信号を発したときは前記
汎用CPUに対してWAIT信号を発するタイミ
ング発生器と、を備え、 前記所定時間幅のパルスは、1チツプCPUが
共有メモリーをアクセスする時刻よりも、汎用
CPUの共有メモリーアクセス時間以上前に立ち
上がるだけの時間余裕を有するものとしたことを
特徴とするものである。
The present invention includes at least (a) a general-purpose CPU having a bus for outputting to the outside, (b) a shared memory, and (c) normally accessing its own internal memory, and performing input/output only when accessing the shared memory. The CPU is a one-chip CPU with a bus output to a port, and the shared memory is accessed at a fixed time interval, and a dummy instruction that causes a read or write to occur before that time interval, and a dummy instruction that causes the read or write to occur after that dummy instruction, and 1 with the function of issuing commands to periodically access shared memory
(d) a bus buffer that connects a one-chip CPU side bus to which the shared memory and input/output ports of the one-chip CPU are connected, and a general-purpose CPU side bus to which peripheral chips, etc. accessed by the general-purpose CPU are connected; (e) The one-chip CPU periodically accesses the shared memory by outputting a pulse with a predetermined time width after a predetermined time after a read command or write command to the shared memory by the one-chip CPU is generated. transmits the read command or write command signal to the shared memory at regular intervals, and immediately before transmitting a signal to disconnect the bus buffer;
a timing generator that issues a WAIT signal to the general-purpose CPU when the CPU issues a chip select signal to access the shared memory at the time when the pulse of the predetermined time width is being output; The pulse of the predetermined time width is more general-purpose than the time when one chip CPU accesses the shared memory.
The system is characterized in that it has enough time to start up before the shared memory access time of the CPU.

【作用】[Effect]

汎用CPUのバスにはROM、RAM、さらには、
I/O、周辺チツプ等を結合してシステムを構成
されるが、本発明ではバスバツフアを介して1チ
ツプCPU側のバスにもつながり、1チツプCPU
側のバスに接続されている共有メモリーもアクセ
スできる。1チツプCPUのバスは通常入力ポー
トとなつており、共有メモリのアクセス時のみバ
スになる。したがつて、1チツプ汎用CPUが共
有メモリをアクセスする直前に、1チツプCPU
のバス専有権(汎用CPUと共有メモリのバスを
切り離すとともに、汎用CPUを待期させる)を
確立すればよいことになる。 そのために、タイミング発生器という比較的簡
単な回路を付加し、ダミー命令(本来の1チツプ
CPUのアクセスサイクルと同じ時間間隔だけ以
前に書込または読出命令を発生させる命令)を使
つたのが本発明である。 これにより、1チツプCPUが共有メモリーを
アクセスするタイミングの直前に、汎用CPUと
共有メモリーをつないでいるバスを切り離して1
チツプCPUがアクセスに要する時間だけ共有メ
モリーを占有できる。1チツプCPUが前記共有
メモリーをアクセスするときには、前記汎用
CPUの処理は終了しており何ら問題がない。
The general-purpose CPU bus includes ROM, RAM, and even
A system is constructed by connecting I/O, peripheral chips, etc., but in the present invention, it is also connected to the bus on the 1-chip CPU side via a bus buffer, and the 1-chip CPU
Shared memory connected to the side bus can also be accessed. The bus of a single-chip CPU is normally an input port, and becomes a bus only when accessing shared memory. Therefore, just before the 1-chip general-purpose CPU accesses the shared memory, the 1-chip general-purpose CPU
All you need to do is establish bus exclusive rights (separate the general-purpose CPU from the shared memory bus and make the general-purpose CPU wait). To this end, we added a relatively simple circuit called a timing generator, and added dummy instructions (original 1-chip
The present invention uses an instruction that generates a write or read instruction the same time interval as the CPU access cycle. As a result, just before the CPU of one chip accesses the shared memory, the bus connecting the general-purpose CPU and the shared memory is disconnected.
The chip CPU can occupy the shared memory only for the time required for access. When one chip CPU accesses the shared memory, the general-purpose
CPU processing has finished and there is no problem.

【実施例】【Example】

以下、図を用いて本発明の具体的実施例を説明
する。 第2図は、本発明を構成する回路のブロツク図
であり、図において、1は共有メモリー
(RAM)2をアクセスできる機能を有する1チ
ツプCPU(例えばインテル社8051)であり、3は
タイミング信号発生器、4は汎用CPU側のバス
5と1チツプCPU側のバス6との間のバスバツ
フアであり、9は優先判別回路である。なお、タ
イミング信号発生器3の内部回路例を第3図に示
す。3−aは単安定マルチバイブレータ、3−b
は1チツプCPUから共有メモリーへ読出し命令
または書込み命令を伝送するバツフアである。 さて、ここでは、前述した動作例と同様に、共
有メモリーの“FF00H”番地から、1チツプ
CPU1の内部メモリの“30H”番地へ16バイト
のデータを転送する場合(すなわちRAMデータ
の読出し)について説明する。 この動作を実行する1チツプCPUのプログラ
ムを第4図に示す。図のAに示す命令(MOVX
A,@DPTR)で、1チツプCPUは、、RD信号
を発し、共有メモリーのデータを読出そうとする
が、タイミング信号発生器3により、そのRD信
号が止められ、共有メモリー2はアクセスされな
い。 しかしながら、タイミング信号発生器3は、こ
の命令Aにより起動し、第5図に示すように、
7μsec(すなわち、プログラムがループしてRAM
を読む周期)と2μsec(すなわち、読出プログラム
の実行時間)のタイマーがシーケンシヤルに動作
し、第4図のBに示す「MOVX A,@DPTR」
の実行直前に、第2図の7に示すSEL信号を発す
ることになる。 したがつて、バスバツフア4を切り離すととも
に、汎用CPUが共有メモリー2をアクセスしよ
うとするときは、WAIT信号を送出し、汎用
CPUを期待させる。つまり、最初の命令Aはダ
ミーであり、本当に実行する命令Bの前に1チツ
プCPUのバス占有権を確立するための命令であ
る。 ダミー命令、実際に共有メモリー2をアクセス
する命令、およびタイミング信号発生器の出力の
関係を第6図に示す。 すなわち、ダミー命令はLOOPで本来の1チツ
プCPUのアクセスサイクルと同じ時間間隔だけ
以前に読出命令または書込命令を発生させること
を目的としたものである。読出命令または書込命
令が出た後、7μs後にタイミング信号発生器3は
2μsのパルスを出力する。汎用CPUの共有メモリ
ーに対するアクセス時間は100ns程度であり、1
チツプCPUが共有メモリーをアクセスする時刻
よりも、汎用CPUの共有メモリーアクセス時間
以上前に立ち上がるだけの時間余裕を有するの
で、1チツプCPUが共有メモリーをアクセスす
るときには汎用CPUの処理は終了しておりバス
が衝突することはない。 これによつて、共有メモリー2は1チツプ
CPUがアクセスをかける2μsecだけ占有するもの
となり、データ読出しが可能となる。 第4図の最後の命令「CJNE R0,#40H
LOOP」で命令Bまで戻り、これを16回(∵
40H−30H=10H、すなわち16)繰り返して、16
バイト分のデータを転送する。 すなわち第1図に示した従来例(特願昭58−
91454)では、1ループあたりの処理時間128μsec
(8μsec×16)の間、1チツプCPUがバスを占有
し汎用CPUの動作を停止させるのに対し、本発
明では1ループあたりの占有時間2μsec×16=
32μsecだけ共有メモリーを占有するのに過ぎな
い。また、汎用CPUが同時に共有メモリーをア
クセスしようとしない限り、汎用CPUの動作は
妨げられない。 第2図を用いて説明すると、タイミング信号発
生器3からの信号7は、優先判別回路9に入力さ
れ、汎用CPUからのアクセス中でなければ、た
だちにバスバツフア4をデイスエーブルして汎用
CPUのバスと共有メモリーとを切り離す。この
時、汎用CPUからのアクセスがあると、汎用
CPUに対し、WAITをかける。 汎用CPUがアクセス中であれば、アクセス完
了で切離しが行われる。 以上、読出しについて説明したが書込みも同様
である。 また、タイミング信号発生器3は、第3図に示
した回路例のように単安定マルチバイブレータを
用いなくとも、第5図に示したタイムチヤートを
実行するものであれば、カウンターその他の回路
素子で構成することもできる。
Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. FIG. 2 is a block diagram of a circuit constituting the present invention. In the figure, 1 is a one-chip CPU (for example, Intel 8051) that has the function of accessing shared memory (RAM) 2, and 3 is a timing signal. The generator 4 is a bus buffer between the bus 5 on the general-purpose CPU side and the bus 6 on the 1-chip CPU side, and 9 is a priority discrimination circuit. Incidentally, an example of the internal circuit of the timing signal generator 3 is shown in FIG. 3-a is monostable multivibrator, 3-b
is a buffer that transmits read or write commands from the 1-chip CPU to the shared memory. Now, similar to the operation example described above, we will start with one chip from address “FF00H” in the shared memory.
The case of transferring 16 bytes of data to address "30H" of the internal memory of CPU 1 (ie, reading RAM data) will be explained. FIG. 4 shows a 1-chip CPU program that executes this operation. The command shown in A in the figure (MOVX
A, @DPTR), the 1-chip CPU issues an RD signal and tries to read the data from the shared memory, but the RD signal is stopped by the timing signal generator 3, and the shared memory 2 is not accessed. However, the timing signal generator 3 is activated by this instruction A, and as shown in FIG.
7μsec (i.e. program loops and RAM
The timer of 2μsec (reading period) and 2μsec (that is, the execution time of the readout program) operates sequentially, and "MOVX A, @DPTR" shown in B in Figure 4
Immediately before the execution of , the SEL signal shown at 7 in FIG. 2 is generated. Therefore, when the bus buffer 4 is disconnected and the general-purpose CPU attempts to access the shared memory 2, a WAIT signal is sent and the general-purpose CPU
Make the CPU look forward to it. In other words, the first instruction A is a dummy instruction, and is an instruction for establishing bus occupancy of one chip CPU before instruction B, which is actually executed. FIG. 6 shows the relationship among the dummy instruction, the instruction that actually accesses the shared memory 2, and the output of the timing signal generator. That is, the purpose of the dummy instruction is to generate a read or write instruction in LOOP by the same time interval as the original one-chip CPU access cycle. After 7μs after a read or write command is issued, the timing signal generator 3
Outputs a 2μs pulse. The access time for a general-purpose CPU to shared memory is approximately 100 ns, and 1
It has enough time to start up before the shared memory access time of the general-purpose CPU than the time when the chip CPU accesses the shared memory, so by the time one chip CPU accesses the shared memory, the general-purpose CPU's processing has finished. There are no bus collisions. With this, shared memory 2 is 1 chip.
It occupies only 2 μsec when the CPU accesses it, and data can be read. The last command in Figure 4 “CJNE R0, #40H
LOOP” to return to command B and repeat this 16 times (∵
40H−30H=10H, i.e. 16) Repeat, 16
Transfer bytes of data. In other words, the conventional example shown in Fig.
91454), processing time per loop is 128μsec
(8 μsec x 16), one chip CPU occupies the bus and stops the general-purpose CPU, whereas in the present invention, the occupation time per loop is 2 μsec x 16 =
It only occupies shared memory for 32μsec. Also, as long as the general-purpose CPUs do not attempt to access shared memory at the same time, the operation of the general-purpose CPUs is not hindered. To explain using FIG. 2, the signal 7 from the timing signal generator 3 is input to the priority determination circuit 9, and if it is not being accessed from the general-purpose CPU, the bus buffer 4 is immediately disabled and the general-purpose
Separate the CPU bus and shared memory. At this time, if there is an access from the general-purpose CPU, the general-purpose
Apply WAIT to the CPU. If the general-purpose CPU is accessing, disconnection occurs when the access is completed. Although reading has been described above, writing is also the same. Furthermore, the timing signal generator 3 can be implemented using a counter or other circuit element as long as it executes the time chart shown in FIG. 5, even if the monostable multivibrator is not used as in the circuit example shown in FIG. It can also be composed of

【発明の効果】【Effect of the invention】

以上述べたように本発明によれば、1チツプ
CPUが共有メモリーを占有する時間を減少でき
るので、メインとなる汎用CPUの処理効率のよ
いシステムを提供できる。 特に、1チツプCPUに、例えば、通信処理を
行わせることでメインCPUの負荷を大幅に低下
させることができる。
As described above, according to the present invention, one chip
Since the time that the CPU occupies shared memory can be reduced, it is possible to provide a system with high processing efficiency for the main general-purpose CPU. In particular, by having a single-chip CPU perform communication processing, for example, the load on the main CPU can be significantly reduced.

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

第1図は従来のプログラム例、第2図は本発明
の具体的実施例、第3図は本発明のタイミング信
号発生器の内部回路例、第4図は本発明のプロク
セラム、第5図は本発明のタイムチヤート、第6
図は本発明の命令と動作の関係を示す図である。 1……1チツプCPU、2……共有メモリー、
3……タイミング信号発生器、4……バスバツフ
ア、9……優先判別回路。
FIG. 1 is an example of a conventional program, FIG. 2 is a specific embodiment of the present invention, FIG. 3 is an example of the internal circuit of the timing signal generator of the present invention, FIG. 4 is a program of the present invention, and FIG. 5 is a program example of the present invention. Time chart of the present invention, No. 6
The figure is a diagram showing the relationship between commands and operations of the present invention. 1...1 chip CPU, 2...shared memory,
3...timing signal generator, 4...bus buffer, 9...priority discrimination circuit.

Claims (1)

【特許請求の範囲】 1 少なくとも、 (a) 外部に出力するバスを有する汎用CPUと、 (b) 共有メモリーと、 (c) 通常は自己の内部メモリーをアクセスし、 前記共有メモリーをアクセスするときのみ入
出力ポートにバスが出力される1チツプCPU
であつて、前記共有メモリーのアクセスを一定
の時間間隔とし、その時間間隔だけ以前に読出
しまたは書込みを発生させるダミー命令と、そ
のダミー命令の後に実際に前記共有メモリーを
周期的にアクセスする命令を発する機能を有す
る1チツプCPUと、 (d) 前記共有メモリーと前記1チツプCPUの入
出力ポートが接続された1チツプCPU側バス
と前記汎用CPUがアクセスする周辺チツプ等
が接続された汎用CPU側バスをつなぐバスバ
ツフアと、 (e) 前記1チツプCPUの前記共有メモリーに対
する読出命令または書込命令が発生した所定時
間後に、所定時間幅のパルスを出力することに
より、前記1チツプCPUが前記共有メモリー
を周期的にアクセスする一定期間ごとに前記読
出命令または書込命令信号を前記共有メモリー
に伝達するとともに、その直前に前記バスバツ
フアを切り離す信号を発し、さらに、前記汎用
CPUがこの所定時間幅のパルスが出力されて
いる時点で、前記共有メモリーをアクセスする
ためにチツプセレクト信号を発したときは前記
汎用CPUに対してWAIT信号を発するタイミ
ング発生器と、を備え、 前記所定時間幅のパルスは、1チツプCPUが
共有メモリーをアクセスする時刻よりも、汎用
CPUの共有メモリーアクセス時間以上前に立ち
上がるだけの時間余裕を有するものとしたことを
特徴とするマルチプロセツサ・システム。
[Claims] 1. At least: (a) a general-purpose CPU having a bus that outputs to the outside, (b) a shared memory, and (c) normally accessing its own internal memory, and when accessing the shared memory. 1-chip CPU with bus output only to input/output ports
The shared memory is accessed at a fixed time interval, and includes a dummy instruction that causes a read or write to occur earlier by that time interval, and an instruction that actually periodically accesses the shared memory after the dummy instruction. (d) a 1-chip CPU side bus to which the shared memory and input/output ports of the 1-chip CPU are connected, and a general-purpose CPU side to which peripheral chips, etc. accessed by the general-purpose CPU are connected; (e) After a predetermined time after a read command or write command to the shared memory of the one-chip CPU is generated, the one-chip CPU outputs a pulse of a predetermined time width, so that the one-chip CPU reads the shared memory. transmits the read command or write command signal to the shared memory every fixed period of periodic access to the shared memory, and immediately before that, issues a signal to disconnect the bus buffer;
a timing generator that issues a WAIT signal to the general-purpose CPU when the CPU issues a chip select signal to access the shared memory at the time when the pulse of the predetermined time width is being output; The pulse of the predetermined time width is more general-purpose than the time when one chip CPU accesses the shared memory.
A multiprocessor system characterized by having enough time to start up before the shared memory access time of a CPU.
JP17771583A 1983-09-24 1983-09-24 multiprocessor system Granted JPS6068462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17771583A JPS6068462A (en) 1983-09-24 1983-09-24 multiprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17771583A JPS6068462A (en) 1983-09-24 1983-09-24 multiprocessor system

Publications (2)

Publication Number Publication Date
JPS6068462A JPS6068462A (en) 1985-04-19
JPH0561671B2 true JPH0561671B2 (en) 1993-09-06

Family

ID=16035839

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17771583A Granted JPS6068462A (en) 1983-09-24 1983-09-24 multiprocessor system

Country Status (1)

Country Link
JP (1) JPS6068462A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0682353B2 (en) * 1989-03-03 1994-10-19 株式会社日立製作所 Multiprocessor system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5111534A (en) * 1974-07-19 1976-01-29 Tokyo Shibaura Electric Co
US4368514A (en) * 1980-04-25 1983-01-11 Timeplex, Inc. Multi-processor system

Also Published As

Publication number Publication date
JPS6068462A (en) 1985-04-19

Similar Documents

Publication Publication Date Title
KR102520983B1 (en) Acceleration control system based on binarization algorithm, chip and robot
JPH0561671B2 (en)
JPH0650496B2 (en) Method and apparatus for improving the performance of a central processing unit
JPH0343804A (en) Sequence controller
JP3240863B2 (en) Arbitration circuit
SU1683039A1 (en) Device for data processing for multiprocessor system
JP2522412B2 (en) Communication method between programmable controller and input / output device
US5134613A (en) Two parety memory access arbitrator
JP2687716B2 (en) Information processing device
JP2909126B2 (en) Memory controller
JPH05120206A (en) Dma controller
JPH03134712A (en) programmable controller
JPH0652081A (en) Local memory type DMA control method in packet communication
JP2001043355A (en) Data processing device
JPH0764849A (en) Shared memory controller for processor
CN119862047A (en) SOC data transmission control device based on 8051 kernel
JPS6097462A (en) Time-sharing common-memory type multimicroprocessor system
JPS6395556A (en) Dma transferring device
JPH05173936A (en) Data transfer processing device
JPS6022383B2 (en) input/output control device
JPS62128341A (en) Access control system for two port memory
JPS63182764A (en) Memory control system
JPH0562791B2 (en)
JPH04288654A (en) Data transmission system
JPH03134889A (en) memory controller