JPH064489A - Communication system among plural cpu - Google Patents

Communication system among plural cpu

Info

Publication number
JPH064489A
JPH064489A JP15976792A JP15976792A JPH064489A JP H064489 A JPH064489 A JP H064489A JP 15976792 A JP15976792 A JP 15976792A JP 15976792 A JP15976792 A JP 15976792A JP H064489 A JPH064489 A JP H064489A
Authority
JP
Japan
Prior art keywords
cpu
communication
recording
converter
address management
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.)
Withdrawn
Application number
JP15976792A
Other languages
Japanese (ja)
Inventor
Ken Terasawa
見 寺澤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP15976792A priority Critical patent/JPH064489A/en
Publication of JPH064489A publication Critical patent/JPH064489A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To shorten communication waiting time among plural CPUs. CONSTITUTION:The CPU 20 for address management manages the addresses of an A/D converter 12, a D/A converter 16 and a picture memory 14. A recording/reproducing control circuit 24 controls a rotating drum and a tape traveling system and the CPU 20 for communication mediates the communication between the recording/reproducing control circuit 24 and the CPU 20 for management. The I/O part of the CPU 26 is connected through a control line 30 to the IRQ port of the CPU 20 and the I/O port of the CPU 20 is connected through the control line 32 to the IRQ port of the CPU 26. The CPU 20 and 26 interrupt the other CPU 26 or 20 on the reception side when the communication is required. Information to be communicated is transferred through an instruction memory 20 which is a dual port memory.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数CPU間で通信す
る通信システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system for communicating between a plurality of CPUs.

【0002】[0002]

【従来の技術】近年、マイクロコンピュータは、その動
作プログラムにより複雑な機能又は制御を簡単に実現で
きるので、各種の電気電子機器に利用されるようにな
り、更に、個々の回路モジュールを個別のマイクロコン
ピュータ(又はCPU)で制御し、CPU間を共通のデ
ータ/アドレス・バス又は専用の通信線で接続する回路
構成が使用されるようになった。通信が非継続的又は非
定常的な場合、通常、割り込み処理によりCPU間で必
要な情報を通信する。
2. Description of the Related Art In recent years, microcomputers have come to be used in various electric and electronic devices because they can easily realize complicated functions or controls by their operation programs, and further, individual circuit modules have individual microcomputers. A circuit configuration has been used, which is controlled by a computer (or CPU), and the CPUs are connected by a common data / address bus or a dedicated communication line. When communication is discontinuous or non-steady, normally, necessary information is communicated between CPUs by interrupt processing.

【0003】[0003]

【発明が解決しようとする課題】しかし、例えば送信側
又は受信側CPUが複雑な処理を実行中で、割り込みに
よっても送信側CPUから受信側CPUに即座に制御情
報などを通信できない場合、送信側及び受信側CPU共
に、通信が可能になるまで待機しなければならない。こ
れは無駄な待ち時間になり、実行速度の実質的な低下に
つながる。
However, for example, when the transmitting side CPU or the receiving side CPU is executing complicated processing and the control information or the like cannot be immediately communicated from the transmitting side CPU to the receiving side CPU due to an interrupt, the transmitting side CPU Both the receiving CPU and the receiving CPU must wait until communication becomes possible. This results in wasted waiting time and a substantial reduction in execution speed.

【0004】本発明は、このような不都合を解消した複
数CPU間の通信システムを提示することを目的とす
る。
It is an object of the present invention to provide a communication system between a plurality of CPUs which solves such inconvenience.

【0005】[0005]

【課題を解決するための手段】本発明に係る複数CPU
間の通信システムは、複数のCPUに対して互いの入出
力用ポートと割り込み要求入力用ポートを接続すると共
に、CPU間に通信情報を一時記憶するメモリ手段を配
置し、送信側CPUから受信側CPUに割り込みをか
け、当該メモリ手段を介して通信情報を送信側CPUか
ら受信側CPUに転送することを特徴とする。
Multiple CPUs according to the present invention
In the communication system between the CPUs, the input / output ports and the interrupt request input ports are connected to a plurality of CPUs, and a memory means for temporarily storing communication information is arranged between the CPUs so that the CPUs on the transmitting side and the receiving side The CPU is interrupted, and the communication information is transferred from the transmitting side CPU to the receiving side CPU via the memory means.

【0006】[0006]

【作用】上記手段により、送信側から受信側に直接割り
込みをかけるので、必要時に即座に通信を開始できる。
また、通信したい情報を専用のメモリ手段を介して転送
するので、情報の受渡しも迅速に行なえる。これらによ
り、通信のための待ち時間を短縮でき、各CPUの利用
効率を高めることができる。
By the above means, the transmitting side directly interrupts the receiving side, so that the communication can be started immediately when necessary.
Further, since the information to be communicated is transferred through the dedicated memory means, the information can be delivered and received quickly. As a result, the waiting time for communication can be shortened and the utilization efficiency of each CPU can be improved.

【0007】[0007]

【実施例】以下、図面を参照して本発明の実施例を説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0008】図1は、動画像の記録再生装置、所謂ビデ
オ・テープ・レコーダに適用した本発明の一実施例の概
略構成ブロック図である。
FIG. 1 is a schematic block diagram of an embodiment of the present invention applied to a moving picture recording / reproducing apparatus, a so-called video tape recorder.

【0009】図1において、10は、記録しようとする
映像信号の入力端子、12は入力端子10からのアナロ
グ映像信号をディジタル化するA/D変換器、14は記
録しようとする又は再生した映像信号を一時記憶する画
像メモリ、16は再生したディジタル映像信号をアナロ
グ信号に変換するD/A変換器、18はD/A変換器1
6の出力(再生映像信号)を外部に出力する出力端子で
ある。20は画像メモリ14のアドレスを管理すると共
に、A/D変換器12及びD/A変換器16を制御する
アドレス管理用CPUである。A/D変換器12、D/
A変換器16、画像メモリ14及びアドレス管理用CP
U20はデータ/アドレス・バス22を介して相互に接
続している。
In FIG. 1, 10 is an input terminal for a video signal to be recorded, 12 is an A / D converter for digitizing an analog video signal from the input terminal 10, and 14 is an image to be recorded or reproduced. An image memory for temporarily storing a signal, 16 a D / A converter for converting a reproduced digital video signal into an analog signal, and 18 a D / A converter 1
6 is an output terminal for outputting the output (reproduced video signal) of 6 to the outside. An address management CPU 20 manages the addresses of the image memory 14 and controls the A / D converter 12 and the D / A converter 16. A / D converter 12, D /
A converter 16, image memory 14, and CP for address management
U20s are interconnected via a data / address bus 22.

【0010】24は、回転ドラムやテープ走行系などを
制御する記録再生制御回路、26は記録再生制御回路2
4とアドレス管理用CPU20との通信を仲立ちする通
信用CPUである。28は、アドレス管理用CPU20
と通信用CPU26との間で通信する制御情報(命令や
フレーム番号)を記憶する命令メモリであり、アドレス
管理用CPU20及び通信用CPU26の何れからも読
み書きできるデュアル・ポート・メモリからなる。
Reference numeral 24 is a recording / reproducing control circuit for controlling the rotating drum, tape running system and the like, and 26 is a recording / reproducing control circuit 2.
4 is a communication CPU that mediates communication between the address management CPU 4 and the address management CPU 20. 28 is an address management CPU 20
Is a command memory that stores control information (commands and frame numbers) for communication between the communication CPU 26 and the communication CPU 26, and includes a dual port memory that can be read and written by both the address management CPU 20 and the communication CPU 26.

【0011】また、通信用CPU26の入出力(I/
O)ポートは、制御線30を介してアドレス管理用CP
U20の割り込み要求(IRQ)ポートに接続し、アド
レス管理用CPU20のI/Oポートは、制御線32を
介して通信用CPU26のIRQポートに接続する。
Input / output (I / I) of the communication CPU 26
O) Port is a CP for address management via the control line 30.
It is connected to the interrupt request (IRQ) port of U20, and the I / O port of the address management CPU 20 is connected to the IRQ port of the communication CPU 26 via the control line 32.

【0012】本実施例の動作を説明する。記録再生制御
回路24は、動画像の記録再生、及びスロー再生や静止
画再生などの特殊再生に従って回転ドラムやテープ走行
系を制御しており、これに付随した制御信号を通信用C
PU26に出力する。通信用CPU26は記録再生回路
24に対し、ACK信号やタリー信号を送信する。
The operation of this embodiment will be described. The recording / reproducing control circuit 24 controls the rotating drum and the tape running system in accordance with the recording / reproducing of the moving image and the special reproduction such as the slow reproduction and the still image reproduction.
Output to PU26. The communication CPU 26 transmits an ACK signal and a tally signal to the recording / reproducing circuit 24.

【0013】アドレス管理用CPU20は画像メモリ1
4のアドレスを管理すると共に、A/D変換器12及び
D/A変換器16を制御しており、入力端子10から入
力する映像信号の画像メモリ14への格納、図示しない
記録媒体から再生され画像メモリ14に格納された映像
信号を読み出して出力端子18から外部出力する動作を
管理制御している。
The address management CPU 20 is an image memory 1
No. 4 address is controlled and the A / D converter 12 and the D / A converter 16 are controlled so that the video signal input from the input terminal 10 is stored in the image memory 14 and reproduced from a recording medium (not shown). The operation of reading the video signal stored in the image memory 14 and externally outputting it from the output terminal 18 is controlled and controlled.

