JPS62298860A - Data transfer method - Google Patents

Data transfer method

Info

Publication number
JPS62298860A
JPS62298860A JP14332386A JP14332386A JPS62298860A JP S62298860 A JPS62298860 A JP S62298860A JP 14332386 A JP14332386 A JP 14332386A JP 14332386 A JP14332386 A JP 14332386A JP S62298860 A JPS62298860 A JP S62298860A
Authority
JP
Japan
Prior art keywords
data
main memory
memory
cpu
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
JP14332386A
Other languages
Japanese (ja)
Inventor
Sakae Niki
栄 仁木
Toshihiko Ogawa
俊彦 小川
Tatsuya Kumagai
達也 熊谷
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems 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 Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP14332386A priority Critical patent/JPS62298860A/en
Publication of JPS62298860A publication Critical patent/JPS62298860A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To improve the operation of a CPU and the operation efficiency of a main memory part by using the serial port memory of the dual port D-RAM of the main memory part as an input buffer part for data communication. CONSTITUTION:When a command i/F control part 18 transmits a transfer request to the opposite system and receives ACK from the opposite system, a CPU 11 instructs a memory control part 14 to transmit a specific signal. The memory control part 14 transmits the specific signal to the main memory 13 and a data i/F control part 20. When the main memory 13 receiving the signal, a DRAM is placed in READ transfer mode for one cycle. Transfer begins to be performed to the opposite system through a data i/F part 19 one cycle later. When the transmission of data is finished, a signal ACK is received from the opposite system according to a transfer end command and the transmitting operation is finished.

Description

【発明の詳細な説明】 3、発明の詳細な説明 産業上の利用分野 本発明は、メモリとこのメモリをアクセスするO P 
Uとを連結するO P U・・スを効率的に利用できる
ようにしたデータ転送方法に関する。
Detailed Description of the Invention 3. Detailed Description of the Invention Industrial Field of Application The present invention relates to a memory and an O P that accesses this memory.
The present invention relates to a data transfer method that makes it possible to efficiently utilize an OPU... that connects a U.

従来の技術 従来、メモリの格納データを通信回路から送り出したり
、あるいはメモリにデータを取り込むような場合、例え
ば第3図に示すようなデータ転送システムが用いられて
いた。このデータ転送システムは、このシステムの各回
路を制御するO P IJlと、CPIJlにCPUバ
ス2を介してそれぞれ接続される主メモリ3、データi
 / F制御部4及びコマンドi/F制御部5と、デー
タi / P制御部4に制御されるデータi / F部
6と、コマンドi/F制御部5によって制御されるコマ
ンドi / P部7とを有している。そして、このデー
タ転送システムによって送信を行なう場合は、OP U
 1は主メモリ3をアクセスし、ここから格納データが
取出され、この格納データがCPUバス2を介して(第
3図、処理手順ST1参照)データi/F制御部4に送
られ、ここからデータがデータi / F 6に伝送さ
れる(ST2)ようになっていた。一方、データの受信
は送信の場合と逆の経路で行なわれるようになっていた
2. Description of the Related Art Conventionally, when sending data stored in a memory from a communication circuit or importing data into a memory, a data transfer system as shown in FIG. 3, for example, has been used. This data transfer system includes an O P IJl that controls each circuit of this system, a main memory 3 and a data iJl that are respectively connected to the CPIJl via a CPU bus 2.
/F control unit 4 and command i/F control unit 5, data i/F unit 6 controlled by data i/P control unit 4, and command i/F unit controlled by command i/F control unit 5. 7. When transmitting using this data transfer system, OPU
1 accesses the main memory 3, from which the stored data is retrieved, and this stored data is sent to the data I/F control unit 4 via the CPU bus 2 (see processing procedure ST1 in FIG. 3), and from there Data was to be transmitted to data i/f 6 (ST2). On the other hand, data reception was performed through the opposite route to that used for transmission.

なお、データi / P制御部4にローカルメモリ8を
付加する場合がある。この場合、第3図ST13 ″・ の処理後、一旦データをローカルメモリ8に格納しくS
T3.5T4)、この後DMA (ダイレクトメモリア
クセス)を用い、ST2の手順に進み、CPUバス2の
使用効率を上げるようにして送信を行なっていた。また
、受信は上記送信の場合と逆の経路で行なわれていた。
Note that a local memory 8 may be added to the data i/p control unit 4 in some cases. In this case, after the processing at ST13'' in FIG. 3, the data is temporarily stored in the local memory 8 and S
T3.5T4) After that, the process proceeds to ST2 using DMA (direct memory access), and transmission is performed in such a way as to increase the usage efficiency of the CPU bus 2. Furthermore, reception was performed through a route opposite to that of the above-mentioned transmission.

発明が解決°しようとする問題点 ところで、このようなデータ転送方法では主メモリ3の
データをデータi / F部6で送受信する際に必ずC
PUバス2を経由しなければならず、送受信が行なわれ
ている間は、この送受信のためにCPUバス2が占有さ
れたり、あるいは優先的に使用されるためCPU1が待
機させられてしまうという問題点があった。
Problems to be Solved by the Invention Incidentally, in this data transfer method, when data in the main memory 3 is transmitted and received by the data I/F unit 6, the C
The problem is that the CPU bus 2 must be routed through the PU bus 2, and while the transmission and reception is being performed, the CPU bus 2 is occupied or used preferentially, causing the CPU 1 to be put on standby. There was a point.

この問題点の対策として例えば第4図に示すようなデー
タ転送システムが考えられる。このデータ転送システム
は主メモリ3とデータi / F制御部4をCPUバス
2と別の高速データパスタで結び、主メモリ3とデータ
i/F部6との間のデータ転送中にもCPUバス2が利
用されるようになっている。このため、この場合1例え
ば(1!PTJ1が主メモリ3以外の周辺機器にアクセ
ス可能である。
As a solution to this problem, for example, a data transfer system as shown in FIG. 4 can be considered. This data transfer system connects the main memory 3 and the data I/F control section 4 with the CPU bus 2 and another high-speed data path, and also connects the CPU bus 2 during data transfer between the main memory 3 and the data I/F section 6. 2 is now in use. Therefore, in this case, 1, for example (1!PTJ1) can access peripheral devices other than the main memory 3.

しかしながら、このデータ転送システムにおいてもデー
タ転送中には主メモリへのアクセスが不可能であり、C
PUから主メモリへのアクセスとデータの通信をリアル
タイムに行なえないという問題点があった。
However, even in this data transfer system, it is impossible to access main memory during data transfer, and C
There was a problem in that the PU could not access the main memory and communicate data in real time.

本発明は、上記事情に鑑みてなされたもので。The present invention has been made in view of the above circumstances.

主メモリのデータを送受信する際に、CPIJバスの占
有を極力減らしてCPUが主メモリに対してリアルタイ
ムでアクセスできるようにしたデータ転送方法を提供す
ることを目的とする。
An object of the present invention is to provide a data transfer method that allows a CPU to access the main memory in real time by minimizing the occupation of the CPIJ bus when transmitting and receiving data in the main memory.

問題点を解決するための手段 本発明は上記目的を達成するため、ランダムアクセス可
能なRAMポート及びシリアルメモリを介してアクセス
可能なシリアルポートを有する主メモリ部をCPUバス
を介してCP Uに接続されているとともに、主メモリ
部のアクセスモードを制御するメモリ制御部が設けられ
ている。
Means for Solving the Problems In order to achieve the above object, the present invention connects a main memory section having a randomly accessible RAM port and a serial port accessible via a serial memory to a CPU via a CPU bus. A memory control unit is also provided to control the access mode of the main memory unit.

作  用 メモリ制御部の制御によって主メモリ部のシリアルポー
トが選択されると、ここが通信の入出力バッファとして
使用される。そして、RAMポートがあけられた状態で
シリアルポートを介して通信が行なわれる。
When a serial port in the main memory section is selected under the control of the working memory control section, this port is used as an input/output buffer for communication. Communication is then performed via the serial port with the RAM port open.

実施例 第1図は本発明の一実施例が適用されるデータ転送シス
テムの概略構成を示すブロック図である。
Embodiment FIG. 1 is a block diagram showing a schematic configuration of a data transfer system to which an embodiment of the present invention is applied.

このデータ転送システムは、このシステムの各回路を制
御する0PU11と、CPU11にCPUバス12を介
して接続される主メモリ部13と、主メモリ部13とC
PUバス12との間に介在し、主メモリ部13のアクセ
スモードの設定のように主メモリ部13の制御を行なう
とともに、送信時信号TXCT、に、TXENAを発生
するメモリ制御部14と、メモリ制御部14に信号RA
NG、0ASG、T X OT、 K Gを出力してメ
モリ制御部14のタイミング制御するタイ、ミング発生
部16と、相手側システムとの間に介在される通信制御
部16とを備6ペー えている。
This data transfer system includes an OPU 11 that controls each circuit of this system, a main memory section 13 connected to the CPU 11 via a CPU bus 12, and a main memory section 13 and a CPU bus 12.
A memory control unit 14 that is interposed between the PU bus 12, controls the main memory unit 13 such as setting the access mode of the main memory unit 13, and generates the transmission signals TXCT and TXENA; A signal RA is sent to the control unit 14.
It is equipped with a timing generator 16 that outputs NG, 0ASG, TXOT, KG to control the timing of the memory control unit 14, and a communication control unit 16 interposed between the other party's system. There is.

主メモリ部13はランダムアクセス可能なRAMポート
及びシリアルメモリを介してアクセス可能なRAMポー
トを有しており、いわゆるプーアル(2)ポートダイナ
ミックメモリ(プーアルポートD RA M)を構成し
ている。
The main memory section 13 has a RAM port that can be randomly accessed and a RAM port that can be accessed via a serial memory, and constitutes a so-called Puar (2) port dynamic memory (Puar port DRAM).

通信制御部16は、相手・側システムとのコマンドの送
受を行なうコマンドi / F部17と、コマンドi 
/ F部17を制御・管理し、相手側システムとの同期
をとるコマンドi / F制御部18と、相手側システ
ムとのデータの送受を行なうデータi / F部19と
、データi / F部19の制御を行い、送信、受信そ
れぞれのとき、主メモリ13へsE(シリアルイネーブ
ル)、5AS(シリアルクロック)を出力するデータi
 / F制御部2oとを有している。
The communication control unit 16 includes a command i/F unit 17 that sends and receives commands to and from the other party's system, and a command
A command i/F control unit 18 that controls and manages the /F unit 17 and synchronizes with the other system, a data i/F unit 19 that sends and receives data to and from the other system, and a data i/F unit. 19 and outputs sE (serial enable) and 5AS (serial clock) to the main memory 13 during transmission and reception, respectively.
/F control section 2o.

このように構成されたデータ転送システムで本発明の一
実施例が適用された場合について、相手側システムへの
データの送信を例にして第2図を参照して説明する。
A case in which an embodiment of the present invention is applied to a data transfer system configured as described above will be described with reference to FIG. 2, taking as an example the transmission of data to a partner system.

7 パ− コマンドi / F制御部18から転送要求を相手側シ
ステムへ送信し、相手側システムから信号AOKを受信
すると、CPU11はメモリ制御部14に対し、所定信
号の送信を行なうよう指示する。
7 Per-Command I/F When the control unit 18 transmits a transfer request to the other party's system and receives the signal AOK from the other party's system, the CPU 11 instructs the memory controller 14 to transmit a predetermined signal.

この際、同時に転送バイト数、転送スタートアドレスを
nビット(blt)単位で指示する。このCPU11の
指示によって、メモリ制御部14は主メモリ部13に対
して信号CAB、RAS、TR10E1ME/WEを送
信し、また、データi / F制御部2oに対して信号
TXOLK、TXENAを送信する。主メモリ部13が
上記語信号を入力すると、この主メモリ部13のデュア
ルポートDRAMは1サイクルの間、READ転送モー
ド(指示されたRAM上の一行をシリアルメモリにラッ
チするモード、第2図参照)にされる。このREAD転
送モードの1サイクルが経過すると、データi / F
制御部2oから主メモリ部13へ8E、8ASが出力さ
れる。主メモリ部13はSR,SASを入力すると、デ
ータi / F部19を介して相手側システムにデータ
の転送を開始しはじめる。なお、このデータ転送に対応
してデータi/F制御部20は信号OT、 K、BNA
を発生し、これを相手側システムに送信する。データの
送信が終了すると、コマンドi / F制御部18から
転送終了コマンドが送信され、この転送終了コマンドに
応じて相手側システムから信号ACKを受信することに
よって送信動作終了となる。なお、この場合、第4図の
R,BAD転送モードに示すように、n X a bi
tのデータの転送を行うのにデータi/F部19が主メ
モリ部13のサイクルを占有するのは1サイクルであり
、そのサイクル以外は(例えばデータ転送中であっても
)CPUバス12及び主メモリ部13における処理を阻
害することはない。
At this time, the number of bytes to be transferred and the transfer start address are simultaneously specified in units of n bits (blt). In response to instructions from the CPU 11, the memory control section 14 transmits signals CAB, RAS, and TR10E1ME/WE to the main memory section 13, and also transmits signals TXOLK and TXENA to the data i/F control section 2o. When the main memory unit 13 inputs the word signal, the dual port DRAM of the main memory unit 13 operates in READ transfer mode (a mode in which one row of the specified RAM is latched into the serial memory, see FIG. 2). ). After one cycle of this READ transfer mode has passed, the data I/F
8E and 8AS are output from the control section 2o to the main memory section 13. When the main memory section 13 receives the SR and SAS, it starts transferring data to the other party's system via the data I/F section 19. Note that in response to this data transfer, the data I/F control unit 20 outputs signals OT, K, and BNA.
is generated and sent to the other party's system. When the data transmission is completed, a transfer end command is sent from the command I/F control unit 18, and a signal ACK is received from the other party's system in response to this transfer end command, thereby ending the transmission operation. In this case, as shown in the R, BAD transfer mode in FIG.
The data I/F section 19 occupies one cycle of the main memory section 13 to transfer data of t, and the CPU bus 12 and The processing in the main memory section 13 is not obstructed.

なお、以上説明した送信転送動作と逆方向の経路で上記
と同様にして受信時の転送が行なわれる。
It should be noted that transfer at the time of reception is performed in the same manner as above on a path in the opposite direction to the transmission transfer operation described above.

この場合も同様にしてCPUバス12及び主メモリ部1
3の使用が制限されるのは極めて少なくなる。
In this case as well, the CPU bus 12 and the main memory section 1
There are very few restrictions on the use of 3.

発明の詳細 な説明したように本発明は主メモリ部のプーアルポート
1)−RA、Mのシリアルポートメモリをデータ通信の
入出カバソファとして使用しており、CPUの動作及び
主メモリ部の動作効率が高まるとともに高速な通信が可
能になる。
As described in detail, the present invention uses the serial port memory of the main memory unit's Puer port 1)-RA, M as an input/output cover sofa for data communication, which improves the operating efficiency of the CPU and the main memory unit. As the speed increases, high-speed communication becomes possible.

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

第1図は本発明の一実施例が適用されるデータ転送シス
テムの概略構成を示すブロック図、第2図は同システム
に適用された本発明の一実施例を示すタイムチャート、
第3図は従来の方法の一例が適用されるデータ転送シス
テムの概略構成を示すブロック図、第4図は他の従来の
方法が適用されるデータ転送システムの概略構成を示す
ブロック図である。 11・・・CPU、12・・・CPUバス、13・・・
主メモリ部、14・・・メモリ制御部、16・・・通信
制御部、18・・・コマンドi/P制御部、20・・・
データi/F制御部。
FIG. 1 is a block diagram showing a schematic configuration of a data transfer system to which an embodiment of the present invention is applied, and FIG. 2 is a time chart showing an embodiment of the present invention applied to the same system.
FIG. 3 is a block diagram showing a schematic configuration of a data transfer system to which an example of a conventional method is applied, and FIG. 4 is a block diagram showing a schematic configuration of a data transfer system to which another conventional method is applied. 11...CPU, 12...CPU bus, 13...
Main memory unit, 14...Memory control unit, 16...Communication control unit, 18...Command I/P control unit, 20...
Data I/F control unit.

Claims (1)

【特許請求の範囲】[Claims] CPUバスを介してCPUに接続されランダムアクセス
可能なRAMポート、及びシリアルメモリを介してアク
セス可能なシリアルポートを有する主メモリ部における
アクセスモードをメモリ制御部によって制御し、この制
御によって前記主メモリ部のシリアルポートを選択し、
これを通信の入出力バッファとして使用して前記主メモ
リ部に対してデータを送受信するようにしたことを特徴
とするデータ転送方法。
A memory controller controls an access mode in a main memory section that is connected to the CPU via a CPU bus and has a randomly accessible RAM port and a serial port that is accessible via a serial memory. Select the serial port of
A data transfer method characterized in that the buffer is used as a communication input/output buffer to transmit and receive data to and from the main memory section.
JP14332386A 1986-06-19 1986-06-19 Data transfer method Pending JPS62298860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14332386A JPS62298860A (en) 1986-06-19 1986-06-19 Data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14332386A JPS62298860A (en) 1986-06-19 1986-06-19 Data transfer method

Publications (1)

Publication Number Publication Date
JPS62298860A true JPS62298860A (en) 1987-12-25

Family

ID=15336114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14332386A Pending JPS62298860A (en) 1986-06-19 1986-06-19 Data transfer method

Country Status (1)

Country Link
JP (1) JPS62298860A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008090851A (en) * 2002-01-28 2008-04-17 Sandisk Il Ltd Storage system and data transfer method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008090851A (en) * 2002-01-28 2008-04-17 Sandisk Il Ltd Storage system and data transfer method

Similar Documents

Publication Publication Date Title
US5778195A (en) PC card
US7555625B2 (en) Multi-memory chip and data transfer method capable of directly transferring data between internal memory devices
JPS62298860A (en) Data transfer method
KR100266963B1 (en) Method and apparatus for reducing latency rime on an interface by overlapping transmitted packets
JPH0343804A (en) Sequence controller
JPH0238968B2 (en)
JPS61271555A (en) Transferring system for direct memory access
JPS6130300B2 (en)
JPH0721018Y2 (en) Communication device in vehicle control system
JPS63103351A (en) Dma control circuit
JPH05265923A (en) Data transfer equipment
JPS6093509A (en) Input and output module of programmable controller
JPH0573473A (en) Industrial computer system
JPH02219105A (en) Programmable controller
JPH0535693A (en) Data transfer device
JP2002189704A (en) Shared memory with block transfer function
JPH0991244A (en) Data transfer device
JPS593776B2 (en) Communication method in multi-microprocessor system
JPS63192152A (en) Data transfer system
JPH03219359A (en) Interface circuit
KR20050046094A (en) Bus system for reducing data write latency of slave device and method of processing data in the bus system
JPH039453A (en) Data transfer controller
JPS63226755A (en) Data transfer circuit
JPH0322650A (en) Communication control equipment
JPH06161945A (en) Memory data transfer device