[go: up one dir, main page]

JPS61223965A - Data transfer circuit - Google Patents

Data transfer circuit

Info

Publication number
JPS61223965A
JPS61223965A JP6385285A JP6385285A JPS61223965A JP S61223965 A JPS61223965 A JP S61223965A JP 6385285 A JP6385285 A JP 6385285A JP 6385285 A JP6385285 A JP 6385285A JP S61223965 A JPS61223965 A JP S61223965A
Authority
JP
Japan
Prior art keywords
data
cpu
bus
memory
transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6385285A
Other languages
Japanese (ja)
Inventor
Akira Kariyado
假宿 晃
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP6385285A priority Critical patent/JPS61223965A/en
Publication of JPS61223965A publication Critical patent/JPS61223965A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port

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)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To attain data transfer with a program transfer instruction time only by operating simultaneously a data reception CPU and a picture processing CPU with the same interruption program and executing transfer instruction between different work RAM areas. CONSTITUTION:The data reception processing CPU 10 and the picture processing CPU 20 are of the same constitution and they are operated by the same clock CLK. The CPUs 10, 20 process data in RAMs 13, 23 according to the program stored in ROMs 12, 22. A reception data fetched in the RAM 13 of the CPU 10 is transferred to the RAM 23 via a data bus D1, a bus control circuit 40 and a data bus D2 by allowing a data transfer control circuit 30 to execute the same interruption program to the CPUs 10, 20 at the same time and the result is displayed on a picture display circuit 25.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、データ転送回路に係シ、特に制御装置間、例
えばマイクロプロセッサ間のデータ転送を高速に行なう
データ転送回路に関する。。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a data transfer circuit, and more particularly to a data transfer circuit that transfers data between control devices, such as between microprocessors, at high speed. .

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

外部からデータを受信し、この受信データを画像表示す
るシステムとして1例えば文字放送システム、ビデオテ
ックスシステムがある。このうち文字放送システムはテ
レビジ1ン信号の喬直帰線期間内で今まで無信号部分で
あった水平走査期間を用いてデータを伝送し、一方、ビ
デオテックスシステムは電話回線を用いてデータを伝送
しているO これらデータの伝送速度が遅い場合には、単一マイクロ
プロセッサ(以下CPUという)を用いて受信処理や画
像処理を行なうことが出来る。しかし、データの伝送速
度が速くなった場合、単一のCPUでは、CPUの動作
速度の制限から処理しきれない状態が発生する。そこで
、データ受信専用のCPU、画像処理専用のCPUのよ
うに複数のCPUを用いて、見かけ上CPUの処理能力
を向上させることが考えられた。この場合、データ受信
を行なうCPUは、受信したデータを画像処理を行なう
CPUへ転送する必要がある。
Examples of systems that receive data from the outside and display the received data as images include a teletext system and a videotex system. Among these systems, the teletext system transmits data using the horizontal scanning period, which until now was a no-signal portion, within the direct retrace period of the television signal, while the videotex system transmits data using the telephone line. If the transmission speed of these data is slow, a single microprocessor (hereinafter referred to as CPU) can be used to perform reception processing and image processing. However, when the data transmission speed increases, a single CPU may not be able to process the data due to the limitation of the CPU's operating speed. Therefore, it has been considered to use a plurality of CPUs, such as a CPU dedicated to data reception and a CPU dedicated to image processing, to improve the apparent processing power of the CPU. In this case, the CPU that receives data needs to transfer the received data to the CPU that performs image processing.

次に、上述したCPU間のデータ転送を行なう従来のデ
ータ転送回路について、図面を参照して説明する。
Next, a conventional data transfer circuit that transfers data between the CPUs described above will be described with reference to the drawings.

従来のデータ転送回路を示す第7図において、CPU7
0がデータの受信処理を制御し、CP Us。
In FIG. 7 showing a conventional data transfer circuit, the CPU 7
0 controls the data reception process, CPU Us.

は画像処理制御を行なう。71.81は夫々CPU70
.80に基準クロックを供給する発振器である。
performs image processing control. 71.81 are CPU70 respectively
.. 80 is an oscillator that supplies a reference clock to 80.

CP U3Oは発振器71からのクロックをもとに。CP U3O is based on the clock from the oscillator 71.

ROM72に記憶されているプフグラムに従って、デー
タ受信回路75が受信処理した受信データを、データバ
スを介してRAM73に取シ込む0ここでCPU70の
メモリ空間は、チップセレクタ74が出力するチップイ
ネーブルCEI、CB2によって規定される。
The received data received and processed by the data receiving circuit 75 is transferred to the RAM 73 via the data bus according to the program program stored in the ROM 72. Here, the memory space of the CPU 70 is based on the chip enable CEI output from the chip selector 74, Defined by CB2.

CPU80は発振器8125−らのクロ、りをもとに。The CPU 80 is based on the oscillator 8125-etc.

ROMB2に記憶されているプログラムに従って、RA
M83に格納された受信データを画像データに変換する
。ここでも、CPU5oのメモリ空間はチップセレクタ
84が出力するチップイネーブルCE3 。
According to the program stored in ROMB2, RA
The received data stored in M83 is converted into image data. Here again, the memory space of the CPU 5o is the chip enable CE3 output by the chip selector 84.

(J4によって規定される。上記画像データを画像表示
回路85内の画像メモリに格納することにより、画像表
示がなされる。
(Defined by J4. By storing the above image data in the image memory in the image display circuit 85, the image is displayed.

上記CPU70の几AM73に取り込まれた受信データ
は、出力ボート90.入力ボート91を介して、CPU
80のRAM83に転送される。この入出カポ−) 9
0.91 Kよるデータ転送は、データ転送制御回路9
2による割シ込み制御で行なわれる。
The received data taken into the AM 73 of the CPU 70 is sent to the output port 90. Through the input port 91, the CPU
80 RAM 83. This input/output capo) 9
Data transfer by 0.91K is performed by data transfer control circuit 9.
This is performed under interrupt control by 2.

上記データ転送動作を第8図に示すタイミングチャート
を参照して説明する。
The above data transfer operation will be explained with reference to the timing chart shown in FIG.

CPU70(第8図a)は、データ受信回路75を通し
て受信した受信データを一部RA M73に取シ込み・
データが所定量格納されると出力要求を出し、CPUg
Qの割シ込み信号INT(第8図b)がIllレベルで
あればデータを出方ボート9oに出力する。このときの
出カポ−)90へのラッチパルスOUT (第8図C)
によって、データ転送制御回路92はCPU800割り
込み信号INTを10ルベルにして、cpusoKll
D込み処理を実行させる0 CPU80(第8図d)は、それまで実行していた画像
データ処理を中断して、転送データ量は取シのための割
り込み処理を開始する。この割〕込み処理は、割り込み
の前処理を行なう割シ込みルーチン、転送データを入力
ポート91を介して取り込むデータ入力処理、取り込ん
だデータを加工する加工処理から成る。入力ポート91
から転送データを受は取る時のラッチパルスIN(第8
図e)は、上記データ転送制御回路92にも与えられ、
割シ込み信号INTを°L°レベルに戻す。なお、デー
タ転送制御回路92は、セット・リセットフリップフロ
ップで構成できるものである。
The CPU 70 (FIG. 8a) imports a portion of the received data received through the data receiving circuit 75 into the RAM 73.
When a predetermined amount of data is stored, an output request is issued and the CPUg
If the Q interrupt signal INT (FIG. 8b) is at Ill level, data is output to the output port 9o. At this time, the latch pulse OUT to output capo) 90 (Fig. 8C)
Accordingly, the data transfer control circuit 92 sets the CPU 800 interrupt signal INT to 10 levels, and
The CPU 80 (FIG. 8 d) interrupts the image data processing that has been executed up to that point and starts interrupt processing to collect the amount of data to be transferred. This interrupt processing consists of an interrupt routine that performs interrupt preprocessing, a data input process that takes in transfer data via the input port 91, and a processing process that processes the taken data. Input port 91
Latch pulse IN (8th
Figure e) is also given to the data transfer control circuit 92,
Return the interrupt signal INT to °L° level. Note that the data transfer control circuit 92 can be configured with a set/reset flip-flop.

さらに転送データがRAM73に存在する場合には、C
PU70は再度出力要求を出し、信号INTを監視して
CPU80がデータを受は取ったことを確認した後、ラ
ッチパルスOUTを出力して、出力ポート90にデータ
を保持させる。これによシ、CPU80は再び割シ込み
処理によって、転送データを入力ポート91を介して几
A M 83に取シ込む。
Furthermore, if transfer data exists in RAM 73, C
The PU 70 issues an output request again, monitors the signal INT to confirm that the CPU 80 has received the data, and then outputs a latch pulse OUT to cause the output port 90 to hold the data. Accordingly, the CPU 80 again receives the transfer data into the A M 83 via the input port 91 by interrupt processing.

以上説明した従来のデータ転送回路において。In the conventional data transfer circuit described above.

1度の割り込み処理で転送できるデータ長は、上記出カ
ポ−)90に出力可能なデータ単位長に制限される。従
って、転送すべきデータ量が多い場合には、上記データ
単位毎に割り込みが発生することになる。そのため、デ
ータ伝送速度がさらに高速化し、データ受信量が増大す
ると、CP U 70.80ともにデータ転送処理に時
間を費やすことになシデータ受信処理、画像処理が充分
に行なえない事態が発生する。
The data length that can be transferred in one interrupt process is limited to the data unit length that can be output to the output port 90. Therefore, if the amount of data to be transferred is large, an interrupt will occur for each data unit. Therefore, as the data transmission speed becomes faster and the amount of data received increases, both the CPU 70 and 80 spend time on data transfer processing, resulting in a situation where data reception processing and image processing cannot be performed sufficiently.

また、CPU間にFIFO等のバッファメモリを設けて
データ転送制御を簡略化することも考えられるが、デー
タ伝送速度によっては大容量のメモリが必要となるので
、回路規模、コスト等の点で問題がある。
It is also possible to simplify data transfer control by providing a buffer memory such as a FIFO between the CPUs, but depending on the data transmission speed, a large capacity memory is required, which poses problems in terms of circuit scale, cost, etc. There is.

さらに、CPU70がR,A MB2のデータを読んで
RAM73に格納しようとする場合には、もう1組人力
ボートと出力ボートが必要となるため、双方向のデータ
転送を行なうには回路が増大してしまう。
Furthermore, when the CPU 70 attempts to read the data in R and A MB2 and store it in the RAM 73, another set of human power boat and output boat is required, so the circuitry increases to perform bidirectional data transfer. I end up.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、複数の制御装置間のデータ転送を、小
さな回路規模で高速に行ないうるデータ転送回路を提供
することにある。
An object of the present invention is to provide a data transfer circuit that can transfer data between a plurality of control devices at high speed with a small circuit scale.

〔発明の概要〕[Summary of the invention]

この発明では例えば第1図に示すように、データを受信
するCPUl0側から画像処理を行なうCPU20側へ
のデータ転送の際、CPUl0,20を同一のCPUで
構成し、かつ同一のクロックで動作させる。そして、各
CPUl0,20を同時に同一の割シ込みプログラムで
動作させ、互いに異なるメモリ空間に設定された作業R
AM領域間での転送命令を実行することによって、プロ
グラムの転送命令時間のみでデータ転送を実現している
0〔発明の実施例〕 以下1本発明のデータ転送回路を、外部からデータを受
信し、この受信データを画像表示するシステムに適用し
た場合の一実施例について、図面を参照して詳細に説明
する。
In this invention, for example, as shown in FIG. 1, when data is transferred from the CPU 10 side that receives data to the CPU 20 side that performs image processing, the CPU 10 and 20 are configured with the same CPU and are operated with the same clock. . Then, the CPUs 10 and 20 are operated by the same interrupt program at the same time, and the work R set in different memory spaces is executed.
By executing a transfer command between AM areas, data transfer is realized only in the transfer command time of the program.0 [Embodiments of the Invention] The following 1 data transfer circuit of the present invention is used to receive data from the outside. An embodiment in which the received data is applied to a system for displaying images will be described in detail with reference to the drawings.

実施例の構成を示す第1図においてCP U 10はデ
ータの受信処理を制御し、CPU20は画像処理制御を
行なう。CPUl0は発振器11からのクロックCLK
をもとに、ROM12に記憶されているプログラムに従
って、データ受信回路15が受信処理した受信データを
、データバスDIを介してRAM13に取シ込む。ここ
で、CP U IQのメモリ空間はアドレスバスAlを
デコードするチップセレクタ14からのチップイネーブ
ルCEx、CB2によって規定される。
In FIG. 1 showing the configuration of the embodiment, a CPU 10 controls data reception processing, and a CPU 20 controls image processing. CPUl0 is clock CLK from oscillator 11
Based on the program stored in the ROM 12, the received data received and processed by the data receiving circuit 15 is taken into the RAM 13 via the data bus DI. Here, the memory space of the CPU IQ is defined by chip enables CEx and CB2 from the chip selector 14 that decodes the address bus Al.

CPU20は、上記CPUl0と同一構成でIhシ。The CPU 20 has the same configuration as the CPU 10 described above.

しかも同一のクロックCLKで動作する。この、CPU
20はR,0M22に記憶されているプログラムに従っ
て%RAM23に格納された受信データを画像データに
変換する。ここでも、CPU20のメモリ空間は、チッ
プセレクタUがアドレスバスA2ラブコードして出力す
るチップイネーブルCE3 、 C84によって規定さ
れる。上記画像データをデータバスD2を介して画像表
示回路δ内−の画像メモリに格納することによって1画
像表示がなされる。
Moreover, they operate with the same clock CLK. This CPU
20 converts the received data stored in the RAM 23 into image data according to the program stored in the R, 0M 22. Here again, the memory space of the CPU 20 is defined by the chip enables CE3 and C84 output by the chip selector U as a love code on the address bus A2. One image is displayed by storing the above image data in the image memory in the image display circuit δ via the data bus D2.

上記CPUJOのRA M 13に取シ込まれた受信デ
ータは、データ転送制御回路加が両cpU10,20に
同時に同一割込みプログラムを実行させるととにより、
データバスD1、バス制御回路40、データバスD2を
介してCPU20のRAM23に転送される。
The received data taken into the RAM 13 of the CPUJO is processed by the data transfer control circuit causing both CPUs 10 and 20 to simultaneously execute the same interrupt program.
The data is transferred to the RAM 23 of the CPU 20 via the data bus D1, the bus control circuit 40, and the data bus D2.

データ転送制御回路間は、CPUl0及びCPU加に同
一タイミングで同一割込みプログラムを実行させるため
に、第2図に示す回路構成となっている◇つまり、CP
Ul0からのデータ転送要求を示す信号OUT 1を7
リツププロツプ31 、32によってクロックCLKに
同期させた信号0UT2に変換し、この信号0UT2で
CP U3Oをホールド状態にする。そして、CPUl
0の割込み要求を示す信号lNTlによって上記プリッ
プフロップ31゜諺をクリアするとともに、フリップフ
ロップおから割シ込み信号INT2をCPUl0,20
に出力して、同時に割シ込み処理を開始でせる。
The circuit configuration between the data transfer control circuits is shown in Figure 2 in order to cause CPU10 and CPU10 to execute the same interrupt program at the same timing.
Signal OUT 1 indicating data transfer request from Ul0 to 7
It is converted into a signal 0UT2 synchronized with the clock CLK by lip props 31 and 32, and this signal 0UT2 puts the CPU 30 into a hold state. And CPUl
The above-mentioned flip-flop 31 is cleared by the signal lNTl indicating an interrupt request of 0, and the flip-flop okara interrupt signal INT2 is sent to the CPUl0, 20.
and interrupt processing can be started at the same time.

また、バス制御回路菊はCPUl0のデータバスD1と
CPU20のデータバスD2とを割り込み処理時に共通
にするため、第3図に示すように読み出し動作において
バッファ41 、42を夫々制御信号0゜lによって制
御する。この制御は、CPUl0.20のメモリ空間を
夫々第4図a、bに示すように設定した場合、第1表の
ようになる。CPU10,2゜が夫々データ受信処理、
画像処理を行なうためのプログラムROM領域(n番地
)、作業RAM領域(ff1#地)では、データバスD
1.Dzは切夛離され独立である。
Furthermore, in order to use the data bus D1 of the CPU10 and the data bus D2 of the CPU20 in common during interrupt processing, the bus control circuit KIKU controls the buffers 41 and 42 by the control signal 0°l, respectively, in the read operation as shown in FIG. Control. This control is as shown in Table 1 when the memory space of CPU10.20 is set as shown in FIGS. 4a and 4b, respectively. CPU10 and 2° each perform data reception processing,
In the program ROM area (address n) and work RAM area (address ff1#) for image processing, the data bus D
1. Dz is separated and independent.

一方、データ転送時にはCP U 10側のj番地の領
域に存在する割り込みプログラムを両CPUl0゜加に
実行させるため、制御信号Oによシパッファ41をアク
ティブにして、データバスDl上のプログラムコードを
データバスD2上にも供給する。
On the other hand, during data transfer, in order to cause both CPUs to execute the interrupt program existing in the area at address j on the CPU 10 side, the shipper 41 is activated by the control signal O, and the program code on the data bus Dl is transferred to the data bus. Also supplied on bus D2.

次に、上記構成の実施例のデータ転送動作を第5図のタ
イミングチャート、第6図のフローチャートを参照して
説明する。
Next, the data transfer operation of the embodiment having the above configuration will be explained with reference to the timing chart of FIG. 5 and the flowchart of FIG. 6.

CPUl0(第5図a)は、データ受信回路15を通し
て受信した受信データを一部R,A M 13のj番地
のデータRAM領域に取シ込み、データが所定量格納さ
れると転送要求を出す。この転送要求は第6図aに示す
ように、ステップ860から開始しステップ861で転
送要求信号OU’l”l (gs図b)をデータ転送制
御回路30に出力するOこの信号0UTlはクロックC
LKに同期した信号0UT2(第5図C)としてCPU
20のホールド端子[)LI)に印加されるので、CP
U20は現在のマシンサイクル完了後バスの使用権を放
棄して待機状態(ホールド状態)になる0とのため、C
PU20は割り込み信号が印加されれば、直ちに割シ込
み処理に移る。CPU20がホールド状態になる期間C
PU10はステップ862で時間待ちし、その後ステッ
プ863で割シ込み要求信号INTI(第5図d)をデ
ータ転送制御回路加に出力する。この信号lNTlから
作られる割り込み信号INT2(第5図6>によッテ、
両CPUl0.CPU20(第5図f)は同時K IJ
 !り込みが発生する(ステップ564)。
The CPU 10 (FIG. 5a) takes part of the received data received through the data receiving circuit 15 into the data RAM area at address j of R, A M 13, and issues a transfer request when a predetermined amount of data is stored. . This transfer request starts from step 860 as shown in FIG.
The CPU outputs the signal 0UT2 (Fig. 5C) synchronized with LK.
Since it is applied to the hold terminal [)LI) of 20, CP
After the current machine cycle is completed, U20 relinquishes the right to use the bus and enters a standby state (hold state).
When the interrupt signal is applied, the PU 20 immediately moves to interrupt processing. Period C during which the CPU 20 is in a hold state
The PU 10 waits for a time in step 862, and then outputs an interrupt request signal INTI (FIG. 5d) to the data transfer control circuit in step 863. Interrupt signal INT2 (see FIG. 5, 6) generated from this signal NTl,
Both CPU10. The CPU 20 (Fig. 5 f) is simultaneously K IJ
! A log-in occurs (step 564).

この割シ込みプログラムはROM 12のj番地に存在
するので、チップセレクタ14からの制御信号0によっ
て、CPU20がデータバスDl上のプログラムコード
を読めるようにデータバスDI、D2を制御する。第6
図すに示すステップ870で開始された割り込みプログ
ラムは、まずステップ871で割シ込み処理に必要な準
備を割シ込みルーチンt1行なう0この中で、次の割り
込み処理を可能にするためチップセレクタスが信号IN
を出力し、データ転送制御回路(至)からの割シ込み信
号IN’I’2をクリアする。
Since this interrupt program exists at address j in the ROM 12, the control signal 0 from the chip selector 14 controls the data buses DI and D2 so that the CPU 20 can read the program code on the data bus Dl. 6th
The interrupt program started at step 870 shown in the figure first performs preparations necessary for interrupt processing at step 871 using an interrupt routine t1. is the signal IN
is output, and the interrupt signal IN'I'2 from the data transfer control circuit (to) is cleared.

理をCPUl0,20が行なう。このとき、バス制御回
路40 K j F) CP U 204 RA M 
13 O内容を取り込むことができる。次に、ステップ
873で受信データの加工処理、例えば受信データ中に
含まれる誤シ検出符号を取り除く処理を行なった後、ス
テップ874でR,AMZ(のに番地の領域に書き込む
。書き込み動作時には上述したようにバス制御は行なわ
ず、データバスDI、D2は独立である。以上の動作に
よって、RAM13のj番地の領域に存在するデータを
RAM230に番地に転送することができる。しかも、
この転送はCP’UI0,20の転送命令を実行するの
みで実現できる。
The CPU 10, 20 performs the processing. At this time, the bus control circuit 40 K j F) CPU 204 RAM
13 O contents can be imported. Next, in step 873, the received data is processed, for example, the erroneous detection code included in the received data is removed, and then in step 874, the data is written to the address area of R, AMZ (. As described above, no bus control is performed and the data buses DI and D2 are independent. Through the above operations, the data existing in the area at address j of the RAM 13 can be transferred to the address in the RAM 230. Moreover,
This transfer can be realized simply by executing transfer commands of CP'UI0 and CP'UI20.

データ転送量を管理するため、j番地の領域に格納しで
ある長さデータを読み出しくステップ575)、このデ
ータを−1した後(ステップ876)、再びj番地の領
域に格納する(ステップ577)。
In order to manage the data transfer amount, the length data stored in the area at address j is read out (step 575), this data is incremented by 1 (step 876), and then stored in the area at address j again (step 577). ).

以上の転送動作は、ステップ87gで上記長さデータが
0になるまで繰シ返えされた後、ステップ879で割り
込み処理が終了する。そして、CPU10 、20はデ
ータ受信処理、画像処理動作に戻る。
The above transfer operation is repeated until the length data becomes 0 in step 87g, and then the interrupt processing ends in step 879. Then, the CPUs 10 and 20 return to data reception processing and image processing operations.

を九、データを転送する番地の管理を行なう必要がある
場合には、CPU1oがRAM23のに番地に存在する
データを読むことも可能である。つまシ、上述した転送
動作と同様に、チップセレクタ14からの制御信号Iが
印加されるバス制御回路切によって、に番地の領域を読
み込む際にデータバスD2上のデータをデータバスD1
に供給すればよい0以上説明したようにこの実施例では
CPUの言語命令単位でしか′411割シ込み処理で複
数回CPUl0,20の間のデータの転送が行なえるの
で、入出力ボートを介する場合に比べ極めて高速転送と
なる0従って、短時間に大容量のデータ転送が実現でき
、データ転送以外の主処理、例えばデータ受信処理1画
像処理の効率が向上する。さらに、言語命令が存在して
いるので、データの転送先が自由に指定できる0 また、データバスを共通化することによりデータ転送を
行なっているので、双方向のデータ転送が回路規模を増
大させることなく実現できる利点をも有する。
(9) If it is necessary to manage the address to which data is transferred, the CPU 1o can also read the data existing at the address in the RAM 23. Similarly to the transfer operation described above, by turning off the bus control circuit to which the control signal I from the chip selector 14 is applied, the data on the data bus D2 is transferred to the data bus D1 when reading the area at the address.
As explained above, in this embodiment, data can be transferred between CPUs 10 and 20 multiple times by '411 interrupt processing only in units of CPU language instructions, so Therefore, a large amount of data can be transferred in a short time, and the efficiency of main processing other than data transfer, such as data reception processing and image processing, is improved. Furthermore, since language instructions exist, the data transfer destination can be specified freely.In addition, since data transfer is performed by sharing a data bus, bidirectional data transfer increases the circuit scale. It also has the advantage of being able to be achieved without having to do so.

