JP2004271282A - High-speed serial controller - Google Patents

High-speed serial controller Download PDF

Info

Publication number
JP2004271282A
JP2004271282A JP2003060405A JP2003060405A JP2004271282A JP 2004271282 A JP2004271282 A JP 2004271282A JP 2003060405 A JP2003060405 A JP 2003060405A JP 2003060405 A JP2003060405 A JP 2003060405A JP 2004271282 A JP2004271282 A JP 2004271282A
Authority
JP
Japan
Prior art keywords
circuit
data
test
interface
phy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2003060405A
Other languages
Japanese (ja)
Other versions
JP3968040B2 (en
Inventor
Etsuo Nagai
悦夫 永井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2003060405A priority Critical patent/JP3968040B2/en
Publication of JP2004271282A publication Critical patent/JP2004271282A/en
Application granted granted Critical
Publication of JP3968040B2 publication Critical patent/JP3968040B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To debug a circuit section which does not depend on a PHY circuit, without newly preparing an expensive measuring instrument, in a high-speed serial controller incorporating the PHY circuit. <P>SOLUTION: A test circuit 2 is connected to each interface section of the PHY circuits 3, 8 that are provided at a physical layer and convert an analog signal flowing to wiring into a digital signal, and LINC circuits 4, 7 that are provided at a data link layer, adjacent to the physical layer for converting data converted to a digital signal by the PHY circuits 3, 8 into data in a prescribed format. Then, parallel data, flowing to the interface sections, are observed directly by means of a serial test interface 25. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、高速シリアルコントローラに関し、特に内蔵するデジタル信号処理部のデバッグをおこなうためのテスト回路を内蔵した高速シリアルコントローラに関する。
【0002】
【従来の技術】
コンピュータシステム等におけるデータ転送方式の一つに、シリアル転送方式がある。シリアルバスの例としては、イーサネット(R)(IEEE802.3)、USB(ユニバーサルシリアルバス)、IEEE1394などがある。高速シリアルインターフェースは、コンピュータシステムとAV(オーディオ・ビジュアル)機器などとを融合した新しいデジタル民生機器におけるインターフェースを実現する中核技術の一つである。高速シリアルインターフェースを含めた高速化技術の標準化が活性化している。
【0003】
通常、高速シリアルコントローラは、配線間を流れるアナログ信号を、物理層のIC(以下、PHY−ICとする)においてデジタル信号に変換し、それをデータリンク層のIC(LINC−IC)に転送し、そこで規定の形式に変換することにより、データの送受信をおこなう構成となっている。従来、PHY−ICは、アナログ回路で構成されたアナログICチップとして製造されている。また、LINC−ICは、デジタル回路で構成されたデジタルICチップとして製造されている。したがって、従来の高速シリアルコントローラは、アナログICチップとデジタルICチップを有する2チップ構成となっている。
【0004】
近年、電子機器の短小化やコストダウンに伴い、PHY−ICとLINC−ICとを同一チップ上に混載して1チップ化することが進められている。また、現在提案されている新しい標準インターフェースの規格の多くは、高速シリアル転送方式のものである。したがって、今後、同一チップ上に物理層の回路(以下、PHY回路とする)とデータリンク層の回路(以下、LINC回路とする)が搭載され、かつインターフェースがすべて高速シリアルインターフェースで構成された回路の開発が活発になる。
【0005】
しかし、PHY回路は、LINC回路から送られてきたパラレルデータを高速シリアル変換して配線へ出力するため、PHY回路の測定の難易度は、高速になるほど高くなる。したがって、高速シリアルコントローラの評価をおこなうためには、非常に高価な測定器が必要となる。
【0006】
ところで、任意のエラーパケットを発生させる機能を有する高速シリアルバスコントローラ装置が提案されている(特許文献1参照)。また、シリアルバスコントロール回路を備えた半導体集積回路装置において、アナログ回路部とデジタル回路部とを完全に分けてテストする構成のものが提案されている(特許文献2参照)。
【0007】
【特許文献1】
特開2000−174850号公報
【特許文献2】
特開平6−94805号公報
【0008】
【発明が解決しようとする課題】
上述したように、高速シリアルインターフェースとPHY回路を内蔵する回路の評価をおこなうにあたっては、高価な測定器が必要となる。そのため、既存の評価用の環境を利用することができない、つまり高価な測定器をそろえた環境でなければ、評価をおこなうことができないという問題点があった。
【0009】
本発明は、上記問題点を解決するためになされたもので、新規に高価な測定器を準備しなくても、PHY回路に依存しない回路部分のデバッグをおこなうことができる高速シリアルコントローラを提供することを目的とする。
【0010】
【課題を解決するための手段】
上述した課題を解決し、目的を達成するため、請求項1に記載の発明にかかる高速シリアルコントローラは、物理層に設けられ、配線を流れるアナログ信号をデジタル信号に変換する第1の制御手段と、前記物理層に隣接するデータリンク層に設けられ、前記第1の制御手段によりデジタル信号に変換されたデータを規定の形式のデータに変換する第2の制御手段と、前記第1の制御手段と前記第2の制御手段とのインターフェース部に接続されたテスト手段と、前記インターフェース部を流れるパラレルデータを出力する出力手段と、を具備することを特徴とする。
【0011】
この請求項1に記載の発明によれば、第1の制御手段と第2の制御手段とのインターフェース部を流れるパラレルデータが出力手段から出力される。
【0012】
また、請求項2に記載の発明にかかる高速シリアルコントローラは、請求項1に記載の発明において、前記テスト手段は、評価中に、前記出力手段への出力を、前記第1の制御手段と前記第2の制御手段との第1の組み合わせのインターフェース部の出力から、前記第1の制御手段と前記第2の制御手段との第2の組み合わせのインターフェース部の出力へ切り替える切り替え手段を備えていることを特徴とする。
【0013】
この請求項2に記載の発明によれば、切り替え手段により、評価中に、出力手段への出力が、第1の制御手段と第2の制御手段との第1の組み合わせのインターフェース部の出力から、第1の制御手段と第2の制御手段との第2の組み合わせのインターフェース部の出力へ切り替えられる。
【0014】
また、請求項3に記載の発明にかかる高速シリアルコントローラは、請求項1または2に記載の発明において、前記テスト手段は、パラレルデータを生成するデータ生成手段と、前記データ生成手段により生成されたデータを、前記第1の制御手段と前記第2の制御手段との第1の組み合わせのインターフェース部、および前記第1の制御手段と前記第2の制御手段との第2の組み合わせのインターフェース部に転送するデータ転送手段と、をさらに備えていることを特徴とする。
【0015】
この請求項3に記載の発明によれば、データ生成手段により生成されたパラレルデータが、第1の制御手段と第2の制御手段との第1の組み合わせのインターフェース部、および第1の制御手段と第2の制御手段との第2の組み合わせのインターフェース部に転送される。
【0016】
また、請求項4に記載の発明にかかる高速シリアルコントローラは、請求項1〜3のいずれか一つに記載の発明において、前記テスト手段は、前記第1の制御手段の評価をおこなうモードを有し、前記出力手段の、前記第1の制御手段の評価をおこなうモードの実行時に使用されるテストピンは、その他のモードの実行時に使用されるテストピンを兼ねていることを特徴とする。
【0017】
この請求項4に記載の発明によれば、第1の制御手段の評価時に使用されるテストピンは、その他のモードの実行時にも使用される。
【0018】
【発明の実施の形態】
以下に添付図面を参照しながら、本発明にかかる高速シリアルコントローラの好適な実施の形態を詳細に説明する。なお、以下の説明では、シリアルバスインターフェースの数を2とするが、本発明はこれに限定されるものではない。
【0019】
図1は、本発明にかかる高速シリアルコントローラの構成の一例を示すブロック図である。図1に示すように、高速シリアルコントローラ1は、テスト手段として機能するテスト回路2を内蔵している。また、高速シリアルコントローラ1は、第1の制御手段として機能する第1のPHY回路3、第2の制御手段として機能する第1のLINC回路4、アービタ回路5、DMA(ダイレクトメモリアクセス)回路6、第2の制御手段として機能する第2のLINC回路7、および第1の制御手段として機能する第2のPHY回路8を備えている。
【0020】
第1のPHY回路3は、第1のシリアルバスインターフェース9を介して、図示しない配線に接続される。第1のPHY回路3と第1のLINC回路4とは、第1の内部バス11を介して接続されている。第1のLINC回路4とアービタ回路5とは、第2の内部バス12を介して接続されている。
【0021】
アービタ回路5とDMA回路6とは、第3の内部バス13を介して接続されている。DMA回路6と第2のLINC回路7とは、第4の内部バス14を介して接続されている。第2のLINC回路7と第2のPHY回路8とは、第5の内部バス15を介して接続されている。第2のPHY回路8は、第2のシリアルバスインターフェース10を介して、図示しない配線に接続される。
【0022】
テスト回路2は、出力手段として機能するシリアルテストインターフェース25を介して、図示しない外部のバスに接続される。高速シリアルコントローラ1の内部では、テスト回路2は、第6の内部バス26を介して、第1のPHY回路3と第1のLINC回路4とのインターフェース部、すなわち第1の内部バス11に接続している。また、テスト回路2は、第7の内部バス27を介して、第2のPHY回路8と第2のLINC回路7とのインターフェース部、すなわち第5の内部バス15に接続している。
【0023】
また、テスト回路2は、第1のPHY回路3および第1のLINC回路4に、第1の信号線28を介してモード切替信号を供給する。第2のPHY回路8および第2のLINC回路7についても同様であり、テスト回路2は、第2の信号線29を介してモード切替信号を供給する。
【0024】
テスト回路2は、インターフェース選択回路20、データ生成手段として機能するデータ生成回路21、データ転送手段として機能するデータ転送回路22、モニタ回路23、およびテストピン選択回路として機能するテストピン選択回路24を備えている。インターフェース選択回路20は、第1のPHY回路3と第1のLINC回路4とのインターフェース部(第1の内部バス11)、および第2のPHY回路8と第2のLINC回路7とのインターフェース部(第5の内部バス15)のいずれを評価対象にするのかという選択をおこなう。データ生成回路21は、テストモードに応じてパラレルデータを自動的に生成する。
【0025】
データ転送回路22は、インターフェース選択回路20により選択されたLINC回路4,7に、データ生成回路21により生成されたパラレルデータを転送する。モニタ回路23は、データをモニタするための回路である。テストピン選択回路24は、どのパラレルデータのどのビットデータをモニタするかに応じて、シリアルテストインターフェース25のテストピンを選択する回路である。
【0026】
つぎに、高速シリアルコントローラ1の動作およびデータの流れについて説明する。データの送信時には、DMA回路6が起動し、第2のLINC回路7は、DMA回路6を介して、必要なデータをアービタ回路5に要求する。アービタ回路5は、アービトレーションをおこない、第1のLINC回路4にデータを要求する。
【0027】
それによって、第1のPHY回路3、第1のシリアルバスインターフェース9、および第1のシリアルバスインターフェース9に接続された図示しない配線を介して、図示しない外部記憶デバイスからデータが読み出される。読み出されたデータは、図示しない配線および第1のシリアルバスインターフェース9を介して、第1のPHY回路3に転送される。
【0028】
第1のPHY回路3では、アナログ信号がデジタル信号に変換される。デジタル信号に変換されたデータは、第1のLINC回路4を介して、アービタ回路5に転送される。アービタ回路5は、受け取ったデータをDMA回路6に転送し、DMA回路6は、そのデータを第2のLINC回路7に転送する。
【0029】
第2のLINC回路7は、受け取ったデータに、パッケト転送に必要な情報データを付加することにより規定の形式に変換して、第2のPHY回路8に送る。第2のPHY回路8は、受け取ったデータをアナログ信号に変換し、第2のシリアルバスインターフェース10を介して、図示しない配線に出力する。
【0030】
データの受信時には、第2のPHY回路8は、第2のシリアルバスインターフェース10を介して、図示しない配線からアナログ信号を受け取り、それをデジタル信号に変換して第2のLINC回路7に出力する。第2のLINC回路7は、第2のPHY回路8からパケットデータを受け取り、そのパケットの付加情報データを確認する。そして、第2のLINC回路7は、DMA回路6に、パケットデータから付加情報データを取り除いたデータの出力要求をする。
【0031】
DMA回路6は、アービタ回路5にデータの出力要求をし、アービタ回路5でアービトレーションされて許可されると、データをアービタ回路5に出力する。アービタ回路5は、そのデータを受け取り、第1のLINC回路4にデータの出力要求をする。
【0032】
それによって、データが第1のPHY回路3に転送される。そして、第1のPHY回路3、第1のシリアルバスインターフェース9、および第1のシリアルバスインターフェース9に接続された図示しない配線を介して、データが、図示しない外部記憶デバイスに書き込まれる。
【0033】
その際、テスト回路2では、シリアルテストインターフェース25からの設定により、テストモードが確定される。確定されたモードは、モード切替信号により、第1のPHY回路3、第1のLINC回路4、第2のLINC回路7および第2のPHY回路8に通知される。
【0034】
次に、モニタ動作のみをおこなうモードについて説明する。このモードでは、インターフェース選択回路20により、第1のPHY回路3と第1のLINC回路4とのインターフェース部(第1の内部バス11)、および第2のPHY回路8と第2のLINC回路7とのインターフェース部(第5の内部バス15)のいずれを選択するかが確定される。
【0035】
この選択により対象となるインターフェース部が確定すると、選択されたLINC回路4,7とPHY回路3,8とのインターフェース部を流れるパラレルデータが、シリアルテストインターフェース25のテストピンによりモニタすることが可能となる。これにより高速シリアル転送時のデータのやり取りを、LINC回路4,7とPHY回路3,8とのインターフェース部におけるデータ速度でもって観測することができるようになる。
【0036】
また、高速シリアル転送をおこなわずに、第1のLINC回路4と第2のLINC回路7との間でデータ転送をおこなうモードがある。このモードでは、データ転送回路22は、インターフェース選択回路20により選択されたLINC回路4,7に、データ生成回路21により自動生成されたパラレルデータを転送する。
【0037】
このとき選択されなかったLINC回路4,7の出力は、対応するPHY回路3,8を経由してシリアルバスインターフェース9,10に出力される。この選択されなかったLINC回路4,7から対応するPHY回路3,8へ流れるデータを、シリアルテストインターフェース25のテストピンによりモニタすることができる。
【0038】
また、第1のLINC回路4と第2のLINC回路7の両方をモニタするモードがある。このモードでは、テストピン選択回路24のレジスタ設定により、シリアルテストインターフェース25のテストピンを切り替えることにより、第1のLINC回路4のパラレルデータと第2のLINC回路7のパラレルデータを同時に観測することが可能になる。一般に、不具合発生は、単独動作時にも起こるが、多くの場合、組み合わせ動作時に起こる。このモードによって、組み合わせ動作時にのみ発生し得る問題の解析デバッグを効率よくおこなうことができる。
【0039】
また、DMA転送の対象となる複数のシリアルバスインターフェース9,10がある場合に、データ転送回路22が同時に同じデータを転送する機能のモードがある。このモードでは、同じDMA回路6によるデータ転送の対象となるLINC回路4,7に同時にデータ転送をおこない、アービタ回路5を経由した第1のLINC回路4のパラレルデータをモニタする。このモードでは、より複雑な組み合わせ状態を容易に再現することができるので、複雑な組み合わせ動作の解析に役立ち、回路設計時点での検証効率が向上する。
【0040】
また、PHY回路3,8に固有のテストをおこなうモードがある。本実施の形態のシリアルテストインターフェース25では、このモードで使用するテストピンは、上述した各モードで使用するテストピンと共有になっている。一般に、PHY回路3,8はアナログ回路であるため、上述した通常のテストとは別のテストモードや、テストピンが必要である。
【0041】
コストの点で問題がなければ、このPHY回路3,8に固有のテストに使用されるテストピンを専用に設けてもよい。しかし、PHY回路3,8とLINC回路4,7を1チップに内蔵することによりコストの削減を図る状況では、テストピンの追加によるコスト増が問題となる。このような場合には、テストピンを共有することにより、実システムには必要のないテストピンの数をできるだけ少なくすることができるので、有効である。
【0042】
上述した実施の形態によれば、PHY回路3,8とLINC回路4,7とのインターフェース部を流れるパラレルデータをシリアルテストインターフェース25により直接観測することができるので、新規に高価な測定器を準備しなくても、既存の環境のまま、PHY回路3,8に依存しない回路部分のデバッグをおこなうことができる。また、PHY回路3,8との不具合の切り分けができる。
【0043】
以上において本発明は、上述した実施の形態に限らず、種々変更可能である。たとえば、シリアルバスインターフェースの数は、3以上であってもよい。
【0044】
【発明の効果】
以上説明したように、請求項1に記載の発明によれば、第1の制御手段と第2の制御手段とのインターフェース部を流れるパラレルデータが出力手段から出力されるので、新規に高価な測定器を準備しなくても、既存の環境のまま、アナログ回路で構成される第1の制御手段に依存しない回路部分のデバッグをおこなうことが可能な高速シリアルコントローラが得られるという効果を奏する。また、第1の制御手段との不具合の切り分けができるという効果も得られる。
【0045】
また、請求項2に記載の発明によれば、請求項1に記載の発明において、第1の制御手段と第2の制御手段との複数の組み合わせに対して、それぞれのインターフェース部を流れるデータを同時に観測することができるので、組み合わせ動作時にのみ発生し得る問題がある場合の解析デバッグに役立つという効果を奏する。
【0046】
また、請求項3に記載の発明によれば、請求項1または2に記載の発明において、テストデータが、第1の制御手段と第2の制御手段との複数の組み合わせに対して、それぞれのインターフェース部に転送されることにより、より複雑な組み合わせ状態を容易に再現することができるので、複雑な組み合わせ動作の解析に役立ち、回路設計時点での検証効率が向上するという効果を奏する。
【0047】
また、請求項4に記載の発明によれば、請求項1〜3のいずれか一つに記載の発明において、第1の制御手段の評価時に使用されるテストピンが、その他のモードの実行時にも使用されることにより、実システムには必要のないテストピンの数をできるだけ少なくすることができるので、コストの増大を抑えることができるという効果を奏する。
【図面の簡単な説明】
【図1】本発明にかかる高速シリアルコントローラの構成の一例を示すブロック図である。
【符号の説明】
1 高速シリアルコントローラ
2 テスト手段(テスト回路)
3,8 第1の制御手段(PHY回路)
4,7 第2の制御手段(LINC回路)
21 データ生成手段(データ生成回路)
22 データ転送手段(データ転送回路)
24 切り替え手段(テストピン選択回路)
25 出力手段(シリアルテストインターフェース)
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a high-speed serial controller, and more particularly, to a high-speed serial controller with a built-in test circuit for debugging a built-in digital signal processing unit.
[0002]
[Prior art]
One of data transfer methods in a computer system or the like is a serial transfer method. Examples of the serial bus include Ethernet® (IEEE802.3), USB (Universal Serial Bus), and IEEE1394. The high-speed serial interface is one of the core technologies for realizing an interface in a new digital consumer device that integrates a computer system and an AV (audio / visual) device. Standardization of high-speed technology including high-speed serial interface has been activated.
[0003]
Normally, a high-speed serial controller converts an analog signal flowing between wirings into a digital signal in a physical layer IC (hereinafter, referred to as a PHY-IC) and transfers the digital signal to a data link layer IC (LINC-IC). Then, the data is transmitted and received by converting the data into a prescribed format. Conventionally, the PHY-IC has been manufactured as an analog IC chip composed of an analog circuit. The LINC-IC is manufactured as a digital IC chip composed of a digital circuit. Therefore, the conventional high-speed serial controller has a two-chip configuration including an analog IC chip and a digital IC chip.
[0004]
In recent years, with the shortening of electronic devices and cost reduction, it has been promoted to combine a PHY-IC and a LINC-IC on the same chip to form a single chip. In addition, many of the new standard interface standards currently proposed are of the high-speed serial transfer system. Therefore, in the future, a circuit in which a physical layer circuit (hereinafter, referred to as a PHY circuit) and a data link layer circuit (hereinafter, referred to as a LINC circuit) are mounted on the same chip, and all interfaces are constituted by high-speed serial interfaces The development of becomes active.
[0005]
However, since the PHY circuit converts the parallel data sent from the LINC circuit into high-speed serial data and outputs it to the wiring, the difficulty of the measurement of the PHY circuit increases as the speed increases. Therefore, in order to evaluate a high-speed serial controller, a very expensive measuring instrument is required.
[0006]
Meanwhile, a high-speed serial bus controller device having a function of generating an arbitrary error packet has been proposed (see Patent Document 1). Further, in a semiconductor integrated circuit device provided with a serial bus control circuit, a configuration has been proposed in which an analog circuit section and a digital circuit section are completely separated from each other for testing (see Patent Document 2).
[0007]
[Patent Document 1]
JP 2000-174850 A [Patent Document 2]
JP-A-6-94805
[Problems to be solved by the invention]
As described above, an expensive measuring instrument is required to evaluate a circuit incorporating a high-speed serial interface and a PHY circuit. For this reason, there is a problem that the existing environment for evaluation cannot be used, that is, the evaluation cannot be performed unless the environment includes expensive measuring instruments.
[0009]
The present invention has been made to solve the above problems, and provides a high-speed serial controller capable of debugging a circuit portion independent of a PHY circuit without preparing a new expensive measuring instrument. The purpose is to:
[0010]
[Means for Solving the Problems]
In order to solve the above-mentioned problems and achieve the object, a high-speed serial controller according to the present invention is provided in a physical layer, and includes a first control unit for converting an analog signal flowing through a wiring into a digital signal. A second control unit provided in a data link layer adjacent to the physical layer and configured to convert data converted into a digital signal by the first control unit into data of a prescribed format; and the first control unit. And a test unit connected to an interface between the control unit and the second control unit, and an output unit for outputting parallel data flowing through the interface unit.
[0011]
According to the first aspect of the present invention, the parallel data flowing through the interface between the first control means and the second control means is output from the output means.
[0012]
Further, in the high-speed serial controller according to the invention described in claim 2, in the invention described in claim 1, the test means outputs an output to the output means during the evaluation by the first control means and the first control means. A switching unit for switching from an output of the interface unit in the first combination with the second control unit to an output of the interface unit in the second combination of the first control unit and the second control unit; It is characterized by the following.
[0013]
According to the second aspect of the present invention, the output to the output unit is evaluated by the switching unit during the evaluation from the output of the interface unit of the first combination of the first control unit and the second control unit. Is switched to the output of the interface unit of the second combination of the first control means and the second control means.
[0014]
According to a third aspect of the present invention, in the high-speed serial controller according to the first or second aspect, the test unit is generated by a data generation unit that generates parallel data and the data generation unit. The data is transferred to an interface unit of a first combination of the first control unit and the second control unit and an interface unit of a second combination of the first control unit and the second control unit. Data transfer means for transferring.
[0015]
According to the third aspect of the present invention, the parallel data generated by the data generating means is provided with an interface unit of a first combination of the first control means and the second control means, and the first control means. And the second control means is transferred to the interface unit of the second combination.
[0016]
The high-speed serial controller according to a fourth aspect of the present invention is the high-speed serial controller according to any one of the first to third aspects, wherein the test means has a mode in which the first control means is evaluated. A test pin used when the output means executes a mode in which the first control means is evaluated also serves as a test pin used when executing another mode.
[0017]
According to the fourth aspect of the present invention, the test pin used at the time of evaluation of the first control means is also used at the time of executing another mode.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of a high-speed serial controller according to the present invention will be described in detail with reference to the accompanying drawings. In the following description, the number of serial bus interfaces is assumed to be 2, but the present invention is not limited to this.
[0019]
FIG. 1 is a block diagram showing an example of a configuration of a high-speed serial controller according to the present invention. As shown in FIG. 1, the high-speed serial controller 1 has a built-in test circuit 2 functioning as a test unit. Further, the high-speed serial controller 1 includes a first PHY circuit 3 functioning as a first control means, a first LINC circuit 4 functioning as a second control means, an arbiter circuit 5, a DMA (direct memory access) circuit 6 , A second LINC circuit 7 functioning as a second control means, and a second PHY circuit 8 functioning as a first control means.
[0020]
The first PHY circuit 3 is connected via a first serial bus interface 9 to a wiring (not shown). The first PHY circuit 3 and the first LINC circuit 4 are connected via a first internal bus 11. The first LINC circuit 4 and the arbiter circuit 5 are connected via a second internal bus 12.
[0021]
The arbiter circuit 5 and the DMA circuit 6 are connected via a third internal bus 13. The DMA circuit 6 and the second LINC circuit 7 are connected via a fourth internal bus 14. The second LINC circuit 7 and the second PHY circuit 8 are connected via a fifth internal bus 15. The second PHY circuit 8 is connected to a wiring (not shown) via the second serial bus interface 10.
[0022]
The test circuit 2 is connected to an external bus (not shown) via a serial test interface 25 functioning as an output unit. Inside the high-speed serial controller 1, the test circuit 2 is connected to the interface between the first PHY circuit 3 and the first LINC circuit 4, that is, the first internal bus 11 via the sixth internal bus 26. are doing. Further, the test circuit 2 is connected to an interface between the second PHY circuit 8 and the second LINC circuit 7, that is, to the fifth internal bus 15 via the seventh internal bus 27.
[0023]
Further, the test circuit 2 supplies a mode switching signal to the first PHY circuit 3 and the first LINC circuit 4 via the first signal line 28. The same applies to the second PHY circuit 8 and the second LINC circuit 7, and the test circuit 2 supplies a mode switching signal via the second signal line 29.
[0024]
The test circuit 2 includes an interface selection circuit 20, a data generation circuit 21 functioning as data generation means, a data transfer circuit 22 functioning as data transfer means, a monitor circuit 23, and a test pin selection circuit 24 functioning as a test pin selection circuit. Have. The interface selection circuit 20 includes an interface section (first internal bus 11) between the first PHY circuit 3 and the first LINC circuit 4, and an interface section between the second PHY circuit 8 and the second LINC circuit 7. (Fifth internal bus 15) is selected to be evaluated. The data generation circuit 21 automatically generates parallel data according to the test mode.
[0025]
The data transfer circuit 22 transfers the parallel data generated by the data generation circuit 21 to the LINC circuits 4 and 7 selected by the interface selection circuit 20. The monitor circuit 23 is a circuit for monitoring data. The test pin selection circuit 24 is a circuit that selects a test pin of the serial test interface 25 according to which bit data of which parallel data is monitored.
[0026]
Next, the operation of the high-speed serial controller 1 and the flow of data will be described. At the time of data transmission, the DMA circuit 6 is activated, and the second LINC circuit 7 requests required data to the arbiter circuit 5 via the DMA circuit 6. The arbiter circuit 5 performs arbitration and requests data from the first LINC circuit 4.
[0027]
As a result, data is read from an external storage device (not shown) via the first PHY circuit 3, the first serial bus interface 9, and a wiring (not shown) connected to the first serial bus interface 9. The read data is transferred to the first PHY circuit 3 via a wiring (not shown) and the first serial bus interface 9.
[0028]
In the first PHY circuit 3, an analog signal is converted into a digital signal. The data converted into the digital signal is transferred to the arbiter circuit 5 via the first LINC circuit 4. The arbiter circuit 5 transfers the received data to the DMA circuit 6, and the DMA circuit 6 transfers the data to the second LINC circuit 7.
[0029]
The second LINC circuit 7 converts the received data into a prescribed format by adding information data necessary for packet transfer, and sends the data to the second PHY circuit 8. The second PHY circuit 8 converts the received data into an analog signal, and outputs the analog signal to a wiring (not shown) via the second serial bus interface 10.
[0030]
When receiving data, the second PHY circuit 8 receives an analog signal from a wiring (not shown) via the second serial bus interface 10, converts the analog signal into a digital signal, and outputs the digital signal to the second LINC circuit 7. . The second LINC circuit 7 receives the packet data from the second PHY circuit 8, and checks the additional information data of the packet. Then, the second LINC circuit 7 requests the DMA circuit 6 to output data obtained by removing the additional information data from the packet data.
[0031]
The DMA circuit 6 requests the arbiter circuit 5 to output data, and outputs data to the arbiter circuit 5 when the arbiter circuit 5 arbitrates and permits the arbitration. The arbiter circuit 5 receives the data and requests the first LINC circuit 4 to output data.
[0032]
Thereby, the data is transferred to the first PHY circuit 3. Then, data is written to an external storage device (not shown) via the first PHY circuit 3, the first serial bus interface 9, and a wiring (not shown) connected to the first serial bus interface 9.
[0033]
At this time, the test mode is determined in the test circuit 2 by the setting from the serial test interface 25. The determined mode is notified to the first PHY circuit 3, the first LINC circuit 4, the second LINC circuit 7, and the second PHY circuit 8 by a mode switching signal.
[0034]
Next, a mode in which only the monitor operation is performed will be described. In this mode, an interface section (first internal bus 11) between the first PHY circuit 3 and the first LINC circuit 4 and a second PHY circuit 8 and a second LINC circuit 7 are controlled by the interface selection circuit 20. It is determined which interface unit (fifth internal bus 15) to select.
[0035]
When the target interface section is determined by this selection, the parallel data flowing through the interface section between the selected LINC circuits 4 and 7 and the PHY circuits 3 and 8 can be monitored by the test pins of the serial test interface 25. Become. As a result, the exchange of data during high-speed serial transfer can be observed at the data rate at the interface between the LINC circuits 4, 7 and the PHY circuits 3, 8.
[0036]
There is also a mode in which data transfer is performed between the first LINC circuit 4 and the second LINC circuit 7 without performing high-speed serial transfer. In this mode, the data transfer circuit 22 transfers the parallel data automatically generated by the data generation circuit 21 to the LINC circuits 4 and 7 selected by the interface selection circuit 20.
[0037]
The outputs of the LINC circuits 4 and 7 not selected at this time are output to the serial bus interfaces 9 and 10 via the corresponding PHY circuits 3 and 8. The data flowing from the unselected LINC circuits 4, 7 to the corresponding PHY circuits 3, 8 can be monitored by the test pins of the serial test interface 25.
[0038]
In addition, there is a mode in which both the first LINC circuit 4 and the second LINC circuit 7 are monitored. In this mode, by switching the test pins of the serial test interface 25 according to the register setting of the test pin selection circuit 24, the parallel data of the first LINC circuit 4 and the parallel data of the second LINC circuit 7 are simultaneously observed. Becomes possible. In general, the occurrence of a defect also occurs during a single operation, but often occurs during a combination operation. In this mode, analysis and debugging of a problem that can occur only during the combination operation can be efficiently performed.
[0039]
In addition, there is a mode of a function in which the data transfer circuit 22 simultaneously transfers the same data when there are a plurality of serial bus interfaces 9 and 10 to be DMA-transferred. In this mode, data is simultaneously transferred to the LINC circuits 4 and 7 to which data is transferred by the same DMA circuit 6, and the parallel data of the first LINC circuit 4 via the arbiter circuit 5 is monitored. In this mode, a more complicated combination state can be easily reproduced, which is useful for analyzing a complicated combination operation, and the verification efficiency at the time of circuit design is improved.
[0040]
In addition, there is a mode for performing a test unique to the PHY circuits 3 and 8. In the serial test interface 25 of the present embodiment, the test pins used in this mode are shared with the test pins used in each mode described above. Generally, since the PHY circuits 3 and 8 are analog circuits, a test mode different from the above-described normal test and a test pin are required.
[0041]
If there is no problem in terms of cost, test pins used for tests specific to the PHY circuits 3 and 8 may be provided exclusively. However, in a situation where the PHY circuits 3 and 8 and the LINC circuits 4 and 7 are incorporated in one chip to reduce the cost, an increase in cost due to the addition of test pins becomes a problem. In such a case, sharing the test pins is effective because the number of test pins that are not required for the actual system can be reduced as much as possible.
[0042]
According to the above-described embodiment, since parallel data flowing through the interface between the PHY circuits 3 and 8 and the LINC circuits 4 and 7 can be directly observed by the serial test interface 25, a new expensive measuring instrument is prepared. Even without doing so, it is possible to debug a circuit portion that does not depend on the PHY circuits 3 and 8 in the existing environment. In addition, it is possible to identify a defect with the PHY circuits 3 and 8.
[0043]
In the above, the present invention is not limited to the above-described embodiment, but can be variously modified. For example, the number of serial bus interfaces may be three or more.
[0044]
【The invention's effect】
As described above, according to the first aspect of the present invention, since the parallel data flowing through the interface between the first control means and the second control means is output from the output means, a new expensive measurement is performed. Even if a device is not prepared, it is possible to obtain a high-speed serial controller capable of debugging a circuit portion which does not depend on the first control means constituted by an analog circuit without changing the existing environment. In addition, an effect is obtained that a fault with the first control means can be isolated.
[0045]
According to the second aspect of the present invention, in the first aspect of the present invention, the data flowing through the respective interface units is transmitted to a plurality of combinations of the first control means and the second control means. Since the observation can be performed at the same time, there is an effect that it is useful for analysis debugging when there is a problem that can occur only during the combination operation.
[0046]
According to the invention described in claim 3, in the invention described in claim 1 or 2, the test data is provided for each of a plurality of combinations of the first control means and the second control means. By being transferred to the interface unit, a more complicated combination state can be easily reproduced, which is useful for analyzing a complicated combination operation, and has an effect of improving the verification efficiency at the time of circuit design.
[0047]
According to the invention described in claim 4, in the invention described in any one of claims 1 to 3, the test pin used at the time of evaluation of the first control means is used when the other mode is executed. Is also used, the number of test pins that are not required for the actual system can be reduced as much as possible, so that the effect of suppressing an increase in cost can be achieved.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an example of a configuration of a high-speed serial controller according to the present invention.
[Explanation of symbols]
1 High-speed serial controller 2 Test means (test circuit)
3,8 First control means (PHY circuit)
4,7 Second control means (LINC circuit)
21 Data generation means (data generation circuit)
22 Data transfer means (data transfer circuit)
24 Switching means (test pin selection circuit)
25 Output means (serial test interface)

Claims (4)

物理層に設けられ、配線を流れるアナログ信号をデジタル信号に変換する第1の制御手段と、
前記物理層に隣接するデータリンク層に設けられ、前記第1の制御手段によりデジタル信号に変換されたデータを規定の形式のデータに変換する第2の制御手段と、
前記第1の制御手段と前記第2の制御手段とのインターフェース部に接続されたテスト手段と、
前記インターフェース部を流れるパラレルデータを出力する出力手段と、
を具備することを特徴とする高速シリアルコントローラ。
First control means provided in the physical layer and converting an analog signal flowing through the wiring into a digital signal;
A second control unit provided in a data link layer adjacent to the physical layer and configured to convert data converted into a digital signal by the first control unit into data of a prescribed format;
Test means connected to an interface between the first control means and the second control means;
Output means for outputting parallel data flowing through the interface unit,
A high-speed serial controller comprising:
前記テスト手段は、評価中に、前記出力手段への出力を、前記第1の制御手段と前記第2の制御手段との第1の組み合わせのインターフェース部の出力から、前記第1の制御手段と前記第2の制御手段との第2の組み合わせのインターフェース部の出力へ切り替える切り替え手段を備えていることを特徴とする請求項1に記載の高速シリアルコントローラ。The test means, during evaluation, outputs an output to the output means from an output of an interface unit of a first combination of the first control means and the second control means, 2. The high-speed serial controller according to claim 1, further comprising a switching unit configured to switch to an output of an interface unit in a second combination with the second control unit. 3. 前記テスト手段は、パラレルデータを生成するデータ生成手段と、
前記データ生成手段により生成されたデータを、前記第1の制御手段と前記第2の制御手段との第1の組み合わせのインターフェース部、および前記第1の制御手段と前記第2の制御手段との第2の組み合わせのインターフェース部に転送するデータ転送手段と、
をさらに備えていることを特徴とする請求項1または2に記載の高速シリアルコントローラ。
The test means includes: data generation means for generating parallel data;
The data generated by the data generation unit is transmitted to an interface unit of a first combination of the first control unit and the second control unit, and the first control unit and the second control unit. Data transfer means for transferring to the interface unit of the second combination;
The high-speed serial controller according to claim 1, further comprising:
前記テスト手段は、前記第1の制御手段の評価をおこなうモードを有し、前記出力手段の、前記第1の制御手段の評価をおこなうモードの実行時に使用されるテストピンは、その他のモードの実行時に使用されるテストピンを兼ねていることを特徴とする請求項1〜3のいずれか一つに記載の高速シリアルコントローラ。The test means has a mode in which the first control means is evaluated, and a test pin of the output means used when executing the mode in which the first control means is evaluated includes a mode in another mode. 4. The high-speed serial controller according to claim 1, wherein the high-speed serial controller also serves as a test pin used at the time of execution.
JP2003060405A 2003-03-06 2003-03-06 High speed serial controller Expired - Fee Related JP3968040B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003060405A JP3968040B2 (en) 2003-03-06 2003-03-06 High speed serial controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003060405A JP3968040B2 (en) 2003-03-06 2003-03-06 High speed serial controller

Publications (2)

Publication Number Publication Date
JP2004271282A true JP2004271282A (en) 2004-09-30
JP3968040B2 JP3968040B2 (en) 2007-08-29

Family

ID=33122956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003060405A Expired - Fee Related JP3968040B2 (en) 2003-03-06 2003-03-06 High speed serial controller

Country Status (1)

Country Link
JP (1) JP3968040B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202087B (en) * 2006-12-13 2010-09-29 鸿富锦精密工业(深圳)有限公司 Device and method for testing audio sound-recording
WO2012172976A1 (en) * 2011-06-17 2012-12-20 シャープ株式会社 Semiconductor integrated device, display device, and debugging method for semiconductor integrated device
CN117539818A (en) * 2024-01-10 2024-02-09 富瀚微电子(成都)有限公司 Interface based on PHY model, chip integrating interface and chip simulation system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104880328B (en) * 2014-02-28 2017-12-08 株洲南车时代电气股份有限公司 A kind of test device of locomotive station speech recording apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202087B (en) * 2006-12-13 2010-09-29 鸿富锦精密工业(深圳)有限公司 Device and method for testing audio sound-recording
WO2012172976A1 (en) * 2011-06-17 2012-12-20 シャープ株式会社 Semiconductor integrated device, display device, and debugging method for semiconductor integrated device
CN117539818A (en) * 2024-01-10 2024-02-09 富瀚微电子(成都)有限公司 Interface based on PHY model, chip integrating interface and chip simulation system
CN117539818B (en) * 2024-01-10 2024-04-02 富瀚微电子(成都)有限公司 Interface based on PHY model, chip integrating interface and chip simulation system

Also Published As

Publication number Publication date
JP3968040B2 (en) 2007-08-29

Similar Documents

Publication Publication Date Title
KR101524451B1 (en) A functional fabric based test wrapper for circuit testing of ip blocks
US8074131B2 (en) Generic debug external connection (GDXC) for high integration integrated circuits
US7149933B2 (en) Data processing system trace bus
JP2021531530A (en) Debug controller circuit
JP4956588B2 (en) Observation of internal links through the second link
US7624320B2 (en) Apparatus for testing system-on-chip
JP2006208378A (en) On-chip circuit for inspecting bus
JP4212224B2 (en) Semiconductor integrated circuit
JP4198376B2 (en) Bus system and information processing system including bus system
JP2005222543A (en) Bus system
JP2007048280A (en) Integrated circuit device and method for monitoring bus
TW201517044A (en) Apparatus and method for on-the-fly memory channel built-in-self-test
JP3968040B2 (en) High speed serial controller
US11663101B2 (en) Semiconductor device and operation method thereof
JP2008225694A (en) Semiconductor integrated circuit and error analysis method
JP2005141532A (en) System debugging device
JP4736135B2 (en) Internal bus analysis system for inter-card communication, method and program
JP6167516B2 (en) Relay device, relay method, and power control system
JP2000346905A (en) Semiconductor device and method for testing the same
JP5407257B2 (en) Circuit test apparatus and circuit test system
JP2004094451A (en) On-chip jtag interface circuit and system lsi
JP2004234306A (en) Server, method for monitoring component processing, and program
JP4455556B2 (en) Semiconductor device having test interface apparatus
CN115048327B (en) Bridge chip for converting PCIE into SATA
Harish et al. System Verilog Verification Techniques for AXI4 Slave Devices: A Practical Approach

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050707

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070306

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070501

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070601

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110608

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120608

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130608

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees