JP4234689B2 - Data processing method and data processing apparatus - Google Patents

Data processing method and data processing apparatus Download PDF

Info

Publication number
JP4234689B2
JP4234689B2 JP2005068786A JP2005068786A JP4234689B2 JP 4234689 B2 JP4234689 B2 JP 4234689B2 JP 2005068786 A JP2005068786 A JP 2005068786A JP 2005068786 A JP2005068786 A JP 2005068786A JP 4234689 B2 JP4234689 B2 JP 4234689B2
Authority
JP
Japan
Prior art keywords
data
transfer
packet
isoc
interface
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.)
Expired - Lifetime
Application number
JP2005068786A
Other languages
Japanese (ja)
Other versions
JP2005339512A (en
Inventor
斉 小川
秀夫 眞壁
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2005068786A priority Critical patent/JP4234689B2/en
Publication of JP2005339512A publication Critical patent/JP2005339512A/en
Application granted granted Critical
Publication of JP4234689B2 publication Critical patent/JP4234689B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Description

本発明は、データ処理方法及びデータ処理装置に係り、詳しくはシリアルインタフェースの規格であるIEEE1394に準拠したデータ処理方法及びデータ処理装置に関するものである。   The present invention relates to a data processing method and a data processing device, and more particularly to a data processing method and a data processing device compliant with IEEE1394 which is a serial interface standard.

近年、マルチメディア化に伴って、パーソナルコンピュータと周辺機器間におけるデータ転送量の増大化及び転送速度の高速化が要求されている。特に、大量の音声や画像データを扱うデジタルビデオカメラ、デジタルVTR、カラーページプリンタ等の周辺機器とパーソナルコンピュータとを結ぶインタフェースについては、シリアルインタフェースの一つであるIEEE1394が注目されている。   In recent years, with the development of multimedia, an increase in the amount of data transfer between a personal computer and peripheral devices and an increase in transfer speed are required. In particular, IEEE1394, which is one of serial interfaces, has attracted attention as an interface for connecting peripheral devices such as digital video cameras, digital VTRs, color page printers, and the like that handle large amounts of audio and image data to personal computers.

近年、大量のデータであって連続性が要求されている動画等の画像データの転送には、リアルタイム性が発揮されるIEEE1394プロトコルが注目されている。IEEE1394プロトコルは、ある一定の周期( 125μs )毎に必ずデータ転送をできる第1の転送モード、いわゆるアイソクロナス(Isochronous )転送モードを備えている。つまり、コンピュータに転送される画像(動画)データの転送時刻が不規則になると、画像(動画)を再生したとき不連続となりリアリティにかける。そこで、IEEE1394プロトコルにおけるアイソクロナス転送モード(Isoc転送モード)にて、常に一定の時刻毎に画像(動画)データを転送すれば、リアリティのある画像(動画)を再生することができる。   In recent years, the IEEE1394 protocol, which exhibits real-time properties, has attracted attention for transferring large amounts of data such as moving images that require continuity. The IEEE1394 protocol has a first transfer mode in which data can be transferred every certain period (125 μs), that is, a so-called isochronous transfer mode. In other words, if the transfer time of image (moving image) data transferred to a computer becomes irregular, it becomes discontinuous when the image (moving image) is reproduced, and the reality is applied. Therefore, if image (moving image) data is always transferred at a constant time in the isochronous transfer mode (Isoc transfer mode) in the IEEE1394 protocol, a realistic image (moving image) can be reproduced.

図11は、パーソナルコンピュータに内蔵された従来のIEEE1394プロトコルコントローラ(IPC)80を構成を示すブロック回路を示す。IPC80は、周辺機器を結ぶIEEE1394バスケーブルとマイクロプロセッサユニット(MPU)との間に設けられている。IPC80は、プロトコル制御回路部81、FIFOよりなるデータ格納メモリ82、IEEE1394インタフェース83、及び、MPUインタフェース84を備えている。   FIG. 11 shows a block circuit showing a configuration of a conventional IEEE1394 protocol controller (IPC) 80 built in a personal computer. The IPC 80 is provided between an IEEE1394 bus cable that connects peripheral devices and a microprocessor unit (MPU). The IPC 80 includes a protocol control circuit unit 81, a data storage memory 82 including a FIFO, an IEEE1394 interface 83, and an MPU interface 84.

IEEE1394インタフェース83は、デジタルビデオカメラ等の周辺機器とIEEE1394バスケーブルとを介して結ばれている。そして、IEEE1394インタフェース83は、デジタルビデオカメラから転送される画像データをアイソクロナス(Isochronous )データとして入力する。アイソクロナスデータは、図12に示すように、パケット(Isocパケット)の形で 125μs の周期(Isocサイクル)毎に必ず転送される。   The IEEE1394 interface 83 is connected to a peripheral device such as a digital video camera via an IEEE1394 bus cable. The IEEE1394 interface 83 inputs image data transferred from the digital video camera as isochronous data. As shown in FIG. 12, isochronous data is always transferred in the form of a packet (Isoc packet) every 125 μs period (Isoc cycle).

IEEE1394インタフェース83は、このアイソクロナスデータ(Isocデータ)のIsocパケットをプロトコル制御回路部81に出力する。プロトコル制御回路部81は、入力されたIsocパケットのヘッダから自身宛のパケットかどうかをチェックした後、該Isocパケットをシリアルからパラレルに変換して格納メモリ82に記憶する。格納メモリ82に記憶されたIsocパケットは、MPUインタフェース84を介してMPUに出力される。そして、MPUは、Isocパケットのヘッダ情報に基づいてIsocデータの処理を行う。   The IEEE1394 interface 83 outputs an Isoc packet of the isochronous data (Isoc data) to the protocol control circuit unit 81. The protocol control circuit unit 81 checks whether the packet is addressed to itself from the header of the input Isoc packet, and then converts the Isoc packet from serial to parallel and stores it in the storage memory 82. The Isoc packet stored in the storage memory 82 is output to the MPU via the MPU interface 84. Then, the MPU processes the Isoc data based on the header information of the Isoc packet.

又、IEEE1394プロトコルは、アイソクロナス(Isochronous )転送モードの他に第2の転送モード、いわゆるエイシンクロナス(Asyncronous )転送モードを備えている。エイシンクロナス転送モード(Asyn転送モード)は、前記Isocサイクルにおいてパケット(Isocパケット)が転送されていない余った時間を利用してデータを転送するモードである。つまり、図12に示すように1Isocサイクルにおいて最初のIsocパケットの余った時間にエイシンクロナス(Asyncronous )データのパケット(Asynパケット)が転送される。そして、プロトコル制御回路部81は、このAsynパケットのエイシンクロナスデータ(Asynデータ)を、IEEE1394インタフェース83を介して入力すると、該Asynパケットのヘッダから自身宛のパケットかどうかをチェックした後、該Asynパケットをシリアルからパラレルに変換して格納メモリ82に記憶する。格納メモリ82に記憶されたAsynパケットは、MPUインタフェース84を介してMPUに出力される。そして、MPUは、Asynパケットのヘッダ情報に基づいてAsynデータの処理を行う。   The IEEE1394 protocol has a second transfer mode, that is, a so-called Asyncronous transfer mode in addition to an isochronous transfer mode. The asynchronous transfer mode (Asyn transfer mode) is a mode in which data is transferred by using a surplus time during which no packet (Isoc packet) is transferred in the Isoc cycle. In other words, asynchronous data packets (Asyn packets) are transferred in the remaining time of the first Isoc packet in one Isoc cycle as shown in FIG. When the asynchronous data (Asyn data) of the Asyn packet is input via the IEEE1394 interface 83, the protocol control circuit unit 81 checks whether the packet is addressed to itself from the header of the Asyn packet. The Asyn packet is converted from serial to parallel and stored in the storage memory 82. The Asyn packet stored in the storage memory 82 is output to the MPU via the MPU interface 84. Then, the MPU processes Asyn data based on the header information of the Asyn packet.

従って、図12に示すように、IPC80は、最初のIsocサイクル中にIsocパケット86とAsynパケット87が、次のIsocサイクルにIsocパケット88が転送されてくると、Isocパケット86、Asynパケット87、コントローラ制御処理のデータ89、及び、Isocパケット88の順番でMPUに出力する。コントローラ制御処理のデータ89は、IPC80の内部又はMPUで生成されるデータでMPUとISP80との間での行われるデータ処理のためのコマンドデータ等からなるデータである。   Accordingly, as shown in FIG. 12, when the IPC 80 transfers the Isoc packet 86 and Asyn packet 87 during the first Isoc cycle and the Isoc packet 88 is transferred during the next Isoc cycle, the IPC 80 receives the Isoc packet 86, Asyn packet 87, The controller control processing data 89 and the Isoc packet 88 are output to the MPU in this order. The controller control processing data 89 is data generated in the IPC 80 or by the MPU, and is command data for data processing performed between the MPU and the ISP 80.

上記したように、Isoc転送モードによりIsocサイクル毎にIsocパケット86,88を入力することができるものの、次のサイクルのIsocパケット88は、Asynパケット87及びコントローラ制御処理のデータ89の出力が完了するまで出力することができない。つまり、IPC80は、Asynパケット転送中やコントローラ制御動作中のときには、次のIsocパケットの転送ができない。従って、IEEEプロトコルにおいても、連続性及びリアルタイムに欠けリアリティのある画像(動画)を再生することが損なわれるといった問題があった。   As described above, although the Isoc packets 86 and 88 can be input for each Isoc cycle in the Isoc transfer mode, the Isoc packet 88 of the next cycle completes the output of the Asyn packet 87 and the data 89 of the controller control process. Cannot output until. That is, the IPC 80 cannot transfer the next Isoc packet during the Asyn packet transfer or the controller control operation. Therefore, even in the IEEE protocol, there is a problem that reproduction of images (moving images) lacking in continuity and real time is impaired.

又、従来のIPC80は、転送データ86b,87b,88bの前に付けたヘッダ86a,87a,88aを付けたままの各パケット86,87,88をデータ格納メモリ82に記憶し、そのままMPUに出力していた。つまり、各パケット86,87,88に付けたヘッダ86a,87a,88aの解析は、上位のMPUにまかせている。ところで、画像データのように大量のデータは、1Isocサイクル中の1つのIsocパケット86では転送することはできない。そこで、データを複数のブロックに区分けし数サイクルにまたがって転送される。この時、各サイクル毎に分けて転送される各Isocパケット86,88にはヘッダ86a,88aが付けられる。各パケット86,88に区分されて転送される画像データ86b,88bは、実際に使用される場合には連続したデータとして使用され各パケットに付けたヘッダは不要なものである。   Further, the conventional IPC 80 stores the packets 86, 87, 88 with the headers 86a, 87a, 88a attached in front of the transfer data 86b, 87b, 88b in the data storage memory 82 and outputs them to the MPU as they are. Was. That is, the analysis of the headers 86a, 87a, 88a attached to the packets 86, 87, 88 is left to the upper MPU. By the way, a large amount of data such as image data cannot be transferred by one Isoc packet 86 in one Isoc cycle. Therefore, the data is divided into a plurality of blocks and transferred over several cycles. At this time, headers 86a and 88a are attached to the Isoc packets 86 and 88 transferred separately for each cycle. The image data 86b and 88b transferred after being divided into the packets 86 and 88 are used as continuous data when actually used, and a header attached to each packet is unnecessary.

従って、MPUは、入力されてくるIsocパケット86,88のヘッダ86a,88a部分を順次認識し取り除き連続したデータに作り上げなければならなかった。その結果、MPUの負荷はその分だけでも増大することから、データ処理速度も落ち連続性及びリアルタイムに欠けリアリティのある画像を再生することが損なわれるという問題があった。   Therefore, the MPU has to sequentially recognize and remove the headers 86a and 88a of the input Isoc packets 86 and 88 to create continuous data. As a result, the load on the MPU increases only by that amount, so that there is a problem in that the data processing speed is lowered and the reproduction of images with lack of continuity and real time is impaired.

又、送信の場合においても、MPUは、送信したいパケットに対して適合したヘッダをデータに付加する処理を行わなければならず、受信の場合と同様に負荷が大きくなっていた。   Also in the case of transmission, the MPU has to perform a process of adding a header suitable for the packet to be transmitted to the data, and the load is large as in the case of reception.

本発明は、上記問題点を解消するためになされたものであって、データのさらなる連続性及びリアルタイム性を保証でき、画像データ等の大量のデータの連続性、リアルタイム性が要求される装置に好適なデータ処理方法及びデータ処理装置を提供することにある。   The present invention has been made to solve the above-described problems, and can guarantee further continuity and real-time performance of data, and is a device that requires continuity and real-time performance of a large amount of data such as image data. An object is to provide a suitable data processing method and data processing apparatus.

請求項1の発明は、外部機器との間である一定の周期毎に第1の転送モードにて転送される第1の転送データを受信して第1の転送データ用格納メモリに格納し、前記第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データを受信して第2の転送データ用格納メモリに格納し、前記第1の転送データ用格納メモリに格納した第1の転送データを第1のインタフェースから読み出し、前記第2の転送データ用格納メモリに格納した第2の転送データを第2のインタフェースから読み出すようにした。   The invention of claim 1 receives the first transfer data transferred in the first transfer mode at a certain period between the external device and stores it in the first transfer data storage memory, The second transfer data transferred in the second transfer mode in which the data transfer is performed at a time when the data transfer in the first transfer mode is not performed is received and stored in the second transfer data storage memory. Then, the first transfer data stored in the first transfer data storage memory is read from the first interface, and the second transfer data stored in the second transfer data storage memory is read from the second interface. Read out.

請求項2の発明は、外部機器との間である一定の周期毎に第1の転送モードにて転送される第1の転送データを受信して第1の転送データ用格納メモリに格納し、前記第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データを受信して第2の転送データ用格納メモリに格納し、前記第1の転送データ用格納メモリに格納した第1の転送データを第1のインタフェースを介して内部装置に転送し、前記第2の転送データ用格納メモリに格納した第2の転送データを第2のインタフェースを介して内部装置に転送するようにした。   The invention of claim 2 receives the first transfer data transferred in the first transfer mode at regular intervals with the external device, stores the first transfer data in the first transfer data storage memory, The second transfer data transferred in the second transfer mode in which the data transfer is performed at a time when the data transfer in the first transfer mode is not performed is received and stored in the second transfer data storage memory. The first transfer data stored in the first transfer data storage memory is transferred to the internal device via the first interface, and the second transfer data stored in the second transfer data storage memory is stored. Is transferred to the internal device via the second interface.

請求項3の発明は、外部機器との間である一定の周期毎に第1の転送モードにて転送される第1の転送データを第1のインタフェースを介して第1の転送データ用格納メモリに格納した後に送信し、前記第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データを第2のインタフェースを介して第2の転送データ用格納メモリに格納した後に送信するようにした。
請求項4の発明は、請求項2に記載のデータ処理方法において、前記第1の転送データ用格納メモリから読み出した受信用の第1の転送データを前記第1のインターフェースを介して前記内部装置に転送するとともに、前記内部装置からの送信用の第1の転送データを前記第1のインターフェースを介して前記第1の転送データ用格納メモリに格納し、前記送信用の第1の転送データを前記第1の転送モードにて前記外部機器に転送し、
前記第2の転送データ用格納メモリから読み出した受信用の第2の転送データを前記第2のインターフェースを介して前記内部装置に転送するとともに、前記内部装置からの送信用の第2の転送データを前記第2のインターフェースを介して前記第2の転送データ用格納メモリに格納し、前記送信用の第2の転送データを前記第2の転送モードにて前記外部機器に転送するようにした。
According to a third aspect of the present invention, there is provided a first transfer data storage memory for transferring first transfer data transferred to and from an external device in a first transfer mode at a certain period through a first interface. The second transfer data transmitted in the second transfer mode in which the data transfer is performed at a time when the data transfer is not performed in the first transfer mode is stored via the second interface. Thus, the data is transmitted after being stored in the second transfer data storage memory.
According to a fourth aspect of the present invention, there is provided the data processing method according to the second aspect, wherein the first transfer data read from the first transfer data storage memory is transferred to the internal device via the first interface. The first transfer data for transmission from the internal device is stored in the first transfer data storage memory via the first interface, and the first transfer data for transmission is stored in the first transfer data storage memory. Transfer to the external device in the first transfer mode;
The second transfer data for reception read from the second transfer data storage memory is transferred to the internal device via the second interface, and the second transfer data for transmission from the internal device. Is stored in the second transfer data storage memory via the second interface, and the second transfer data for transmission is transferred to the external device in the second transfer mode.

請求項の発明は、請求項1〜のうち何れか1項に記載のデータ処理方法において、前記第1の転送データ用格納メモリと前記第2の転送データ用格納メモリとは複数のメモリを含むようにした。 A fifth aspect of the present invention is the data processing method according to any one of the first to fourth aspects, wherein the first transfer data storage memory and the second transfer data storage memory are a plurality of memories. Was included.

請求項の発明は、請求項1〜のうち何れか1項に記載のデータ処理方法において、前記第1の転送データ用格納メモリは、受信用メモリと送信用メモリとで構成するようにした。 According to a sixth aspect of the present invention, in the data processing method according to any one of the first to fifth aspects, the first transfer data storage memory includes a reception memory and a transmission memory. did.

請求項の発明は、請求項1〜のうち何れか1項に記載のデータ処理方法において、前記第2の転送データ用格納メモリは、受信用メモリと送信用メモリとで構成するようにした。 A seventh aspect of the present invention is the data processing method according to any one of the first to sixth aspects, wherein the second transfer data storage memory includes a reception memory and a transmission memory. did.

請求項の発明は、請求項1〜のうち何れか1項に記載のデータ処理方法において、前記第1のインタフェースは、受信用インタフェースと送信用インタフェースとで構成するようにした。 The invention according to claim 8 is the data processing method according to any one of claims 1 to 7 , wherein the first interface includes a reception interface and a transmission interface.

請求項の発明は、請求項1〜のうち何れか1項に記載のデータ処理方法において、前記第2のインタフェースは、受信用インタフェースと送信用インタフェースとで構成するようにした。 According to a ninth aspect of the present invention, in the data processing method according to any one of the first to eighth aspects, the second interface includes a reception interface and a transmission interface.

請求項10の発明は、請求項1〜のうち何れか1項に記載のデータ処理方法において、第3のメモリに格納された制御データを使用するようにした。
請求項1の発明は、請求項1〜10のうち何れか1項に記載のデータ処理方法において、前記第2のインタフェースは、プロセッサへのインタフェースを兼ねるようにした。
According to a tenth aspect of the present invention, in the data processing method according to any one of the first to ninth aspects, the control data stored in the third memory is used.
The invention according to claim 1 1, in the data processing method according to any one of claims 1-10, wherein the second interface, and also serves as an interface to the processor.

請求項1の発明は、請求項1〜1のうち何れか1項に記載のデータ処理方法において、前記第1の転送データは、第1のDMAに供給するようにした。
請求項1の発明は、請求項1〜1のうち何れか1項に記載のデータ処理方法において、前記第2の転送データは、第2のDMAに供給するようにした。
The invention of claim 1 2, in the data processing method according to any one of claims 1 to 1 1, wherein the first transfer data were to be supplied to the first DMA.
The invention of claim 1 3, in the data processing method according to any one of claims 1 to 1 2, wherein the second transfer data were then supplied to the second DMA.

請求項1の発明は、請求項1〜1のうち何れか1項に記載のデータ処理方法において、前記第1の転送モードは、アイソクロナス転送モードであり、前記第2の転送モードは、エイシンクロナス転送モードである。 The invention of claim 1 4, in the data processing method according to any one of claims 1 to 1 3, wherein the first transfer mode is isochronous transfer mode, the second transfer mode, This is the asynchronous transfer mode.

請求項1の発明は、外部機器との間である一定の周期毎に第1の転送モードにて転送される第1の転送データを受信して格納するための第1の転送データ用格納メモリと、前記第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データを受信して格納するための第2の転送データ用格納メモリと、前記第1の転送データ用格納メモリから読み出した前記第1の転送データを転送するための第1のインタフェースと、前記第2の転送データ用格納メモリから読み出した前記第2の転送データを転送するための第2のインタフェースとを備えた。 The invention of claim 1 5, storing the first transfer data for receiving and storing first transfer data to be transferred every predetermined period which is an external device in the first transfer mode A second memory for receiving and storing second transfer data transferred in a second transfer mode in which data transfer is performed at a time when data transfer is not performed in the first transfer mode; A transfer data storage memory; a first interface for transferring the first transfer data read from the first transfer data storage memory; and the second transfer data storage memory read from the second transfer data storage memory. And a second interface for transferring two pieces of transfer data.

請求項1の発明は、外部機器との間である一定の周期毎に第1の転送モードにて転送される第1の転送データを受信して格納するための第1の転送データ用格納メモリと、前記第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データを受信して格納するための第2の転送データ用格納メモリと、前記第1の転送データ用格納メモリから読み出した前記第1の転送データを内部装置に転送するための第1のインタフェースと、前記第2の転送データ用格納メモリから読み出した前記第2の転送データを内部装置に転送するための第2のインタフェースとを備えた。 The invention according to claim 16 is the first transfer data storage for receiving and storing the first transfer data transferred in the first transfer mode at regular intervals with the external device. A second memory for receiving and storing second transfer data transferred in a second transfer mode in which data transfer is performed at a time when data transfer is not performed in the first transfer mode; A transfer data storage memory, a first interface for transferring the first transfer data read from the first transfer data storage memory to an internal device, and a read from the second transfer data storage memory And a second interface for transferring the second transfer data to the internal device.

請求項1の発明は、外部機器との間である一定の周期毎に第1の転送モードにて転送される第1の転送データを受信する第1のインタフェースと、前記第1のインタフェースからの前記第1の転送データを格納する第1の転送データ用格納メモリと、前記第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データを受信する第2のインタフェースと、前記第2のインタフェースからの前記第2の転送データを格納する第2の転送データ用格納メモリとを備えた。 The invention of claim 1 7, a first interface for receiving a first transfer data to be transferred every predetermined period which is an external device in the first transfer mode, from the first interface The first transfer data storage memory for storing the first transfer data and the second transfer mode in which data transfer is performed at a time when data transfer is not performed in the first transfer mode. A second interface for receiving the second transfer data, and a second transfer data storage memory for storing the second transfer data from the second interface.

請求項1の発明は、請求項1517のうち何れか1項に記載のデータ処理装置において、前記第1の転送データ用格納メモリと前記第2の転送データ用格納メモリとは複数のメモリを含む。 The invention of claim 1 8, in the data processing apparatus according to any one of claims 15-17, a plurality of the first transfer data storing memory the second storage memory for transferring data Includes memory.

請求項19の発明は、請求項1518のうち何れか1項に記載のデータ処理装置において、前記第1の転送データ用格納メモリは、受信用メモリと送信用メモリとで構成される。 According to a nineteenth aspect of the present invention, in the data processing device according to any one of the fifteenth to eighteenth aspects, the first transfer data storage memory includes a reception memory and a transmission memory.

請求項20の発明は、請求項1519のうち何れか1項に記載のデータ処理装置において、前記第2の転送データ用格納メモリは、受信用メモリと送信用メモリとで構成される。 According to a twentieth aspect of the present invention, in the data processing device according to any one of the fifteenth to nineteenth aspects, the second transfer data storage memory includes a reception memory and a transmission memory.

請求項21の発明は、請求項1520のうち何れか1項に記載のデータ処理装置において、前記第1のインタフェースは、受信用インタフェースと送信用インタフェースとで構成される。 According to a twenty-first aspect of the present invention, in the data processing device according to any one of the fifteenth to twentieth aspects, the first interface includes a reception interface and a transmission interface.

請求項22の発明は、請求項1521のうち何れか1項に記載のデータ処理装置において、前記第2のインタフェースは、受信用インタフェースと送信用インタフェースとで構成される。 According to a twenty-second aspect of the present invention, in the data processing device according to any one of the fifteenth to twenty- first aspects, the second interface includes a reception interface and a transmission interface.

請求項23の発明は、請求項1522のうち何れか1項に記載のデータ処理装置において、制御データを格納する第3のメモリを備える。
請求項24の発明は、請求項1523のうち何れか1項に記載のデータ処理装置において、前記第2のインタフェースは、プロセッサへのインタフェースを兼ねる。
The invention according to claim 23 is the data processing device according to any one of claims 15 to 22 , further comprising a third memory for storing control data.
According to a twenty-fourth aspect of the present invention, in the data processing device according to any one of the fifteenth to twenty- third aspects, the second interface also serves as an interface to the processor.

請求項25の発明は、請求項1524のうち何れか1項に記載のデータ処理装置において、前記第1の転送データが供給される第1のDMAを備える。
請求項26の発明は、請求項1525のうち何れか1項に記載のデータ処理装置において、前記第2の転送データが供給される第2のDMAを備える。
A twenty-fifth aspect of the invention is the data processing device according to any one of the fifteenth to twenty- fourth aspects, further comprising a first DMA to which the first transfer data is supplied.
The invention of claim 26 is the data processing device according to any one of claims 15 to 25 , further comprising a second DMA to which the second transfer data is supplied.

請求項27の発明は、請求項1526のうち何れか1項に記載のデータ処理装置において、前記第1の転送モードは、アイソクロナス転送モードであり、前記第2の転送モードは、エイシンクロナス転送モードである。 The invention according to claim 27 is the data processing device according to any one of claims 15 to 26 , wherein the first transfer mode is an isochronous transfer mode, and the second transfer mode is an asynchronous mode. It is an eggplant transfer mode.

請求項28の発明は、内部装置と外部機器との間に設けられたデータ処理装置であって、ある一定の周期毎に第1の転送モードにて転送される第1の転送データが格納される第1の転送データ用格納メモリから読み出した受信用の第1の転送データを前記内部装置に転送するとともに、前記内部装置からの送信用の第1の転送データを前記第1の転送データ用格納メモリに格納する第1のインタフェースと、前記第1の転送モードによるデータ転送が行なわれていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データが格納される第2の転送データ用格納メモリから読み出した受信用の第2の転送データを前記内部装置に転送するとともに、前記内部装置からの送信用の第2の転送データを前記第2の転送データ用格納メモリに格納するための第2のインタフェースとを備えた。 The invention according to claim 28 is a data processing device provided between the internal device and the external device, and stores the first transfer data transferred in the first transfer mode every certain period. The first transfer data for reception read from the first transfer data storage memory is transferred to the internal device, and the first transfer data for transmission from the internal device is used for the first transfer data. A first interface to be stored in a storage memory and second transfer data to be transferred in a second transfer mode in which data transfer is performed when data transfer in the first transfer mode is not performed are stored. The second transfer data for reception read from the second transfer data storage memory is transferred to the internal device, and the second transfer data for transmission from the internal device is transferred to the second transfer data. And a second interface for storage in use storage memory.

請求項29の発明は、請求項28に記載のデータ処理装置において、前記第1の転送データ用格納メモリは、前記受信用の第1の転送データを格納するための第1の受信用転送データ格納メモリと、前記送信用の第1の転送データを格納するための第1の送信用転送データ格納メモリとを含む。 The invention according to claim 29 is the data processing device according to claim 28 , wherein the first transfer data storage memory stores first reception transfer data for storing the first transfer data for reception. A storage memory; and a first transmission transfer data storage memory for storing the first transmission data for transmission.

請求項30の発明は、請求項28又は請求項29に記載のデータ処理装置において、前記第2の転送データ用格納メモリは、前記受信用の第2の転送データを格納するための第2の受信用転送データ格納メモリと、前記送信用の第2の転送データを格納するための第2の送信用転送データ格納メモリとを含む。 The invention of claim 30 is the data processing device according to claim 28 or claim 29 , wherein the second transfer data storage memory stores a second transfer data for receiving. A transfer data storage memory for reception, and a second transfer data storage memory for transmission for storing the second transfer data for transmission.

請求項31の発明は、請求項2830のうち何れか1項に記載のデータ処理装置において、前記第1のインタフェースは、第1の受信用インタフェースと、第1の送信用インタフェースとを含む。 The invention according to claim 31 is the data processing device according to any one of claims 28 to 30 , wherein the first interface includes a first reception interface and a first transmission interface. .

請求項32の発明は、請求項2831のうち何れか1項に記載のデータ処理装置において、前記第2のインタフェースは、第2の受信用インタフェースと、第2の送信用インタフェースとを含む。 The invention of claim 32 is the data processing device according to any one of claims 28 to 31 , wherein the second interface includes a second reception interface and a second transmission interface. .

請求項33の発明は、請求項2832のうち何れか1項に記載のデータ処理装置において、制御データを格納する第3のメモリを備える。
請求項34の発明は、請求項2833のうち何れか1項に記載のデータ処理装置において、前記第2のインタフェースは、プロセッサへのインタフェースを兼ねる。
The invention of claim 33 is the data processing device according to any one of claims 28 to 32 , further comprising a third memory for storing control data.
The invention of claim 34 is the data processing apparatus according to any one of claims 28 to 33 , wherein the second interface also serves as an interface to the processor.

請求項35の発明は、請求項2834のうち何れか1項に記載のデータ処理装置において、前記第1の転送データが供給される第1のDMAを備える。
請求項36の発明は、請求項2835のうち何れか1項に記載のデータ処理装置において、前記第2の転送データが供給される第2のDMAを備える。
The invention of claim 35 is the data processing apparatus according to any one of claims 28 to 34 , further comprising a first DMA to which the first transfer data is supplied.
The invention of claim 36, the data process unit according to any one of claims 28-35, comprising a second DMA of the second transfer data is supplied.

請求項37の発明は、請求項2836のうち何れか1項に記載のデータ処理装置において、前記第1の転送モードは、アイソクロナス転送モードであり、前記第2の転送モードは、エイシンクロナス転送モードである。 The invention of claim 37 is the data processing apparatus according to any one of claims 28 to 36 , wherein the first transfer mode is an isochronous transfer mode, and the second transfer mode is an asynchronous mode. It is an eggplant transfer mode.

(作用)
請求項1の発明では、第1の転送データと第2の転送データが、それぞれ第1の転送データ用格納メモリと第2の転送データ用格納メモリに格納され、それぞれ第1のインタフェースと第2のインタフェースから読み出される。
(Function)
According to the first aspect of the present invention, the first transfer data and the second transfer data are stored in the first transfer data storage memory and the second transfer data storage memory, respectively. Read from the interface.

請求項2の発明では、第1の転送データが受信されて第1の転送データ用格納メモリに格納され、第2の転送データが受信されて第2の転送データ用格納メモリに格納され、第1の転送データ用格納メモリに格納された第1の転送データが第1のインタフェースを介して内部装置に転送され、第2の転送データ用格納メモリに格納された第2の転送データが第2のインタフェースを介して内部装置に転送される。   In the invention of claim 2, the first transfer data is received and stored in the first transfer data storage memory, the second transfer data is received and stored in the second transfer data storage memory, The first transfer data stored in one transfer data storage memory is transferred to the internal device via the first interface, and the second transfer data stored in the second transfer data storage memory is the second transfer data. Is transferred to the internal device via the interface.

請求項3の発明では、第1の転送データが第1のインタフェースを介して第1の転送データ用格納メモリに格納された後に送信され、第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送データが第2のインタフェースを介して第2の転送データ用格納メモリに格納された後に送信される。
請求項4の発明では、請求項2に記載のデータ処理方法の作用に加えて、第1の転送データ用格納メモリから読み出された受信用の第1の転送データが第1のインターフェースを介して内部装置に転送され、内部装置からの送信用の第1の転送データが第1のインターフェースを介して第1の転送データ用格納メモリに格納され、その送信用の第1の転送データが第1の転送モードにて外部機器に転送され、第2の転送データ用格納メモリから読み出された受信用の第2の転送データが第2のインターフェースを介して内部装置に転送され、内部装置からの送信用の第2の転送データが第2のインターフェースを介して第2の転送データ用格納メモリに格納され、その送信用の第2の転送データが第2の転送モードにて外部機器に転送される。
According to a third aspect of the present invention, the first transfer data is transmitted after being stored in the first transfer data storage memory via the first interface, and the data transfer in the first transfer mode is not performed. The second transfer data for which data transfer is performed is transmitted after being stored in the second transfer data storage memory via the second interface.
In the invention of claim 4, in addition to the operation of the data processing method of claim 2, the first transfer data for reception read from the first transfer data storage memory is sent via the first interface. The first transfer data for transmission from the internal device is stored in the first transfer data storage memory via the first interface, and the first transfer data for transmission is stored in the first transfer data. The second transfer data for reception, which is transferred to the external device in the first transfer mode and read from the second transfer data storage memory, is transferred to the internal device via the second interface, from the internal device. The second transfer data for transmission is stored in the second transfer data storage memory via the second interface, and the second transfer data for transmission is transferred to the external device in the second transfer mode. Be done

請求項の発明では、請求項1〜に記載のデータ処理方法の作用に加えて、第1の転送データ用格納メモリと第2の転送データ用格納メモリには複数のメモリが含まれる。
請求項の発明では、請求項1〜に記載のデータ処理方法の作用に加えて、第1の転送データ用格納メモリは、受信用メモリと送信用メモリとで構成されている。
In the invention of claim 5 , in addition to the operation of the data processing method according to claims 1 to 4 , the first transfer data storage memory and the second transfer data storage memory include a plurality of memories.
According to the sixth aspect of the invention, in addition to the operation of the data processing method according to the first to fifth aspects, the first transfer data storage memory includes a reception memory and a transmission memory.

請求項の発明では、請求項1〜に記載のデータ処理方法の作用に加えて、第2の転送データ用格納メモリは、受信用メモリと送信用メモリとで構成されている。
請求項の発明では、請求項1〜に記載のデータ処理方法の作用に加えて、第1のインタフェースは、受信用インタフェースと送信用インタフェースとで構成されている。
According to the seventh aspect of the invention, in addition to the operation of the data processing method according to the first to sixth aspects, the second transfer data storage memory includes a reception memory and a transmission memory.
According to an eighth aspect of the invention, in addition to the operation of the data processing method according to the first to seventh aspects, the first interface includes a reception interface and a transmission interface.

請求項の発明では、請求項1〜に記載のデータ処理方法の作用に加えて、第2のインタフェースは、受信用インタフェースと送信用インタフェースとで構成されている。
請求項10の発明では、請求項1〜に記載のデータ処理方法の作用に加えて、第3のメモリに格納された制御データが使用される。
According to the ninth aspect of the present invention, in addition to the operation of the data processing method according to the first to eighth aspects, the second interface includes a reception interface and a transmission interface.
In the invention of claim 10 , in addition to the operation of the data processing methods of claims 1 to 9 , control data stored in the third memory is used.

請求項1の発明では、請求項1〜10に記載のデータ処理方法の作用に加えて、第2のインタフェースは、プロセッサへのインタフェースを兼ねる。
請求項1の発明では、請求項1〜1に記載のデータ処理方法の作用に加えて、第1の転送データは、第1のDMAに供給される。
In the invention of claim 1 1, in addition to the operation of the data processing method according to claim 1-10, the second interface, also serves as an interface to the processor.
In the invention of claim 1 2, in addition to the operation of the data processing method according to claim 1 to 1 1, the first transfer data is supplied to the first DMA.

請求項1の発明では、請求項1〜1に記載のデータ処理方法の作用に加えて、第2の転送データは、第2のDMAに供給される。
請求項1の発明では、請求項1〜1に記載のデータ処理方法の作用に加えて、第1の転送モードはアイソクロナス転送モードであり、第2の転送モードはエイシンクロナス転送モードである。
In the invention of claim 1 3, in addition to the operation of the data processing method according to claim 1 to 1 2, the second transfer data is supplied to the second DMA.
In the invention of claim 1 4, in addition to the operation of the data processing method according to claim 1 to 1 3, the first transfer mode is isochronous transfer mode, a second transfer mode in Aye Synchronous Transfer Mode is there.

請求項15の発明では、受信された第1の転送データが第1の転送データ用格納メモリに格納され、受信された第2の転送データデータが第2の転送データ用格納メモリに格納され、第1の転送データ用格納メモリに格納された受信用の第1の転送データは、第1のインタフェースを介して転送され、第2の転送データ用格納メモリに格納された第2の転送データは、第2のインタフェースを介して転送される。 In the invention of claim 15 , the received first transfer data is stored in the first transfer data storage memory, the received second transfer data data is stored in the second transfer data storage memory, The first transfer data for reception stored in the first transfer data storage memory is transferred via the first interface, and the second transfer data stored in the second transfer data storage memory is , Transferred via the second interface.

請求項16の発明では、第1の転送データ用格納メモリにより第1の転送データが受信されて格納され、第2の転送データ用格納メモリにより第2の転送データが受信されて格納され、第1のインタフェースにより第1の転送データ用格納メモリから読み出された第1の転送データが内部装置に転送され、第2のインタフェースにより第2の転送データ用格納メモリから読み出された第2の転送データが内部装置に転送される。 In the invention of claim 16 , the first transfer data is received and stored by the first transfer data storage memory, the second transfer data is received and stored by the second transfer data storage memory, The first transfer data read from the first transfer data storage memory by the first interface is transferred to the internal device, and the second transfer data read from the second transfer data storage memory by the second interface is transferred. Transfer data is transferred to the internal device.

請求項17の発明では、第1のインタフェースにより第1の転送データが受信され、当該第1の転送データは第1の転送データ用格納メモリに格納され、第2のインタフェースにより第2の転送データが受信され、当該第2の転送データは第2の転送データ用格納メモリに格納される。 In the invention of claim 17 , the first transfer data is received by the first interface, the first transfer data is stored in the first transfer data storage memory, and the second transfer data is stored by the second interface. Is received, and the second transfer data is stored in the second transfer data storage memory.

請求項18の発明では、請求項1517に記載のデータ処理装置の作用に加えて、第1の転送データ用格納メモリと第2の転送データ用格納メモリには複数のメモリが含まれる。 In the eighteenth aspect of the invention, in addition to the operation of the data processing device according to the fifteenth to seventeenth aspects, the first transfer data storage memory and the second transfer data storage memory include a plurality of memories.

請求項19の発明では、請求項1518に記載のデータ処理装置の作用に加えて、第1の転送データ用格納メモリは、受信用メモリと送信用メモリとで構成されている。
請求項20の発明では、請求項1519に記載のデータ処理装置の作用に加えて、第2の転送データ用格納メモリは、受信用メモリと送信用メモリとで構成されている。
According to the nineteenth aspect of the present invention, in addition to the operation of the data processing device according to the fifteenth to eighteenth aspects, the first transfer data storage memory includes a reception memory and a transmission memory.
According to the twentieth aspect of the invention, in addition to the operation of the data processing device according to the fifteenth to nineteenth aspects, the second transfer data storage memory includes a reception memory and a transmission memory.

請求項21の発明では、請求項1520に記載のデータ処理装置の作用に加えて、第1のインタフェースは、受信用インタフェースと送信用インタフェースとで構成されている。 In accordance with the twenty-first aspect of the present invention, in addition to the operation of the data processing device according to any of the fifteenth to twentieth aspects, the first interface includes a reception interface and a transmission interface.

請求項22の発明では、請求項1521に記載のデータ処理装置の作用に加えて、第2のインタフェースは、受信用インタフェースと送信用インタフェースとで構成されている。 In the invention of claim 22 , in addition to the operation of the data processing device of claims 15 to 21 , the second interface includes a reception interface and a transmission interface.

請求項23の発明では、請求項1522に記載のデータ処理装置の作用に加えて、制御データを格納する第3のメモリが備えられている。
請求項24の発明では、請求項1523に記載のデータ処理装置の作用に加えて、第2のインタフェースは、プロセッサへのインタフェースを兼ねる。
In the invention of claim 23 , in addition to the operation of the data processing device of claims 15 to 22 , a third memory for storing control data is provided.
In the twenty-fourth aspect of the invention, in addition to the operation of the data processing device according to the fifteenth to twenty- third aspects, the second interface also serves as an interface to the processor.

請求項25の発明では、請求項1524に記載のデータ処理装置の作用に加えて、第1の転送データが供給される第1のDMAが備えられている。
請求項26の発明では、請求項1525に記載のデータ処理装置の作用に加えて、第2の転送データが供給される第2のDMAが備えられている。
According to a twenty-fifth aspect of the invention, in addition to the operation of the data processing device according to the fifteenth to twenty- fourth aspects, a first DMA to which the first transfer data is supplied is provided.
According to a twenty-sixth aspect of the invention, in addition to the operation of the data processing device according to the fifteenth to twenty- fifth aspects, a second DMA to which second transfer data is supplied is provided.

請求項27の発明では、請求項1526に記載のデータ処理装置の作用に加えて、第1の転送モードはアイソクロナス転送モードであり、第2の転送モードはエイシンクロナス転送モードである。 According to the twenty-seventh aspect of the invention, in addition to the operation of the data processing device according to the fifteenth to twenty- sixth aspects, the first transfer mode is an isochronous transfer mode, and the second transfer mode is an asynchronous transfer mode.

請求項28の発明では、第1のインタフェースにより第1の転送データ用格納メモリから読み出された受信用の第1の転送データが内部装置に転送されるとともに、内部装置からの送信用の第1の転送データが第1の転送データ用格納メモリに格納され、第2のインタフェースにより第2の転送データ用格納メモリから読み出された受信用の第2の転送データが内部装置に転送されるとともに、内部装置からの送信用の第2の転送データが第2の転送データ用格納メモリに格納される。 In the invention of claim 28 , the first transfer data for reception read from the first transfer data storage memory by the first interface is transferred to the internal device, and the first data for transmission from the internal device is also transmitted. One transfer data is stored in the first transfer data storage memory, and the second transfer data for reception read from the second transfer data storage memory is transferred to the internal device by the second interface. At the same time, the second transfer data for transmission from the internal device is stored in the second transfer data storage memory.

請求項29の発明では、請求項28に記載のデータ処理装置の作用に加えて、第1の転送データ用格納メモリには、受信用の第1の転送データを格納するための第1の受信用転送データ格納メモリと送信用の第1の転送データを格納するための第1の送信用転送データ格納メモリとが含まれている。 In the present invention of claim 29, in addition to the functions of the data processing apparatus according to claim 28, in the first storage memory for transferring data, the first receiver for storing first transfer data for reception A transfer data storage memory for transmission and a first transfer data storage memory for transmission for storing first transfer data for transmission.

請求項30の発明では、請求項2829に記載のデータ処理装置の作用に加えて、第2の転送データ用格納メモリには、受信用の第2の転送データを格納するための第2の受信用転送データ格納メモリと送信用の第2の転送データを格納するための第2の送信用転送データ格納メモリとが含まれている。 In the invention of claim 30 , in addition to the operation of the data processing device according to claims 28 to 29 , the second transfer data storage memory stores the second transfer data for receiving the second transfer data for reception. A transfer data storage memory for reception and a second transfer data storage memory for transmission for storing second transfer data for transmission.

請求項31の発明では、請求項2830に記載のデータ処理装置の作用に加えて、第1のインタフェースには、第1の受信用インタフェースと第1の送信用インタフェースとが含まれている。 In the invention of claim 31 , in addition to the operation of the data processing device of claims 28 to 30 , the first interface includes a first reception interface and a first transmission interface. .

請求項32の発明では、請求項2831に記載のデータ処理装置の作用に加えて、第2のインタフェースには、第2の受信用インタフェースと第2の送信用インタフェースとが含まれている。 In the invention of claim 32 , in addition to the operation of the data processing device of claims 28 to 31 , the second interface includes a second reception interface and a second transmission interface. .

請求項33の発明では、請求項2832に記載のデータ処理装置の作用に加えて、制御データを格納する第3のメモリが備えられている。
請求項34の発明では、請求項2833に記載のデータ処理装置の作用に加えて、第2のインタフェースは、プロセッサへのインタフェースを兼ねている。
According to a thirty-third aspect of the invention, in addition to the operation of the data processing device according to the twenty-eighth to thirty- second aspects, a third memory for storing control data is provided.
In the invention of claim 34 , in addition to the operation of the data processing device of claims 28 to 33 , the second interface also serves as an interface to the processor.

請求項35の発明では、請求項2834に記載のデータ処理装置の作用に加えて、第1の転送データが供給される第1のDMAが備えられている。
請求項36の発明では、請求項2835に記載のデータ処理装置の作用に加えて、第2の転送データが供給される第2のDMAが備えられている。
According to a thirty-fifth aspect of the present invention, in addition to the operation of the data processing device according to the twenty-eighth to thirty- fourth aspects, a first DMA to which the first transfer data is supplied is provided.
In the present invention of claim 36, in addition to the functions of the data processing apparatus according to claim 28-35, the second transfer data is provided with a second DMA supplied.

請求項37の発明では、請求項2836に記載のデータ処理装置の作用に加えて、第1の転送モードはアイソクロナス転送モードであり、第2の転送モードはエイシンクロナス転送モードである。 In the thirty-seventh aspect of the invention, in addition to the operation of the data processing device according to the twenty-eighth to thirty- sixth aspects, the first transfer mode is an isochronous transfer mode, and the second transfer mode is an asynchronous transfer mode.

請求項1〜37の発明によれば、第1の転送データと第2の転送データとをそれぞれ別々の格納メモリに格納しそれぞれ別々のインタフェースで転送するようにしたので、連続転送及びリアルタイム転送が確保されリアリティのある動画等の再生を保証することができる。 According to the first to thirty-seventh aspects of the present invention, the first transfer data and the second transfer data are stored in separate storage memories and transferred through separate interfaces. It is possible to guarantee the reproduction of a secured and realistic video or the like.

(第1実施の形態)
図1は、シリアルインタフェースの一つであるIEEE1394に準拠したシステム構成を示す。図1において、パーソナルコンピュータ(以下、パソコンという)1、外部機器としてのデジタルVTR2、同じく外部機器としてのカラーページプリンタ3、及び、同じく外部機器としてのデジタルビデオカメラ4は、IEEE1394バス5を介して互いに接続されている。ホストコンピュータ1、デジタルVTR2、カラーページプリンタ3、及び、デジタルビデオカメラ4は、IEEE1394バスケーブル(以下、IEEE1394バスという)5を介して互いにIEEE1394に準拠したデータ転送を可能にするためのIEEE1394プロトコルコントローラがそれぞれ備えられている。
(First embodiment)
FIG. 1 shows a system configuration conforming to IEEE1394, which is one of serial interfaces. In FIG. 1, a personal computer (hereinafter referred to as a personal computer) 1, a digital VTR 2 as an external device, a color page printer 3 as an external device, and a digital video camera 4 as an external device are connected via an IEEE1394 bus 5. Are connected to each other. The host computer 1, digital VTR 2, color page printer 3, and digital video camera 4 are connected to each other via an IEEE 1394 bus cable (hereinafter referred to as an IEEE 1394 bus) 5, and an IEEE 1394 protocol controller for enabling data transfer conforming to IEEE 1394. Are provided.

図2は、パソコン1に設けたIEEE1394に準拠したシステムの構成を説明するためのブロック回路を示す。パソコン1は、IEEE1394用プロトコルコントローラ(以下、IPCという)11、内部装置としてのマイクロプロセッサユニット(以下、MPUという)12、及び、内部装置としての2個の第1及び第2DMA(Direct Memory Access)コントローラ13,14を備えている。IPC11、MPU12、第1DMAコントローラ(以下、第1DMACという)13、及び、第2DMAコントローラ(以下、第2DMACという)14は、それぞれ1チップの半導体集積回路装置(LSI)にて形成されている。   FIG. 2 shows a block circuit for explaining the configuration of a system compliant with IEEE1394 provided in the personal computer 1. The personal computer 1 includes an IEEE1394 protocol controller (hereinafter referred to as IPC) 11, a microprocessor unit (hereinafter referred to as MPU) 12 as an internal device, and two first and second DMAs (Direct Memory Access) as internal devices. Controllers 13 and 14 are provided. The IPC 11, MPU 12, first DMA controller (hereinafter referred to as first DMAC) 13, and second DMA controller (hereinafter referred to as second DMAC) 14 are each formed by a one-chip semiconductor integrated circuit device (LSI).

IPC11は、MPU12、第1DMAC13及び第2DMAC14との間でデータの授受を行うようになっている。又、IPC11は、IEEE1394バス5を介して前記デジタルVTR2、カラーページプリンタ3、及び、デジタルビデオカメラ4に備えられたIEEE1394用プロトコルコントローラ(IPC)と結ばれている。   The IPC 11 exchanges data with the MPU 12, the first DMAC 13, and the second DMAC 14. The IPC 11 is connected to an IEEE1394 protocol controller (IPC) provided in the digital VTR 2, the color page printer 3, and the digital video camera 4 via the IEEE1394 bus 5.

図3は、IPC11の回路構成を説明するためのブロック回路を示す。IPC11は、物理層処理回路20、リンク層処理回路21、第1及び第2送信パケット処理回路22a、22b、第1及び第2受信パケット処理回路23a,23b、FIFOよりなる第1〜第4格納メモリ(第1〜第4FIFO)24a〜24d、制御内部レジスタ25、第1及び第2の1394用インタフェース(以下、第1及び第2の1394用I/Fという)26a,26b、アイソクロナスデータ送信用インタフェース(以下、Isoc送信用I/Fという)27a、アイソクロナスデータ受信用インタフェース(以下、Isoc受信用I/Fという)28a、エイシンクロナスデータ送信用インタフェース(以下、Asyn送信用I/Fという)27b、エイシンクロナスデータ受信用インタフェース(以下、Asyn受信用I/Fという)28b、及び、MPUインタフェース(以下、MPUI/Fという)29を備えている。   FIG. 3 shows a block circuit for explaining the circuit configuration of the IPC 11. The IPC 11 includes first to fourth storages including a physical layer processing circuit 20, a link layer processing circuit 21, first and second transmission packet processing circuits 22a and 22b, first and second reception packet processing circuits 23a and 23b, and a FIFO. Memory (first to fourth FIFO) 24a to 24d, control internal register 25, first and second 1394 interfaces (hereinafter referred to as first and second 1394 I / Fs) 26a and 26b, isochronous data transmission Interface (hereinafter referred to as Isoc transmission I / F) 27a, isochronous data reception interface (hereinafter referred to as Isoc reception I / F) 28a, asynchronous data transmission interface (hereinafter referred to as Asyn transmission I / F) 27b, asynchronous data reception interface (hereinafter referred to as "Asyn reception I / F") 28b, An MPU interface (hereinafter referred to as MPUI / F) 29 is provided.

第1の1394用I/F26aは、前記IEEE1394バス5を介して前記デジタルVTR2に接続されて、物理層処理回路20とデジタルVTR2のIPCとの間でアイソクロナス転送(Isoc転送)モードにおけるパケット(以下、Isocパケットという)31と、エイシンクロナス転送(Asyn転送)モードにおけるパケット(以下、Asynパケットという)32のやり取りを行う。第2の1394用I/F26bは、前記IEEE1394バス5を介して前記カラーページプリンタ3に接続されて、物理層処理回路20とカラーページプリンタ3のIPCとの間でIsoc転送モードにおけるIsocパケット31と、Asyn転送モードにおけるAsynパケット32のやり取りを行う。
Isocパケット31は、ヘッダ31aとアイソクロナスデータ(以下、Isocデータという)31bとで構成されている。Asynパケット32は、ヘッダ32aとエイシンクロナスデータ(以下、Asynデータという)32bとで構成されている。
The first 1394 I / F 26a is connected to the digital VTR2 via the IEEE1394 bus 5, and is a packet in the isochronous transfer (Isoc transfer) mode between the physical layer processing circuit 20 and the IPC of the digital VTR2 (hereinafter referred to as “Isoc transfer”). , An Isoc packet) 31 and a packet (hereinafter referred to as an Asyn packet) 32 in the asynchronous transfer (Asyn transfer) mode. The second 1394 I / F 26 b is connected to the color page printer 3 via the IEEE1394 bus 5, and isoc packet 31 in the Isoc transfer mode between the physical layer processing circuit 20 and the IPC of the color page printer 3. The Asyn packet 32 is exchanged in the Asyn transfer mode.
The Isoc packet 31 includes a header 31a and isochronous data (hereinafter referred to as Isoc data) 31b. The Asyn packet 32 includes a header 32a and asynchronous data (hereinafter referred to as Asyn data) 32b.

Isoc送信用I/F27aは、前記第1DMAC13に接続され、第1DMAC13からIsoc転送モードで送信するための転送データ(Isocパケット31)を第1FIFO24aに渡す。Isoc受信用I/F28aは、前記第1DMAC13に接続され、第2FIFO24bに格納されたIsoc転送モードで受信した転送データ(Isocパケット31)を第1DMAC13に渡す。   The Isoc transmission I / F 27a is connected to the first DMAC 13, and transfers transfer data (Isoc packet 31) for transmission in the Isoc transfer mode from the first DMAC 13 to the first FIFO 24a. The Isoc reception I / F 28a is connected to the first DMAC 13, and transfers the transfer data (Isoc packet 31) received in the Isoc transfer mode stored in the second FIFO 24b to the first DMAC 13.

Asyn送信用I/F27bは、前記第2DMAC14に接続され、第2DMAC14からAsyn転送モードで送信するための転送データ(Asynパケット32)を第3FIFO24cに渡す。Asyn受信用I/F28bは、前記第2DMAC14に接続され、第4FIFO24dに格納されたAsyn転送モードで受信した転送データ(Asynパケット32)を第2DMAC14に渡す。MPUI/F29は、前記MPU12と接続され、該MPU12と制御内部レジスタ25の間において各種のコマンドデータ等のやり取りを行う。   The Asyn transmission I / F 27b is connected to the second DMAC 14, and transfers transfer data (Asyn packet 32) for transmission in the Asyn transfer mode from the second DMAC 14 to the third FIFO 24c. The Asyn reception I / F 28b is connected to the second DMAC 14, and transfers the transfer data (Asyn packet 32) received in the Asyn transfer mode stored in the fourth FIFO 24d to the second DMAC 14. The MPUI / F 29 is connected to the MPU 12 and exchanges various command data and the like between the MPU 12 and the control internal register 25.

物理層処理回路20は、第1及び第2の1394用I/F26a,26bが受信したIsocパケット31及びAsynパケット32を入力しリンク層処理回路21に出力する。又、物理層処理回路20は、リンク層処理回路21から送信用のIsocパケット31及び送信用のAsynパケット32を入力する。そして、物理層処理回路20は、該Isocパケット31及びAsynパケット32を第1又は第2の1394用I/F26a,26bを介してその送信先のデジタルVTR2、カラーページプリンタ3、又は、デジタルビデオカメラ4に送信する。   The physical layer processing circuit 20 inputs the Isoc packet 31 and Asyn packet 32 received by the first and second 1394 I / Fs 26 a and 26 b and outputs them to the link layer processing circuit 21. In addition, the physical layer processing circuit 20 receives the transmission Isoc packet 31 and the transmission Asyn packet 32 from the link layer processing circuit 21. Then, the physical layer processing circuit 20 sends the Isoc packet 31 and the Asyn packet 32 via the first or second 1394 I / F 26a, 26b to the transmission destination digital VTR 2, color page printer 3, or digital video. Send to camera 4.

リンク層処理回路21は、物理層処理回路20から受信したIsocパケット31及びAsynパケット32を入力する。リンク層処理回路21は、パケット31,32の先頭に付したヘッダ31a,32aの内容に基づいて自身(パソコン1)宛のパケットかどうか判断し、自身宛のパケットであれば該パケット31,32を第1又は第2受信パケット処理回路23a,23bに供給する。又、自身宛のパケットでない場合、リンク層処理回路21は、該パケット31,32を物理層処理回路20をび第1又は第2の1394用I/F26a,26bを介してその送信先のデジタルVTR2、カラーページプリンタ3、又は、デジタルビデオカメラ4に送信する。   The link layer processing circuit 21 inputs the Isoc packet 31 and the Asyn packet 32 received from the physical layer processing circuit 20. The link layer processing circuit 21 determines whether the packet is addressed to itself (personal computer 1) based on the contents of the headers 31a, 32a attached to the heads of the packets 31, 32. Is supplied to the first or second received packet processing circuits 23a and 23b. If the packet is not addressed to itself, the link layer processing circuit 21 passes the packets 31 and 32 through the physical layer processing circuit 20 and the first or second 1394 I / F 26a, 26b to the digital destination. The data is transmitted to the VTR 2, the color page printer 3, or the digital video camera 4.

リンク層処理回路21は、受信した自身宛のパケットがIsocパケット31かAsynパケット32かを該パケット31,32に付加されたヘッダの内容から判断する。そして、リンク層処理回路21は、受信したパケットがIsocパケット31の場合には該Isocパケット31を第1受信パケット処理回路23aに供給する。受信したパケットがAsynパケット32の場合には、リンク層処理回路21は該Asynパケット32を第2受信パケット処理回路23bに供給する。   The link layer processing circuit 21 determines whether the received packet addressed to itself is an Isoc packet 31 or an Asyn packet 32 from the contents of the header added to the packets 31 and 32. When the received packet is an Isoc packet 31, the link layer processing circuit 21 supplies the Isoc packet 31 to the first reception packet processing circuit 23a. If the received packet is an Asyn packet 32, the link layer processing circuit 21 supplies the Asyn packet 32 to the second received packet processing circuit 23b.

又、リンク層処理回路21は、第1送信パケット処理回路22aから送信用のIsocパケット31が供給されるとともに、第2送信パケット処理回路22bから送信用のAsynパケット32が供給される。   Further, the link layer processing circuit 21 is supplied with the transmission Isoc packet 31 from the first transmission packet processing circuit 22a and is supplied with the transmission Asyn packet 32 from the second transmission packet processing circuit 22b.

第1受信パケット処理回路23aは、リンク層処理回路21から受信したIsocパケット31が供給される。第1受信パケット処理回路23aは、受信したIsocパケット31について誤り訂正のチェック処理を行う。つまり、本実施の形態では、Isocパケット31のヘッダ31aと、Isocデータ31bについてそれぞれ別々に誤り訂正のための処理を行う。第1受信パケット処理回路23aは、誤り訂正処理したIsocパケット31を第2FIFO24bに供給する。   The first received packet processing circuit 23 a is supplied with the Isoc packet 31 received from the link layer processing circuit 21. The first received packet processing circuit 23 a performs error correction check processing on the received Isoc packet 31. That is, in the present embodiment, error correction processing is separately performed on the header 31a and the Isoc data 31b of the Isoc packet 31. The first received packet processing circuit 23a supplies the second FIFO 24b with the Isoc packet 31 subjected to error correction processing.

第2FIFO24bは、誤り訂正処理された確実なIsocパケット31を入力し、入力された順に次段のIsoc受信用I/F28aに出力する。Isoc受信用I/F28aは、ヘッダ31aとIsocデータ31bなるIsocパケット31を前記したように第1DMAC13に渡す。   The second FIFO 24b receives the reliable Isoc packet 31 subjected to the error correction process, and outputs it to the next-stage Isoc reception I / F 28a in the input order. The Isoc reception I / F 28a passes the Isoc packet 31 including the header 31a and the Isoc data 31b to the first DMAC 13 as described above.

第2受信パケット処理回路23bは、リンク層処理回路21から受信したAsynパケット32が供給される。第2受信パケット処理回路23bは、受信したAsynパケット32について誤り訂正のチェック処理を行う。そして、前記と同様に、Asynパケット32のヘッダ32aと、Asynデータ32bについてそれぞれ別々に誤り訂正のための処理を行う。第2受信パケット処理回路23bは、誤り訂正処理したAsynパケット32を第4FIFO24dに供給する。   The Asyn packet 32 received from the link layer processing circuit 21 is supplied to the second received packet processing circuit 23b. The second received packet processing circuit 23 b performs error correction check processing on the received Asyn packet 32. In the same manner as described above, the header 32a and the Asyn data 32b of the Asyn packet 32 are separately processed for error correction. The second received packet processing circuit 23b supplies the Asyn packet 32 subjected to error correction processing to the fourth FIFO 24d.

第4FIFO24dは、誤り訂正処理された確実なAsynパケット32を入力し、入力された順に次段のAsyn受信用I/F28bに出力する。Asyn受信用I/F28bは、ヘッダ32aとAsynデータ32bなるAsynパケット32を前記したように第2DMAC14に渡す。   The fourth FIFO 24d receives the reliable Asyn packet 32 that has been subjected to the error correction process, and outputs it to the Asyn reception I / F 28b in the next stage in the order of input. The Asyn reception I / F 28b passes the Asyn packet 32 including the header 32a and the Asyn data 32b to the second DMAC 14 as described above.

第1FIFO24aは、前記Isoc送信用I/F27aを介して前記第1DMAC13からIsoc転送モードで送信するための送信用のIsocパケット31を入力し、入力した順に前記第1送信パケット処理回路22aに供給する。第1送信パケット処理回路22aは、順次入力されてくるIsocパケット31について誤り訂正符号を生成する。つまり、本実施の形態では、Isocパケット31のヘッダ31aと、Isocデータ31bについてそれぞれ別々に誤り訂正符号を生成付加する処理を行う。第1送信パケット処理回路22aは、ヘッダ31a及びIsocデータ31bに対してそれぞれ生成した誤り訂正符号を付加したIsocパケット31を前記リンク層処理回路21に供給する。   The first FIFO 24a inputs the Isoc packet 31 for transmission from the first DMAC 13 via the Isoc transmission I / F 27a for transmission in the Isoc transfer mode, and supplies the packet to the first transmission packet processing circuit 22a in the order of input. . The first transmission packet processing circuit 22a generates an error correction code for the Isoc packets 31 that are sequentially input. That is, in the present embodiment, processing for generating and adding error correction codes separately for the header 31a and the Isoc data 31b of the Isoc packet 31 is performed. The first transmission packet processing circuit 22a supplies the link layer processing circuit 21 with the Isoc packet 31 to which the generated error correction code is added to the header 31a and the Isoc data 31b.

第3FIFO24cは、前記Asyn送信用I/F27bを介して前記第2DMAC14からAsyn転送モードで送信するための送信用のAsynパケット32を入力し、入力した順に前記第2送信パケット処理回路22bに供給する。第2送信パケット処理回路22bは、順次入力されてくるAsynパケット32について誤り訂正符号を生成する。そして、前記と同様に、Asynパケット32のヘッダ32aと、Asynデータ32bについてそれぞれ別々に誤り訂正符号を生成付加する処理を行う。第2送信パケット処理回路22bは、ヘッダ32a及びAsynデータ32bに対してそれぞれ生成した誤り訂正符号を付加したAsynパケット32を前記リンク層処理回路21に供給する。   The third FIFO 24c inputs the transmission Asyn packet 32 for transmission in the Asyn transfer mode from the second DMAC 14 via the Asyn transmission I / F 27b, and supplies it to the second transmission packet processing circuit 22b in the input order. . The second transmission packet processing circuit 22b generates an error correction code for the Asyn packet 32 that is sequentially input. Then, in the same manner as described above, a process for generating and adding an error correction code separately for the header 32a and the Asyn data 32b of the Asyn packet 32 is performed. The second transmission packet processing circuit 22b supplies the link layer processing circuit 21 with the Asyn packet 32 in which the generated error correction code is added to the header 32a and the Asyn data 32b.

前記制御内部レジスタ25は、MPUI/F29とリンク層処理回路21との間に設けられている。制御内部レジスタ25は、前記MPU12とIPC11との間で行われる各種コマンド等の制御データ33が一時記憶される。そして、MPUI/F29を介して入力されるMPU12からの制御データ33は、リンク層処理回路21にて読み出され転送制御処理のための制御動作をIPC11に実行させる。又、リンク層処理回路21からの制御データは、MPU12にて読み出され転送制御処理のための制御動作をMPU12に実行させる。   The control internal register 25 is provided between the MPUI / F 29 and the link layer processing circuit 21. The control internal register 25 temporarily stores control data 33 such as various commands executed between the MPU 12 and the IPC 11. Then, the control data 33 from the MPU 12 input via the MPUI / F 29 is read by the link layer processing circuit 21 and causes the IPC 11 to execute a control operation for the transfer control process. The control data from the link layer processing circuit 21 is read by the MPU 12 and causes the MPU 12 to execute a control operation for transfer control processing.

次に、上記のように構成したIPC11の作用について説明する。
説明の便宜上、図4に示す時系列にて送信用及び受信用のパケット31,32が発生する場合について説明する。今、最初のIsocサイクルにおいて、最初に発生する受信用のIsocパケット31は、第1の1394用I/F26a及び物理層処理回路20を介してリンク層処理回路21に供給される。受信用のIsocパケット31は、リンク層処理回路21にて該パケットのヘッダ31aからIsoc転送モードのIsocパケット31と判断されて、第1受信パケット処理回路23aに供給される。第1受信パケット処理回路23aに供給されたIsocパケット31は、誤り訂正のチェック処理が行われた後に第2FIFO24bに供給される。そして、第2FIFO24bに格納されたIsocパケット31はIsoc受信用I/F28aを介して第1DMAC13に供給される。
Next, the operation of the IPC 11 configured as described above will be described.
For convenience of explanation, a case will be described in which transmission and reception packets 31 and 32 are generated in the time series shown in FIG. Now, in the first Isoc cycle, the first Isoc packet for reception 31 that is generated is supplied to the link layer processing circuit 21 via the first 1394 I / F 26 a and the physical layer processing circuit 20. The Isoc packet 31 for reception is determined as the Isoc packet 31 in the Isoc transfer mode from the header 31a of the packet by the link layer processing circuit 21, and is supplied to the first reception packet processing circuit 23a. The Isoc packet 31 supplied to the first received packet processing circuit 23a is supplied to the second FIFO 24b after error correction check processing is performed. The Isoc packet 31 stored in the second FIFO 24b is supplied to the first DMAC 13 via the Isoc reception I / F 28a.

最初のIsocサイクルにおいて、前記受信用のIsocパケット31の後に発生する送信用のIsocパケット31は、第1DMAC13からIsoc送信用I/F27a及び第1FIFO24aを介して第1送信パケット処理回路22aに供給される。第1送信パケット処理回路22aに供給された送信用のIsocパケット31は、該パケット31のヘッダ31a及びIsocデータ31bに対してそれぞれ生成した誤り訂正符号が付加されてリンク層処理回路21に供給される。リンク層処理回路21に供給された送信用のIsocパケット31は、Isoc転送モードで送信することを規定するヘッダが付加されて物理層処理回路20に供給される。物理層処理回路20に供給された送信用のIsocパケット31は、送信先、例えばカラーページプリンタ3に第2の1394用I/F26bを介して送信される。   In a first Isoc cycle, a transmission Isoc packet 31 generated after the reception Isoc packet 31 is supplied from the first DMAC 13 to the first transmission packet processing circuit 22a via the Isoc transmission I / F 27a and the first FIFO 24a. The The Isoc packet 31 for transmission supplied to the first transmission packet processing circuit 22 a is supplied to the link layer processing circuit 21 with the generated error correction code added to the header 31 a and Isoc data 31 b of the packet 31. The The Isoc packet 31 for transmission supplied to the link layer processing circuit 21 is supplied with a header that specifies transmission in the Isoc transfer mode and is supplied to the physical layer processing circuit 20. The transmission Isoc packet 31 supplied to the physical layer processing circuit 20 is transmitted to the transmission destination, for example, the color page printer 3 via the second 1394 I / F 26b.

最初のIsocサイクルにおいて、前記送信用のIsocパケット31の後に発生する受信用のAsynパケット32は、第1の1394用I/F26a及び物理層処理回路20を介してリンク層処理回路21に供給される。受信用のAsynパケット32は、リンク層処理回路21にて該パケットのヘッダ32aからAsyn転送モードのAsynパケット32と判断されて、第2受信パケット処理回路23bに供給される。第2受信パケット処理回路23bに供給されたAsynパケット32は、誤り訂正のチェック処理が行われた後に第4FIFO24dに供給される。そして、第4FIFO24dに格納されたAsynパケット32はAsyn受信用I/F2bを介して第2DMAC14に供給される。   In the first Isoc cycle, the reception Asyn packet 32 generated after the transmission Isoc packet 31 is supplied to the link layer processing circuit 21 via the first 1394 I / F 26a and the physical layer processing circuit 20. The The Asyn packet 32 for reception is determined as the Asyn packet 32 in the Asyn transfer mode from the header 32a of the packet by the link layer processing circuit 21, and is supplied to the second received packet processing circuit 23b. The Asyn packet 32 supplied to the second received packet processing circuit 23b is supplied to the fourth FIFO 24d after error correction check processing is performed. The Asyn packet 32 stored in the fourth FIFO 24d is supplied to the second DMAC 14 via the Asyn reception I / F 2b.

最初のIsocサイクルが終了し次のIsocサイクルになると、最初に受信用のIsocパケット31が、第1の1394用I/F26a及び物理層処理回路20を介してリンク層処理回路21に供給される。この受信用のIsocパケット31は、先のIsocサイクルのIsocパケット31と同様に、リンク層処理回路21にてIsoc転送モードのIsocパケット31と判断されて、第1受信パケット処理回路23aに供給される。該Isocパケット31は、第1受信パケット処理回路23aにて誤り訂正のチェック処理が行われた後に第2FIFO24bに供給される。そして、第2FIFO24bに格納されたIsocパケット31は、Isoc受信用I/F28aを介して第1DMAC13に供給される。   When the first Isoc cycle is completed and the next Isoc cycle is reached, an Isoc packet 31 for reception is first supplied to the link layer processing circuit 21 via the first 1394 I / F 26a and the physical layer processing circuit 20. . This Isoc packet 31 for reception is determined as the Isoc packet 31 in the Isoc transfer mode by the link layer processing circuit 21 and supplied to the first received packet processing circuit 23a, similarly to the Isoc packet 31 of the previous Isoc cycle. The The Isoc packet 31 is supplied to the second FIFO 24b after error correction check processing is performed by the first received packet processing circuit 23a. The Isoc packet 31 stored in the second FIFO 24b is supplied to the first DMAC 13 via the Isoc reception I / F 28a.

このIsocサイクルにおいて、前記受信用のIsocパケット31の後に発生する送信用のIsocパケット31は、先のIsocサイクルの場合と同様に、第1DMAC13からIsoc送信用I/F27a及び第1FIFO24aを介して第1送信パケット処理回路22aに供給される。送信用のIsocパケット31は、第1送信パケット処理回路22aにて誤り訂正符号が付加されてリンク層処理回路21に供給される。又、送信用のIsocパケット31は、第1送信パケット処理回路22aにてIsoc転送モードで送信することを規定するヘッダが付加されてリンク層処理回路21を介して物理層処理回路20に供給される。物理層処理回路20に供給された送信用のIsocパケット31は、送信先、例えばカラーページプリンタ3に第2の1394用I/F26bを介して送信される。   In this Isoc cycle, the transmission Isoc packet 31 generated after the reception Isoc packet 31 is transmitted from the first DMAC 13 via the Isoc transmission I / F 27a and the first FIFO 24a in the same manner as in the previous Isoc cycle. 1 is supplied to the transmission packet processing circuit 22a. The transmission Isoc packet 31 is supplied with an error correction code by the first transmission packet processing circuit 22 a and supplied to the link layer processing circuit 21. In addition, a header that specifies transmission of the Isoc packet 31 for transmission in the Isoc transfer mode is added by the first transmission packet processing circuit 22a, and is supplied to the physical layer processing circuit 20 via the link layer processing circuit 21. The The transmission Isoc packet 31 supplied to the physical layer processing circuit 20 is transmitted to the transmission destination, for example, the color page printer 3 via the second 1394 I / F 26b.

このIsocサイクルにおいて、前記送信用のIsocパケット31の後に発生する送信用のAsynパケット32は、第2DMAC14からAsyn送信用I/F27b及び第3FIFO24cを介して第2送信パケット処理回路22bに供給される。送信用のAsynパケット32は、第2送信パケット処理回路22bにて誤り訂正符号が付加されてリンク層処理回路21に供給される。送信用のAsynパケット32は、第2送信パケット処理回路22bにてAsyn転送モードで送信することを規定するヘッダが付加されてリンク層処理回路21を介して物理層処理回路20に供給される。物理層処理回路20に供給された送信用のAsynパケット32は、送信先、例えばカラーページプリンタ3に第2の1394用I/F26bを介して送信される。   In this Isoc cycle, the transmission Asyn packet 32 generated after the transmission Isoc packet 31 is supplied from the second DMAC 14 to the second transmission packet processing circuit 22b via the Asyn transmission I / F 27b and the third FIFO 24c. . The Asyn packet 32 for transmission is added with an error correction code by the second transmission packet processing circuit 22b and supplied to the link layer processing circuit 21. The Asyn packet 32 for transmission is supplied to the physical layer processing circuit 20 via the link layer processing circuit 21 with a header for specifying transmission in the Asyn transfer mode by the second transmission packet processing circuit 22b. The transmission Asyn packet 32 supplied to the physical layer processing circuit 20 is transmitted to the transmission destination, for example, the color page printer 3 via the second 1394 I / F 26b.

次に、上記のように構成したIPC11の特徴を以下に述べる。
(1)本実施の形態において、Isoc転送モードの転送データ(Isocパケット31)を格納する格納メモリ(第1及び第2FIFO24a,24b)とAsyn転送モードの転送データ(Asynパケット32)を格納する格納メモリ(第3及び第4FIFO24c、24d)をそれぞれ別々設けた。又、Isoc転送モードの転送データ(Isocパケット31)を入出力するインタフェース(Isoc送信及び受信用インタフェース27a、28a)とAsyn転送モードの転送データ(Asynパケット32)を入出力するインタフェース(Asyn送信及び受信用インタフェース27b,28b)をそれぞれ別々設けた。
Next, features of the IPC 11 configured as described above will be described below.
(1) In this embodiment, storage memory (first and second FIFOs 24a and 24b) for storing transfer data (Isoc packet 31) in Isoc transfer mode and storage for storing transfer data (Asyn packet 32) in Asyn transfer mode The memories (third and fourth FIFOs 24c and 24d) were provided separately. Also, interfaces (Isoc transmission and reception interfaces 27a and 28a) for inputting / outputting transfer data (Isoc packet 31) in the Isoc transfer mode and interfaces (Asyn transmission and transmission) for transferring transfer data (Asyn packet 32) in the Asyn transfer mode. Receiving interfaces 27b and 28b) are provided separately.

そして、Isoc転送モードで転送されるIsocパケット31とAsyn転送モードで転送されるAsynパケット32をそれぞれ別々の格納メモリに格納し、それぞれ別々のインタフェースに入出力するようにした。従って、例えば、各Isocサイクル毎に転送されてくる各受信用のIsocパケット31は、各Isocサイクル中の余った時間にAsyn転送モードで転送された受信用のAsynパケット32が存在しても、Asynパケット32の転送動作によって中断されることなく連続してIsoc受信用I/F28aから第1DMAC13に転送することができる。その結果、連続性が要求される動画等の画像データを転送するIsocパケット31は、従来に比べさらに連続転送及びリアルタイム転送が確保されリアリティのある動画の再生を保証することができる。   Then, the Isoc packet 31 transferred in the Isoc transfer mode and the Asyn packet 32 transferred in the Asyn transfer mode are stored in separate storage memories, and input / output to / from different interfaces. Therefore, for example, each reception Isoc packet 31 transferred in each Isoc cycle has a reception Asyn packet 32 transferred in the Asyn transfer mode at a surplus time in each Isoc cycle. Without being interrupted by the transfer operation of the Asyn packet 32, it can be transferred continuously from the Isoc reception I / F 28a to the first DMAC 13. As a result, the Isoc packet 31 for transferring image data such as a moving image that requires continuity is further ensured in continuous transfer and real-time transfer as compared with the conventional case, thereby ensuring the reproduction of a realistic moving image.

(2)又、本実施の形態では、送信用のIsocパケット31を第1FIFO24aに、受信用のIsocパケット31を第2FIFO24bにそれぞれ別々に格納し、第1DMAC13に対して送信用のIsocパケット31を転送するためのIsoc送信用I/F27aと受信用のIsocパケット31を転送するためのIsoc受信用I/F28aを設けた。   (2) In the present embodiment, the Isoc packet 31 for transmission is separately stored in the first FIFO 24a, the Isoc packet 31 for reception is separately stored in the second FIFO 24b, and the Isoc packet 31 for transmission is stored in the first DMAC 13. An Isoc transmission I / F 27a for transferring and an Isoc receiving I / F 28a for transferring the receiving Isoc packet 31 are provided.

そして、Isoc転送モードで転送される送信用のIsocパケット31と受信用のIsocパケット32は、第1DMAC13に対してそれぞれ別々に転送される。従って、各Isocサイクル毎に転送されてくる各受信用のIsocパケット31は、送信用のIsocパケット31と受信用のIsocパケット31の転送が混在しても、Isoc受信用I/F28aから第1DMAC13に転送することができる。その結果、連続性が要求される動画等の画像データを転送するIsocパケット31は、より連続転送及びリアルタイム転送が確保されリアリティのある動画の再生を保証することができる。   Then, the transmission Isoc packet 31 and the reception Isoc packet 32 transferred in the Isoc transfer mode are separately transferred to the first DMAC 13. Therefore, the reception Isoc packet 31 transferred in each Isoc cycle is transmitted from the Isoc reception I / F 28a to the first DMAC 13 even if the transmission of the transmission Isoc packet 31 and the reception Isoc packet 31 is mixed. Can be transferred to. As a result, the Isoc packet 31 that transfers image data such as a moving image that requires continuity can ensure more continuous transfer and real-time transfer, and guarantee the reproduction of a realistic moving image.

(3)さらに、本実施の形態では、図4に示すように、MPU12との間で行われるコントローラ制御処理のためのコマンド等の制御データ33の授受は、MPUI/F29を介して行なわれる。従って、コントローラ制御処理のためのコマンド等の制御データ33の授受が行なわれていても、制限を受けることなくIsocパケット31を転送することができる。   (3) Furthermore, in the present embodiment, as shown in FIG. 4, control data 33 such as a command for controller control processing performed with the MPU 12 is transmitted / received via the MPUI / F 29. Therefore, the Isoc packet 31 can be transferred without restriction even if the control data 33 such as a command for controller control processing is exchanged.

(4)さらに又、本実施の形態では、送信用のAsynパケット32を第3FIFO24cに、受信用のAsynパケット32を第4FIFO24dにそれぞれ別々に格納し、第2DMAC14に対して送信用のAsynパケット32を転送するためのAsyn送信用I/F27bと受信用のAsynパケット32を転送するためのAsyn受信用I/F28bを設けた。   (4) Furthermore, in the present embodiment, the Asyn packet 32 for transmission is separately stored in the third FIFO 24c and the Asyn packet 32 for reception is separately stored in the fourth FIFO 24d, and the Asyn packet 32 for transmission is stored in the second DMAC 14. Asyn transmission I / F 27b for transferring and Asyn reception I / F 28b for transferring Asyn packet 32 for reception.

そして、送信用のAsynパケット32と受信用のAsynパケット32は、第2DMAC14に対してそれぞれ別々に転送される。従って、送信用のAsynパケット32と受信用のAsynパケット32の転送が混在しても、それぞのAsynパケット32の転送は、連続して転送することができる。   Then, the Asyn packet 32 for transmission and the Asyn packet 32 for reception are separately transferred to the second DMAC 14. Accordingly, even if the transmission of the Asyn packet 32 for transmission and the transfer of the Asyn packet 32 for reception coexist, the transfer of the respective Asyn packets 32 can be transferred continuously.

(第2実施の形態)
本実施の形態は、第1の実施の形態で示したIPC11を変更したものである。従って、IPC11についてのみ説明する。図5は、本実施の形態のIPC11の回路構成を説明するためのブロック回路を示す。尚、第1実施の形態と同じ構成について符号を同じにしてその詳細を省略する。
(Second Embodiment)
In the present embodiment, the IPC 11 shown in the first embodiment is modified. Therefore, only the IPC 11 will be described. FIG. 5 shows a block circuit for explaining the circuit configuration of the IPC 11 of the present embodiment. In addition, the code | symbol same about the same structure as 1st Embodiment is used, and the detail is abbreviate | omitted.

IPC11は、物理層処理回路20、第1及び第2の1394用I/F26a,26b、リンク層処理回路36、Isocパケット処理回路37a、Asynパケット処理回路37b、Isoc転送用FIFO38a、Asyn転送用FIFO38b、第1DMAインタフェース(第1DMAI/F)39a、第2DMAインタフェース(第2DMAI/F)39b、制御内部レジスタ25、及び、MPUI/F29を備えている。   The IPC 11 includes a physical layer processing circuit 20, first and second 1394 I / Fs 26a and 26b, a link layer processing circuit 36, an Isoc packet processing circuit 37a, an Asyn packet processing circuit 37b, an Isoc transfer FIFO 38a, and an Asyn transfer FIFO 38b. A first DMA interface (first DMA I / F) 39a, a second DMA interface (second DMA I / F) 39b, a control internal register 25, and an MPUI / F 29.

第1DMAI/F39aは、第1DMAC13と結ばれている。そして、第1DMAI/F39aは、第1DMAC13との間で送信用及び受信用のIsocパケット31の転送を行う。つまり、本実施の形態では、前記した第1実施の形態で説明したように、送信用のIsocパケット31のための専用のIsoc送信用I/F27aと受信用のIsocパケット31のための専用のI soc受信用I/F28aをそれぞれ別々に設けず、送信及び受信用のIsocパケット31の第1DMAC13との間の転送を1つの第1DMAI/F39aが行う。従って、前記第1実施の形態の第1DMAC13がIsoc送信用I/F27aとIsoc受信用I/F28aにそれぞれ対応したインタフェースを備えているが、本実施の形態の第1DMAC13では、第1DMAI/F39aに対応した1つのインタフェースが備えられているだけである。   The first DMA I / F 39a is connected to the first DMAC 13. Then, the first DMA I / F 39 a transfers the transmission and reception Isoc packets 31 to and from the first DMAC 13. In other words, in the present embodiment, as described in the first embodiment, the dedicated Isoc transmission I / F 27a for the Isoc packet 31 for transmission and the dedicated IocF 31 for the reception Isoc packet 31 are used. The I soc reception I / F 28a is not provided separately, and one first DMA I / F 39a transfers the transmission and reception Isoc packets 31 to and from the first DMAC 13. Therefore, the first DMAC 13 of the first embodiment includes interfaces corresponding to the Isoc transmission I / F 27a and the Isoc reception I / F 28a. In the first DMAC 13 of the present embodiment, the first DMA I / F 39a includes Only one corresponding interface is provided.

Isoc転送用FIFO38aは、送信用及び受信用のIsocパケット31が格納される。Isoc転送用FIFO38aは、第1DMAI/F39aからの送信用のIsocパケット31が入力されると、その入力された順に該パケットのデータをIsoc転送用パケット処理回路38aに供給する。Isoc転送用FIFO38aはIsocパケット処理回路37aからの受信用のIsocパケット31が入力されると、その入力された順に該パケットのデータを第1DMAI/F39aに供給する。つまり、本実施の形態では、前記した第1実施の形態で説明したように、送信用のIsocパケット31を格納するための専用の第1FIFO24aと受信用のIs ocパケット31を格納するための専用の第2FIFO24bをそれぞれ別々に設けず、1つのIsoc転送用FIFO38aが送信及び受信用のIsocパケット31を格納する。従って、Isoc転送用FIFO38aは、受信用と送信用のIsocパケット31のデータのいずれか一方のデータを格納し転送している時、他方のデータの格納はできない。   The Isoc transfer FIFO 38a stores transmission and reception Isoc packets 31. When the Isoc transfer FIFO 38a receives the Isoc packet 31 for transmission from the first DMA I / F 39a, the Isoc transfer FIFO 38a supplies the packet data to the Isoc transfer packet processing circuit 38a in the input order. When the Isoc transfer FIFO 38a receives the Isoc packet 31 for reception from the Isoc packet processing circuit 37a, it supplies the data of the packet to the first DMA I / F 39a in the input order. That is, in the present embodiment, as described in the first embodiment, the dedicated first FIFO 24a for storing the transmission Isoc packet 31 and the dedicated FIFO for storing the reception Isoc packet 31 are used. The second FIFO 24b is not separately provided, and one Isoc transfer FIFO 38a stores the Isoc packet 31 for transmission and reception. Therefore, when the Isoc transfer FIFO 38a stores and transfers one of the data of the reception and transmission Isoc packets 31, it cannot store the other data.

Isocパケット処理回路37aは、送信用及び受信用のIsocパケット31が供給される。Isocパケット処理回路37aは、送信用Isocパケット31に対して誤り訂正符号の生成及び受信用のIsocパケット31に対して誤り訂正のチェックを行う。Isocパケット処理回路37aは、Isoc転送用FIFO38aからの送信用のIsocパケット31が入力されると、該パケット31について誤り訂正符号を生成する。つまり、Isocパケット処理回路37aは、Isocパケット31のヘッダ31aと、Isocデータ31bについてそれぞれ別々に誤り訂正符号を生成し付加してリンク層処理回路36に出力する。又、Isocパケット処理回路37aは、リンク層処理回路36からの受信用のIsocパケット31が入力されると、該パケット31について誤り訂正のチェック処理を行う。つまり、Isocパケット37aは、Isocパケット31のヘッダ31aと、Isocデータ31bについてそれぞれ別々に誤り訂正のための処理を行った後にIsoc転送用FIFO38aに出力する。   The Isoc packet processing circuit 37a is supplied with Isoc packets 31 for transmission and reception. The Isoc packet processing circuit 37 a performs error correction code generation for the transmission Isoc packet 31 and error correction check for the reception Isoc packet 31. When the Isoc packet processing circuit 37a receives the Isoc packet 31 for transmission from the FIFO 38a for Isoc transfer, the Isoc packet processing circuit 37a generates an error correction code for the packet 31. That is, the Isoc packet processing circuit 37a generates and adds error correction codes separately for the header 31a and the Isoc data 31b of the Isoc packet 31, and outputs the error correction codes to the link layer processing circuit 36. When the Isoc packet processing circuit 37a receives the Isoc packet 31 for reception from the link layer processing circuit 36, the Isoc packet processing circuit 37a performs error correction check processing on the packet 31. In other words, the Isoc packet 37a is subjected to error correction processing separately for the header 31a and the Isoc data 31b of the Isoc packet 31, and then output to the Isoc transfer FIFO 38a.

第2DMAI/F39bは、第2DMAC14と結ばれている。そして、第2DMAI/F39bは、第2DMAC14との間で送信用及び受信用のAsynパケット32の転送を行う。つまり、本実施の形態では、前記した第1実施の形態で説明したように、送信用のAsynパケット32のための専用のAs yn送信用I/F27bと受信用のAsynパケット32のための専用のAsyn受信用I/F28bをそれぞれ別々に設けず、送信及び受信用のAsynパケット32の第2DMAC14との間の転送を1つの第2DMAI/F39bが行う。従って、前記第1実施の形態の第2DMAC14がAsyn送信用I/F27bとAsyn受信用I/F28bにそれぞれ対応したインタフェースを備えているが、本実施の形態の第2DMAC14では、第2DMAI/F39bに対応した1つのインタフェースが備えられているだけである。   The second DMA I / F 39b is connected to the second DMAC 14. Then, the second DMA I / F 39b transfers the Asyn packet 32 for transmission and reception to and from the second DMAC 14. In other words, in this embodiment, as described in the first embodiment, the dedicated Asyn transmission I / F 27b for the Asyn packet 32 for transmission and the dedicated for the Asyn packet 32 for reception. Each Asyn reception I / F 28b is not provided separately, and one second DMA I / F 39b transfers the Asyn packet 32 for transmission and reception to and from the second DMAC 14. Therefore, the second DMAC 14 of the first embodiment has interfaces corresponding to the Asyn transmission I / F 27b and the Asyn reception I / F 28b, respectively. However, in the second DMAC 14 of the present embodiment, the second DMA I / F 39b Only one corresponding interface is provided.

Asyn転送用FIFO38bは、送信用及び受信用のAsynパケット32が格納される。Asyn転送用FIFO38bは、第2DMAI/F39bからの送信用のAsynパケット32が入力されると、その入力された順に該パケットのデータをAsyn転送用パケット処理回路38bに供給する。Asyn転送用FIFO38bは、Asynパケット処理回路37bからの受信用のAsynパケット32が入力されると、その入力された順に該パケットのデータを第2DMAI/F39bに供給する。つまり、本実施の形態では、前記した第1実施の形態で説明したように、送信用のAs ynパケット32を格納するための専用の第3FIFO24cと受信用のAsynパケット32を格納するための専用の第4FIFO24dをそれぞれ別々に設けず、1つのAsyn転送用FIFO38bが送信及び受信用のIsocパケット32を格納する。従って、Asyn転送用FIFO38bは、受信用と送信用のIsocパケット32のデータのいずれか一方のデータを格納し転送している時、他方のデータの格納はできない。   The Asyn transfer FIFO 38b stores Asyn packets 32 for transmission and reception. When the Asyn transfer FIFO 38b receives the Asyn packet 32 for transmission from the second DMA I / F 39b, the Asyn transfer FIFO 38b supplies the data of the packet to the Asyn transfer packet processing circuit 38b in the input order. When the Asyn transfer FIFO 38b receives the Asyn packet 32 for reception from the Asyn packet processing circuit 37b, the Asyn transfer FIFO 38b supplies the data of the packet to the second DMA I / F 39b in the input order. In other words, in this embodiment, as described in the first embodiment, the dedicated third FIFO 24c for storing the transmission Asyn packet 32 and the dedicated third FIFO 24c for storing the reception Asyn packet 32 are used. The fourth FIFO 24d is not provided separately, and one Asyn transfer FIFO 38b stores the Isoc packet 32 for transmission and reception. Therefore, the Asyn transfer FIFO 38b cannot store the other data when storing and transferring one of the data of the reception and transmission Isoc packets 32.

Asynパケット処理回路37bは、送信用及び受信用のAsynパケット32が供給される。Asynパケット処理回路37bは、送信用のAsynパケット32に対して誤り訂正符号の生成及び受信用のAsynパケット32に対して誤り訂正のチェックを行う。Asynパケット処理回路37bは、Asyn転送用FIFO38bからの送信用のAsynパケット32が入力されると、該パケット32について誤り訂正符号を生成する。つまり、Asynパケット処理回路37bは、Asynパケット32のヘッダ32aと、Asynデータ32bについてそれぞれ別々に誤り訂正符号を生成し付加してリンク層処理回路36に出力する。又、Asynパケット処理回路37bは、リンク層処理回路36からの受信用のAsynパケット32が入力されると、該パケット32について誤り訂正のチェック処理を行う。つまり、Asynパケット37bは、Asynパケット32のヘッダ32aと、Asynデータ32bについてそれぞれ別々に誤り訂正のための処理を行った後にAsyn転送用FIFO38bに出力する。   The Asyn packet processing circuit 37b is supplied with Asyn packets 32 for transmission and reception. The Asyn packet processing circuit 37b performs error correction code generation for the Asyn packet 32 for transmission and error correction check for the Asyn packet 32 for reception. When the Asyn packet 32 for transmission is input from the Asyn transfer FIFO 38b, the Asyn packet processing circuit 37b generates an error correction code for the packet 32. That is, the Asyn packet processing circuit 37b generates and adds error correction codes separately for the header 32a and Asyn data 32b of the Asyn packet 32, and outputs them to the link layer processing circuit 36. Also, when the Asyn packet processing circuit 37b receives the Asyn packet 32 for reception from the link layer processing circuit 36, the Asyn packet processing circuit 37b performs error correction check processing on the packet 32. In other words, the Asyn packet 37b performs error correction processing separately on the header 32a and Asyn data 32b of the Asyn packet 32, and then outputs them to the Asyn transfer FIFO 38b.

次に、上記のように構成したIPC11の作用について説明する。
説明の便宜上、図6に示す時系列にて受信用のIsocパケット31と受信用のAsynパケット32が発生する場合について説明する。今、最初のIsocサイクルにおいて、最初の受信用のIsocパケット31は、第1の1394用I/F26a及び物理層処理回路20を介してリンク層処理回路36に供給される。該Isocパケット31は、リンク層処理回路36にて該パケットのヘッダからIsoc転送モードのIsocパケット31と判断されて、Isocパケット処理回路37aに供給される。Isocパケット31は、該Isocパケット処理回路37aにて誤り訂正のためのチェック処理が行われた後にIsoc転送用FIFO38aに供給される。Isoc転送用FIFO38aに供給されたIsocパケット31は、第1DMAI/F39aを介して第1DMAC13に供給される。
Next, the operation of the IPC 11 configured as described above will be described.
For convenience of explanation, a case will be described in which the receiving Isoc packet 31 and the receiving Asyn packet 32 are generated in the time series shown in FIG. Now, in the first Isoc cycle, the first reception Isoc packet 31 is supplied to the link layer processing circuit 36 via the first 1394 I / F 26 a and the physical layer processing circuit 20. The Isoc packet 31 is determined by the link layer processing circuit 36 as an Isoc packet 31 in the Isoc transfer mode from the header of the packet, and is supplied to the Isoc packet processing circuit 37a. The Isoc packet 31 is supplied to the Isoc transfer FIFO 38a after being subjected to a check process for error correction by the Isoc packet processing circuit 37a. The Isoc packet 31 supplied to the Isoc transfer FIFO 38a is supplied to the first DMAC 13 via the first DMA I / F 39a.

続いて、この最初のIsocサイクルにおいて、前記Isocパケット31の後に発生するAsynパケット32は、第1の1394用I/F26a及び物理層処理回路20を介してリンク層処理回路36に供給される。該Asynパケット32は、リンク層処理回路36にて該パケットのヘッダからAsyn転送モードのAsynパケット32と判断されて、Asynパケット処理回路37bに供給される。Asynパケット32は、該Asynパケット処理回路37bにて誤り訂正のためのチェック処理が行われた後にAsyn転送用FIFO38bに供給される。Asyn転送用FIFO38bに供給されたAsynパケット32は、第2DMAI/F39bを介して第2DMAC14に供給される。   Subsequently, in this first Isoc cycle, the Asyn packet 32 generated after the Isoc packet 31 is supplied to the link layer processing circuit 36 via the first 1394 I / F 26 a and the physical layer processing circuit 20. The Asyn packet 32 is determined by the link layer processing circuit 36 as an Asyn packet 32 in the Asyn transfer mode from the header of the packet, and is supplied to the Asyn packet processing circuit 37b. The Asyn packet 32 is supplied to the Asyn transfer FIFO 38b after being checked by the Asyn packet processing circuit 37b for error correction. The Asyn packet 32 supplied to the Asyn transfer FIFO 38b is supplied to the second DMAC 14 via the second DMA I / F 39b.

最初のIsocサイクルが終了し次のIsocサイクルになると、最初に発生した受信用のIsocパケット31は、同様に、第1の1394用I/F26a及び物理層処理回路20を介してリンク層処理回路36に供給される。該Isocパケット31は、リンク層処理回路36にてIsoc転送モードのIsocパケット31と判断されて、Isocパケット処理回路37aに供給される。Isocパケット31は、該Isocパケット処理回路37aにて誤り訂正のためのチェック処理が行われた後にIsoc転送用FIFO38aに供給される。Isoc転送用FIFO38aに供給されたIsocパケット31は、第1DMAI/F39aを介して第1DMAC13に供給される。   When the first Isoc cycle is completed and the next Isoc cycle is reached, the first generated Isoc packet 31 is similarly received via the first 1394 I / F 26a and the physical layer processing circuit 20 through the link layer processing circuit. 36. The Isoc packet 31 is determined as the Isoc packet 31 in the Isoc transfer mode by the link layer processing circuit 36 and supplied to the Isoc packet processing circuit 37a. The Isoc packet 31 is supplied to the Isoc transfer FIFO 38a after being subjected to a check process for error correction by the Isoc packet processing circuit 37a. The Isoc packet 31 supplied to the Isoc transfer FIFO 38a is supplied to the first DMAC 13 via the first DMA I / F 39a.

次に、上記のように第2実施の形態で構成したIPC11の特徴を以下に述べる。
(1)本実施の形態において、Isoc転送モードの転送データ(Isocパケット31)を格納するIsoc転送用FIFO38aとAsyn転送モードの転送データ(Asynパケット32)を格納するAsyn転送用FIFO38bをそれぞれ別々設けた。又、Isoc転送モードの転送データ(Isocパケット31)を入出力する第1DMAI/F39aとAsyn転送モードの転送データ(Asynパケット32)を入出力する第2DMAI/F39bをそれぞれ別々設けた。
Next, features of the IPC 11 configured in the second embodiment as described above will be described below.
(1) In the present embodiment, an Isoc transfer FIFO 38a for storing transfer data (Isoc packet 31) in Isoc transfer mode and an Asyn transfer FIFO 38b for storing transfer data (Asyn packet 32) in Asyn transfer mode are provided separately. It was. Also, a first DMA I / F 39a for inputting / outputting transfer data (Isoc packet 31) in the Isoc transfer mode and a second DMA I / F 39b for inputting / outputting transfer data (Asyn packet 32) in the Asyn transfer mode are provided separately.

そして、Isoc転送モードで転送されるIsocパケット31とAsyn転送モードで転送されるAsynパケット32をそれぞれ別々の格納メモリ(FIFO38a、38b)に格納し、それぞれ別々のインタフェース(DMAI/F39a、39b)に入出力するようにした。従って、例えば、各Isocサイクル毎に転送されてくる各受信用のIsocパケット31は、各Isocサイクル中の余った時間にAsyn転送モードで転送された受信用のAsynパケット32が存在しても、Asynパケット32の転送動作によって中断されることなく連続してIsoc受信用I/F28aから第1DMAC13に転送することができる。その結果、連続性が要求される動画等の画像データを転送するIsocパケット31は、従来に比べさらに連続転送及びリアルタイム転送が確保されリアリティのある動画の再生を保証することができる。   Then, the Isoc packet 31 transferred in the Isoc transfer mode and the Asyn packet 32 transferred in the Asyn transfer mode are stored in separate storage memories (FIFOs 38a and 38b), and are stored in separate interfaces (DMA I / Fs 39a and 39b). I / O was made. Therefore, for example, each reception Isoc packet 31 transferred in each Isoc cycle has a reception Asyn packet 32 transferred in the Asyn transfer mode at a surplus time in each Isoc cycle. Without being interrupted by the transfer operation of the Asyn packet 32, it can be transferred continuously from the Isoc reception I / F 28a to the first DMAC 13. As a result, the Isoc packet 31 for transferring image data such as a moving image that requires continuity is further ensured in continuous transfer and real-time transfer as compared with the conventional case, thereby ensuring the reproduction of a realistic moving image.

(2)本実施の形態では、図6に示すように、MPU12との間で行われるコントローラ制御処理のためのコマンド等の制御データ33の授受は、MPUI/F29を介して行なわれる。従って、コントローラ制御処理のためのコマンド等の制御データ33の授受が行なわれていても、制限を受けることなくIsocパケット31を転送することができる。   (2) In the present embodiment, as shown in FIG. 6, exchange of control data 33 such as commands for controller control processing performed with the MPU 12 is performed via the MPUI / F 29. Therefore, the Isoc packet 31 can be transferred without restriction even if the control data 33 such as a command for controller control processing is exchanged.

(第3実施の形態)
本実施の形態は、第2の実施の形態で示したIPC11を変更したものである。従って、IPC11についてのみ説明する。図7は、本実施の形態のIPC11の回路構成を説明するためのブロック回路を示す。尚、第2実施の形態と同じ構成について符号を同じにしてその詳細を省略する。
(Third embodiment)
This embodiment is a modification of the IPC 11 shown in the second embodiment. Therefore, only the IPC 11 will be described. FIG. 7 shows a block circuit for explaining the circuit configuration of the IPC 11 of the present embodiment. In addition, the code | symbol is made the same about the same structure as 2nd Embodiment, and the detail is abbreviate | omitted.

IPC11は、物理層処理回路20、第1及び第2の1394用I/F26a,26b、リンク層処理回路36、Isocパケット処理回路37a、Asynパケット処理回路37b、Isoc転送用FIFO38a、Asyn転送用FIFO38b、第1DMAインタフェース(第1DMAI/F)39a、制御内部レジスタ25、及び、MPU・DMAインタフェース(MPU・DMAI/F)40を備えている。即ち、本実施の形態では、前記第2実施の形態の第2DMAI/F39bとMPUI/F29を1つのMPU・DMAI/F40で兼用したものである。従って、説明の便宜上、MPU・DMAI/F40についてのみ説明する。   The IPC 11 includes a physical layer processing circuit 20, first and second 1394 I / Fs 26a and 26b, a link layer processing circuit 36, an Isoc packet processing circuit 37a, an Asyn packet processing circuit 37b, an Isoc transfer FIFO 38a, and an Asyn transfer FIFO 38b. The first DMA interface (first DMA I / F) 39a, the control internal register 25, and the MPU / DMA interface (MPU / DMA I / F) 40 are provided. That is, in this embodiment, the second DMA I / F 39b and the MPUI / F 29 of the second embodiment are combined with one MPU / DMA I / F 40. Therefore, for convenience of explanation, only the MPU / DMA I / F 40 will be described.

MPU・DMAI/F40は、第2DMAC14とMPU12とに結ばれている。MPU・DMAI/F40は、第2DMAC14との間で送信用及び受信用のAsynパケット32の転送を行う。又、MPU・DMAI/F40は、MPU12と制御内部レジスタ25との間で制御データ33の転送を行う。そして、MPU・DMAI/F40は、第2DMAC14から送信用Asynパケット32を受け取るとAsyn転送用FIFO38bに転送し、Asyn転送用FIFO38bから受信用のAsynパケット32を受け取ると第2DMAC14に転送を行う。又、MPU・DMAI/F40は、MPU12から制御データ33を受け取ると制御内部レジスタ25に転送し、制御内部レジスタ25から受信用の制御データ33を受け取るとMPU12に転送を行う。   The MPU / DMA I / F 40 is connected to the second DMAC 14 and the MPU 12. The MPU / DMA I / F 40 transfers Asyn packets 32 for transmission and reception to / from the second DMAC 14. The MPU / DMA I / F 40 transfers the control data 33 between the MPU 12 and the control internal register 25. The MPU / DMA I / F 40 transfers the Asyn packet 32 for transmission from the second DMAC 14 to the Asyn transfer FIFO 38b, and transfers it to the second DMAC 14 when it receives the Asyn packet 32 for reception from the Asyn transfer FIFO 38b. Also, the MPU / DMA I / F 40 transfers the control data 33 from the MPU 12 to the control internal register 25 and transfers the reception control data 33 from the control internal register 25 to the MPU 12.

次に、上記のように構成したIPC11の作用について説明する。
説明の便宜上、図8に示す時系列にて受信用のIsocパケット31と受信用のAsynパケット32が発生する場合について説明する。今、最初のIsocサイクルにおいて、最初の受信用のIsocパケット31は、第1の1394用I/F26a及び物理層処理回路20を介してリンク層処理回路36に供給される。該Isocパケット31は、第2実施の形態と同様に、リンク層処理回路36、Isocパケット処理回路37a、Isoc転送用FIFO38a、及び、第1DMAI/F39aを介して第1DMAC13に供給される。
Next, the operation of the IPC 11 configured as described above will be described.
For convenience of explanation, a case will be described in which the reception Isoc packet 31 and the reception Asyn packet 32 are generated in the time series shown in FIG. Now, in the first Isoc cycle, the first reception Isoc packet 31 is supplied to the link layer processing circuit 36 via the first 1394 I / F 26 a and the physical layer processing circuit 20. The Isoc packet 31 is supplied to the first DMAC 13 via the link layer processing circuit 36, the Isoc packet processing circuit 37a, the Isoc transfer FIFO 38a, and the first DMA I / F 39a, as in the second embodiment.

続いて、この最初のIsocサイクルにおいて、前記Isocパケット31の後に発生するAsynパケット32は、前記第2実施の形態と同様に、第1の1394用I/F26a、物理層処理回路20、及び、リンク層処理回路36を介してAsynパケット処理回路37bに供給される。Asynパケット32は、該Asynパケット処理回路37bにて誤り訂正のためのチェック処理が行われた後にMPU・DMAI/F40に供給される。該Asynパケット32は、MPU・DMAI/F40にてAsynパケット32と判断されて第2DMAC14に供給される。   Subsequently, in this first Isoc cycle, the Asyn packet 32 generated after the Isoc packet 31 is similar to the second embodiment in that the first 1394 I / F 26a, the physical layer processing circuit 20, and The data is supplied to the Asyn packet processing circuit 37b via the link layer processing circuit 36. The Asyn packet 32 is supplied to the MPU / DMA I / F 40 after being checked by the Asyn packet processing circuit 37b for error correction. The Asyn packet 32 is determined as an Asyn packet 32 by the MPU / DMA I / F 40 and supplied to the second DMAC 14.

最初のIsocサイクルが終了し次のIsocサイクルになると、最初に発生した受信用のIsocパケット31は、第2実施の形態の場合と同様に、第1の1394用I/F26a、物理層処理回路20、リンク層処理回路36、Isocパケット処理回路37a、Isoc転送用FIFO38a、第1DMAI/F39aを介して第1DMAC13に供給される。   When the first Isoc cycle is completed and the next Isoc cycle is reached, the first Isoc packet for reception 31 that is generated is the first 1394 I / F 26a, physical layer processing circuit, as in the second embodiment. 20, is supplied to the first DMAC 13 via the link layer processing circuit 36, the Isoc packet processing circuit 37a, the Isoc transfer FIFO 38a, and the first DMA I / F 39a.

次に、上記のように第3実施の形態で構成したIPC11の特徴を以下に述べる。
(1)本実施の形態において、Isoc転送モードの転送データ(Isocパケット31)を格納するIsoc転送用FIFO38aとAsyn転送モードの転送データ(Asynパケット32)を格納するAsyn転送用FIFO38bをそれぞれ別々設けた。又、Isoc転送モードの転送データ(Isocパケット31)を入出力する第1DMAI/F39aとAsyn転送モードの転送データ(Asynパケット32)を入出力するMPU・DMAI/F40をそれぞれ別々設けた。
Next, the features of the IPC 11 configured in the third embodiment as described above will be described below.
(1) In the present embodiment, an Isoc transfer FIFO 38a for storing transfer data (Isoc packet 31) in Isoc transfer mode and an Asyn transfer FIFO 38b for storing transfer data (Asyn packet 32) in Asyn transfer mode are provided separately. It was. In addition, a first DMA I / F 39a for inputting / outputting transfer data (Isoc packet 31) in the Isoc transfer mode and an MPU / DMA I / F 40 for inputting / outputting transfer data (Asyn packet 32) in the Asyn transfer mode are separately provided.

従って、第2実施の形態と同様に、例えば、各Isocサイクル毎に転送されてくる各受信用のIsocパケット31は、各Isocサイクル中の余った時間にAsyn転送モードで転送された受信用のAsy nパケット32が存在しても、Asynパケット32の転送動作によって中断されることなく連続してIsoc受信用I/F28aから第1DMAC13に転送することができる。その結果、連続性が要求される動画等の画像データを転送するIsocパケット31は、従来に比べさらに連続転送及びリアルタイム転送が確保されリアリティのある動画の再生を保証することができる。   Therefore, as in the second embodiment, for example, each reception Isoc packet 31 transferred in each Isoc cycle is received in the Asyn transfer mode at a surplus time in each Isoc cycle. Even if the Asyn packet 32 exists, it can be continuously transferred from the Isoc reception I / F 28a to the first DMAC 13 without being interrupted by the transfer operation of the Asyn packet 32. As a result, the Isoc packet 31 for transferring image data such as a moving image that requires continuity is further ensured in continuous transfer and real-time transfer as compared with the conventional case, thereby ensuring the reproduction of a realistic moving image.

(2)本実施の形態では、図8に示すように、MPU12との間で行われるコントローラ制御処理のためのコマンド等の制御データ33の授受は、MPU・DMAI/F40を介して行なわれる。従って、コントローラ制御処理のためのコマンド等の制御データ33の授受が行なわれていても、制限を受けることなくIsocパケット31を転送することができる。   (2) In the present embodiment, as shown in FIG. 8, exchange of control data 33 such as commands for controller control processing performed with the MPU 12 is performed via the MPU / DMA I / F 40. Therefore, the Isoc packet 31 can be transferred without restriction even if the control data 33 such as a command for controller control processing is exchanged.

(第4実施の形態)
本実施の形態は、第2の実施の形態で示したIPC11において、リンク層処理回路36と第1DMAI/F39aとの間、リンク層処理回路36と第2DMAI/F39bとの間を変更したものである。従って、説明の便宜上変更した部分について説明する。図9は、本実施の形態のIPC11の要部回路構成を説明するためのブロック回路を示す。尚、第2実施の形態と同じ構成について符号を同じにしてその詳細を省略する。
(Fourth embodiment)
In this embodiment, in the IPC 11 shown in the second embodiment, the link layer processing circuit 36 and the first DMA I / F 39a are changed and the link layer processing circuit 36 and the second DMA I / F 39b are changed. is there. Therefore, the changed part will be described for convenience of explanation. FIG. 9 shows a block circuit for explaining a main circuit configuration of the IPC 11 of the present embodiment. In addition, the code | symbol is made the same about the same structure as 2nd Embodiment, and the detail is abbreviate | omitted.

図9において、Isocパケット用処理回路は、誤り訂正生成回路(以下、CRC生成回路という)41a、誤り訂正チェック回路(以下、CRCチェック回路という)41b、Isocパケット生成部42a、Isocパケット解析部42b、及び、インストラクション解析部43とから構成されている。又、Isoc転送用FIFOは、Isocヘッダ専用FIFO44aとIsocデータ専用FIFO44bとから構成されている。   In FIG. 9, the processing circuit for the Isoc packet includes an error correction generation circuit (hereinafter referred to as a CRC generation circuit) 41a, an error correction check circuit (hereinafter referred to as a CRC check circuit) 41b, an Isoc packet generation unit 42a, and an Isoc packet analysis unit 42b. , And an instruction analysis unit 43. Further, the FIFO for Isoc transfer is composed of an FIFO 44a dedicated to the Isoc header and an FIFO 44b dedicated to the Isoc data.

CRCチェック回路41bは、リンク層処理回路36からの受信用のIsocパケット31が供給される。CRCチェック回路41bは、受信用のIsocパケット31の誤り訂正の処理をヘッダ31a及びIsocデータ31bごとに行いその訂正符号を除去して、Isocパケット解析部42bに受信用のIsocパケット31のデータを供給する。該解析部42bは、該Isocパケット31を構成するヘッダ31aとIsocデータ31bとに分離する。パケットのヘッダのバイト数は固定(8バイトであり、うち4バイトがヘッダ情報で残り4バイトが誤り訂正符号)であり、Isocデータのバイト数は、ヘッダ中のデータレングスを見ることによってわかる。そして、このバイト数をカウントすることにより分離処理が行われる。   The CRC check circuit 41b is supplied with the Isoc packet 31 for reception from the link layer processing circuit 36. The CRC check circuit 41b performs error correction processing of the reception Isoc packet 31 for each of the header 31a and the Isoc data 31b, removes the correction code, and sends the data of the reception Isoc packet 31 to the Isoc packet analysis unit 42b. Supply. The analysis unit 42b separates the header 31a and the Isoc data 31b constituting the Isoc packet 31. The number of bytes in the header of the packet is fixed (8 bytes, of which 4 bytes are header information and the remaining 4 bytes are error correction codes), and the number of bytes of Isoc data can be found by looking at the data length in the header. Then, the separation process is performed by counting the number of bytes.

分離されたヘッダ31aは、Isocヘッダ専用FIFO44aに供給される。分離されたIsocデータ31bは、Isocデータ専用FIFO44bに供給される。従って、Isocヘッダ専用FIFO44aは、ヘッダ31aのみが格納され、Isocデータ専用FIFO44bは、Isocデータ31bのみが格納される。   The separated header 31a is supplied to the Isoc header dedicated FIFO 44a. The separated Isoc data 31b is supplied to the Isoc data dedicated FIFO 44b. Accordingly, the Isoc header dedicated FIFO 44a stores only the header 31a, and the Isoc data dedicated FIFO 44b stores only the Isoc data 31b.

Isocヘッダ専用FIFO44aは、格納した分離されたヘッダ31aを入力した順に第1DMAI/F39aを介して順番に第1DMAC13に転送する。Isocデータ専用FIFO44bは、格納した分離されたIsocデータ31bを入力した順に第1DMAI/F39aを介して順番に第1DMAC13に転送する。従って、第1DMAC13は、第1DMAI/F39aを介してIsocヘッダ専用FIFO44aからIsocヘッダ31aのみを入力し、該ヘッダ31a中のトランザクションのタイプ、データ長、アドレス等に基づいて第1DMAI/F39aを介してIsocデータ専用FIFO44bのIsocデータ31bを入力することができる。   The Isoc header dedicated FIFO 44a transfers the stored separated header 31a to the first DMAC 13 in order via the first DMA I / F 39a in the order of input. The Isoc data dedicated FIFO 44b transfers the stored separated Isoc data 31b to the first DMAC 13 in order via the first DMA I / F 39a in the order of input. Accordingly, the first DMAC 13 inputs only the Isoc header 31a from the FIFO 44a dedicated FIFO 44a via the first DMA I / F 39a, and passes the first DMA I / F 39a based on the transaction type, data length, address, etc. in the header 31a. Isoc data 31b of the FIFO 44b dedicated to Isoc data can be input.

又、前記Isocヘッダ専用FIFO44aは、第1DMAI/F39aを介して第1DMAC13から転送されるIsocパケット31に必要なヘッダ31aのみを格納し該ヘッダ31aをIsocパケット生成部42aに対して入力した順番に転送する。一方、前記Isocデータ専用FIFO44bは、第1DMAI/F39aを介して第1DMAC13から転送されるIsocパケット31にて転送するIsocデータ31bのみを格納し、該Isocデータ31bをIsocパケット生成部42aに対して入力した順番に転送する。第1DMAC13は、インストラクションを発行し、該インストラクションを第1DMAI/F39aを介してインストラクション解析部43に出力する。インストラクション解析部43は、このインストラクションを解析しIsocパケット31を生成するに必要なデータをIsocパケット生成部42aに出力する。   The Isoc header dedicated FIFO 44a stores only the header 31a necessary for the Isoc packet 31 transferred from the first DMAC 13 via the first DMA I / F 39a, and the header 31a is input in the order of input to the Isoc packet generation unit 42a. Forward. On the other hand, the FIFO 44b dedicated to the Isoc data stores only the Isoc data 31b to be transferred by the Isoc packet 31 transferred from the first DMAC 13 via the first DMA I / F 39a, and stores the Isoc data 31b to the Isoc packet generator 42a. Transfer in the order entered. The first DMAC 13 issues an instruction and outputs the instruction to the instruction analysis unit 43 via the first DMA I / F 39a. The instruction analysis unit 43 analyzes the instruction and outputs data necessary for generating the Isoc packet 31 to the Isoc packet generation unit 42a.

Isocパケット生成部42aは、インストラクション解析部43からのインストラクションデータに基づいてIsocヘッダ専用FIFO44aからのヘッダ31aとIsocデータ専用FIFO44bからのIsocデータ31bとから送信用のIsocパケット31を生成する。Isocパケット生成部42aは、生成した送信用のIsocパケット31をCRC生成回路41aに供給される。CRC生成回路41aはIsocパケット生成部42aからのIsocパケット31のヘッダ31aとIsocデータ31bについて誤り訂正符号を生成しその生成した誤り訂正符号をそれぞれヘッダ31aとIsocデータ31bに付加する。誤り訂正符号が付加されたIsocパケット31は、リンク層処理回路36に供給される。   The Isoc packet generator 42a generates an Isoc packet 31 for transmission from the header 31a from the Isoc header dedicated FIFO 44a and the Isoc data 31b from the Isoc data dedicated FIFO 44b based on the instruction data from the instruction analyzing unit 43. The Isoc packet generation unit 42a supplies the generated Isoc packet 31 for transmission to the CRC generation circuit 41a. The CRC generation circuit 41a generates an error correction code for the header 31a and the Isoc data 31b of the Isoc packet 31 from the Isoc packet generation unit 42a, and adds the generated error correction code to the header 31a and the Isoc data 31b, respectively. The Isoc packet 31 to which the error correction code is added is supplied to the link layer processing circuit 36.

一方、Asynパケット用処理回路は、誤り訂正生成回路(以下、CRC生成回路という)45a、誤り訂正チェック回路(以下、CRCチェック回路という)45b、Asynパケット生成部46a、Asynパケット解析部46b、及び、インストラクション解析部47とから構成されている。又、Asyn転送用FIFOは、Asynヘッダ専用FIFO48aとAsynデータ専用FIFO48bとから構成されている。   On the other hand, the Asyn packet processing circuit includes an error correction generation circuit (hereinafter referred to as a CRC generation circuit) 45a, an error correction check circuit (hereinafter referred to as a CRC check circuit) 45b, an Asyn packet generation unit 46a, an Asyn packet analysis unit 46b, and , And an instruction analysis unit 47. The Asyn transfer FIFO is composed of an Asyn header dedicated FIFO 48a and an Asyn data dedicated FIFO 48b.

CRCチェック回路45bは、リンク層処理回路36からの受信用のAsynパケット32が供給される。CRCチェック回路45bは、受信用のAsynパケット32の誤り訂正の処理をヘッダ32a及びAsynデータ32bごとに行いその訂正符号を除去して、Asynパケット解析部46bに受信用のAsynパケット32のデータを供給する。該解析部46bは、該Asynパケット32を構成するヘッダ32aとAsynデータ32bとに分離する。パケットのヘッダのバイト数は固定(8バイトであり、うち4バイトがヘッダ情報で残り4バイトが誤り訂正符号)であり、Asynデータのバイト数はヘッダ中のトランザクションコードを見ることによってわかる。そして、このバイト数をカウントすることにより分離処理が行われる。   The CRC check circuit 45 b is supplied with the Asyn packet 32 for reception from the link layer processing circuit 36. The CRC check circuit 45b performs error correction processing on the receiving Asyn packet 32 for each of the header 32a and Asyn data 32b, removes the correction code, and sends the data of the receiving Asyn packet 32 to the Asyn packet analysis unit 46b. Supply. The analysis unit 46b separates the header 32a and the Asyn data 32b constituting the Asyn packet 32. The number of bytes in the header of the packet is fixed (8 bytes, of which 4 bytes are header information and the remaining 4 bytes are error correction codes), and the number of bytes of Asyn data can be found by looking at the transaction code in the header. Then, the separation process is performed by counting the number of bytes.

分離されたヘッダ32aは、Asynヘッダ専用FIFO48aに供給される。分離されたAsynデータ32bは、Asynデータ専用FIFO48bに供給される。従って、Asynヘッダ専用FIFO48aは、ヘッダ32aのみが格納され、Asynデータ専用FIFO48bは、Asynデータ32bのみが格納される。   The separated header 32a is supplied to the Asyn header dedicated FIFO 48a. The separated Asyn data 32b is supplied to the Asyn data dedicated FIFO 48b. Therefore, the Asyn header dedicated FIFO 48a stores only the header 32a, and the Asyn data dedicated FIFO 48b stores only the Asyn data 32b.

Asynヘッダ専用FIFO48aは、格納した分離されたヘッダ32aを入力した順に第2DMAI/F39bを介して順番に第2DMAC14に転送する。Asynデータ専用FIFO48bは、格納した分離されたAsynデータ32bを入力した順に第2DMAI/F39bを介して順番に第2DMAC14に転送する。従って、第2DMAC14は、第2DMAI/F39bを介してAsynヘッダ専用FIFO48aからAsynヘッダ32aのみを入力し、該ヘッダ32a中のトランザクションのタイプ、データ長、アドレス等に基づいて第2DMAI/F39bを介してAsynデータ専用FIFO48bのAsynデータ32bを入力することができる。   The Asyn header dedicated FIFO 48a transfers the stored separated header 32a to the second DMAC 14 in order via the second DMA I / F 39b in the order of input. The Asyn data dedicated FIFO 48b transfers the stored separated Asyn data 32b to the second DMAC 14 in order via the second DMA I / F 39b in the order of input. Therefore, the second DMAC 14 inputs only the Asyn header 32a from the Asyn header dedicated FIFO 48a through the second DMA I / F 39b, and passes through the second DMA I / F 39b based on the transaction type, data length, address, etc. in the header 32a. Asyn data 32b of the FIFO 48b dedicated to Asyn data can be input.

又、前記Asynヘッダ専用FIFO48aは、第2DMAI/F39bを介して第2DMAC14から転送されるAsynパケット32に必要なヘッダ32aのみを格納し該ヘッダ32aをAsynパケット生成部46aに対して入力した順番に転送する。一方、前記Asynデータ専用FIFO48bは、第2DMAI/F39bを介して第2DMAC14から転送されるAsynパケット32にて転送するAsynデータ32bのみを格納し、該Asynデータ32bをAsynパケット生成部46aに対して入力した順番に転送する。第2DMAC14は、インストラクションを発行し、該インストラクションを第2DMAI/F39bを介してインストラクション解析部47に出力する。インストラクション解析部47は、このインストラクションを解析しAsynパケット32を生成するに必要なデータをAsynパケット生成部46aに出力する。   The Asyn header dedicated FIFO 48a stores only the header 32a necessary for the Asyn packet 32 transferred from the second DMAC 14 via the second DMA I / F 39b, and in the order in which the header 32a is input to the Asyn packet generator 46a. Forward. On the other hand, the Asyn data dedicated FIFO 48b stores only Asyn data 32b transferred by the Asyn packet 32 transferred from the second DMAC 14 via the second DMA I / F 39b, and stores the Asyn data 32b to the Asyn packet generator 46a. Transfer in the order entered. The second DMAC 14 issues an instruction and outputs the instruction to the instruction analysis unit 47 via the second DMA I / F 39b. The instruction analysis unit 47 analyzes this instruction and outputs data necessary for generating the Asyn packet 32 to the Asyn packet generation unit 46a.

Asynパケット生成部46aは、インストラクション解析部47からのインストラクションデータに基づいてAsynヘッダ専用FIFO48aからのヘッダ32aとAsynデータ専用FIFO48bからのAsynデータ32bとから送信用のAsynパケット32を生成する。Asynパケット生成部46aは、生成した送信用のAsynパケット32をCRC生成回路45aに供給される。CRC生成回路45aは、Asynパケット生成部46aからのAsynパケット32のヘッダ32aとAsynデータ32bについて誤り訂正符号を生成し、その生成した誤り訂正符号をそれぞれヘッダ32aとAsynデータ32bに付加する。誤り訂正符号が付加されたAsynパケット32は、前記リンク層処理回路36に供給される。   The Asyn packet generator 46 a generates an Asyn packet 32 for transmission from the header 32 a from the Asyn header dedicated FIFO 48 a and the Asyn data 32 b from the Asyn data dedicated FIFO 48 b based on the instruction data from the instruction analyzer 47. The Asyn packet generation unit 46a supplies the generated transmission Asyn packet 32 to the CRC generation circuit 45a. The CRC generation circuit 45a generates an error correction code for the header 32a and the Asyn data 32b of the Asyn packet 32 from the Asyn packet generation unit 46a, and adds the generated error correction code to the header 32a and the Asyn data 32b, respectively. The Asyn packet 32 to which the error correction code is added is supplied to the link layer processing circuit 36.

次に、上記のように構成したIPC11の作用について説明する。
今、画像データが複数の受信用のIsocパケット31となって各Isocサイクル毎に発生すると、該Isocパケット31aは順次CRCチェック回路41bにリンク層処理回路36から供給される。各Isocパケット31は、CRCチェック回路41bにてヘッダ31a及びIsocデータ31bごとに誤り訂正の処理を行った後に該訂正符号が除去されてIsocパケット解析部42bに供給される。各Isocパケット31は、解析部42bにてIsocパケット31を構成するヘッダ31aとIsocデータ31bとに分離し、ヘッダ31aをIsocヘッダ専用FIFO44aを供給し、Isocデータ31bをIsocデータ専用FIFO44bに供給する。
Next, the operation of the IPC 11 configured as described above will be described.
Now, when the image data becomes a plurality of reception Isoc packets 31 and is generated for each Isoc cycle, the Isoc packets 31a are sequentially supplied from the link layer processing circuit 36 to the CRC check circuit 41b. Each Isoc packet 31 is subjected to error correction processing for each header 31a and Isoc data 31b in the CRC check circuit 41b, and then the correction code is removed and supplied to the Isoc packet analysis unit 42b. Each Isoc packet 31 is separated into a header 31a and an Isoc data 31b constituting the Isoc packet 31 by the analysis unit 42b, the header 31a is supplied with the FIFO 44a dedicated to the Isoc header, and the Isoc data 31b is supplied to the FIFO 44b dedicated to the Isoc data .

Isocヘッダ専用FIFO44aに格納された各Isocパケット31のヘッダ31aは、第1DMAI/F39aを介して順番に第1DMAC13にて読み出される。第1DMAC13は、前記ヘッダ31a中のトランザクションのタイプ、データ長、アドレス等に基づいて第1DMAI/F39aを介してIsocデータ専用FIFO44bの各Isocパケット31のIsocデータ31bを順番に読み出す。そして、第1DMAC13は、Isocデータ専用FIFO44bから連続して読み出した各パケット31のIsocデータ31bを1つの画像データとしてデータ処理を行う。   The header 31a of each Isoc packet 31 stored in the Isoc header dedicated FIFO 44a is sequentially read out by the first DMAC 13 via the first DMA I / F 39a. The first DMAC 13 sequentially reads the Isoc data 31b of each Isoc packet 31 of the Isoc data dedicated FIFO 44b via the first DMA I / F 39a based on the transaction type, data length, address and the like in the header 31a. Then, the first DMAC 13 performs data processing using the Isoc data 31b of each packet 31 continuously read from the Isoc data dedicated FIFO 44b as one image data.

次に、画像データが複数の送信用のIsocデータ31となって第1DMAC13から出力されると、送信用の各Isocデータ31は、第1DMAI/F39aを介して前記Isocデータ専用FIFO44bを介して格納される。一方、第1DMAC13は、第1DMAI/F39aを介して前記Isocヘッダ専用FIFO44aに第1DMAC13から転送されたIsocデータ31aをIsocパケット31にするのに必要なヘッダ31aを格納する。さらに、第1DMAC13は、第1DMAI/F39aを介してインストラクションをインストラクション解析部43に出力する。インストラクション解析部43は、インストラクションに基づいてIsocパケット31を生成するに必要なデータをIsocパケット生成部42aに出力する。   Next, when the image data is output from the first DMAC 13 as a plurality of Isoc data 31 for transmission, each of the Isoc data 31 for transmission is stored via the first DMA I / F 39a via the FIFO 44b dedicated to Isoc data. Is done. On the other hand, the first DMAC 13 stores the header 31a necessary for converting the Isoc data 31a transferred from the first DMAC 13 into the Isoc packet 31 to the Isoc header dedicated FIFO 44a via the first DMA I / F 39a. Further, the first DMAC 13 outputs an instruction to the instruction analysis unit 43 via the first DMA I / F 39a. The instruction analysis unit 43 outputs data necessary for generating the Isoc packet 31 based on the instruction to the Isoc packet generation unit 42a.

Isocパケット生成部42aは、このインストラクションデータに基づいてIsocヘッダ専用FIFO44aからのヘッダ31aとIsocデータ専用FIFO44bからのIsocデータ31bとから送信用のIsocパケット31を生成する。Isocパケット生成部42aにて生成した送信用のIsocパケット31は、CRC生成回路41aに供給される。送信用のIsocパケット31は、CRC生成回路41aにてヘッダ31aとIsocデータ31bに誤り訂正符号が付加されてリンク層処理回路36に供給される。   The Isoc packet generation unit 42a generates an Isoc packet 31 for transmission from the header 31a from the Isoc header dedicated FIFO 44a and the Isoc data 31b from the Isoc data dedicated FIFO 44b based on the instruction data. The Isoc packet 31 for transmission generated by the Isoc packet generation unit 42a is supplied to the CRC generation circuit 41a. The Isoc packet 31 for transmission is supplied to the link layer processing circuit 36 after the CRC generation circuit 41a adds an error correction code to the header 31a and the Isoc data 31b.

尚、受信用のAsynパケット32も、前記した受信用のIsocパケット31と同様に、CRCチェック回路45b、Asynパケット解析部46b、Asynヘッダ専用FIFO48a、及び、Asynデータ専用FIFO48bが動作して、Asynパケット32のAsynデータ32bは、第2DMAC14に供給される。   The reception Asyn packet 32 is also operated by the CRC check circuit 45b, the Asyn packet analysis unit 46b, the Asyn header dedicated FIFO 48a, and the Asyn data dedicated FIFO 48b in the same manner as the reception Isoc packet 31 described above. The Asyn data 32b of the packet 32 is supplied to the second DMAC 14.

又、第2DMAC14から出力されるAsynデータ32bは、前記した受信用のIsocデータ31bと同様に、CRC生成回路45a、Asynパケット生成部46a、Asynヘッダ専用FIFO48a、及び、Asynデータ専用FIFO48bが動作してAsynパケット32が生成される。   The Asyn data 32b output from the second DMAC 14 is operated by the CRC generation circuit 45a, the Asyn packet generation unit 46a, the Asyn header dedicated FIFO 48a, and the Asyn data dedicated FIFO 48b in the same manner as the reception Isoc data 31b. Asyn packet 32 is generated.

次に、上記のように第4実施の形態で構成したIPC11の特徴を以下に述べる。
(1)本実施の形態において、受信用のIsocパケット31をヘッダ31aとIsocデータ31bとに分離し、ヘッダ31aをIsocヘッダ専用FIFO44aにIsocデータ31bをIsocデータ専用FIFO44bにそれぞれ格納するようにした。そして、第1DMAC13は、Isocヘッダ専用FIFO44aの各Isocパケット31のヘッダ31a中のトランザクションのタイプ、データ長、アドレス等を読み出す。第1DMAC13は、該トランザクションのタイプ、データ長、アドレス等に基づいて第1DMAI/F39aを介してIsocデータ専用FIFO44bの各Isocパケット31のIsocデータ31bを順番に読み出すようにした。
Next, features of the IPC 11 configured in the fourth embodiment as described above will be described below.
(1) In the present embodiment, the reception Isoc packet 31 is separated into the header 31a and the Isoc data 31b, and the header 31a is stored in the Isoc header dedicated FIFO 44a and the Isoc data 31b is stored in the Isoc data dedicated FIFO 44b. . Then, the first DMAC 13 reads the transaction type, data length, address and the like in the header 31a of each Isoc packet 31 of the FIFO 44a dedicated FIFO 44a. The first DMAC 13 sequentially reads the Isoc data 31b of each Isoc packet 31 of the Isoc data dedicated FIFO 44b via the first DMA I / F 39a based on the transaction type, data length, address, and the like.

従って、第1DMAC13は、各パケット31のIsocデータ31bがIsocデータ専用FIFO44bから連続して読み出されるため、各Isocデータ31bを1つの画像データとして合成する処理する時、従来のようにヘッダ31aを除去して合成する処理を行う。従って、従来のようにヘッダ31aを除去する処理がないため、第1DMAC13は、その分だけ負荷が軽減されるとともに合成処理動作の時間が短縮される。その結果、連続性が要求される動画等の画像データを転送するIsocパケット31は、連続転送及びリアルタイム転送が確保されリアリティのある動画の再生を保証することができる。   Accordingly, since the first DMAC 13 continuously reads the Isoc data 31b of each packet 31 from the Isoc data dedicated FIFO 44b, the header 31a is removed as in the conventional case when processing the Isoc data 31b as one image data. Then, the process of combining is performed. Therefore, since there is no processing for removing the header 31a as in the prior art, the load of the first DMAC 13 is reduced by that much and the time of the combining processing operation is shortened. As a result, the Isoc packet 31 for transferring image data such as a moving image that requires continuity can ensure continuous transfer and real-time transfer, and guarantee the reproduction of a realistic moving image.

第2DMAC14も同様に、各パケット32のAsynデータ32bがAsynデータ専用FIFO48bから連続して読み出されたため、その分だけ負荷が軽減される。
(2)本実施の形態において、送信用のIsocデータ31bをIsocデータ専用FIFO44bに、Isocパケット31のためのヘッダ31aをIsocヘッダ専用FIFO44aにそれぞれ格納するようにした。第1DMAC13は、送信用のIsocデータ31aをIsocパケット31にするためのインストラクションをインストラクション解析部43に出力する。インストラクション解析部43は、Isocパケット31を生成するに必要なデータをIsocパケット生成部42aに出力する。Isocパケット生成部42aは、インストラクションデータに基づいてIsocヘッダ専用FIFO44aのヘッダ31aとIsocデータ専用FIFO44bのIsocデータ31bとから送信用のIsocパケット31を生成する。CRC生成回路41aは、Isocパケット生成部42aにて生成した送信用のIsocパケット31に誤り訂正符号を付加してリンク層処理回路36に供給するようにした。従って、第1DMAC13は、IPC11にてIsocデータ31bのパケット31を生成するようにしたので、その分だけ負荷が軽減される。
Similarly, in the second DMAC 14, since the Asyn data 32b of each packet 32 is continuously read from the Asyn data dedicated FIFO 48b, the load is reduced accordingly.
(2) In the present embodiment, the Isoc data 31b for transmission is stored in the FIFO 44b dedicated to Isoc data, and the header 31a for the Isoc packet 31 is stored in the FIFO 44a dedicated to Isoc header. The first DMAC 13 outputs an instruction for making the Isoc data 31 a for transmission into the Isoc packet 31 to the instruction analysis unit 43. The instruction analysis unit 43 outputs data necessary for generating the Isoc packet 31 to the Isoc packet generation unit 42a. The Isoc packet generation unit 42a generates a transmission Isoc packet 31 from the header 31a of the Isoc header dedicated FIFO 44a and the Isoc data 31b of the Isoc data dedicated FIFO 44b based on the instruction data. The CRC generation circuit 41 a adds an error correction code to the transmission Isoc packet 31 generated by the Isoc packet generation unit 42 a and supplies the error correction code to the link layer processing circuit 36. Accordingly, since the first DMAC 13 generates the packet 31 of the Isoc data 31b in the IPC 11, the load is reduced accordingly.

第2DMAC14も同様に、IPC11にてAsynデータ32bのパケット32を生成するようにしたので、その分だけ負荷が軽減される。
(第5実施の形態)
図10は、第5の実施の形態のIPC11の回路構成を示すブロック回路を示す。IPC11は、IEEE1394用インタフェース(IEEE1394用I/F)51、物理層処理回路52、リンク層処理回路53、誤り訂正符号生成回路(CRC生成回路)54a、誤り訂正チェック回路(CRCチェック回路)54b、パケット生成部55a、パケット解析部55b、インストラクション解析部56、ヘッダ専用FIFO57a、データ専用FIFO57b、及び、MPUインタフェース(MPUI/F)59とから構成されている。
Similarly, since the second DMAC 14 generates the packet 32 of the Asyn data 32b in the IPC 11, the load is reduced accordingly.
(Fifth embodiment)
FIG. 10 shows a block circuit showing a circuit configuration of the IPC 11 according to the fifth embodiment. The IPC 11 includes an IEEE1394 interface (IEEE1394 I / F) 51, a physical layer processing circuit 52, a link layer processing circuit 53, an error correction code generation circuit (CRC generation circuit) 54a, an error correction check circuit (CRC check circuit) 54b, The packet generation unit 55a, the packet analysis unit 55b, the instruction analysis unit 56, a header dedicated FIFO 57a, a data dedicated FIFO 57b, and an MPU interface (MPUI / F) 59 are configured.

IEEE1394用I/F51は、前記IEEE1394バス5を介して前記デジタルVTR2、カラーページプリンタ3に接続されて、デジタルVTR2のIPCとの間及びカラーページプリンタ3のIPCとの間でIsocパケット31と、Asynパケット32のやり取りを行う。物理層処理回路52は、IEEE1394用I/F51が受信したIsocパケット31及びAsynパケット32を入力し、リンク層処理回路53に供給する。リンク層処理回路53は、パケット31,32の先頭に付したヘッダ31a,32aの内容に基づいて自身(パソコン1)宛のパケットかどうか判断し、自身宛のパケットであれば該パケット31,32をCRCチェック回路54bに供給する。又、自身宛のパケットでない場合、リンク層処理回路53は、該パケット31,32を物理層処理回路52及びIEEE1394用I/F51を介してその送信先のデジタルVTR2、カラーページプリンタ3、又は、デジタルビデオカメラ4に送信する。   The IEEE 1394 I / F 51 is connected to the digital VTR 2 and the color page printer 3 via the IEEE 1394 bus 5 and is connected to the IP V of the digital VTR 2 and to the IPC of the color page printer 3. Asyn packet 32 is exchanged. The physical layer processing circuit 52 inputs the Isoc packet 31 and the Asyn packet 32 received by the IEEE1394 I / F 51 and supplies them to the link layer processing circuit 53. The link layer processing circuit 53 determines whether the packet is addressed to itself (personal computer 1) based on the contents of the headers 31a, 32a attached to the heads of the packets 31, 32. Is supplied to the CRC check circuit 54b. If the packet is not addressed to itself, the link layer processing circuit 53 sends the packets 31 and 32 via the physical layer processing circuit 52 and the IEEE1394 I / F 51 to the destination digital VTR 2, color page printer 3, or Transmit to the digital video camera 4.

又、物理層処理回路52は、リンク層処理回路53から送信用のIsocパケット31及び送信用のAsynパケット32を入力する。物理層処理回路52は、該Isocパケット31及びAsynパケット32を第1又は第2の1394用I/F26a,26bを介してその送信先のデジタルVTR2、カラーページプリンタ3、又は、デジタルビデオカメラ4に送信する。   Further, the physical layer processing circuit 52 inputs the transmission Isoc packet 31 and the transmission Asyn packet 32 from the link layer processing circuit 53. The physical layer processing circuit 52 sends the Isoc packet 31 and Asyn packet 32 via the first or second 1394 I / F 26a, 26b to the destination digital VTR 2, color page printer 3, or digital video camera 4. Send to.

リンク層処理回路53は、物理層処理回路52から受信したIsocパケット31及びAsynパケット32を入力する。リンク層処理回路53は、受信したIsocパケット31及びAsynパケット32をCRCチェック回路54bに供給する。   The link layer processing circuit 53 inputs the Isoc packet 31 and the Asyn packet 32 received from the physical layer processing circuit 52. The link layer processing circuit 53 supplies the received Isoc packet 31 and Asyn packet 32 to the CRC check circuit 54b.

又、リンク層処理回路53は、CRC生成回路54aから送信用のIsocパケット31及びAsynパケット32が供給される。リンク層処理回路53は、送信用のIsocパケット31及びAsynパケット32を物理層処理回路52に供給する。   The link layer processing circuit 53 is supplied with the Isoc packet 31 and Asyn packet 32 for transmission from the CRC generation circuit 54a. The link layer processing circuit 53 supplies the Isoc packet 31 and Asyn packet 32 for transmission to the physical layer processing circuit 52.

CRCチェック回路54bは、リンク層処理回路53からの受信用のIsocパケット31及びAsynパケット32が供給される。CRCチェック回路54bは、受信用のIsocパケット31及びAsynパケット32の誤り訂正の処理をヘッダ31a,32a及びデータ31b,32bごとに行いその訂正符号を除去して、パケット解析部55bに受信用のパケット31,32のデータを供給する。該解析部55bは、前記第4の実施の形態と同様に該パケット31,32を構成するヘッダ31a,32aとデータ31b,32bとに分離する。   The CRC check circuit 54 b is supplied with the Isoc packet 31 and Asyn packet 32 for reception from the link layer processing circuit 53. The CRC check circuit 54b performs error correction processing for the reception Isoc packet 31 and Asyn packet 32 for each of the headers 31a and 32a and the data 31b and 32b, removes the correction code, and sends the packet analysis unit 55b for reception. The data of the packets 31 and 32 is supplied. The analysis unit 55b separates the headers 31a and 32a and the data 31b and 32b constituting the packets 31 and 32 as in the fourth embodiment.

分離されたヘッダ31a,32aは、ヘッダ専用FIFO57aに供給される。分離されたデータ31b,32bは、データ専用FIFO57bに供給される。従って、ヘッダ専用FIFO57aは、ヘッダ31a,32aのみが格納され、データ専用FIFO57bは、データ31b,32bのみが格納される。   The separated headers 31a and 32a are supplied to the header dedicated FIFO 57a. The separated data 31b and 32b are supplied to the data dedicated FIFO 57b. Accordingly, the header dedicated FIFO 57a stores only the headers 31a and 32a, and the data dedicated FIFO 57b stores only the data 31b and 32b.

ヘッダ専用FIFO57aは、格納した分離されたヘッダ31a,,32aを入力した順にMPUI/F58を介して順番にMPU12に転送する。データ専用FIFO57bは、格納した分離されたデータ31b,32bを入力した順にMPUI/F58を介して順番にMPU12に転送する。従って、MPU12は、MPUI/F58を介してヘッダ専用FIFO57aからヘッダ31a,32aのみを入力し、該ヘッダ31a,32a中のトランザクションのタイプ、データ長、アドレス等に基づいてMPUI/F58を介してデータ専用FIFO57bのデータ31b,32bを入力することができる。   The header dedicated FIFO 57a sequentially transfers the stored separated headers 31a, 32a to the MPU 12 via the MPUI / F 58 in the order of input. The data dedicated FIFO 57b sequentially transfers the stored separated data 31b and 32b to the MPU 12 via the MPUI / F 58 in the order of input. Therefore, the MPU 12 inputs only the headers 31a and 32a from the header dedicated FIFO 57a via the MPUI / F 58, and the data via the MPUI / F 58 based on the transaction type, data length, address, etc. in the headers 31a and 32a. Data 31b and 32b of the dedicated FIFO 57b can be input.

又、前記ヘッダ専用FIFO57aは、MPUI/F58を介してMPU12から転送されるIsocパケット31及びAsynパケット32に必要なヘッダ31a,32aのみを格納し該ヘッダ31a、32aをパケット生成部55aに入力した順番に転送する。一方、前記データ専用FIFO57bは、MPUI/F58を介してMPU12から転送されるIsocパケット31及びAsynパケット32にて転送するIsocデータ31b及びAsynデータ32bのみを格納し、該データ31b,32bをパケット生成部55aに入力した順番に転送する。MPU12は、インストラクションを発行し、該インストラクションをMPUI/F58を介してインストラクション解析部56に出力する。インストラクション解析部56は、このインストラクションを解析しIsocパケット31及びAsynパケット32を生成するに必要なデータをパケット生成部55aに出力する。   The header dedicated FIFO 57a stores only the headers 31a and 32a necessary for the Isoc packet 31 and the Asyn packet 32 transferred from the MPU 12 via the MPUI / F 58, and inputs the headers 31a and 32a to the packet generation unit 55a. Transfer in order. On the other hand, the data dedicated FIFO 57b stores only the Isoc packet 31 and Asyn data 32b transferred by the Isoc packet 31 and Asyn packet 32 transferred from the MPU 12 via the MPUI / F 58, and generates the data 31b and 32b as a packet. The data are transferred in the order input to the unit 55a. The MPU 12 issues an instruction and outputs the instruction to the instruction analysis unit 56 via the MPUI / F 58. The instruction analysis unit 56 analyzes this instruction and outputs data necessary for generating the Isoc packet 31 and the Asyn packet 32 to the packet generation unit 55a.

パケット生成部55aは、インストラクション解析部56からのインストラクションデータに基づいてヘッダ専用FIFO57aからのヘッダ31a,32aとデータ専用FIFO57bからのデータ31b,32bとから送信用のパケット31,32を生成する。パケット生成部55aは、生成した送信用のパケット31,32をCRC生成回路54aに供給される。CRC生成回路54aはパケット31,32のヘッダ31a,31aとデータ31b,32bについて誤り訂正符号を生成しその生成した誤り訂正符号をそれぞれヘッダ31a,32aとデータ31b,32bに付加する。誤り訂正符号が付加された送信用のパケット31,32は、前記リンク層処理回路53に供給される。   The packet generation unit 55a generates transmission packets 31 and 32 from the headers 31a and 32a from the header dedicated FIFO 57a and the data 31b and 32b from the data dedicated FIFO 57b based on the instruction data from the instruction analysis unit 56. The packet generation unit 55a supplies the generated transmission packets 31 and 32 to the CRC generation circuit 54a. The CRC generation circuit 54a generates error correction codes for the headers 31a and 31a and the data 31b and 32b of the packets 31 and 32, and adds the generated error correction codes to the headers 31a and 32a and the data 31b and 32b, respectively. The transmission packets 31 and 32 to which the error correction code is added are supplied to the link layer processing circuit 53.

次に、上記のように構成したIPC11の作用について説明する。
今、画像データが複数の受信用のIsocパケット31となって各Isocサイクル毎に発生すると、該Isocパケット31は順次CRCチェック回路54にリンク層処理回路53から供給される。各Isocパケット31は、CRCチェック回路54bにてヘッダ31a及びIsocデータ31bごとに誤り訂正の処理を行った後に該訂正符号が除去されてパケット解析部55bに供給される。各Isocパケット31は、解析部55bにてIsocパケット31をヘッダ31aとIsocデータ31bとに分離し、ヘッダ31aをヘッダ専用FIFO57aを供給し、Isocデータ31bをデータ専用FIFO57bに供給する。
Next, the operation of the IPC 11 configured as described above will be described.
Now, when image data becomes a plurality of reception Isoc packets 31 and is generated for each Isoc cycle, the Isoc packets 31 are sequentially supplied from the link layer processing circuit 53 to the CRC check circuit 54. Each Isoc packet 31 is subjected to error correction processing for each header 31a and Isoc data 31b in the CRC check circuit 54b, and then the correction code is removed and supplied to the packet analysis unit 55b. In each Isoc packet 31, the analysis unit 55b separates the Isoc packet 31 into a header 31a and an Isoc data 31b, supplies the header 31a to the header dedicated FIFO 57a, and supplies the Isoc data 31b to the data dedicated FIFO 57b.

ヘッダ専用FIFO57aに格納された各Isocパケット31のヘッダ31aは、MPUI/F58を介して順番にMPU12にて読み出される。MPU12は、前記ヘッダ31a中のトランザクションのタイプ、データ長、アドレス等に基づいてMPUI/F58を介してデータ専用FIFO57bから各Isocパケット31のIsocデータ31bを順番に読み出す。そして、MPU12は、データ専用FIFO57bから連続して読み出した各パケット31のIsocデータ31bを1つの画像データとしてデータ処理を行う。   The header 31a of each Isoc packet 31 stored in the header dedicated FIFO 57a is sequentially read out by the MPU 12 via the MPUI / F 58. The MPU 12 sequentially reads the Isoc data 31b of each Isoc packet 31 from the data dedicated FIFO 57b via the MPUI / F 58 based on the transaction type, data length, address, etc. in the header 31a. Then, the MPU 12 performs data processing using the Isoc data 31b of each packet 31 read continuously from the data dedicated FIFO 57b as one image data.

次に、画像データが複数の送信用のIsocデータ31となってMPU12から出力されると、送信用の各Isocデータ31は、MPUI/F58を介して前記データ専用FIFO57bを介して格納される。一方、MPU12は、MPUI/F58を介して前記ヘッダ専用FIFO57aに前記MPU12から転送されたIsocデータ31aをIsocパケット31にするのに必要なヘッダ31aを格納する。さらに、MPU12は、MPUI/F58を介してインストラクションをインストラクション解析部56に出力する。インストラクション解析部56は、インストラクションに基づいてパケット31を生成するに必要なデータをパケット生成部42aに出力する。   Next, when the image data is output from the MPU 12 as a plurality of Isoc data 31 for transmission, each Isoc data 31 for transmission is stored via the MPUI / F 58 via the data dedicated FIFO 57b. On the other hand, the MPU 12 stores the header 31 a necessary for making the Isoc data 31 a transferred from the MPU 12 into the Isoc packet 31 in the header dedicated FIFO 57 a via the MPUI / F 58. Further, the MPU 12 outputs an instruction to the instruction analysis unit 56 via the MPUI / F 58. The instruction analysis unit 56 outputs data necessary for generating the packet 31 based on the instruction to the packet generation unit 42a.

パケット生成部55aは、インストラクション解析部56からのインストラクションデータに基づいてヘッダ専用FIFO57aからのヘッダ31aとデータ専用FIFO57bからのIsocデータ31bとから送信用のIsocパケット31を生成する。Isocパケット生成部42aにて生成した送信用のIsocパケット31は、CRC生成回路41aに供給される。送信用のIsocパケット31は、CRC生成回路54aにてヘッダ31aとIsocデータ31bに誤り訂正符号が付加されてリンク層処理回路36に供給される。   Based on the instruction data from the instruction analysis unit 56, the packet generation unit 55a generates a transmission Isoc packet 31 from the header 31a from the header dedicated FIFO 57a and the Isoc data 31b from the data dedicated FIFO 57b. The Isoc packet 31 for transmission generated by the Isoc packet generation unit 42a is supplied to the CRC generation circuit 41a. The Isoc packet 31 for transmission is supplied to the link layer processing circuit 36 after the CRC generation circuit 54a adds an error correction code to the header 31a and the Isoc data 31b.

尚、受信用のAsynパケット32も、前記した受信用のIsocパケット31と同様に、CRCチェック回路54b、パケット解析部55b、ヘッダ専用FIFO57a、及び、データ専用FIFO57bが動作して、Asynパケット32のAsynデータ32bは、MPU12に供給される。   Note that the reception Asyn packet 32 is similar to the above-described reception Isoc packet 31, and the CRC check circuit 54b, the packet analysis unit 55b, the header dedicated FIFO 57a, and the data dedicated FIFO 57b operate, and the Asyn packet 32 Asyn data 32b is supplied to the MPU 12.

又、MPU12から出力されるAsynデータ32bは、前記した受信用のIsocデータ31bと同様に、CRC生成回路54a、パケット生成部55a、ヘッダ専用FIFO57a、及び、データ専用FIFO57bが動作してAsynパケット32が生成される。   Also, the Asyn data 32b output from the MPU 12 is the same as the Isoc data 31b for reception, and the Asyn packet 32 is generated by the operation of the CRC generation circuit 54a, the packet generation unit 55a, the header dedicated FIFO 57a, and the data dedicated FIFO 57b. Is generated.

次に、上記のように第5実施の形態で構成したIPC11の特徴を以下に述べる。
(1)本実施の形態において、受信用のパケット31,32をヘッダ31a,32aとデータ31b,32bとに分離し、ヘッダ31a,32aをヘッダ専用FIFO57aにデータ31b,32bをデータ専用FIFO57bにそれぞれ格納するようにした。そして、MPU12は、ヘッダ専用FIFO57aの各パケット31のヘッダ31a,32a中のトランザクションのタイプ、データ長、アドレス等を読み出す。MPU12は、該トランザクションのタイプ、データ長、アドレス等に基づいてデータ専用FIFO57bの各パケット31、32のデータ31bを順番に読み出すようにした。
Next, the characteristics of the IPC 11 configured in the fifth embodiment as described above will be described below.
(1) In this embodiment, the receiving packets 31 and 32 are separated into headers 31a and 32a and data 31b and 32b, the headers 31a and 32a are assigned to the header dedicated FIFO 57a, and the data 31b and 32b are transferred to the data dedicated FIFO 57b. Stored. Then, the MPU 12 reads the transaction type, data length, address, and the like in the headers 31a and 32a of each packet 31 of the header dedicated FIFO 57a. The MPU 12 reads the data 31b of each packet 31 and 32 of the data dedicated FIFO 57b in order based on the transaction type, data length, address, and the like.

従って、MPU12は、例えば各パケット31のIsocデータ31bがデータ専用FIFO57bから連続して読み出されるため、各Isocデータ31bを1つの画像データとして合成する処理する時、従来のようにヘッダ31aを除去して合成する処理を行う。従って、従来のようにヘッダ31aを除去する処理がないため、MPU12は、その分だけ負荷が軽減されるとともに合成処理動作の時間が短縮される。その結果、連続性が要求される動画等の画像データを転送するIsocパケット31は、連続転送及びリアルタイム転送が確保されリアリティのある動画の再生を保証することができる。   Accordingly, for example, since the Isoc data 31b of each packet 31 is continuously read from the data-dedicated FIFO 57b, the MPU 12 removes the header 31a as before when processing the Isoc data 31b as one image data. Process to compose. Therefore, since there is no processing for removing the header 31a as in the prior art, the load on the MPU 12 is reduced by that much and the time for the synthesis processing operation is shortened. As a result, the Isoc packet 31 for transferring image data such as a moving image that requires continuity can ensure continuous transfer and real-time transfer, and guarantee the reproduction of a realistic moving image.

Asyn転送モードのパケット32についても、MPU12は、同様に、各パケット32のAsynデータ32bがデータ専用FIFO57bから連続して読み出されたため、その分だけ負荷が軽減される。   Similarly, for the packet 32 in the Asyn transfer mode, the MPU 12 similarly reduces the load because the Asyn data 32b of each packet 32 has been continuously read from the data dedicated FIFO 57b.

(2)本実施の形態において、送信用のデータ31b,32bをデータ専用FIFO57bに、パケット31,32のためのヘッダ31a、32aをヘッダ専用FIFO57aにそれぞれ格納するようにした。MPU12は、送信用のデータ31b.32bをパケット31,32にするためのインストラクションをインストラクション解析部56に出力する。インストラクション解析部56は、パケット55を生成するに必要なデータをパケット生成部55aに出力する。パケット生成部55aは、該データに基づいてヘッダ専用FIFO57aのヘッダ31a,32aとデータ専用FIFO57bのデータ31b,32bとから送信用のパケット31、32を生成する。CRC生成回路54aは、送信用のパケット31,32に誤り訂正符号を付加してリンク層処理回路36に供給するようさにした。従って、MPU12は、データ31、32を転送するだけで、IPC11にてデータ31b,32bのパケット31を生成するようにしたので、その分だけ負荷が軽減される。   (2) In this embodiment, the transmission data 31b and 32b are stored in the data dedicated FIFO 57b, and the headers 31a and 32a for the packets 31 and 32 are stored in the header dedicated FIFO 57a. The MPU 12 transmits data 31b. Instructions for making 32b into packets 31 and 32 are output to the instruction analysis unit 56. The instruction analysis unit 56 outputs data necessary for generating the packet 55 to the packet generation unit 55a. The packet generator 55a generates transmission packets 31 and 32 from the headers 31a and 32a of the header dedicated FIFO 57a and the data 31b and 32b of the data dedicated FIFO 57b based on the data. The CRC generation circuit 54 a adds an error correction code to the transmission packets 31 and 32 and supplies the packet to the link layer processing circuit 36. Accordingly, since the MPU 12 generates the packet 31 of the data 31b and 32b by the IPC 11 only by transferring the data 31 and 32, the load is reduced accordingly.

第1実施の形態のIEEE1394バスを用いたシステム構成図。The system block diagram using the IEEE1394 bus of 1st Embodiment. パソコン内の構成を説明するためのブロック回路図。The block circuit diagram for demonstrating the structure in a personal computer. IEEE1394用プロトコルコントローラを説明するためのブロック回路図。The block circuit diagram for demonstrating the protocol controller for IEEE1394. 第1実施の形態の作用を説明するための説明図。Explanatory drawing for demonstrating the effect | action of 1st Embodiment. 第2実施の形態におけるIEEE1394用プロトコルコントローラを説明するためのブロック回路図。The block circuit diagram for demonstrating the protocol controller for IEEE1394 in 2nd Embodiment. 第2実施の形態の作用を説明するための説明図。Explanatory drawing for demonstrating the effect | action of 2nd Embodiment. 第3実施の形態におけるIEEE1394用プロトコルコントローラを説明するためのブロック回路図。The block circuit diagram for demonstrating the protocol controller for IEEE1394 in 3rd Embodiment. 第3実施の形態の作用を説明するための説明図。Explanatory drawing for demonstrating the effect | action of 3rd Embodiment. 第4実施の形態におけるIEEE1394用プロトコルコントローラを説明するための要部ブロック回路図。The principal part block circuit diagram for demonstrating the protocol controller for IEEE1394 in 4th Embodiment. 第5実施の形態におけるIEEE1394用プロトコルコントローラを説明するためのブロック回路図。The block circuit diagram for demonstrating the protocol controller for IEEE1394 in 5th Embodiment. 従来のIEEE1394用プロトコルコントローラの概要を説明するためのブロック回路図。FIG. 6 is a block circuit diagram for explaining an outline of a conventional IEEE1394 protocol controller. 従来のIEEE1394用プロトコルコントローラの作用を説明するための説明図。Explanatory drawing for demonstrating the effect | action of the conventional protocol controller for IEEE1394.

