JP4106851B2 - Link layer device with test circuit and physical layer device with test circuit - Google Patents
Link layer device with test circuit and physical layer device with test circuit Download PDFInfo
- Publication number
- JP4106851B2 JP4106851B2 JP2000103840A JP2000103840A JP4106851B2 JP 4106851 B2 JP4106851 B2 JP 4106851B2 JP 2000103840 A JP2000103840 A JP 2000103840A JP 2000103840 A JP2000103840 A JP 2000103840A JP 4106851 B2 JP4106851 B2 JP 4106851B2
- Authority
- JP
- Japan
- Prior art keywords
- test
- layer device
- link layer
- physical layer
- data
- 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 - Fee Related
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、テスト回路を有するテスト回路付きリンク層デバイス、およびテスト回路付き物理層デバイスに関し、例えばIEEE1394インターフェースのリンク層デバイスや物理層デバイスなどに適用されるものである。
【0002】
【従来の技術】
従来、例えばIEEE1394インターフェースの物理層デバイスやリンク層デバイスは、一般に独立に構成されている。
【0003】
そして、例えばリンク層デバイスから物理層デバイスに対して、データ、制御信号、リンクリクエスト信号など各種の信号が転送され、その各信号とシステムクロックとの遅れなどが、ACタイミング規格としてIEEE1394規格で規定されている。
【0004】
【発明が解決しようとする課題】
ところで、従来、そのようなACタイミング規格の測定は、リンク層デバイスまたは物理層デバイスを単体で行うことができないという不都合があった。
【0005】
この不都合を解消するには、図8に示すように、独立に構成されるリンク層デバイス1と物理層デバイス2を、CPU3、RAM4、ROM5などと一体に組に合わせて、IEEE1394システムAにする必要がある。さらに、そのシステムAは、IEEE1394ケーブル6を介して物理層デバイス7などからなるターゲットシステムBに接続する必要がある。そして、従来は、IEEE1394システムの状態でリンク層デバイスや物理層デバイスを動作させ、ACタイミング規格の測定を行う必要があった。
【0006】
しかし、従来は、システムレベルで動作させるために、専用の評価ボード、ソフトウェア、および通信相手となるターゲットシステムが必要となる上に、評価環境を構築するための工数やコスト期間が大きくなるというような不都合があった。また、その測定のために、温度、電源電圧等の測定結果に影響を与える各種の条件を変えることが困難であった。
【0007】
そこで、本発明の第1の目的は、上記の点に鑑み、リンク層デバイス単体でACタイミング測定ができるようにし、これにより従来の不都合を解消でき、かつ、汎用ボードを使用して温度、電源電圧等の測定条件を変えてその測定できるようにしたテスト回路付きリンク層デバイスを提供することにある。
【0008】
また、本発明の第2の目的は、上記の点に鑑み、物理層デバイス単体でACタイミング測定ができるようにし、これにより従来の不都合を解消でき、かつ、汎用ボードを使用して温度、電源電圧等の測定条件を変えてその測定できるようにしたテスト回路付き物理層デバイスを提供することにある。
【0009】
【課題を解決するための手段】
上記課題を解決し、本発明の第1の目的を達成するために、請求項1から請求項5に記載の各発明は以下のように構成した。
【0010】
すなわち、請求項1に記載の発明は、物理層デバイスとデータの授受が可能な物理層インタ−フェースを少なくとも備えたリンク層デバイスにおいて、送信すべきパケットを生成するパケット生成手段と、前記パケット生成手段のパケットの生成を制御する制御手段と、テストモードが設定されたときに、テスト信号を発生して前記制御手段に出力するテスト信号発生手段と、を備え、前記制御手段は、前記テスト信号を受けたときに、前記送信すべきパケットとして所定のクロックに同期するサイクル・スタート・パケットを生成し、これを前記物理層インターフェースに出力するように、前記パケット生成手段の動作を制御することを特徴とするものである。
【0011】
請求項2に記載の発明は、請求項1に記載のテスト回路付きリンク層デバイスにおいて、前記物理層インタ−フェースは、データを送信するためのn個のドライバを有し、かつ、前記テスト信号を受けたときに、前記パケット生成手段からの前記サイクル・スタート・パケットに基づいて前記n個のドライバに供給するテストデータをそれぞれ生成し、この各生成テストデータを前記各ドライバに出力するテストデータ生成手段を、さらに備えたことを特徴とするものである。
請求項3に記載の発明は、請求項1または請求項2に記載のテスト回路付きリンク層デバイスにおいて、前記リンク層デバイスは、IEEE1394インターフェースのリンク層デバイスであることを特徴とするものである。
【0015】
このような構成の請求項1〜3に記載の発明によれば、簡易な構成によりリンク層デバイス単体でACタイミング測定ができる上に、汎用ボードを使用して温度、電源電圧等の測定条件を変えてその測定ができる。
【0018】
請求項4に記載の発明は、物理層デバイスとデータの授受が可能な物理層インタ−フェースを少なくとも備えたリンク層デバイスにおいて、選択信号が入力されたときに、前記選択信号に基づいて所定のパターンからなるテストデータを所定のクロックに同期して発生するテストデータ発生手段と、テスト信号が入力されたときに、前記テスト信号に基づいて前記テストデータ発生手段が発生するテストデータを前記物理層インターフェースに選択出力するセレクタ手段と、を備えたことを特徴とするものである。
請求項5に記載の発明は、請求項4に記載のテスト回路付きリンク層デバイスにおいて、前記リンク層デバイスは、IEEE1394インターフェースのリンク層デバイスであることを特徴とするものである。
【0019】
次に、本発明の第2の目的を達成するために、請求項6、7に記載の各発明は以下のように構成した。
【0020】
すなわち、請求項6に記載の発明は、リンク層デバイスとデータの授受が可能なリンク層インターフェースを少なくとも備えた物理層デバイスにおいて、選択信号が入力されたときに、前記選択信号に基づいて所定のパターンからなるテストデータを所定のクロックに同期して発生するテストデータ発生手段と、テスト信号が入力されたときに、前記テスト信号に基づいて前記テストデータ発生手段が発生するテストデータを前記リンク層インターフェースに選択出力するセレクタ手段と、を備えたことを特徴とするものである。
請求項7に記載の発明は、請求項6に記載のテスト回路付き物理層デバイスにおいて、前記物理層デバイスは、IEEE1394インターフェースの物理層デバイスであることを特徴とするものである。
【0021】
このような構成の請求項6、7に記載の発明によれば、物理層デバイス単体でACタイミング測定がテストができる上に、汎用ボードを使用して温度、電源電圧等の測定条件を変えてその測定ができる。
【0024】
【発明の実施の形態】
以下、本発明の実施形態について図面を参照して説明する。
【0025】
本発明のテスト回路付きリンク層デバイスの第1実施形態の構成について、図1を参照して説明する。
【0026】
図1は、第1実施形態のテスト回路付きリンク層デバイスを、IEEE1394インターフェースのリンク層デバイスに適用したブロック図である。
【0027】
このリンク層デバイス11は、図1に示すように、ポート・インターフェース12、DMA(ダイレクト・メモリ・アクセス)回路13、メモリ14、シーケンサ15、CPUインターフェース16、サイクルタイマ/モニタ17、送信回路18、受信回路19、物理層シンターフェース20を備えるとともに、テスト時に使用するテスト回路21を備えている。
【0028】
ポート・インターフェース12は、このリンク層デバイス11が使用される機器(例えばプリンタなど)との間でデータの授受を行うようになっている。DMA回路13は、メモリ14と送信回路18などの間でデータの転送を直接行うように制御するようになっている。
【0029】
メモリ14は、送信回路18に転送するデータを記憶したり、受信回路からの受信データを記憶したりするものであり、その記憶はDMA回路13の制御により行うようになっている。シーケンサ15は、通常動作時には所定の手順により各部を制御するとともに、テストモードが設定されると、後述のようにテスト動作を行うようになっている。
【0030】
サイクルタイマ/モニタ17は、送信回路18の送信にかかるサイクルタイマと、受信回路19の受信にかかるサイクルモニタから構成されている。送信回路18は、サイクルタイマ/モニタ17と連係して送信すべきパケットデータを生成するようになっている。受信回路19は、物理層インターフェース20からの受信データに基づき、サイクルタイマ/モニタ17と連係してパケットデータを生成するようになっている。
【0031】
物理層インターフェース20は、物理層デバイスのリンク層インターフェース(図示せず)と電気的に接続し、そのリンク層インターフェースとデータの授受を行うようになっている。テスト回路21は、外部からテストモードが設定されると、テストの開始を示すテスト信号を生成してこれをシーケンサ15に出力するようになっている。
【0032】
次に、このような構成からなる第1実施形態にかかるリンク層デバイス11のテストモード時の動作の一例について、図1〜図3を参照して説明する。
【0033】
この場合には、リンク層デバイス11を汎用ボードにセットするとともに、システムクロック端子44にシステムクロックSClkを供給する。
【0034】
この状態で外部からテストモードを設定すると、テスト回路21がテストの開始を示すテスト信号Testを発生し、このテスト信号がシーケンサ15に供給される。
【0035】
シーケンサ15は、そのテスト信号に基づき、送信回路18がサイクルタイマ/モニタ17と連係して周期的にサイクル・スタート・パケットを生成するように制御する。この結果、送信回路18は、図2(A)に示すようなシステムクロックSClkに同期してサイクル・スタート・パケットを生成する。この生成サイクル・スタート・パケットは、IEEE1394規格で規定されるものであり、図2(B)〜(D)に示すように、リンクリクエスト信号LReq、制御信号Ctl、およびデータD(0:1)とからなる。
【0036】
そのリンクリクエスト信号LReq、制御信号Ctl、およびデータD(0:1)は、物理層インターフェース20の対応する各ドライバ(図示せず)に供給される。その結果、リンクリクエスト信号端子43からはリンクリクエスト信号LReq、制御信号端子41、42からは制御信号Ctl、データ端子30、31からはデータD(0:1)がそれぞれ出力される。
【0037】
一方、システムクロックSClk、リンクリクエスト信号LReq、制御信号Ctl、およびデータD(0:1)は、図示しない測定器に供給される。測定器では、各ACタイミングを測定する。
【0038】
たとえば、システムクロックSClkとクリクエスト信号LReqとは、図3(A)(B)に示すような関係になる。そこで、システムクロックSClkの立ち上がりからリンクリクエスト信号LReqが立ち上がるまでの時間差td1、およびシステムクロックSClkの立ち上がりからリンクリクエスト信号LReqが立ち下がりまでの時間差td2を測定する。これらの時間差td1、td2は、IEEE1394規格に規定され、その許容範囲が規定されているので、その測定値がその許容範囲にあるか否かの判定を行う。
【0039】
システムクロックSClkと制御信号Ctlとの関係、システムクロックSClkとデータD(0:1)との関係についても、システムクロックSClkとクリクエスト信号LReqとの関係と同様にIEEE1394規格に規定されているので、その測定を行うとともにその各測定値が許容範囲にあるか否かの判定を行う。
【0040】
その後、温度、電源電圧の各種の条件を変え、その条件が変わる毎に上記の各測定を繰り返す。
【0041】
以上説明したように、この第1実施形態では、送信回路18が生成するサイクル・スタート・パケットを利用するようにした。このため、簡易な構成によりリンク層デバイス11単体でACタイミング測定ができる上に、汎用ボードを使用して温度、電源電圧等の測定条件を変えてその測定ができる。
【0042】
従って、第1実施形態によれば、従来のようにシステムレベルで動作させる必要がないので、そのための専用の評価ボード、ソフトウェア、および通信相手となるターゲットシステムが不要となる上に、評価環境を構築するための工数やコスト期間が不要となる。このような利点は、以下の各実施形態でも得られるので、以下ではその説明は省略する。
【0043】
次に、本発明のテスト回路付きリンク層デバイスの第2実施形態の構成について、図4を参照して説明する。
【0044】
図4は、第2実施形態のテスト回路付きリンク層デバイスを、IEEE1394インターフェースのリンク層デバイスに適用したブロック図である。
【0045】
上述の第1実施形態は、テスト時に、上記のように送信回路18がサイクル・スタート・パケットを生成出力するが、そのうちのデータに関しては下位の2ビットしか生成できない。一方、物理層インターフェース20は、8ビットのデータの送信ができる8個のドライバを備えているので、第1実施形態では上位の6ビットにかかる部分のACタイミング測定ができないという不都合がある。
【0046】
そこで、この第2実施形態では、その不都合を解消するために、テスト時に、その下位2ビットのデータを利用し、その8個のドライバにデータを出力するようにしたものである。
【0047】
このため、図4に示す第2実施形態にかかるリンク層デバイス11Aは、図1に示す物理層インターフェース20を、物理層インターフェース20Aに置き換えたものである。
【0048】
なお、このリンク層デバイス11Aは、物理層インターフェース20Aを除く他の部分の構成は、図1に示すリンク層デバイス11の構成と同一であるので、同一の構成要素には同一符号を付してその構成の説明は省略する。
【0049】
次に、物理層インターフェース20Aの詳細な構成について、図5を参照して説明する。
【0050】
この物理層インターフェース20Aは、図5に示すように、レシーバ47とドライバ48からなる8個のトランシーバ50〜57を備え、その各トランシーバ50〜57はデータ端子30〜37に接続されている。また、トランシーバ50〜57の各レシーバ47は、その受信データD0in〜D7inを受信回路19に出力するようになっている。さらに、トランシーバ50〜57の各ドライバ48には、送信回路18からの送信データD0out〜D7outが入力されるようになっている。さらにまた、トランシーバ50〜57の各ドライバ48には、イネーブル信号D0en〜D7enが入力されるようになっている。以上の構成は、図1の物理層インターフェース20の構成と同様である。
【0051】
ところが、この物理層インターフェース20Aでは、テスト信号Testがあったときに、トランシーバ50、51のドライバ48に入力される送信データD0outまたはD1outを、トランシーバ52〜57の各ドライバ48に選択的に出力するセレクタ61〜66を備えている。
【0052】
また、この物理層インターフェース20Aでは、テスト信号Testがあったときに、トランシーバ50、51のドライバ48に入力されるイネーブル信号D0enまたはD1enを、トランシーバ52〜57の各ドライバ48に選択的に出力するセレクタ71〜76を備えている。
【0053】
セレクタ61は、2つのアンドゲート611、612と、オアゲート613とから構成されている。アンドゲート611は、その一方の入力端子に送信データD0outが入力され、その他方の入力端子にはテスト信号Testが入力され、その出力はオアゲート613の一方の入力端子に入力されるようになっている。アンドゲート612は、その一方の入力端子にテスト信号Testが反転して入力され、その他方の入力端子には送信データD2outが入力され、その出力はオアゲート613の他方の入力端子に入力されるようになっている。オアゲート613の出力は、トランシーバ52のドライバ48に入力されるようになっている。
【0054】
なお、セレクタ62〜66も、セレクタ61と同様に構成されているので、その説明は省略する。
【0055】
セレクタ71は、2つのアンドゲート711、712と、オアゲート713とから構成されている。アンドゲート711は、その一方の入力端子にイネーブル信号D0enが入力され、その他方の入力端子にはテスト信号Testが入力され、その出力はオアゲート713の一方の入力端子に入力されるようになっている。アンドゲート712は、その一方の入力端子にテスト信号Testが反転して入力され、その他方の入力端子にはイネーブル信号D2enが入力され、その出力はオアゲート713の他方の入力端子に入力されるようになっている。オアゲート713の出力は、トランシーバ52のドライバ48に入力されるようになっている。
【0056】
なお、セレクタ72〜76も、セレクタ71と同様に構成されているので、その説明は省略する。
【0057】
このような構成からなる第2実施形態にかかるリンク層デバイス11Aでは、テストモード時には、図1のリンク層デバイス11と同様に、送信回路18が、システムクロックSClkに同期してサイクル・スタート・パケットを生成する。この生成サイクル・スタート・パケットは、図2(B)〜(D)に示すように、リンクリクエスト信号LReq、制御信号Ctl、およびデータD(0:1)とからなる。
【0058】
そのリンクリクエスト信号LReqと制御信号Ctlとは、物理層インターフェース20Aの図示しないドライバにそれぞれ入力され、そのデータD(0:1)は、物理層インターフェース20Aのトランシーバ50、51のドライバ48に供給される(図5参照)。
【0059】
また、このとき、図5のセレクタ61〜66とセレクタ71〜76には、テスト信号Testがそれぞれ供給されている。このため、セレクタ61〜66は、トランシーバ50、51のドライバ48に入力される送信データD0outまたはD1outを、トランシーバ52〜57の各ドライバ48に選択的に出力する。また、このとき、セレクタ71〜76は、トランシーバ50、51のドライバ48に入力されるイネーブル信号D0enまたはD1enを、トランシーバ52〜57の各ライバ48に選択的に出力する。
【0060】
この結果、トランシーバ52〜57の各ドライバ48からは、データD2〜D7が出力されるので、システムクロックSClkとそのデータD2〜D7のACタイミング測定ができる。
【0061】
以上説明したように、この第2実施形態では、送信回路18が生成するサイクル・スタート・パケットを利用するとともに、そのサイクル・スタート・パケットによる不都合を補うようにしたので、リンク層デバイス単体でACタイミング測定を行う際の測定精度の向上が図れる。
【0062】
次に、本発明のテスト回路付きリンク層デバイスの第3実施形態の構成について、図6を参照して説明する。
【0063】
図6は、第3実施形態のテスト回路付きリンク層デバイスを、IEEE1394インターフェースのリンク層デバイスに適用したブロック図である。
【0064】
この第3実施形態かかるリンク層デバイス11Bは、図6に示すように、送信回路18と物理層インターフェース20との間に、テスト時に使用する専用のテスト回路81を設けるようにしたものである。
【0065】
テスト回路81は、各種のパターンからなるテストデータを発生するROMなどからなるテストデータ発生回路811と、そのテストデータ発生回路811が発生するテストデータを選択信号により選択するデコーダ812と、テスト時にテスト信号によりテストデータ発生回路811が発生するテストデータを物理層インターフェース20に選択出力するセレクタ813とを備えている。
【0066】
なお、このリンク層デバイス11Bは、テスト回路81を除く他の部分の構成は、図1に示すリンク層デバイス11の構成と同一であるので、同一の構成要素には同一符号を付してその構成の説明は省略する。
【0067】
次に、このような構成からなる第3実施形態にかかるリンク層デバイス11Bのテストモード時の動作の一例について、図6を参照して説明する。
【0068】
この場合には、リンク層デバイス11Bを汎用ボードにセットするとともに、システムクロック端子44にシステムクロックSClkを供給する。
【0069】
この状態で外部からテストの開始を示すテスト信号と、選択信号が入力されると、テストデータ発生回路811は、その選択信号に基づいて所定のパターンからなるテストデータを、システムクロックSClkに同期して発生する。このテストデータは、図2(B)〜(D)に相当するものである。
【0070】
このテストデータは、セレクタ813で選択されて物理層インターフェース20に入力され、対応するドライバ(図示せず)からリンクリクエスト信号LReq、制御信号Ctl、およびデータD0〜D7が出力される。そして、システムクロックSClk、リンクリクエスト信号LReq、制御信号Ctl、およびデータD1〜D7は、図示しない測定器に供給される。そこで、測定器では、上記のように各ACタイミングを測定する。
【0071】
以上説明したように、この第3実施形態では、テストデータを生成する専用のテスト回路81を備えるようにしたので、リンク層デバイス単体でACタイミング測定がテストができる上に、汎用ボードを使用して温度、電源電圧等の測定条件を変えてその測定ができる。また、テスト回路81は、任意のパターンのテストデータを生成できるので、条件の異なる測定ができ、その測定精度が向上できる。
【0072】
次に、本発明のテスト回路付き物理層デバイスの実施形態の構成について、図7を参照して説明する。
【0073】
図7は、この実施形態のテスト回路付き物理層デバイスを、IEEE1394インターフェースの物理層デバイスに適用したブロック図である。
【0074】
この物理層デバイス91は、図7に示すように、リンク層インターフェース92、テスト回路93、トランスミッタ/エンコーダ94、レシーバ/デコーダ95、アービトレーション・ステート・マシン96、送受信回路97、定電圧回路98、クロック生成回路99を少なくとも備えている。
【0075】
リンク層インターフェース92は、物理層デバイス11等と接続してデータの授受を行うようになっている。
【0076】
テスト回路93は、各種のパターンからなるテストデータを発生するROMなどからなるテストデータ発生回路931と、そのテストデータ発生回路931が発生するテストデータを選択信号により選択するデコーダ932と、テスト信号によりテストデータ発生回路931が発生するテストデータをリンク層インターフェース92に選択出力するセレクタ933とを備えている。
【0077】
トランスミッタ/エンコーダ94は、送信データをエンコードして送受信回路97に出力するようになっている。レシーバ/デコーダ95は、送受信回路97が受信したデータをデコードしてセレクタ933に出力するようになっている。アービトレーション・ステート・マシン96は、データの送受信の際に各種の調停を行うようになっている。
【0078】
送受信回路97は、IEEE1394機器との間でケーブルを介してデータの授受を行うようになっている。また、この送受信回路97は、定電圧回路98により駆動されるようになっている。クロック生成回路99は、システムクロックSClkを生成し、このシステムクロックSClkにより各部が同期動作するようになっている。
【0079】
次に、このような構成からなる実施形態にかかる物理層デバイス91のテストモード時の動作の一例について、図6を参照して説明する。
【0080】
この場合には、物理層デバイス91を汎用ボードにセットする。この状態で外部からテスト信号と選択信号とが入力されると、テストデータ発生回路931は、その選択信号に基づいて所定のパターンからなるテストデータをシステムクロックSClkに同期して発生する。このテストデータは、例えば図2(B)〜(D)に相当するものである。
【0081】
このテストデータは、セレクタ933で選択されてリンク層インターフェース92に入力され、対応するドライバ(図示せず)から出力される。そこで、各ドライバから出力される各データとシステムクロックSClkとが、図示しない測定器に供給される。そこで、測定器では、上記のように各ACタイミングを測定する。
【0082】
以上説明したように、この実施形態にかかるテスト回路付き物理層デバイスでは、テストデータを生成する専用のテスト回路93を備えるようにしたので、物理層デバイス単体でACタイミング測定がテストができる上に、汎用ボードを使用して温度、電源電圧等の測定条件を変えてその測定ができる。また、テスト回路93は、任意のパターンのテストデータを生成できるので、条件の異なる測定ができ、その測定精度が向上できる。
【0084】
請求項1〜3にかかる発明によれば、簡易な構成によりリンク層デバイス単体でACタイミング測定ができる上に、汎用ボードを使用して温度、電源電圧等の測定条件を変えてその測定ができる。
【0085】
また、請求項2、3にかかる発明によれば、サイクル・スタート・パケットに基づいてテストデータを生成するテストデータ生成手段を備えるようにしたので、リンク層デバイス単体でACタイミング測定を行う際の測定精度の向上が図れる。
さらに、請求項4、5にかかる発明によれば、リンク層デバイス単体でACタイミング測定ができる上に、汎用ボードを使用して温度、電源電圧等の測定条件を変えてその測定ができる。
【0086】
さらにまた、請求項6、7にかかる発明によれば、物理層デバイス単体でACタイミング測定がテストができる上に、汎用ボードを使用して温度、電源電圧等の測定条件を変えてその測定ができる。
【図面の簡単な説明】
【図1】本発明のテスト回路付きリンク層デバイスの第1実施形態を、IEEE1394インターフェースのリンク層デバイスに適用したブロック図である。
【図2】サイクル・スタート・パケット使用時のタイミングチャートである。
【図3】図2の部分的な拡大図である。
【図4】本発明のテスト回路付きリンク層デバイスの第2実施形態を、IEEE1394インターフェースのリンク層デバイスに適用したブロック図である。
【図5】図4の物理層インターフェースの具体的な構成を示す回路図である。
【図6】本発明のテスト回路付きリンク層デバイスの第3実施形態を、IEEE1394インターフェースのリンク層デバイスに適用したブロック図である。
【図7】本発明のテスト回路付き物理層デバイスの実施形態を、IEEE1394インターフェースの物理層デバイスに適用したブロック図である。
【図8】従来技術の説明図である。
【符号の説明】
11、11A、11B リンク層デバイス
15 シーケンサ
17 サイクルタイマ/モニタ
18 送信回路
20、20A 物理層インターフェース
21 テスト回路
47 レシーバ
48 ドライバ
50〜57 トランシーバ
61〜66 セレクタ
71〜76 セレクタ
81 テスト回路
811 テストデータ発生回路
812 デコーダ
813 セレクタ
91 物理層デバイス
92 リンク層インターフェース
93 テスト回路
931 テストデータ発生回路
932 デコーダ
933 セレクタ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a link layer device with a test circuit having a test circuit and a physical layer device with a test circuit, and is applied to, for example, a link layer device or a physical layer device of an IEEE1394 interface.
[0002]
[Prior art]
Conventionally, for example, a physical layer device and a link layer device of an IEEE 1394 interface are generally configured independently.
[0003]
For example, various signals such as data, control signals, and link request signals are transferred from the link layer device to the physical layer device, and the delay between each signal and the system clock is defined by the IEEE 1394 standard as an AC timing standard. Has been.
[0004]
[Problems to be solved by the invention]
By the way, conventionally, such AC timing standard measurement has a disadvantage that a link layer device or a physical layer device cannot be performed alone.
[0005]
In order to eliminate this inconvenience, as shown in FIG. 8, the
[0006]
However, conventionally, in order to operate at the system level, a dedicated evaluation board, software, and a target system as a communication partner are required, and the man-hours and cost period for building the evaluation environment are increased. There was an inconvenience. In addition, for the measurement, it is difficult to change various conditions that affect the measurement results such as temperature and power supply voltage.
[0007]
In view of the above, the first object of the present invention is to enable AC timing measurement with a single link layer device, thereby eliminating the conventional disadvantages, and using a general-purpose board to An object of the present invention is to provide a link layer device with a test circuit in which measurement conditions such as voltage can be changed and measured.
[0008]
A second object of the present invention is to make it possible to measure AC timing with a physical layer device alone in view of the above points, thereby eliminating the conventional disadvantages, and using a general-purpose board to An object of the present invention is to provide a physical layer device with a test circuit in which measurement conditions such as voltage can be changed and measured.
[0009]
[Means for Solving the Problems]
In order to solve the above-described problems and achieve the first object of the present invention, the inventions described in
[0010]
That is, the invention according to
[0011]
The invention according to
According to a third aspect of the present invention, in the link layer device with a test circuit according to the first or second aspect, the link layer device is a link layer device having an IEEE 1394 interface.
[0015]
According to the invention described in
[0018]
According to a fourth aspect of the present invention, when a selection signal is input to a link layer device having at least a physical layer interface capable of exchanging data with the physical layer device, a predetermined signal is input based on the selection signal. Test data generating means for generating test data consisting of a pattern in synchronization with a predetermined clock; and test data generated by the test data generating means based on the test signal when the test signal is input to the physical layer And selector means for selecting and outputting to the interface.
According to a fifth aspect of the present invention, in the link layer device with a test circuit according to the fourth aspect, the link layer device is a link layer device of an IEEE1394 interface.
[0019]
Next, in order to achieve the second object of the present invention,Claims 6 and 7Each invention described in the above was configured as follows.
[0020]
That is,According to a sixth aspect of the present invention, in a physical layer device having at least a link layer interface capable of transmitting / receiving data to / from a link layer device, when a selection signal is input, a predetermined pattern is generated based on the selection signal. Test data generating means for generating test data in synchronization with a predetermined clock, and test data generated by the test data generating means based on the test signal when the test signal is input to the link layer interface And selector means for selecting and outputting.
According to a seventh aspect of the present invention, in the physical layer device with a test circuit according to the sixth aspect, the physical layer device is a physical layer device of an IEEE1394 interface.
[0021]
According to invention of Claim 6 and 7 of such a structure,In addition to being able to test AC timing measurement with a single physical layer device, it is possible to use a general-purpose board to change measurement conditions such as temperature and power supply voltage.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
[0025]
The configuration of the first embodiment of the link layer device with a test circuit of the present invention will be described with reference to FIG.
[0026]
FIG. 1 is a block diagram in which the link layer device with a test circuit according to the first embodiment is applied to a link layer device with an IEEE1394 interface.
[0027]
As shown in FIG. 1, the link layer device 11 includes a
[0028]
The
[0029]
The
[0030]
The cycle timer /
[0031]
The
[0032]
Next, an example of the operation in the test mode of the link layer device 11 according to the first embodiment having such a configuration will be described with reference to FIGS.
[0033]
In this case, the link layer device 11 is set on the general-purpose board and the system clock SClk is supplied to the
[0034]
When the test mode is set from the outside in this state, the test circuit 21 generates a test signal Test indicating the start of the test, and this test signal is supplied to the
[0035]
Based on the test signal, the
[0036]
The link request signal LReq, control signal Ctl, and data D (0: 1) are supplied to corresponding drivers (not shown) of the
[0037]
On the other hand, the system clock SClk, the link request signal LReq, the control signal Ctl, and the data D (0: 1) are supplied to a measuring device (not shown). The measuring instrument measures each AC timing.
[0038]
For example, the system clock SClk and the request signal LReq have a relationship as shown in FIGS. Therefore, the time difference td1 from the rise of the system clock SClk to the rise of the link request signal LReq and the time difference td2 from the rise of the system clock SClk to the fall of the link request signal LReq are measured. Since these time differences td1 and td2 are defined in the IEEE 1394 standard and the allowable range is specified, it is determined whether or not the measured value is within the allowable range.
[0039]
The relationship between the system clock SClk and the control signal Ctl and the relationship between the system clock SClk and the data D (0: 1) are also defined in the IEEE 1394 standard, as is the relationship between the system clock SClk and the request signal LReq. Then, the measurement is performed and it is determined whether or not each measurement value is within an allowable range.
[0040]
Thereafter, various conditions of temperature and power supply voltage are changed, and each measurement is repeated each time the conditions are changed.
[0041]
As described above, in the first embodiment, the cycle start packet generated by the
[0042]
Therefore, according to the first embodiment, since it is not necessary to operate at the system level as in the prior art, a dedicated evaluation board, software, and a target system to be a communication partner are not required, and an evaluation environment is reduced. Man-hours and cost periods for construction are not required. Such an advantage can be obtained in the following embodiments, and therefore the description thereof is omitted below.
[0043]
Next, the configuration of the second embodiment of the link layer device with a test circuit of the present invention will be described with reference to FIG.
[0044]
FIG. 4 is a block diagram in which the link layer device with a test circuit according to the second embodiment is applied to a link layer device with an IEEE1394 interface.
[0045]
In the first embodiment described above, the
[0046]
Therefore, in the second embodiment, in order to eliminate the inconvenience, at the time of the test, the lower 2 bits of data are used and the data are output to the eight drivers.
[0047]
Therefore, the
[0048]
The
[0049]
Next, a detailed configuration of the
[0050]
As shown in FIG. 5, the
[0051]
However, in the
[0052]
The
[0053]
The
[0054]
Note that the
[0055]
The selector 71 is composed of two AND
[0056]
Note that the
[0057]
In the
[0058]
The link request signal LReq and the control signal Ctl are respectively input to a driver (not shown) of the
[0059]
At this time, the test signals Test are supplied to the
[0060]
As a result, the data D2 to D7 are output from the
[0061]
As described above, in the second embodiment, the cycle start packet generated by the
[0062]
Next, the configuration of the third embodiment of the link layer device with a test circuit of the present invention will be described with reference to FIG.
[0063]
FIG. 6 is a block diagram in which the link layer device with a test circuit according to the third embodiment is applied to a link layer device having an IEEE 1394 interface.
[0064]
In the
[0065]
The
[0066]
The
[0067]
Next, an example of the operation in the test mode of the
[0068]
In this case, the
[0069]
In this state, when a test signal indicating the start of a test and a selection signal are input from the outside, the test
[0070]
This test data is selected by the
[0071]
As described above, in the third embodiment, since the
[0072]
Next, the configuration of an embodiment of a physical layer device with a test circuit of the present invention will be described with reference to FIG.
[0073]
FIG. 7 is a block diagram in which the physical layer device with a test circuit of this embodiment is applied to a physical layer device with an IEEE1394 interface.
[0074]
As shown in FIG. 7, the
[0075]
The
[0076]
The
[0077]
The transmitter /
[0078]
The transmission /
[0079]
Next, an example of the operation in the test mode of the
[0080]
In this case, the
[0081]
The test data is selected by the
[0082]
As described above, the physical layer device with a test circuit according to this embodiment includes the
[0084]
According to the invention concerning Claims 1-3,In addition to being able to measure the AC timing with a single link layer device with a simple configuration, the measurement can be performed by changing measurement conditions such as temperature and power supply voltage using a general-purpose board.
[0085]
Also,According to the second and third aspects of the invention, the test data is generated based on the cycle start packet.Since the test data generating means is provided, it is possible to improve the measurement accuracy when performing the AC timing measurement with the link layer device alone.
Further, according to the inventions according to
[0086]
Furthermore,According to the invention concerning Claims 6 and 7,In addition to being able to test AC timing measurement with a single physical layer device, it is possible to use a general-purpose board to change measurement conditions such as temperature and power supply voltage.
[Brief description of the drawings]
FIG. 1 is a block diagram in which a first embodiment of a link layer device with a test circuit of the present invention is applied to a link layer device of an IEEE 1394 interface.
FIG. 2 is a timing chart when a cycle start packet is used.
FIG. 3 is a partially enlarged view of FIG. 2;
FIG. 4 is a block diagram in which a second embodiment of a link layer device with a test circuit of the present invention is applied to a link layer device of an IEEE 1394 interface.
5 is a circuit diagram showing a specific configuration of the physical layer interface of FIG. 4. FIG.
FIG. 6 is a block diagram in which a third embodiment of a link layer device with a test circuit according to the present invention is applied to a link layer device of an IEEE 1394 interface.
FIG. 7 is a block diagram in which an embodiment of a physical layer device with a test circuit of the present invention is applied to a physical layer device of an IEEE 1394 interface.
FIG. 8 is an explanatory diagram of the prior art.
[Explanation of symbols]
11, 11A, 11B Link layer device
15 Sequencer
17 cycle timer / monitor
18 Transmitter circuit
20, 20A Physical layer interface
21 Test circuit
47 Receiver
48 drivers
50-57 transceiver
61-66 selector
71-76 selector
81 Test circuit
811 Test data generation circuit
812 decoder
813 selector
91 Physical layer devices
92 Link layer interface
93 Test circuit
931 Test data generation circuit
932 decoder
933 selector
Claims (7)
送信すべきパケットを生成するパケット生成手段と、
前記パケット生成手段のパケットの生成を制御する制御手段と、
テストモードが設定されたときに、テスト信号を発生して前記制御手段に出力するテスト信号発生手段と、を備え、
前記制御手段は、前記テスト信号を受けたときに、前記送信すべきパケットとして所定のクロックに同期するサイクル・スタート・パケットを生成し、これを前記物理層インターフェースに出力するように、前記パケット生成手段の動作を制御することを特徴とするテスト回路付きリンク層デバイス。In a link layer device having at least a physical layer interface capable of transferring data to and from the physical layer device,
Packet generation means for generating a packet to be transmitted;
Control means for controlling packet generation of the packet generation means;
A test signal generating means for generating a test signal and outputting it to the control means when the test mode is set,
When receiving the test signal, the control means generates a cycle start packet that is synchronized with a predetermined clock as the packet to be transmitted, and outputs the packet to the physical layer interface. A link layer device with a test circuit , characterized in that the operation of the means is controlled .
選択信号が入力されたときに、前記選択信号に基づいて所定のパターンからなるテストデータを所定のクロックに同期して発生するテストデータ発生手段と、Test data generating means for generating test data having a predetermined pattern in synchronization with a predetermined clock based on the selection signal when a selection signal is input;
テスト信号が入力されたときに、前記テスト信号に基づいて前記テストデータ発生手段が発生するテストデータを前記物理層インターフェースに選択出力するセレクタ手段と、Selector means for selectively outputting to the physical layer interface test data generated by the test data generating means based on the test signal when a test signal is input;
を備えたことを特徴とするテスト回路付きリンク層デバイス。A link layer device with a test circuit.
選択信号が入力されたときに、前記選択信号に基づいて所定のパターンからなるテストデータを所定のクロックに同期して発生するテストデータ発生手段と、Test data generating means for generating test data having a predetermined pattern in synchronization with a predetermined clock based on the selection signal when a selection signal is input;
テスト信号が入力されたときに、前記テスト信号に基づいて前記テストデータ発生手段が発生するテストデータを前記リンク層インターフェースに選択出力するセレクタ手段と、Selector means for selectively outputting test data generated by the test data generating means to the link layer interface based on the test signal when a test signal is input;
を備えたことを特徴とするテスト回路付き物理層デバイス。A physical layer device with a test circuit, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000103840A JP4106851B2 (en) | 2000-04-05 | 2000-04-05 | Link layer device with test circuit and physical layer device with test circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000103840A JP4106851B2 (en) | 2000-04-05 | 2000-04-05 | Link layer device with test circuit and physical layer device with test circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2001289913A JP2001289913A (en) | 2001-10-19 |
JP4106851B2 true JP4106851B2 (en) | 2008-06-25 |
Family
ID=18617476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000103840A Expired - Fee Related JP4106851B2 (en) | 2000-04-05 | 2000-04-05 | Link layer device with test circuit and physical layer device with test circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4106851B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003121506A (en) | 2001-10-18 | 2003-04-23 | Seiko Epson Corp | Testing circuit for electronic apparatus |
-
2000
- 2000-04-05 JP JP2000103840A patent/JP4106851B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2001289913A (en) | 2001-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI589128B (en) | Method of testing multiple data packet signal transceivers concurrently | |
RU2011107090A (en) | APPOINTMENT AND SELECTION OF THE CELL ID | |
CN105278413B (en) | The communication means of host computer and similar CAN device | |
RU2124269C1 (en) | Device for evaluation of performance characteristics of mobile communication device | |
JP4106851B2 (en) | Link layer device with test circuit and physical layer device with test circuit | |
JP2000341135A (en) | Automatic skew adjustment device | |
KR100306349B1 (en) | Data communication systems and devices for them | |
JP2004048152A (en) | Radio network system, radio terminal, and radio access point | |
CN112147561A (en) | Multi-core intelligent electric meter clock precision test system based on low-power-consumption Bluetooth | |
JP2004295743A (en) | Multipoint data collecting device | |
JP3469698B2 (en) | Electronic device and adjustment method thereof | |
JP4857161B2 (en) | Trigger generating apparatus and pseudo base station apparatus | |
JP3038647B2 (en) | POS order entry system | |
JP4471435B2 (en) | Wireless meter reading system | |
JP5046571B2 (en) | Measuring system | |
JP2004021771A (en) | Measuring device for radio telemeter system | |
JP3518675B2 (en) | Bus evaluation system | |
KR0146326B1 (en) | Interface circuit for matching full electronic switch process matching board and personal computer | |
US8653825B2 (en) | Power measurement with a signal generator | |
JP2001148710A5 (en) | ||
JP2002152853A (en) | Wireless unit with electric field strength measurement function | |
JP2001128232A (en) | Communication channel decision circuit in response to radio wave strength | |
JP3523778B2 (en) | Delay phase control function test method | |
JP2968776B2 (en) | Error rate measurement method for wireless telephones | |
JPH10293894A (en) | Radio meter inspection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041228 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20050113 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050830 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070731 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071001 |
|
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: 20080311 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080324 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110411 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: 20110411 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120411 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130411 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |