JP2000347989A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JP2000347989A
JP2000347989A JP11159669A JP15966999A JP2000347989A JP 2000347989 A JP2000347989 A JP 2000347989A JP 11159669 A JP11159669 A JP 11159669A JP 15966999 A JP15966999 A JP 15966999A JP 2000347989 A JP2000347989 A JP 2000347989A
Authority
JP
Japan
Prior art keywords
data
bus
transfer
interface
internal 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.)
Granted
Application number
JP11159669A
Other languages
Japanese (ja)
Other versions
JP3420114B2 (en
Inventor
Akifumi Nakamukai
昌文 中向井
Masaharu Ejiri
雅晴 江尻
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.)
KYUSHU NIPPON DENKI TSUSHIN SY
KYUSHU NIPPON DENKI TSUSHIN SYSTEM KK
NEC Corp
Original Assignee
KYUSHU NIPPON DENKI TSUSHIN SY
KYUSHU NIPPON DENKI TSUSHIN SYSTEM KK
NEC 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 KYUSHU NIPPON DENKI TSUSHIN SY, KYUSHU NIPPON DENKI TSUSHIN SYSTEM KK, NEC Corp filed Critical KYUSHU NIPPON DENKI TSUSHIN SY
Priority to JP15966999A priority Critical patent/JP3420114B2/en
Publication of JP2000347989A publication Critical patent/JP2000347989A/en
Application granted granted Critical
Publication of JP3420114B2 publication Critical patent/JP3420114B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Information Transfer Systems (AREA)
  • Memory System (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the data transfer speed in a single mode without deteriorating the data transfer speed of a burst mode. SOLUTION: When a read access is given from a PCI(peripheral component interconnect/interface) bus 21, a PCI interface 12 decides whether the read access is single or burst read access. If a burst read access is decided, the interface 12 requests a memory interface 14 to return the read data in a synchronous transfer mode. Meanwhile, the interface 12 requests the interface 14 to return the read data in an asynchronous transfer mode in a single read access mode. In the synchronous transfer mode, the interface 12 fetches each of data from an internal bus and temporarily stores it for the clock switching and then outputs the data to the bus 21.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、内部クロックとは
異なる外部クロックで動作する外部バス側のデバイスの
要求に応じて、内部クロックで動作するデバイスのデー
タを外部バス側のデバイスに供給するためのデータ転送
方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is to supply data of a device operating on an internal clock to a device on the external bus in response to a request from a device on the external bus operating on an external clock different from the internal clock. Related to the data transfer method.

【0002】[0002]

【従来の技術】パーソナルコンピュータやワークステー
ション等の情報処理装置においてPCI(Periph
eral Component Interconne
ct/Interface)バスが広く用いられてい
る。PCIバスでは、1つのアドレスフェーズに続いて
1データが出力されるシングルモードと、1つのアドレ
スフェーズに続いて多データが出力されるバーストモー
ドとによるデータ転送が可能である。PCIバスに接続
されるデバイスが、例えばLANコントローラのような
通信用デバイスである場合には、送受信データはホスト
装置(パーソナルコンピュータやワークステーションの
本体側)との間でバーストモードで転送され、制御情報
はシングルモードで転送されるのが一般的である。
2. Description of the Related Art In an information processing apparatus such as a personal computer or a workstation, a PCI (Peripheral Component Interconnect) is used.
eral Component Intercone
(ct / Interface) bus is widely used. The PCI bus can perform data transfer in a single mode in which one data is output following one address phase, and in a burst mode in which multiple data is output following one address phase. When the device connected to the PCI bus is a communication device such as a LAN controller, transmission / reception data is transferred in burst mode to / from a host device (personal computer or workstation main body), and control is performed. Information is generally transferred in a single mode.

【0003】その場合、PCIバスに接続されたデバイ
スは、データについてはバーストモードアクセスの要求
を発生し、制御情報についてはシングルモードアクセス
の要求を発生するように構成されることが多い。その要
求は、内部バスにも接続されたPCIインタフェースで
受け付けられる。要求が受け付けられると、メモリ等か
らデータが読み出され、内部バスを介してPCIインタ
フェースにデータが渡される。PCIインタフェース
は、PCIバスにおけるクロックに同期してデータをデ
バイスに転送する。
In such a case, a device connected to the PCI bus often generates a request for burst mode access for data, and generates a single mode access request for control information. The request is accepted by a PCI interface connected to the internal bus. When the request is accepted, the data is read from a memory or the like, and the data is passed to the PCI interface via the internal bus. The PCI interface transfers data to a device in synchronization with a clock on a PCI bus.

【0004】[0004]

【発明が解決しようとする課題】PCIバスに接続され
たデバイスとホスト装置との間で制御情報の転送が頻繁
に行われるようなシステムでは、デバイスからシングル
モードアクセスの要求が頻繁に発生することになる。バ
ーストモードでは一度に多データが転送されるので実効
的な転送速度は速いが、シングルモードでは一度に1デ
ータしか転送されない。すると、シングルモードアクセ
スの要求が頻繁に発生するようなシステムでは、全体的
な情報の転送速度が低下してしまう。
In a system in which control information is frequently transferred between a device connected to a PCI bus and a host device, a request for single mode access is frequently generated from the device. become. In the burst mode, many data are transferred at one time, so the effective transfer speed is high. However, in the single mode, only one data is transferred at a time. Then, in a system in which single mode access requests frequently occur, the overall information transfer speed is reduced.

【0005】そこで、本発明は、内部クロックとは異な
る外部クロックで動作する外部バス側のデバイスの要求
に応じて、内部クロックで動作するメモリ等のデバイス
のデータを外部バス側のデバイスに供給するシステムに
おいて、バーストモードによるデータ転送速度を低下さ
せずに、シングルモードでのデータ転送速度を向上させ
ることができるデータ転送方式を提供することを目的と
する。
Therefore, according to the present invention, in response to a request from a device on the external bus side operating on an external clock different from the internal clock, data of a device such as a memory operating on the internal clock is supplied to the device on the external bus side. It is an object of the present invention to provide a data transfer method capable of improving a data transfer rate in a single mode without reducing a data transfer rate in a burst mode.

【0006】[0006]

【課題を解決するための手段】本発明によるデータ転送
方式は、外部バスおよび内部バスに接続され、外部バス
に接続されたデバイスからの要求がバーストアクセスで
あるのかシングルアクセスであるのかを判定し、バース
トアクセスであれば同期転送によって内部バスを介して
データを入力し、シングルアクセスであれば非同期転送
によって内部バスを介してデータを入力するインタフェ
ース手段を備えたことを特徴とする。
A data transfer method according to the present invention is connected to an external bus and an internal bus, and determines whether a request from a device connected to the external bus is a burst access or a single access. An interface means for inputting data via an internal bus by synchronous transfer for burst access and inputting data via an internal bus by asynchronous transfer for single access.

【0007】インタフェース手段は、同期転送時にはデ
ータを一時格納して最終データを入力したら外部バスに
データを出力し、非同期転送時には内部バスから入力し
たデータを直ちに外部バスに出力するように構成され
る。また、内部バスには、データ発生側とインタフェー
ス手段との間で非同期転送時に用いられるハンドシェー
ク用の信号線、および同期/非同期を示す信号線が配さ
れている。
The interface means is configured to temporarily store data during synchronous transfer and output data to an external bus when final data is input, and to immediately output data input from an internal bus to an external bus during asynchronous transfer. . In addition, a signal line for handshake used for asynchronous transfer between the data generating side and the interface means and a signal line indicating synchronous / asynchronous are arranged on the internal bus.

【0008】外部バスはPCIバスであり、インタフェ
ース手段はPCIインタフェースであってもよい。PC
Iインタフェースは、FRAME信号オン後のオン期間
の長さによって同期転送を用いるのか非同期転送を用い
るのか決定するように構成される。
[0008] The external bus may be a PCI bus, and the interface means may be a PCI interface. PC
The I interface is configured to determine whether to use synchronous transfer or asynchronous transfer according to the length of the ON period after the FRAME signal is turned on.

【0009】そして、PCIインタフェースは、同期転
送を用いることに決定した場合には同期/非同期を示す
信号線の状態を同期状態とし、データ発生側では、その
信号の状態に応じて内部クロックに同期してデータを内
部バスに出力するのかハンドシェーク用の信号線を用い
てデータを内部バスに出力するのか決定する。
When the PCI interface decides to use synchronous transfer, the state of the signal line indicating synchronous / asynchronous is set to the synchronous state, and the data generating side synchronizes with the internal clock according to the state of the signal. Then, it is determined whether to output data to the internal bus or to output data to the internal bus using a signal line for handshaking.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。図1は、本発明によるデータ転送
方式が適用されるシステムの一例であるメモリコントロ
ーラの構成を示すブロック図である。図1に示すメモリ
コントローラ1は、プロセッサ2と情報を交換するする
ためのプロセッサインタフェース11、メモリ3との間
でデータを入出力するメモリインタフェース14、PC
Iバス21に接続されるデバイスからの要求に応じてデ
ータを入出力するPCIインタフェース12、およびD
MAバス22に接続されるデバイスからの要求に応じて
データをDMA転送するDMAインタフェース13が、
内部バスで接続された構成である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a memory controller which is an example of a system to which a data transfer method according to the present invention is applied. A memory controller 1 shown in FIG. 1 includes a processor interface 11 for exchanging information with a processor 2, a memory interface 14 for inputting and outputting data to and from a memory 3, a PC
A PCI interface 12 for inputting / outputting data in response to a request from a device connected to the I bus 21;
The DMA interface 13 that performs DMA transfer of data in response to a request from a device connected to the MA bus 22
It is a configuration connected by an internal bus.

【0011】また、プロセッサ2、PCIバス21およ
びDMAバス22からの要求を調停してメモリインタフ
ェース14に要求を引き渡すアービタ15も設けられて
いる。なお、図1に示す内部バスにおいて、実線はコマ
ンド/ライトデータバスを示し、破線はリードデータバ
スを示す。
An arbiter 15 for arbitrating requests from the processor 2, the PCI bus 21 and the DMA bus 22 and transferring the requests to the memory interface 14 is also provided. In the internal bus shown in FIG. 1, a solid line indicates a command / write data bus, and a broken line indicates a read data bus.

【0012】図2は、PCIバス21からのバースト転
送要求に応じて、内部バスにおいて同期転送が行われる
様子を示すタイミング図である。図3は、PCIバス2
1からのバースト転送要求に応じて、内部バスにおいて
非同期転送が行われる様子を示すタイミング図である。
図4は、図2および図3に示された各信号の機能を示す
説明図である。図2および図3に示すように、内部バス
クロック(CLK)とPCIバスクロック(PCICL
K)の周波数は異なっている。
FIG. 2 is a timing chart showing how synchronous transfer is performed on the internal bus in response to a burst transfer request from the PCI bus 21. FIG. 3 shows the PCI bus 2
FIG. 3 is a timing chart showing a state in which asynchronous transfer is performed on an internal bus in response to a burst transfer request from the first bus.
FIG. 4 is an explanatory diagram showing the function of each signal shown in FIG. 2 and FIG. As shown in FIGS. 2 and 3, the internal bus clock (CLK) and the PCI bus clock (PCICL)
The frequency of K) is different.

【0013】PCIバス21に接続されたデバイスは、
メモリ3のデータを要求するときに、PCIバス多重ア
ドレス/データ(PCIAD)ラインにPCIインタフ
ェース12を指定するアドレスを出力するとともに、F
RAME(サイクル開始信号)を立ち下げる。その後、
IRDY(イニシエータレディ信号)を立ち下げる。
The devices connected to the PCI bus 21 are:
When requesting data from the memory 3, an address designating the PCI interface 12 is output to a PCI bus multiplex address / data (PCIAD) line, and F
RAME (cycle start signal) falls. afterwards,
IRDY (initiator ready signal) falls.

【0014】PCIインタフェース12は、要求を認識
すると、DEVSEL(アドレス応答信号)を立ち下げ
る。そして、内部バスを介してメモリ3のデータを読み
出すフェーズに入る。
When the PCI interface 12 recognizes the request, it lowers DEVSEL (address response signal). Then, the process enters a phase of reading data from the memory 3 via the internal bus.

【0015】図2に示す同期転送では、メモリ3からの
データは、内部クロックに同期してDATA(内部バス
データ)として内部バスに出力される。PCIインタフ
ェース12は、内部バス上のデータを取り込む。そし
て、PCIバスにおけるTRDY(ターゲットレディ信
号)を立ち下げるとともに、PCICLKに同期してデ
ータをPCIADラインに出力する。なお、図2におい
て、2本の破線の間が、同期転送が行われている期間を
示す。
In the synchronous transfer shown in FIG. 2, data from the memory 3 is output to the internal bus as DATA (internal bus data) in synchronization with the internal clock. The PCI interface 12 takes in data on the internal bus. Then, TRDY (target ready signal) on the PCI bus falls, and data is output to the PCIAD line in synchronization with PCICLK. In FIG. 2, a period between two broken lines indicates a period during which synchronous transfer is performed.

