JP2007095025A - Controller, image processing system, and data transfer method - Google Patents

Controller, image processing system, and data transfer method Download PDF

Info

Publication number
JP2007095025A
JP2007095025A JP2006039905A JP2006039905A JP2007095025A JP 2007095025 A JP2007095025 A JP 2007095025A JP 2006039905 A JP2006039905 A JP 2006039905A JP 2006039905 A JP2006039905 A JP 2006039905A JP 2007095025 A JP2007095025 A JP 2007095025A
Authority
JP
Japan
Prior art keywords
data transfer
serial bus
control device
image processing
speed serial
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
JP2006039905A
Other languages
Japanese (ja)
Other versions
JP4824422B2 (en
JP2007095025A5 (en
Inventor
Noriyuki Terao
典之 寺尾
Satoru Numakura
覚 沼倉
Tetsuya Sato
哲也 佐藤
Takayuki Endo
貴之 遠藤
Atsushi Yoshida
敦史 吉田
Mitsuhiro Oizumi
充弘 大泉
Yutaka Yoneda
豊 米田
Junichi Ikeda
純一 池田
Koji Oshikiri
幸治 押切
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006039905A priority Critical patent/JP4824422B2/en
Publication of JP2007095025A publication Critical patent/JP2007095025A/en
Publication of JP2007095025A5 publication Critical patent/JP2007095025A5/ja
Application granted granted Critical
Publication of JP4824422B2 publication Critical patent/JP4824422B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a controller, image processing system, and data transfer method which do not prevent transfer of image data between devices and other data transfer. <P>SOLUTION: The controller transfers data via a data transfer path B which directly connects an MFP controller 6 and an I/O control hub 5 as an I/O control device even when a memory access is made to a main memory 3 from a CPU 2 in a memory control hub 4 as a memory control device. Thus, it is possible to provide the image processing system that does not prevent the transfer of image data between the MFP controller 6 and the I/O control hub 5 of the I/O control device and other data transfer and simultaneous parallel operation of the controller is attained. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、制御装置、画像処理システムおよびデータ転送方法に関する。   The present invention relates to a control device, an image processing system, and a data transfer method.

一般に、画像データその他のデータを扱うデジタル複写機、複合機(MFP)等の画像処理システムでは、デバイス間のインタフェースにPCIバス等のパラレル方式のバスが使用されている。   In general, in an image processing system such as a digital copying machine or a multifunction peripheral (MFP) that handles image data and other data, a parallel bus such as a PCI bus is used as an interface between devices.

ここで、図22は従来の画像処理システムのコントローラ構成の一例を示すブロック図である。図22に示すように、画像処理システムのコントローラ100は、各デバイス間の画像データの入出力系の相互接続に関して、各デバイス間を同時に流れる大量のデータを絶え間なく管理するとともに、スキャナやプリンタなどの画像入出力装置200の機能を果たすよう、各デバイスを制御する。そして、高速処理が要求される場合には、CPU(Central Processing Unit)101やメインメモリ102などの高速化、大量の計算を必要とするアプリケーション、コネクティビティ(接続性)の向上などに適応すべく、画像データや制御コマンドなどの種々のデータの流れの速度(内部バンド幅)も高速化していく必要がある。しかし、パラレル方式のPCIバスでは、レーシングやスキューなどの問題がある。より具体的には、MCH(メモリコントロールハブ)と同様の機能を持つデバイス103は、CPU101からのメモリアクセスが発生した場合に、ポート1やポート2からのアクセスを拒否することがあり、その場合、デバイス104とデバイス105の間の画像データやその他のデータ転送を妨げられ、例えばHDD106やメモリ10a7からネットワークへの画像データ転送が滞ることがあった。一方、ポート1やポート2からのアクセスを拒否しない場合、CPU101の処理が妨げられるという問題があった。   Here, FIG. 22 is a block diagram showing an example of a controller configuration of a conventional image processing system. As shown in FIG. 22, the controller 100 of the image processing system continuously manages a large amount of data that flows simultaneously between the devices with respect to the interconnection of the input / output system of the image data between the devices, as well as a scanner, a printer, and the like. Each device is controlled so as to fulfill the functions of the image input / output apparatus 200. And when high-speed processing is required, in order to adapt to high-speed processing such as CPU (Central Processing Unit) 101 and main memory 102, applications that require a large amount of calculation, connectivity (connectivity), etc. It is also necessary to increase the speed (internal bandwidth) of various data flows such as image data and control commands. However, the parallel PCI bus has problems such as racing and skew. More specifically, the device 103 having the same function as the MCH (memory control hub) may refuse access from the port 1 or port 2 when a memory access from the CPU 101 occurs. The transfer of image data and other data between the devices 104 and 105 is hindered, and for example, the transfer of image data from the HDD 106 or the memory 10a7 to the network may be delayed. On the other hand, when access from port 1 or port 2 is not denied, there is a problem that the processing of the CPU 101 is hindered.

最近では、パラレル方式のインタフェースに代えて、IEEE1394やUSB等の高速シリアルインタフェースの使用が検討されている。例えば、特許文献1によれば、内部インタフェースとして、IEEE1394やUSB等の高速シリアルインタフェースを使用することが提案されている。   Recently, the use of a high-speed serial interface such as IEEE1394 or USB is being considered in place of the parallel interface. For example, according to Patent Document 1, it is proposed to use a high-speed serial interface such as IEEE1394 or USB as an internal interface.

また、他の高速シリアルインタフェースとして、PCIバス方式の後継規格に当るPCI Express(登録商標)なるインタフェースも提案され、実用化の段階にきている(例えば、非特許文献1参照)。このPCI Expressシステムは、概略的には、例えば非特許文献1中の図1等に示されるようなルートコンプレックス−スイッチ(任意階層)−デバイス等のツリー構造(木構造)によるデータ通信網として構成されている。   As another high-speed serial interface, an interface called PCI Express (registered trademark), which is a successor to the PCI bus system, has been proposed and has been put to practical use (for example, see Non-Patent Document 1). This PCI Express system is schematically configured as a data communication network having a tree structure (tree structure) such as a root complex-switch (arbitrary hierarchy) -device as shown in FIG. Has been.

そして、特許文献2によれば、内部インタフェースとして、PCI Expressを使用することが提案されている。   According to Patent Document 2, it is proposed to use PCI Express as an internal interface.

特開2001−016382号公報JP 2001-016382 A 特開2004−221809号公報JP 2004-221809 A “PCI Express 規格の概要”Interface誌、July’2003 里見尚志“Outline of PCI Express Standard” Interface, July’2003 Naoshi Satomi

ところが、特許文献2において提案されているような内部インタフェースとしてPCI Expressを使用する場合であっても、解決しなくてはならない問題がある。   However, even when PCI Express is used as an internal interface as proposed in Patent Document 2, there is a problem that must be solved.

例えば、図23に示すようなコントローラ300の構成である場合、デバイス301においてCPU302からメインメモリ303へのメモリアクセスが発生した場合には、デバイス304とデバイス305の間の画像データやその他のデータ転送が妨げられてしまうという問題がある。   For example, in the configuration of the controller 300 as shown in FIG. 23, when memory access from the CPU 302 to the main memory 303 occurs in the device 301, image data and other data transfer between the device 304 and the device 305 are performed. There is a problem that is disturbed.

本発明は、上記に鑑みてなされたものであって、デバイス間の画像データやその他のデータ転送を妨げることのない制御装置、画像処理システムおよびデータ転送方法を提供することを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to provide a control device, an image processing system, and a data transfer method that do not hinder transfer of image data and other data between devices.

上述した課題を解決し、目的を達成するために、請求項1にかかる発明の制御装置は、木構造によるデータ通信網としてポイントツーポイントで送受信独立の通信チャネルが確立される高速シリアルバスにより各種デバイスを接続し、前記各種デバイスに対してCPU(Central Processing unit)やメモリを接続する木構造のルート機能を有するデバイスであるルートデバイスを備える制御装置において、前記ルートデバイスに対して前記高速シリアルバスにより接続されている第1のデバイスと、前記ルートデバイスに対して前記高速シリアルバスにより接続されているとともに、前記第1のデバイスに対しても第2の高速シリアルバスにより直接接続されている第2のデバイスと、前記ルートデバイスは、前記CPUから前記メモリに対するメモリアクセスが発生した場合、前記第1のデバイスから前記第2のデバイスへのデータ転送経路を前記ルートデバイス経由のデータ転送経路から前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路へ切り替える経路切替手段と、を備える。   In order to solve the above-described problems and achieve the object, the control device according to the first aspect of the present invention is a variety of high-speed serial buses that establish a point-to-point independent transmission / reception channel as a data communication network using a tree structure. In a control apparatus comprising a root device which is a device having a tree-structure root function for connecting a device and connecting a CPU (Central Processing Unit) and a memory to the various devices, the high-speed serial bus is connected to the root device. Connected to the first device connected to the root device by the high-speed serial bus, and to the first device directly connected to the first device by a second high-speed serial bus. 2 device and the root device are stored in the memory from the CPU to the memory. When a re-access occurs, the data transfer path from the first device to the second device is changed from the data transfer path via the root device to the first device and the second device. Path switching means for switching to a data transfer path directly connected by a high-speed serial bus.

また、請求項2にかかる発明は、請求項1記載の制御装置において、前記経路切替手段は、前記ルートデバイスから前記第1のデバイスと前記第2のデバイスとに対してそれぞれデータ転送経路へ切り替える信号を出力し、前記ルートデバイスからの信号により前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記第1のデバイスと前記第2のデバイスとの間でデータ転送を行うようにする。   According to a second aspect of the present invention, in the control device according to the first aspect, the path switching means switches from the root device to the data transfer path for the first device and the second device, respectively. Outputs a signal, controls a switch of the first device and a switch of the second device according to a signal from the root device, and controls the first device and the second device to the second high-speed Data transfer is performed between the first device and the second device via a data transfer path directly connected by a serial bus.

また、請求項3にかかる発明は、請求項1記載の制御装置において、前記経路切替手段は、パケットの通信先アドレスに従って前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記第1のデバイスと前記第2のデバイスとの間でデータ転送を行うようにする。   According to a third aspect of the present invention, in the control device according to the first aspect, the path switching unit controls the switch of the first device and the switch of the second device according to a communication destination address of a packet. Data transfer between the first device and the second device via a data transfer path in which the first device and the second device are directly connected by the second high-speed serial bus To do.

また、請求項4にかかる発明は、請求項1記載の制御装置において、前記ルートデバイスと前記第1のデバイスとの間、および、前記ルートデバイスと前記第2のデバイスとの間には、前記高速シリアルバスとは別に信号線がそれぞれ設けられており、前記経路切替手段は、前記ルートデバイスから前記各信号線を経由して前記第1のデバイスと前記第2のデバイスとに対してそれぞれデータ転送経路へ切り替える信号を出力し、前記ルートデバイスからの信号により前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記第1のデバイスと前記第2のデバイスとの間でデータ転送を行うようにする。   According to a fourth aspect of the present invention, in the control device according to the first aspect, between the root device and the first device and between the root device and the second device, Signal lines are provided separately from the high-speed serial bus, and the path switching means transmits data to the first device and the second device from the root device via the signal lines, respectively. Outputs a signal for switching to a transfer path, controls a switch of the first device and a switch of the second device according to a signal from the root device, and controls the first device and the second device to Data is transferred between the first device and the second device via a data transfer path directly connected by a second high-speed serial bus. To.

また、請求項5にかかる発明は、請求項4記載の制御装置において、前記各信号線は、前記ルートデバイスへの転送許可と前記ルートデバイスへの転送不可との2つの状態を伝達することで、前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御する。   According to a fifth aspect of the present invention, in the control device according to the fourth aspect, each signal line transmits two states of transfer permission to the root device and transfer failure to the root device. , Controlling the switch of the first device and the switch of the second device.

また、請求項6にかかる発明は、請求項5記載の制御装置において、前記第1のデバイスもしくは前記第2のデバイスが、前記ルートデバイスとのデータ転送中に前記ルートデバイスへの転送許可から前記ルートデバイスへの転送不可へと状態が変化した場合は、前記ルートデバイスとのデータ転送を中止し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由し、前記第1のデバイスと前記第2のデバイスとの間でのデータ転送を行う。   The invention according to claim 6 is the control apparatus according to claim 5, wherein the first device or the second device receives the transfer permission to the root device during the data transfer with the root device. When the status has changed so that transfer to the root device is impossible, the data transfer with the root device is stopped, and the first device and the second device are directly connected by the second high-speed serial bus. Data transfer is performed between the first device and the second device via a data transfer path.

また、請求項7にかかる発明は、請求項1ないし6のいずれか一記載の制御装置において、前記高速シリアルバスは、PCI Express 規格の高速シリアルバスである。   According to a seventh aspect of the invention, in the control device according to any one of the first to sixth aspects, the high-speed serial bus is a PCI Express standard high-speed serial bus.

また、請求項8にかかる発明は、請求項1ないし7のいずれか一記載の制御装置において、前記第2の高速シリアルバスは、PCI Express 規格の高速シリアルバスである。   According to an eighth aspect of the present invention, in the control device according to any one of the first to seventh aspects, the second high-speed serial bus is a PCI Express standard high-speed serial bus.

また、請求項9にかかる発明の画像処理システムは、木構造によるデータ通信網としてポイントツーポイントで送受信独立の通信チャネルが確立される高速シリアルバスにより各種デバイスを接続し、前記各種デバイスに対してCPU(Central Processing unit)やメモリを接続する木構造のルート機能を有するデバイスであるルートデバイスに相当するルート機能を有するメモリ制御デバイスを備える画像処理システムにおいて、前記メモリ制御デバイスに対して前記高速シリアルバスにより接続されており、各種画像処理を制御するデバイスである画像処理コントローラと、前記メモリ制御デバイスに対して前記高速シリアルバスにより接続されているとともに、前記画像処理コントローラに対しても第2の高速シリアルバスにより直接接続されており、I/Oデバイスまたはそのインタフェースを制御するデバイスであるI/O制御デバイスと、前記メモリ制御デバイスは、前記CPUから前記メモリに対するメモリアクセスが発生した場合、前記画像処理コントローラから前記I/O制御デバイスへのデータ転送経路を前記メモリ制御デバイス経由のデータ転送経路から前記画像処理コントローラと前記I/O制御デバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路へ切り替える経路切替手段と、を備える。   According to a ninth aspect of the present invention, there is provided an image processing system in which various devices are connected by a high-speed serial bus that establishes a point-to-point transmission / reception independent communication channel as a data communication network having a tree structure. An image processing system including a memory control device having a root function corresponding to a root device that is a device having a root function of a tree structure that connects a CPU (Central Processing Unit) and a memory, and the high-speed serial to the memory control device An image processing controller that is connected by a bus and controls various types of image processing, and is connected to the memory control device by the high-speed serial bus and also to the image processing controller Direct connection via high-speed serial bus When the memory access from the CPU to the memory occurs, the I / O control device, which is an I / O device or a device that controls the interface thereof, and the memory control device receive the I / O device from the image processing controller. Path switching for switching the data transfer path to the O control device from the data transfer path via the memory control device to the data transfer path directly connected between the image processing controller and the I / O control device by the second high-speed serial bus Means.

また、請求項10にかかる発明は、請求項9記載の画像処理システムにおいて、前記経路切替手段は、前記メモリ制御デバイスから前記画像処理コントローラと前記I/O制御デバイスとに対してそれぞれデータ転送経路へ切り替える信号を出力し、前記メモリ制御デバイスからの信号により前記画像処理コントローラのスイッチと前記I/O制御デバイスのスイッチとを制御し、前記画像処理コントローラと前記I/O制御デバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記画像処理コントローラと前記I/O制御デバイスとの間でデータ転送を行うようにする。   According to a tenth aspect of the present invention, in the image processing system according to the ninth aspect, the path switching means is a data transfer path from the memory control device to the image processing controller and the I / O control device, respectively. And a switch from the memory control device to control the switch of the image processing controller and the switch of the I / O control device, and the image processing controller and the I / O control device to Data transfer is performed between the image processing controller and the I / O control device via a data transfer path directly connected by two high-speed serial buses.

また、請求項11にかかる発明は、請求項9記載の画像処理システムにおいて、前記経路切替手段は、パケットの通信先アドレスに従って前記画像処理コントローラのスイッチと前記I/O制御デバイスのスイッチとを制御し、前記画像処理コントローラと前記I/O制御デバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記画像処理コントローラと前記I/O制御デバイスとの間でデータ転送を行うようにする。   According to an eleventh aspect of the present invention, in the image processing system according to the ninth aspect, the path switching unit controls the switch of the image processing controller and the switch of the I / O control device according to the communication destination address of the packet. Then, data is transferred between the image processing controller and the I / O control device via a data transfer path in which the image processing controller and the I / O control device are directly connected by the second high-speed serial bus. Make a transfer.

また、請求項12にかかる発明は、請求項9記載の画像処理システムにおいて、前記メモリ制御デバイスと前記画像処理コントローラとの間、および、前記メモリ制御デバイスと前記I/O制御デバイスとの間には、前記高速シリアルバスとは別に信号線がそれぞれ設けられており、前記経路切替手段は、前記メモリ制御デバイスから前記各信号線を経由して前記画像処理コントローラと前記I/O制御デバイスとに対してそれぞれデータ転送経路へ切り替える信号を出力し、前記メモリ制御デバイスからの信号により前記画像処理コントローラのスイッチと前記I/O制御デバイスのスイッチとを制御し、前記画像処理コントローラと前記I/O制御デバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記画像処理コントローラと前記I/O制御デバイスとの間でデータ転送を行うようにする。   According to a twelfth aspect of the present invention, in the image processing system according to the ninth aspect, between the memory control device and the image processing controller and between the memory control device and the I / O control device. Are provided with signal lines separately from the high-speed serial bus, and the path switching means is connected from the memory control device to the image processing controller and the I / O control device via the signal lines. A signal for switching to the data transfer path is output, and the switch of the image processing controller and the switch of the I / O control device are controlled by the signal from the memory control device, and the image processing controller and the I / O are controlled. Via a data transfer path directly connected to the control device by the second high-speed serial bus To perform the data transfer between said image processing controller I / O control device.

また、請求項13にかかる発明は、請求項12記載の画像処理システムにおいて、前記各信号線は、前記メモリ制御デバイスへの転送許可と前記メモリ制御デバイスへの転送不可との2つの状態を伝達することで、前記画像処理コントローラのスイッチと前記I/O制御デバイスのスイッチとを制御する。   According to a thirteenth aspect of the present invention, in the image processing system according to the twelfth aspect, each signal line transmits two states of transfer permission to the memory control device and transfer disable to the memory control device. Thus, the switch of the image processing controller and the switch of the I / O control device are controlled.

また、請求項14にかかる発明は、請求項13記載の画像処理システムにおいて、前記画像処理コントローラもしくは前記I/O制御デバイスが、前記メモリ制御デバイスとのデータ転送中に前記メモリ制御デバイスへの転送許可から前記メモリ制御デバイスへの転送不可へと状態が変化した場合は、前記メモリ制御デバイスとのデータ転送を中止し、前記画像処理コントローラと前記I/O制御デバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由し、前記画像処理コントローラと前記I/O制御デバイスとの間でのデータ転送を行う。   The invention according to claim 14 is the image processing system according to claim 13, wherein the image processing controller or the I / O control device transfers data to the memory control device during data transfer with the memory control device. When the status changes from permission to transfer disabled to the memory control device, data transfer with the memory control device is stopped, and the image processing controller and the I / O control device are connected to the second high-speed serial device. Data transfer is performed between the image processing controller and the I / O control device via a data transfer path directly connected by a bus.

また、請求項15にかかる発明は、請求項9ないし14のいずれか一記載の画像処理システムにおいて、前記高速シリアルバスは、PCI Express 規格の高速シリアルバスである。   According to a fifteenth aspect of the present invention, in the image processing system according to any one of the ninth to fourteenth aspects, the high-speed serial bus is a PCI Express standard high-speed serial bus.

また、請求項16にかかる発明は、請求項9ないし15のいずれか一記載の画像処理システムにおいて、前記第2の高速シリアルバスは、PCI Express 規格の高速シリアルバスである。   According to a sixteenth aspect of the present invention, in the image processing system according to any one of the ninth to fifteenth aspects, the second high-speed serial bus is a PCI Express standard high-speed serial bus.

また、請求項17にかかる発明のデータ転送方法は、木構造によるデータ通信網としてポイントツーポイントで送受信独立の通信チャネルが確立される高速シリアルバスにより各種デバイスを接続し、前記各種デバイスに対してCPU(Central Processing unit)やメモリを接続する木構造のルート機能を有するデバイスであるルートデバイスを備える制御装置におけるデータ転送方法であって、前記ルートデバイスに対して前記高速シリアルバスにより第1のデバイスを接続し、前記ルートデバイスに対して前記高速シリアルバスにより第2のデバイスを接続するとともに、前記第1のデバイスに対しても第2の高速シリアルバスにより前記第2のデバイスを直接接続し、前記ルートデバイスは、前記CPUから前記メモリに対するメモリアクセスが発生した場合、前記第1のデバイスから前記第2のデバイスへのデータ転送経路を前記ルートデバイス経由のデータ転送経路から前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路へ切り替える。   According to a seventeenth aspect of the present invention, there is provided a data transfer method comprising: connecting various devices by a high-speed serial bus that establishes a point-to-point transmission / reception independent communication channel as a tree-structured data communication network; A data transfer method in a control device including a root device, which is a device having a tree-structured root function for connecting a CPU (Central Processing Unit) and a memory, wherein the first device is connected to the root device by the high-speed serial bus. And connecting the second device to the root device by the high-speed serial bus, and directly connecting the second device to the first device by the second high-speed serial bus, The root device is a memory access to the memory from the CPU. Occurs, the data transfer path from the first device to the second device is transferred from the data transfer path via the root device to the second high-speed serial device. Switch to the data transfer path directly connected by the bus.

また、請求項18にかかる発明は、請求項17記載のデータ転送方法において、前記ルートデバイスから前記第1のデバイスと前記第2のデバイスとに対してそれぞれデータ転送経路へ切り替える信号を出力し、前記ルートデバイスからの信号により前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記第1のデバイスと前記第2のデバイスとの間でデータ転送を行うようにする。   The invention according to claim 18 is the data transfer method according to claim 17, wherein a signal for switching to the data transfer path is output from the root device to the first device and the second device, respectively. The switch of the first device and the switch of the second device are controlled by a signal from the root device, and the first device and the second device are directly connected by the second high-speed serial bus. The data transfer is performed between the first device and the second device via the data transfer path.

また、請求項19にかかる発明は、請求項17記載のデータ転送方法において、パケットの通信先アドレスに従って前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記第1のデバイスと前記第2のデバイスとの間でデータ転送を行うようにする。   According to a nineteenth aspect of the present invention, in the data transfer method according to the seventeenth aspect, the first device switch and the second device switch are controlled according to a communication destination address of a packet, and the first device switch Data transfer is performed between the first device and the second device via a data transfer path in which the device and the second device are directly connected by the second high-speed serial bus. .

また、請求項20にかかる発明は、請求項17記載のデータ転送方法において、前記ルートデバイスと前記第1のデバイスとの間、および、前記ルートデバイスと前記第2のデバイスとの間に、前記高速シリアルバスとは別に信号線をそれぞれ設け、前記ルートデバイスから前記各信号線を経由して前記第1のデバイスと前記第2のデバイスとに対してそれぞれデータ転送経路へ切り替える信号を出力し、前記ルートデバイスからの信号により前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記第1のデバイスと前記第2のデバイスとの間でデータ転送を行うようにする。   The invention according to claim 20 is the data transfer method according to claim 17, wherein the root device and the first device, and the root device and the second device, A signal line is provided separately from the high-speed serial bus, and a signal for switching to the data transfer path is output from the root device to the first device and the second device via each signal line, The switch of the first device and the switch of the second device are controlled by a signal from the root device, and the first device and the second device are directly connected by the second high-speed serial bus. The data transfer is performed between the first device and the second device via the data transfer path.

また、請求項21にかかる発明は、請求項20記載のデータ転送方法において、前記各信号線は、前記ルートデバイスへの転送許可と前記ルートデバイスへの転送不可との2つの状態を伝達することで、前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御する。   The invention according to claim 21 is the data transfer method according to claim 20, wherein each of the signal lines transmits two states: transfer permission to the root device and transfer failure to the root device. Then, the switch of the first device and the switch of the second device are controlled.

また、請求項22にかかる発明は、請求項21記載のデータ転送方法において、前記第1のデバイスもしくは前記第2のデバイスが、前記ルートデバイスとのデータ転送中に前記ルートデバイスへの転送許可から前記ルートデバイスへの転送不可へと状態が変化した場合は、前記ルートデバイスとのデータ転送を中止し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由し、前記第1のデバイスと前記第2のデバイスとの間でのデータ転送を行う。   According to a twenty-second aspect of the present invention, in the data transfer method according to the twenty-first aspect, the first device or the second device receives a transfer permission from the root device during the data transfer with the root device. When the status changes to disable transfer to the root device, the data transfer with the root device is stopped, and the first device and the second device are directly connected by the second high-speed serial bus. The data transfer is performed between the first device and the second device via the data transfer path.

請求項1にかかる発明によれば、ルートデバイスにおいてCPUからのメモリアクセスが発生した場合にも、第1のデバイスと第2のデバイスを第2の高速シリアルバスにより直接接続したデータ転送経路を経由してデータ転送することにより、第1のデバイスと第2のデバイスの間の画像データやその他のデータ転送を妨げることのない制御装置を提供することができるという効果を奏する。   According to the first aspect of the present invention, even when a memory access from the CPU occurs in the root device, the data is transmitted via the data transfer path in which the first device and the second device are directly connected by the second high-speed serial bus. By transferring the data, it is possible to provide a control device that does not hinder the transfer of image data and other data between the first device and the second device.

また、請求項2にかかる発明によれば、ルートデバイスからの信号に応じてデータ転送経路を切り替えることができるという効果を奏する。   Moreover, according to the invention concerning Claim 2, there exists an effect that a data transfer path | route can be switched according to the signal from a root device.

また、請求項3にかかる発明によれば、パケットの通信先アドレスに応じてデータ転送経路を切り替えることができるという効果を奏する。   Further, according to the invention of claim 3, there is an effect that the data transfer path can be switched according to the communication destination address of the packet.

また、請求項4にかかる発明によれば、信号線を経由してルートデバイスで発生した信号を第1のデバイスと第2のデバイスとに送信するようにしたことにより、データ転送経路の切り替え信号を高速に伝達することができるとともに、ルートデバイスからの信号に応じてデータ転送経路を切り替えることができる。   According to the fourth aspect of the present invention, the signal generated in the root device is transmitted to the first device and the second device via the signal line, so that the data transfer path switching signal is transmitted. Can be transmitted at high speed, and the data transfer path can be switched according to the signal from the root device.

また、請求項5にかかる発明によれば、データ転送経路の切り替え信号を高速に伝達することができる。   According to the fifth aspect of the present invention, the data transfer path switching signal can be transmitted at high speed.

また、請求項6にかかる発明によれば、ルートデバイスにおいてCPUからのメモリアクセスが発生した場合にも、第1のデバイスと第2のデバイスとの間の画像データやその他のデータ転送が妨げられることがない。   According to the invention of claim 6, even when a memory access from the CPU occurs in the root device, image data and other data transfer between the first device and the second device is hindered. There is nothing.

また、請求項7にかかる発明によれば、高速シリアルバスは、PCI Express 規格の高速シリアルバスであることにより、低電圧差動信号伝送、ポイントツーポイントで送受信独立の通信チャネル、パケット化されたスプリットトランザクション、リンク構成の違いによる高いスケーラビリティなどの特徴を有するという効果を奏する。   According to the invention according to claim 7, the high-speed serial bus is a PCI Express standard high-speed serial bus, so that low-voltage differential signal transmission, point-to-point independent transmission / reception communication channel, packetization It has the effect of having features such as high scalability due to differences in split transactions and link configurations.

また、請求項8にかかる発明によれば、第2の高速シリアルバスは、PCI Express 規格の高速シリアルバスであることにより、低電圧差動信号伝送、ポイントツーポイントで送受信独立の通信チャネル、パケット化されたスプリットトランザクション、リンク構成の違いによる高いスケーラビリティなどの特徴を有するという効果を奏する。   According to the invention of claim 8, the second high-speed serial bus is a PCI Express standard high-speed serial bus, so that low-voltage differential signal transmission, point-to-point independent transmission / reception communication channel, packet There is an effect that it has features such as a split transaction that has been made high and a high scalability due to a difference in link configuration.

また、請求項9にかかる発明によれば、メモリ制御デバイスにおいてCPUからのメモリアクセスが発生した場合にも、画像処理コントローラとI/O制御デバイスを第2の高速シリアルバスにより直接接続したデータ転送経路を経由してデータ転送することにより、画像処理コントローラとI/O制御デバイスの間の画像データやその他のデータ転送を妨げることのない画像処理システムを提供することができ、コントローラの同時並行動作を実現することができるという効果を奏する。   According to the ninth aspect of the present invention, even when a memory access from the CPU occurs in the memory control device, data transfer in which the image processing controller and the I / O control device are directly connected by the second high-speed serial bus. By transferring data via a path, it is possible to provide an image processing system that does not hinder the transfer of image data and other data between the image processing controller and the I / O control device. There is an effect that can be realized.

また、請求項10にかかる発明によれば、メモリ制御デバイスからの信号に応じてデータ転送経路を切り替えることができるという効果を奏する。   Further, according to the tenth aspect of the invention, there is an effect that the data transfer path can be switched in accordance with a signal from the memory control device.

また、請求項11にかかる発明によれば、パケットの通信先アドレスに応じてデータ転送経路を切り替えることができるという効果を奏する。   Moreover, according to the invention concerning Claim 11, there exists an effect that a data transfer path | route can be switched according to the communication destination address of a packet.

また、請求項12にかかる発明によれば、信号線を経由してメモリ制御デバイスで発生した信号を画像処理コントローラとI/O制御デバイスとに送信するようにしたことにより、データ転送経路の切り替え信号を高速に伝達することができるとともに、メモリ制御デバイスからの信号に応じてデータ転送経路を切り替えることができる。   According to the twelfth aspect of the present invention, since the signal generated by the memory control device is transmitted to the image processing controller and the I / O control device via the signal line, the data transfer path is switched. The signal can be transmitted at high speed, and the data transfer path can be switched according to the signal from the memory control device.

また、請求項5にかかる発明によれば、データ転送経路の切り替え信号を高速に伝達することができる。   According to the fifth aspect of the present invention, the data transfer path switching signal can be transmitted at high speed.

また、請求項6にかかる発明によれば、メモリ制御デバイスにおいてCPUからのメモリアクセスが発生した場合にも、画像処理コントローラとI/O制御デバイスとの間の画像データやその他のデータ転送が妨げられることがない。   According to the invention of claim 6, even when a memory access from the CPU occurs in the memory control device, transfer of image data and other data between the image processing controller and the I / O control device is hindered. It is never done.

また、請求項15にかかる発明によれば、高速シリアルバスは、PCI Express 規格の高速シリアルバスであることにより、低電圧差動信号伝送、ポイントツーポイントで送受信独立の通信チャネル、パケット化されたスプリットトランザクション、リンク構成の違いによる高いスケーラビリティなどの特徴を有するという効果を奏する。   According to the invention of claim 15, the high-speed serial bus is a PCI Express standard high-speed serial bus, so that low-voltage differential signal transmission, point-to-point transmission / reception independent communication channel, packetized It has the effect of having features such as high scalability due to differences in split transactions and link configurations.

また、請求項16にかかる発明によれば、第2の高速シリアルバスは、PCI Express 規格の高速シリアルバスであることにより、低電圧差動信号伝送、ポイントツーポイントで送受信独立の通信チャネル、パケット化されたスプリットトランザクション、リンク構成の違いによる高いスケーラビリティなどの特徴を有するという効果を奏する。   According to the invention of claim 16, the second high-speed serial bus is a PCI Express standard high-speed serial bus, so that low-voltage differential signal transmission, point-to-point transmission / reception independent communication channel, packet There is an effect that it has features such as a split transaction that has been made high and a high scalability due to a difference in link configuration.

また、請求項17にかかる発明によれば、ルートデバイスにおいてCPUからのメモリアクセスが発生した場合にも、第1のデバイスと第2のデバイスを第2の高速シリアルバスにより直接接続したデータ転送経路を経由してデータ転送することにより、第1のデバイスと第2のデバイスの間の画像データやその他のデータ転送を妨げることのないデータ転送方法を提供することができるという効果を奏する。   According to the seventeenth aspect of the present invention, even when a memory access from the CPU occurs in the root device, the data transfer path in which the first device and the second device are directly connected by the second high-speed serial bus. By transferring the data via the network, there is an effect that it is possible to provide a data transfer method that does not hinder the transfer of image data and other data between the first device and the second device.

また、請求項18にかかる発明によれば、ルートデバイスからの信号に応じてデータ転送経路を切り替えることができるという効果を奏する。   Further, according to the eighteenth aspect of the invention, there is an effect that the data transfer path can be switched according to a signal from the root device.

また、請求項19にかかる発明によれば、パケットの通信先アドレスに応じてデータ転送経路を切り替えることができるという効果を奏する。   According to the nineteenth aspect of the invention, the data transfer path can be switched according to the communication destination address of the packet.

また、請求項20にかかる発明によれば、信号線を経由してルートデバイスで発生した信号を第1のデバイスと第2のデバイスとに送信するようにしたことにより、データ転送経路の切り替え信号を高速に伝達することができるとともに、ルートデバイスからの信号に応じてデータ転送経路を切り替えることができる。   According to the twentieth aspect of the present invention, the signal generated by the root device via the signal line is transmitted to the first device and the second device, whereby the data transfer path switching signal is transmitted. Can be transmitted at high speed, and the data transfer path can be switched according to the signal from the root device.

また、請求項21にかかる発明によれば、データ転送経路の切り替え信号を高速に伝達することができる。   According to the twenty-first aspect of the present invention, the data transfer path switching signal can be transmitted at high speed.

また、請求項22にかかる発明によれば、ルートデバイスにおいてCPUからのメモリアクセスが発生した場合にも、第1のデバイスと第2のデバイスとの間の画像データやその他のデータ転送が妨げられることがない。   According to the invention of claim 22, even when a memory access from the CPU occurs in the root device, transfer of image data and other data between the first device and the second device is hindered. There is nothing.

以下に添付図面を参照して、この発明にかかる制御装置、画像処理システムおよびデータ転送方法の最良な実施の形態を詳細に説明する。   Exemplary embodiments of a control device, an image processing system, and a data transfer method according to the present invention are explained in detail below with reference to the accompanying drawings.

[第1の実施の形態]
本発明の第1の実施の形態を図1ないし図17に基づいて説明する。以下では、PCI Expressの詳細について、[PCI Express規格の概要]〜[PCI Express のアーキテクチャの詳細]の欄で説明し、その後、本実施の形態の画像処理システムについて、[画像処理システム]の欄で説明する。
[First Embodiment]
A first embodiment of the present invention will be described with reference to FIGS. In the following, details of PCI Express will be described in the columns [Outline of PCI Express Standard] to [Details of PCI Express Architecture], and then the [Image Processing System] column for the image processing system of the present embodiment. I will explain it.

[PCI Express規格の概要]
まず、本実施の形態は高速シリアルバスの一つであるPCI Express(登録商標)を利用するものであり、本実施の形態の前提として当該PCI Express規格の概要について、非特許文献1の一部抜粋により説明する。ここに、高速シリアルバスとは、1本の伝送路を用いてシリアル(直列)伝送により高速(100Mbps程度以上)にデータをやり取りすることができるインタフェースを意味する。
[Outline of PCI Express standard]
First, this embodiment uses PCI Express (registered trademark), which is one of high-speed serial buses. As an assumption of this embodiment, an outline of the PCI Express standard is a part of Non-Patent Document 1. Explained with excerpts. Here, the high-speed serial bus means an interface capable of exchanging data at high speed (about 100 Mbps or more) by serial (serial) transmission using a single transmission line.

PCI Expressは、PCIの後継規格としてコンピュータ全般に通用する標準拡張バスとして規格化されたバスであり、概略的には、低電圧差動信号伝送、ポイントツーポイントで送受信独立の通信チャネル、パケット化されたスプリットトランザクション、リンク構成の違いによる高いスケーラビリティなどの特徴を持つ。   PCI Express is a standardized expansion bus that can be used for all computers as a successor to PCI. In general, low-voltage differential signal transmission, point-to-point independent communication channels, and packetization Split transactions and high scalability due to differences in link configuration.

図1に既存のPCIシステム、図2にPCI Expressシステムの各々の構成例を示す。既存のPCIシステムにあっては、CPU100やAGPグラフィックス101やメモリ102が接続されたホストブリッジ103に対して、PCI-X(PCIの上位互換規格)デバイス104a,104bがPCI-Xブリッジ105aを介して接続されたり、PCIデバイス104c,104dが接続されたPCIブリッジ105bやPCIバススロット106が接続されたPCIブリッジ107がPCIブリッジ105cを介して接続されたりしたツリー構造(木構造)とされている。   FIG. 1 shows a configuration example of an existing PCI system, and FIG. 2 shows a configuration example of a PCI Express system. In an existing PCI system, PCI-X (PCI upward compatible standard) devices 104a and 104b connect a PCI-X bridge 105a to a host bridge 103 to which a CPU 100, AGP graphics 101, and memory 102 are connected. Or a PCI bridge 105b to which the PCI devices 104c and 104d are connected and a PCI bridge 107 to which the PCI bus slot 106 is connected are connected via the PCI bridge 105c (tree structure). Yes.

これに対して、PCI Expressシステムにあっては、CPU110やメモリ111が接続されたルートコンプレックス112に対して、PCI Expressグラフィックス113がPCI Express114aにより接続され、また、エンドポイント115aやレガシーエンドポイント116aがPCI Express114bにより接続されたスイッチ117aがPCI Express114cにより接続され、さらには、エンドポイント115bやレガシーエンドポイント116bがPCI Express114dにより接続されたスイッチ117bやPCIバススロット118が接続されたPCIブリッジ119がPCI Express114eにより接続されたスイッチ117cがPCI Express114fにより接続されたツリー構造(木構造)とされている。   On the other hand, in the PCI Express system, the PCI Express graphics 113 is connected by the PCI Express 114a to the root complex 112 to which the CPU 110 and the memory 111 are connected, and the endpoint 115a and the legacy endpoint 116a. PCI Express 114b connects the switch 117a to which the PCI Express 114b is connected, and the PCI bridge 119 to which the switch 117b to which the endpoint 115b and the legacy endpoint 116b are connected by the PCI Express 114d and the PCI bus slot 118 are connected. The switch 117c connected by the Express 114e has a tree structure (tree structure) connected by the PCI Express 114f.

実際に想定されるPCI Expressプラットホーム例を図3に示す。図示例は、デスクトップ/モバイルへの適用例を示し、CPU121がCPUホストバス122により接続され、メモリ123が接続されたメモリハブ124(ルートコンプレックスに相当する)に対して、例えば、グラフィックス125がx16のPCI Express126aにより接続され、また、変換機能を有するI/Oハブ127がPCI Express126bにより接続されている。このI/Oハブ127には、例えば、Serial ATA128によりストレージ129が接続され、LPC130によりローカルI/O131が接続され、USB 2.0132やPCIバススロット133が接続されている。さらには、I/Oハブ127には、PCI Express126cによりスイッチ134が接続され、このスイッチ134には、各々、PCI Express126d,126e,126fによりモバイルドック135、ギガビットイーサネット136(イーサネットは登録商標)、アドインカード137が接続されている。   An example of an actually assumed PCI Express platform is shown in FIG. The illustrated example shows an application example to desktop / mobile. For example, graphics 125 is x16 with respect to a memory hub 124 (corresponding to a root complex) to which a CPU 121 is connected by a CPU host bus 122 and a memory 123 is connected. PCI Express 126a and an I / O hub 127 having a conversion function are connected by PCI Express 126b. For example, a storage 129 is connected to the I / O hub 127 by a Serial ATA 128, a local I / O 131 is connected by an LPC 130, and a USB 2.0 132 and a PCI bus slot 133 are connected. Further, a switch 134 is connected to the I / O hub 127 by a PCI Express 126c, and the mobile dock 135, Gigabit Ethernet 136 (Ethernet is a registered trademark), and an add-in are connected to the switch 134 by PCI Express 126d, 126e, and 126f, respectively. A card 137 is connected.

即ち、PCI Expressシステムでは、従来のPCI,PCI-X,AGPといったバスがPCI Expressで置き換わり、既存のPCI/PCI-Xデバイスを接続するためにブリッジが使用される。チップセット間の接続もPCI Express接続となり、IEEE1394,Serial ATA,USB 2.0などの既存のバスはI/OハブによりPCI Expressに接続される。   That is, in the PCI Express system, the conventional PCI, PCI-X, AGP bus is replaced with PCI Express, and a bridge is used to connect an existing PCI / PCI-X device. Connection between chipsets is also PCI Express connection, and existing buses such as IEEE1394, Serial ATA, and USB 2.0 are connected to PCI Express by an I / O hub.

[PCI Expressの構成要素]
A.ポート(Port)/レーン(Lane)/リンク(Link)
図4に物理層の構造を示す。ポートは、物理的には同一半導体内にあり、リンクを形成するトランスミッタ/レシーバの集合で、論理的にはコンポーネント・リンク間を1対1で接続(ポイント・ツー・ポイント)するインタフェースを意味する。転送レートは、例えば片方向2.5Gbpsとされている。レーンは、例えば0.8Vの差動信号ペアのセットで、送信側の信号ペア(2本)、受信側の信号ペア(2本)からなる。リンクは、2つのポートとその間を結ぶレーンの集まりであり、コンポーネント間のデュアルシンプレックス通信バスである。「xNリンク」はN本のレーンから構成され、現在の規格では、N=1,2,4,8,16,32が定義されている。図示例は、x4リンク例である。例えば、図5に示すように、デバイスA,B間を結ぶこのレーン幅Nを可変することにより、スケーラブルなバンド幅を構成することが可能となる。
[Components of PCI Express]
A. Port / Lane / Link
FIG. 4 shows the structure of the physical layer. A port is a set of transmitters / receivers that are physically in the same semiconductor and form a link, and logically means an interface that connects component links in a one-to-one relationship (point-to-point). . The transfer rate is, for example, 2.5 Gbps in one direction. The lane is, for example, a set of 0.8 V differential signal pairs, and includes a transmission-side signal pair (two) and a reception-side signal pair (two). A link is a collection of lanes connecting two ports and the two ports, and is a dual simplex communication bus between components. The “xN link” is composed of N lanes, and N = 1, 2, 4, 8, 16, 32 are defined in the current standard. The illustrated example is an x4 link example. For example, as shown in FIG. 5, by changing the lane width N connecting the devices A and B, a scalable bandwidth can be configured.

B.ルートコンプレックス(Root Complex)
ルートコンプレックス112は、I/O構造の最上位に位置し、CPUやメモリサブシステムをI/Oに接続する。ブロック図などでは、図3に示すように、「メモリハブ」と記述されることが多い。ルートコンプレックス112(又は、124)は、1つ以上のPCI Expressポート(ルートポート)(図2中では、ルートコンプレックス112中の四角で示す)を持ち、各々のポートは独立したI/O階層ドメインを形成する。I/O階層ドメインは、単純なエンドポイントである場合(例えば、図2中のエンドポイント115a側の例)や、多数のスイッチやエンドポイントから形成される場合(例えば、図2中のエンドポイント115bやスイッチ117b,115c側の例)がある。
B. Root Complex
The root complex 112 is located at the highest level of the I / O structure, and connects the CPU and the memory subsystem to the I / O. In a block diagram or the like, as shown in FIG. 3, it is often described as “memory hub”. The root complex 112 (or 124) has one or more PCI Express ports (root ports) (indicated by squares in the root complex 112 in FIG. 2), and each port is an independent I / O hierarchical domain. Form. The I / O hierarchical domain is a simple endpoint (for example, the example of the endpoint 115a side in FIG. 2), or is formed from a large number of switches and endpoints (for example, the endpoint in FIG. 2). 115b and switches 117b and 115c side).

C.エンドポイント(End Point)
エンドポイント115は、タイプ00hのコンフィグレーション空間ヘッダを持つデバイス(具体的には、ブリッジ以外のデバイス)で、レガシーエンドポイントとPCI Expressエンドポイントとに分けられる。両者の大きな違いは、PCI ExpressエンドポイントはBAR(ベースアドレスレジスタ)でI/Oリソースを要求せず、このためI/Oリクエストを要求しない。また、PCI Expressエンドポイントは、ロックリクエストもサポートしていない。
C. End point
The endpoint 115 is a device having a configuration space header of type 00h (specifically, a device other than a bridge), and is divided into a legacy endpoint and a PCI Express endpoint. The major difference between the two is that the PCI Express endpoint does not request I / O resources in the BAR (Base Address Register), and therefore does not request an I / O request. PCI Express endpoints also do not support lock requests.

D.スイッチ(Switch)
スイッチ117(又は、134)は、2つ以上のポートを結合し、ポート間でのパケットルーティングを行う。コンフィグレーションソフトウェアからは、当該スイッチは、図6に示すように、仮想PCI-PCIブリッジ141の集合体として認識される。図中、両矢印はPCI Expressリンク114(又は、126)を示し、142a〜142dはポートを示す。このうち、ポート142aはルートコンプレックスに近い方のアップストリームポートであり、ポート142b〜142dはルートコンプレックスから遠い方のダウンストリームポートである。
D. Switch
The switch 117 (or 134) couples two or more ports and performs packet routing between the ports. From the configuration software, the switch is recognized as a collection of virtual PCI-PCI bridges 141 as shown in FIG. In the figure, double arrows indicate the PCI Express link 114 (or 126), and 142a to 142d indicate ports. Among these, the port 142a is an upstream port closer to the root complex, and the ports 142b to 142d are downstream ports farther from the root complex.

E.PCI Express114e−PCIブリッジ119
PCI ExpressからPCI/PCI-Xへの接続を提供する。これにより、既存のPCI/PCI-XデバイスをPCI Expressシステム上で使用することができる。
E. PCI Express 114e-PCI bridge 119
Provides connection from PCI Express to PCI / PCI-X. Thereby, an existing PCI / PCI-X device can be used on the PCI Express system.

[階層アーキテクチャ]
従来のPCIのアーキテクチャは、図7−1に示すように、プロトコルとシグナリングが密接に関連する構造であり階層という考え方はなかったが、PCI Expressでは、図7−2に示すように、一般的な通信プロトコルやInfiniBandのように、独立した階層構造とされ、各層に分けて仕様が定義されている。即ち、最上位のソフトウェア151、最下位の機構(メカニカル)部152間に、トランザクション層153、データリンク層154、物理層155を持つ構造とされている。これにより、各層のモジュール性が確保され、スケーラビリティを持たせることやモジュールの再利用が可能となる。例えば、新たな信号コーディング方式や伝送媒体を採用する場合、物理層を変更するだけでデータリンク層やトランザクション層は変更せずに対応できる。
[Hierarchical architecture]
As shown in FIG. 7A, the conventional PCI architecture has a structure in which protocols and signaling are closely related and there is no concept of hierarchy. In PCI Express, as shown in FIG. Like the standard communication protocol and InfiniBand, it has an independent hierarchical structure, and specifications are defined for each layer. In other words, a transaction layer 153, a data link layer 154, and a physical layer 155 are provided between the uppermost software 151 and the lowermost mechanism (mechanical) unit 152. Thereby, the modularity of each layer is ensured, and it becomes possible to provide scalability and reuse the module. For example, when adopting a new signal coding method or transmission medium, it is possible to cope with only changing the physical layer without changing the data link layer or the transaction layer.

PCI Expressのアーキテクチャの中心となるのは、トランザクション層153、データリンク層154、物理層155であり、各々図8を参照して説明する以下のような役割を持つ。   The core of the PCI Express architecture is a transaction layer 153, a data link layer 154, and a physical layer 155, each having the following roles described with reference to FIG.

A.トランザクション層153
トランザクション層153は、最上位に位置し、トランザクションレイヤパケット(TLP)の組み立て、分解機能を持つ。トランザクションレイヤパケット(TLP)は、リード/ライト、各種イベントといったトランザクションの伝達に用いられる。また、トランザクション層153は、トランザクションレイヤパケット(TLP)のためのクレジットを用いたフロー制御を行う。各層153〜155におけるトランザクションレイヤパケット(TLP)の概要を図9に示す(詳細は、後述する)。
A. Transaction layer 153
The transaction layer 153 is located at the highest level and has a function of assembling and disassembling a transaction layer packet (TLP). The transaction layer packet (TLP) is used for transmission of transactions such as read / write and various events. The transaction layer 153 performs flow control using credits for transaction layer packets (TLP). An outline of a transaction layer packet (TLP) in each of the layers 153 to 155 is shown in FIG. 9 (details will be described later).

B.データリンク層154
データリンク層154の主な役割は、エラー検出/訂正(再送)によりトランザクションレイヤパケット(TLP)のデータ完全性を保証することと、リンク管理である。データリンク層154間では、リンク管理やフロー制御のためのパケットのやり取りを行う。このパケットは、トランザクションレイヤパケット(TLP)と区別するために、データリンクレイヤパケット(DLLP)と呼ばれる。
B. Data link layer 154
The main role of the data link layer 154 is to guarantee data integrity of the transaction layer packet (TLP) by error detection / correction (retransmission) and link management. Packets for link management and flow control are exchanged between the data link layers 154. This packet is called a data link layer packet (DLLP) to distinguish it from a transaction layer packet (TLP).

C.物理層155
物理層155は、ドライバ、入力バッファ、パラレル−シリアル/シリアル−パラレル変換器、PLL、インピーダンス整合回路といったインタフェース動作に必要な回路を含んでいる。また、論理的な機能としてインタフェースの初期化・保守の機能を持つ。物理層155は、データリンク層154/トランザクション層153を実際のリンクで使用される信号技術から独立させる役目も持っている。
C. Physical layer 155
The physical layer 155 includes circuits necessary for interface operations such as a driver, an input buffer, a parallel-serial / serial-parallel converter, a PLL, and an impedance matching circuit. It also has interface initialization / maintenance functions as logical functions. The physical layer 155 also serves to make the data link layer 154 / transaction layer 153 independent of the signaling technology used in the actual link.

なお、PCI Expressのハードウェア構成上、エンベデッド・クロックという技術を採用しており、クロック信号はなく、クロックのタイミングはデータ信号中に埋め込まれており、受信側でデータ信号のクロス・ポイントを基にクロックを抽出する方式とされている。   The PCI Express hardware configuration employs a technology called embedded clock, there is no clock signal, the clock timing is embedded in the data signal, and the receiving side is based on the cross-point of the data signal. The system extracts the clock.

[コンフィグレーション空間]
PCI Expressは、従来のPCIと同様にコンフィグレーション空間を持つが、その大きさは従来のPCIが256バイトであるのに対して、図10に示すように、4096バイトへと拡張されている。これにより、多数のデバイス固有レジスタセットを必要とするデバイス(ホストブリッジなど)に対しても、将来的に十分な空間が確保されている。PCI Expressでは、コンフィグレーション空間へのアクセスは、フラットなメモリ空間へのアクセス(コンフィグレーションリード/ライト)で行われ、バス/デバイス/機能/レジスタ番号はメモリアドレスにマップされている。
[Configuration space]
PCI Express has a configuration space like conventional PCI, but its size is expanded to 4096 bytes as shown in FIG. 10, whereas conventional PCI has 256 bytes. As a result, sufficient space is secured in the future even for devices (such as host bridges) that require a large number of device-specific register sets. In PCI Express, the configuration space is accessed by accessing a flat memory space (configuration read / write), and the bus / device / function / register number is mapped to a memory address.

当該空間の先頭256バイトは、PCIコンフィグレーション空間として、BIOSや従来のOSからI/Oポートを使用した方法でもアクセスできる。従来のアクセスをPCI Expressでのアクセスに変換する機能は、ホストブリッジ上に実装される。00hから3FhまではPCI2.3互換のコンフィグレーションヘッダとなっている。これにより、PCI Expressで拡張された機能以外であれば、従来のOSやソフトウェアをそのまま使用することができる。即ち、PCI Expressにおけるソフトウェア層は、既存のPCIと互換性を保ったロード・ストア・アーキテクチャ(プロセッサが直接I/Oレジスタをアクセスする方式)を継承している。しかし、PCI Expressで拡張された機能(例えば、同期転送やRAS(Reliability,Availability and Serviceability)などの機能)を使用するには、4KバイトのPCI Express拡張空間にアクセスできるようにする必要がある。   The first 256 bytes of the space can be accessed as a PCI configuration space by a method using an I / O port from a BIOS or a conventional OS. The function of converting the conventional access to the access by PCI Express is implemented on the host bridge. From 00h to 3Fh, it is a PCI2.3 compatible configuration header. As a result, a conventional OS and software can be used as they are except for functions extended by PCI Express. That is, the software layer in PCI Express inherits a load / store architecture (a method in which a processor directly accesses an I / O register) that is compatible with the existing PCI. However, in order to use functions extended by PCI Express (for example, functions such as synchronous transfer and RAS (Reliability, Availability and Serviceability)), it is necessary to make it possible to access a 4 Kbyte PCI Express expansion space.

なお、PCI Expressとしては様々なフォームファクタ(形状)が考えられるが、具体化している例としては、アドインカード、プラグインカード(Express Card)、Mini PCI Expressなどがある。   Although various form factors (shapes) can be considered as PCI Express, examples of specific examples include an add-in card, a plug-in card (Express Card), and Mini PCI Express.

[PCI Express のアーキテクチャの詳細]
PCI Express のアーキテクチャの中心となっているトランザクション層153、データリンク層154、物理層155について、各々詳細に説明する。
[PCI Express architecture details]
The transaction layer 153, data link layer 154, and physical layer 155, which are the core of the PCI Express architecture, will be described in detail.

A.トランザクション層153
トランザクション層153の主な役割は、前述したように、上位のソフトウェア層151と下位のデータリンク層154との間でトランザクションレイヤパケット(TLP)の組み立てと分解を行うことである。
A. Transaction layer 153
The main role of the transaction layer 153 is to assemble and disassemble transaction layer packets (TLP) between the upper software layer 151 and the lower data link layer 154 as described above.

a.アドレス空間とトランザクションタイプ
PCI Expressでは、従来のPCIでサポートされていたメモリ空間(メモリ空間とのデータ転送用)、I/O空間(I/O空間とのデータ転送用)、コンフィグレーション空間(デバイスのコンフィグレーションとセットアップ用)に加えて、メッセージ空間(PCI Expressデバイス間のインバンドでのイベント通知や一般的なメッセージ送信(交換)用…割り込み要求や確認は、メッセージを「仮想ワイヤ」として使用することにより伝達される)が追加され、4つのアドレス空間が定義されている。各々の空間に対してトランザクションタイプが定義されている(メモリ空間、I/O空間、コンフィグレーション空間は、リード/ライト、メッセージ空間は基本(ベンダ定義含む))。
a. Address space and transaction type
In PCI Express, memory space (for data transfer with memory space), I / O space (for data transfer with I / O space), and configuration space (device configuration and setup) supported by conventional PCI In addition to message space (in-band event notification between PCI Express devices and general message transmission (exchange) ... Interrupt requests and confirmations are communicated by using the message as a "virtual wire" And four address spaces are defined. Transaction types are defined for each space (memory space, I / O space, configuration space is read / write, and message space is basic (including vendor definition)).

b.トランザクションレイヤパケット(TLP)
PCI Expressは、パケット単位で通信を行う。図9に示したトランザクションレイヤパケット(TLP)のフォーマットにおいて、ヘッダのヘッダ長は3DW(DWはダブルワードの略;合計12バイト)又は4DW(16バイト)で、トランザクションレイヤパケット(TLP)のフォーマット(ヘッダ長とペイロードの有無)、トランザクションタイプ、トラフィッククラス(TC)、アトリビュートやペイロード長などの情報が含まれる。パケット内の最大ペイロード長は1024DW(4096バイト)である。
b. Transaction layer packet (TLP)
PCI Express performs communication in units of packets. In the transaction layer packet (TLP) format shown in FIG. 9, the header length of the header is 3DW (DW is an abbreviation of double word; total 12 bytes) or 4DW (16 bytes), and the transaction layer packet (TLP) format ( Information such as header length and presence / absence of payload), transaction type, traffic class (TC), attribute, and payload length are included. The maximum payload length in the packet is 1024 DW (4096 bytes).

ECRCは、エンドツーエンドのデータ完全性を保証するためのもので、トランザクションレイヤパケット(TLP)部分の32ビットCRCである。これは、スイッチ内部などでトランザクションレイヤパケット(TLP)にエラーが発生した場合、LCRC(リンクCRC)ではエラーを検出できないためである(エラーとなったTLPでLCRCが再計算されるため)。   ECRC is an end-to-end data integrity guarantee and is a 32-bit CRC of the transaction layer packet (TLP) portion. This is because when an error occurs in the transaction layer packet (TLP) inside the switch or the like, the LCRC (link CRC) cannot detect the error (because the LCRC is recalculated with the TLP in error).

リクエストは、完了パケットが不要なものと必要なものとがある。   Some requests do not require a completion packet, and some requests.

c.トラフィッククラス(TC)と仮想チャネル(VC)
上位のソフトウェアは、トラフィッククラス(TC)を使用することによりトラフィックの差別化(優先度をつける)を行うことができる。例えば、映像データをネットワークのデータよりも優先して転送する、といったことが可能となる。トラフィッククラス(TC)はTC0からTC7まで8つある。
c. Traffic class (TC) and virtual channel (VC)
Upper software can differentiate (prioritize) traffic by using a traffic class (TC). For example, video data can be transferred with priority over network data. There are eight traffic classes (TC) from TC0 to TC7.

仮想チャネル(VC:Vertual Channel)は、各々独立した仮想通信バス(同一のリンクを共用する複数の独立したデータ・フロー・バッファを使用するメカニズム)で、各々がリソース(バッファやキュー)を持ち、図11に示すように、独立したフロー制御を行う。これにより、1つの仮想チャネルのバッファが満杯の状態(full)になっても、他の仮想チャネルの転送を行うことができる。つまり、物理的には1つのリンクを仮想的な複数のチャネルに分けることで、有効に使用することができる。例えば、図11中に示すように、スイッチを経由してルートのリンクが複数のデバイスに分かれる場合、各デバイスのトラフィックの優先度を制御することができる。VC0は必須で、コストパフォーマンスのトレードオフに応じてその他の仮想チャネル(VC1〜VC7)が実装される。図11中の実線矢印は、デフォルト仮想チャネル(VC0)を示し、破線矢印はその他の仮想チャネル(VC1〜VC7)を示している。   A virtual channel (VC) is an independent virtual communication bus (a mechanism that uses a plurality of independent data flow buffers sharing the same link), each having resources (buffers and queues) As shown in FIG. 11, independent flow control is performed. Thereby, even if the buffer of one virtual channel becomes full (full), the transfer of another virtual channel can be performed. In other words, it can be effectively used by physically dividing one link into a plurality of virtual channels. For example, as shown in FIG. 11, when a route link is divided into a plurality of devices via a switch, the priority of traffic of each device can be controlled. VC0 is indispensable, and other virtual channels (VC1 to VC7) are mounted in accordance with the cost performance trade-off. The solid line arrow in FIG. 11 indicates the default virtual channel (VC0), and the broken line arrow indicates the other virtual channels (VC1 to VC7).

トランザクション層内では、トラフィッククラス(TC)が仮想チャネル(VC)にマッピングされる。1つの仮想チャネル(VC)に対して1つ又は複数のトラフィッククラス(TC)をマッピングできる(仮想チャネル(VC)の数が少ない場合)。単純な例では、各トラフィッククラス(TC)から各仮想チャネル(VC)に1対1、全てのトラフィッククラス(TC)を仮想チャネルVC0にマッピングする、といったことが考えられる。TC0−VC0のマッピングは、必須/固定で、それ以外のマッピングは上位のソフトウェアから制御される。ソフトウェアはトラフィッククラス(TC)を利用することで、トランザクションの優先度を制御することが可能となる。   Within the transaction layer, a traffic class (TC) is mapped to a virtual channel (VC). One or more traffic classes (TC) can be mapped to one virtual channel (VC) (when the number of virtual channels (VC) is small). In a simple example, it can be considered that each traffic class (TC) is mapped to each virtual channel (VC) on a one-to-one basis, and all traffic classes (TC) are mapped to the virtual channel VC0. The mapping of TC0-VC0 is essential / fixed, and the other mappings are controlled from the upper software. The software can control the priority of the transaction by using the traffic class (TC).

d.フロー制御
受信バッファのオーバーフローを避け、伝送順序を確立するためにフロー制御(FC:Flow Control)が行われる。フロー制御は、リンク間のポイントツーポイントで行われ、エンドツーエンドではない。従って、フロー制御により最終的な相手(コンプリータ)にパケットが届いたことを確認することはできない。
d. Flow control Flow control (FC) is performed in order to avoid overflow of the reception buffer and establish the transmission order. Flow control is done point-to-point between links, not end-to-end. Therefore, it cannot be confirmed that the packet has reached the final partner (completer) by flow control.

PCI Expressのフロー制御は、クレジット・ベースで行われる(データ転送を始める前に、受け取り側のバッファの空き状況を確認し、オーバーフロー、アンダフローが発生しないメカニズム)。即ち、受信側はリンク初期化時にバッファ容量(クレジット値)を送信側に通知し、送信側はクレジット値と送信するパケットの長さとを比較し、一定の残りがある場合のみパケットを送信する。このクレジットには6種類ある。   PCI Express flow control is performed on a credit basis (mechanism to check the buffer availability on the receiving side before starting data transfer and prevent overflow and underflow). That is, the receiving side notifies the transmitting side of the buffer capacity (credit value) at the time of link initialization, and the transmitting side compares the credit value with the length of the packet to be transmitted, and transmits the packet only when there is a certain remaining. There are six types of credits.

フロー制御の情報交換はデータリンク層のデータリンクレイヤパケット(DLLP)を使用して行われる。フロー制御はトランザクションレイヤパケット(TLP)のみに適用され、データリンクレイヤパケット(DLLP)には適用されない(DLLPは常時送受信可能)。   Flow control information exchange is performed using data link layer packets (DLLP) in the data link layer. The flow control is applied only to the transaction layer packet (TLP) and not to the data link layer packet (DLLP) (DLLP can always be transmitted / received).

B.データリンク層154
データリンク層154の主な役割は、前述したように、リンク上の2つのコンポーネント間での信頼性の高いトランザクションレイヤパケット(TLP)交換機能を提供することである。
B. Data link layer 154
The main role of the data link layer 154 is to provide a reliable transaction layer packet (TLP) exchange function between two components on the link, as described above.

a.トランザクションレイヤパケット(TLP)の扱い
トランザクション層153から受け取ったトランザクションレイヤパケット(TLP)に対しては、先頭に2バイトのシーケンス番号、末尾に4バイトのリンクCRC(LCRC)を付加して、物理層155に渡す(図9参照)。トランザクションレイヤパケット(TLP)は、リトライバッファに保管され、相手から受信確認(ACK)が届くまで再送される。トランザクションレイヤパケット(TLP)の送信に失敗が続いた場合は、リンク異常であると判断して物理層155に対してリンクの再トレーニングを要求する。リンクのトレーニングが失敗した場合、データリンク層154の状態はインアクティブに遷移する。
a. Handling of transaction layer packet (TLP) For the transaction layer packet (TLP) received from the transaction layer 153, a 2-byte sequence number at the beginning and a 4-byte link CRC (LCRC) at the end are added to the physical layer. To 155 (see FIG. 9). The transaction layer packet (TLP) is stored in the retry buffer and retransmitted until a reception confirmation (ACK) is received from the partner. When the transmission of the transaction layer packet (TLP) continues to fail, it is determined that the link is abnormal, and the physical layer 155 is requested to retrain the link. If link training fails, the state of the data link layer 154 transitions to inactive.

物理層155から受け取ったトランザクションレイヤパケット(TLP)は、シーケンス番号とリンクCRC(LCRC)が検査され、正常であればトランザクション層153に渡され、エラーがあった場合は再送を要求する。   The transaction layer packet (TLP) received from the physical layer 155 is inspected for the sequence number and the link CRC (LCRC). If normal, the transaction layer packet (TLP) is passed to the transaction layer 153. If there is an error, a retransmission is requested.

b.データリンクレイヤパケット(DLLP)
トランザクションレイヤパケット(TLP)は、物理層から送信されるときに自動的に図12に示すようなデータリンクレイヤパケット(DLLP)に分割されて各レーンに送信される。データリンク層154が生成するパケットは、データリンクレイヤパケット(DLLP)と呼ばれ、データリンク層154間でやり取りされる。データリンクレイヤパケット(DLLP)には、
・Ack/Nak:TLPの受信確認、リトライ(再送)
・InitFC1/InitFC2/UpdateFC:フロー制御の初期化とアップデート
・電源管理のためのDLLP
なる種類がある。
b. Data link layer packet (DLLP)
The transaction layer packet (TLP) is automatically divided into data link layer packets (DLLP) as shown in FIG. 12 and transmitted to each lane when transmitted from the physical layer. A packet generated by the data link layer 154 is called a data link layer packet (DLLP), and is exchanged between the data link layers 154. Data link layer packet (DLLP)
-Ack / Nak: TLP reception confirmation, retry (retransmission)
-InitFC1 / InitFC2 / UpdateFC: Flow control initialization and update-DLLLP for power management
There are different types.

図12に示すように、データリンクレイヤパケット(DLLP)の長さは6バイトで、種類を示すDLLPタイプ(1バイト)、DLLPの種類で固有の情報(3バイト)、CRC(2バイト)から構成される。   As shown in FIG. 12, the length of the data link layer packet (DLLP) is 6 bytes. From the DLLP type (1 byte) indicating the type, the information specific to the type of DLLP (3 bytes), and CRC (2 bytes) Composed.

C.物理層−論理サブブロック156
図8中に示す物理層155の論理サブブロック156での主な役割は、データリンク層154から受け取ったパケットを電気サブブロック157で送信できる形式に変換することである。また、物理層155を制御/管理する機能も有する。
C. Physical layer-logical sub-block 156
The main role of the physical layer 155 in the logical sub-block 156 shown in FIG. 8 is to convert the packet received from the data link layer 154 into a format that can be transmitted by the electrical sub-block 157. It also has a function of controlling / managing the physical layer 155.

a.データ符号化とパラレル−シリアル変換
PCI Expressは、連続した“0”や“1”が続かないように(長い期間、クロス・ポイントが存在しない状態が続かないようにするため)、データ符号化に8B/10B変換を用いる。変換されたデータは、図13中に示すように、シリアル変換され、LSBからレーン上に送信される。ここに、レーンが複数ある場合は(図13はx4リンクの場合を例示している)、符号化の前にデータがバイト単位で各レーンに割り振られる。この場合、一見パラレル・バスのようにみえるが、レーン毎に独立した転送を行うので、パラレル・バスで問題となるスキューが大幅に緩和される。
a. Data encoding and parallel-serial conversion
PCI Express uses 8B / 10B conversion for data encoding so that consecutive “0” s and “1” s do not continue (in order not to maintain a state where there is no cross point for a long period of time). The converted data is serial-converted and transmitted from the LSB onto the lane as shown in FIG. Here, when there are a plurality of lanes (FIG. 13 illustrates the case of x4 link), data is allocated to each lane in units of bytes before encoding. In this case, it looks like a parallel bus at first glance, but since the transfer is performed independently for each lane, the skew which is a problem with the parallel bus is greatly reduced.

b.電源管理とリンクステート
リンクの消費電力を低く抑えるために、図14に示すように、L0/L0s/L1/L2というリンクステートが定義されている。
b. Power Management and Link State In order to keep the power consumption of the link low, a link state of L0 / L0s / L1 / L2 is defined as shown in FIG.

L0が通常モードで、L0sからL2へと低消費電力となるが、L0への復帰にも時間がかかるようになる。図15に示すように、ソフトウェアによる電源管理に加えて、アクティブステート電源管理を積極的に行うことにより、消費電力を極力小さくすることが可能となる。   L0 is a normal mode, and power consumption is reduced from L0s to L2, but it takes time to return to L0. As shown in FIG. 15, by actively performing active state power management in addition to software power management, it is possible to reduce power consumption as much as possible.

D.物理層−電気サブブロック157
物理層155の電気サブブロック157での主な役割は、論理サブブロック156でシリアル化されたデータをレーン上に送信することと、レーン上のデータを受信して論理サブブロック156に渡すことである。
D. Physical layer—Electric sub-block 157
The main role of the physical layer 155 in the electrical sub-block 157 is to transmit the data serialized in the logical sub-block 156 onto the lane, and to receive the data on the lane and pass it to the logical sub-block 156. is there.

a.ACカップリング
リンクの送信側では、ACカップリング用のコンデンサが実装される。これにより、送信側と受信側のDCコモンモード電圧が同一である必要がなくなる。このため、送信側と受信側で異なる設計、半導体プロセス、電源電圧を使用することが可能となる。
a. AC coupling On the transmission side of the link, a capacitor for AC coupling is mounted. This eliminates the need for the DC common mode voltage on the transmission side and the reception side to be the same. For this reason, it is possible to use different designs, semiconductor processes, and power supply voltages on the transmission side and the reception side.

b.デエンファシス
PCI Expressでは、前述したように、8B/10Bエンコーディングによってできるだけ連続した“0”や“1”が続かないように処理されるが、連続した“0”や“1”が続くこともある(最大5回)。この場合、送信側はデエンファシス転送を行わなければならないことが規定されている。同一極性のビットが連続する場合は、2つ目のビットからは差動電圧レベル(振幅)を3.5±0.5dB落とすことで、受信側で受け取る信号のノイズ・マージンを稼ぐ必要がある。これを、デエンファシスという。伝送路の周波数依存性減衰のため、変化するビットの場合は高周波成分が多く、減衰により受信側の波形が小さくなるが、変化しないビットの場合は高周波成分が少なく、相対的に受信側の波形が大きくなる。このため、受信側での波形を一定とするためにデエンファシスを行う。
b. De-emphasis
In PCI Express, as described above, processing is performed so that continuous “0” and “1” do not continue as much as possible by 8B / 10B encoding, but continuous “0” and “1” may continue (maximum). 5 times). In this case, it is specified that the transmission side must perform de-emphasis transfer. When bits of the same polarity are consecutive, it is necessary to increase the noise margin of the signal received on the receiving side by dropping the differential voltage level (amplitude) from the second bit by 3.5 ± 0.5 dB. . This is called de-emphasis. Due to the frequency-dependent attenuation of the transmission line, there are many high-frequency components in the case of changing bits, and the waveform on the receiving side becomes small due to attenuation. Becomes larger. For this reason, de-emphasis is performed in order to make the waveform on the receiving side constant.

[画像処理システム]
本実施の形態のデジタル複写機やMFP等の画像処理システムは、その内部インタフェースに前述したようなPCI Express規格の高速シリアルバスを利用するようにしたものである。
[Image processing system]
The image processing system such as a digital copying machine or MFP according to the present embodiment uses a PCI Express standard high-speed serial bus as described above for its internal interface.

図16は、本実施の形態の画像処理システムの制御装置1の構成例を示す概略ブロック図である。本実施の形態の画像処理システムは、例えばMFP等の機器に適用されるもので、その制御装置1の構成要素として、システム全体の制御を受け持つCPU2と、メインメモリ3と、ルート機能を有するメモリ制御デバイスであるメモリコントロールハブ4と、第2のデバイスであってI/O制御デバイスであるI/Oコントロールハブ5と、第1のデバイスであってMFPにおける各種処理を制御する画像処理コントローラであるMFPコントローラ6と、メモリ10aと、HDD(Hard Disk Drive)10bとを備える。   FIG. 16 is a schematic block diagram illustrating a configuration example of the control device 1 of the image processing system according to the present embodiment. The image processing system according to the present embodiment is applied to a device such as an MFP, for example. As components of the control device 1, a CPU 2 that controls the entire system, a main memory 3, and a memory having a root function A memory control hub 4 that is a control device, an I / O control hub 5 that is a second device and an I / O control device, and an image processing controller that is a first device and controls various processes in the MFP. An MFP controller 6, a memory 10a, and an HDD (Hard Disk Drive) 10b are provided.

メモリコントロールハブ4は、PCI Express規格のルートコンプレックス(木構造のルート機能を有するデバイスであるルートデバイス)に相当するものであって、メインメモリ3を制御してCPU2やI/Oコントロールハブ5に接続されたI/Oデバイスとのデータ転送を司る。   The memory control hub 4 corresponds to a PCI Express standard root complex (root device having a tree-structured root function), and controls the main memory 3 to be connected to the CPU 2 and the I / O control hub 5. Controls data transfer with connected I / O devices.

I/Oコントロールハブ5は、接続されたI/Oデバイス(例えば、ハードディスクやグラフィックス、ネットワークなど)、またはそのインタフェースを制御する。   The I / O control hub 5 controls a connected I / O device (for example, hard disk, graphics, network, etc.) or its interface.

本実施の形態においては、メモリコントロールハブ4とI/Oコントロールハブ5との間、メモリコントロールハブ4とMFPコントローラ6との間は、それぞれPCI Express規格の高速シリアルバス7,8により接続されている。このように高速シリアルバス7,8により接続することにより、メモリコントロールハブ4を経由したI/Oコントロールハブ5からMFPコントローラ6に対するデータ転送(データ転送経路A)の高速化が図られている。   In this embodiment, the memory control hub 4 and the I / O control hub 5 are connected to each other by the PCI Express standard high-speed serial buses 7 and 8, respectively. Yes. By connecting the high-speed serial buses 7 and 8 in this way, the speed of data transfer (data transfer path A) from the I / O control hub 5 to the MFP controller 6 via the memory control hub 4 is increased.

加えて、本実施の形態においては、I/Oコントロールハブ5とMFPコントローラ6との間を、第2の高速シリアルバスであるPCI Express規格の高速シリアルバス9により接続している。すなわち、本実施の形態の画像処理システムの制御装置1は、メモリコントロールハブ4経由のデータ転送経路Aのほかに、I/Oコントロールハブ5とMFPコントローラ6とを直接接続したデータ転送経路Bを有している。   In addition, in this embodiment, the I / O control hub 5 and the MFP controller 6 are connected by a PCI Express standard high-speed serial bus 9 which is a second high-speed serial bus. That is, the control device 1 of the image processing system according to the present embodiment includes a data transfer path B in which the I / O control hub 5 and the MFP controller 6 are directly connected in addition to the data transfer path A via the memory control hub 4. Have.

また、図17に示すように、MFPコントローラ6には、メモリコントロールハブ4からの信号1を受け、I/Oコントロールハブ5へのデータ転送経路をメモリコントロールハブ4経由のデータ転送経路AからI/Oコントロールハブ5とMFPコントローラ6とを直接接続したデータ転送経路Bへ切り替えるスイッチ11が備えられている。一方、I/Oコントロールハブ5には、メモリコントロールハブ4からの信号2を受け、MFPコントローラ6へのデータ転送経路をメモリコントロールハブ4経由のデータ転送経路AからI/Oコントロールハブ5とMFPコントローラ6とを直接接続したデータ転送経路Bへ切り替えるスイッチ12が備えられている。   As shown in FIG. 17, the MFP controller 6 receives the signal 1 from the memory control hub 4 and changes the data transfer path from the data transfer path A to the I / O control hub 5 to the I / O control hub 5. A switch 11 for switching to the data transfer path B in which the / O control hub 5 and the MFP controller 6 are directly connected is provided. On the other hand, the I / O control hub 5 receives the signal 2 from the memory control hub 4 and transfers the data transfer path to the MFP controller 6 from the data transfer path A via the memory control hub 4 to the I / O control hub 5 and the MFP. A switch 12 for switching to a data transfer path B directly connected to the controller 6 is provided.

このような構成において、メモリコントロールハブ4からの信号1,2に応じたデータ転送経路の切り替え制御について説明する。   In such a configuration, data transfer path switching control according to signals 1 and 2 from the memory control hub 4 will be described.

メモリコントロールハブ4においてCPU2からのメモリアクセスが発生した場合、メモリコントロールハブ4からの信号1及び信号2によりMFPコントローラ6のスイッチ11とI/Oコントロールハブ5のスイッチ12とを制御し、MFPコントローラ6とI/Oコントロールハブ5を直接接続したデータ転送経路Bを経由して、MFPコントローラ6とI/Oコントロールハブ5の間でデータ転送を行うようにする。ここに、経路切替手段が実現されている。   When a memory access from the CPU 2 occurs in the memory control hub 4, the switch 11 of the MFP controller 6 and the switch 12 of the I / O control hub 5 are controlled by the signals 1 and 2 from the memory control hub 4. Data transfer is performed between the MFP controller 6 and the I / O control hub 5 via the data transfer path B in which the 6 and the I / O control hub 5 are directly connected. Here, route switching means is realized.

これにより、メモリコントロールハブ4においてCPU2からのメモリアクセスが発生した場合にも、MFPコントローラ6とI/Oコントロールハブ5を直接接続したデータ転送経路Bを経由してデータ転送することにより、MFPコントローラ6とI/Oコントロールハブ5の間の画像データやその他のデータ転送を妨げることのないデータ転送システムを提供することができる。   As a result, even when a memory access from the CPU 2 occurs in the memory control hub 4, data is transferred via the data transfer path B in which the MFP controller 6 and the I / O control hub 5 are directly connected. It is possible to provide a data transfer system that does not hinder image data and other data transfer between 6 and the I / O control hub 5.

このように本実施の形態によれば、メモリコントロールハブ4においてCPU2からのメモリアクセスが発生した場合にも、MFPコントローラ6とI/Oコントロールハブ5を直接接続したデータ転送経路を経由してデータ転送することにより、MFPコントローラ6とI/Oコントロールハブ5の間の画像データやその他のデータ転送を妨げることのない画像処理システムを提供することができ、コントローラの同時並行動作を実現することができる。   As described above, according to the present embodiment, even when a memory access from the CPU 2 occurs in the memory control hub 4, data is transmitted via the data transfer path in which the MFP controller 6 and the I / O control hub 5 are directly connected. By transferring, it is possible to provide an image processing system that does not hinder the transfer of image data and other data between the MFP controller 6 and the I / O control hub 5, and to realize simultaneous parallel operation of the controller. it can.

また、メモリコントロールハブ4からの信号に応じてデータ転送経路を切り替えることができる。   Further, the data transfer path can be switched in accordance with a signal from the memory control hub 4.

[第2の実施の形態]
次に、本発明の第2の実施の形態を図18に基づいて説明する。なお、前述した第1の実施の形態と同じ部分は同じ符号で示し説明も省略する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to FIG. The same parts as those in the first embodiment described above are denoted by the same reference numerals, and description thereof is also omitted.

第1の実施の形態においては、メモリコントロールハブ4においてCPU2からのメモリアクセスが発生した場合、メモリコントロールハブ4からMFPコントローラ6とI/Oコントロールハブ5に対してPCI Express規格の高速シリアルバス7,8を経由して信号1,2をそれぞれ送信してデータ転送経路を切り替えるようにしたが、本実施の形態においては、通信先アドレスに従ってデータ転送経路を切り替えるようにしたものである。   In the first embodiment, when a memory access from the CPU 2 occurs in the memory control hub 4, the PCI Express standard high-speed serial bus 7 from the memory control hub 4 to the MFP controller 6 and the I / O control hub 5. , 8 to transmit the signals 1 and 2 to switch the data transfer path, but in this embodiment, the data transfer path is switched according to the communication destination address.

図18は、本発明の第2の実施の形態の画像処理システムの制御装置1の構成例を示す概略ブロック図である。図18に示すように、MFPコントローラ6には、通信先アドレスがI/Oコントロールハブ5の場合に、I/Oコントロールハブ5へのデータ転送経路をメモリコントロールハブ4経由のデータ転送経路AからI/Oコントロールハブ5とMFPコントローラ6とを直接接続したデータ転送経路Bへ切り替えるスイッチ21が備えられている。一方、I/Oコントロールハブ5には、通信先アドレスがMFPコントローラ6の場合に、MFPコントローラ6へのデータ転送経路をメモリコントロールハブ4経由のデータ転送経路AからI/Oコントロールハブ5とMFPコントローラ6とを直接接続したデータ転送経路Bへ切り替えるスイッチ22が備えられている。   FIG. 18 is a schematic block diagram illustrating a configuration example of the control device 1 of the image processing system according to the second embodiment of the present invention. As shown in FIG. 18, when the communication destination address is the I / O control hub 5, the MFP controller 6 sends a data transfer path to the I / O control hub 5 from the data transfer path A via the memory control hub 4. A switch 21 for switching to a data transfer path B in which the I / O control hub 5 and the MFP controller 6 are directly connected is provided. On the other hand, when the communication destination address is the MFP controller 6, the I / O control hub 5 transfers the data transfer path to the MFP controller 6 from the data transfer path A via the memory control hub 4 to the I / O control hub 5 and the MFP. A switch 22 for switching to the data transfer path B directly connected to the controller 6 is provided.

このような構成において、通信先アドレスに応じたデータ転送経路の切り替え制御について説明する。   In such a configuration, switching control of the data transfer path according to the communication destination address will be described.

本実施の形態においては、通信先アドレスによりMFPコントローラ6のスイッチ21とI/Oコントロールハブ5のスイッチ22とを制御し、MFPコントローラ6とI/Oコントロールハブ5を直接接続したデータ転送経路Bを経由して、MFPコントローラ6とI/Oコントロールハブ5の間でデータ転送を行うようにする。ここに、パケットの通信先アドレスによる経路切替手段が実現されている。   In this embodiment, the switch 21 of the MFP controller 6 and the switch 22 of the I / O control hub 5 are controlled by the communication destination address, and the data transfer path B in which the MFP controller 6 and the I / O control hub 5 are directly connected. Then, data transfer is performed between the MFP controller 6 and the I / O control hub 5. Here, the path switching means based on the communication destination address of the packet is realized.

これにより、メモリコントロールハブ4においてCPU2からのメモリアクセスが発生した場合にも、MFPコントローラ6とI/Oコントロールハブ5を直接接続したデータ転送経路Bを経由してデータ転送することにより、MFPコントローラ6とI/Oコントロールハブ5の間の画像データやその他のデータ転送を妨げることのないデータ転送システムを提供することができる。   As a result, even when a memory access from the CPU 2 occurs in the memory control hub 4, data is transferred via the data transfer path B in which the MFP controller 6 and the I / O control hub 5 are directly connected. It is possible to provide a data transfer system that does not hinder image data and other data transfer between 6 and the I / O control hub 5.

このように本実施の形態によれば、通信先アドレスに応じてデータ転送経路を切り替えることができる。   Thus, according to the present embodiment, the data transfer path can be switched according to the communication destination address.

[第3の実施の形態]
次に、本発明の第3の実施の形態を図19ないし図21に基づいて説明する。なお、前述した第1の実施の形態と同じ部分は同じ符号で示し説明も省略する。
[Third Embodiment]
Next, a third embodiment of the present invention will be described with reference to FIGS. The same parts as those in the first embodiment described above are denoted by the same reference numerals, and description thereof is also omitted.

第1の実施の形態においては、メモリコントロールハブ4においてCPU2からのメモリアクセスが発生した場合、メモリコントロールハブ4からMFPコントローラ6とI/Oコントロールハブ5に対してPCI Express規格の高速シリアルバス7,8を経由して信号1,2をそれぞれ送信してデータ転送経路を切り替えるようにしたが、本実施の形態においては、高速シリアルバス7,8とは別に信号線を設け、この信号線を経由して信号1,2をそれぞれ送信してデータ転送経路を切り替えるようにしたものである。   In the first embodiment, when a memory access from the CPU 2 occurs in the memory control hub 4, the PCI Express standard high-speed serial bus 7 from the memory control hub 4 to the MFP controller 6 and the I / O control hub 5. In this embodiment, a signal line is provided separately from the high-speed serial buses 7 and 8, and this signal line is connected to the data transfer path. The signals 1 and 2 are transmitted via the switch to switch the data transfer path.

図19は、本発明の第3の実施の形態の画像処理システムの制御装置1の構成例を示す概略ブロック図である。図19に示すように、本実施の形態の画像処理システムの制御装置1においては、第1の実施の形態で説明した構成に加えて、メモリコントロールハブ4とI/Oコントロールハブ5との間、メモリコントロールハブ4とMFPコントローラ6との間を、高速シリアルバス7,8とは別に設けられた信号線31,32によりそれぞれ接続している。これにより、メモリコントロールハブ4で発生する信号1は、信号線31を経由してMFPコントローラ6に伝達され、メモリコントロールハブ4で発生する信号2は、信号線32を経由してI/Oコントロールハブ5に伝達される。   FIG. 19 is a schematic block diagram illustrating a configuration example of the control device 1 of the image processing system according to the third embodiment of the present invention. As shown in FIG. 19, in the control apparatus 1 of the image processing system of the present embodiment, in addition to the configuration described in the first embodiment, the memory control hub 4 and the I / O control hub 5 are arranged. The memory control hub 4 and the MFP controller 6 are connected by signal lines 31 and 32 provided separately from the high-speed serial buses 7 and 8, respectively. As a result, the signal 1 generated in the memory control hub 4 is transmitted to the MFP controller 6 via the signal line 31, and the signal 2 generated in the memory control hub 4 is transmitted via the signal line 32 to the I / O control. It is transmitted to the hub 5.

ここで、信号線31,32は、図20に示すように、「メモリコントロールハブ4への転送許可(HIGH)」「メモリコントロールハブ4への転送不可(LOW)」の2つの状態を伝達することで、スイッチ11とスイッチ12とを制御し、MFPコントローラ6とI/Oコントロールハブ5を直接接続した高速シリアルバス9(データ転送経路B)を経由したI/Oコントロールハブ5とMFPコントローラ6との間でのデータ転送を行う。   Here, as shown in FIG. 20, the signal lines 31 and 32 transmit two states of “transfer permission to the memory control hub 4 (HIGH)” and “transfer disable to the memory control hub 4 (LOW)”. As a result, the switch 11 and the switch 12 are controlled, and the I / O control hub 5 and the MFP controller 6 via the high-speed serial bus 9 (data transfer path B) in which the MFP controller 6 and the I / O control hub 5 are directly connected. Transfer data to and from.

このように本実施の形態によれば、高速シリアルバス7,8とは別に単純な信号線31,32を設け、これらの信号線31,32を経由してメモリコントロールハブ4で発生した信号1,2をI/Oコントロールハブ5とMFPコントローラ6とに送信するようにしたことにより、データ転送経路の切り替え信号を高速に伝達することができる。   As described above, according to the present embodiment, simple signal lines 31 and 32 are provided separately from the high-speed serial buses 7 and 8, and the signal 1 generated in the memory control hub 4 via these signal lines 31 and 32. , 2 are transmitted to the I / O control hub 5 and the MFP controller 6, a data transfer path switching signal can be transmitted at high speed.

また、図21に示すように、I/Oコントロールハブ5もしくはMFPコントローラ6が、メモリコントロールハブ4とのデータ転送中に「メモリコントロールハブ4への転送許可(HIGH)」から「メモリコントロールハブ4への転送不可(LOW)」へと状態が変化した場合は、ただちにメモリコントロールハブ4とのデータ転送を中止し、I/Oコントロールハブ5とMFPコントローラ6との間での高速シリアルバス9(データ転送経路B)を介したデータ転送が行われる。これにより、メモリコントロールハブ4においてCPU2からのメモリアクセスが発生した場合にも、I/Oコントロールハブ5とMFPコントローラ6との間の画像データやその他のデータ転送が妨げられることがない。   Further, as shown in FIG. 21, the I / O control hub 5 or the MFP controller 6 changes from “transfer permission to the memory control hub 4 (HIGH)” to “memory control hub 4” during data transfer with the memory control hub 4. When the status changes to “transfer impossible to (LOW)”, the data transfer with the memory control hub 4 is immediately stopped, and the high-speed serial bus 9 between the I / O control hub 5 and the MFP controller 6 ( Data transfer is performed via the data transfer path B). Thus, even when a memory access from the CPU 2 occurs in the memory control hub 4, image data and other data transfer between the I / O control hub 5 and the MFP controller 6 are not hindered.

既存PCIシステムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the existing PCI system. PCI Expressシステムの構成例を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration example of a PCI Express system. デスクトップ/モバイルでのPCI Expressプラットホームの構成例を示すブロック図である。It is a block diagram which shows the structural example of the PCI Express platform in desktop / mobile. x4の場合の物理層の構造例を示す模式図である。It is a schematic diagram which shows the structural example of the physical layer in the case of x4. デバイス間のレーン接続例を示す模式図である。It is a schematic diagram which shows the example of lane connection between devices. スイッチの論理的構造例を示すブロック図である。It is a block diagram which shows the logical structural example of a switch. 既存のPCIのアーキテクチャを示すブロック図である。It is a block diagram which shows the architecture of the existing PCI. PCI Expressのアーキテクチャを示すブロック図である。It is a block diagram which shows the architecture of PCI Express. PCI Expressの階層構造を示すブロック図である。It is a block diagram which shows the hierarchical structure of PCI Express. トランザクションレイヤパケットのフォーマット例を示す説明図である。It is explanatory drawing which shows the format example of a transaction layer packet. PCI Expressのコンフィグレーション空間を示す説明図である。It is explanatory drawing which shows the configuration space of PCI Express. 仮想チャネルの概念を説明するための模式図である。It is a schematic diagram for demonstrating the concept of a virtual channel. データリンクレイヤパケットのフォーマット例を示す説明図である。It is explanatory drawing which shows the format example of a data link layer packet. x4リンクでのバイトストライピング例を示す模式図である。It is a schematic diagram which shows the byte striping example in x4 link. L0/L0s/L1/L2というリンクステートの定義について説明する説明図である。It is explanatory drawing explaining the definition of the link state of L0 / L0s / L1 / L2. アクティブステート電源管理の制御例を示すタイムチャートである。It is a time chart which shows the example of control of active state power management. 本発明の第1の実施の形態の画像処理システムの制御装置の構成例を示す概略ブロック図である。It is a schematic block diagram which shows the structural example of the control apparatus of the image processing system of the 1st Embodiment of this invention. 画像処理システムの制御装置におけるデータ転送経路の切り替え例を示す説明図である。It is explanatory drawing which shows the example of switching of the data transfer path | route in the control apparatus of an image processing system. 本発明の第2の実施の形態の画像処理システムの制御装置におけるデータ転送経路の切り替え例を示す説明図である。It is explanatory drawing which shows the example of switching of the data transfer path | route in the control apparatus of the image processing system of the 2nd Embodiment of this invention. 本発明の第3の実施の形態の画像処理システムの制御装置の構成例を示す概略ブロック図である。It is a schematic block diagram which shows the structural example of the control apparatus of the image processing system of the 3rd Embodiment of this invention. スイッチ切り替えを示すタイミングチャートである。It is a timing chart which shows switch switching. データ転送切り替えを示すタイミングチャートである。It is a timing chart which shows data transfer switching. 従来の画像処理システムのコントローラ構成の一例を示すブロック図である。It is a block diagram which shows an example of the controller structure of the conventional image processing system. 従来のPCI Expressを使用した画像処理システムのコントローラ構成の一例を示すブロック図である。It is a block diagram which shows an example of the controller structure of the image processing system using the conventional PCI Express.

符号の説明Explanation of symbols

1 制御装置
2 CPU
3 メモリ
4 ルートデバイス、メモリ制御デバイス
5 第2のデバイス、I/O制御デバイス
6 第1のデバイス、画像処理コントローラ
7,8 高速シリアルバス
9 第2の高速シリアルバス
11,21 第1のデバイス(画像処理コントローラ)のスイッチ
12,22 第2のデバイス(I/O制御デバイス)のスイッチ
31,32 信号線
A ルートデバイス(メモリ制御デバイス)経由のデータ転送経路
B データ転送経路
1 control device 2 CPU
3 memory 4 root device, memory control device 5 second device, I / O control device 6 first device, image processing controller 7, 8 high-speed serial bus 9 second high-speed serial bus 11, 21 first device ( Image processing controller switch 12, 22 Second device (I / O control device) switch 31, 32 Signal line A Data transfer path via root device (memory control device) B Data transfer path

Claims (22)

木構造によるデータ通信網としてポイントツーポイントで送受信独立の通信チャネルが確立される高速シリアルバスにより各種デバイスを接続し、前記各種デバイスに対してCPU(Central Processing unit)やメモリを接続する木構造のルート機能を有するデバイスであるルートデバイスを備える制御装置において、
前記ルートデバイスに対して前記高速シリアルバスにより接続されている第1のデバイスと、
前記ルートデバイスに対して前記高速シリアルバスにより接続されているとともに、前記第1のデバイスに対しても第2の高速シリアルバスにより直接接続されている第2のデバイスと、
前記ルートデバイスは、前記CPUから前記メモリに対するメモリアクセスが発生した場合、前記第1のデバイスから前記第2のデバイスへのデータ転送経路を前記ルートデバイス経由のデータ転送経路から前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路へ切り替える経路切替手段と、
を備えることを特徴とする制御装置。
A tree-structured data communication network that connects various devices via a high-speed serial bus that establishes a point-to-point independent communication channel as a data communication network, and connects a CPU (Central Processing Unit) and memory to the various devices. In a control apparatus including a root device that is a device having a root function,
A first device connected to the root device by the high-speed serial bus;
A second device connected to the root device by the high-speed serial bus and also directly connected to the first device by a second high-speed serial bus;
When the memory access from the CPU to the memory occurs, the root device changes the data transfer path from the first device to the second device from the data transfer path via the root device to the first device. Path switching means for switching to the data transfer path directly connected to the second device via the second high-speed serial bus;
A control device comprising:
前記経路切替手段は、前記ルートデバイスから前記第1のデバイスと前記第2のデバイスとに対してそれぞれデータ転送経路へ切り替える信号を出力し、前記ルートデバイスからの信号により前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記第1のデバイスと前記第2のデバイスとの間でデータ転送を行うようにする、
ことを特徴とする請求項1記載の制御装置。
The path switching means outputs a signal for switching to the data transfer path from the root device to the first device and the second device, respectively, and switches the first device according to a signal from the root device. And the switch of the second device, and the first device via the data transfer path in which the first device and the second device are directly connected by the second high-speed serial bus. And data transfer between the device and the second device,
The control device according to claim 1.
前記経路切替手段は、パケットの通信先アドレスに従って前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記第1のデバイスと前記第2のデバイスとの間でデータ転送を行うようにする、
ことを特徴とする請求項1記載の制御装置。
The path switching unit controls the switch of the first device and the switch of the second device according to a communication destination address of a packet, and controls the first device and the second device to the second high-speed Data is transferred between the first device and the second device via a data transfer path directly connected by a serial bus.
The control device according to claim 1.
前記ルートデバイスと前記第1のデバイスとの間、および、前記ルートデバイスと前記第2のデバイスとの間には、前記高速シリアルバスとは別に信号線がそれぞれ設けられており、
前記経路切替手段は、前記ルートデバイスから前記各信号線を経由して前記第1のデバイスと前記第2のデバイスとに対してそれぞれデータ転送経路へ切り替える信号を出力し、前記ルートデバイスからの信号により前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記第1のデバイスと前記第2のデバイスとの間でデータ転送を行うようにする、
ことを特徴とする請求項1記載の制御装置。
A signal line is provided between the root device and the first device and between the root device and the second device separately from the high-speed serial bus,
The path switching means outputs a signal for switching to the data transfer path from the root device to the first device and the second device via each signal line, and a signal from the root device. To control the switch of the first device and the switch of the second device, and via the data transfer path in which the first device and the second device are directly connected by the second high-speed serial bus And performing data transfer between the first device and the second device,
The control device according to claim 1.
前記各信号線は、前記ルートデバイスへの転送許可と前記ルートデバイスへの転送不可との2つの状態を伝達することで、前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御する、
ことを特徴とする請求項4記載の制御装置。
Each signal line controls the switch of the first device and the switch of the second device by transmitting two states of transfer permission to the root device and transfer failure to the root device. To
The control device according to claim 4.
前記第1のデバイスもしくは前記第2のデバイスが、前記ルートデバイスとのデータ転送中に前記ルートデバイスへの転送許可から前記ルートデバイスへの転送不可へと状態が変化した場合は、前記ルートデバイスとのデータ転送を中止し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由し、前記第1のデバイスと前記第2のデバイスとの間でのデータ転送を行う、
ことを特徴とする請求項5記載の制御装置。
When the state of the first device or the second device changes from permission to transfer to the root device during transfer of data with the root device to transfer to the root device being disabled, The first device and the second device via a data transfer path in which the first device and the second device are directly connected by the second high-speed serial bus. Transfer data between
The control device according to claim 5.
前記高速シリアルバスは、PCI Express 規格の高速シリアルバスである、
ことを特徴とする請求項1ないし6のいずれか一記載の制御装置。
The high-speed serial bus is a PCI Express standard high-speed serial bus.
The control device according to claim 1, wherein the control device is a control device.
前記第2の高速シリアルバスは、PCI Express 規格の高速シリアルバスである、
ことを特徴とする請求項1ないし7のいずれか一記載の制御装置。
The second high-speed serial bus is a PCI Express standard high-speed serial bus.
The control device according to claim 1, wherein the control device is a control device.
木構造によるデータ通信網としてポイントツーポイントで送受信独立の通信チャネルが確立される高速シリアルバスにより各種デバイスを接続し、前記各種デバイスに対してCPU(Central Processing unit)やメモリを接続する木構造のルート機能を有するデバイスであるルートデバイスに相当するルート機能を有するメモリ制御デバイスを備える画像処理システムにおいて、
前記メモリ制御デバイスに対して前記高速シリアルバスにより接続されており、各種画像処理を制御するデバイスである画像処理コントローラと、
前記メモリ制御デバイスに対して前記高速シリアルバスにより接続されているとともに、前記画像処理コントローラに対しても第2の高速シリアルバスにより直接接続されており、I/Oデバイスまたはそのインタフェースを制御するデバイスであるI/O制御デバイスと、
前記メモリ制御デバイスは、前記CPUから前記メモリに対するメモリアクセスが発生した場合、前記画像処理コントローラから前記I/O制御デバイスへのデータ転送経路を前記メモリ制御デバイス経由のデータ転送経路から前記画像処理コントローラと前記I/O制御デバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路へ切り替える経路切替手段と、
を備えることを特徴とする画像処理システム。
A tree-structured data communication network that connects various devices via a high-speed serial bus that establishes a point-to-point independent communication channel as a data communication network, and connects a CPU (Central Processing Unit) and memory to the various devices. In an image processing system including a memory control device having a root function corresponding to a root device, which is a device having a root function,
An image processing controller that is connected to the memory control device via the high-speed serial bus and that controls various image processing;
The I / O device or a device for controlling the interface is connected to the memory control device via the high-speed serial bus and also directly connected to the image processing controller via a second high-speed serial bus. An I / O control device which is
When the memory access from the CPU to the memory occurs, the memory control device changes the data transfer path from the image processing controller to the I / O control device from the data transfer path via the memory control device. Switching means for switching to a data transfer path directly connected to the I / O control device by the second high-speed serial bus;
An image processing system comprising:
前記経路切替手段は、前記メモリ制御デバイスから前記画像処理コントローラと前記I/O制御デバイスとに対してそれぞれデータ転送経路へ切り替える信号を出力し、前記メモリ制御デバイスからの信号により前記画像処理コントローラのスイッチと前記I/O制御デバイスのスイッチとを制御し、前記画像処理コントローラと前記I/O制御デバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記画像処理コントローラと前記I/O制御デバイスとの間でデータ転送を行うようにする、
ことを特徴とする請求項9記載の画像処理システム。
The path switching means outputs a signal for switching to the data transfer path from the memory control device to the image processing controller and the I / O control device, respectively, and the signal from the memory control device The image processing is performed via a data transfer path that controls the switch and the switch of the I / O control device and directly connects the image processing controller and the I / O control device by the second high-speed serial bus. Data transfer between the controller and the I / O control device;
The image processing system according to claim 9.
前記経路切替手段は、パケットの通信先アドレスに従って前記画像処理コントローラのスイッチと前記I/O制御デバイスのスイッチとを制御し、前記画像処理コントローラと前記I/O制御デバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記画像処理コントローラと前記I/O制御デバイスとの間でデータ転送を行うようにする、
ことを特徴とする請求項9記載の画像処理システム。
The path switching means controls the switch of the image processing controller and the switch of the I / O control device according to the communication destination address of the packet, and controls the image processing controller and the I / O control device to the second high speed. Data transfer is performed between the image processing controller and the I / O control device via a data transfer path directly connected by a serial bus.
The image processing system according to claim 9.
前記メモリ制御デバイスと前記画像処理コントローラとの間、および、前記メモリ制御デバイスと前記I/O制御デバイスとの間には、前記高速シリアルバスとは別に信号線がそれぞれ設けられており、
前記経路切替手段は、前記メモリ制御デバイスから前記各信号線を経由して前記画像処理コントローラと前記I/O制御デバイスとに対してそれぞれデータ転送経路へ切り替える信号を出力し、前記メモリ制御デバイスからの信号により前記画像処理コントローラのスイッチと前記I/O制御デバイスのスイッチとを制御し、前記画像処理コントローラと前記I/O制御デバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記画像処理コントローラと前記I/O制御デバイスとの間でデータ転送を行うようにする、
ことを特徴とする請求項9記載の画像処理システム。
Signal lines are provided separately from the high-speed serial bus between the memory control device and the image processing controller and between the memory control device and the I / O control device,
The path switching means outputs a signal for switching to a data transfer path from the memory control device to the image processing controller and the I / O control device via each signal line, and from the memory control device. A data transfer path in which the switch of the image processing controller and the switch of the I / O control device are controlled by the signal of the signal, and the image processing controller and the I / O control device are directly connected by the second high-speed serial bus. To transfer data between the image processing controller and the I / O control device via
The image processing system according to claim 9.
前記各信号線は、前記メモリ制御デバイスへの転送許可と前記メモリ制御デバイスへの転送不可との2つの状態を伝達することで、前記画像処理コントローラのスイッチと前記I/O制御デバイスのスイッチとを制御する、
ことを特徴とする請求項12記載の画像処理システム。
Each of the signal lines transmits two states of transfer permission to the memory control device and transfer failure to the memory control device, so that the switch of the image processing controller and the switch of the I / O control device To control the
The image processing system according to claim 12.
前記画像処理コントローラもしくは前記I/O制御デバイスが、前記メモリ制御デバイスとのデータ転送中に前記メモリ制御デバイスへの転送許可から前記メモリ制御デバイスへの転送不可へと状態が変化した場合は、前記メモリ制御デバイスとのデータ転送を中止し、前記画像処理コントローラと前記I/O制御デバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由し、前記画像処理コントローラと前記I/O制御デバイスとの間でのデータ転送を行う、
ことを特徴とする請求項13記載の画像処理システム。
When the state of the image processing controller or the I / O control device changes from transfer permission to the memory control device to transfer impossible to the memory control device during data transfer with the memory control device, Data transfer to and from the memory control device is stopped, and the image processing controller and the I / O control device are connected to the I / O control device via the data transfer path directly connected by the second high-speed serial bus. O Transfer data to and from the control device.
The image processing system according to claim 13.
前記高速シリアルバスは、PCI Express 規格の高速シリアルバスである、
ことを特徴とする請求項9ないし14のいずれか一記載の画像処理システム。
The high-speed serial bus is a PCI Express standard high-speed serial bus.
The image processing system according to claim 9, wherein the image processing system is an image processing system.
前記第2の高速シリアルバスは、PCI Express 規格の高速シリアルバスである、
ことを特徴とする請求項9ないし15のいずれか一記載の画像処理システム。
The second high-speed serial bus is a PCI Express standard high-speed serial bus.
The image processing system according to claim 9, wherein the image processing system is an image processing system.
木構造によるデータ通信網としてポイントツーポイントで送受信独立の通信チャネルが確立される高速シリアルバスにより各種デバイスを接続し、前記各種デバイスに対してCPU(Central Processing unit)やメモリを接続する木構造のルート機能を有するデバイスであるルートデバイスを備える制御装置におけるデータ転送方法であって、
前記ルートデバイスに対して前記高速シリアルバスにより第1のデバイスを接続し、
前記ルートデバイスに対して前記高速シリアルバスにより第2のデバイスを接続するとともに、前記第1のデバイスに対しても第2の高速シリアルバスにより前記第2のデバイスを直接接続し、
前記ルートデバイスは、前記CPUから前記メモリに対するメモリアクセスが発生した場合、前記第1のデバイスから前記第2のデバイスへのデータ転送経路を前記ルートデバイス経由のデータ転送経路から前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路へ切り替える、
ことを特徴とするデータ転送方法。
A tree-structured data communication network that connects various devices via a high-speed serial bus that establishes a point-to-point independent communication channel as a data communication network, and connects a CPU (Central Processing Unit) and memory to the various devices. A data transfer method in a control apparatus including a root device, which is a device having a root function,
A first device connected to the root device by the high-speed serial bus;
The second device is connected to the root device by the high-speed serial bus, and the second device is also directly connected to the first device by the second high-speed serial bus.
When the memory access from the CPU to the memory occurs, the root device changes the data transfer path from the first device to the second device from the data transfer path via the root device to the first device. Switching to the data transfer path directly connected to the second device by the second high-speed serial bus;
A data transfer method characterized by the above.
前記ルートデバイスから前記第1のデバイスと前記第2のデバイスとに対してそれぞれデータ転送経路へ切り替える信号を出力し、前記ルートデバイスからの信号により前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記第1のデバイスと前記第2のデバイスとの間でデータ転送を行うようにする、
ことを特徴とする請求項17記載のデータ転送方法。
A signal for switching to the data transfer path is output from the root device to the first device and the second device, respectively, and the switch of the first device and the second device according to the signal from the root device The first device and the second device via a data transfer path in which the first device and the second device are directly connected by the second high-speed serial bus. To transfer data to and from
18. The data transfer method according to claim 17, wherein:
パケットの通信先アドレスに従って前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記第1のデバイスと前記第2のデバイスとの間でデータ転送を行うようにする、
ことを特徴とする請求項17記載のデータ転送方法。
The switch of the first device and the switch of the second device are controlled in accordance with the communication destination address of the packet, and the first device and the second device are directly connected by the second high-speed serial bus. A data transfer is performed between the first device and the second device via a data transfer path;
18. The data transfer method according to claim 17, wherein:
前記ルートデバイスと前記第1のデバイスとの間、および、前記ルートデバイスと前記第2のデバイスとの間に、前記高速シリアルバスとは別に信号線をそれぞれ設け、
前記ルートデバイスから前記各信号線を経由して前記第1のデバイスと前記第2のデバイスとに対してそれぞれデータ転送経路へ切り替える信号を出力し、前記ルートデバイスからの信号により前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由して、前記第1のデバイスと前記第2のデバイスとの間でデータ転送を行うようにする、
ことを特徴とする請求項17記載のデータ転送方法。
A signal line is provided separately from the high-speed serial bus between the root device and the first device and between the root device and the second device,
A signal for switching to a data transfer path is output from the root device to the first device and the second device via the signal lines, and the first device is output by a signal from the root device. And the switch of the second device, and the first device and the second device are connected via the second high-speed serial bus to the first device via the data transfer path. Data transfer between the second device and the second device,
18. The data transfer method according to claim 17, wherein:
前記各信号線は、前記ルートデバイスへの転送許可と前記ルートデバイスへの転送不可との2つの状態を伝達することで、前記第1のデバイスのスイッチと前記第2のデバイスのスイッチとを制御する、
ことを特徴とする請求項20記載のデータ転送方法。
Each signal line controls the switch of the first device and the switch of the second device by transmitting two states of transfer permission to the root device and transfer failure to the root device. To
21. The data transfer method according to claim 20, wherein:
前記第1のデバイスもしくは前記第2のデバイスが、前記ルートデバイスとのデータ転送中に前記ルートデバイスへの転送許可から前記ルートデバイスへの転送不可へと状態が変化した場合は、前記ルートデバイスとのデータ転送を中止し、前記第1のデバイスと前記第2のデバイスとを前記第2の高速シリアルバスにより直接接続したデータ転送経路を経由し、前記第1のデバイスと前記第2のデバイスとの間でのデータ転送を行う、
ことを特徴とする請求項21記載のデータ転送方法。
When the state of the first device or the second device changes from permission to transfer to the root device during transfer of data with the root device to transfer to the root device being disabled, The first device and the second device via a data transfer path in which the first device and the second device are directly connected by the second high-speed serial bus. Transfer data between
The data transfer method according to claim 21, wherein:
JP2006039905A 2005-08-30 2006-02-16 Control device, image processing system, and data transfer path switching method Expired - Fee Related JP4824422B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006039905A JP4824422B2 (en) 2005-08-30 2006-02-16 Control device, image processing system, and data transfer path switching method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2005249173 2005-08-30
JP2005249173 2005-08-30
JP2006039905A JP4824422B2 (en) 2005-08-30 2006-02-16 Control device, image processing system, and data transfer path switching method

Publications (3)

Publication Number Publication Date
JP2007095025A true JP2007095025A (en) 2007-04-12
JP2007095025A5 JP2007095025A5 (en) 2009-04-02
JP4824422B2 JP4824422B2 (en) 2011-11-30

Family

ID=37980632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006039905A Expired - Fee Related JP4824422B2 (en) 2005-08-30 2006-02-16 Control device, image processing system, and data transfer path switching method

Country Status (1)

Country Link
JP (1) JP4824422B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007062076A (en) * 2005-08-30 2007-03-15 Ricoh Co Ltd Information processing system, program, and data transferring method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7266337B2 (en) 2018-04-12 2023-04-28 株式会社ウェル Yarn end processing device for knitting

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01142962A (en) * 1987-11-30 1989-06-05 Nippon Telegr & Teleph Corp <Ntt> Data transfer control system
JPH11184800A (en) * 1997-12-22 1999-07-09 Konica Corp Data processor and system constitution method
JP2004152312A (en) * 2003-11-25 2004-05-27 Hitachi Ltd Information processing apparatus
JP2005092770A (en) * 2003-09-19 2005-04-07 Ricoh Co Ltd Configuration of device connected to pci bus
JP2005166028A (en) * 2003-11-11 2005-06-23 Ricoh Co Ltd Data transfer system, image formation system, and data transfer method
JP2005166029A (en) * 2003-11-11 2005-06-23 Ricoh Co Ltd Data transfer system, image formation system, and data transfer method
JP2005166027A (en) * 2003-11-12 2005-06-23 Ricoh Co Ltd Image system
JP2005210653A (en) * 2003-12-25 2005-08-04 Ricoh Co Ltd Image forming system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01142962A (en) * 1987-11-30 1989-06-05 Nippon Telegr & Teleph Corp <Ntt> Data transfer control system
JPH11184800A (en) * 1997-12-22 1999-07-09 Konica Corp Data processor and system constitution method
JP2005092770A (en) * 2003-09-19 2005-04-07 Ricoh Co Ltd Configuration of device connected to pci bus
JP2005166028A (en) * 2003-11-11 2005-06-23 Ricoh Co Ltd Data transfer system, image formation system, and data transfer method
JP2005166029A (en) * 2003-11-11 2005-06-23 Ricoh Co Ltd Data transfer system, image formation system, and data transfer method
JP2005166027A (en) * 2003-11-12 2005-06-23 Ricoh Co Ltd Image system
JP2004152312A (en) * 2003-11-25 2004-05-27 Hitachi Ltd Information processing apparatus
JP2005210653A (en) * 2003-12-25 2005-08-04 Ricoh Co Ltd Image forming system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007062076A (en) * 2005-08-30 2007-03-15 Ricoh Co Ltd Information processing system, program, and data transferring method

Also Published As

Publication number Publication date
JP4824422B2 (en) 2011-11-30

Similar Documents

Publication Publication Date Title
JP5108261B2 (en) Information processing apparatus and data communication apparatus
JP4928732B2 (en) Data transfer system and electronic device
JP4878185B2 (en) Data communication circuit and arbitration method
JP4704050B2 (en) Data transfer system and electronic device
JP2006195871A (en) Communication device, electronic equipment and image forming device
JP4564855B2 (en) Data transfer system and electronic device
JP2007087082A (en) Information processor and option device sharing method
JP2008172727A (en) Control apparatus and image processing system
JP4308680B2 (en) Image forming apparatus
JP4287325B2 (en) Imaging system
JP4928715B2 (en) Serial data transfer device, image output device, image input device, and image forming device
JP4777723B2 (en) Information processing system, program, and data transfer method
JP4564740B2 (en) Imaging equipment system
JP2006092286A (en) Data transfer device and image forming system
JP5218377B2 (en) Image forming system
JP4828899B2 (en) Information processing apparatus and storage device sharing method
JP4824422B2 (en) Control device, image processing system, and data transfer path switching method
JP2007226494A (en) Data transfer system
JP4603336B2 (en) Data transfer system, image forming system, and data transfer method
JP4476088B2 (en) Data transfer apparatus and image forming system
JP2005346629A (en) Image processing apparatus
JP4690828B2 (en) Information processing system, program, and packet communication method
JP2005332372A (en) Image processing apparatus and image forming apparatus
JP2006113798A (en) Data transfer system, reception buffer device, method for setting specification of data transfer system and image formation system
JP2007282187A (en) Information processor, information processing system, and data communication method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090216

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110502

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110517

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110719

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110906

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110908

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140916

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees