JP2001154930A - Lsi device, bus bridge device and computer system - Google Patents

Lsi device, bus bridge device and computer system

Info

Publication number
JP2001154930A
JP2001154930A JP33337499A JP33337499A JP2001154930A JP 2001154930 A JP2001154930 A JP 2001154930A JP 33337499 A JP33337499 A JP 33337499A JP 33337499 A JP33337499 A JP 33337499A JP 2001154930 A JP2001154930 A JP 2001154930A
Authority
JP
Japan
Prior art keywords
data
pci
bus
trace information
transmission
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.)
Pending
Application number
JP33337499A
Other languages
Japanese (ja)
Inventor
Nobutaka Nakamura
伸隆 中村
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP33337499A priority Critical patent/JP2001154930A/en
Publication of JP2001154930A publication Critical patent/JP2001154930A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily perform debugging at the time of system development and factor analysis at the time of error generation, etc., without newly developing a dedicated analyzer. SOLUTION: A PCI-PCI bridge is constituted of two physically different controllers that are a primary PCI serial transfer controller 15 disposed on the side of a PC main body 100 and a secondary PCI serial transfer controller 35 disposed on the side of a docking station 200. Both controllers are provided with a damping function for a reception word and the damping function for a transmission word and information matched with a prescribed sampling condition in the information transmitted and received by serial transfer is automatically sampled and stored in registers inside the controllers. By providing the damping function in an LSI controller itself in such a manner, the debugging at the time of the system development and the factor analysis at the time of the error generation, etc., are easily realized.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はLSI装置およびバ
スブリッジ装置並びにコンピュータシステムに関し、特
に開発時のデバックやエラー発生時の要因解析等を容易
に行うことができるように改良されたLSI装置および
バスブリッジ装置並びにコンピュータシステムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an LSI device, a bus bridge device, and a computer system, and more particularly to an LSI device and a bus improved so that debugging at the time of development and analysis of a factor at the time of occurrence of an error can be easily performed. The present invention relates to a bridge device and a computer system.

【0002】[0002]

【従来の技術】近年、携行が容易でバッテリにより動作
可能なノートブックタイプのパーソナルコンピュータ
(以下、ノートPCと称する)が種々開発されている。
ノートPCの中には、その機能拡張のために、拡張ユニ
ットに必要に応じて装着できるように構成されているも
のがある。ノートPC本体から拡張ユニットのリソース
を有効利用できるようにするためには、ノートPC本体
のバスと拡張ユニット内のバスとを接続することが重要
である。このバス接続により、拡張ユニット内のバス上
のデバイスをノートPC本体内のデバイスと同様に扱う
ことが可能になる。
2. Description of the Related Art In recent years, various notebook-type personal computers (hereinafter referred to as notebook PCs) which are easy to carry and can be operated by a battery have been developed.
Some notebook PCs are configured so that they can be attached to an expansion unit as needed to extend their functions. In order for the resources of the expansion unit to be effectively used from the notebook PC main body, it is important to connect the bus of the notebook PC main body to the bus in the expansion unit. With this bus connection, devices on the bus in the expansion unit can be handled in the same way as devices in the notebook PC main body.

【0003】多くのパーソナルコンピュータでは、PC
Iバス(Peripheral Component Interconnect Bus)が
使用されている。したがって、ノートPC本体と拡張ユ
ニットとの間のバス接続は、PCIバスの信号線群の数
に相当する多数のピンを有するドッキング用コネクタを
ノートPC本体側と拡張ユニット側にそれぞれ設け、そ
のドッキング用コネクタを介して両者のPCIバスを物
理的に接続することによって行うのが通常である。
In many personal computers, a PC
An I bus (Peripheral Component Interconnect Bus) is used. Therefore, the bus connection between the notebook PC body and the expansion unit is performed by providing docking connectors having a number of pins corresponding to the number of signal lines of the PCI bus on the notebook PC body side and the expansion unit side, respectively. This is usually done by physically connecting the two PCI buses via a connector.

【0004】しかし、この構成では、ドッキング用コネ
クタの実装に多くの面積が必要とされるため、ノートP
C本体の小型化・薄型化を図る上では不利である。さら
に、ノートPC本体側と拡張ユニット側それぞれのコネ
クタ実装位置を合わせなければならないため、新たな製
品開発を行う上では、物理的な筐体構造に制約が加わる
ことになる。
However, this configuration requires a large area for mounting the docking connector.
This is disadvantageous in reducing the size and thickness of the C body. Further, since the connector mounting positions on the notebook PC main body side and the expansion unit side must be matched, the physical housing structure is restricted when developing a new product.

【0005】[0005]

【発明が解決しようとする課題】そこで、最近では、ノ
ートPC本体側のPCIバスと拡張ユニット側のPCI
バスとの間をつなぐPCI−PCIブリッジを物理的に
異なる第1および第2の2つのコントローラで構成し、
それらコントローラ間の情報の授受をシリアル転送によ
って行ういう技術が本出願人によって提案されている
(特願平11−183919号明細書)。この場合、第
1および第2の2つのコントローラはノートPC本体側
と拡張ユニット側とに分かれて配置される。ノートPC
本体側のPCIバスから拡張ユニット側のPCIバスへ
のトランザクションの伝達に必要なデータは、第1のコ
ントローラにてパラレルデータからシリアルデータに変
換された後に、ケーブルなどのシリアル伝送線路を介し
て第2のコントローラに伝達される。そして、第2のコ
ントローラではシリアルデータからパラレルデータへの
変換が行われ、そして拡張ユニット側のPCIバス上に
トランザクションが展開される。これにより、ノートP
C本体と拡張ユニットとを信号線数の少ない細いケーブ
ルで接続することが可能となる。
Therefore, recently, a PCI bus on the notebook PC main body side and a PCI bus on the extension unit side have been recently developed.
A PCI-PCI bridge connecting to the bus is constituted by first and second physically different controllers;
A technique for transmitting and receiving information between the controllers by serial transfer has been proposed by the present applicant (Japanese Patent Application No. 11-183919). In this case, the first and second controllers are separately arranged on the notebook PC main body side and the extension unit side. Note PC
Data necessary for transmitting a transaction from the PCI bus on the main unit side to the PCI bus on the expansion unit side is converted from parallel data to serial data by the first controller, and then converted via a serial transmission line such as a cable. 2 controller. Then, in the second controller, conversion from serial data to parallel data is performed, and a transaction is developed on the PCI bus on the extension unit side. Thereby, note P
It is possible to connect the C body and the extension unit with a thin cable having a small number of signal lines.

【0006】ところで、このように単一のPCI−PC
Iブリッジを物理的に異なる第1および第2の2つのコ
ントローラLSIによって構成した場合には、システム
動作の信頼性を維持するため、これら2つのコントロー
ラLSI間でデータ転送を確実に行うことが必要とな
る。さらに、2つのコントローラLSI間のデータ転送
は、専用のシリアル伝送線路を介して高速に行うことが
必要とされるので、これらコントローラLSIの開発に
当たっては、そのデバッグのために、シリアル伝送線路
を介した送受信がどのように行われているかを解析する
ことが重要となる。
By the way, as described above, a single PCI-PC
When the I-bridge is composed of two physically different first and second controller LSIs, it is necessary to reliably transfer data between these two controller LSIs in order to maintain the reliability of the system operation. Becomes Furthermore, since data transfer between two controller LSIs needs to be performed at high speed via a dedicated serial transmission line, the development of these controller LSIs requires the use of a serial transmission line for debugging. It is important to analyze how the transmission and reception are performed.

【0007】しかし、従来の解析装置は、コンピュータ
のバスに接続して使用するタイプのものがほとんどであ
り、シリアル伝送線路を介したデータの送受信がどのよ
うに行われているかを解析することは困難である。バス
上のデータをモニタリングしても、シリアル伝送線路を
介した実際のデータ送受信の状態については調べること
ができないからである。このため、専用の解析装置を新
たに開発することが要求され、これによりシステム開発
のためのコストおよび時間の増大を招くことになる。
However, most of the conventional analyzers are used by connecting to a computer bus, and it is not possible to analyze how data is transmitted and received via a serial transmission line. Have difficulty. This is because even if the data on the bus is monitored, the actual state of data transmission / reception via the serial transmission line cannot be checked. For this reason, it is required to newly develop a dedicated analysis device, which leads to an increase in cost and time for system development.

【0008】本発明は上述の事情に鑑みてなされたもの
であり、専用の解析装置を新たに開発することなく、開
発時のデバックやエラー発生時の要因解析等を容易に行
うことが可能なLSI装置およびそれを用いたバスブリ
ッジ装置並びにコンピュータシステムを提供することを
目的とする。
The present invention has been made in view of the above circumstances, and enables debugging at the time of development and analysis of a factor at the time of occurrence of an error without easily developing a dedicated analysis device. It is an object of the present invention to provide an LSI device, a bus bridge device using the same, and a computer system.

【0009】[0009]

【課題を解決するための手段】上述の課題を解決するた
め、本発明は、所定のプロトコルに従って外部との間で
データの送受信を行うLSI装置において、前記LSI
装置の動作検証に必要なトレース情報が記憶される記憶
装置と、前記LSI装置の送信データまたは受信データ
を監視し、前記トレース情報の採取条件に合致する所定
の送信データまたは受信データを前記トレース情報とし
て採取して前記記憶手段に格納するトレース情報採取手
段とを具備することを特徴とする。
According to the present invention, there is provided an LSI device for transmitting and receiving data to and from an external device according to a predetermined protocol.
A storage device for storing trace information necessary for verifying the operation of the device, and monitoring transmission data or reception data of the LSI device, and transmitting predetermined transmission data or reception data matching the trace information collection condition to the trace information. And trace information collecting means for collecting the information and storing it in the storage means.

【0010】このLSI装置においては、その内部に記
憶装置とトレース情報採取手段とが設けられており、L
SI装置の動作検証に必要なトレース情報の採取条件に
合致する所定の送信データまたは受信データが自動的に
トレース情報として採取されて、記憶手段に格納され
る。このように、トレース情報のダンプ機能をLSI装
置内に設けることにより、専用の解析装置を新たに開発
することなく、そのLSI装置の動作を検証することが
でき、開発時のデバックやエラー発生時の要因解析等を
容易に行うことが可能となる。
In this LSI device, a storage device and trace information collecting means are provided therein.
Predetermined transmission data or reception data that matches a condition for collecting trace information necessary for verifying the operation of the SI device is automatically collected as trace information and stored in the storage unit. By providing the trace information dump function in the LSI device as described above, the operation of the LSI device can be verified without newly developing a dedicated analysis device. Can be easily analyzed.

【0011】特に、外部との間のデータの送受信をシリ
アル伝送線路を介して実行するためのシリアル伝送手段
を有するLSI装置においては、シリアル伝送手段によ
って外部にシリアル送信すべき送信データ、またはシリ
アル伝送手段を介して外部から受信した受信データを監
視対象とすることにより、シリアル伝送線路を介したデ
ータの送受信がどのように行われているかを容易に解析
することが可能となる。よって、物理的に異なる第1お
よび第2の2つのコントローラから構成されたバスブリ
ッジ装置においても、シリアル伝送線路を介して行われ
る2つのコントローラ間のデータの授受の様子を容易に
検証することが可能となり、その開発効率の向上を実現
できる。
In particular, in an LSI device having serial transmission means for executing transmission and reception of data to and from the outside via a serial transmission line, transmission data to be serially transmitted to the outside by the serial transmission means, or serial transmission By using the received data received from the outside via the means as a monitoring target, it is possible to easily analyze how data is transmitted and received via the serial transmission line. Therefore, even in the bus bridge device including the first and second controllers which are physically different from each other, it is possible to easily verify the data transfer between the two controllers via the serial transmission line. And the development efficiency can be improved.

【0012】トレース情報の採取条件は、採取すべき送
信データまたは受信データのビットパターン情報によっ
て与えられ、ビットパターン情報に一致した送信データ
または受信データがトレース情報として採取される。こ
のように採取する情報を限定することにより、特別大き
な記憶サイズの記憶手段を設けずとも、動作検証に必要
な情報を効率よく得ることが可能となる。また、この場
合、各ビットパターン毎にトレース情報の採取条件とし
ての有効の有無を設定できるようにする事により、目的
に合った情報のみをさらに効率よく採取することが可能
となる。
The conditions for collecting trace information are given by bit pattern information of transmission data or reception data to be collected, and transmission data or reception data that matches the bit pattern information is collected as trace information. By limiting the information to be collected in this way, it is possible to efficiently obtain information necessary for operation verification without providing a storage unit having a particularly large storage size. Further, in this case, by setting whether or not the trace information is valid as a condition for collecting the trace information for each bit pattern, it is possible to more efficiently collect only the information suitable for the purpose.

【0013】[0013]

【発明の実施の形態】以下、図面を参照して、本発明の
実施形態を説明する。図1には、本発明の一実施形態に
係るコンピュータシステムの構成が示されてる。このコ
ンピュータシステムはノートブックタイプのパーソナル
コンピュータ(PC)であり、そのPC本体100と、
このPC本体100にケーブル接続して使用可能な機能
拡張用のドッキングステーション200とから構成され
ている。ケーブル内の信号線は、図示のようにシリアル
転送路300から構成されている。シリアル転送路30
0は、LVDS(Low Voltage Differential Signal)
線路、ICバス、およびその他のシリアル制御信号線
から構成されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a configuration of a computer system according to an embodiment of the present invention. The computer system is a notebook-type personal computer (PC), and includes a PC body 100 and
A docking station 200 for function expansion that can be used by connecting a cable to the PC main body 100 is provided. The signal line in the cable is constituted by a serial transfer path 300 as shown. Serial transfer path 30
0 is LVDS (Low Voltage Differential Signal)
It comprises a line, an I 2 C bus, and other serial control signal lines.

【0014】LVDS線路は、PC本体100内のPC
Iバス2とドッキングステーション200内のPCIバ
ス4との間をシリアル接続するために使用されるシリア
ル伝送路である。このシリアル伝送路を介した高速ビッ
トシリアル信号転送によって、PC本体100のPCI
バス2とドッキングステーション200内のPCIバス
4との間のバストランザクションの受け渡しが行われ
る。
The LVDS line is connected to the PC in the PC body 100.
This is a serial transmission path used for serial connection between the I bus 2 and the PCI bus 4 in the docking station 200. By transmitting the high-speed bit serial signal through this serial transmission path, the PCI
Transfer of a bus transaction between the bus 2 and the PCI bus 4 in the docking station 200 is performed.

【0015】PC本体100には、図示のように、プロ
セッサバス1、PCIバス2、ISAバス3、CPU1
1、ホスト−PCIブリッジ12、主メモリ13、表示
コントローラ14、プライマリPCIシリアル転送コン
トローラ15、PCI−ISAブリッジ16、I/Oコ
ントローラ17、各種ISAデバイス18、埋め込みコ
ントローラ(EC)19、およびその他の各種コントロ
ーラ20等から構成されている。
As shown in the figure, a PC main body 100 includes a processor bus 1, a PCI bus 2, an ISA bus 3, and a CPU 1
1, host-PCI bridge 12, main memory 13, display controller 14, primary PCI serial transfer controller 15, PCI-ISA bridge 16, I / O controller 17, various ISA devices 18, embedded controller (EC) 19, and others It is composed of various controllers 20 and the like.

【0016】CPU11は本PCシステム全体の動作を
制御するためのものであり、主メモリ13にロードされ
るオペレーティングシステム、システムBIOS、およ
び他の各種プログラムを実行する。ホスト−PCIブリ
ッジ12は、CPUバス1とプライマリPCIバス2を
双方向で接続するブリッジ装置であり、ここには主メモ
リ13をアクセス制御するためのメモリコントロールロ
ジック、および表示コントローラ14との接続に使用さ
れるAGPの制御ロジックも内蔵されている。ホスト−
PCIブリッジ12はプライマリPCIバス2上のバス
マスタとして機能することが出来る。主メモリ13は、
オペレーティングシステム、処理対象のアプリケーショ
ンプログラム/ユーティリティ、およびアプリケーショ
ンプログラム等によって作成されたユーザデータ等を格
納する。
The CPU 11 controls the operation of the entire PC system, and executes an operating system, a system BIOS, and various other programs loaded into the main memory 13. The host-PCI bridge 12 is a bridge device that bidirectionally connects the CPU bus 1 and the primary PCI bus 2, and includes a memory control logic for controlling access to the main memory 13 and a connection to the display controller 14. The control logic of the AGP used is also built-in. Host
The PCI bridge 12 can function as a bus master on the primary PCI bus 2. The main memory 13
It stores an operating system, an application program / utility to be processed, user data created by an application program, and the like.

【0017】プライマリPCIシリアル転送コントロー
ラ15は、ドッキングステーション200内に設けられ
たセカンダリPCIシリアル転送コントローラ35と共
同して論理的に1個のPCI−PCIブリッジ装置を構
成するものである。このPCI−PCIブリッジ装置
は、PC本体100内のPCIバス2とドッキングステ
ーション200内のPCIバス4との間を双方向で接続
するためのものであり、PCIバス2上のデバイスがP
CIバス4上のデバイスをアクセスすること、およびそ
の逆を可能にする。PCI−PCIブリッジ装置から見
てホスト側に近い方のPCIバス2はPCI−PCIブ
リッジ装置のプライマリPCIバスとなり、遠い方のP
CIバス4はPCI−PCIブリッジ装置のセカンダリ
PCIバスとなる。すなわち、本実施形態においては、
プライマリPCIバス2とセカンダリPCIバス4をつ
なぐPCI−PCIブリッジ装置を、物理的に異なる2
個のコントローラ(プライマリPCIシリアル転送コン
トローラ15、セカンダリPCIシリアル転送コントロ
ーラ35)に分割し、その間をLVDS線路で接続しす
ることによって、PCIシリアルインターフェイスを実
現している。LVDS線路を介したシリアル転送は、P
CIバスサイクルを伝達するためのデータのみならず、
割り込み信号の伝達にも利用される。このように、PC
Iバスサイクルのためのデータと割り込み信号の双方を
同一のLVDS線路を介してシリアル転送することによ
り、PCIシリアルインターフェイスに必要な信号線数
を大幅に低減することができる。
The primary PCI serial transfer controller 15 logically constitutes one PCI-PCI bridge device in cooperation with the secondary PCI serial transfer controller 35 provided in the docking station 200. This PCI-PCI bridge device is for connecting bidirectionally between the PCI bus 2 in the PC body 100 and the PCI bus 4 in the docking station 200, and the device on the PCI bus 2
It allows accessing devices on the CI bus 4 and vice versa. The PCI bus 2 closer to the host as viewed from the PCI-PCI bridge device becomes the primary PCI bus of the PCI-PCI bridge device,
The CI bus 4 serves as a secondary PCI bus of the PCI-PCI bridge device. That is, in the present embodiment,
A PCI-PCI bridge device that connects the primary PCI bus 2 and the secondary PCI bus 4 may be physically different from each other.
A PCI serial interface is realized by dividing the controller into a plurality of controllers (a primary PCI serial transfer controller 15 and a secondary PCI serial transfer controller 35) and connecting them with LVDS lines. Serial transfer via LVDS line is P
Not only data for transmitting CI bus cycle,
It is also used for transmitting interrupt signals. Thus, PC
By serially transferring both the data for the I bus cycle and the interrupt signal via the same LVDS line, the number of signal lines required for the PCI serial interface can be greatly reduced.

【0018】PCI−ISAブリッジ16は、PCIバ
ス2とISAバス3とをつなぐブリッジであり、PCI
バス2のバスマスタとして動作することができる。IS
Aバス3上には、各種ISAデバイス18が接続されて
いる。I/Oコントローラ17は、PCIバス2上のバ
スマスタまたはターゲットとして機能するデバイスであ
る。PCカードコントローラ、IDEコントローラ、サ
ウンドコントローラなどのデバイスが、I/Oコントロ
ーラ17としてPCIバス2上に接続される。
The PCI-ISA bridge 16 is a bridge connecting the PCI bus 2 and the ISA bus 3, and is a PCI-ISA bridge.
It can operate as a bus master of the bus 2. IS
Various ISA devices 18 are connected to the A bus 3. The I / O controller 17 is a device that functions as a bus master or target on the PCI bus 2. Devices such as a PC card controller, an IDE controller, and a sound controller are connected as I / O controllers 17 on the PCI bus 2.

【0019】埋め込みコントローラ(EC)19はPC
本体100の電源制御を行うと共に、ドッキングステー
ション200内に設けられたドッキングステーションコ
ントローラ(DSC)36との通信によって、ドッキン
グステーション200のドック・アンドックシーケンス
の制御を行う。
The embedded controller (EC) 19 is a PC
The power supply of the main body 100 is controlled, and the docking / docking sequence of the docking station 200 is controlled by communication with a docking station controller (DSC) 36 provided in the docking station 200.

【0020】ドッキングステーション20には、図示の
ように、PCIバス4、ネットワークインターフェイス
コントローラ31、PCカードコントローラ32、ID
Eコントローラ33、PCIスロット34、セカンダリ
PCIシリアル転送コントローラ35、ドッキングステ
ーションコントローラ(DSC)36、その他のコント
ローラ37等が設けられている。
The docking station 20 includes a PCI bus 4, a network interface controller 31, a PC card controller 32, an ID
An E controller 33, a PCI slot 34, a secondary PCI serial transfer controller 35, a docking station controller (DSC) 36, and other controllers 37 are provided.

【0021】ネットワークインターフェイスコントロー
ラ31はLANに接続するための通信制御を行うための
ものであり、PCIバス4上のバスマスタまたはターゲ
ットとして機能する。PCカードコントローラ32は、
PCカードスロットに装着されたPCMCIA/CAR
DBUS仕様のPCカードの制御を行う。このPCカー
ドコントローラ32も、PCIバス4上のバスマスタま
たはターゲットとして機能する。IDEコントローラ3
3は、ドッキングステーション20内に設けられた例え
ばハードディスクドライブやCD−ROMドライブなど
のIDEデバイスを制御するものであり、PCIバス4
上のバスマスタまたはターゲットとして機能する。PC
Iスロット34には、各種PCI拡張カードを装着する
ことができる。
The network interface controller 31 controls communication for connecting to a LAN, and functions as a bus master or a target on the PCI bus 4. The PC card controller 32
PCMCIA / CAR installed in PC card slot
It controls a DBUS specification PC card. This PC card controller 32 also functions as a bus master or target on the PCI bus 4. IDE controller 3
A PCI bus 4 controls an IDE device such as a hard disk drive or a CD-ROM drive provided in the docking station 20.
Act as upper bus master or target. PC
Various PCI expansion cards can be mounted in the I slot 34.

【0022】PC本体100をドッキングステーション
200に接続した場合には、これらネットワークインタ
ーフェイスコントローラ31、PCカードコントローラ
32、IDEコントローラ33、PCIスロット34の
PCI拡張カードといったPCIデバイスを、PC本体
100内のハードウェアリソースとして使用することが
可能となる。
When the PC main body 100 is connected to the docking station 200, PCI devices such as the network interface controller 31, the PC card controller 32, the IDE controller 33, and the PCI expansion card in the PCI slot 34 are connected to the hardware inside the PC main body 100. It can be used as a wear resource.

【0023】(PCI−PCIブリッジ)図2には、プ
ライマリPCIシリアル転送コントローラ15およびセ
カンダリPCIシリアル転送コントローラ35それぞれ
の機能構成が示されている。
(PCI-PCI Bridge) FIG. 2 shows the functional configuration of each of the primary PCI serial transfer controller 15 and the secondary PCI serial transfer controller 35.

【0024】前述したように、プライマリPCIシリア
ル転送コントローラ15およびセカンダリPCIシリア
ル転送コントローラ35は物理的には独立したLSI同
士であるが、論理的には1個のPCI−PCIブリッジ
として機能する。よって、プライマリPCIシリアル転
送コントローラ15とセカンダリPCIシリアル転送コ
ントローラ35間をつなぐLVDS線路は、PCI−P
CIブリッジ内のローカルな内部配線に過ぎず、ソフト
ウェアからは認識されない。これは、シリアル伝送路に
対する無駄なリソースの割り当てが行われないことを意
味する。また、プライマリPCIシリアル転送コントロ
ーラ15およびセカンダリPCIシリアル転送コントロ
ーラ35には、同一のデバイス識別情報が割り当てられ
ており、ソフトウェアからは1個のデバイスとして認識
される。もちろん、プライマリPCIシリアル転送コン
トローラ15およびセカンダリPCIシリアル転送コン
トローラ35の2つのコントローラが1個のデバイスと
して認識されればよいので、デバイス識別情報について
はプライマリPCIシリアル転送コントローラ15のみ
に持たせてもよい。
As described above, the primary PCI serial transfer controller 15 and the secondary PCI serial transfer controller 35 are physically independent LSIs, but logically function as one PCI-PCI bridge. Therefore, the LVDS line connecting between the primary PCI serial transfer controller 15 and the secondary PCI serial transfer controller 35 is a PCI-P
It is only a local internal wiring in the CI bridge and is not recognized by software. This means that useless resources are not allocated to the serial transmission path. The same device identification information is assigned to the primary PCI serial transfer controller 15 and the secondary PCI serial transfer controller 35, so that the software recognizes them as one device. Of course, the two controllers of the primary PCI serial transfer controller 15 and the secondary PCI serial transfer controller 35 only need to be recognized as one device, so that only the primary PCI serial transfer controller 15 may have device identification information. .

【0025】プライマリPCIシリアル転送コントロー
ラ15およびセカンダリPCIシリアル転送コントロー
ラ35の各々は、PCIインターフェイス部と、シリア
ル転送インターフェイス部とから構成されている。
Each of the primary PCI serial transfer controller 15 and the secondary PCI serial transfer controller 35 is composed of a PCI interface unit and a serial transfer interface unit.

【0026】プライマリPCIシリアル転送コントロー
ラ15においては、PCIインターフェイス部は、プラ
イマリPCIバス2との間でバストランザクションを授
受する。一方、セカンダリPCIシリアル転送コントロ
ーラ35においては、PCIインターフェイス部は、セ
カンダリPCIバス4との間でバストランザクションを
授受する。PCIインターフェイス部間のトランザクシ
ョンの授受は、プライマリPCIシリアル転送コントロ
ーラ15およびセカンダリPCIシリアル転送コントロ
ーラ35にそれぞれ設けられたシリアル転送インターフ
ェイス部間のシリアルデータ転送によって行われる。こ
のシリアルデータ転送は予め決められた所定のプロトコ
ルに従って実行される。
In the primary PCI serial transfer controller 15, the PCI interface exchanges a bus transaction with the primary PCI bus 2. On the other hand, in the secondary PCI serial transfer controller 35, the PCI interface unit exchanges a bus transaction with the secondary PCI bus 4. The transfer of transactions between the PCI interface units is performed by serial data transfer between serial transfer interface units provided in the primary PCI serial transfer controller 15 and the secondary PCI serial transfer controller 35, respectively. This serial data transfer is executed according to a predetermined protocol.

【0027】PCIバスは多ビット幅のアドレス/デー
タ線等を含む並列伝送路であり、PCIバス上のバスト
ランザクションは、基本的には、コマンドおよびアドレ
ス出力のためのアドレスフェーズと、それに後続する1
以上のデータ転送フェーズとから構成される。したがっ
て、各PCIインターフェイス部が対応するPCIバス
との間でコマンド、アドレス、データの受け渡しを行
い、且つPCIインターフェイス部間のコマンド、アド
レス、データの授受をシリアル転送インターフェイス部
間のシリアル転送によって行うことによって、プライマ
リPCIバス2からセカンダリPCIバス4へのトラン
ザクション(PCIバスサイクル)の伝達、およびセカ
ンダリPCIバス4からプライマリPCIバス2へのト
ランザクション(PCIバスサイクル)の伝達が可能と
なる。
The PCI bus is a parallel transmission line including a multi-bit address / data line and the like, and a bus transaction on the PCI bus is basically followed by an address phase for command and address output, followed by an address phase. 1
It comprises the above data transfer phase. Therefore, each PCI interface unit exchanges commands, addresses, and data with the corresponding PCI bus, and exchanges commands, addresses, and data between the PCI interface units by serial transfer between serial transfer interface units. Thereby, transmission of a transaction (PCI bus cycle) from the primary PCI bus 2 to the secondary PCI bus 4 and transmission of a transaction (PCI bus cycle) from the secondary PCI bus 4 to the primary PCI bus 2 become possible.

【0028】プライマリPCIバス2上のバスマスタか
らセカンダリPCIバス4上のデバイスへのトランザク
ションを伝達する場合には、プライマリPCIシリアル
転送コントローラ15はプライマリPCIバス2上で実
行されるトランザクションのターゲットとなり、セカン
ダリPCIシリアル転送コントローラ35はセカンダリ
PCIバス4上で実行されるトランザクションのイニシ
エータ(バスマスタ)となる。一方、セカンダリPCI
バス4上のバスマスタからプライマリPCIバス2上の
デバイスへのトランザクションを伝達する場合には、セ
カンダリPCIシリアル転送コントローラ35はセカン
ダリPCIバス4上で実行されるトランザクションのタ
ーゲットとなり、プライマリPCIシリアル転送コント
ローラ15はプライマリPCIバス2上で実行されるト
ランザクションのイニシエータとなる。なお、セカンダ
リPCIバス4上にバスマスタデバイスが存在しない場
合には、前者の場合のみとなる。
When transmitting a transaction from a bus master on the primary PCI bus 2 to a device on the secondary PCI bus 4, the primary PCI serial transfer controller 15 becomes a target of a transaction executed on the primary PCI bus 2, and The PCI serial transfer controller 35 becomes an initiator (bus master) of a transaction executed on the secondary PCI bus 4. On the other hand, the secondary PCI
When transmitting a transaction from a bus master on the bus 4 to a device on the primary PCI bus 2, the secondary PCI serial transfer controller 35 becomes a target of a transaction executed on the secondary PCI bus 4, and the primary PCI serial transfer controller 15. Is an initiator of a transaction executed on the primary PCI bus 2. If there is no bus master device on the secondary PCI bus 4, only the former case exists.

【0029】プライマリPCIシリアル転送コントロー
ラ15およびセカンダリPCIシリアル転送コントロー
ラ35のPCIインターフェイス部には、図示のよう
に、個別にコンフィグレーションレジスタ150,35
0が設けられている。コンフィグレーションレジスタ1
50,350の各々はPCI仕様に準拠したレジスタ群
から構成されており、ここには、同一の環境設定情報が
設定される。
As shown, the PCI interfaces of the primary PCI serial transfer controller 15 and the secondary PCI serial transfer controller 35 have configuration registers 150 and 35 individually.
0 is provided. Configuration register 1
Each of the registers 50 and 350 is composed of a register group conforming to the PCI specification, in which the same environment setting information is set.

【0030】環境設定情報には、前述のデバイス識別情
報を初め、そのデバイスが使用するメモリアドレス空間
やI/Oアドレス空間などのハードウェアリソースを指
定するためのデバイス制御情報、現在のデバイスの状態
を示すデバイスステータス情報などが含まれている。
The environment setting information includes the above-described device identification information, device control information for designating hardware resources such as a memory address space and an I / O address space used by the device, and a current device state. And device status information indicating the status.

【0031】デバイス識別情報はそのデバイスの種類を
識別するためのものであり、デバイスID、ベンダI
D、リビジョンID、ヘッダタイプ、クラスコードなど
の情報から構成されている。デバイス識別情報は読み取
り専用であり、コンフィグレーションレジスタ150,
350には予め同一のデバイス識別情報が書き込まれて
いる。もちろん、この読み取り専用のデバイス識別情報
については、CPU11に近い側のプライマリPCIシ
リアルコントローラ15側にのみ用意しておけばよく、
セカンダリPCIシリアルコントローラ35側に設ける
必要はない。CPU11によるコンフィグレーションサ
イクルでアクセスされるのはプライマリPCIシリアル
コントローラ15側だけであり、そのプライマリPCI
シリアルコントローラ15からのデバイス識別情報の読
み取りによって、PCIバス2と4との間にPCI−P
CIブリッジが存在することが認識されるからである。
The device identification information is for identifying the type of the device, and includes a device ID, a vendor I
D, revision ID, header type, class code, and other information. The device identification information is read-only, and the configuration register 150,
The same device identification information is written in 350 in advance. Of course, the read-only device identification information may be prepared only on the primary PCI serial controller 15 side closer to the CPU 11,
There is no need to provide it on the secondary PCI serial controller 35 side. Only the primary PCI serial controller 15 is accessed in the configuration cycle by the CPU 11, and the primary PCI serial controller 15
By reading the device identification information from the serial controller 15, the PCI-P
This is because it is recognized that a CI bridge exists.

【0032】コンフィグレーションレジスタはPCIデ
バイスの動作環境を規定するための環境設定情報を保持
するためのものであり、PCIデバイスには必ず1個の
コンフィグレーションレジスタが設けられる。プライマ
リPCIシリアル転送コントローラ15およびセカンダ
リPCIシリアル転送コントローラ35は1個のPCI
デバイス(PCI−PCIブリッジ)として動作するも
のであるので、基本的には、前述したように、1個のコ
ンフィグレーションレジスタをコントローラ15,35
間で共用することもできる。しかし、このように一方の
コントローラにのみコンフィグレーションレジスタを設
けた場合には、コンフィグレーションレジスタが設けら
れていない方のコントローラについては、トランザクシ
ョン処理を行う度にシリアル伝送路を介して相手のコン
トローラのコンフィグレーションレジスタをリードしな
ければならず、それによってシステム性能の低下が招か
れる。本実施形態のようにコンフィグレーションレジス
タを2つのコントローラ15,35に個別に実装するこ
とにより、2つのコントローラ14,35は、それぞれ
自身のコンフィグレーションレジスタに設定されている
環境設定情報にしたがって動作することができるので、
高速動作が可能となる。この場合、2つのコントローラ
14,35のそれぞれに設けるのは、読み取り専用のデ
バイス識別情報を設定するためのレジスタを除く、他の
ほとんどのレジスタ群(デバイス制御情報を設定するた
めのレジスタ群、現在のデバイスの状態を示すデバイス
ステータス情報を設定するためのレジスタ群等)であ
る。
The configuration register is for holding environment setting information for defining the operating environment of the PCI device, and the PCI device is always provided with one configuration register. The primary PCI serial transfer controller 15 and the secondary PCI serial transfer controller 35 are one PCI serial transfer controller.
Since the device operates as a device (PCI-PCI bridge), basically, as described above, one configuration register is connected to the controllers 15 and 35.
It can also be shared between. However, when the configuration register is provided in only one controller as described above, the controller without the configuration register is connected to the other controller via the serial transmission path every time the transaction processing is performed. The configuration register must be read, which causes a decrease in system performance. By separately mounting the configuration registers in the two controllers 15 and 35 as in the present embodiment, the two controllers 14 and 35 operate according to the environment setting information set in their own configuration registers. So you can
High-speed operation becomes possible. In this case, each of the two controllers 14 and 35 is provided with most of the other register groups (register groups for setting device control information, current registers, except for registers for setting read-only device identification information). Register group for setting device status information indicating the state of the device).

【0033】コンフィグレーションレジスタ150と3
50の内容の同一性は、次のようなコピー動作をプライ
マリPCIシリアル転送コントローラ15とセカンダリ
PCIシリアル転送コントローラ35との間で自動実行
することによって実現される。すなわち、CPU11が
コンフィグレーションレジスタ150にデータを書き込
むためのライトトランザクション(コンフィグレーショ
ンライトサイクル)を実行した場合には、コンフィグレ
ーションレジスタ150からコンフィグレーションレジ
スタ350に対するコピー動作が自動的に行われ、その
後に、CPU11に対して書き込み完了を示すステータ
スが返される。これにより、常に、コンフィグレーショ
ンレジスタ150と350の内容を同一に保つことがで
きる。
Configuration registers 150 and 3
The identity of the contents of 50 is realized by automatically executing the following copy operation between the primary PCI serial transfer controller 15 and the secondary PCI serial transfer controller 35. That is, when the CPU 11 executes a write transaction (configuration write cycle) for writing data to the configuration register 150, a copy operation from the configuration register 150 to the configuration register 350 is automatically performed, and thereafter, , A status indicating completion of writing is returned to the CPU 11. Thus, the contents of the configuration registers 150 and 350 can always be kept the same.

【0034】(2つのPCIシリアル転送コントローラ
の内部構造)次に、図3を参照して、プライマリPCI
シリアル転送コントローラ15およびセカンダリPCI
シリアル転送コントローラ35それぞれの内部構造を、
論理的なプロトコル階層構造に着目して説明する。
(Internal Structure of Two PCI Serial Transfer Controllers) Next, referring to FIG.
Serial transfer controller 15 and secondary PCI
The internal structure of each serial transfer controller 35 is
A description will be given focusing on a logical protocol hierarchical structure.

【0035】プライマリPCIシリアル転送コントロー
ラ15は、図示のように、トランザクションバッファ2
01、バスサイクルコントローラ202、ブロック転送
バッファ202、ワードバッファ204、シリアル・パ
ラレルコンバータ205、およびLVDS送受信部20
6等から構成されている。
As shown in the figure, the primary PCI serial transfer controller 15
01, bus cycle controller 202, block transfer buffer 202, word buffer 204, serial / parallel converter 205, and LVDS transmitting / receiving unit 20
6 and so on.

【0036】トランザクションバッファ201およびバ
スサイクルコントローラ202は前述のPCIインター
フェイス部に相当し、またブロック転送バッファ20
2、ワードバッファ204、シリアル・パラレルコンバ
ータ205、およびLVDS送受信部206が前述のシ
リアルインターフェイス部に相当する。
The transaction buffer 201 and the bus cycle controller 202 correspond to the aforementioned PCI interface unit.
2. The word buffer 204, the serial / parallel converter 205, and the LVDS transmission / reception unit 206 correspond to the aforementioned serial interface unit.

【0037】同様に、セカンダリPCIシリアル転送コ
ントローラ35は、図示のように、トランザクションバ
ッファ301、バスサイクルコントローラ302、ブロ
ック転送バッファ302、ワードバッファ304、シリ
アル・パラレルコンバータ305、およびLVDS送受
信部306等から構成されている。トランザクションバ
ッファ301およびバスサイクルコントローラ302は
前述のPCIインターフェイス部に相当し、またブロッ
ク転送バッファ302、ワードバッファ304、シリア
ル・パラレルコンバータ305、およびLVDS送受信
部306が前述のシリアルインターフェイス部に相当す
る。
Similarly, the secondary PCI serial transfer controller 35 receives signals from the transaction buffer 301, the bus cycle controller 302, the block transfer buffer 302, the word buffer 304, the serial / parallel converter 305, the LVDS transmission / reception unit 306, etc. It is configured. The transaction buffer 301 and the bus cycle controller 302 correspond to the aforementioned PCI interface unit, and the block transfer buffer 302, the word buffer 304, the serial / parallel converter 305, and the LVDS transmitting / receiving unit 306 correspond to the aforementioned serial interface unit.

【0038】図3の右端には、本実施形態のPCIシリ
アルインターフェイスを実現するためのプロトコル階層
構造が示されている。最上位階層は、PCIバストラン
ザクションレイヤであり、その下が、実際にトランザク
ションを実行するために必要なバスサイクルを制御する
ためのPCIバスサイクルレイヤである。
The right end of FIG. 3 shows a protocol hierarchy for realizing the PCI serial interface of the present embodiment. The uppermost layer is a PCI bus transaction layer, and below it is a PCI bus cycle layer for controlling a bus cycle necessary for actually executing a transaction.

【0039】バスサイクルレイヤから上の部分を、左右
の半分を合わせて一体として実現したもの、つまり、バ
ストランザクションバッファ202,301、およびバ
スサイクルコントローラ202,302を合わせたもの
が、通常のPCI−PCIブリッジに相当するものとな
る。
The part above the bus cycle layer, which is realized by integrating the left and right halves together, that is, the combination of the bus transaction buffers 202 and 301 and the bus cycle controllers 202 and 302 is a normal PCI- It is equivalent to a PCI bridge.

【0040】図3の下半分のレイヤが、プライマリPC
Iシリアル転送コントローラ15とセカンダリPCIシ
リアル転送コントローラ35との間でシリアル通信を行
うための部分である。
The lower half layer of FIG. 3 is the primary PC
This is a part for performing serial communication between the I serial transfer controller 15 and the secondary PCI serial transfer controller 35.

【0041】上半分がPCIバスのプロトコルに従って
設計されるのに対し、下半分は、PCIバス上を転送さ
れるデータを忠実に相手方へ送るのに最適となるように
設計される。転送するデータがPCIバスの上でどんな
意味をもつかを考慮する必要はなく、そのデータがPC
Iバス上で持つ意味に適した転送特性を正しくアサイン
し、実現すればよい。通信の世界でのパケット通信に近
い考え方をとることができる。
The upper half is designed according to the protocol of the PCI bus, while the lower half is designed to be optimal for faithfully transmitting data transferred on the PCI bus to the other party. It is not necessary to consider what the data to be transferred has on the PCI bus.
What is necessary is just to correctly assign and realize a transfer characteristic suitable for the meaning of having on the I bus. It can take a concept close to packet communication in the communication world.

【0042】その意味では、図中のワード(WORD)
が固定長のパケットに当たり、ブロック(BLOCK)
は、1WORDの制御ワードと、0から10WORDの
データワードとを含む転送単位である。
In that sense, the word (WORD) in FIG.
Is a fixed-length packet, and is a block (BLOCK).
Is a transfer unit including a control word of 1 word and a data word of 0 to 10 words.

【0043】トランザクションバッファ201,301
は、PCIバスサイクルをトランザクションとして管理
するためのバッファであり、PCIバスサイクルと後述
のブロック転送との仲立ちに使用される。トランザクシ
ョンを構成する情報は、トランザクションの種類によっ
て多少異なるが、 ・アドレス ・コマンド ・ライトデータ(ライト系トランザクション) ・バイトイネーブル ・完了ステータス ・リードデータ(リード系トランザクション) などである。これら情報はトランザクションバッファ2
01,301に保持される。
Transaction buffers 201 and 301
Is a buffer for managing a PCI bus cycle as a transaction, and is used to mediate between the PCI bus cycle and block transfer described later. The information that constitutes a transaction is slightly different depending on the type of transaction, but includes an address, a command, write data (a write transaction), a byte enable, a completion status, and read data (a read transaction). These information are stored in the transaction buffer 2
01, 301.

【0044】ブロック転送バッファ(BLOCK)20
4,304は、ブロックと称する可変長のデータを、2
つのシリアルコントローラ15,35間でまとめて転送
するための、一時的な情報格納場所である。ブロックサ
イズは前述したように可変長であり、基本的には、ある
1つのトランザクションを構成する、アドレス、デー
タ、コマンド、バイトイネーブルなどの情報から構成さ
れる。
Block transfer buffer (BLOCK) 20
Reference numeral 4,304 designates variable-length data called a block as 2
This is a temporary information storage location for collectively transferring between the serial controllers 15 and 35. As described above, the block size is variable and basically includes information such as an address, data, a command, and a byte enable that constitute a certain transaction.

【0045】ワードバッファ(WORD)204,30
4は、ワード(WORD)と称される固定長のデータ
を、2つのシリアルコントローラ15,35間でひとつ
づつ転送するための、一時的な情報格納場所である。ワ
ードには制御ワードとデータワードとがある。ブロック
の実体部分(PCIトランザクション情報:アドレス、
コマンド、データ、バイトイネーブルなど)はデータワ
ードとして受け渡され、それ以外の各種制御情報は制御
ワードとして受け渡される。
Word buffers (WORD) 204, 30
Reference numeral 4 denotes a temporary information storage location for transferring fixed-length data called a word (WORD) between the two serial controllers 15 and 35 one by one. Words include control words and data words. Substantial part of block (PCI transaction information: address,
Commands, data, byte enable, etc.) are passed as data words, and other various control information is passed as control words.

【0046】シリアル・パラレルコンバータ205,3
05は、ワード単位でのパラレル/シリアル変換、およ
びシリアル/パラレル変換を行う。LVDS送受信部2
06,306は、LVDS線路を介した実際のシリアル
データ転送を行う。
Serial / parallel converters 205 and 3
Reference numeral 05 performs parallel / serial conversion and serial / parallel conversion in word units. LVDS transceiver 2
06 and 306 perform actual serial data transfer via the LVDS line.

【0047】(バッファ構造)次に、図4を参照して、
具体的なバッファ構造について説明する。
(Buffer Structure) Next, referring to FIG.
A specific buffer structure will be described.

【0048】ブロックバッファには、取り扱うPCIト
ランザクションの違いによって、以下の2種類ある。 ・Expressバッファ(ポステッドメモリライト系のトラ
ンザクション用) ・BLOCKバッファ(それ以外のトランザクション用) また、データの流れの方向により、以下の2種類があ
る。 ・Outgoingバッファ(送信するブロックの情報を格納す
る) ・Incomingバッファ(受信したブロックの情報を格納す
る) これらの組み合わせて、以下の合計4種類のバッファが
ある。 ・Outgoing Expressバッファ(OEB) ・Outgoing BLOCKバッファ(OBB) ・Incoming Expressバッファ(IEB) ・Incoming BLOCKバッファ(IBB) 本実施形態では、システムとしての性能を確保するた
め、OBB,OEB,IBB,IEBとも、それぞれ4
段ずつ用意している。その意味で、4種類のブロックバ
ッファFIFO、つまりOBB_FIFO,OEB_F
IFO,IBB_FIFO,IEB_FIFOが設けら
れることになる。
There are the following two types of block buffers depending on the types of PCI transactions handled. -Express buffer (for posted memory write transactions)-BLOCK buffer (for other transactions) There are the following two types depending on the direction of data flow. Outgoing buffer (stores information of a block to be transmitted) Incoming buffer (stores information of a received block) There are a total of the following four types of buffers in combination with these. -Outgoing Express buffer (OEB)-Outgoing BLOCK buffer (OBB)-Incoming Express buffer (IEB)-Incoming BLOCK buffer (IBB) In the present embodiment, in order to secure the performance of the system, all of OBB, OEB, IBB, and IEB , Each 4
Prepared step by step. In that sense, four types of block buffer FIFOs, namely, OBB_FIFO and OEB_F
IFO, IBB_FIFO, and IEB_FIFO will be provided.

【0049】即ち、図4に示すように、ブロックバッフ
ァ203には、4段のOutgoing BLOCKバッファ(OB
B)203aから構成されるOBB_FIFOと、4段
のOutgoing Expressバッファ(OEB)203bから構
成されるOEB_FIFOと、4段のIncoming BLOCKバ
ッファ(IBB)203cと、4段のIncoming Express
バッファ(IEB)203dが設けられている。同様
に、ブロックバッファ303にも、4段のOutgoing BLO
CKバッファ(OBB)303aから構成されるOBB_
FIFOと、4段のOutgoing Expressバッファ(OE
B)303bから構成されるOEB_FIFOと、4段
のIncoming BLOCKバッファ(IBB)303cと、4段
のIncoming Expressバッファ(IEB)303dが設け
られている。
That is, as shown in FIG. 4, a four-stage Outgoing BLOCK buffer (OB
B) OBB_FIFO composed of 203a, OEB_FIFO composed of four-stage Outgoing Express buffer (OEB) 203b, four-stage Incoming BLOCK buffer (IBB) 203c, and four-stage Incoming Express
A buffer (IEB) 203d is provided. Similarly, the block buffer 303 also has a four-stage Outgoing BLO
OBB_ composed of a CK buffer (OBB) 303a
FIFO and 4-stage Outgoing Express buffer (OE
B) An OEB_FIFO composed of 303b, a four-stage incoming block buffer (IBB) 303c, and a four-stage incoming express buffer (IEB) 303d are provided.

【0050】前述したように、ブロックとは、構造を持
ったワード(WORD)のまとまりである。ブロックは
次の3つのパートから構成される。送信も、受信も、時
間的に以下の順序で処理される。
As described above, a block is a group of words (WORD) having a structure. The block is composed of the following three parts. Both transmission and reception are processed in the following order in terms of time.

【0051】・一つの制御ワード ・複数のデータワード(ゼロ以上10以下のデータワー
ド) ・一つのチェックサムワード ワードとは、bitのまとまりである。大きく分類する
と、制御情報を担う制御ワードと、データを担うデータ
ワードとに分けられる。ブロックバッファ203,20
3では、ブロック構成する各ワードを以下のような17
ビットを単位として取り扱う。
One control word A plurality of data words (zero to ten data words) One checksum word A word is a group of bits. It can be broadly classified into control words that carry control information and data words that carry data. Block buffers 203 and 20
In 3, each word constituting the block is represented by 17 as follows.
Handles bits as a unit.

【0052】・ブロックを構成する各ワードの情報の実
体サイズが16ビット ・制御ワードとデータワードを区別するためのフィール
ドが1ビット ブロックバッファ203,303は、下位の処理階層と
の間で、17ビットのワードを単位としてデータの受け
渡しを行う。下位の処理階層は、前述のワードバッファ
と、ビットレイヤである。ビットレイヤは図3のシリア
ルパラレルコンバータ205,305と、LVDS送受
信部206,306に相当するものである。以下の処理
は、下位の処理階層で行われる処理であり、ブロックバ
ッファ203,303は関知しない。
The actual size of the information of each word constituting the block is 16 bits. The field for discriminating between the control word and the data word is 1 bit. The block buffers 203 and 303 have 17 bits between the lower processing layers. Data is transferred in units of bit words. The lower processing layers are the aforementioned word buffer and bit layer. The bit layer corresponds to the serial / parallel converters 205 and 305 and the LVDS transmission / reception units 206 and 306 in FIG. The following processing is performed in a lower processing hierarchy, and does not concern the block buffers 203 and 303.

【0053】・ワードバッファ: ブロックバッファが
扱う各17ビットのワードに対して1bitのパリティ
が付加され、18bitのデータが作られる。 ・ビット階層: 18bitのデータがパラレルデータ
からシリアルデータに変換されて、高速シリアル転送さ
れる。実際には、送信用の2本のLVDS線と、受信用
の2本のLVDS線が各コントローラ15,35に設け
られているので、18bitのデータが9bit×2つ
のストリームに分解されて、それぞれがパラレルデータ
からシリアルデータに変換された後に同時にシリアル転
送される。
Word buffer: 1-bit parity is added to each 17-bit word handled by the block buffer, and 18-bit data is created. Bit hierarchy: 18-bit data is converted from parallel data to serial data, and high-speed serial transfer is performed. Actually, since two LVDS lines for transmission and two LVDS lines for reception are provided in each of the controllers 15 and 35, 18-bit data is decomposed into 9-bit × 2 streams, and Are converted from parallel data to serial data and then serially transferred at the same time.

【0054】・受信側はこの逆のプロセスとなる。The receiving side performs the reverse process.

【0055】(ブロック転送)前述したように、本実施
形態では、下位の階層ではシリアル転送が行われるが、
ブロックバッファ203と303との間ではブロックを
単位としたデータ転送(ブロック転送)が実行される。
このブロック転送は、トランザクションバッファ20
1,301の要求にサービスするために行われるもので
あり、トランザクションバッファから渡された情報を、
相手側PCIシリアル転送コントローラのトランザクシ
ョンバッファまで、正確に、且つ速やかに送り届けるこ
とが目的である。この目的を実現するため、ブロックバ
ッファ階層では、送信対象のブロックに以下の情報を付
加する。
(Block Transfer) As described above, in this embodiment, serial transfer is performed in the lower hierarchy.
Data transfer (block transfer) is performed between the block buffers 203 and 303 in block units.
This block transfer is performed in the transaction buffer 20.
1,301 to service the request, and the information passed from the transaction buffer is
It is an object of the present invention to accurately and promptly send a message to a transaction buffer of a partner PCI serial transfer controller. In order to achieve this object, the block buffer layer adds the following information to the transmission target block.

【0056】・ブロックを識別するためのブロックID
(制御ワードに埋め込んで送信する) ・チェックサムワード(制御ワードの一種) 送信対象のブロックデータそれそれには、連続した値の
ブロックIDが付加される。理想的には零〜無限大まで
の値をブロックIDとして順番に割り当てられればよい
が、実際には、使用できるbit数には限界があるた
め、本実施形態では、3bitのブロックIDを用意
し、0〜7までを、この順で繰り返し割り当てることに
する。
Block ID for identifying the block
(Embedded in control word and transmitted) Checksum word (a type of control word) Block data to be transmitted and a block ID of a continuous value are added to it. Ideally, values from zero to infinity may be sequentially assigned as block IDs. However, in practice, there is a limit to the number of bits that can be used, so in this embodiment, a 3-bit block ID is prepared. , 0 to 7 are repeatedly assigned in this order.

【0057】(2つのPCIシリアル転送コントローラ
の内部構造)次に、図5を参照して、プライマリPCI
シリアル転送コントローラ15およびセカンダリPCI
シリアル転送コントローラ35それぞれの内部構成を説
明する。
(Internal Structure of Two PCI Serial Transfer Controllers) Next, referring to FIG.
Serial transfer controller 15 and secondary PCI
The internal configuration of each of the serial transfer controllers 35 will be described.

【0058】プライマリPCIシリアル転送コントロー
ラ15およびセカンダリPCIシリアル転送コントロー
ラ35の構成は基本的に同一である。これら各コントロ
ーラは、図示のように、PCIバスコントロールブロッ
ク(PCI_CTL)401、PCIバスアービトレー
ションブロック(ARBIT)402、サイクルデコー
ドブロック(CYCDEC)403、コンフィグレーシ
ョンレジスタブロック(CF_REG)404、トラン
ザクションバッファ&コントロールブロック(TBC)
405、ブロック&ワードバッファブロック(BWB)
406、ブロック転送バッファブロック(BB)40
7、ワードバッファブロック(WB)408、ビットレ
イヤーブロック(BLB)409、Misc情報更新ブ
ロック(MIS)410、およびシリアルインタラプト
同期ブロック(SIS)411から構成されている。
The configuration of the primary PCI serial transfer controller 15 and the configuration of the secondary PCI serial transfer controller 35 are basically the same. As shown, these controllers include a PCI bus control block (PCI_CTL) 401, a PCI bus arbitration block (ARBIT) 402, a cycle decode block (CYCDEC) 403, a configuration register block (CF_REG) 404, a transaction buffer & control block. (TBC)
405, block & word buffer block (BWB)
406, block transfer buffer block (BB) 40
7, a word buffer block (WB) 408, a bit layer block (BLB) 409, a Misc information update block (MIS) 410, and a serial interrupt synchronization block (SIS) 411.

【0059】PCIコントロールブロック(PCI_C
TL)401は、PCIバスマスタおよびターゲットと
して、PCIバスインタフェースを制御するためのもの
であり、マスタレイテンシタイマ(MLT)を備えてい
る。マスタレイテンシタイマ(MLT)は、現在のサイ
クルを実行しているバスマスタに対してサイクルを中止
させるためのタイミングを計時するためのものである。
ターゲット動作時には、PCIバスコントロールブロッ
ク(PCI_CTL)401は、サイクルデコードブロ
ック(CYCDEC)403からのヒット信号をトリガ
として動作する。すなわち、PCIバスコントロールブ
ロック(PCI_CTL)401は、ヒット信号を受け
ると、PCIバス上の現在のバスマスタによって行われ
るPCIバスサイクルに応答して、ターゲットとしての
PCIバスサイクルを開始する。
The PCI control block (PCI_C
A TL) 401 controls a PCI bus interface as a PCI bus master and a target, and includes a master latency timer (MLT). The master latency timer (MLT) is for measuring the timing for causing the bus master executing the current cycle to stop the cycle.
During the target operation, the PCI bus control block (PCI_CTL) 401 operates using a hit signal from the cycle decode block (CYCDEC) 403 as a trigger. That is, when receiving the hit signal, the PCI bus control block (PCI_CTL) 401 starts a PCI bus cycle as a target in response to the PCI bus cycle performed by the current bus master on the PCI bus.

【0060】PCIバスアービトレーションブロック
(ARBIT)402は、PCIバス上でPCIバスマ
スタのアービトレーションを行うためのアービタであ
る。
A PCI bus arbitration block (ARBIT) 402 is an arbiter for arbitrating a PCI bus master on the PCI bus.

【0061】サイクルデコードブロック(CYCDE
C)403は、PCIバスターゲット動作時、PCIサ
イクル種別およびアドレスをデコードしてヒット判定を
行う。また、このサイクルデコードブロック(CYCD
EC)403は、トランザクションバッファ&コントロ
ールブロック(TBC)405に対するサイクルスター
ト信号およびPCIバスコントロールブロック(PCI
_CTL)401に対するヒット信号の生成を行う。
The cycle decode block (CYCDE)
C) 403 performs a hit determination by decoding the PCI cycle type and address during the PCI bus target operation. The cycle decode block (CYCD)
The EC 403 includes a cycle start signal for the transaction buffer & control block (TBC) 405 and a PCI bus control block (PCI
(_CTL) 401 is generated.

【0062】コンフィグレーションレジスタブロック
(CF_REG)404は、前述のPCIコンフィグレ
ーションレジスタである。
The configuration register block (CF_REG) 404 is the aforementioned PCI configuration register.

【0063】トランザクションバッファ&コントロール
ブロック(TBC)405はPCIバスサイクルをトラ
ンザクションとして管理するバッファであり、ブロック
転送バッファブロック(BB)407とPCIバスコン
トロールブロック(PCI_CTL)401との間での
データ受け渡しの制御を行う。
A transaction buffer & control block (TBC) 405 is a buffer for managing a PCI bus cycle as a transaction, and transfers data between a block transfer buffer block (BB) 407 and a PCI bus control block (PCI_CTL) 401. Perform control.

【0064】ブロック&ワードバッファブロック(BW
B)406は、前述のブロックバッファとその制御ロジ
ックから構成されるブロック転送バッファブロック(B
B)407と、前述のワードバッファとその制御ロジッ
クから構成されるワードバッファブロック(WB)40
8との2つのブロックを便宜上1つにまとめたものであ
る。ブロック転送バッファブロック(BB)407は、
トランザクションバッファ&コントロールブロック(T
BC)405またはワードバッファブロック(WB)4
08との間で授受されるデータを一時的に格納するため
に用いられる。また、バッファとして、ポストライト用
(OEB/IEB)と、ポストライト以外のトランザク
ション用(OBB/IBB)をそれぞれ独立にもつ。図
中のOEB/OBBが送信用バッファ、IEB/IBB
が受信用バッファである。この送信用および受信用バッ
ファは、それぞれビットレイヤーブロック409内のP
LLで生成される非同期の送信用および受信用クロック
で動作する。PCIクロックを使用していないので、ブ
ロック転送バッファブロック(BB)407より上位層
のブロックとは非同期となる。また、このブロック&ワ
ードバッファブロック(BWB)406は、チェックサ
ム生成、シリアルバス上でのエラーチェックおよび再送
処理の制御等も行う。さらに、ブロック&ワードバッフ
ァブロック(BWB)406には、シリアルバスを介し
て授受されるデータの内、コントローラの動作検証に必
要なトレース情報の採取条件に合致する所定の送信デー
タまたは受信データを採取・記録するダンプ機能が設け
られている。このダンプ機能で採取された情報はCPU
11により読み出すことができるので、シリアルバスを
介して実行されるシリアル伝送の様子をソフトウェアに
よって容易に解析することができる。
Block & word buffer block (BW
B) 406 is a block transfer buffer block (B) composed of the aforementioned block buffer and its control logic.
B) 407 and a word buffer block (WB) 40 composed of the aforementioned word buffer and its control logic.
8 are combined into one for convenience. The block transfer buffer block (BB) 407 is
Transaction buffer & control block (T
(BC) 405 or word buffer block (WB) 4
08 is used to temporarily store data transmitted and received between the device and the device. Further, buffers for post-write (OEB / IEB) and for buffers other than post-write (OBB / IBB) are independently provided as buffers. OEB / OBB in the figure is a transmission buffer, IEB / IBB
Is a receiving buffer. The transmission and reception buffers are stored in the P layer in the bit layer block 409, respectively.
It operates with asynchronous transmission and reception clocks generated by the LL. Since the PCI clock is not used, the block is not synchronized with a block of a higher layer than the block transfer buffer block (BB) 407. The block & word buffer block (BWB) 406 also performs checksum generation, error checking on the serial bus, and control of retransmission processing. Further, the block & word buffer block (BWB) 406 collects predetermined transmission data or reception data that matches the collection condition of the trace information necessary for the operation verification of the controller from the data transmitted and received via the serial bus.・ A dump function for recording is provided. The information collected by this dump function is
11, the state of serial transmission executed via the serial bus can be easily analyzed by software.

【0065】ワードバッファブロック(WB)408
は、ブロック転送バッファブロック(BB)407から
の固定長のデータ(BLOCK)をビットレイヤーブロ
ック(BLB)409との間でWORD単位で1つずつ
転送するために一時的に格納するためのバッファであ
る。図中のOWBは送信用バッファ、IWBは受信用バ
ッファであり、それぞれビットレイヤーブロック(BL
B)409内のPLLで生成される非同期の送信用およ
び受信用クロックで動作する。
Word buffer block (WB) 408
Is a buffer for temporarily storing the fixed-length data (BLOCK) from the block transfer buffer block (BB) 407 with the bit layer block (BLB) 409 one by one in WORD units. is there. In the figure, OWB denotes a transmission buffer, and IWB denotes a reception buffer.
B) It operates with asynchronous transmission and reception clocks generated by the PLL in 409.

【0066】ビットレイヤーブロック(BLB)409
は、ワードバッファブロック(WB)408からの固定
長のデータ(WORD)を2つに分け、2系統のシリア
ルデータとしてシリアル通信を行うものであり、送信側
は、パラレル→シリアル変換を行い、受信側は、シリア
ル→パラレル変換を行う。また、このビットレイヤーブ
ロック(BLB)409は、送信用、受信用にそれぞれ
PLLを持ち、送信用PLLは、所定のクロック(PL
CLK)入力をもとに動作(9逓倍)し、受信用PLL
は、セカンダリPCIシリアル転送コントローラ35か
らLVDS線路を介して送信されるLVDSシリアル受
信クロック(LVDC_I)をもとに動作する。なお、
LVDSシリアル送信クロック(LVDC_O)は、P
LCLK入力と同じ周波数の出力となる。
Bit layer block (BLB) 409
Divides the fixed-length data (WORD) from the word buffer block (WB) 408 into two parts and performs serial communication as two systems of serial data. The transmitting side performs parallel-to-serial conversion and performs reception. The side performs serial-to-parallel conversion. The bit layer block (BLB) 409 has PLLs for transmission and reception, respectively, and the transmission PLL has a predetermined clock (PLL).
CLK) input and operate (multiply by 9) to receive PLL.
Operates based on the LVDS serial reception clock (LVDC_I) transmitted from the secondary PCI serial transfer controller 35 via the LVDS line. In addition,
The LVDS serial transmission clock (LVDC_O) is P
The output has the same frequency as the LCLK input.

【0067】Misc情報更新ブロック(MIS)41
0は、PCIバスの割り込み信号(INT[A:D]
#)をMisc情報として扱い処理するためのブロック
である。シリアルインタラプト同期ブロック(SIS)
411は、ISAデバイスなどからのレガシイ割り込み
信号を処理するためのブロックである。
Misc information update block (MIS) 41
0 is a PCI bus interrupt signal (INT [A: D]
#) Is treated as misc information. Serial interrupt synchronous block (SIS)
A block 411 processes a legacy interrupt signal from an ISA device or the like.

【0068】(ダンプ機能)次に、図6を参照して、上
述のダンプ機能を実現するための構成について説明す
る。
(Dump Function) Next, a configuration for realizing the above-described dump function will be described with reference to FIG.

【0069】ブロック&ワードバッファブロック(BW
B)406には、ワードバッファ408で受信された受
信ワードに対するダンプ機能と、ワードバッファ408
を介して送信される送信ワードに対するダンプ機能とが
設けられている。受信ワードに対するダンプ機能は、受
信ワードダンプレジスタ群501、受信ワードダンプ制
御部502、およびダンプ条件レジスタ503によって
実現され、また送信ワードに対するダンプ機能は送信ワ
ードダンプレジスタ群601、送信ワードダンプ制御部
602、およびダンプ条件レジスタ603によって実現
されている。
Block & word buffer block (BW
B) 406 includes a dump function for the received word received by the word buffer 408, and a word buffer 408.
And a dump function for a transmission word transmitted via the. The dump function for the received word is realized by the received word dump register group 501, the received word dump control unit 502, and the dump condition register 503. The dump function for the transmitted word is the transmitted word dump register group 601, the transmitted word dump control unit 602. , And the dump condition register 603.

【0070】受信ワードダンプレジスタ群501は、コ
ントローラ15,35の動作検証に必要なトレース情報
が記憶される記憶装置であり、前述のコンフィグレーシ
ョンレジスタを通してCPU11からリードアクセスで
きるように構成されている。この受信ワードダンプレジ
スタ群501には64個のワード記憶レジスタが含まれ
ており、一度に最大で64個の受信ワードをトレース情
報として記憶することができる。
The received word dump register group 501 is a storage device for storing trace information necessary for verifying the operation of the controllers 15 and 35, and is configured to be read-accessible from the CPU 11 through the above-described configuration register. The received word dump register group 501 includes 64 word storage registers, and can store up to 64 received words at a time as trace information.

【0071】受信ワードダンプ制御部502は、受信用
ワードバッファ(IWB)からの受信ワードを監視し、
ダンプ条件レジスタ503に設定された受信ワードのダ
ンプ条件に従い、トレース情報の採取条件(ダンプ条
件)に合致する所定の受信ワードをトレース情報として
採取して、受信ワードダンプレジスタ群501のレジス
タに順番に格納する。
The received word dump control unit 502 monitors the received word from the receiving word buffer (IWB),
According to the dump condition of the received word set in the dump condition register 503, predetermined received words that match the trace information collecting condition (dump condition) are collected as trace information and sequentially stored in the registers of the received word dump register group 501. Store.

【0072】ダンプ条件レジスタ503も前述のコンフ
ィグレーションレジスタを通してCPU11からアクセ
スできるように構成されており、受信ワードに関する任
意のダンプ条件をソフトウェアによって設定することが
できる。ダンプ条件は採取すべき受信ワードのビットパ
ターン情報によって与えられ、ビットパターン情報に一
致した受信ワードがトレース情報として採取される。こ
の場合、ダンプ条件レジスタ503の設定により、各ビ
ットパターン毎に、トレース情報の採取条件としての有
効の有無を指定することができる。各ビットパターンの
内容はダンプ条件レジスタ503により設定することも
できるが、内部配線等を利用して固定的に設定しても良
い。
The dump condition register 503 is also configured to be accessible from the CPU 11 through the above-described configuration register, and an arbitrary dump condition relating to a received word can be set by software. The dump condition is given by bit pattern information of a received word to be collected, and a received word that matches the bit pattern information is collected as trace information. In this case, by setting the dump condition register 503, it is possible to specify, for each bit pattern, whether or not the bit pattern is valid as a trace information collection condition. The contents of each bit pattern can be set by the dump condition register 503, but may be fixedly set using internal wiring or the like.

【0073】送信ワードダンプレジスタ群601受信ワ
ードダンプレジスタ群501と同様、コントローラ1
5,35の動作検証に必要なトレース情報が記憶される
記憶装置であり、前述のコンフィグレーションレジスタ
を通してCPU11からリードアクセスできるように構
成されている。この送信ワードダンプレジスタ群601
には64個のワード記憶レジスタが含まれており、一度
に最大で64個の送信ワードをトレース情報として記憶
することができる。
Transmission word dump register group 601 Like the reception word dump register group 501, the controller 1
This is a storage device for storing trace information necessary for operation verification of the CPUs 5 and 35, and is configured to be read-accessible from the CPU 11 through the above-described configuration register. This transmission word dump register group 601
Contains 64 word storage registers, and can store up to 64 transmission words at a time as trace information.

【0074】送信ワードダンプ制御部602は、送信用
ワードバッファ(OWB)を介して送信される送信ワー
ドを監視し、ダンプ条件レジスタ603に設定された送
信ワードのダンプ条件に従い、トレース情報の採取条件
(ダンプ条件)に合致する所定の送信ワードをトレース
情報として採取して、送信ワードダンプレジスタ群60
1のレジスタに順番に格納する。
The transmission word dump control unit 602 monitors transmission words transmitted via a transmission word buffer (OWB), and obtains trace information collection conditions in accordance with the transmission word dump conditions set in the dump condition register 603. A predetermined transmission word that matches (dump condition) is collected as trace information, and the transmission word dump register group 60 is collected.
1 in order.

【0075】ダンプ条件レジスタ603も前述のダンプ
条件レジスタ503と同様に、コンフィグレーションレ
ジスタを通してCPU11からアクセスできるように構
成されており、送信ワードに関する任意のダンプ条件を
ソフトウェアによって設定することができる。ダンプ条
件は採取すべき受信ワードのビットパターン情報によっ
て与えられ、ビットパターン情報に一致した送信ワード
がトレース情報として採取される。この場合、ダンプ条
件レジスタ603の設定により、各ビットパターン毎
に、トレース情報の採取条件としての有効の有無を指定
することができる。各ビットパターンの内容はダンプ条
件レジスタ603により設定することもできるが、内部
配線等を利用して固定的に設定しても良い。
The dump condition register 603 is configured to be accessible from the CPU 11 through the configuration register, similarly to the above-described dump condition register 503, and an arbitrary dump condition relating to a transmission word can be set by software. The dump condition is given by bit pattern information of a received word to be collected, and a transmission word that matches the bit pattern information is collected as trace information. In this case, by setting the dump condition register 603, it is possible to specify, for each bit pattern, whether or not the trace information is valid as a trace information collection condition. The content of each bit pattern can be set by the dump condition register 603, but may be fixedly set using internal wiring or the like.

【0076】(ダンプ制御回路)次に、受信ワードダン
プ制御部502および送信ワードダンプ制御部602の
具体的な回路構成を説明する。受信ワードダンプ制御部
502および送信ワードダンプ制御部602は基本的に
同一の構成で実現できるので、以下、図7を参照して、
受信ワードダンプ制御部502の回路構成を代表して説
明する。
(Dump Control Circuit) Next, specific circuit configurations of the received word dump control unit 502 and the transmitted word dump control unit 602 will be described. Since the reception word dump control unit 502 and the transmission word dump control unit 602 can be realized by basically the same configuration, the following description refers to FIG.
The circuit configuration of the received word dump control unit 502 will be described as a representative.

【0077】受信ワード制御レジスタ501の64個の
レジスタはそれぞれIWBの出力に共通接続されてい
る。これら64個の各レジスタ毎に、比較器とAND回
路から構成される書き込み制御回路が設けられている。
The 64 registers of the reception word control register 501 are commonly connected to the output of the IWB. A write control circuit including a comparator and an AND circuit is provided for each of these 64 registers.

【0078】すなわち、比較器601とAND回路60
1はレジスタ#0に対する書き込みを制御するためのも
のであり、カウンタ708からの6ビットのカウンタ値
がレジスタ#0に対応するレジスタ番号“0”(=00
0000)に一致したことが比較器601によって検出
され、且つ現在の受信ワードがダンプ条件に一致したこ
とを示す信号がOR回路707から出力されることを条
件にレジスタ#0に対する書き込みが開始され、現在の
受信ワードがレジスタ#0に書き込まれる。
That is, the comparator 601 and the AND circuit 60
1 controls writing to the register # 0, and the 6-bit counter value from the counter 708 indicates the register number “0” (= 00) corresponding to the register # 0.
0000) is detected by the comparator 601 and writing to the register # 0 is started on condition that a signal indicating that the current received word matches the dump condition is output from the OR circuit 707. The current received word is written to register # 0.

【0079】同様に、レジスタ#1に対する書き込みは
比較器603とAND回路604によって制御され、ま
たレジスタ#63に対する書き込みは比較器605とA
ND回路606によって制御される。
Similarly, writing to register # 1 is controlled by comparator 603 and AND circuit 604, and writing to register # 63 is performed by comparator 605 and A
It is controlled by the ND circuit 606.

【0080】カウンタ708の値は現在の受信ワードが
ダンプ条件に一致したことを示す信号がOR回路707
から出力される度にカウントアップされる。これによ
り、レジスタ#0から#63までの64個のレジスタが
順に書き込み対象のレジスタとして選択される。
The value of the counter 708 is a signal indicating that the current received word matches the dump condition.
It is counted up each time it is output from. Thus, the 64 registers # 0 to # 63 are sequentially selected as registers to be written.

【0081】受信ワードのダンプ条件はパターンAから
パターンZまでの多数のビットパターンによって与えら
れ、またこれらパターンA〜パターンZのそれぞれに対
して、その有効の有無を示すダンプ条件A〜Zが指定さ
れる。パターンA〜パターンZのそれぞれについて比較
器とAND回路から構成される条件判定回路が設けられ
ている。
The dump condition of the received word is given by a number of bit patterns from pattern A to pattern Z. For each of these patterns A to Z, dump conditions A to Z indicating the validity of the pattern are designated. Is done. A condition determination circuit including a comparator and an AND circuit is provided for each of the patterns A to Z.

【0082】パターンAについては、比較器701とA
ND回路702により条件の一致の有無が判定される。
すなわち、現在の受信ワードのビットパターンがパター
ンAのビットパターンに一致したことが比較器701に
より検出され、且つパターンAがダンプ条件として有効
であるときに、現在の受信ワードがパターンAのダンプ
条件に一致したことを示す信号がAND回路702から
出力される。
For pattern A, comparators 701 and A
The ND circuit 702 determines whether or not the conditions match.
That is, when the comparator 701 detects that the bit pattern of the current received word matches the bit pattern of the pattern A, and when the pattern A is valid as the dump condition, the current received word becomes the dump condition of the pattern A. Is output from the AND circuit 702.

【0083】同様に、パターンBについては比較器70
3とAND回路704により条件の一致の有無が判定さ
れ、パターンZについては比較器705とAND回路7
06により条件の一致の有無が判定される。
Similarly, for pattern B, comparator 70
3 and the AND circuit 704 determine whether or not the conditions match. For the pattern Z, the comparator 705 and the AND circuit 7
06, it is determined whether or not the conditions match.

【0084】受信ワードがパターンA〜Zのいずれかの
条件に合致したとき、現在の受信ワードがダンプ条件に
一致したことを示す信号がOR回路707から出力され
る。
When the received word matches one of the conditions of patterns A to Z, a signal indicating that the current received word matches the dump condition is output from OR circuit 707.

【0085】以上の構成により、コントローラ15,3
5の動作検証のために必要な所定ビットパターンの受信
ワードのみをトレース情報として採取・記憶することが
可能となる。
With the above configuration, the controllers 15, 3
5, it is possible to collect and store only the received word of the predetermined bit pattern necessary for the operation verification as trace information.

【0086】なお、送信ワードダンプ制御部602につ
いても同様の回路構成で実現することができ、これによ
りコントローラ15,35の動作検証のために必要な所
定ビットパターンの送信ワードのみをトレース情報とし
て採取・記憶することが可能となる。
The transmission word dump control section 602 can be realized with the same circuit configuration, whereby only transmission words of a predetermined bit pattern necessary for operation verification of the controllers 15 and 35 are collected as trace information.・ It becomes possible to memorize.

【0087】以上のように、本実施形態においては、コ
ントローラ15,35内部にダンプ機能を実装すること
により、専用の解析装置を新たに開発することなく、コ
ントローラ15,35間のシリアルデータ転送な関する
動作を検証することができ、開発時のデバックやエラー
発生時の要因解析等を容易に行うことが可能となる。な
お、このダンプ機能はバスブリッジ装置を構成するLS
Iのみならず、コンピュータ等で使用される他の各種L
SIにも適用することができる。
As described above, in the present embodiment, by mounting the dump function inside the controllers 15 and 35, serial data transfer between the controllers 15 and 35 can be performed without newly developing a dedicated analyzer. Operation can be verified, and debugging at the time of development and analysis of a factor at the time of occurrence of an error can be easily performed. Note that this dump function is provided by the LS that constitutes the bus bridge device.
I, as well as other various L used in computers, etc.
It can also be applied to SI.

【0088】また、本実施形態では、PC本体100と
ドッキングステーション200にそれぞれ、ブリッジを
構成する2つのコントローラを分割配置したが、例えば
PC本体100に第1の拡張ユニットを接続し、その第
1の拡張ユニットを介してさらに第2の拡張ユニットを
接続するような場合には、第2の拡張ユニットから見れ
ば、コンピュータ本体と第1の拡張ユニットがホスト装
置として機能することになる。この場合、第1の拡張ユ
ニットと第2の拡張ユニットにそれぞれプライマリPC
Iシリアル転送コントローラ15とセカンダリPCIシ
リアル転送コントローラ35を分散して設けてもよい。
In the present embodiment, two controllers constituting a bridge are separately arranged in the PC main body 100 and the docking station 200. However, for example, a first extension unit is connected to the PC main body 100, and the first expansion unit is connected to the first main body. In the case where the second extension unit is further connected via the second extension unit, the computer main unit and the first extension unit function as a host device from the viewpoint of the second extension unit. In this case, the primary PC and the first PC are respectively assigned to the first PC and the second PC.
The I serial transfer controller 15 and the secondary PCI serial transfer controller 35 may be provided separately.

【0089】[0089]

【発明の効果】以上説明したように、本発明によれば、
ダンプ機能をLSI自体に設けることにより、専用の解
析装置を新たに開発することなく、開発時のデバックや
エラー発生時の要因解析等を容易に行うことが可能とな
る。特に、物理的に異なる第1および第2の2つのコン
トローラから構成されたバスブリッジ装置においては、
シリアル伝送線路を介して行われる2つのコントローラ
間のデータの授受の様子を容易に検証することが可能と
なり、その開発効率の向上を実現できる。
As described above, according to the present invention,
By providing the dump function in the LSI itself, it is possible to easily perform debugging at the time of development or cause analysis at the time of occurrence of an error without newly developing a dedicated analysis device. In particular, in a bus bridge device composed of two physically different first and second controllers,
It is possible to easily verify how data is exchanged between the two controllers via the serial transmission line, and to improve the development efficiency.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施形態に係るコンピュータシステ
ムの構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a computer system according to an embodiment of the present invention.

【図2】同実施形態で使用されるPCI−PCIブリッ
ジの構成を示すブロック図。
FIG. 2 is an exemplary block diagram showing a configuration of a PCI-PCI bridge used in the embodiment.

【図3】同実施形態で使用されるプライマリPCIシリ
アル転送コントローラおよびセカンダリPCIシリアル
転送コントローラそれぞれの内部構造を示すブロック
図。
FIG. 3 is an exemplary block diagram showing the internal structure of each of a primary PCI serial transfer controller and a secondary PCI serial transfer controller used in the embodiment;

【図4】同実施形態で使用されるプライマリPCIシリ
アル転送コントローラおよびセカンダリPCIシリアル
転送コントローラそれぞれにおけるバッファ構造を示す
図。
FIG. 4 is an exemplary view showing a buffer structure in each of a primary PCI serial transfer controller and a secondary PCI serial transfer controller used in the embodiment;

【図5】同実施形態で使用されるプライマリPCIシリ
アル転送コントローラおよびセカンダリPCIシリアル
転送コントローラそれぞれの具体的なハードウェア構成
を示すブロック図。
FIG. 5 is an exemplary block diagram showing a specific hardware configuration of a primary PCI serial transfer controller and a secondary PCI serial transfer controller used in the embodiment;

【図6】同実施形態で使用されるダンプ機能を説明する
ためのブロック図。
FIG. 6 is an exemplary block diagram for explaining a dump function used in the embodiment;

【図7】同実施形態で使用されるダンプ制御部の具体的
なハードウェア構成を示す図。
FIG. 7 is a view showing a specific hardware configuration of a dump control unit used in the embodiment.

【符号の説明】[Explanation of symbols]

2…プライマリPCIバス 4…セカンダリPCIバス 11…CPU 15…プライマリPCIシリアル転送コントローラ 35…セカンダリPCIシリアル転送コントローラ 100…PC本体 200…ドッキングステーション 501…受信ワードダンプレジスタ 502…受信ワードダンプ制御部 503…ダンプ条件レジスタ 601…送信ワードダンプレジスタ 602…送信ワードダンプ制御部 603…ダンプ条件レジスタ 2 Primary PCI bus 4 Secondary PCI bus 11 CPU 15 Primary PCI serial transfer controller 35 Secondary PCI serial transfer controller 100 PC body 200 Docking station 501 Received word dump register 502 Received word dump control unit 503 Dump condition register 601: Transmission word dump register 602: Transmission word dump control unit 603: Dump condition register

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 所定のプロトコルに従って外部との間で
データの送受信を行うLSI装置において、 前記LSI装置の動作検証に必要なトレース情報が記憶
される記憶装置と、 前記LSI装置の送信データまたは受信データを監視
し、前記トレース情報の採取条件に合致する所定の送信
データまたは受信データを前記トレース情報として採取
して前記記憶手段に格納するトレース情報採取手段とを
具備することを特徴とするLSI装置。
1. An LSI device for transmitting and receiving data to and from an external device according to a predetermined protocol, comprising: a storage device for storing trace information required for verifying the operation of the LSI device; An LSI device for monitoring data, collecting predetermined transmission data or reception data matching the conditions for collecting the trace information as the trace information, and storing the same in the storage unit. .
【請求項2】 前記トレース情報の採取条件は、採取す
べき送信データまたは受信データのビットパターン情報
であり、 前記トレース情報採取手段は、前記LSI装置の送信デ
ータまたは受信データと前記ビットパターン情報とを比
較し、前記ビットパターン情報に一致した送信データま
たは受信データを前記トレース情報として採取すること
を特徴とする請求項1記載のLSI装置。
2. The trace information collection condition is bit pattern information of transmission data or reception data to be collected, and the trace information collection means includes: transmission data or reception data of the LSI device; 2. The LSI device according to claim 1, wherein the transmission data or the reception data that matches the bit pattern information is collected as the trace information.
【請求項3】 前記ビットパターン情報は互いに異なる
複数のビットパターンを含み、 前記トレース情報の採取条件としての有効の有無が、前
記各ビットパターン毎に設定されるように構成されてい
ることを特徴とする請求項2記載のLSI装置。
3. The bit pattern information includes a plurality of bit patterns different from each other, and whether or not the trace information is effective as a sampling condition is set for each of the bit patterns. The LSI device according to claim 2, wherein
【請求項4】 前記LSI装置はコンピュータシステム
のバス間を接続するためのバスブリッジ装置であること
を特徴とする請求項1記載のLSI装置。
4. The LSI device according to claim 1, wherein said LSI device is a bus bridge device for connecting buses of a computer system.
【請求項5】 外部との間のデータの送受信をシリアル
伝送線路を介して実行するためのシリアル伝送手段をさ
らに具備し、 前記トレース情報採取手段は、前記シリアル伝送手段に
よって外部にシリアル送信すべき送信データ、または前
記シリアル伝送手段を介して外部から受信した受信デー
タを監視することを特徴とする請求項1記載のLSI装
置。
5. The apparatus according to claim 1, further comprising a serial transmission unit for executing transmission and reception of data to and from the outside via a serial transmission line, wherein the trace information collection unit is to be serially transmitted to the outside by the serial transmission unit. 2. The LSI device according to claim 1, wherein transmission data or reception data received from outside via the serial transmission unit is monitored.
【請求項6】 物理的に異なる第1および第2の2つの
コントローラから構成され、前記第1および第2の2つ
のコントローラ間でデータのシリアル伝送を行うことに
より、前記第1のコントローラが接続された第1のバス
と前記第2のコントローラが接続された第2のバス間を
接続するバスブリッジ装置であって、 前記第1および第2の少なくとも一方のコントローラ
は、 前記バスブリッジ装置の動作検証に必要なトレース情報
が記憶される記憶装置と、 前記第1および第2の2つのコントローラ間の送信デー
タまたは受信データを監視し、前記トレース情報の採取
条件に合致する所定の送信データまたは受信データを前
記トレース情報として採取して前記記憶手段に格納する
トレース情報採取手段とを具備することを特徴とするバ
スブリッジ装置。
6. The first controller is composed of two physically different first and second controllers, and the first controller is connected by performing serial transmission of data between the first and second two controllers. A bus bridge device for connecting a first bus and a second bus to which the second controller is connected, wherein the first and second at least one controller operate the bus bridge device. A storage device for storing trace information required for verification, and monitoring transmission data or reception data between the first and second controllers, and predetermined transmission data or reception matching the trace information collection condition And a trace information collecting means for collecting data as the trace information and storing the data in the storage means. Equipment.
【請求項7】 ホスト装置とその機能拡張のための拡張
ユニットとにそれぞれ分散して設けられた物理的に異な
る第1および第2のコントローラから構成され、前記ホ
スト装置側のバスと前記拡張ユニット側のバスとの間
を、前記コントローラ間に配設されるシリアル伝送路を
介して接続するためのブリッジ装置を有するコンピュー
タシステムであって、 前記第1および第2の少なくとも一方のコントローラ
は、 前記バスブリッジ装置の動作検証に必要なトレース情報
が記憶される記憶装置と、 前記第1および第2の2つのコントローラ間の送信デー
タまたは受信データを監視し、前記トレース情報の採取
条件に合致する所定の送信データまたは受信データを前
記トレース情報として採取して前記記憶手段に格納する
トレース情報採取手段とを具備することを特徴とするコ
ンピュータシステム。
7. A host device-side bus and said expansion unit, comprising first and second physically different controllers provided separately in a host device and an expansion unit for expanding the function of the host device. A computer system having a bridge device for connecting to a bus on the side via a serial transmission line provided between the controllers, wherein the first and second controllers are at least one of: A storage device for storing trace information required for verifying the operation of the bus bridge device; and a transmission device for monitoring transmission data or reception data between the first and second controllers, and a predetermined device that satisfies a condition for collecting the trace information. Trace information collection means for collecting transmission data or reception data as the trace information and storing it in the storage means; A computer system comprising:
JP33337499A 1999-11-24 1999-11-24 Lsi device, bus bridge device and computer system Pending JP2001154930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33337499A JP2001154930A (en) 1999-11-24 1999-11-24 Lsi device, bus bridge device and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33337499A JP2001154930A (en) 1999-11-24 1999-11-24 Lsi device, bus bridge device and computer system

Publications (1)

Publication Number Publication Date
JP2001154930A true JP2001154930A (en) 2001-06-08

Family

ID=18265406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33337499A Pending JP2001154930A (en) 1999-11-24 1999-11-24 Lsi device, bus bridge device and computer system

Country Status (1)

Country Link
JP (1) JP2001154930A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009517778A (en) * 2005-12-02 2009-04-30 エンテグリース,インコーポレイテッド I / O system, method, and apparatus for coupling pump controller
US9424153B2 (en) 2014-11-18 2016-08-23 Samsung Electronics Co., Ltd. Storage device and operating method of the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009517778A (en) * 2005-12-02 2009-04-30 エンテグリース,インコーポレイテッド I / O system, method, and apparatus for coupling pump controller
JP2011238288A (en) * 2005-12-02 2011-11-24 Entegris Inc Input/output system, method and device for connecting a pump controller
JP4845969B2 (en) * 2005-12-02 2011-12-28 エンテグリース,インコーポレイテッド I / O system, method, and apparatus for coupling pump controller
US9025454B2 (en) 2005-12-02 2015-05-05 Entegris, Inc. I/O systems, methods and devices for interfacing a pump controller
US9262361B2 (en) 2005-12-02 2016-02-16 Entegris, Inc. I/O systems, methods and devices for interfacing a pump controller
US9424153B2 (en) 2014-11-18 2016-08-23 Samsung Electronics Co., Ltd. Storage device and operating method of the same

Similar Documents

Publication Publication Date Title
CN107408032B (en) Pseudo-random bit sequence in an interconnect
CN110036380B (en) Dual mode PHY for low latency in high speed interconnect
CN108228495B (en) High performance interconnect physical layer
CN107430569B (en) Multi-chip package link
CN108052463B (en) Multi-chip package link
KR100555394B1 (en) Methodology and mechanism for remote key validation for ngio/infiniband applications
CN111930664A (en) Ordered sets for high speed interconnects
US6985977B2 (en) System and method for transferring data over a communication medium using double-buffering
US5896534A (en) Operating system independent apparatus and method for supporting input/output devices unsupported by executing programs
US6002882A (en) Bidirectional communication port for digital signal processor
US20110035580A1 (en) Media access control security management in physical layer
JP2001014269A (en) Computer system
CN111797040A (en) Virtual link state for multiple protocol layer encapsulation interconnects
EP3832472B1 (en) Streaming fabric interface
JPH05108219A (en) Serial channel adaptor
CN111290986A (en) Bus interconnection system based on neural network
JP4920638B2 (en) LSI system design method and LSI system design support apparatus
CN114253889A (en) Approximate data bus inversion techniques for delay sensitive applications
CN112988647A (en) TileLink bus-to-AXI 4 bus conversion system and method
US6622191B1 (en) Computer system
US6829670B1 (en) Using consecutive block IDs to keep track of data transferred across a serially linked bridge
US20060112184A1 (en) Adapter card for on-demand formatting of data transfers between network devices
JP6745289B2 (en) Multi-chip package link
JP2000066994A (en) Lpc/isa bridge and its bridge method
US6584536B1 (en) Bus transaction accelerator for multi-clock systems

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040615

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040813

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050201