符号の説明Explanation of symbols

1 パーソナルコンピュータ(パソコン)
2 デジタルVTR
3 カラーページプリンタ
4 デジタルビデオカメラ
5 IEEE1394バス
11 IEEE1394プロトコルコントローラ(IPC)
12 マイクロプロセッサユニット
13 第1DMAコントローラ(第1DMAC)
14 第2DMAコントローラ(第2DMAC)
20 物理層処理回路
21 リンク層処理回路
22a、22b 第1及び第2送信パケット処理回路
23a,23b 第1及び第2受信パケット処理回路
24a〜24d 第1〜第4格納メモリ(第1から第4FIFO)
26a,26b 第1及び第2の1394用I/F
27a アイソクロナスデータ送信用インタフェース(Isoc送信用I/F)
28a アイソクロナスデータ受信用インタフェース(Isoc受信用I/F)
27b エイシンクロナスデータ送信用インタフェース(Asyn送信用I/F)
28b エイシンクロナスデータ受信用インタフェース(Asyn受信用I/F)
29 MPUインタフェース(MPUI/F)
31 Isocパケット
31a ヘッダ
31b アイソクロナスデータ(Isocデータ)
32 Asynパケット
32a ヘッダ
32b エイシンクロナスデータ(Asynデータ)
1 Personal computer
2 Digital VTR
3 Color page printer 4 Digital video camera 5 IEEE1394 bus 11 IEEE1394 protocol controller (IPC)
12 Microprocessor unit 13 First DMA controller (first DMAC)
14 Second DMA controller (second DMAC)
20 Physical layer processing circuit 21 Link layer processing circuit 22a, 22b First and second transmission packet processing circuits 23a, 23b First and second received packet processing circuits 24a-24d First to fourth storage memories (first to fourth FIFOs) )
26a, 26b First and second 1394 I / F
27a Isochronous data transmission interface (Isoc transmission I / F)
28a Isochronous data reception interface (Isoc reception I / F)
27b Asynchronous data transmission interface (Asyn transmission I / F)
28b Asynchronous data reception interface (Asyn reception I / F)
29 MPU interface (MPUI / F)
31 Isoc packet 31a Header 31b Isochronous data (Isoc data)
32 Asyn packet 32a Header 32b Asynchronous data (Asyn data)

Claims (37)

外部機器との間である一定の周期毎に第1の転送モードにて転送される第1の転送データを受信して第1の転送データ用格納メモリに格納し、
前記第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データを受信して第2の転送データ用格納メモリに格納し、
前記第1の転送データ用格納メモリに格納した第1の転送データを第1のインタフェースから読み出し、
前記第2の転送データ用格納メモリに格納した第2の転送データを第2のインタフェースから読み出すこと
を特徴とするデータ処理方法。
Receiving the first transfer data transferred in the first transfer mode at regular intervals with the external device, and storing the first transfer data in the first transfer data storage memory;
The second transfer data transferred in the second transfer mode in which the data transfer is performed at a time when the data transfer in the first transfer mode is not performed is received and stored in the second transfer data storage memory. And
Reading the first transfer data stored in the first transfer data storage memory from the first interface;
A data processing method, wherein the second transfer data stored in the second transfer data storage memory is read from a second interface.
外部機器との間である一定の周期毎に第1の転送モードにて転送される第1の転送データを受信して第1の転送データ用格納メモリに格納し、
前記第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データを受信して第2の転送データ用格納メモリに格納し、
前記第1の転送データ用格納メモリに格納した第1の転送データを第1のインタフェースを介して内部装置に転送し、
前記第2の転送データ用格納メモリに格納した第2の転送データを第2のインタフェースを介して内部装置に転送すること
を特徴とするデータ処理方法。
Receiving the first transfer data transferred in the first transfer mode at regular intervals with the external device, and storing the first transfer data in the first transfer data storage memory;
The second transfer data transferred in the second transfer mode in which the data transfer is performed at a time when the data transfer in the first transfer mode is not performed is received and stored in the second transfer data storage memory. And
Transferring the first transfer data stored in the first transfer data storage memory to the internal device via the first interface;
A data processing method comprising: transferring second transfer data stored in the second transfer data storage memory to an internal device via a second interface.
外部機器との間である一定の周期毎に第1の転送モードにて転送される第1の転送データを第1のインタフェースを介して第1の転送データ用格納メモリに格納した後に送信し、
前記第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データを第2のインタフェースを介して第2の転送データ用格納メモリに格納した後に送信すること
を特徴とするデータ処理方法。
The first transfer data transferred in the first transfer mode at a certain period between the external device and the first transfer data is stored in the first transfer data storage memory via the first interface and then transmitted.
The second transfer data transferred in the second transfer mode in which data transfer is performed at a time when the data transfer in the first transfer mode is not performed is transferred to the second transfer data via the second interface. A data processing method comprising: transmitting data after storing in a storage memory.
請求項2に記載のデータ処理方法において、前記第1の転送データ用格納メモリから読み出した受信用の第1の転送データを前記第1のインターフェースを介して前記内部装置に転送するとともに、前記内部装置からの送信用の第1の転送データを前記第1のインターフェースを介して前記第1の転送データ用格納メモリに格納し、前記送信用の第1の転送データを前記第1の転送モードにて前記外部機器に転送し、
前記第2の転送データ用格納メモリから読み出した受信用の第2の転送データを前記第2のインターフェースを介して前記内部装置に転送するとともに、前記内部装置からの送信用の第2の転送データを前記第2のインターフェースを介して前記第2の転送データ用格納メモリに格納し、前記送信用の第2の転送データを前記第2の転送モードにて前記外部機器に転送することを特徴とするデータ処理方法。
3. The data processing method according to claim 2, wherein the first transfer data for reception read from the first transfer data storage memory is transferred to the internal device via the first interface, and the internal data is transferred to the internal device. First transfer data for transmission from the apparatus is stored in the first transfer data storage memory via the first interface, and the first transfer data for transmission is set to the first transfer mode. To the external device,
The second transfer data for reception read from the second transfer data storage memory is transferred to the internal device via the second interface, and the second transfer data for transmission from the internal device. Is stored in the second transfer data storage memory via the second interface, and the second transfer data for transmission is transferred to the external device in the second transfer mode. Data processing method.
請求項1〜4のうち何れか1項に記載のデータ処理方法において、前記第1の転送データ用格納メモリと前記第2の転送データ用格納メモリとは複数の格納メモリを含むことを特徴とするデータ処理方法。 5. The data processing method according to claim 1, wherein the first transfer data storage memory and the second transfer data storage memory include a plurality of storage memories. 6. Data processing method. 請求項1〜5のうち何れか1項に記載のデータ処理方法において、前記第1の転送データ用格納メモリは、受信用メモリと送信用メモリとで構成されることを特徴とするデータ処理方法。 6. The data processing method according to claim 1, wherein the first transfer data storage memory includes a reception memory and a transmission memory. . 請求項1〜6のうち何れか1項に記載のデータ処理方法において、前記第2の転送データ用格納メモリは、受信用メモリと送信用メモリとで構成されることを特徴とするデータ処理方法。 7. The data processing method according to claim 1, wherein the second transfer data storage memory includes a reception memory and a transmission memory. . 請求項1〜7のうち何れか1項に記載のデータ処理方法において、前記第1のインタフェースは、受信用インタフェースと送信用インタフェースとで構成されることを特徴とするデータ処理方法。 8. The data processing method according to claim 1, wherein the first interface includes a reception interface and a transmission interface. 請求項1〜8のうち何れか1項に記載のデータ処理方法において、前記第2のインタフェースは、受信用インタフェースと送信用インタフェースとで構成されることを特徴とするデータ処理方法。 9. The data processing method according to claim 1, wherein the second interface includes a reception interface and a transmission interface. 請求項1〜9のうち何れか1項に記載のデータ処理方法において、第3のメモリに格納された制御データを使用することを特徴とするデータ処理方法。 The data processing method according to any one of claims 1 to 9, wherein control data stored in a third memory is used. 請求項1〜10のうち何れか1項に記載のデータ処理方法において、前記第2のインタフェースは、プロセッサへのインタフェースを兼ねることを特徴とするデータ処理方法。 The data processing method according to any one of claims 1 to 10, wherein the second interface also serves as an interface to a processor. 請求項1〜11のうち何れか1項に記載のデータ処理方法において、前記第1の転送データは、第1のDMAに供給されることを特徴とするデータ処理方法。 12. The data processing method according to claim 1, wherein the first transfer data is supplied to a first DMA. 請求項1〜12のうち何れか1項に記載のデータ処理方法において、前記第2の転送データは、第2のDMAに供給されることを特徴とするデータ処理方法。 The data processing method according to any one of claims 1 to 12, wherein the second transfer data is supplied to a second DMA. 請求項1〜13のうち何れか1項に記載のデータ処理方法において、前記第1の転送モードは、アイソクロナス転送モードであり、前記第2の転送モードは、エイシンクロナス転送モードであることを特徴とするデータ処理方法。 14. The data processing method according to claim 1, wherein the first transfer mode is an isochronous transfer mode and the second transfer mode is an asynchronous transfer mode. A characteristic data processing method. 外部機器との間である一定の周期毎に第1の転送モードにて転送される第1の転送データを受信して格納するための第1の転送データ用格納メモリと、A first transfer data storage memory for receiving and storing the first transfer data transferred in the first transfer mode at regular intervals with the external device;
前記第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データを受信して格納するための第2の転送データ用格納メモリと、  For second transfer data for receiving and storing second transfer data transferred in the second transfer mode in which data transfer is performed at a time when data transfer in the first transfer mode is not performed Storage memory;
前記第1の転送データ用格納メモリから読み出した前記第1の転送データを転送するための第1のインタフェースと、  A first interface for transferring the first transfer data read from the first transfer data storage memory;
前記第2の転送データ用格納メモリから読み出した前記第2の転送データを転送するための第2のインタフェースと  A second interface for transferring the second transfer data read from the second transfer data storage memory;
を備えたことを特徴とするデータ処理装置。A data processing apparatus comprising:
外部機器との間である一定の周期毎に第1の転送モードにて転送される第1の転送データを受信して格納するための第1の転送データ用格納メモリと、A first transfer data storage memory for receiving and storing the first transfer data transferred in the first transfer mode at regular intervals with the external device;
前記第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データを受信して格納するための第2の転送データ用格納メモリと、  For second transfer data for receiving and storing second transfer data transferred in the second transfer mode in which data transfer is performed at a time when data transfer in the first transfer mode is not performed Storage memory;
前記第1の転送データ用格納メモリから読み出した前記第1の転送データを内部装置に転送するための第1のインタフェースと、  A first interface for transferring the first transfer data read from the first transfer data storage memory to an internal device;
前記第2の転送データ用格納メモリから読み出した前記第2の転送データを内部装置に転送するための第2のインタフェースと  A second interface for transferring the second transfer data read from the second transfer data storage memory to an internal device;
を備えたことを特徴とするデータ処理装置。A data processing apparatus comprising:
外部機器との間である一定の周期毎に第1の転送モードにて転送される第1の転送データを受信する第1のインタフェースと、A first interface for receiving first transfer data transferred in a first transfer mode at regular intervals with an external device;
前記第1のインタフェースからの前記第1の転送データを格納する第1の転送データ用格納メモリと、  A first transfer data storage memory for storing the first transfer data from the first interface;
前記第1の転送モードによるデータ転送が行われていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データを受信する第2のインタフェースと、  A second interface for receiving second transfer data transferred in a second transfer mode in which data transfer is performed at a time when data transfer is not performed in the first transfer mode;
前記第2のインタフェースからの前記第2の転送データを格納する第2の転送データ用格納メモリと  A second transfer data storage memory for storing the second transfer data from the second interface;
を備えたことを特徴とするデータ処理装置。A data processing apparatus comprising:
請求項15〜17のうち何れか1項に記載のデータ処理装置において、前記第1の転送データ用格納メモリと前記第2の転送データ用格納メモリとは複数の格納メモリを含むことを特徴とするデータ処理装置。18. The data processing apparatus according to claim 15, wherein the first transfer data storage memory and the second transfer data storage memory include a plurality of storage memories. Data processing device. 請求項15〜18のうち何れか1項に記載のデータ処理装置において、前記第1の転送データ用格納メモリは、受信用メモリと送信用メモリとで構成されることを特徴とするデータ処理装置。19. The data processing device according to claim 15, wherein the first transfer data storage memory includes a reception memory and a transmission memory. . 請求項15〜19のうち何れか1項に記載のデータ処理装置において、前記第2の転送データ用格納メモリは、受信用メモリと送信用メモリとで構成されることを特徴とするデータ処理装置。20. The data processing device according to claim 15, wherein the second transfer data storage memory includes a reception memory and a transmission memory. . 請求項15〜20のうち何れか1項に記載のデータ処理装置において、前記第1のインタフェースは、受信用インタフェースと送信用インタフェースとで構成されることを特徴とするデータ処理装置。21. The data processing device according to claim 15, wherein the first interface includes a reception interface and a transmission interface. 請求項15〜21のうち何れか1項に記載のデータ処理装置において、前記第2のインタフェースは、受信用インタフェースと送信用インタフェースとで構成されることを特徴とするデータ処理装置。The data processing apparatus according to any one of claims 15 to 21, wherein the second interface includes a reception interface and a transmission interface. 請求項15〜22のうち何れか1項に記載のデータ処理装置において、制御データを格納する第3のメモリを備えることを特徴とするデータ処理装置。23. The data processing device according to claim 15, further comprising a third memory for storing control data. 請求項15〜23のうち何れか1項に記載のデータ処理装置において、前記第2のインタフェースは、プロセッサへのインタフェースを兼ねることを特徴とするデータ処理装置。24. The data processing apparatus according to claim 15, wherein the second interface also serves as an interface to a processor. 請求項15〜24のうち何れか1項に記載のデータ処理装置において、前記第1の転送データが供給される第1のDMAを備えることを特徴とするデータ処理装置。25. The data processing apparatus according to claim 15, further comprising a first DMA to which the first transfer data is supplied. 請求項15〜25のうち何れか1項に記載のデータ処理装置において、前記第2の転送データが供給される第2のDMAを備えることを特徴とするデータ処理装置。26. The data processing device according to claim 15, further comprising a second DMA to which the second transfer data is supplied. 請求項15〜26のうち何れか1項に記載のデータ処理装置において、前記第1の転送モードは、アイソクロナス転送モードであり、前記第2の転送モードは、エイシンクロナス転送モードであることを特徴とするデータ処理装置。27. The data processing apparatus according to claim 15, wherein the first transfer mode is an isochronous transfer mode, and the second transfer mode is an asynchronous transfer mode. Characteristic data processing device. 内部装置と外部機器との間に設けられたデータ処理装置であって、A data processing device provided between an internal device and an external device,
ある一定の周期毎に第1の転送モードにて転送される第1の転送データが格納される第1の転送データ用格納メモリから読み出した受信用の第1の転送データを前記内部装置に転送するとともに、前記内部装置からの送信用の第1の転送データを前記第1の転送データ用格納メモリに格納する第1のインタフェースと、  The first transfer data for reception read out from the first transfer data storage memory in which the first transfer data transferred in the first transfer mode at a certain period is stored is transferred to the internal device. And a first interface for storing the first transfer data for transmission from the internal device in the first transfer data storage memory;
前記第1の転送モードによるデータ転送が行なわれていない時間にデータ転送が行われる第2の転送モードにて転送される第2の転送データが格納される第2の転送データ用格納メモリから読み出した受信用の第2の転送データを前記内部装置に転送するとともに、前記内部装置からの送信用の第2の転送データを前記第2の転送データ用格納メモリに格納するための第2のインタフェースと  Reading from the second transfer data storage memory storing the second transfer data transferred in the second transfer mode in which the data transfer is performed at a time when the data transfer in the first transfer mode is not performed A second interface for transferring the second transfer data for reception to the internal device and storing the second transfer data for transmission from the internal device in the second transfer data storage memory When
を備えたことを特徴とするデータ処理装置。A data processing apparatus comprising:
請求項28に記載のデータ処理装置において、前記第1の転送データ用格納メモリは、前記受信用の第1の転送データを格納するための第1の受信用転送データ格納メモリと、前記送信用の第1の転送データを格納するための第1の送信用転送データ格納メモリとを含むことを特徴とするデータ処理装置。29. The data processing device according to claim 28, wherein the first transfer data storage memory includes a first reception transfer data storage memory for storing the reception first transfer data, and the transmission data. And a first transmission transfer data storage memory for storing the first transfer data. 請求項28又は請求項29に記載のデータ処理装置において、前記第2の転送データ用格納メモリは、前記受信用の第2の転送データを格納するための第2の受信用転送データ格納メモリと、前記送信用の第2の転送データを格納するための第2の送信用転送データ格納メモリとを含むことを特徴とするデータ処理装置。30. The data processing device according to claim 28, wherein the second transfer data storage memory is a second reception transfer data storage memory for storing the second transfer data for reception. And a second transmission transfer data storage memory for storing the second transmission data for transmission. 請求項28〜30のうち何れか1項に記載のデータ処理装置において、前記第1のインタフェースは、第1の受信用インタフェースと、第1の送信用インタフェースとを含むことを特徴とするデータ処理装置。31. The data processing device according to claim 28, wherein the first interface includes a first reception interface and a first transmission interface. apparatus. 請求項28〜31のうち何れか1項に記載のデータ処理装置において、前記第2のインタフェースは、第2の受信用インタフェースと、第2の送信用インタフェースとを含むことを特徴とするデータ処理装置。32. The data processing device according to claim 28, wherein the second interface includes a second reception interface and a second transmission interface. apparatus. 請求項28〜32のうち何れか1項に記載のデータ処理装置において、制御データを格納する第3のメモリを備えることを特徴とするデータ処理装置。33. A data processing apparatus according to claim 28, further comprising a third memory for storing control data. 請求項28〜33のうち何れか1項に記載のデータ処理装置において、前記第2のインタフェースは、プロセッサへのインタフェースを兼ねることを特徴とするデータ処理装置。34. The data processing apparatus according to claim 28, wherein the second interface also serves as an interface to a processor. 請求項28〜34のうち何れか1項に記載のデータ処理装置において、前記第1の転送データが供給される第1のDMAを備えることを特徴とするデータ処理装置。35. The data processing apparatus according to any one of claims 28 to 34, further comprising a first DMA to which the first transfer data is supplied. 請求項28〜35のうち何れか1項に記載のデータ処理装置において、前記第2の転送データが供給される第2のDMAを備えることを特徴とするデータ処理装置。36. The data processing apparatus according to any one of claims 28 to 35, further comprising a second DMA to which the second transfer data is supplied. 請求項28〜36のうち何れか1項に記載のデータ処理装置において、前記第1の転送モードは、アイソクロナス転送モードであり、前記第2の転送モードは、エイシンクロナス転送モードであることを特徴とするデータ処理装置。37. The data processing device according to claim 28, wherein the first transfer mode is an isochronous transfer mode, and the second transfer mode is an asynchronous transfer mode. Characteristic data processing device.
JP2005068786A 2005-03-11 2005-03-11 Data processing method and data processing apparatus Expired - Lifetime JP4234689B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005068786A JP4234689B2 (en) 2005-03-11 2005-03-11 Data processing method and data processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005068786A JP4234689B2 (en) 2005-03-11 2005-03-11 Data processing method and data processing apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP04364696A Division JP4181645B2 (en) 1996-02-29 1996-02-29 Data processing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2008286113A Division JP4659871B2 (en) 2008-11-07 2008-11-07 Data processing method

Publications (2)

Publication Number Publication Date
JP2005339512A JP2005339512A (en) 2005-12-08
JP4234689B2 true JP4234689B2 (en) 2009-03-04

Family

ID=35492966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005068786A Expired - Lifetime JP4234689B2 (en) 2005-03-11 2005-03-11 Data processing method and data processing apparatus

Country Status (1)

Country Link
JP (1) JP4234689B2 (en)

Also Published As

Publication number Publication date
JP2005339512A (en) 2005-12-08

Similar Documents

Publication Publication Date Title
JP4181645B2 (en) Data processing device
JP3843667B2 (en) Data transfer control device and electronic device
TW451136B (en) Data transmission control device and electronic machine
JP3608441B2 (en) Data transfer control device and electronic device
JP3780776B2 (en) Data transfer control device and electronic device
US6363428B1 (en) Apparatus for and method of separating header information from data in an IEEE 1394-1995 serial bus network
US6580711B1 (en) Serial interface circuit and signal processing method of the same
US7529260B2 (en) Packet transmission apparatus, packet transmission system and packet transmission method
JP3773804B2 (en) Data width conversion device and data processing device
JP4234689B2 (en) Data processing method and data processing apparatus
JP4659871B2 (en) Data processing method
JP2004207891A (en) Data communication apparatus, data communication method, data communication program, and recording medium having data communication program recorded thereon
JP3494041B2 (en) Data transfer control device and electronic equipment
JP3606133B2 (en) Data transfer control device and electronic device
JP2005137022A (en) Data processing method and data processor
US7174395B2 (en) Communication interface method and device utilizing direct memory access data transfer
JP5440105B2 (en) Image processing system, image processing apparatus, data transfer control method, program, and recording medium
JP2004056376A (en) Semiconductor device and data transfer control method
WO2000025216A1 (en) Data transfer controller and electronic device
JPH10173723A (en) Data transfer method and data transfer equipment
JP3610982B2 (en) Data transfer control device and electronic device
JP4423728B2 (en) Data transmission apparatus and method
JP2001100874A (en) Usb multi-end point optical converting apparatus
CN108833945A (en) A kind of method and device flowed using single channel DMA simultaneous transmission multichannel TS
JP2006115315A (en) Data transferring method and data transferring device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20050830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080325

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080325

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080624

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080822

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080916

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081107

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20081121

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: 20081209

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: 20081211

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

Free format text: PAYMENT UNTIL: 20111219

Year of fee payment: 3

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: 20111219

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121219

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121219

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131219

Year of fee payment: 5

EXPY Cancellation because of completion of term