なお、この実施例でけCPUl0に従うのはCPU20
だけであったが、主CPUl0に対して複数の従CPU
を設けてもよいつ また、この発明はデータ受信処理、画像処理を行なうC
PU間のみに適用されるものではなく。
In addition, in this embodiment, CPU20 follows CPU10.
However, there were multiple slave CPUs for the main CPU10.
The present invention also provides a C for performing data reception processing and image processing.
It does not apply only between PUs.

任意のCPU間のデータ転送に適用できるものである0 〔発明の効果〕 本発明によれば、複数の制御装置間のデータ転送を高速
に行なうことができるため、各制御装置のデータ処理効
率を向上させることが可能となる。
[Effects of the Invention] According to the present invention, data can be transferred between a plurality of control devices at high speed, so the data processing efficiency of each control device can be improved. It becomes possible to improve the performance.

さらに、小規模の回路構成で双方向のデータ転送が行な
いうる利点を有する。
Furthermore, it has the advantage that bidirectional data transfer can be performed with a small-scale circuit configuration.

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

第1図は本発明のデータ転送回路に係る一実施例を示す
回路図、第2図及び第3図は第1図に示す実施例の各部
の詳細を示す回路図、第4図はCPUのメモリ構成を示
すメモリマツプ、第5図は実施例の動作を説明するタイ
ミングチャート、第6図は実施例の動作を説明するフロ
ーチャート。 第7図は従来のデータ転送回路を示す回路図、第8図は
第7図に示す回路の動作を説明するタイミングチャート
である。 10.20・・・マイクロプロセッサ、12 、22・
・・ROM。 13 、 Z3・・・RAM。 (資)・・・バス制御回路、 切・・・データ転送制御回路。 代理人 弁理士  則 近 憲 佑 (ほか1名) 4s4図 第5図 (1,IN          ′ 第6図 第7図 第8図 e、 IN
FIG. 1 is a circuit diagram showing an embodiment of the data transfer circuit of the present invention, FIGS. 2 and 3 are circuit diagrams showing details of each part of the embodiment shown in FIG. 1, and FIG. 4 is a circuit diagram of a CPU. A memory map showing the memory configuration, FIG. 5 a timing chart explaining the operation of the embodiment, and FIG. 6 a flowchart explaining the operation of the embodiment. FIG. 7 is a circuit diagram showing a conventional data transfer circuit, and FIG. 8 is a timing chart explaining the operation of the circuit shown in FIG. 10.20... microprocessor, 12, 22.
...ROM. 13, Z3...RAM. (Capital)...Bus control circuit, Off...Data transfer control circuit. Agent Patent attorney Kensuke Chika (and 1 other person) 4s4 Figure 5 (1, IN' Figure 6 Figure 7 Figure 8 e, IN

Claims (1)

【特許請求の範囲】 基準クロックによってデータ処理動作が規定される第1
の制御装置と、 この第1の制御装置のデータバスを介してデータのアク
セスがなされる第1のメモリと、 前記第1の制御装置と同一機能を有し、前記基準クロッ
クによってデータ処理動作が規定される第2の制御装置
と、 この第2の制御装置のデータバスを介してデータのアク
セスがなされ、前記第1のメモリとは異なるメモリ空間
上に設定された第2のメモリと、前記第1及び第2の制
御装置のデータバスを互いに双方向に切換え制御するバ
ス制御手段と、前記第1の制御装置からの転送要求に応
じて、前記第1及び第2の制御装置に同一タイミングで
前記第1のメモリと第2のメモリ間のデータ転送処理を
実行させる転送制御手段とを具備し、転送処理時には前
記バス制御手段によって前記第1と第2の制御装置のデ
ータバスを共通にし、互いに異なるメモリ空間上に設定
された前記第1のメモリと第2のメモリ間でのデータ転
送を前記第1及び第2の制御装置が実行することを特徴
としたデータ転送回路。
[Claims] A first system in which a data processing operation is defined by a reference clock.
a first memory whose data is accessed via a data bus of the first control device; and a first memory having the same function as the first control device and whose data processing operation is performed by the reference clock. a second control device defined, a second memory to which data is accessed via a data bus of the second control device and set in a memory space different from the first memory; bus control means for bidirectionally switching and controlling the data buses of the first and second control devices; and transfer control means for executing data transfer processing between the first memory and the second memory, and during the transfer processing, the bus control means shares the data bus between the first and second control devices. . A data transfer circuit, wherein the first and second control devices execute data transfer between the first memory and second memory set in mutually different memory spaces.
JP6385285A 1985-03-29 1985-03-29 Data transfer circuit Pending JPS61223965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6385285A JPS61223965A (en) 1985-03-29 1985-03-29 Data transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6385285A JPS61223965A (en) 1985-03-29 1985-03-29 Data transfer circuit

Publications (1)

Publication Number Publication Date
JPS61223965A true JPS61223965A (en) 1986-10-04

Family

ID=13241277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6385285A Pending JPS61223965A (en) 1985-03-29 1985-03-29 Data transfer circuit

Country Status (1)

Country Link
JP (1) JPS61223965A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6458039A (en) * 1987-08-28 1989-03-06 Seiko Epson Corp Microcomputer
JPH0191959U (en) * 1987-12-11 1989-06-16

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6458039A (en) * 1987-08-28 1989-03-06 Seiko Epson Corp Microcomputer
JPH0191959U (en) * 1987-12-11 1989-06-16

Similar Documents

Publication Publication Date Title
JPH03160545A (en) Interface circuit
JP2822986B2 (en) Single chip microcomputer with DMA
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
KR100229897B1 (en) Timing Mode Selection Device According to Direct Memory Access Transmission Method
JPS61223965A (en) Data transfer circuit
US5185879A (en) Cache system and control method therefor
JP2643931B2 (en) Information processing device
US20140092123A1 (en) Drawing control device
KR970002412B1 (en) Communication coprocessor board capable of using dma
JPS62130456A (en) Data transfer circuit
JPH03241442A (en) Store buffer control system
JP2856709B2 (en) Bus coupling system
JPH01116682A (en) Monitor display device
CN115422100A (en) Direct memory access control device, data transmission method and data transmission system
JP2821176B2 (en) Information processing device
JP2000040074A (en) Timing setting system
JPH11143812A (en) Dma circuit
JPS63231669A (en) Data transmission method
JPH02211571A (en) Information processor
JPH06332842A (en) Direct memory access control circuit
JPH05281290A (en) Data transfer circuit of ic tester sharing storage circuit
JPH07121483A (en) Shared memory access control circuit
JPH01181144A (en) Data input/output device
JPH02307149A (en) Direct memory access control method
JPH03191412A (en) Input display control device