【0014】通信用CPU26とアドレス管理用CPU
20は、互いに独立して動作しており、相互に通信する
場合を除いて通常の実行状態では全く干渉しない。図2
は、通信用CPU26とアドレス管理用CPU20の動
作フローチャートを示す。通信管理用CPU26は専ら
記録再生制御回路24との通信状態にあり(S1)、ア
ドレス管理用CPU20は画像メモリ14のアドレス管
理状態にある(S11)。通信用CPU26とアドレス
管理用CPU20が互いに通信するのは、通信用CPU
26については記録再生制御回路24から記録再生に関
する命令が入力した時であり(S2)、他方、アドレス
管理用CPU20については、タリー信号、又は画像メ
モリ14や周辺機器からの異常信号が入力した時である
(S12)。
Communication CPU 26 and address management CPU
The 20s operate independently of each other and do not interfere at all in the normal running state except when communicating with each other. Figure 2
Shows an operation flowchart of the communication CPU 26 and the address management CPU 20. The communication management CPU 26 is exclusively in communication with the recording / reproduction control circuit 24 (S1), and the address management CPU 20 is in address management of the image memory 14 (S11). The communication CPU 26 and the address management CPU 20 communicate with each other by the communication CPU.
26 is when a command relating to recording / reproduction is input from the recording / reproduction control circuit 24 (S2), while for the address management CPU 20, a tally signal or an abnormal signal from the image memory 14 or a peripheral device is input. (S12).

【0015】例えば、記録再生制御回路24から通信用
CPU26に記録再生に関する命令が転送されると、通
信用CPU26は、動画像のフレーム番号と命令内容を
命令メモリ28に書き込み(S3)、制御線30を介し
てアドレス管理用CPU20に割り込み命令を送信する
(S4)。アドレス管理用CPU20はこれに応じて、
現在実行中の動作を強制的に中断して、割り込みルーチ
ンを開始する(S15)。
For example, when a recording / playback command is transferred from the recording / playback control circuit 24 to the communication CPU 26, the communication CPU 26 writes the frame number of the moving image and the command content in the command memory 28 (S3), and the control line. An interrupt command is transmitted to the address management CPU 20 via 30 (S4). In response to this, the address management CPU 20
The operation currently being executed is forcibly interrupted, and the interrupt routine is started (S15).

【0016】アドレス管理用CPU20の割り込みルー
チンでは、命令メモリ28からフレーム番号と命令内容
を読み出し(S16)、読み出したフレーム番号から画
像メモリ14のアドレスを計算し、命令内容に応じて画
像メモリ、A/D変換器12及びD/A変換器16を動
作させる(S17)。割り込みルーチンの処理を終了す
ると、メイン・ルーチンに復帰し(S18)、割り込み
前の動作を続行する。
In the interrupt routine of the address management CPU 20, the frame number and the instruction content are read from the instruction memory 28 (S16), the address of the image memory 14 is calculated from the read frame number, and the image memory, A The / D converter 12 and the D / A converter 16 are operated (S17). When the process of the interrupt routine is completed, the process returns to the main routine (S18) and the operation before the interrupt is continued.

【0017】また、アドレス管理用CPU20がタリー
信号や画像メモリ14及び他の周辺機器から異常信号を
受け取ると(S12)、その内容とフレーム番号を命令
メモリ28に書き込み(S13)、制御線32を介して
通信用CPU26に割り込みを命令する(S14)。通
信用CPU26はこれに応じて、現在実行中の動作を中
断して、割り込みルーチンを開始する(S5)。
When the address management CPU 20 receives a tally signal or an abnormal signal from the image memory 14 and other peripheral devices (S12), the contents and frame number are written in the instruction memory 28 (S13), and the control line 32 is set. The CPU 26 for communication is instructed to make an interrupt (S14). In response to this, the communication CPU 26 interrupts the operation currently being executed and starts the interrupt routine (S5).

【0018】通信用CPU26の割り込みルーチンで
は、命令メモリ28からフレーム番号と通信情報を読み
出し(S6)、記録再生制御回路24に通信情報を転送
する(S7)。この後、メイン・ルーチンに復帰し(S
8)、割り込み前の動作を続行する。
In the interrupt routine of the communication CPU 26, the frame number and communication information are read from the instruction memory 28 (S6), and the communication information is transferred to the recording / reproducing control circuit 24 (S7). After this, return to the main routine (S
8) Continue the operation before interruption.