【0016】この実施の形態では、内部バスに、同期転
送か非同期転送かを示すSYNC(返送データ同期転送
要求信号)と、DTACK(非同期転送時のハンドシェ
−ク用の信号)とが追加されている。同期転送時には、
図2に示すように、内部バスにおけるデータ転送開始時
にSYNCがアクティブ(ローレベル)にされる。
In this embodiment, SYNC (return data synchronous transfer request signal) indicating synchronous transfer or asynchronous transfer and DTACK (handshake signal during asynchronous transfer) are added to the internal bus. I have. At the time of synchronous transfer,
As shown in FIG. 2, SYNC is activated (low level) at the start of data transfer on the internal bus.

【0017】図3に示す非同期転送では、メモリインタ
フェース14は、内部バスデータを出力したときにDT
S(内部バスデータ有効信号)をアクティブ(ローレベ
ル)にする。それを検出したPCIインタフェース12
は、内部バス上のデータを取り込み、DTACKを立ち
下げる。そして、PCIバスにおけるTRDYを立ち下
げるとともに、内部バスから取り込んだデータをPCI
CLKに同期してPCIADラインに出力する。なお、
メモリインタフェース14は、DTACKが立ち下がっ
たことを検出するとDTSを立ち上げる。図3におい
て、破線は、非同期転送が行われている区間を示す。
In the asynchronous transfer shown in FIG. 3, the memory interface 14 outputs DT when internal bus data is output.
S (internal bus data valid signal) is activated (low level). PCI interface 12 that detected it
Fetches data on the internal bus and causes DTACK to fall. Then, TRDY on the PCI bus is lowered, and the data fetched from the internal bus is transferred to the PCI bus.
Output to the PCIAD line in synchronization with CLK. In addition,
When detecting that DTACK has fallen, the memory interface 14 raises DTS. In FIG. 3, a broken line indicates a section in which asynchronous transfer is performed.

【0018】このように、非同期転送では、DTSとD
TACKのハンドシェ−クによって、メモリ3からPC
Iインタフェース12にデータが転送される。そして、
PCIインタフェース12は、内部バスから取り込んだ
データを、直ちに(スルーで)PCIバス21に送出す
る。つまり、同期転送では、PCIインタフェース12
は、内部バスクロックに同期して取り込んだデータを一
旦蓄積し、それらのデータをPCICLKに同期してP
CIバス21に出力するというクロックの乗せ換えを行
うが、非同期転送ではクロックの乗せ換えは内部バス上
で行われることになる。
As described above, in asynchronous transfer, DTS and D
The PC is transferred from the memory 3 by the handshake of TACK.
Data is transferred to the I interface 12. And
The PCI interface 12 immediately (through) the data fetched from the internal bus to the PCI bus 21. That is, in the synchronous transfer, the PCI interface 12
Temporarily accumulates the data fetched in synchronization with the internal bus clock, and stores those data in synchronization with PCICLK.
The clock transfer for outputting to the CI bus 21 is performed. In the asynchronous transfer, the clock transfer is performed on the internal bus.

【0019】図5は、PCIバス21からのシングル転
送要求に応じて、同期転送が行われる様子を示すタイミ
ング図である。図6は、PCIバス21からのシングル
転送要求に応じて、非同期転送が行われる様子を示すタ
イミング図である。図5に示す同期転送では、PCIイ
ンタフェース12は、内部バスクロックに同期して取り
込んだデータを一旦蓄積し、そのデータをPCICLK
に同期してPCIバス21に出力する。図6に示す非同
期転送では、内部バスから取り込んだデータを、スルー
でPCIバス21に送出する。
FIG. 5 is a timing chart showing how synchronous transfer is performed in response to a single transfer request from the PCI bus 21. FIG. 6 is a timing chart showing how asynchronous transfer is performed in response to a single transfer request from the PCI bus 21. In the synchronous transfer shown in FIG. 5, the PCI interface 12 temporarily accumulates the data taken in synchronization with the internal bus clock, and
In synchronization with the PCI bus 21. In the asynchronous transfer shown in FIG. 6, the data fetched from the internal bus is transmitted to the PCI bus 21 through.

【0020】PCIバス21から要求が発生した場合、
その要求がメモリ3へのライトアクセスであれば、PC
Iインタフェース12がライトコマンドとライトデータ
を受け取ると、PCIバス21を開放することができ
る。しかし、リードアクセスの場合には、要求が発生し
てから、メモリ3からのリードデータが返ってくるま
で、PCIバス21は占有されたままになっている。そ
こで、リードデータを少しでも早く返送する方法とし
て、この実施の形態では、同期転送と非同期転送とをダ
イナミックに切り替えることにする。
When a request is issued from the PCI bus 21,
If the request is a write access to the memory 3, the PC
When the I interface 12 receives the write command and the write data, the PCI bus 21 can be released. However, in the case of a read access, the PCI bus 21 remains occupied from when the request is generated until the read data is returned from the memory 3. Therefore, as a method of returning the read data as soon as possible, in this embodiment, synchronous transfer and asynchronous transfer are dynamically switched.

【0021】図2および図3のタイミング図を比較する
と、バースト転送では、データの一時蓄積およびクロッ
ク乗せ換え時間(PCICLK5〜8の間)を考慮して
も、図2に示す同期転送の方がPCIバス21にリード
データを早く返送できることがわかる。図2および図3
に示す例では1バーストを4ワードとしているが、1バ
ーストにおける転送データ数を増やすと、差はさらに大
きくなる。
Comparing the timing charts of FIGS. 2 and 3, in the case of burst transfer, the synchronous transfer shown in FIG. It can be seen that the read data can be returned to the PCI bus 21 quickly. 2 and 3
In the example shown in (1), one burst is composed of four words, but if the number of transfer data in one burst is increased, the difference is further increased.

【0022】また、図5および図6のタイミング図を比
較すると、シングル転送の場合には、図6に示す非同期
転送の方がPCIバス21にリードデータを早く返送で
きることがわかる。なお、図2、図3、図5および図6
において、曲線による切断線は途中省略であることを示
す。よって、PCICLKに付されたクロック番号は連
続番号となっているが、厳密には、切断線の両側で不連
続番号になる。
Comparing the timing diagrams of FIGS. 5 and 6, it can be seen that in the case of a single transfer, the asynchronous transfer shown in FIG. 6 can return read data to the PCI bus 21 earlier. 2, 3, 5 and 6
Indicates that the cutting line by the curve is omitted on the way. Therefore, although the clock number given to PCICLK is a continuous number, strictly speaking, it is a discontinuous number on both sides of the cutting line.

【0023】以上のことから、この実施の形態では、P
CIインタフェース12は、PCIバス21からリード
アクセスがあった場合に、そのアクセスがシングルリー
ドアクセスなのかバーストリードアクセスなのかを判定
するように構成する。そして、バーストリードアクセス
時には同期転送でリードデータを返送するようにメモリ
インタフェース14に要求し、シングルリードアクセス
時には非同期転送でリードデータを返送するようにメモ
リインタフェース14に要求するように構成する。
From the above, in this embodiment, P
When there is a read access from the PCI bus 21, the CI interface 12 is configured to determine whether the access is a single read access or a burst read access. Then, it is configured to request the memory interface 14 to return read data by synchronous transfer at the time of burst read access, and to request the memory interface 14 to return read data by asynchronous transfer at the time of single read access.

【0024】以下、図2および図6を参照してPCIイ
ンタフェース12の動作をさらに詳しく説明する。PC
Iバス21に接続されたデバイスは、メモリ3のデータ
を要求するときに、PCIADラインにPCIインタフ
ェース12を指定するアドレスを出力するとともに、F
RAME信号を立ち下げる。その後、IRDYを立ち下
げる。このとき、デバイスは、バーストリードアクセス
ではFRAME信号を2PCICLK分以上ローレベル
を維持し、シングルリードアクセスではFRAME信号
を1PCICLK分(アドレスフェーズの期間)だけロ
ーレベルにする。よって、PCIインタフェース12
は、FRAME信号がPCICLKの1クロック分のみ
出力された場合にはシングルリードアクセスと判断で
き、2クロック分以上出力された場合にはバーストリー
ドアクセスと判断できる。
Hereinafter, the operation of the PCI interface 12 will be described in more detail with reference to FIGS. PC
When a device connected to the I bus 21 requests data from the memory 3, the device outputs an address designating the PCI interface 12 to the PCIAD line, and
The RAME signal falls. After that, IRDY falls. At this time, the device keeps the FRAME signal low for 2 PCICLKs or more in burst read access, and keeps the FRAME signal low for 1 PCICLK (address phase period) in single read access. Therefore, the PCI interface 12
Is determined to be a single read access when the FRAME signal is output for only one PCICLK clock, and is determined to be a burst read access when the FRAME signal is output for two or more clocks.

【0025】図2および図6に示すように、PCIイン
タフェース12は、要求を認識すると、DEVSEL
(アドレス応答信号)を立ち下げる。そして、内部バス
を介してメモリ3のデータを読み出すフェーズに入る。
このとき、バーストリードアクセスであれば図2に示す
ように同期転送で内部バスからデータを取り込む。
As shown in FIGS. 2 and 6, when the PCI interface 12 recognizes the request, the DEVSEL
(Address response signal) falls. Then, the process enters a phase of reading data from the memory 3 via the internal bus.
At this time, in the case of burst read access, data is taken in from the internal bus by synchronous transfer as shown in FIG.

【0026】図2に示す同期転送において、PCIイン
タフェース12は、まず、AD(内部バスアドレス)に
メモリ3の該当アドレスを出力し、ADS(内部バスア
ドレス有効信号)をアクティブ(ローレベル)にする。
このとき、R/W(リード/ライト信号)を、リードを
示すハイレベルにする。また、メモリインタフェース1
4に同期転送を要求するためにSYNCをアクティブ
(ローレベル)にする。なお、他のインタフェースが内
部バスを使用していたときには、アービタ15によっ
て、PCIインタフェース12の内部バスアクセスは待
たされる。
In the synchronous transfer shown in FIG. 2, the PCI interface 12 first outputs the corresponding address of the memory 3 to AD (internal bus address), and makes ADS (internal bus address valid signal) active (low level). .
At this time, R / W (read / write signal) is set to a high level indicating read. Also, memory interface 1
SYNC is activated (low level) in order to request synchronous transfer to No. 4. When another interface is using the internal bus, the arbiter 15 waits for the internal bus access of the PCI interface 12.

【0027】メモリインタフェース14は、ADのアド
レスを検知したら、SYNCによって同期転送が要求さ
れているのか非同期転送が要求されているのかを判断す
る。この場合には、同期転送が要求されているので、メ
モリ3から所定の転送数分だけデータを読み出し、CL
Kに同期してデータ(DATA)を内部バスに出力す
る。また、DTS(内部バスデータ有効信号)をローレ
ベルにする。また、最終データについてEOD(最終デ
ータ表示信号)をアクティブ(ローレベル)にする。
When detecting the address of the AD, the memory interface 14 determines whether the synchronous transfer is requested by the SYNC or the asynchronous transfer is requested. In this case, since synchronous transfer has been requested, data is read out from the memory 3 for a predetermined number of transfers and CL
The data (DATA) is output to the internal bus in synchronization with K. Also, DTS (internal bus data valid signal) is set to low level. Also, EOD (final data display signal) is activated (low level) for the final data.

【0028】PCIインタフェース12は、内部バスか
ら各データを取り込んでクロック乗せ換えのために一旦
蓄積する。そして、EODを検出すると、PCIバス2
1において、TRDYをローレベルにして、PCICL
Kに同期してデータをPCIADラインに出力する。全
てのデータ出力が完了したら、TRDYをハイレベルに
する。
The PCI interface 12 fetches each data from the internal bus and temporarily stores the data for changing the clock. When the EOD is detected, the PCI bus 2
In step 1, TRDY is set to low level, and PCICL
Data is output to the PCIAD line in synchronization with K. When all data output is completed, TRDY is set to high level.

【0029】PCIインタフェース12は、PCIバス
21からの要求がシングルリードアクセスであることを
検知すると、図6に示すように非同期転送で内部バスか
らデータを取り込む。図6に示す非同期転送において、
PCIインタフェース12は、まず、ADにメモリ3の
該当アドレスを出力し、ADSをアクティブにする。こ
のとき、R/Wを、リードを示すハイレベルにする。ま
た、メモリインタフェース14に非同期転送を要求する
ために、SYNCを非アクティブ(ハイレベル)に維持
する。
When detecting that the request from the PCI bus 21 is a single read access, the PCI interface 12 fetches data from the internal bus by asynchronous transfer as shown in FIG. In the asynchronous transfer shown in FIG.
The PCI interface 12 first outputs the corresponding address of the memory 3 to AD, and activates ADS. At this time, R / W is set to a high level indicating a read. In order to request the memory interface 14 for asynchronous transfer, SYNC is kept inactive (high level).

【0030】メモリインタフェース14は、ADのアド
レスを検知したら、SYNCによって同期転送が要求さ
れているのか非同期転送が要求されているのかを判断す
る。この場合には、非同期転送が要求されているので、
メモリ3から1ワードだけデータを読み出し、データ
(DATA)を内部バスに出力する。同時に、DTSを
アクティブにする。
When detecting the address of the AD, the memory interface 14 determines whether the synchronous transfer is requested by the SYNC or the asynchronous transfer is requested. In this case, since asynchronous transfer is requested,
Only one word of data is read from the memory 3 and data (DATA) is output to the internal bus. At the same time, DTS is activated.

【0031】PCIインタフェース12は、DTSがロ
ーレベルになったことを検知すると、内部バスからデー
タを取り込む。そして、DTACKをアクティブにす
る。また、内部バスから取り込んだデータをPCIAD
ラインに出力し、TRDYをローレベルにする。なお、
メモリインタフェース14は、DTACKがローレベル
になったことを検知すると、DTSを立ち上げる。ま
た、PCIインタフェース12は、DTSがハイレベル
になったことを検知すると、DTACKを立ち上げる。
When the PCI interface 12 detects that DTS has gone low, it takes in data from the internal bus. Then, DTACK is activated. Also, the data fetched from the internal bus is
Output to the line and set TRDY to low level. In addition,
When detecting that DTACK has gone low, the memory interface 14 raises DTS. When detecting that the DTS has become high level, the PCI interface 12 raises DTACK.

【0032】以上のように、この実施の形態では、PC
Iインタフェース12は、PCIバスからの要求がバー
ストリードアクセスであるのかシングルリードアクセス
であるのかを判断し、バーストリードアクセスであれ
ば、内部バスから同期転送でデータを入力し、クロック
乗せ換えを行ってデータをPCIバス21に送出する。
また、シングルリードアクセスであれば、内部バスから
非同期転送でデータを入力し、内部バス上でクロック乗
せ換えを行って、スルーでデータをPCIバス21に送
出する。すなわち、バーストリードアクセスとシングル
リードアクセスとに応じて内部バス転送方式をダイナミ
ックに切り替える。
As described above, in this embodiment, the PC
The I interface 12 determines whether the request from the PCI bus is a burst read access or a single read access, and if the request is a burst read access, inputs data by synchronous transfer from the internal bus and switches clocks. Data to the PCI bus 21.
In the case of single read access, data is input from the internal bus by asynchronous transfer, the clock is switched on the internal bus, and the data is transmitted to the PCI bus 21 through. That is, the internal bus transfer method is dynamically switched according to the burst read access and the single read access.

【0033】従って、バーストリードアクセスでのデー
タ転送速度を低下させずに、シングルリードアクセスの
速度を向上させることができる。このようなデータ転送
方式を実現するために、従前の方式に対して追加された
信号は2つ(SYNCとDTACK)だけなので、シス
テム内で配線ができず本方式を実現できないといった不
都合はない。
Therefore, the speed of single read access can be improved without lowering the data transfer speed in burst read access. Since only two signals (SYNC and DTACK) are added to the conventional system to realize such a data transfer system, there is no inconvenience that the system cannot be wired and the present system cannot be realized.

【0034】なお、バーストリードアクセスの速度を優
先するために内部バスデータ転送方式を同期方式に固定
してしまうと、シングルリードアクセスの速度が上がら
ない。その場合、シングルリードアクセスが頻発するよ
うなシステムでは、全体としてのデータ転送速度が低下
してしまう。また、頻発するシングルリードアクセスの
速度を優先するために内部バスデータ転送方式を非同期
方式に固定してしまうと、バーストリードアクセスの速
度が低下してしまう。しかし、本方式によれば、そのよ
うな問題が生ずることはない。
If the internal bus data transfer system is fixed to the synchronous system in order to give priority to the speed of burst read access, the speed of single read access cannot be increased. In such a case, in a system in which single read access frequently occurs, the overall data transfer speed is reduced. Further, if the internal bus data transfer method is fixed to the asynchronous method in order to give priority to the speed of frequent single read access, the speed of burst read access is reduced. However, according to the present method, such a problem does not occur.

【0035】上記の実施の形態では、外部バスとしてP
CIバス21を例にとったが、本方式はPCIバス21
を用いたシステムに限らず、内部バスクロックと外部バ
スクロックとが独立しているどのようなシステムにも適
用することができる。なお、クロック乗せ換え部分(上
の例ではPCIインタフェース12)においてデータの
一時蓄積のためのバッファを節約する必要がある場合に
は、バースト転送時に図3に示すような非同期転送を用
いてもよい。
In the above embodiment, P is used as the external bus.
Although the CI bus 21 is taken as an example, this system is a PCI bus 21
The present invention can be applied to any system in which the internal bus clock and the external bus clock are independent, without being limited to the system using. When it is necessary to save a buffer for temporarily storing data in the clock transfer part (the PCI interface 12 in the above example), asynchronous transfer as shown in FIG. 3 may be used at the time of burst transfer. .

【0036】[0036]

【発明の効果】本発明によれば、データ転送方式を、外
部バスに接続されたデバイスからの要求がバーストアク
セスであるのかシングルアクセスであるのかを判定し、
バーストアクセスであれば同期転送によって内部バスを
介してデータを入力し、シングルアクセスであれば非同
期転送によって内部バスを介してデータを入力するイン
タフェース手段を備えた構成としたので、バーストモー
ドによるデータ転送速度を低下させずに、シングルモー
ドでのデータ転送速度を向上させることができる効果が
ある。
According to the present invention, the data transfer method is determined whether a request from a device connected to an external bus is a burst access or a single access,
For burst access, data is input via the internal bus by synchronous transfer. For single access, data is input via the internal bus by asynchronous transfer. There is an effect that the data transfer speed in the single mode can be improved without lowering the speed.

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

【図1】 メモリコントローラの構成を示すブロック図
である。
FIG. 1 is a block diagram illustrating a configuration of a memory controller.

【図2】 バースト転送要求に応じて同期転送が行われ
る様子を示すタイミング図である。
FIG. 2 is a timing chart showing how synchronous transfer is performed in response to a burst transfer request.

【図3】 バースト転送要求に応じて非同期転送が行わ
れる様子を示すタイミング図である。
FIG. 3 is a timing chart showing how asynchronous transfer is performed in response to a burst transfer request.

【図4】 図2および図3に示された各信号の機能を示
す説明図である。
FIG. 4 is an explanatory diagram showing the function of each signal shown in FIGS. 2 and 3;

【図5】 シングル転送要求に応じて同期転送が行われ
る様子を示すタイミング図である。
FIG. 5 is a timing chart showing how synchronous transfer is performed in response to a single transfer request.

【図6】 シングル転送要求に応じて非同期転送が行わ
れる様子を示すタイミング図である。
FIG. 6 is a timing chart showing how asynchronous transfer is performed in response to a single transfer request.

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

1 メモリシステム 2 プロセッサ 3 メモリ 11 プロセッサインタフェース 12 PCIインタフェース 13 DMAインタフェース 14 メモリインタフェース 15 アービタ 21 PCIバス 22 DMAバス DESCRIPTION OF SYMBOLS 1 Memory system 2 Processor 3 Memory 11 Processor interface 12 PCI interface 13 DMA interface 14 Memory interface 15 Arbiter 21 PCI bus 22 DMA bus

───────────────────────────────────────────────────── フロントページの続き (72)発明者 江尻 雅晴 東京都港区芝五丁目7番1号 日本電気株 式会社内 Fターム(参考) 5B060 CC03 CC05 5B061 DD05 DD06 DD09 DD11 FF04 GG06 RR03 5B077 AA23 AA24 BA08 BB05 BB06 FF12 MM02 5K034 AA01 CC01 DD01 FF01 FF12 GG02 HH01 HH06 HH63 KK12 PP01 PP03  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Masaharu Ejiri 5-7-1 Shiba, Minato-ku, Tokyo NEC Corporation F-term (reference) 5B060 CC03 CC05 5B061 DD05 DD06 DD09 DD11 FF04 GG06 RR03 5B077 AA23 AA24 BA08 BB05 BB06 FF12 MM02 5K034 AA01 CC01 DD01 FF01 FF12 GG02 HH01 HH06 HH63 KK12 PP01 PP03

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 内部バスに関するクロックと外部バスに
関するクロックとが独立し、外部バスに接続されたデバ
イスからの要求に応じて内部バスを介してデータを入力
し、入力したデータを外部バスに接続されたデバイスに
供給するデータ転送方式において、 外部バスおよび内部バスに接続され、前記デバイスから
の要求がバーストアクセスであるのかシングルアクセス
であるのかを判定し、バーストアクセスであれば同期転
送によって内部バスを介してデータを入力し、シングル
アクセスであれば非同期転送によって内部バスを介して
データを入力するインタフェース手段を備えたことを特
徴とするデータ転送方式。
1. A clock related to an internal bus and a clock related to an external bus are independent, data is input via the internal bus in response to a request from a device connected to the external bus, and the input data is connected to the external bus. In a data transfer method for supplying data to a specified device, the device is connected to an external bus and an internal bus, and determines whether a request from the device is a burst access or a single access. A data transfer method comprising: interface means for inputting data via an internal bus through asynchronous data transfer for single access.
【請求項2】 インタフェース手段は、同期転送時には
データを一時格納して最終データを入力したら外部バス
にデータを出力し、非同期転送時には内部バスから入力
したデータを直ちに外部バスに出力する請求項1記載の
データ転送方式。
2. An interface means for temporarily storing data during synchronous transfer and outputting data to an external bus when final data is input, and immediately outputting data input from an internal bus to an external bus during asynchronous transfer. Data transfer method described.
【請求項3】 内部バスには、データ発生側とインタフ
ェース手段との間で非同期転送時に用いられるハンドシ
ェーク用の信号線、および同期/非同期を示す信号線が
配されている請求項2記載のデータ転送方式。
3. The data bus according to claim 2, wherein a signal line for handshake used for asynchronous transfer between the data generating side and the interface means and a signal line indicating synchronous / asynchronous are arranged on the internal bus. Transfer method.
【請求項4】 外部バスはPCIバスであり、インタフ
ェース手段はPCIインタフェースである請求項3記載
のデータ転送方式。
4. The data transfer method according to claim 3, wherein the external bus is a PCI bus, and the interface means is a PCI interface.
【請求項5】 PCIインタフェースは、FRAME信
号オン後のオン期間の長さによって同期転送を用いるの
か非同期転送を用いるのか決定する請求項4記載のデー
タ転送方式。
5. The data transfer method according to claim 4, wherein the PCI interface determines whether to use synchronous transfer or asynchronous transfer according to the length of the ON period after the FRAME signal is turned on.
【請求項6】 PCIインタフェースは、同期転送を用
いることに決定した場合には同期/非同期を示す信号線
の状態を同期状態とし、データ発生側では、その信号の
状態に応じて内部クロックに同期してデータを内部バス
に出力するのかハンドシェーク用の信号線を用いてデー
タを内部バスに出力するのか決定する請求項5記載のデ
ータ転送方式。
6. The PCI interface sets the state of a signal line indicating synchronous / asynchronous to a synchronous state when it is decided to use synchronous transfer, and the data generating side synchronizes with an internal clock according to the state of the signal. 6. The data transfer method according to claim 5, wherein whether to output the data to the internal bus or to output the data to the internal bus using a signal line for handshaking is determined.
JP15966999A 1999-06-07 1999-06-07 Data transfer method Expired - Fee Related JP3420114B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15966999A JP3420114B2 (en) 1999-06-07 1999-06-07 Data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15966999A JP3420114B2 (en) 1999-06-07 1999-06-07 Data transfer method

Publications (2)

Publication Number Publication Date
JP2000347989A true JP2000347989A (en) 2000-12-15
JP3420114B2 JP3420114B2 (en) 2003-06-23

Family

ID=15698756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15966999A Expired - Fee Related JP3420114B2 (en) 1999-06-07 1999-06-07 Data transfer method

Country Status (1)

Country Link
JP (1) JP3420114B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010052807A1 (en) * 2008-11-10 2010-05-14 パナソニック株式会社 Computer system having synchronous/asynchronous control unit
EP2196916A1 (en) * 2008-12-12 2010-06-16 IHP GmbH-Innovations for High Performance Microelectronics / Leibniz-Institut für innovative Mikroelektronik GALS circuit block and GALS circuit device suitable for bursty data transfer
KR20120020629A (en) * 2010-08-30 2012-03-08 삼성전자주식회사 Method for controlling the digital image processing appratus, digital image processing appratus, communication system
KR20190097786A (en) * 2018-02-13 2019-08-21 삼성전기주식회사 Camera apparatus having ois function and communication method thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010052807A1 (en) * 2008-11-10 2010-05-14 パナソニック株式会社 Computer system having synchronous/asynchronous control unit
JP2010113645A (en) * 2008-11-10 2010-05-20 Panasonic Corp Computer system having synchronous-asynchronous control part
US8504868B2 (en) 2008-11-10 2013-08-06 Panasonic Corporation Computer system with synchronization/desynchronization controller
EP2196916A1 (en) * 2008-12-12 2010-06-16 IHP GmbH-Innovations for High Performance Microelectronics / Leibniz-Institut für innovative Mikroelektronik GALS circuit block and GALS circuit device suitable for bursty data transfer
WO2010066889A1 (en) * 2008-12-12 2010-06-17 Ihp Gmbh - Innovations For High Performance Microelectronics / Leibniz-Institut Für Innovative Mikroelektronik Gals circuit block and gals circuit device suitable for bursty data transfer
KR20120020629A (en) * 2010-08-30 2012-03-08 삼성전자주식회사 Method for controlling the digital image processing appratus, digital image processing appratus, communication system
KR101670055B1 (en) 2010-08-30 2016-11-09 삼성전자 주식회사 Method for controlling the digital image processing appratus, digital image processing appratus, communication system
KR20190097786A (en) * 2018-02-13 2019-08-21 삼성전기주식회사 Camera apparatus having ois function and communication method thereof
KR102460750B1 (en) 2018-02-13 2022-10-31 삼성전기주식회사 Camera apparatus having ois function and communication method thereof

Also Published As

Publication number Publication date
JP3420114B2 (en) 2003-06-23

Similar Documents

Publication Publication Date Title
US5991833A (en) Computer system with bridge logic that reduces interference to CPU cycles during secondary bus transactions
EP0553563A1 (en) Bus interface logic for computer system having dual bus architecture
US6070215A (en) Computer system with improved transition to low power operation
US6282598B1 (en) PCI bus system wherein target latency information are transmitted along with a retry request
US6356963B1 (en) Long latency interrupt handling and input/output write posting
US5574868A (en) Bus grant prediction technique for a split transaction bus in a multiprocessor computer system
US6397279B1 (en) Smart retry system that reduces wasted bus transactions associated with master retries
EP0508634B1 (en) Memory access for data transfer within an I/O device
US20040123178A1 (en) Method and apparatus having dynamically scalable clook domains for selectively interconnecting subsystems on a synchronous bus
JPH06324988A (en) Data processing system using asynchronous multiplexed address / data bus system
JPH09160866A (en) Bus interface logic system and synchronization method
EP1041492A2 (en) Method and system for optimizing of peripheral component interconnect (PCI) bus transfers
WO2007105376A1 (en) Integrated circuit, and integrated circuit system
JP3420114B2 (en) Data transfer method
JPH0981505A (en) Computer system
KR100266963B1 (en) Method and apparatus for reducing latency rime on an interface by overlapping transmitted packets
JPH03122745A (en) Dma control system
JP3328246B2 (en) DMA transfer method and system
JP2638505B2 (en) Bus interface device
JP2003122701A (en) Interface and input/output device
JP3399776B2 (en) Computer and method for transferring peripheral device control data in computer
US5784580A (en) System and method for communicating between devices
JP2820054B2 (en) Bus interface device
JP2003067322A (en) Data transfer method, bridge circuit and data transfer system
JP2003122626A (en) High performance graphics controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees