JP2002171267A - Method and circuit for signal processing - Google Patents
Method and circuit for signal processingInfo
- Publication number
- JP2002171267A JP2002171267A JP2000367878A JP2000367878A JP2002171267A JP 2002171267 A JP2002171267 A JP 2002171267A JP 2000367878 A JP2000367878 A JP 2000367878A JP 2000367878 A JP2000367878 A JP 2000367878A JP 2002171267 A JP2002171267 A JP 2002171267A
- Authority
- JP
- Japan
- Prior art keywords
- gap
- node
- count value
- idle state
- end point
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000007704 transition Effects 0.000 claims description 40
- 230000005540 biological transmission Effects 0.000 claims description 17
- 238000003672 processing method Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 claims description 2
- 238000004891 communication Methods 0.000 abstract description 27
- 230000008569 process Effects 0.000 abstract description 12
- 238000007562 laser obscuration time method Methods 0.000 abstract description 2
- 230000007547 defect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 21
- 230000004044 response Effects 0.000 description 15
- 230000008859 change Effects 0.000 description 9
- 230000002093 peripheral effect Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002250 progressing effect Effects 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
- Information Transfer Systems (AREA)
- Communication Control (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、各々がIEEE1
394規格のインターフェイスを備え、シリアルに接続
されている複数の電気機器(ノード)ネットワークにお
いて信号の送受信を行うための信号処理技術に関する。BACKGROUND OF THE INVENTION The present invention relates to each of the IEEE 1
The present invention relates to a signal processing technique for transmitting and receiving signals in a plurality of serially connected electrical equipment (node) networks having an interface of the 394 standard.
【0002】[0002]
【従来の技術】従来、パーソナルコンピュータと周辺機
器、例えばビデオカメラ、デジタルスチルカメラ、スキ
ャナ、プリンタ、マウス、キーボードなどの周辺機器と
は、それぞれ異なるコネクタとケーブルとを用いて接続
されていた。2. Description of the Related Art Heretofore, personal computers and peripheral devices such as video cameras, digital still cameras, scanners, printers, mice, and keyboards have been connected using different connectors and cables.
【0003】このような方法によれば、個々の周辺機器
ごとに別々のインターフェイスが必要になり、パーソナ
ルコンピュータから多種のケーブルが延びて接続が複雑
になる。According to such a method, a separate interface is required for each peripheral device, and various types of cables extend from a personal computer, which complicates the connection.
【0004】最近、デジタルビデオカメラ、ハンディス
キャナ、デジタルスチルカメラなど、マルチメディア技
術に関連するデータを入出力する周辺機器とパーソナル
コンピュータなどの情報処理機器を接続するための統一
されたインターフェイスとして、IEEE1394規格
が提唱され、実用化が進んでいる。Recently, IEEE1394 has been used as a unified interface for connecting peripheral devices such as digital video cameras, handy scanners, and digital still cameras that input and output data related to multimedia technology to information processing devices such as personal computers. Standards have been proposed and their practical use is progressing.
【0005】IEEE1394規格によるインターフェ
イスは、シリアル接続に用いられるインターフェイスで
ある。[0005] An interface based on the IEEE 1394 standard is an interface used for serial connection.
【0006】図9に、IEEE1394シリアルバスを
介して通信を行うインターフェイスのシステム構成の概
略を示す。インターフェイスは、多数存在しうるノード
(通信網間に存在する接続点、具体的にはパーソナルコ
ンピュータや周辺機器等の電子機器を指す。)に含まれ
る。図9に示すように、IEEE1394インターフェ
イス101は、ハードウェア部103とファームウェア
部105とを含んでいる。ハードウェア部103は、物
理層コントローラ(PHY)121とリンク層コントロ
ーラ125とを含む。ファームウェア部105は、トラ
ンザクション層127とシリアルバスマネージャ113
とを含んでいる。FIG. 9 schematically shows a system configuration of an interface for performing communication via an IEEE 1394 serial bus. The interface is included in a large number of nodes (connection points existing between communication networks, specifically, electronic devices such as personal computers and peripheral devices). As shown in FIG. 9, the IEEE 1394 interface 101 includes a hardware unit 103 and a firmware unit 105. The hardware unit 103 includes a physical layer controller (PHY) 121 and a link layer controller 125. The firmware unit 105 includes the transaction layer 127 and the serial bus manager 113.
And
【0007】物理層コントローラ121は、例えば集積
回路(IC)により構成されており、バスの初期化、送
信/受信データのエンコード/デコード、バスのアービ
トレーション、バイアス電圧の出力/検出等の機能を有
している。リンク層コントローラ125もまた、例えば
ICにより構成されており、サイクルの制御やパケット
の送信/受信等の機能を有している。物理層コントロー
ラ121はシリアルバス111と接続されており、シリ
アルバス111を介して他のノードの物理層コントロー
ラと接続されている。The physical layer controller 121 is composed of, for example, an integrated circuit (IC) and has functions such as bus initialization, transmission / reception data encoding / decoding, bus arbitration, and bias voltage output / detection. are doing. The link layer controller 125 is also configured by, for example, an IC, and has functions such as cycle control and packet transmission / reception. The physical layer controller 121 is connected to the serial bus 111, and is connected to the physical layer controller of another node via the serial bus 111.
【0008】トランザクション層127は、シリアルバ
ストランザクションを制御し、リンク層コントローラ1
25とともに、バスの利用効率を最適化する機能を発揮
する。シイアルバスマネージャ113は、バスの電源管
理、スピードマップの提供トポロジマップの提供および
それを元にしたバスの最適化などを行う。[0008] The transaction layer 127 controls serial bus transactions.
25 together with the function of optimizing the use efficiency of the bus. The serial bus manager 113 performs bus power management, provision of a speed map, provision of a topology map, and optimization of the bus based on the map.
【0009】各ノードがこれらのインターフェイスを有
することにより、多数のノード間をシリアルに接続する
ことができる。接続可能なノード数は63個と多く、か
つ、ノード間の距離も長くできる。Since each node has these interfaces, a large number of nodes can be serially connected. The number of connectable nodes is as large as 63, and the distance between the nodes can be increased.
【0010】IEEE1394規格に基づくインターフ
ェイスを用いた通信網は、一定時間内に情報の転送を完
了することを保証しなければならない同期データ(Is
ochronous data)を転送する同期データ
転送と、相手先ノードに必ずデータを送信することだけ
を保証する非同期データ(Asynchronousd
ata)を転送する非同期データ転送の2種類のデータ
転送機能を備えている。通信網上において送受信される
データは、パケットに分割されて転送される。このパケ
ットを転送するプロセスをサブアクションと称する。上
記2つの転送機能に対応して、パケットを規則的な間隔
で転送するアイソクロナスサブアクションと、データを
規則的には転送しないアシンクロナスサブアクションと
が存在する。[0010] A communication network using an interface based on the IEEE 1394 standard requires synchronization data (Iss) that must guarantee completion of information transfer within a fixed time.
Asynchronous data transfer that transfers synchronous data and asynchronous data that guarantees that data is always transmitted to the destination node
data transfer function of asynchronous data transfer for transferring the data. Data transmitted and received on a communication network is divided into packets and transferred. The process of transferring this packet is called a subaction. Corresponding to the above two transfer functions, there are an isochronous subaction for transferring packets at regular intervals and an asynchronous subaction for not transferring data regularly.
【0011】サブアクションは、3つのステップに分か
れて考えられる。バスの制御権の要求と付与を行うアー
ビトレーションステップと、実際のデータ転送を行うデ
ータパケット転送ステップと、パケットの受信状況など
を返信するアクノリッジメントステップとを含む。The sub-action can be considered in three steps. An arbitration step for requesting and granting a bus control right, a data packet transfer step for performing actual data transfer, and an acknowledgment step for returning a packet reception status and the like are included.
【0012】アービトレーションステップにおいては、
通信ネットワークを形成する多数のノードのうちパケッ
トを送信したいノードは、その物理層コントローラ12
1にシリアルバス111の制御権を得るための信号を出
力するように要求する。アービトレーションステップに
おいては、最終的に1つのノードにバスの制御権を付与
する。バス制御権を得たノードは、データパケットを送
信することができる。In the arbitration step,
A node that wants to transmit a packet among a number of nodes forming a communication network has its physical layer controller 12
1 is requested to output a signal for obtaining control of the serial bus 111. In the arbitration step, finally, one node is given control of the bus. The node that has obtained the bus control right can transmit a data packet.
【0013】[0013]
【発明が解決しようとする課題】図10は、IEEE1
394a_2000規格に基づくアービトレーションス
テートマシンの概略構成を示す状態遷移図である。図1
1は、図10の状態遷移図のうち、各状態からアイドル
状態に遷移する場合の処理手順を示すフローチャート図
である。FIG. 10 is a diagram showing an example of the IEEE 1 standard.
FIG. 3 is a state transition diagram illustrating a schematic configuration of an arbitration state machine based on the 394a_2000 standard. FIG.
FIG. 1 is a flowchart illustrating a processing procedure when a transition is made from each state to the idle state in the state transition diagram of FIG.
【0014】図10は、1つのノード(以下「ノード」
という)を主体として、そのノードの状態遷移の様子を
示している。図10に示されている各状態のうち、A
0:アイドル状態は、ノードがアービトレーション信号
を出力しない状態を示す。A1:リクエスト状態は、ノ
ードの親ポートにTX_REQUEST信号(バス使用
要求信号)を出力する状態である。A2:グラント状態
は、リクエスト子ポートにシリアルバス許可信号(TX
_GRANT信号)を出力する状態である。PH:PH
Yレスポンス状態では、拡張PHYパケットに対するレ
スポンスとして送信されるPHYレスポンスパケットを
出力する。RX:パケット受信状態では、パケットを受
信する。TX:パケット送信状態では、パケットを送信
する。FIG. 10 shows one node (hereinafter referred to as “node”).
) As a subject, and shows a state transition of the node. Of the states shown in FIG.
0: The idle state indicates a state where the node does not output the arbitration signal. A1: The request state is a state in which a TX_REQUEST signal (bus use request signal) is output to the parent port of the node. A2: The grant state is such that a serial bus enable signal (TX
_GRANT signal). PH: PH
In the Y response state, a PHY response packet transmitted as a response to the extended PHY packet is output. RX: In the packet reception state, a packet is received. TX: In the packet transmission state, a packet is transmitted.
【0015】図11に示すように、IEEE1394a
_2000規格では、A0:アイドル状態以外の全ての
状態からA0:アイドル状態に遷移する際に、ステップ
S101において、アービトレーションタイマ(arb
_timer)を動作(リセット)させる。すなわち、
arb_timer=0とする。次いで、ステップS1
02において、サブアクションギャップ、アービトレー
ションリセットギャップを検出する動作に入る。[0015] As shown in FIG.
According to the _2000 standard, when transitioning from all states other than A0: idle state to A0: idle state, in step S101, the arbitration timer (arb)
_Timer) is operated (reset). That is,
arb_timer = 0. Then, step S1
At 02, an operation for detecting a subaction gap and an arbitration reset gap is started.
【0016】IEEE1394規格では、サブアクショ
ンギャップ、アービトレーションリセットギャップは、
アービトレーションタイマをリセット(arb_tim
er=0)した時点から、アービトレーションタイマが
以下の(1)式、(2)式で表される値になるまでの期
間として規定されている。すなわち、(1)式、(2)
式は、サブアクションギャップ、アービトレーションリ
セットギャップのそれぞれの終点を表す式である。In the IEEE 1394 standard, a subaction gap and an arbitration reset gap are
Reset the arbitration timer (arb_tim
er = 0), and is defined as the period from when the arbitration timer reaches the value represented by the following equations (1) and (2). That is, equation (1), (2)
The expression is an expression representing each end point of the subaction gap and the arbitration reset gap.
【0017】 Subaction_gap=(28+gap_count*16)/Bas e rate (1) Arb_reset_gap=(52+gap_count*16)/Bas e rate (2) ここで、ギャップカウント値(gap_count値)
は物理層のレジスタに記憶されている変数である。Ba
se rateは、IEEE1394ケーブルに出力さ
れるパケットの最低ビットレートであり、98.304
Mbit/sと規定されている。Subaction_gap = (28 + gap_count * 16) / Base rate (1) Arb_reset_gap = (52 + gap_count * 16) / Base rate (2) Here, the gap count value (gap_count value)
Is a variable stored in a register of the physical layer. Ba
serate is the lowest bit rate of a packet output to the IEEE 1394 cable, and is 98.304.
Mbit / s.
【0018】上記の式(1)、(2)に示されるよう
に、A0:アイドル状態においてSubaction_
gapが検出され、さらにA0:アイドル状態が続けば
(どこかのステップでA0:アイドル状態から抜けなけ
れば)、Arb_reset_gapを検出する。As shown in the above equations (1) and (2), A0: Subaction_ in the idle state
If a gap is detected and A0: the idle state continues (A0: does not escape from the idle state in any step), Arb_reset_gap is detected.
【0019】アービトレーションタイマの値がSuba
ction_gap値と同じになると、サブアクション
ギャップの終点が検出されたことになる。ステップS1
03において、リンク層にサブアクションギャップを検
出した旨を知らせる。さらにアイドル状態が続けば、そ
の後ステップS102に戻る。ステップS102におい
てアービトレーションタイマの値がArb_reset
_gap値と同じになると、リンク層にアービトレーシ
ョンリセットギャップの終点を検出した旨を知らせる。If the value of the arbitration timer is Suba
When the value becomes the same as the ction_gap value, the end point of the subaction gap has been detected. Step S1
In 03, the link layer is notified that a subaction gap has been detected. If the idle state continues, the process returns to step S102. In step S102, the value of the arbitration timer is set to Arb_reset.
When it becomes equal to the _gap value, it notifies the link layer that the end point of the arbitration reset gap has been detected.
【0020】ステップS102で、サブアクションギャ
ップ、アービトレーションリセットギャップを検出しな
ければ、次のステップに進み、RX_DATA_PRE
FIX、RX_REQUEST信号の有無、送信パケッ
トの有無等を調べる。If the sub-action gap and the arbitration reset gap are not detected in step S102, the process proceeds to the next step, where RX_DATA_PRE is set.
The presence / absence of FIX and RX_REQUEST signals, the presence / absence of transmission packets, and the like are checked.
【0021】ところが、IEEE1394規格に基づき
実際に電子機器ネットワークを動作させると、リンク層
がバス初期化のフェーズやアイソクロナスサイクルから
抜けるのに手間がかかる可能性がある。However, when the electronic device network is actually operated based on the IEEE 1394 standard, it may take time for the link layer to escape from the bus initialization phase or the isochronous cycle.
【0022】本発明の目的は、IEEE1394規格に
準拠したシリアル接続の通信網を用いてデータ転送を行
う場合において、円滑なデータ通信が行えるような信号
処理技術を提供することを目的とする。It is an object of the present invention to provide a signal processing technique that enables smooth data communication when data is transferred using a serial connection communication network conforming to the IEEE 1394 standard.
【0023】[0023]
【課題を解決するための手段】本発明の一観点によれ
ば、IEEE1394規格に準拠しバスにより接続され
てネットワークを形成する複数のノードの各々が有する
物理層コントローラに含まれ、一のノードが、アービト
レーション信号を出力しないアイドル状態に入った場合
に、前記複数のノードのうちのいずれかのノードがパケ
ット信号を送ってから前記一のノードが非同期パケット
信号を送れるまでの期間を規定するサブアクションギャ
ップの終点を前記一のノードが検出することによりデー
タ送信が可能な状態になり、前記サブアクションギャッ
プの終点を検出した後においてもアイドル状態が継続し
ている場合には、前記複数のノードのうちの各ノードが
各々1つずつの公正パケットを送ることを保証する1つ
の公正期間と次の公正期間との間のギャップ期間を規定
するアービトレーションリセットギャップの終点を前記
一のノードが検出することによりデータ送信が可能な状
態になる信号処理回路であって、 前記サブアクション
ギャップの終点と前記アービトレーションリセットギャ
ップの終点とは、リンク層からのレジスタライト命令に
よって直接には変更されない第1のギャップカウント値
を変数とする関数により規定されており、 前記第1の
ギャップカウント値は、前記一のノードがアイドル状態
以外の状態からアイドル状態に遷移する場合にのみ、リ
ンク層からのレジスタライト命令によって直接に変更さ
れる第2のギャップカウント値に変更される変数である
信号処理回路が提供される。According to an aspect of the present invention, a plurality of nodes connected to each other by a bus to form a network based on the IEEE 1394 standard are included in a physical layer controller, and one node is included in the physical layer controller. A sub-action for defining a period from when one of the plurality of nodes transmits a packet signal to when the one node can transmit an asynchronous packet signal when entering an idle state in which an arbitration signal is not output; When the one node detects the end point of the gap, data transmission becomes possible, and the idle state continues even after detecting the end point of the subaction gap. One fair period and the next public one each guarantee that each node sends one fair packet. An arbitration reset which defines a gap period between the first and second nodes. A signal processing circuit which is in a state where data transmission is enabled by detecting the end point of the gap, the end point of the sub-action gap and the arbitration reset. The end point of the gap is defined by a function having a first gap count value that is not directly changed by a register write instruction from the link layer as a variable, and the first gap count value is determined by the one node. A signal processing circuit is provided that is a variable that is changed to a second gap count value that is directly changed by a register write instruction from the link layer only when transitioning from a state other than the idle state to the idle state.
【0024】本発明の他の観点によれば、IEEE13
94規格に準拠しバスにより複数のノードが接続された
ネットワークにおける信号処理方法であって、(a)複
数のノードのうちの一のノードがアービトレーション信
号を出力しないアイドル状態に入った場合に、前記複数
のノードのうちのいずれかのノードがパケット信号を送
ってから前記一のノードが非同期パケットを送れるまで
の期間として規定され、リンク層からのレジスタライト
命令によって直接には変更されない第1のギャップカウ
ント値を変数とする関数により決まるサブアクションギ
ャップの終点を検出する工程と、 (b)前記(a)工
程においてアービトレーションリセットギャップの終点
を検出した場合には、その旨をリンク層に知らせる工程
と、(c)前記(a)工程の後においてもアイドル状態
が継続している場合に、前記複数のノードのうちの各ノ
ードが各々1つずつの公正パケットを送ることを保証す
る1つの公正期間と次の公正期間との間のギャップ期間
を規定し、リンク層からのレジスタライト命令によって
直接には変更されない第1のギャップカウント値を変数
とする関数により決まるアービトレーションリセットギ
ャップの終点を検出する工程と、(d)前記(c)工程
においてアービトレーションリセットギャップの終点を
検出した場合には、その旨をリンク層に知らせる工程
と、(e)前記一のノードが、アイドル状態以外の状態
からアイドル状態に遷移する場合にのみ、前記第1のギ
ャップカウント値を、リンク層からのレジスタライト命
令によって直接に変更される第2のギャップカウント値
に変更する工程とを含む信号処理方法が提供される。According to another aspect of the present invention, an IEEE 13
94. A signal processing method in a network in which a plurality of nodes are connected to each other by a bus according to the H.94 standard, the method comprising: (a) when one of the plurality of nodes enters an idle state in which an arbitration signal is not output; A first gap defined as a period from when any one of the plurality of nodes sends a packet signal to when the one node can send an asynchronous packet, and which is not directly changed by a register write instruction from the link layer. Detecting an end point of a sub-action gap determined by a function having a count value as a variable; and (b) notifying the link layer of the end point of the arbitration reset gap when the end point of the arbitration reset gap is detected in the step (a). (C) when the idle state continues even after the step (a). Defining a gap period between one fair period and the next fair period to ensure that each of the plurality of nodes sends one fair packet each, Detecting an end point of an arbitration reset gap determined by a function using a first gap count value that is not directly changed by the instruction as a variable; and (d) detecting an end point of the arbitration reset gap in the step (c). And (e) registering the first gap count value only when the one node makes a transition from a state other than the idle state to the idle state. Changing to a second gap count value directly changed by a write instruction. It is subjected.
【0025】第2のギャップカウント値は、シリアルバ
スマネージャからのPHYコンフィグレーションパケッ
トにより変更されるとともに、リンク層コントローラと
物理層コントローラとのインターフェイスからのレジス
タライト命令によっても直接に変更される。第1のギャ
ップカウント値は、リンク層コントローラと物理層コン
トローラとのインターフェイスからのレジスタライト命
令によって直接には変更されない。The second gap count value is changed by a PHY configuration packet from the serial bus manager, and is also directly changed by a register write command from the interface between the link layer controller and the physical layer controller. The first gap count value is not directly changed by a register write instruction from the interface between the link layer controller and the physical layer controller.
【0026】他の状態からアービトレーション信号を出
力しないアイドル状態に遷移する際に、第1のギャップ
カウント値に第2のギャップカウント値を代入する。最
新の第1のギャップカウント値が、サブアクションギャ
ップの終点、アービトレーションリセットギャップの終
点を決める。これらのギャップ値の終点が検知される
と、リンク層コントローラに対してギャップを検出した
旨を知らせる。When transitioning from another state to an idle state in which no arbitration signal is output, the second gap count value is substituted for the first gap count value. The latest first gap count value determines the end of the subaction gap, the end of the arbitration reset gap. When the end points of these gap values are detected, the link layer controller is notified that a gap has been detected.
【0027】アイドル状態においては、第1のギャップ
カウント値に基づいてサブアクションギャップ値の終
点、アービトレーションリセットギャップの終点が決め
られており、ネットワークの状況の変化があってもギャ
ップを検出することができる。In the idle state, the end point of the subaction gap value and the end point of the arbitration reset gap are determined based on the first gap count value, and the gap can be detected even if the network situation changes. it can.
【0028】[0028]
【発明の実施の形態】本発明の実施の形態による信号処
理技術について説明する前に、上述のような問題点が生
じる理由について考察する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing a signal processing technique according to an embodiment of the present invention, the reason why the above-described problem occurs will be considered.
【0029】IEEE1394規格では、ギャップカウ
ント値は、物理層コントローラに含まれるレジスタに記
憶されている。A0:アイドル状態になると、レジスタ
内からギャップカウント値を読み出して参照する。とこ
ろで、ギャップカウント値は、その時点での通信網の接
続状態に応じて変更される。According to the IEEE 1394 standard, the gap count value is stored in a register included in the physical layer controller. A0: When in the idle state, the gap count value is read from the register and referred to. Incidentally, the gap count value is changed according to the connection state of the communication network at that time.
【0030】通常、ギャップカウント値は、シリアルバ
スマネージャが送信する物理層コンフィグレーションパ
ケット(PHY configuration pack
et)によりネットワークの状況などに応じて変更され
る。加えて、物理層の上位層であるリンク層コントロー
ラと物理層コントローラとのインターフェイスからのレ
ジスタライト命令によっても変更される場合もある。Normally, the gap count value is determined by a physical layer configuration packet (PHY configuration pack) transmitted by the serial bus manager.
et) according to the network status and the like. In addition, it may be changed by a register write instruction from an interface between the link layer controller, which is an upper layer of the physical layer, and the physical layer controller.
【0031】上位層であるリンク層は、下位層である物
理層の詳細な状況(物理層がどのような状態にあるかな
ど)を把握して動作しているわけではない。発明者は、
ノードがA0:アイドル状態にある場合に、リンク層か
らのアクセスにより上記のレジスタに記憶されているギ
ャップカウント値が書き換えられてしまう可能性がある
のではないかと考えた。The link layer, which is the upper layer, does not operate by grasping the detailed status of the physical layer, which is the lower layer (such as the state of the physical layer). The inventor
When the node is in the A0: idle state, it is considered that the gap count value stored in the above register may be rewritten by access from the link layer.
【0032】一のノードがA0:アイドル状態である場
合において、レジスタライト命令によりギャップカウン
ト値が小さい値に書き換えられると、その時点で、上記
の(1)式、(2)式におけるサブアクションギャップ
の終点を表すSubacton_gap値、アービトレ
ーションリセットギャップの終点を表すArb_res
et_gap値が、アービトレーションタイマの示す値
よりも小さくなってしまう可能性がある。このような場
合、物理層がサブアクションギャップ、アービトレーシ
ョンリセットギャップを検出することができなくなり、
従って、リンク層がギャップを認識できないためにバ
ス初期化フェーズ、アイソクロナスサイクルから抜ける
ことができなくなったりするのではないかと考えた。When one node is in the A0: idle state, and the gap count value is rewritten to a small value by the register write instruction, at that time, the sub-action gap in the above formulas (1) and (2) is obtained. Subacton_gap value indicating the end point of Arb_res, indicating the end point of the arbitration reset gap
The et_gap value may be smaller than the value indicated by the arbitration timer. In such a case, the physical layer cannot detect the sub-action gap and arbitration reset gap,
Therefore, it was thought that the link layer could not recognize the gap, so that it would not be possible to escape from the bus initialization phase and the isochronous cycle.
【0033】発明者は、ギャップカウント値に加えて、
別の値、(ここでは、仮にギャップカウントバリッド値
(gap_count_valid)値と称する)をレ
ジスタに記憶させておくことを考え付いた。The inventor has added, in addition to the gap count value,
Another value (here, temporarily referred to as a gap count valid value (gap_count_valid) value) was considered to be stored in a register.
【0034】サブアクションギャップの終点を示すsu
baction_gap値、アービトレーションリセッ
トギャップの終点を示すarb_reset_gap値
を、ネットワークの状態の変化などに応じレジスタライ
ト命令の影響を直接には受けないギャップカウントバリ
ッド値(第1のギャップカウント値)の変数にする。Su indicating the end point of the subaction gap
The "action_gap" value and the "arb_reset_gap" value indicating the end point of the arbitration reset gap are used as variables of a gap count valid value (first gap count value) that is not directly affected by a register write instruction in response to a change in network state.
【0035】ギャップカウント値(第2のギャップカウ
ント値)は、ネットワークの状態の変化などに応じレジ
スタライト命令により変化する可能性があるが、ギャッ
プカウントバリッド値は、ネットワークの状態の変化な
どに応じレジスタライト命令の影響を直接には受けな
い。The gap count value (second gap count value) may change by a register write instruction according to a change in the state of the network, etc. The gap count valid value may change according to a change in the state of the network. It is not directly affected by the register write instruction.
【0036】加えて、ネットワークの状況の変化を、サ
ブアクションギャップ、アービトレーションリセットギ
ャップに反映させるため、アイドル状態以外の全ての状
態からアイドル状態に遷移する時点(アイドル状態の入
り口)において、その時点でのネットワークの状況を直
接に反映するギャップカウント値を、ギャップカウント
バリッド値に変更する。例えば、アービトレーションタ
イマをリセットする時(arb_timer=0)に、
ギャップカウントバリッド値にギャップカウント値を代
入すれば良い。In addition, in order to reflect a change in the state of the network in the subaction gap and the arbitration reset gap, at the time of transition from any state other than the idle state to the idle state (entrance to the idle state), The gap count value that directly reflects the state of the network is changed to a gap count valid value. For example, when resetting the arbitration timer (arb_timer = 0),
The gap count value may be substituted for the gap count valid value.
【0037】このようにすれば、一のノードがA0:ア
イドル状態の間に、ギャップカウント値がネットワーク
の状況などにより変更されたとしても、ギャップを確実
に検出することができるであろう。ギャップカウントバ
リッド値は、一のノードが次にA0:アイドル状態の入
り口まで遷移するまでは変更されないため、サブアクシ
ョンギャップの終点、アービトレーションリセットギャ
ップの終点を確実に検出することができるであろう。In this way, even if the gap count value is changed due to network conditions while one node is in the A0: idle state, the gap will be reliably detected. Since the gap count valid value is not changed until one node transitions to the next entry point of A0: idle state, the end point of the sub-action gap and the end point of the arbitration reset gap can be reliably detected.
【0038】以上の考察に基づき、以下に本発明の一実
施の形態による信号処理技術について図1から図8まで
を参照して説明する。Based on the above considerations, a signal processing technique according to an embodiment of the present invention will be described below with reference to FIGS.
【0039】図1(A)、(B)は、バスリセットから
A0:アイドル状態に入るまでのネットワークの状態
を、図2(C)、(D)は、A0:アイドル状態から抜
けて、アービトレーション時(A1、A2)におけるネ
ットワークの状態の変化を示している。FIGS. 1A and 1B show the state of the network from a bus reset to A0: entering an idle state. FIGS. 2C and 2D show A0: exiting from an idle state and arbitration. It shows a change in the state of the network at the time (A1, A2).
【0040】図1(A)に、IEEE1394規格に基
づくインターフェイスを用いた通信網の構成例を示す。
この例では、通信網内には、ノードAからノードFまで
の6つのノードが存在する。ノードには、リーフと呼ば
れるノードとブランチと呼ばれるノードとの2種類のノ
ードが存在する。リーフは、1の装置(例えばパーソナ
ルコンピュータ)とだけ繋がっているノードである。ブ
ランチは、2つ以上の装置と繋がっているノードであ
る。電源が入っていない装置も装置数に含める。FIG. 1A shows a configuration example of a communication network using an interface based on the IEEE 1394 standard.
In this example, there are six nodes from node A to node F in the communication network. There are two types of nodes, a node called a leaf and a node called a branch. A leaf is a node that is connected to only one device (for example, a personal computer). A branch is a node that is connected to two or more devices. Devices that are not turned on are included in the device count.
【0041】図1(A)において、ノードA、E、Fは
リーフである。ノードB、C、Dはブランチである。各
ノードは1又は2以上のポートを有している。ノードに
含まれるポート間に、各ノード間を繋ぐバスラインBL
が接続されている。In FIG. 1A, nodes A, E, and F are leaves. Nodes B, C, and D are branches. Each node has one or more ports. A bus line BL connecting the nodes between the ports included in the nodes
Is connected.
【0042】通信網の自動設定にあたって最初に行う作
業は、バスラインBLをリセットする作業である。リセ
ット作業が始まると、全てのノードは読み出しや書き込
みといった作業を止め、データ転送を停止する。The first operation to be performed in automatically setting the communication network is to reset the bus line BL. When the reset operation starts, all the nodes stop reading and writing operations and stop data transfer.
【0043】次に、ノードがどのようなツリー構成のど
こに位置しているかを認識するフェーズに入る。Next, a phase for recognizing where the node is located in what kind of tree structure is entered.
【0044】各ノード間で双方向に信号をやりとりする
ことで、相手方のノードに含まれるポートに対して、自
分のポートが親ポートpなのか子ポートcなのかを決め
る。By exchanging signals bidirectionally between the nodes, it is determined whether the own port is the parent port p or the child port c with respect to the port included in the partner node.
【0045】先に問い合わせた(parent_not
ify信号を送信した)ポートが親ポート(p)にな
る。親子関係が決まると、全体が完全なツリー構造にな
る。Inquired earlier (parent_not
The port that transmitted the ify signal) becomes the parent port (p). When the parent-child relationship is determined, the whole becomes a complete tree structure.
【0046】図1(A)では、ノードBだけが親のポー
ト(p)を持たない。ノードBが全てのノードに対して
親となり、ルート(root)と呼ばれる。ルートは、
シリアル接続されたツリー構造の通信網において1つだ
け存在する。In FIG. 1A, only the node B has no parent port (p). Node B is the parent to all nodes and is called the root. The route is
There is only one in a serially connected tree-structured communication network.
【0047】以上に説明したアービトレーション(ar
bitration)ステップにより、通信網のツリー
構造が決定されると、次に、自分のノード番号(自己I
D)を決めるステップに移る。The arbitration (ar) described above
When the tree structure of the communication network is determined by the (bitration) step, the node number of the communication network is then determined.
Move on to step D).
【0048】図1(B)に基づき、ノード番号(自己I
D)を決めるステップを説明する。上記のアービトレー
ションステップを行った後に、各ノードは自己IDパケ
ットを送り出す。自己IDパケットに含まれる情報は、
自分のノード番号、自分が通信網のどの位置に存在する
のか、ノードがいくつのポートを持っているか、各ポー
トに装置が接続されているのか、各ポートは親なのか子
なのか、などである。最初にアービトレーションを獲得
したノード、例えば図1(B)ではノードAがノード番
号(0)を獲得する。Based on FIG. 1B, the node number (self I
The step of determining D) will be described. After performing the above arbitration step, each node sends out its own ID packet. The information included in the self ID packet is:
Your node number, where you are on the communication network, how many ports the node has, whether devices are connected to each port, whether each port is a parent or a child, etc. is there. The node that first acquires the arbitration, for example, node A in FIG. 1B, acquires the node number (0).
【0049】ノードAがノード番号(0)という情報を
もつ自己IDパケットを送出する。このパケットはブロ
ードキャストされるので、全てのノードが「ノード番号
(0)」は割り当て済みであることを知る。The node A sends out a self ID packet having information of the node number (0). Since this packet is broadcast, all nodes know that “node number (0)” has been allocated.
【0050】その次にアービトレーションを獲得したノ
ードCがノード番号(1)になる。ノードEがノード番
号(1)の情報をもつ自己IDパケットを送ることで、
他のノードに「ノード番号1」も割り当て済みであるこ
とを知らせる。Next, the node C that has acquired the arbitration becomes the node number (1). By transmitting the self ID packet having the information of the node number (1) by the node E,
Inform other nodes that “node number 1” has also been assigned.
【0051】全てのノードA〜Fまでが自己IDパケッ
トを送る順番が、最初はリーフで、次がブランチ、最後
にルートとなるようにアービトレーションを行う。ルー
トは常に最後に自己IDパケットを送る。ルートのノー
ドBが最大のノード番号、例えば(5)をもつ。Arbitration is performed such that the order in which all the nodes A to F send their own ID packets is first the leaf, the next is the branch, and the last is the root. The route always sends the self ID packet last. The root node B has the largest node number, for example, (5).
【0052】IEEE1394規格に基づくインターフ
ェイスを用いてシリアル接続された1つの通信網は、最
大63個までのノードをつなげることができる。バスラ
インは合計1023本まで拡張できる。すなわち、最大
1023×63の装置を接続できる。One communication network serially connected using an interface based on the IEEE 1394 standard can connect up to 63 nodes. The bus lines can be expanded up to a total of 1023 lines. That is, a maximum of 1023 × 63 devices can be connected.
【0053】自己IDを決めるステップが終わると、サ
ブアクションギャップとして規定される時間だけのアイ
ドル状態に入る。バスラインの初期化作業が完了し、非
同期転送または同期転送が可能となる。バスラインにリ
セットがかかってから上記の初期化作業が完了するまで
の時間は、約200μsである。初期化に要する時間
は、ノード数によって変化する。After the step of determining the self ID is completed, the apparatus enters an idle state for a time defined as a sub-action gap. The initialization of the bus line is completed, and asynchronous transfer or synchronous transfer becomes possible. The time from the reset of the bus line to the completion of the above initialization is about 200 μs. The time required for initialization varies depending on the number of nodes.
【0054】図2(C)に基づきバス使用権の要求ステ
ップについて、図2(D)に基づきバスの使用許諾ある
いはDP(data prefix)信号を送るステッ
プについて説明する。The step of requesting the right to use the bus will be described with reference to FIG. 2C, and the step of sending a bus licensing or sending a DP (data prefix) signal will be described with reference to FIG. 2D.
【0055】IEEE1394規格に基づくインターフ
ェイスを用いてシリアル接続された通信網は、データ転
送に先立って、必ずバス使用権のアービトレーションを
行う。A communication network serially connected using an interface based on the IEEE 1394 standard always performs arbitration of the right to use the bus prior to data transfer.
【0056】一時には一つのノードだけがデータ転送を
行う。従って、データ信号の衝突は起こらない。At a time, only one node performs data transfer. Therefore, no collision of data signals occurs.
【0057】図2(C)に示すように、アービトレーシ
ョンが始まると、1つもしくは複数のノードが親ノード
に向かってバス使用権の要求を発行する(バスラインに
平行な矢印で示される)。親ノードは、さらにその親ノ
ードに向かってバス使用権を求める。この要求は、最終
的にルートBに届けられる。As shown in FIG. 2C, when arbitration starts, one or more nodes issue a request for a bus use right to the parent node (indicated by an arrow parallel to the bus line). The parent node further requests the right to use the bus toward the parent node. This request is finally delivered to route B.
【0058】図2(D)に示すように、バスラインの使
用権の要求を受けたルートBは、どのノードにバスライ
ンを使用させるかを決める。アービトレーションを獲得
したノードに対して、バスの使用許諾を与える。同時
に、アービトレーションを獲得できなかったノード(ノ
ードAとノードF)に対しては、DP(data pr
efix)信号を送る。DP信号を受け取ると、バスラ
インの使用権の要求が拒否されたことになる。As shown in FIG. 2D, route B, which has received the request for the right to use the bus line, determines which node is to use the bus line. A bus license is given to the node that has acquired the arbitration. At the same time, for nodes (nodes A and F) for which arbitration could not be obtained, DP (data pr)
efix) signal. Upon receiving the DP signal, the request for the right to use the bus line is rejected.
【0059】バスラインの使用許諾を得たノードは、デ
ータ転送を始める前に、まず転送速度の合図を送る。通
常3種類の異なるデータ転送速度(100Mビット/
秒、200Mビット/秒、400Mビット/秒)が用意
されている。Before starting the data transfer, the node which has obtained the bus line license sends a signal indicating the transfer speed. Usually three different data transfer rates (100 Mbit /
Second, 200 Mbit / sec, and 400 Mbit / sec).
【0060】非同期転送方式においては、1つのノード
から他のノードのアドレス空間に対してデータを送る。
ノードは自分のアドレス以外にあてられたデータ信号を
無視する。In the asynchronous transfer method, data is sent from one node to the address space of another node.
The node ignores data signals applied to other than its own address.
【0061】通信転送元ノードから転送先ノードへパケ
ット信号を送信する。転送先ノードがアクノレジを返す
か、応答パケットを戻すとトランザクション(所望のデ
ータを送受信する場合に生じる一連の処理のこと)が完
了する。The packet signal is transmitted from the communication transfer source node to the transfer destination node. When the transfer destination node returns an acknowledgment or returns a response packet, a transaction (a series of processing that occurs when transmitting and receiving desired data) is completed.
【0062】転送先ノードにおいて非同期型のパケット
信号のデータを受信した場合に、転送先ノードは、全て
のノードに対してアクノレジを返さなければならない。
アクノレジの内容は、成功か、ビジーかである。但し、
アクノレジを返すためには、アービトレーションは必要
ない。When the destination node receives the data of the asynchronous packet signal, the destination node must return an acknowledgment to all nodes.
The content of the acknowledgment is success or busy. However,
No arbitration is required to return the acknowledgment.
【0063】図3は、本実施の形態によるアービトレー
ションステートマシンの概略構成を示す状態遷移図であ
る。図4から図7までは、図3の状態遷移図に対応し、
各状態間の遷移の流れや条件等を示すフローチャート図
である。図4から図7までは、本来1つの図で表せるも
のであるが、便宜上、4つの図に分けて記載したもので
ある。図4から図7までは、同じ小文字のアルファベッ
トで示した箇所で繋がる。図8は、本実施の形態による
信号処理技術の特徴点を説明するために、各状態からア
イドル状態に遷移する場合の遷移の流れや条件等を、よ
り詳細に示したフローチャート図である。FIG. 3 is a state transition diagram showing a schematic configuration of the arbitration state machine according to the present embodiment. 4 to 7 correspond to the state transition diagram of FIG.
It is a flowchart figure which shows the flow of the transition between each state, conditions, etc. Although FIGS. 4 to 7 can be basically represented by one figure, they are separately described in four figures for convenience. FIGS. 4 to 7 are connected by the same lowercase alphabet. FIG. 8 is a flowchart showing, in more detail, the transition flow, conditions, and the like when transitioning from each state to the idle state in order to explain the features of the signal processing technique according to the present embodiment.
【0064】図3に示すアービトレーションステートマ
シンは、アービトレーションの過程における状態と状態
間の遷移の様子を示している。The arbitration state machine shown in FIG. 3 shows the states in the arbitration process and the transition between the states.
【0065】サブアクションギャップは、1つのノード
がパケットを送ってから、次の(1のノードまたは別の
ノード)がアシンクロナスパケットを送れるようになる
までのギャップ(アイドル)時間である。The subaction gap is a gap (idle) time from when one node sends a packet to when the next (one node or another node) can send an asynchronous packet.
【0066】アービトレーションリセットギャップは、
全ての発信要求ノードに対して平等にバスアクセスを保
証する公正アービトレーションを行う際に、公正期間の
区切りを示すギャップ期間である。1つのノードは1公
正期間内に1つの公正パケットのみを送信することがで
きる。ネットワーク上の全てのノードが1つずつ公正パ
ケットを送信すると公正期間が終了し、アービトレーシ
ョンリセットギャップがあり、その後に次の公正期間が
始まる。The arbitration reset gap is
This is a gap period that indicates the end of a fair period when fair arbitration for equally guaranteeing bus access to all transmission request nodes is performed. One node can transmit only one fair packet in one fair period. The fair period ends when all nodes on the network send one fair packet at a time, there is an arbitration reset gap, and then the next fair period begins.
【0067】以下に図3の状態遷移図と図4から図7ま
でのフローチャート図に基づいて、本実施の形態による
信号処理技術について詳細に説明する。尚、図3におい
て、例えばA0:A1の記載は、A0状態からA1状態
への遷移を意味する。以下に説明する信号処理の流れ
は、図3を基本として説明し、適宜、図4から図7まで
を参照することにする。Hereinafter, the signal processing technique according to the present embodiment will be described in detail with reference to the state transition diagram of FIG. 3 and the flowchart diagrams of FIGS. In FIG. 3, for example, description of A0: A1 means transition from the A0 state to the A1 state. The flow of signal processing described below will be described based on FIG. 3 and will be referred to FIGS. 4 to 7 as appropriate.
【0068】A0:アイドル状態は、ノードがアービト
レーション信号を出力しない状態を示す。A1:リクエ
スト状態は、ノードの親ポートにTX_REQUEST
信号(バス使用要求信号)を出力する状態である。A
2:グラント状態は、リクエスト子ポートにシリアルバ
ス許可信号(TX_GRANT信号)を出力する状態で
ある。PH:PHYレスポンス状態では、拡張PHYパ
ケットに対するレスポンスとして送信されるPHYレス
ポンスパケットを出力する。RX:パケット受信状態で
は、パケットを受信する。TX:パケット送信状態で
は、パケットを送信する。 1)A0:アイドル状態からの遷移 A0:A0; アイドル状態にあるノードが、ステッ
プS2において、サブアクションギャップまたはアービ
トレーションリセットギャップを検出すると、ステップ
S3に移り、リンク層にギャップを検出した旨を知らせ
る信号を出力した後、再びステップS2に戻る。A0: The idle state indicates a state where the node does not output an arbitration signal. A1: Request status is TX_REQUEST to parent port of node
In this state, a signal (bus use request signal) is output. A
2: The grant state is a state in which a serial bus permission signal (TX_GRANT signal) is output to the request child port. PH: In the PHY response state, a PHY response packet transmitted as a response to the extended PHY packet is output. RX: In the packet reception state, a packet is received. TX: In the packet transmission state, a packet is transmitted. 1) A0: Transition from Idle State A0: A0; When the node in the idle state detects a subaction gap or an arbitration reset gap in step S2, the process proceeds to step S3 and notifies the link layer that the gap has been detected. After outputting the signal, the process returns to step S2.
【0069】A0:RX; アイドル状態にあるノー
ドが、ステップS2においてサブアクションギャップま
たはアービトレーションリセットギャップを検出しなか
った場合、ステップS4に移る。ステップS4において
RX_DATA_PREFIX信号を受信すると、R
X:パケット受信状態に移る。A0: RX; If the node in the idle state does not detect a subaction gap or an arbitration reset gap in step S2, the process proceeds to step S4. Upon receiving the RX_DATA_PREFIX signal in step S4,
X: Move to the packet receiving state.
【0070】A0:A1;ステップS4においてRX
_DATA_PREFIX信号を受信しないと、ステッ
プS5に移る。ステップS5において、リンク層からの
アクノレジ要求信号を受信せず、かつ、ステップS6に
おいてピングパケットを受信せず、さらに、ステップS
7ではレスポンスパケットを送信しないと、ステップS
8に移る。ステップS8で、リンク層からのバスリクエ
ストがあり、ノードがアービトレーション可能なタイミ
ングであり、次いでステップS9でノードがルートでな
いと判定されると、A1:リクエスト状態に遷移する。
また、ステップS8で、リンク層からのバスリクエスト
がないか、またはノードがアービトレーション可能なタ
イミングでなく、ステップS10で子ポートからのシリ
アルバスの使用許可信号を受信した場合において、ステ
ップS11でノードがルートでないと判定された場合に
もA1:リクエスト状態に遷移する。A0: A1; RX in step S4
If the _DATA_PREFIX signal has not been received, the process proceeds to step S5. In step S5, no acknowledgment request signal from the link layer is received, and in step S6, no ping packet is received.
In step 7, if no response packet is transmitted, step S
Move to 8. In step S8, there is a bus request from the link layer, and it is the timing at which the node can be arbitrated. If it is determined in step S9 that the node is not the root, the state transits to A1: request state.
In step S8, if there is no bus request from the link layer, or if the node has not received the arbitration timing and has received the serial bus use permission signal from the child port in step S10, the node proceeds to step S11. When it is determined that the route is not the root, the state transits to A1: request state.
【0071】A0:A2; 上記の場合において、
ステップS10まで進んだ状態で子ポートからのシリア
ルバスの使用許可信号を受信した場合において、ステッ
プS11でノードがルートであると判定されると、A
2:グラント状態に遷移する。A0: A2; In the above case,
If a node is determined to be a root in step S11 when a serial bus use permission signal is received from a child port in a state where the process has proceeded to step S10, A
2: Transition to the grant state.
【0072】A0:PH; ステップS7まで進んだ
ときに、PHYレスポンスパケットを出力する必要があ
る場合、PH:PHYレスポンス状態に遷移する。A0: PH; When the process proceeds to step S7, if it is necessary to output a PHY response packet, the state transits to the PH: PHY response state.
【0073】A0:TX; ステップS8でリンク層
からのバスリクエストを受信し、かつ、ノードがアービ
トレーション可能なタイミングであり、ステップS9で
ノードがルートであると判定されるか、または、ステッ
プS5で、リンク層からのアクノレジリクエスト(応答
要求)を受信した場合、TX:パケット送信状態に遷移
する。A0: TX; a bus request from the link layer is received in step S8, and it is the timing at which the node can be arbitrated. In step S9, it is determined that the node is the root, or in step S5, When an acknowledgment request (response request) is received from the link layer, the state transits to the TX: packet transmission state.
【0074】A0:S4; ステップS6で、ピング
パケットを受信し、セルフIDパケットを送信(出力)
する必要がある場合には、S4:セルフID送信状態に
遷移する。 2)A1:リクエスト状態からの遷移 A1:RX; ステップS16において、親ポートに
データプレフィックス信号を受信すると、RX:パケッ
ト受信状態に遷移する。A0: S4; In step S6, a ping packet is received and a self ID packet is transmitted (output).
If it is necessary to perform the operation, the state shifts to S4: self-ID transmission state. 2) A1: Transition from request state A1: RX; When receiving a data prefix signal at the parent port in step S16, transition to RX: packet reception state.
【0075】A1:A0; ステップS16におい
て、親ポートにデータプレフィックス信号を受信しない
とステップS17に進む。ステップS17でシリアルバ
ス許可信号(RX_GRANT信号)を受信した場合に
おいて、ステップS18においてノードがパケット送信
可能ではなく、ステップS19において子ポートにシリ
アルバス要求信号を受信していない場合には、A0:ア
イドル状態に遷移する。A1: A0; If no data prefix signal is received at the parent port in step S16, the flow advances to step S17. When the serial bus permission signal (RX_GRANT signal) is received in step S17 and the node is not capable of transmitting a packet in step S18 and the serial port request signal is not received in the child port in step S19, A0: idle Transition to the state.
【0076】A1:A2; ステップS17において
親ポートにシリアルバス許可信号を受信し、ステップS
18においてノードがパケット送信可能でなく、ステッ
プS19においてリクエスト子ポートにシリアルバス要
求信号を受信した場合には、A2状態に遷移する。A1: A2; The serial port permission signal is received by the parent port at step S17, and
If the node is not capable of transmitting a packet at 18 and a serial bus request signal is received at the request child port at step S19, the state transits to the A2 state.
【0077】A1:TX;ステップS17において親
ポートにシリアルバス許可信号を受信し、ステップS1
8においてノードがパケット送信可能ならば、TX:パ
ケット送信状態に遷移する。 3)A2:グラント状態からの遷移 A2:A0; ステップS20において、リクエスト
子ポートにシリアルバス使用の要求をキャンセルする信
号(RX_REQUEST_CANCEL信号)を受信
すると、A0:アイドル状態に遷移する。A1: TX; The serial port permission signal is received by the parent port in step S17,
If the node is able to transmit a packet in step 8, the state transits to the TX: packet transmission state. 3) A2: Transition from Grant State A2: A0; Upon receiving a signal (RX_REQUEST_CANCEL signal) for canceling the request for using the serial bus at the request child port in step S20, transition to A0: idle state.
【0078】A2:RX; ステップS20におい
て、リクエスト子ポートに子ノードからのシリアルバス
の要求信号をキャンセルする信号を受信せず、ステップ
S21においてデータプリフィックス信号を受信する
と、RX:パケット受信状態に遷移する。 4)PHY:レスポンス状態からの遷移 PH:A0; PHYレスポンスパケットを出力した
後、A0状態に遷移する。 5)RX:パケット受信状態からの遷移 RX:A0; ステップS12において、受信パケッ
トがコンカチネートパケット(連結パケット:1つのパ
ケットの後にアービトレーションを行わずに、続けて送
信される別のパケット)でないと判断され、かつ、ステ
ップS13において、フライバイアービトレーション
(子ポートに受信したパケットに自分のパケットを連結
して送信するアービトレーション)を行わない場合、A
0:アイドル状態に遷移する。A2: RX; When a signal for canceling the serial bus request signal from the child node is not received at the request child port at step S20 and a data prefix signal is received at step S21, the state transits to RX: packet reception state. I do. 4) PHY: transition from response state PH: A0; After outputting a PHY response packet, transition to A0 state. 5) RX: Transition from packet receiving state RX: A0; In step S12, the received packet must be a concatenated packet (concatenated packet: another packet transmitted continuously without arbitration after one packet). If it is determined that fly-by arbitration (arbitration in which the own packet is connected to the packet received by the child port and transmitted) is not performed in step S13, A
0: Transition to idle state.
【0079】RX:RX; ステップS12におい
て、受信パケットがコンカチネートパケットであると判
断された場合、再び、RX状態に戻る。RX: RX; If it is determined in step S12 that the received packet is a concatenate packet, the state returns to the RX state again.
【0080】ステップS12において、受信パケット
がコンカチネートパケットでないと判断され、かつ、ス
テップS13において、フライバイアービトレーション
を行う場合、TX:パケット送信状態に遷移する。 6)TX:パケット送信状態からの遷移 TX:A0; ステップS14で、コンカチネートパ
ケットを送信しない場合で、ステップS15でショート
バスリセット信号を出力しない場合には、A0:アイド
ル状態に遷移する。If it is determined in step S12 that the received packet is not a concatenate packet, and if fly-by arbitration is performed in step S13, the state transits to the TX: packet transmission state. 6) TX: Transition from packet transmission state TX: A0; If no concatenate packet is transmitted in step S14 and a short bus reset signal is not output in step S15, transition to A0: idle state.
【0081】TX:R0; ステップS15でショー
トバスリセット信号を出力する場合、R0:バスリセッ
ト開始状態に遷移する。TX: R0; When a short bus reset signal is output in step S15, the state transits to R0: bus reset start state.
【0082】TX:TX; ステップS14で、コン
カチネートパケットを送信する場合、TX状態に戻る。TX: TX; When a concatenate packet is transmitted in step S14, the state returns to the TX state.
【0083】上記の状態遷移動作のうち、A0:アイド
ル状態以外の全ての状態からA0:アイドル状態に戻る
場合についてより詳細に説明する。In the above-mentioned state transition operation, the case of returning to A0: idle state from all states other than A0: idle state will be described in more detail.
【0084】本実施の形態によるアービトレーションス
テートマシンでは、ギャップカウント値(第1の変数)
に加えて、別の値であるギャップカウントバリッド値
(第2の変数)が記憶されている。In the arbitration state machine according to the present embodiment, the gap count value (first variable)
In addition, a gap count valid value (second variable), which is another value, is stored.
【0085】図8に示すように、A0:アイドル状態以
外の全ての状態からA0:アイドル状態に遷移する際
に、アービトレーションタイマを起動(リセット)す
る。すなわち、arb_timer=0とする(ステッ
プS1)。加えて、レジスタに記憶されているギャップ
カウントバリッド値(gap_count_valid
値)に、同じくレジスタに記憶されているギャップカウ
ント値(gap_count値)を代入する。As shown in FIG. 8, the arbitration timer is started (reset) when transitioning from all states other than A0: idle state to A0: idle state. That is, arb_timer = 0 is set (step S1). In addition, the gap count valid value (gap_count_valid) stored in the register
Is replaced with the gap count value (gap_count value) also stored in the register.
【0086】次いで、ステップS2において、ケーブル
上のギャップを検出する動作に入る。Next, in step S2, an operation for detecting a gap on the cable is started.
【0087】サブアクションギャップの終点を示すSu
baction_gap値、アービトレーションリセッ
トギャップの終点を示すArb_reset_gap値
は、gap_count_valid値の変数として、
以下の(3)、(4)式で決められる。Su indicating the end point of the subaction gap
The argument_gap value and the Arb_reset_gap value indicating the end point of the arbitration reset gap are defined as variables of the gap_count_valid value.
It is determined by the following equations (3) and (4).
【0088】 Subaction_gap=(28+gap_count_valid*1 6)/Base rate (3) Arb_reset_gap=(52+gap_count_valid*1 6)/Base rate (4) ここで、Base rateは、98.304Mbit
/sである。Baserateは、1394ケーブルに
出力されるパケットの最低ビットレートである。Subaction_gap = (28 + gap_count_valid * 16) / Base rate (3) Arb_reset_gap = (52 + gap_count_valid * 16) / Base rate (4) Here, Base98.
/ S. Baserate is the lowest bit rate of a packet output to the 1394 cable.
【0089】上記の式(3)、(4)に基づいて、A
0:アイドル状態においてサブアクションギャップ(の
終点)が検出され、さらにA0:アイドル状態が続け
ば、アービトレーションリセットギャップ(の終点)を
検出する。Based on the above equations (3) and (4), A
0: A sub-action gap (end point) is detected in the idle state, and A0: If the idle state continues, an arbitration reset gap (end point) is detected.
【0090】サブアクションギャップの終点の時間にな
ると、ステップS4においてリンク層にサブアクション
ギャップを検出したことを知らせ、アービトレーション
リセットギャップの終点の時間になると、リンク層にア
ービトレーションリセットギャップを検出したことを知
らせる。At the end time of the sub-action gap, the link layer is notified in step S4 that a sub-action gap has been detected. When the end time of the arbitration reset gap has come, it is determined that the arbitration reset gap has been detected at the link layer. Inform.
【0091】ギャップカウントバリッド値(Gap_c
ount_valid値)は、直接にはネットワークの
状況などを反映するリンク層からのレジスタライト命令
により変更されない。従って、A0:アイドル中にギャ
ップカウント値(gap_count値)が変更されて
も、ギャップカウントバリッド値(gap_count
_valid値)は、次にA0:アイドル状態に遷移す
るまでは変更されず、サブアクションギャップ、アービ
トレーションリセットギャップが変化せず、ギャップを
確実に検出することができる。ギャップの検出をリンク
層に知らせることができるため、バス初期化フェーズや
同期サイクルから確実に抜けることができ、円滑な通信
が確保できる。The gap count valid value (Gap_c)
The value of “out_valid” is not directly changed by a register write instruction from the link layer that reflects the state of the network. Therefore, even if the gap count value (gap_count value) is changed during A0: idle, the gap count valid value (gap_count value) is changed.
_Valid value) is not changed until the next transition to A0: idle state, the subaction gap and the arbitration reset gap do not change, and the gap can be detected reliably. Since the detection of the gap can be notified to the link layer, it is possible to reliably escape from the bus initialization phase and the synchronization cycle, and to ensure smooth communication.
【0092】アイドル状態以外の全ての状態からアイド
ル状態に遷移する時点でギャップカウントバリッド値
(gap_count_valid値)として最新の
(直前の)ギャップカウント値(gap_count
値)に変更(代入)するため、ネットワークの状況の変
化などをサブアクションギャップ、アービトレーション
リセットギャップに反映させることができる。When transitioning from any state other than the idle state to the idle state, the latest (previous) gap count value (gap_count) is set as the gap count valid value (gap_count_valid value).
Value), it is possible to reflect a change in the state of the network in the subaction gap and the arbitration reset gap.
【0093】尚、上記の実施の形態においては、アービ
トレーションタイマをリセットすると同時にギャップカ
ウント値をギャップカウントバリッド変数に変更(代
入)しているが、ギャップカウント値をギャップカウン
トバリッド変数に変更(代入)する時点は、アービトレ
ーションタイマをリセットした時点と完全に同時でなく
ても良い。但し、アービトレーションタイマをリセット
する前の段階であることが望ましい。In the above-described embodiment, the gap count value is changed (substituted) to the gap count valid variable at the same time as the arbitration timer is reset. However, the gap count value is changed (substituted) to the gap count valid variable. The time when the arbitration timer is reset may not be completely the same as the time when the arbitration timer is reset. However, it is desirable that this is a stage before resetting the arbitration timer.
【0094】以上、実施の形態に沿って本発明を説明し
たが、本発明はこれらに制限されるものではない。その
他、種々の変更、改良、組み合わせ等が可能なことは当
業者には自明あろう。Although the present invention has been described with reference to the embodiments, the present invention is not limited to these embodiments. It will be obvious to those skilled in the art that various changes, improvements, combinations, and the like can be made.
【0095】[0095]
【発明の効果】 IEEE1394規格に準拠したシリ
アル接続の通信網を用いてアービトレーション工程を行
う場合に、円滑なデータ通信が可能になった。[Effect of the Invention] When the arbitration process is performed using a serial connection communication network conforming to the IEEE 1394 standard, smooth data communication has become possible.
【図1】 図1(A)はIEEE1394規格に基づく
インターフェイスを用いた通信網の構成例を示す図であ
り、図1(B)は、図1(A)に示す通信網において、
ノード番号(自己ID)を決めるステップを説明するた
めの概念図である。1A is a diagram illustrating a configuration example of a communication network using an interface based on the IEEE 1394 standard, and FIG. 1B is a diagram illustrating an example of a configuration of a communication network illustrated in FIG.
FIG. 3 is a conceptual diagram for explaining a step of determining a node number (self ID).
【図2】 図2(C)は、図1(A)に示す通信網の構
成例において、バス使用権の要求ステップを説明するた
めの概念図であり、図2(D)は、図1(A)に示す通
信網の構成例において、バスの使用許諾あるいはデータ
プリフィックス信号を送るステップを説明する概念図で
ある。FIG. 2C is a conceptual diagram for explaining a bus use right requesting step in the configuration example of the communication network shown in FIG. 1A, and FIG. FIG. 3 is a conceptual diagram illustrating a step of transmitting a bus license or a data prefix signal in the configuration example of the communication network illustrated in FIG.
【図3】 本実施の形態による信号処理回路に含まれる
アービトレーションステートマシンの構成を示す状態遷
移図である。FIG. 3 is a state transition diagram illustrating a configuration of an arbitration state machine included in the signal processing circuit according to the present embodiment.
【図4】 図3に示す状態遷移図に対応する処理手順の
一部を示すフローチャート図である。FIG. 4 is a flowchart illustrating a part of a processing procedure corresponding to the state transition diagram illustrated in FIG. 3;
【図5】 図3に示す状態遷移図に対応する処理手順の
一部を示すフローチャート図である。FIG. 5 is a flowchart showing a part of a processing procedure corresponding to the state transition diagram shown in FIG. 3;
【図6】 図3に示す状態遷移図に対応する処理手順の
一部を示すフローチャート図である。FIG. 6 is a flowchart illustrating a part of a processing procedure corresponding to the state transition diagram illustrated in FIG. 3;
【図7】 図3に示す状態遷移図に対応する処理手順の
一部を示すフローチャート図である。FIG. 7 is a flowchart showing a part of a processing procedure corresponding to the state transition diagram shown in FIG. 3;
【図8】 図3に示す状態遷移図のうち、アイドル状態
における処理手順を示すフローチャート図である。8 is a flowchart showing a processing procedure in an idle state in the state transition diagram shown in FIG.
【図9】 IEEE1394規格に基づくシステムの概
略を示す機能ブロック図である。FIG. 9 is a functional block diagram schematically showing a system based on the IEEE 1394 standard.
【図10】 IEEE1394規格に基づくアービトレ
ーションステートマシンの構成を示す状態遷移図であ
る。FIG. 10 is a state transition diagram showing the configuration of an arbitration state machine based on the IEEE 1394 standard.
【図11】 図10に示す状態遷移図のうち、アイドル
状態における処理手順を示すフローチャート図である。11 is a flowchart illustrating a processing procedure in an idle state in the state transition diagram illustrated in FIG. 10;
A0:アイドル状態 A1:リクエスト状態 A2:グラント状態 PH:PHYレスポンス状態 RX:パケット受信状態 TX:パケット送信状態 A〜F:ノード p:親ポート c:子ポート BL:バスライン A0: Idle state A1: Request state A2: Grant state PH: PHY response state RX: Packet reception state TX: Packet transmission state AF: Node p: Parent port c: Child port BL: Bus line
───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B014 EB01 GC06 GC14 GE05 GE07 HC09 5B077 AA23 BA04 NN02 5K032 AA01 CC02 CD01 DA07 5K033 AA02 AA09 BA01 CC01 5K034 AA02 AA10 AA14 DD02 EE11 FF12 HH02 HH61 KK01 KK12 LL09 SS01 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B014 EB01 GC06 GC14 GE05 GE07 HC09 5B077 AA23 BA04 NN02 5K032 AA01 CC02 CD01 DA07 5K033 AA02 AA09 BA01 CC01 5K034 AA02 AA10 AA14 DD02 EE11 FF12 HH02 HKK01 KK
Claims (8)
り接続されてネットワークを形成する複数のノードの各
々が有する物理層コントローラに含まれ、一のノード
が、アービトレーション信号を出力しないアイドル状態
に入った場合に、前記複数のノードのうちのいずれかの
ノードがパケット信号を送ってから前記一のノードが非
同期パケット信号を送れるまでの期間を規定するサブア
クションギャップの終点を前記一のノードが検出するこ
とによりデータ送信が可能な状態になり、前記サブアク
ションギャップの終点を検出した後においてもアイドル
状態が継続している場合には、前記複数のノードのうち
の各ノードが各々1つずつの公正パケットを送ることを
保証する1つの公正期間と次の公正期間との間のギャッ
プ期間を規定するアービトレーションリセットギャップ
の終点を前記一のノードが検出することによりデータ送
信が可能な状態になる信号処理回路であって、 前記サブアクションギャップの終点と前記アービトレー
ションリセットギャップの終点とは、リンク層からのレ
ジスタライト命令によって直接には変更されない第1の
ギャップカウント値を変数とする関数により規定されて
おり、 前記第1のギャップカウント値は、前記一のノードがア
イドル状態以外の状態からアイドル状態に遷移する場合
にのみ、リンク層からのレジスタライト命令によって直
接に変更される第2のギャップカウント値に変更される
変数である信号処理回路。1. A physical layer controller included in each of a plurality of nodes connected to each other by a bus and forming a network in accordance with the IEEE 1394 standard, wherein one node enters an idle state in which an arbitration signal is not output. The one node detects an end point of a sub-action gap that defines a period from when any one of the plurality of nodes transmits a packet signal to when the one node can transmit an asynchronous packet signal. When data transmission becomes possible and the idle state continues even after detecting the end point of the subaction gap, each of the plurality of nodes transmits one fair packet to each of the plurality of nodes. Arguments that define the gap between one fair period and the next A signal processing circuit which is in a state where data transmission is enabled by detecting the end point of the bitration reset gap by the one node, wherein the end point of the sub-action gap and the end point of the arbitration reset gap are from a link layer. The first gap count value is defined by a function having a first gap count value that is not directly changed by the register write instruction as a variable, and the first gap count value changes from a state other than an idle state to an idle state. A signal processing circuit that is a variable that is changed to a second gap count value that is changed directly by a register write instruction from the link layer only when a transition occurs.
すSubaction_gap値は、 Subaction_gap=(28+gap_cou
nt_valid×16)/f の式から求められ、 前記アービトレーションリセットギャップの終点を示す
Arb_reset_gap値は、 Arb_reset_gap=(52+gap_cou
nt_valid×16)/fの式から求められる請求
項1に記載の信号処理回路。但し、gap_count
_validは、前記第1のギャップカウント値を表
し、fはベースレートを表す。2. A Subaction_gap value indicating an end point of the subaction gap is expressed as: Subaction_gap = (28 + gap_cou)
nt_valid × 16) / f, and the Arb_reset_gap value indicating the end point of the arbitration reset gap is: Arb_reset_gap = (52 + gap_cou)
The signal processing circuit according to claim 1, wherein the signal processing circuit is obtained from an equation of (nt_valid × 16) / f. However, gap_count
_Valid represents the first gap count value, and f represents a base rate.
り接続されてネットワークを形成する複数のノードの各
々が有する物理層コントローラに含まれ、一のノード
が、アービトレーション信号を出力しないアイドル状態
に入った場合に、前記複数のノードのうちのいずれかの
ノードがパケット信号を送ってから前記一のノードが非
同期パケットを送れるまでの期間を規定するサブアクシ
ョンギャップの終点を前記一のノードが検出することに
よりデータ送信が可能になる信号処理回路であって、 前記サブアクションギャップの終点は、リンク層からの
レジスタライト命令によって直接には変更されない第1
のギャップカウント値を変数とする関数により規定され
ており、 前記第1のギャップカウント値は、アイドル状態以外の
状態からアイドル状態にノードが遷移する場合にのみ、
リンク層からのレジスタライト命令によって直接に変更
される第2のギャップカウント値に変更される変数であ
る信号処理回路。3. A method according to the IEEE 1394 standard, which is included in a physical layer controller of each of a plurality of nodes connected by a bus to form a network, wherein one node enters an idle state in which it does not output an arbitration signal. The data is detected by the one node detecting an end point of a subaction gap that defines a period from when any one of the plurality of nodes transmits a packet signal to when the one node can transmit an asynchronous packet. A signal processing circuit which enables transmission, wherein an end point of the sub-action gap is not directly changed by a register write command from a link layer.
The first gap count value is defined only when the node transitions from a state other than the idle state to the idle state.
A signal processing circuit that is a variable that is changed to a second gap count value that is directly changed by a register write instruction from the link layer.
り接続されてネットワークを形成する複数のノードの各
々が有する物理層コントローラに含まれ、一のノードが
アービトレーション信号を出力しないアイドル状態に入
った場合に、前記複数のノードのうちの各ノードが各々
1つずつの公正パケットを送ることを保証する1つの公
正期間と次の公正期間との間のギャップ期間を規定する
アービトレーションリセットギャップの終点を前記一の
ノードが検出することによりデータ送信が可能になる信
号処理回路であって、 前記アービトレーションリセットギャップの終点は、リ
ンク層からのレジスタライト命令によって直接には変更
されない第1のギャップカウント値を変数とする関数に
より規定されており、 前記第1のギャップカウント値は、アイドル状態以外の
状態からアイドル状態にノードが遷移する場合にのみ、
リンク層からのレジスタライト命令によって直接に変更
される第2のギャップカウント値に変更される変数であ
る信号処理回路。4. When a node enters an idle state in which a plurality of nodes connected to each other by a bus and forming a network are included in a physical layer controller in accordance with the IEEE 1394 standard and one node does not output an arbitration signal, The end point of the arbitration reset gap defining the gap period between one fair period and the next fair period, which ensures that each node of the plurality of nodes sends one fair packet each, A signal processing circuit capable of transmitting data by detecting a node, wherein an end point of the arbitration reset gap uses a first gap count value that is not directly changed by a register write instruction from a link layer as a variable. A first gap count defined by a function From a state other than the idle state to the idle state when the node transitions only,
A signal processing circuit that is a variable that is changed to a second gap count value that is directly changed by a register write instruction from the link layer.
り複数のノードが接続されたネットワークにおける信号
処理方法であって、 (a)複数のノードのうちの一のノードがアービトレー
ション信号を出力しないアイドル状態に入った場合に、
前記複数のノードのうちのいずれかのノードがパケット
信号を送ってから前記一のノードが非同期パケットを送
れるまでの期間として規定され、リンク層からのレジス
タライト命令によって直接には変更されない第1のギャ
ップカウント値を変数とする関数により決まるサブアク
ションギャップの終点を検出する工程と、 (b)前記(a)工程においてサブアクションギャップ
の終点を検出した場合には、その旨をリンク層に知らせ
る工程と、 (c)前記(a)工程の後においてもアイドル状態が継
続している場合に、前記複数のノードのうちの各ノード
が各々1つずつの公正パケットを送ることを保証する1
つの公正期間と次の公正期間との間のギャップ期間を規
定し、リンク層からのレジスタライト命令によって直接
には変更されない第1のギャップカウント値を変数とす
る関数により決まるアービトレーションリセットギャッ
プの終点を検出する工程と、 (d)前記(c)工程においてアービトレーションリセ
ットギャップの終点を検出した場合には、その旨をリン
ク層に知らせる工程と、 (e)前記一のノードが、アイドル状態以外の状態から
アイドル状態に遷移する場合にのみ、前記第1のギャッ
プカウント値を、リンク層からのレジスタライト命令に
よって直接に変更される第2のギャップカウント値に変
更する工程とを含む信号処理方法。5. A signal processing method in a network in which a plurality of nodes are connected by a bus according to the IEEE 1394 standard, wherein (a) one of the plurality of nodes enters an idle state in which no node outputs an arbitration signal. If
A first period which is defined as a period from when any one of the plurality of nodes transmits a packet signal to when the one node can transmit an asynchronous packet, and which is not directly changed by a register write instruction from the link layer. Detecting the end point of the subaction gap determined by a function using the gap count value as a variable; and (b) notifying the link layer of the detection of the end point of the subaction gap in the step (a). And (c) ensuring that each of the plurality of nodes sends one fair packet each when the idle state continues after the step (a).
An arbitration reset gap end point determined by a function having a variable as a first gap count value that is not directly changed by a register write instruction from the link layer is defined by defining a gap period between one fair period and the next fair period. (D) when the end point of the arbitration reset gap is detected in the step (c), the step of notifying the link layer of the detection; and (e) the one node is in a state other than the idle state. And changing the first gap count value to a second gap count value that is directly changed by a register write instruction from the link layer only when transitioning from the first state to the idle state.
すSubaction_gap値は、 Subaction_gap=(28+gap_cou
nt_valid×16)/f の式から求められ、前記アービトレーションリセットギ
ャップの終点を示すArb_reset_gap値は、 Arb_reset_gap=(52+gap_cou
nt_valid×16)/fの式から求められる請求
項5に記載の信号処理方法。但し、gap_count
_validは、前記第1のギャップカウント値を表
し、fはベースレートを表す。6. The value of Subaction_gap indicating the end point of the subaction gap is Subaction_gap = (28 + gap_cou).
nt_valid × 16) / f, and the Arb_reset_gap value indicating the end point of the arbitration reset gap is: Arb_reset_gap = (52 + gap_cou)
The signal processing method according to claim 5, wherein the signal processing method is obtained from an expression of (nt_valid x 16) / f. However, gap_count
_Valid represents the first gap count value, and f represents a base rate.
り複数のノードが接続されたネットワークにおける信号
処理方法であって、 (a)複数のノードのうちの一のノードがアービトレー
ション信号を出力しないアイドル状態に入った場合に、
前記複数のノードのうちのいずれかのノードがパケット
信号を送ってから前記一のノードが非同期パケットを送
れるまでの期間として規定され、リンク層からのレジス
タライト命令によって直接には変更されない第1のギャ
ップカウント値を変数とする関数により決まるサブアク
ションギャップの終点を検出する工程と、 (b)前記(a)工程においてサブアクションギャップ
の終点を検出した場合には、その旨をリンク層に知らせ
る工程と、 (c)前記一のノードがアイドル状態以外の状態からア
イドル状態に遷移する場合にのみ、前記第1のギャップ
カウント値をリンク層からのレジスタライト命令によっ
て直接に変更される第2のギャップカウント値に変更す
る工程とを含む信号処理方法。7. A signal processing method in a network in which a plurality of nodes are connected by a bus according to the IEEE 1394 standard, wherein (a) one of the plurality of nodes enters an idle state in which no node outputs an arbitration signal. If
A first period which is defined as a period from when any one of the plurality of nodes transmits a packet signal to when the one node can transmit an asynchronous packet, and which is not directly changed by a register write instruction from the link layer. Detecting the end point of the subaction gap determined by a function using the gap count value as a variable; and (b) notifying the link layer when the end point of the subaction gap is detected in the step (a). (C) a second gap in which the first gap count value is directly changed by a register write instruction from a link layer only when the one node transitions from a state other than the idle state to the idle state. Changing to a count value.
り複数のノードが接続されたネットワークにおける信号
処理方法であって、 (a)複数のノードのうちの各々のノードがアービトレ
ーション信号を出力しないアイドル状態において、前記
複数のノードのうちの各ノードが1つずつの公正パケッ
トを送ることを保証する1つの公正期間と次の公正期間
との間のギャップ期間を規定し、リンク層からのレジス
タライト命令によって直接には変更されない第1のギャ
ップカウント値を変数とする関数により決まるアービト
レーションリセットギャップの終点を検出する工程と、 (b)前記(a)工程においてアービトレーションリセ
ットギャップの終点を検出した場合には、その旨をリン
ク層に知らせる工程と、 (c)前記一のノードが、アイドル状態以外の状態から
アイドル状態にノードが遷移する場合にのみ、前記第1
のギャップカウント値を、リンク層からのレジスタライ
ト命令によって直接に変更される第2のギャップカウン
ト値に変更する工程とを含む信号処理方法。8. A signal processing method in a network in which a plurality of nodes are connected by a bus according to the IEEE 1394 standard, comprising: (a) in an idle state in which each of the plurality of nodes does not output an arbitration signal; Defining a gap period between one fair period and the next fair period, which guarantees that each of the plurality of nodes sends one fair packet, directly by a register write instruction from the link layer. Detecting the end point of the arbitration reset gap determined by a function having the first gap count value unchanged as a variable; and (b) detecting the end point of the arbitration reset gap in the step (a). Notifying the link layer to the effect that (c) the one node Only when the node transits from a state other than the idle state to the idle state, the first
And changing the gap count value to a second gap count value that is directly changed by a register write instruction from the link layer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000367878A JP2002171267A (en) | 2000-12-04 | 2000-12-04 | Method and circuit for signal processing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000367878A JP2002171267A (en) | 2000-12-04 | 2000-12-04 | Method and circuit for signal processing |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2002171267A true JP2002171267A (en) | 2002-06-14 |
Family
ID=18838224
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000367878A Withdrawn JP2002171267A (en) | 2000-12-04 | 2000-12-04 | Method and circuit for signal processing |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2002171267A (en) |
-
2000
- 2000-12-04 JP JP2000367878A patent/JP2002171267A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5935208A (en) | Incremental bus reconfiguration without bus resets | |
| US20020010824A1 (en) | Electronic equipment and method for processing digital serial data at bus initialization phase in interface unit | |
| KR19990088404A (en) | Method and apparatus transmitting data over data bus at maximum speed | |
| JP2004363687A (en) | Information communication apparatus, system thereof, method thereof, program thereof, and recording medium with the program recorded thereon | |
| US6823408B2 (en) | Electronic equipment, and method for controlling state of physical layer circuit therefor | |
| US6909699B2 (en) | Data transfer system, data transfer management apparatus and data transfer method | |
| JP2002359661A (en) | Transmission / reception circuit and transmission / reception method | |
| US6804263B1 (en) | Controlling the state of a node connected to a bus during the self identification phase of bus arbitration | |
| US6272114B1 (en) | Data processing apparatus/method and electronic apparatus with such apparatus/method | |
| JP3630971B2 (en) | Data communication method, apparatus, system, and storage medium | |
| JP3599048B2 (en) | Data transfer control system, electronic device, program, and data transfer control method | |
| US8407330B2 (en) | Method and apparatus for the addition and removal of nodes from a common interconnect | |
| KR20000029124A (en) | Digital serial data interfacing apparatus and data transfer rate selection method | |
| US6732262B1 (en) | Method and system for controlling reset of IEEE 1394 network | |
| JP3640844B2 (en) | Transmission apparatus having error processing function and error processing method | |
| JP2002171267A (en) | Method and circuit for signal processing | |
| JP4627456B2 (en) | Communication system, cycle master node and communication method | |
| JP2002171302A (en) | Circuit and method for processing signal | |
| JP3495878B2 (en) | Data processing method, data processing device and printer | |
| JPH11110160A (en) | Print control device and print control method | |
| JP2001230835A (en) | Data communication system and data communication method | |
| JPH10164168A (en) | Method for transmitting identification information and apparatus for transmitting identification information | |
| JPH11177589A (en) | Data transfer device, data processing method of data transfer device, and storage medium storing computer readable program | |
| JPH11165454A (en) | Image processing apparatus and image processing system | |
| JPH10290246A (en) | Communication device and communication method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20080205 |