【0019】このように、CPU20,26のI/Oポ
ート及びIRQポートを互いに接続することにより、個
々のCPUの動作を妨げることなく、割り込みにより必
要な時に強制的に種々の動作をさせることができる。こ
れにより、各CPU20,26のメイン・ルーチンを簡
素化でき、相互の動作状態を常時又は必要時に確認する
必要がなくなるだけでなく、命令実行のタイムラグも短
縮できる。この結果、実行時間を大幅に短縮できる。
In this way, by connecting the I / O ports and IRQ ports of the CPUs 20 and 26 to each other, it is possible to forcibly perform various operations when necessary by interrupts without interfering with the operations of the individual CPUs. it can. As a result, the main routine of each CPU 20, 26 can be simplified, and it is not necessary to confirm the mutual operation states at all times or when necessary, and the time lag of instruction execution can be shortened. As a result, the execution time can be significantly reduced.

【0020】[0020]

【発明の効果】以上の説明から容易に理解できるよう
に、本発明によれば、複数のCPU間の通信時間を短縮
でき、各CPUを効率良く動作させることができる。
As can be easily understood from the above description, according to the present invention, the communication time between a plurality of CPUs can be shortened and each CPU can be operated efficiently.

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

【図1】 本発明の一実施例の概略構成ブロック図であ
る。
FIG. 1 is a schematic block diagram of an embodiment of the present invention.

【図2】 本実施例の動作フローチャートである。FIG. 2 is an operation flowchart of this embodiment.

【符号の説明】[Explanation of symbols]

10:入力端子 12:A/D変換器 14:画像メモ
リ 16:D/A変換器 18:出力端子 20:アドレス管理用CPU 22:
データ/アドレス・バス 24:記録再生制御回路 2
6:通信用CPU 28:命令メモリ 30,32:制
御線
10: Input terminal 12: A / D converter 14: Image memory 16: D / A converter 18: Output terminal 20: Address management CPU 22:
Data / address bus 24: recording / reproduction control circuit 2
6: Communication CPU 28: Instruction memory 30, 32: Control line

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のCPUに対して互いの入出力用ポ
ートと割り込み要求入力用ポートを接続すると共に、C
PU間に通信情報を一時記憶するメモリ手段を配置し、
送信側CPUから受信側CPUに割り込みをかけ、当該
メモリ手段を介して通信情報を送信側CPUから受信側
CPUに転送することを特徴とする複数CPU間の通信
システム。
1. A plurality of CPUs are connected to each other's input / output ports and interrupt request input ports, and C
A memory means for temporarily storing communication information is arranged between PUs,
A communication system between a plurality of CPUs, characterized in that the transmitting CPU interrupts the receiving CPU to transfer communication information from the transmitting CPU to the receiving CPU via the memory means.
JP15976792A 1992-06-18 1992-06-18 Communication system among plural cpu Withdrawn JPH064489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15976792A JPH064489A (en) 1992-06-18 1992-06-18 Communication system among plural cpu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15976792A JPH064489A (en) 1992-06-18 1992-06-18 Communication system among plural cpu

Publications (1)

Publication Number Publication Date
JPH064489A true JPH064489A (en) 1994-01-14

Family

ID=15700827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15976792A Withdrawn JPH064489A (en) 1992-06-18 1992-06-18 Communication system among plural cpu

Country Status (1)

Country Link
JP (1) JPH064489A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100469430B1 (en) * 2002-07-22 2005-02-02 엘지전자 주식회사 Circuit for processing video/audio data in image communication terminal equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100469430B1 (en) * 2002-07-22 2005-02-02 엘지전자 주식회사 Circuit for processing video/audio data in image communication terminal equipment

Similar Documents

Publication Publication Date Title
JP2829091B2 (en) Data processing system
JPH0563829B2 (en)
US5623622A (en) Memory access control system which prohibits a memory access request to allow a central control unit to perform software operations
EP0844566B1 (en) Interface apparatus for adapting data width to system bus width
KR100630071B1 (en) High speed data transmission method using direct memory access method in multi-processors condition and apparatus therefor
JPH04363746A (en) Microcomputer system having dma function
JPH064489A (en) Communication system among plural cpu
JPH1185413A (en) Recorder
JP3241072B2 (en) Computer system
SU1541623A1 (en) Device for interfacing computer with peripheral device
JPH0736806A (en) Dma system
JPS61271555A (en) Transferring system for direct memory access
JP2594673B2 (en) Data processing method
JP2671743B2 (en) Microcomputer
JP2538094B2 (en) SCSI disk controller
JPS623455B2 (en)
JPH05151137A (en) Electronic computer device
JPH1185672A (en) Data transmitter
JPH0412508B2 (en)
JPS6140658A (en) Data processor
JPS6037062A (en) Memory reading-out method
JPH05173936A (en) Data transfer processing device
JPS6019023B2 (en) data processing equipment
JPH03226850A (en) External auxiliary storage controller
JPS6240748B2 (en)

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990831