JP2003006144A - Semiconductor integrated circuit and computer-readable recording medium - Google Patents

Semiconductor integrated circuit and computer-readable recording medium

Info

Publication number
JP2003006144A
JP2003006144A JP2001192202A JP2001192202A JP2003006144A JP 2003006144 A JP2003006144 A JP 2003006144A JP 2001192202 A JP2001192202 A JP 2001192202A JP 2001192202 A JP2001192202 A JP 2001192202A JP 2003006144 A JP2003006144 A JP 2003006144A
Authority
JP
Japan
Prior art keywords
packet
area
information
serial
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2001192202A
Other languages
Japanese (ja)
Inventor
Tetsuya Yamato
哲也 大和
Hiromitsu Inada
宏光 稲田
Keisuke Matsuda
圭介 松田
Kazuyuki Takada
一幸 高田
Akihiro Uto
明博 宇都
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001192202A priority Critical patent/JP2003006144A/en
Priority to TW91111488A priority patent/TWI221223B/en
Priority to PCT/JP2002/006194 priority patent/WO2003001387A1/en
Publication of JP2003006144A publication Critical patent/JP2003006144A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0613Improving I/O performance in relation to throughput
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0661Format or protocol conversion arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0677Optical disk device, e.g. CD-ROM, DVD

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Information Transfer Systems (AREA)
  • Memory System (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize data structure conversion between a serial packet and a parallel packet, without causing increase in the load of a CPU. SOLUTION: A protocol conversion part (24) flexibly maps a plurality of different function areas into an area (25) for protocol conversion of a memory (5) according to a set value of a register part (33) for mapping, with respect to a storage area for different pieces of function information constituting a serial packet, allocates needed information to the plurality of different function areas and performs serial packet conversion, that is, converts interface protocol of the serial packet into an interface packet of a parallel packet. Since information of different data structure can be flexibly stored on the memory 5 managed with the so-called UMA(unified memory architecture) system, it is possible to realize high-speed data structure conversion, without being affected by the limitation of a memory access boundary or imposing a large load on a CPU.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、シリアルパケット
を用いるパケットインタフェース技術に関し、例えば、
シリアルATAPI(AT・アタッチメント・パケット
・インタフェース)、USB(ユニバーサル・シリアル
・バス)、又はIEEE1394の規格に準拠するイン
タフェース回路を有する半導体集積回路、更にはそのよ
うなインタフェース回路に関する所謂IPモジュールに
適用して有効な技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet interface technology using serial packets.
The invention is applied to a serial ATAPI (AT Attachment Packet Interface), a USB (Universal Serial Bus), or a semiconductor integrated circuit having an interface circuit conforming to the IEEE 1394 standard, and a so-called IP module relating to such an interface circuit. And effective technology.

【0002】[0002]

【従来の技術】現在、PC(パーソナル・コンピュー
タ)用途/情報家電用途向けの、内蔵型ストレージデバ
イスであるHDD(ハード・ディスク・ドライブ)、D
VD―ROM(ディジタル・ヴィデオ・ディスク−RO
M)、DVD−RAM等においては、ATA/ATAP
Iインタフェースが圧倒的なシェアを確立している。A
TA/ATAPIインタフェースは、8/16ビットパ
ラレル転送プロトコルを規定し、データ信号はシングル
エンドとされる。したがって、各ビット情報における変
化タイミングのずれやノイズ耐性等の点から転送レート
は約100MB/sec程度である。
2. Description of the Related Art Currently, HDD (hard disk drive), D which is a built-in storage device for PC (personal computer) use / information home appliance use
VD-ROM (Digital Video Disc-RO
M), DVD-RAM, etc., ATA / ATAP
The I interface has established an overwhelming market share. A
The TA / ATAPI interface defines an 8 / 16-bit parallel transfer protocol, and data signals are single-ended. Therefore, the transfer rate is about 100 MB / sec from the viewpoint of shift timing change in each bit information and noise resistance.

【0003】近年、ストレージデバイスに対する大容量
・高速化の市場要求に対応するため、ATA/ATAP
Iインタフェース(8/16ビットパラレル転送プロト
コル)からシリアルATA(Serial・ATA)と
呼ばれるような高速シリアル転送プロトコル規格が策定
段階に入っている。このシリアルATAに代表される高
速シリアル転送プロトコル(以下単にシリアルATAと
も称する)は、例えば、ATA/ATAPIのインタフ
ェースを差動信号を用いてシリアルで行うものである。
シリアル転送であるため並列データビット間の変化タイ
ミングのずれを問題視せずに済み、また、差動信号によ
り同相ノイズ成分をキャンセルできノイズ耐性が向上
し、約150MB/sec、300MB/sec等とい
った高速転送も可能になる。
In recent years, in order to meet the market demand for large capacity and high speed for storage devices, ATA / ATAP
A high-speed serial transfer protocol standard called Serial ATA (Serial ATA) from the I interface (8 / 16-bit parallel transfer protocol) is in the development stage. A high-speed serial transfer protocol typified by the serial ATA (hereinafter, also simply referred to as serial ATA) is, for example, a serial ATA / ATAPI interface using differential signals.
Since it is serial transfer, it is not necessary to consider the shift of the change timing between parallel data bits as a problem, and the common-mode noise component can be canceled by the differential signal to improve the noise resistance, such as about 150 MB / sec, 300 MB / sec, etc. High-speed transfer is also possible.

【0004】尚、ATA/ATAPIについて記載され
た文献の例として株式会社CQ出版発行のインタフェー
ス(第60頁〜第87頁)がある。
As an example of a document describing ATA / ATAPI, there is an interface (pages 60 to 87) issued by CQ Publishing Co., Ltd.

【0005】[0005]

【発明が解決しようとする課題】本発明者はATA/A
TAPIとシリアルATAとの変換ブリッジ回路につい
て検討した。このブリッジ回路は、ATA/ATAPI
インタフェース仕様のCD−ROM、DVD―ROM、
DVD−RAMディスクドライブをシリアルATAに準
拠してホスト装置とインタフェースさせる回路である。
上記のようにシリアル/パラレルの変換ブリッジ回路と
して、従来、USBATA/ATAPIの変換ブリッジ
回路及びIEEE1394ATA/ATAPIの変換ブ
リッジ回路等が開発されている。ATA/ATAPIに
代表されるパラレルのATAによるインタフェースでは
ホスト装置はインタフェース回路のレジスタを通してデ
ータ、コマンド、ステータス等を転送して、インタフェ
ース制御を行う。したがって、前記シリアル/パラレル
変換では、パケットとして転送される情報に対してデー
タ、コマンド、ステータス等を認識して変換を行うこと
が必要になる。このような処理を、CPUによるソフト
ウェア処理で行う場合、高速の転送レートでは処理が間
に合わなくなる事態の発生が想定される。USBやIE
EE1394によるシリアル転送プロトコルの転送レー
トは、ATA/ATAPIインタフェース側の転送レー
ト(約100MB/sec)よりも十分に低いから、そ
の点の問題は少ないと考えられる。しかしながら、シリ
アルATAにおいて実現されると予想される約150M
B/sec、300MB/sec等といった高速転送時
には、CPUの負荷が増大するため、シリアル・パラレ
ル変換がシステム全体の処理能力に影響し、或はシリア
ル転送による高速化の利点を充分享受できないというこ
とが、本発明者によって見出された。
DISCLOSURE OF THE INVENTION The present inventor has found that ATA / A
A conversion bridge circuit between TAPI and serial ATA was examined. This bridge circuit uses ATA / ATAPI
Interface specification CD-ROM, DVD-ROM,
It is a circuit for interfacing a DVD-RAM disk drive with a host device in conformity with Serial ATA.
As described above, as the serial / parallel conversion bridge circuit, a USBATA / ATAPI conversion bridge circuit, an IEEE1394ATA / ATAPI conversion bridge circuit, and the like have been conventionally developed. In a parallel ATA interface represented by ATA / ATAPI, a host device transfers data, commands, statuses, etc. through a register of an interface circuit to perform interface control. Therefore, in the serial / parallel conversion, it is necessary to recognize the data, the command, the status, etc. of the information transferred as a packet and perform the conversion. When such processing is performed by software processing by the CPU, it may occur that the processing may not be in time at a high transfer rate. USB or IE
Since the transfer rate of the serial transfer protocol according to EE1394 is sufficiently lower than the transfer rate (about 100 MB / sec) on the ATA / ATAPI interface side, it is considered that there is little problem in that respect. However, about 150M expected to be realized in Serial ATA
During high-speed transfer such as B / sec, 300 MB / sec, etc., the load on the CPU increases, so the serial-to-parallel conversion affects the processing capacity of the entire system, or the advantage of speed-up by serial transfer cannot be fully enjoyed. Have been found by the inventor.

【0006】また、シリアルパケットに含まれるデー
タ、コマンド、ステータス等の個々の情報はデータ構造
若しくはビット長が相異すると予想される。これに従う
と、シリアルパケットとして転送される情報からデー
タ、コマンド、ステータス等を認識して抽出する場合
に、そのような相異を有する情報を機能領域毎にワーク
メモリにマッピングして一時的に格納すれば、後の処理
に便利であるということが本発明者によって見出され
た。
Further, it is expected that individual information such as data, commands and statuses contained in the serial packet have different data structures or bit lengths. According to this, when recognizing and extracting data, commands, status, etc. from the information transferred as a serial packet, the information having such a difference is temporarily stored by mapping it into the work memory for each functional area. It was found by the present inventor that this would be convenient for subsequent processing.

【0007】更に本発明者はそのようなATA/ATA
PIとシリアルATAとの変換ブリッジ回路をCD−R
OMやDVD−RAM等の記録情報再生装置又は情報記
録再生装置のホストインタフェース回路等に適用する場
合について検討した。情報記録のための変調処理、情報
再生のための復調処理を行うディジタル信号処理手段と
してのコーダ・デコーダ部はワークメモリを利用する。
本発明者はそのようなワークメモリをシリアル・パラレ
ル変換にも利用することを検討した。これによれば、コ
ーダ・デコーダ部によるそのようなワークメモリの利用
形態はコーダ・デコーダ部による変調・復調処理方式に
対して最適化若しくは固有化される。そのようなワーク
メモリをシリアル/パラレル変換などの他用途に用いる
場合には、コーダ・デコーダ部によるメモリエリアの利
用形態如何にかかわらず利用できるという、アドレスマ
ッピングに対して自由度を持たせることの必要性が本発
明者によって明らかにされた。
Further, the inventor has found that such ATA / ATA
CD-R conversion bridge circuit between PI and serial ATA
The case of applying to a recording information reproducing apparatus such as OM or DVD-RAM or a host interface circuit of the information recording / reproducing apparatus was examined. A coder / decoder unit as a digital signal processing means for performing a modulation process for recording information and a demodulation process for reproducing information uses a work memory.
The present inventor considered using such a work memory also for serial / parallel conversion. According to this, the usage pattern of such a work memory by the coder / decoder unit is optimized or unique to the modulation / demodulation processing method by the coder / decoder unit. When such a work memory is used for other purposes such as serial / parallel conversion, it can be used regardless of how the coder / decoder uses the memory area. The need was identified by the inventor.

【0008】特に、回路モジュールデータがIPモジュ
ールデータとして単独取り引きされる事情に鑑みれば、
IPモジュールデータを用いて構成されるコーダ・デコ
ーダ部のような他の回路モジュールによるワークメモリ
の固定的な利用形態との間のアドレスマッピングに関す
る齟齬若しくは不整合の発生を未然に防止できるように
することの有用性が本発明者によって明らかにされた。
Particularly, in view of the situation where the circuit module data is traded as the IP module data alone,
It is possible to prevent the occurrence of a discrepancy or inconsistency in address mapping with a fixed usage mode of a work memory by another circuit module such as a coder / decoder unit configured using IP module data. The usefulness of this was revealed by the present inventor.

【0009】本発明の目的はシリアル・パラレル間のデ
ータ構造変換をCPUの負荷を増大させずに行うことが
できる半導体集積回路を提供することにある。
An object of the present invention is to provide a semiconductor integrated circuit capable of performing serial / parallel data structure conversion without increasing the load on the CPU.

【0010】本発明の目的は、シリアルパケットとして
転送される情報に対してデータ、コマンド等を認識して
抽出するような処理を、CPUによるソフトウェア処理
で行う場合、シリアルパケットの転送レートが高速にな
っても、CPUの負荷を増大させ難く、シリアル/パラ
レル変換がシステム全体の処理能力に影響せず、或はシ
リアル転送の高速化を制限することなく、シリアルパケ
ットのパラレル変換が可能な半導体集積回路を提供する
ことにある。
An object of the present invention is to improve the transfer rate of serial packets at a high speed when the CPU performs software processing for recognizing and extracting data, commands, etc. from information transferred as serial packets. Even so, it is difficult to increase the load on the CPU, the serial / parallel conversion does not affect the processing capability of the entire system, or the parallel conversion of serial packets is possible without limiting the speedup of serial transfer. To provide a circuit.

【0011】本発明の別の目的は、シリアルパケットと
して転送される情報からデータ構造若しくはビット長が
相異するデータ、コマンド等を、後処理が便利なように
認識して抽出することによって、シリアルパケットのパ
ラレル変換が可能な半導体集積回路を提供することにあ
る。
Another object of the present invention is to recognize data, commands, etc. having different data structures or bit lengths from information transferred as a serial packet, by recognizing and extracting them for convenient post-processing, thereby serializing. It is to provide a semiconductor integrated circuit capable of parallel packet conversion.

【0012】本発明の更に別の目的は、情報記録のため
の変調処理、記録情報再生のための復調処理を行うディ
ジタル信号処理手段が用いるワークメモリをシリアルパ
ケットに対するシリアル・パラレル変換にも利用すると
き、ディジタル信号処理手段によるワークメモリのエリ
ア利用形態がどのようであっても(例えば、ディジタル
信号処理手段によるそのようなワークメモリの利用形態
がディジタル信号処理手段による変調・復調処理方式に
対して最適化若しくは固有化されていても)、そのよう
なワークメモリをシリアルパケットのパラレル変換の用
途にも利用可能とする自由度の高いアドレスマッピング
を行うことができる、シリアルパケットのパラレル変換
可能な半導体集積回路を提供することにある。
Still another object of the present invention is to use a work memory used by a digital signal processing means for performing a modulation process for recording information and a demodulation process for reproducing recorded information for serial / parallel conversion of serial packets. At this time, regardless of the usage form of the work memory by the digital signal processing means (for example, such usage form of the work memory by the digital signal processing means is compared with the modulation / demodulation processing method by the digital signal processing means). A semiconductor device capable of parallel conversion of serial packets, which can perform address mapping with a high degree of freedom to enable such work memory to be used for parallel conversion of serial packets (even if optimized or specific). It is to provide an integrated circuit.

【0013】本発明の更に別の目的は、IPモジュール
データを用いて構成されるようなディジタル信号処理手
段等の他の回路モジュールによるワークメモリの固定的
な利用形態との間のアドレスマッピングに関する齟齬若
しくは不整合の発生を未然に防止してシリアルパケット
のパラレル変換が可能な半導体集積回路を提供すること
にある。
Still another object of the present invention is a discrepancy in address mapping between a fixed use mode of a work memory by another circuit module such as a digital signal processing means configured by using IP module data. Another object of the present invention is to provide a semiconductor integrated circuit capable of parallel conversion of serial packets by preventing the occurrence of mismatch.

【0014】本発明のその他の目的は上記それぞれの目
的に係る半導体集積回路の設計の容易化に寄与すること
ができる当該半導体集積回路の回路モジュールデータを
格納したコンピュータ読取り可能な記録媒体を提供する
ことにある。
Another object of the present invention is to provide a computer-readable recording medium storing circuit module data of the semiconductor integrated circuit, which can contribute to facilitation of design of the semiconductor integrated circuit according to each of the above objects. Especially.

【0015】本発明の前記並びにその他の目的と新規な
特徴は本明細書の記述及び添付図面から明らかになるで
あろう。
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0016】[0016]

【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を簡単に説明すれば下記
の通りである。
The outline of the representative one of the inventions disclosed in the present application will be briefly described as follows.

【0017】〔1〕すなわち、半導体集積回路は、メモ
リ(5)を利用して第1パケット領域(61)及び第2
パケット領域(62)を含むシリアルパケットのパラレ
ル変換が可能な変換処理回路(12)を有する。
[1] That is, the semiconductor integrated circuit utilizes the memory (5) to generate the first packet area (61) and the second packet area (61).
It has a conversion processing circuit (12) capable of parallel conversion of a serial packet including a packet area (62).

【0018】入力シリアルパケットに対する処理に着目
すると、前記変換処理回路は、第1メモリ領域(25
A)に入力シリアルパケットを格納し、入力シリアルパ
ケットに含まれる第1パケット領域の情報に基づいて第
2パケット領域の制御情報を第1メモリ領域から第2メ
モリ領域(25D)に格納し、入力シリアルパケットに
含まれる第1パケット領域の情報に基づいて第2パケッ
ト領域のデータ情報を第1メモリ領域から第3メモリ領
域(26)に格納する処理を行う制御部(31,32)
と、前記第1乃至第3メモリ領域を定義するレジスタ部
(33)とを有する。
Focusing on the processing for the input serial packet, the conversion processing circuit has the first memory area (25
The input serial packet is stored in A), the control information of the second packet area is stored from the first memory area to the second memory area (25D) based on the information of the first packet area included in the input serial packet, and the input information is input. A control unit (31, 32) for performing a process of storing the data information of the second packet area from the first memory area to the third memory area (26) based on the information of the first packet area included in the serial packet.
And a register unit (33) defining the first to third memory areas.

【0019】入力シリアルパケットに対する処理と共に
出力シリアルパケットの生成にも着目すると、前記変換
処理回路は、第1メモリ領域に入力シリアルパケットを
格納し、入力シリアルパケットに含まれる第1パケット
領域の情報に基づいて第2パケット領域の制御情報を第
1メモリ領域から第2メモリ領域に格納し、入力シリア
ルパケットに含まれる第1パケット領域の情報に基づい
て第2パケット領域のデータ情報を第1メモリ領域から
第3メモリ領域に格納し、第3メモリ領域が保有する出
力すべきデータ情報に所定の機能情報を付加して生成し
た出力用シリアルパケットを第4メモリ領域(25B)
に格納する処理を行う制御部(31,32)と、前記第
1乃至第4メモリ領域を定義するレジスタ部とを有す
る。出力すべきデータ情報に付加すべき機能情報は例え
ば第5メモリ領域(25C)から選択してよい。
Focusing on the generation of the output serial packet as well as the processing of the input serial packet, the conversion processing circuit stores the input serial packet in the first memory area and stores the information of the first packet area included in the input serial packet. Based on the information of the first packet area contained in the input serial packet, the control information of the second packet area is stored in the first memory area from the first memory area based on the information of the first packet area. To the third memory area, the output serial packet generated by adding predetermined function information to the data information to be output held in the third memory area is generated in the fourth memory area (25B).
And a register unit that defines the first to fourth memory areas. The function information to be added to the data information to be output may be selected from the fifth memory area (25C), for example.

【0020】前記変換処理回路によれば、CPU(6)
等による前記レジスタ部に対する初期設定内容にしたが
って前記メモリ上で前記第1乃至第4メモリ領域が定義
される。第1乃至第4メモリ領域のマッピングに対して
その一部に何らかの制限を受けることが予想される。例
えば、第3領域はこれに格納された入力シリアルパケッ
トのデータ情報を処理し或は出力シリアルパケットに付
加すべきデータ情報を処理する別の回路にとってバッフ
ァ領域として規定される必要がある場合、当該別の回路
によるアドレスマッピングの要請にしたがって第3メモ
リ領域を決定しなければならないこともある。そのよう
な場合であっても、例えば、第1、第2、第4領域のア
ドレスマッピングは上記制約の下で決定される第3メモ
リ領域のマッピングアドレスを避けて自由に決めればよ
い。要するに、所謂UMA(ユニファイド・メモリ・ア
ーキテクチャ)のように、メモリに複数の異なる機能領
域をフレキシブルにマッピングして利用することが可能
である。
According to the conversion processing circuit, the CPU (6)
The first to fourth memory areas are defined on the memory in accordance with the initial setting contents of the register unit by the above. It is expected that some restrictions will be imposed on a part of the mapping of the first to fourth memory areas. For example, if the third area needs to be defined as a buffer area for another circuit that processes the data information of the input serial packet stored therein or the data information that should be added to the output serial packet, The third memory area may have to be determined according to a request for address mapping by another circuit. Even in such a case, for example, the address mapping of the first, second, and fourth areas may be freely determined by avoiding the mapping address of the third memory area determined under the above constraint. In short, like a so-called UMA (Unified Memory Architecture), it is possible to flexibly map and use a plurality of different functional areas in the memory.

【0021】このようにして第1乃至第4メモリ領域の
アドレスマッピングが決定された状態で、入力されたシ
リアルパケットはメモリ上の第1メモリ領域に順次格納
される。格納時には、メモリに対するアドレス管理単位
(例えばバイト単位のバイトアドレス)にしたがってシリ
アル情報は、例えば8ビット又は16ビット単位に区切
られて第1メモリ領域に格納される。第1メモリ領域に
一時的に格納されたシリアルパケットの情報はそこから
読み出されて例えば8B10Bなどの復号処理やCRC
エラー判定等が施され、パケットフォーマットで規定さ
れた第1パケット領域と第2パケット領域に分離され
る。第1パケット領域はオペレーションコード等の情報
を含み、その解読結果にしたがって、第2パケット領域
の内容が認識され、例えばATA/ATAPI等のパラ
レルATA用のコマンドパケットやデータパケット等へ
の変換処理が実行され、第2メモリ領域には、ATA/
ATAPIタスクファイルレジスタとして、パラメータ
やコマンドなどの制御情報が格納される。第2パケット
領域にデータ情報を含んでいれば第3メモリ領域にその
データ情報が格納される。第2メモリ領域に格納された
制御情報は例えばATA/ATAPIインタフェースが
採用されたDVD−RAMドライブ等のディスクアクセ
ス情報又はドライブ制御情報として利用され、第3メモ
リ領域に格納されたデータ情報はディジタル信号処理回
路で変調されてDVD−RAMドライブ等に対するライ
トデータとして利用される。
With the address mapping of the first to fourth memory areas determined in this way, the input serial packets are sequentially stored in the first memory area on the memory. When storing, address management unit for memory
The serial information is divided into, for example, 8-bit or 16-bit units and stored in the first memory area according to (for example, a byte address in byte units). The information of the serial packet temporarily stored in the first memory area is read from the information and is used for decoding processing such as 8B10B or CRC.
An error determination or the like is performed, and the packet is separated into a first packet area and a second packet area defined by the packet format. The first packet area contains information such as an operation code, and the contents of the second packet area are recognized according to the decoding result, and conversion processing into a command packet or data packet for parallel ATA such as ATA / ATAPI is performed. The second memory area is executed and ATA /
Control information such as parameters and commands is stored as an ATAPI task file register. If the second packet area contains data information, the data information is stored in the third memory area. The control information stored in the second memory area is used as disk access information or drive control information for a DVD-RAM drive adopting an ATA / ATAPI interface, and the data information stored in the third memory area is a digital signal. The data is modulated by the processing circuit and used as write data for a DVD-RAM drive or the like.

【0022】また、出力用シリアルパケットの生成に利
用するデータ情報は例えばCD―ROMやDVD―RA
M等のファーマットデータに対してディジタル信号処理
回路で復調された再生データであり、DVD―RAMド
ライブのディジタル信号処理回路から第3メモリ領域に
格納される。第3メモリ領域のデータ情報には制御情報
若しくは機能情報が付加されて所定のパケットフォーマ
ットを満足するシリアルパケットとして第4メモリ領域
に格納される。第4メモリ領域からリードアクセスされ
たデータはシリアルパケットとしてビットシリアルにホ
スト装置に出力される。
The data information used for generating the output serial packet is, for example, CD-ROM or DVD-RA.
This is reproduction data demodulated by the digital signal processing circuit for format data such as M, and is stored in the third memory area from the digital signal processing circuit of the DVD-RAM drive. Control information or function information is added to the data information in the third memory area and stored in the fourth memory area as a serial packet satisfying a predetermined packet format. The data read-accessed from the fourth memory area is output as a serial packet bit serially to the host device.

【0023】以上の如く、シリアルパケットを構成する
異なった機能情報の格納領域(第1パケット領域、第2
パケット領域の制御情報領域、第2パケット領域のデー
タ情報領域)に対して、メモリに複数の異なる機能領域
をフレキシブルにマッピングし、そこに必要な情報を振
り分けて、シリアルパケットのパラレル変換、即ち、シ
リアルパケットのインタフェースプロトコルを、パラレ
ルパケットのインタフェースプロトコルに変換すること
ができる。
As described above, the storage areas (the first packet area and the second packet area) for storing the different function information constituting the serial packet are provided.
A plurality of different functional areas are flexibly mapped to the memory for the control information area of the packet area and the data information area of the second packet area, and the necessary information is distributed to the functional areas to perform parallel conversion of the serial packet, that is, A serial packet interface protocol can be converted into a parallel packet interface protocol.

【0024】これにより、シリアルパケットとして転送
される情報に対してデータ、コマンド等を認識して抽出
するような処理を、CPUによるソフトウェア処理で行
う場合、転送レートが高速のシリアルパケットを想定す
ると、シリアルパケットは一旦第1メモリ領域にバッフ
ァリングされ、その第1メモリ領域の大きさもフレキシ
ブルに決定できるから、CPUの負荷を増大させ難く、
シリアルパケットのパラレル変換がシステム全体の処理
能力に影響せず、或はシリアル転送の高速化を制限する
ことなく、シリアルパケットのパラレル変換が可能にな
る。
As a result, when the CPU performs software processing to recognize and extract data, commands, etc. from information transferred as a serial packet, assuming a serial packet with a high transfer rate, Since the serial packet is temporarily buffered in the first memory area and the size of the first memory area can be flexibly determined, it is difficult to increase the load on the CPU.
The parallel conversion of serial packets can be performed without affecting the processing capability of the entire system or limiting the speedup of serial transfer.

【0025】上記より、シリアルパケットとして転送さ
れる情報からデータ構造若しくはビット長が相異するデ
ータ、コマンド等を、後処理が便利なように、領域を分
けてメモリに一時的に格納することができる。例えば、
第2メモリ領域及び第3メモリ領域の指定をメモリアク
セス境界の制限を受けないように行っておけば、DVD
−RAMドライブの変調及び復調用のディジタル信号処
理手段はメモリアクセス境界の制限を受けることなくシ
リアルパケットの制御情報やデータ情報をアクセスする
ことができ、データ処理の高速化を実現可能になる。
From the above, data, commands, etc., having different data structures or bit lengths from information transferred as a serial packet can be temporarily stored in the memory in divided areas for convenient post-processing. it can. For example,
If the second memory area and the third memory area are specified without being restricted by the memory access boundary, the DVD
-The digital signal processing means for modulation and demodulation of the RAM drive can access the control information and data information of the serial packet without being restricted by the memory access boundary, and the high speed data processing can be realized.

【0026】上記より、情報記録のための変調処理、記
録情報再生のための復調処理を行うディジタル信号処理
手段としてのコーダ・デコーダ部が用いるワークメモリ
をシリアルパケットに対するパラレル変換等にも利用す
るとき、コーダ・デコーダ部によるそのようなワークメ
モリの利用形態がコーダ・デコーダ部による変調・復調
処理方式に対して最適化若しくは固有化されていても、
そのようなワークメモリをシリアルパケットのパラレル
変換などの他用途にも利用可能な、自由度の高いアドレ
スマッピングを行うことができる。
From the above, when the work memory used by the coder / decoder unit as the digital signal processing means for performing the modulation process for recording information and the demodulation process for reproducing recorded information is also used for parallel conversion of serial packets, etc. , Even if the usage pattern of such a work memory by the coder / decoder unit is optimized or unique to the modulation / demodulation processing method by the coder / decoder unit,
Such work memory can be used for other purposes such as parallel conversion of serial packets, and address mapping with high flexibility can be performed.

【0027】上記により、単独で取り引きされるような
IPモジュールデータを用いて構成されるディジタル信
号処理手段等の他の回路モジュールによるメモリの固定
的な利用形態との間で、アドレスマッピングに関する齟
齬若しくは不整合の発生を未然に防止することが容易で
ある。
As a result of the above, there is a discrepancy in address mapping between the fixed use mode of the memory by another circuit module such as a digital signal processing means configured by using the IP module data which is independently traded, or It is easy to prevent the occurrence of inconsistency.

【0028】〔2〕本発明に係る別の観点による半導体
集積回路は、メモリ(5)を利用して第1パケット領域
(61)及び第2パケット領域(62)を含むシリアル
パケットのパラレル変換が可能な変換処理回路(12)
を有する。
[2] A semiconductor integrated circuit according to another aspect of the present invention uses a memory (5) to perform parallel conversion of a serial packet including a first packet area (61) and a second packet area (62). Possible conversion processing circuit (12)
Have.

【0029】前記変換処理回路は、入力シリアルパケッ
トに対する処理に着目すると、入力シリアルパケットの
格納に割当てられる第1メモリ領域を指定する第1レジ
スタ手段(RegS1,RegE1)と、前記第1メモ
リ領域に格納されたシリアルパケットの第2パケット領
域の制御情報を格納するのに割当てられる第2メモリ領
域を指定する第2レジスタ手段(RegS4,RegE
4)と、前記第1メモリ領域に格納されたシリアルパケ
ットの第2パケット領域のデータ情報を格納する第3メ
モリ領域を指定する第3レジスタ手段(RegS5)
と、前記第1乃至第3レジスタ手段の設定値に応じたメ
モリ領域に前記入力シリアルパケットの情報を格納する
制御を行う制御部(31,32)とを有する。前記制御
部は前記第1パケット領域の情報に基づいてその第2パ
ケット領域の制御情報とデータ情報を区別する。
Focusing on the processing on the input serial packet, the conversion processing circuit stores in the first memory area the first register means (RegS1, RegE1) for designating the first memory area allocated for storing the input serial packet. Second register means (RegS4, RegE) designating a second memory area allocated to store control information of the second packet area of the stored serial packet.
4) and third register means (RegS5) for designating a third memory area for storing data information of the second packet area of the serial packet stored in the first memory area.
And a control unit (31, 32) for controlling to store the information of the input serial packet in the memory area corresponding to the set values of the first to third register means. The control unit distinguishes control information and data information of the second packet area based on the information of the first packet area.

【0030】前記変換処理回路は、入力シリアルパケッ
トに対する処理と共に出力シリアルパケットの生成にも
着目すると、入力シリアルパケットの格納に割当てられ
る第1メモリ領域を指定する第1レジスタ手段(Reg
S1,RegE1)と、前記第1メモリ領域に格納され
たシリアルパケットの第2パケット領域の制御情報を格
納するのに割当てられる第2メモリ領域を指定する第2
レジスタ手段(RegS4,RegE4)と、前記第1
メモリ領域に格納されたシリアルパケットの第2パケッ
ト領域のデータ情報及びシリアルパケットにより出力す
べきデータ情報を格納する第3メモリ領域を指定する第
3レジスタ手段(RegS5)と、出力用シリアルパケ
ットを格納する第4メモリ領域を指定する第4レジスタ
手段(RegS2,RegE2)と、前記第1乃至第4
レジスタ手段による指定に応じたメモリ領域に前記入力
シリアルパケットの情報及び出力シリアルパケットを格
納する制御を行う制御部(31,32)とを有し、前記
制御部は前記第1パケット領域の情報に基づいてその第
2パケット領域の制御情報とデータ情報を区別する。
Focusing on the processing for the input serial packet and the generation of the output serial packet, the conversion processing circuit specifies the first memory means (Reg) for designating the first memory area allocated for storing the input serial packet.
S1, RegE1) and a second memory area that is assigned to store control information for the second packet area of the serial packet stored in the first memory area.
Register means (RegS4, RegE4) and the first
Third register means (RegS5) for designating the third memory area for storing the data information of the second packet area of the serial packet stored in the memory area and the data information to be output by the serial packet, and storing the output serial packet A fourth register means (RegS2, RegE2) for designating a fourth memory area, and the first to fourth
And a control unit (31, 32) for controlling the storage of the input serial packet information and the output serial packet in a memory area corresponding to the designation by the register means, and the control unit stores information in the first packet area. Based on this, the control information and the data information of the second packet area are distinguished.

【0031】この変換処理回路の構成によっても前記
〔1〕と同様に、シリアルパケットを構成する異なった
機能情報の格納領域(第1パケット領域、第2パケット
領域の制御情報領域、第2パケット領域のデータ情報領
域)に対して、メモリに複数の異なる機能領域をフレキ
シブルにマッピングし、そこに必要な情報を振り分け
て、シリアルパケットのパラレル変換若しくはプロトコ
ル変換を行うことができる。
Also according to the configuration of this conversion processing circuit, similarly to the above-mentioned [1], the storage areas (the first packet area, the control information area of the second packet area, and the second packet area) of the different function information which form the serial packet are formed. Data area), a plurality of different functional areas can be flexibly mapped in the memory, and necessary information can be distributed to the parallel functional conversion or protocol conversion of the serial packet.

【0032】前記第1パケット領域は、例えば、シリア
ルパケットのオペレーションコード、第1パケット領域
に後続の情報量を示す情報を含む。
The first packet area includes, for example, an operation code of a serial packet, and information indicating the subsequent information amount in the first packet area.

【0033】前記シリアルパケットとしては、例えばシ
リアルATAPI規格,USB規格、及びIEEE13
94規格等を想定することができる。
As the serial packet, for example, the serial ATAPI standard, the USB standard, and the IEEE13 standard are used.
The 94 standards and the like can be assumed.

【0034】〔3〕上記変換処理回路を採用した半導体
集積回路の設計を容易化するという観点による、コンピ
ュータ読取り可能な記録媒体(71)は、半導体チップ
に形成されるべき半導体集積回路をコンピュータ(7
0)を用いて設計するための回路モジュールデータが前
記コンピュータにより読取り可能に記憶されている。前
記記録媒体に記憶された回路モジュールデータは、第1
パケット領域及び第1パケット領域を含むシリアルパケ
ットのパラレル変換が可能な変換処理回路を前記半導体
チップに形成する為の図形パターンデータ又は機能記述
データを含む。前記変換処理回路は、第1メモリ領域に
入力シリアルパケットを格納し、入力シリアルパケット
に含まれる第1パケット領域の情報に基づいて第2パケ
ット領域の制御情報を第1メモリ領域から第2メモリ領
域に格納し、入力シリアルパケットに含まれる第1パケ
ット領域の情報に基づいて第2パケット領域のデータ情
報を第1メモリ領域から第3メモリ領域に格納する処理
を行う制御部と、前記第1乃至第3メモリ領域を定義す
るレジスタ部とを有する。
[3] From the viewpoint of facilitating the design of a semiconductor integrated circuit that employs the conversion processing circuit, a computer-readable recording medium (71) is a computer-readable recording medium (71) which is a semiconductor integrated circuit to be formed on a semiconductor chip. 7
Circuit module data for designing using 0) is stored so that it can be read by the computer. The circuit module data stored in the recording medium is the first
It includes graphic pattern data or function description data for forming a conversion processing circuit capable of parallel conversion of a serial packet including a packet area and a first packet area on the semiconductor chip. The conversion processing circuit stores the input serial packet in the first memory area, and transfers the control information of the second packet area from the first memory area to the second memory area based on the information of the first packet area included in the input serial packet. And a control unit that stores the data information of the second packet area from the first memory area to the third memory area based on the information of the first packet area included in the input serial packet; And a register unit that defines a third memory area.

【0035】入力シリアルパケットに対する処理と共に
出力シリアルパケットの生成にも着目すると、図形パタ
ーンデータ又は機能記述データが特定することになる前
記変換処理回路は、第1メモリ領域に入力シリアルパケ
ットを格納し、入力シリアルパケットに含まれる第1パ
ケット領域の情報に基づいて第1パケット領域の制御情
報を第1メモリ領域から第2メモリ領域に格納し、入力
シリアルパケットに含まれる第1パケット領域の情報に
基づいて第2パケット領域のデータ情報を第1メモリ領
域から第3メモリ領域に格納し、第3メモリ領域が保有
する出力すべきデータ情報に所定の機能情報を付加して
生成した出力用シリアルパケットを第4メモリ領域に格
納する処理を行う制御部と、前記第1乃至第4メモリ領
域を定義するレジスタ部とを有する。
Focusing on the generation of the output serial packet as well as the processing of the input serial packet, the conversion processing circuit, which is to be specified by the graphic pattern data or the function description data, stores the input serial packet in the first memory area, The control information of the first packet area is stored from the first memory area to the second memory area based on the information of the first packet area included in the input serial packet, and based on the information of the first packet area included in the input serial packet. And stores the data information of the second packet area in the first memory area to the third memory area, and adds the predetermined functional information to the data information to be output held in the third memory area to generate the output serial packet. A control unit that performs a process of storing in the fourth memory area, and a register that defines the first to fourth memory areas. And a data section.

【0036】上記変換処理回路を採用した半導体集積回
路の設計もしくは製造の容易化に寄与するという観点に
よる、更に別のコンピュータ読取り可能な記録媒体(7
1)は、半導体集積回路をコンピュータ(70)を用い
て設計するための回路モジュールデータが前記コンピュ
ータにより読取り可能に記憶されている。前記記録媒体
に記憶された回路モジュールデータは、第1パケット領
域及び第2パケット領域を含むシリアルパケットのパラ
レル変換が可能な変換処理回路を前記半導体チップに形
成する為の図形パターンデータ又は機能記述データを含
む。その変換処理回路は、入力シリアルパケットの格納
に割当てられる第1メモリ領域を指定する第1レジスタ
手段と、前記第1メモリ領域に格納されたシリアルパケ
ットの第2パケット領域の制御情報を格納するのに割当
てられる第2メモリ領域を指定する第2レジスタ手段
と、前記第1メモリ領域に格納されたシリアルパケット
の第2パケット領域のデータ情報を格納する第3メモリ
領域を指定する第3レジスタ手段と、前記第1乃至第3
レジスタ手段の設定値に応じたメモリ領域に前記入力シ
リアルパケットの情報を格納する制御を行う制御部とを
有し、前記制御部は前記第1パケット領域の情報に基づ
いてその第2パケット領域の制御情報とデータ情報を区
別するものである。
Still another computer-readable recording medium (7) from the viewpoint of contributing to facilitation of designing or manufacturing of a semiconductor integrated circuit employing the conversion processing circuit.
In 1), circuit module data for designing a semiconductor integrated circuit using a computer (70) is stored so that it can be read by the computer. The circuit module data stored in the recording medium is graphic pattern data or function description data for forming a conversion processing circuit capable of parallel conversion of a serial packet including a first packet area and a second packet area on the semiconductor chip. including. The conversion processing circuit stores first register means for designating a first memory area allocated for storing an input serial packet, and control information for a second packet area of the serial packet stored in the first memory area. Second register means for designating a second memory area allocated to the first memory area, and third register means for designating a third memory area for storing the data information of the second packet area of the serial packet stored in the first memory area. , The first to third
A control section for controlling the storage of the information of the input serial packet in a memory area corresponding to the set value of the register means, and the control section of the second packet area based on the information of the first packet area. It distinguishes control information from data information.

【0037】入力シリアルパケットに対する処理と共に
出力シリアルパケットの生成にも着目すると、図形パタ
ーンデータ又は機能記述データが特定することになる前
記変換処理回路は、入力シリアルパケットの格納に割当
てられる第1メモリ領域を指定する第1レジスタ手段
と、前記第1メモリ領域に格納されたシリアルパケット
の第2パケット領域の制御情報を格納するのに割当てら
れる第2メモリ領域を指定する第2レジスタ手段と、前
記第1メモリ領域に格納されたシリアルパケットの第2
パケット領域のデータ情報及びシリアルパケットにより
出力すべきデータ情報を格納する第3メモリ領域を指定
する第3レジスタ手段と、出力用シリアルパケットを格
納する第4メモリ領域を指定する第4レジスタ手段と、
前記第1乃至第4レジスタ手段の設定値に応じたメモリ
領域に前記入力シリアルパケットの情報及び出力シリア
ルパケットを格納する制御を行う制御部とを有し、前記
制御部は前記第1パケット領域の情報に基づいてその第
2パケット領域の制御情報とデータ情報を区別するもの
である。
Focusing on the generation of the output serial packet as well as the processing of the input serial packet, the conversion processing circuit which is to be specified by the graphic pattern data or the function description data has the first memory area allocated for storing the input serial packet. First register means for designating a second memory area assigned to store control information of a second packet area of the serial packet stored in the first memory area, and second register means for designating Second serial packet stored in one memory area
Third register means for designating a third memory area for storing data information of the packet area and data information to be output by the serial packet, and fourth register means for designating a fourth memory area for storing the output serial packet,
And a control unit for performing control of storing the information of the input serial packet and the output serial packet in a memory area corresponding to the set values of the first to fourth register means, and the control section stores in the first packet area. The control information and the data information of the second packet area are distinguished based on the information.

【0038】上記記録媒体に格納されて提供される回路
モジュールデータを用いて半導体集積回路の設計を行え
ば、他のIPモジュールデータを用いて構成されるよう
なコーダ・デコーダ等の他の回路モジュールによるメモ
リの固定的な利用形態との間のアドレスマッピングに関
する齟齬若しくは不整合の発生を未然に防止することが
容易になる。したがって、上記変換処理回路を採用した
半導体集積回路の設計を容易化することができる。
If a semiconductor integrated circuit is designed using the circuit module data stored and provided in the recording medium, another circuit module such as a coder / decoder configured by using other IP module data. It becomes easy to prevent the occurrence of a discrepancy or inconsistency in address mapping with the fixed usage mode of the memory. Therefore, it is possible to facilitate the design of a semiconductor integrated circuit that employs the conversion processing circuit.

【0039】[0039]

【発明の実施の形態】図2には本発明に係る半導体集積
回路を適用したDVDドライブの一例が示される。DV
Dドライブ1は、特に制限されないが、DVD−RO
M、DVD−RAM、及びCD−ROM等のディスク3
をアクセス可能とするディスクドライブ装置であり、ホ
スト装置であるパーソナルコンピュータ(単にPCと記
す)2の周辺機器の一つとされる。DVDドライブ1と
PC2との間のデータ伝送にはシリアルATAのような
シリアルパケットを用いたインタフェース仕様が採用さ
れる。
FIG. 2 shows an example of a DVD drive to which the semiconductor integrated circuit according to the present invention is applied. DV
The D drive 1 is not particularly limited, but is a DVD-RO.
Disk 3 such as M, DVD-RAM, and CD-ROM
Is a disk drive device that allows access to the personal computer (PC) and is one of the peripheral devices of a personal computer (simply referred to as a PC) 2 that is a host device. For data transmission between the DVD drive 1 and the PC 2, an interface specification using serial packets such as serial ATA is adopted.

【0040】DVDドライブ1は、特に制限されない
が、それぞれ半導体集積回路化されたディスクコントロ
ーラ4、メモリの一例であるDRAM(ダイナミック・
ランダム・アクセス・メモリ)5、及びマイクロコンピュ
ータ6を備える。更に、リード・ライトヘッド、そのア
クチェータ、及びリード・ライトアンプなどを備えたリ
ード・ライトチャネル7が設けられている。図2ではデ
ィスクモータ等の駆動系及びそのサーボ制御系について
は図示を省略する。マイクロコンピュータ6はCPU
(中央処理装置)、その動作プログラム、CPUのワー
ク領域、及び適宜の入出力回路を備えて構成される。
The DVD drive 1 is not particularly limited, but a disk controller 4 and a DRAM (Dynamic
Random access memory) 5 and microcomputer 6. Further, a read / write channel 7 including a read / write head, an actuator thereof, a read / write amplifier, etc. is provided. In FIG. 2, a drive system such as a disk motor and its servo control system are not shown. The microcomputer 6 is a CPU
(Central processing unit), its operation program, CPU work area, and appropriate input / output circuits.

【0041】ディスクコントローラ4は、特に制限され
ないが、ディスク3からの読取り情報に対する復調処
理、ディスクへ書込む情報の変調処理などのディジタル
信号処理を行うディジタル信号処理部(コーダ・デコー
ダ部若しくはコーデック(CODEC)部)10、PC
2とシリアルケーブル11で接続されたホストインタフ
ェース部12、DRAMコントローラ13、マイコンイ
ンタフェース部14、及びオーディオインタフェース部
15等を備えて、単結晶シリコンなどの1個の半導体基
板(若しくは半導体チップ)に形成される。特に制限さ
れないが、ディジタル信号処理部10は、変調処理用の
ディジタル信号処理プロセッサ手段(DVD−DSP)
16、復調処理用のディジタル信号処理プロセッサ手段
(CD−DSP)17、復調された情報に対する誤り訂
正や同期信号検出等を行うROMデコーダ18を、ハー
ドウェア及びソフトウェアによって実現している。
The disk controller 4 is not particularly limited, but it is a digital signal processing section (coder / decoder section or codec (codec / decoder section) which performs digital signal processing such as demodulation processing for information read from the disk 3 and modulation processing for information written to the disk. CODEC section) 10, PC
2, a host interface unit 12, a DRAM controller 13, a microcomputer interface unit 14, an audio interface unit 15, etc., which are connected to each other by a serial cable 11, and are formed on one semiconductor substrate (or semiconductor chip) such as single crystal silicon. To be done. Although not particularly limited, the digital signal processing unit 10 is a digital signal processor means (DVD-DSP) for modulation processing.
16, a digital signal processor means (CD-DSP) 17 for demodulation processing, and a ROM decoder 18 for performing error correction and sync signal detection on demodulated information are realized by hardware and software.

【0042】前記DRAMコントローラ13は前記ディ
ジタル信号処理部10、ホストインタフェース部12、
マイクロコンピュータ6からのアクセス要求に応答し
て、DRAM5に対するメモリサイクルの起動を制御す
る。DRAM5はディジタル信号処理部10による変調
処理及び復調処理においてワーク領域そしてセクタデー
タ等の一時格納エリアとして、また、ホストインタフェ
ース部12によるシリアルパケットのインタフェース制
御に際してバッファ領域そしてワーク領域として利用さ
れる。
The DRAM controller 13 includes the digital signal processing unit 10, the host interface unit 12,
In response to the access request from the microcomputer 6, activation of a memory cycle for the DRAM 5 is controlled. The DRAM 5 is used as a work area and a temporary storage area for sector data and the like in the modulation processing and demodulation processing by the digital signal processing section 10, and as a buffer area and a work area in the interface control of the serial packet by the host interface section 12.

【0043】図1には前記ホストインタフェース部12
の一例が示される。同図に示されるホストインタフェー
ス部12は、特に制限されないが、シリアルパケットの
入出力に用いるシリアル入力FIFO20及びシリアル
出力FIFO21を有し、また、パラレルATA/AT
APIインタフェースによるパラレル入出力に用いるパ
ラレルATA/ATAPI入出力部22を有する。シリ
アル入力FIFO20及びシリアル出力FIFO21に
よるシリアル入出力とパラレルATA/ATAPI入出
力部22によるパラレル入出力の切換えはマルチプレク
サ(MUX)23で行う。マルチプレクサ23にはプロ
トコル変換部24及びバス46が接続される。プロトコ
ル変換部24の動作は、前記シリアル入出力又はパラレ
ル入出力に対するマルチプレクサ23の切換え動作と共
に、マイクロコンピュータ6からの指示又は外部端子か
らの動作モードの指示に従って決定される。
FIG. 1 shows the host interface unit 12
An example is shown. The host interface unit 12 shown in the figure has a serial input FIFO 20 and a serial output FIFO 21 used for input / output of serial packets, although not particularly limited, and a parallel ATA / AT.
It has a parallel ATA / ATAPI input / output unit 22 used for parallel input / output by an API interface. A multiplexer (MUX) 23 switches between serial input / output by the serial input FIFO 20 and serial output FIFO 21 and parallel input / output by the parallel ATA / ATAPI input / output unit 22. A protocol converter 24 and a bus 46 are connected to the multiplexer 23. The operation of the protocol conversion unit 24 is determined according to an instruction from the microcomputer 6 or an operation mode instruction from an external terminal together with the switching operation of the multiplexer 23 for the serial input / output or the parallel input / output.

【0044】プロトコル変換部24は、前記DRAM5
のプロトコル変換用領域25及びコーデック用領域26
を用いたシリアルパケットのパラレル変換及びシリアル
パケットの生成といったプロトコル変換制御等を行う。
例えば、プロトコル変換制御では、入力したシリアルパ
ケットのバッファリング、バッファリングされたシリア
ルパケットのコマンド解析、シリアルパケットに対する
情報抽出、抽出情報のバッファリング等によってシリア
ルパケットのパラレル変換を行い、また、バッファリン
グされた出力用データ情報の取りこみ、取り込んだデー
タ情報に対する機能情報の付加等によってシリアルパケ
ットの生成を行う。その時のバッファリングや情報抽出
処理に際してプロトコル変換部24は、前記DRAM5
上で任意の領域のデータを任意の別領域に格納する所謂
UMAのような情報記憶処理もしくはメモリエリアのマ
ッピング処理を行う。
The protocol conversion unit 24 uses the DRAM 5
Area for protocol conversion 25 and area for codec 26
Protocol conversion control such as parallel conversion of a serial packet and generation of a serial packet using.
For example, in protocol conversion control, serial packet parallel conversion is performed by buffering the input serial packet, analyzing the buffered serial packet command, extracting information from the serial packet, buffering the extracted information, and buffering the serial packet. A serial packet is generated by taking in the output data information that has been taken in, adding functional information to the taken-in data information, and the like. At the time of buffering or information extraction processing at that time, the protocol conversion unit 24 causes the DRAM 5 to
Information storage processing such as so-called UMA for storing data in an arbitrary area in another arbitrary area or memory area mapping processing is performed above.

【0045】そのような処理を行う前記プロトコル変換
部24は、プロトコル変換のためのプロトコル変換シー
ケンス全体を制御する制御部30と、プロトコル変換時
におけるデータ処理を行うデータ処理部40とに大別さ
れる。
The protocol conversion unit 24 that performs such processing is roughly divided into a control unit 30 that controls the entire protocol conversion sequence for protocol conversion and a data processing unit 40 that performs data processing during protocol conversion. It

【0046】前記制御部30は、前記プロトコル変換制
御のためのシーケンス制御とプロトコル変換用領域25
のアドレスマッピング制御等を行う。この制御部30
は、例えば、プロトコル変換シーケンスを制御するシー
ケンサ31、メモリアクセス時のアクセスアドレスの演
算を行うアドレス演算部32、及びDRAM5における
プロトコル変換用領域25のマッピングを定義するマッ
ピング用レジスタ部33を有する。
The control unit 30 has a sequence control and protocol conversion area 25 for the protocol conversion control.
Address mapping control. This control unit 30
Has a sequencer 31 for controlling a protocol conversion sequence, an address calculation unit 32 for calculating an access address at the time of memory access, and a mapping register unit 33 for defining mapping of the protocol conversion area 25 in the DRAM 5.

【0047】前記データ処理部40は、前記制御部30
によるシーケンス制御とアドレスマッピング制御に基づ
いてシリアルパケットの分解・生成のためのコマンド解
析や情報抽出の操作を行う。このデータ処理部40は、
例えば、プロトコル変換時のデータ格納用入出力FIF
O41、プロトコル変換時における符号化復号処理を行
う符号化・復号部42、シリアル入力データのエラー検
出及びシリアル出力データへのエラーチェックコードの
付加機能を実現するCRC演算部43、シリアルデータ
/パラレルデータ変換時のアライメント操作用のビット
シフト回路44、復号されたシリアル入力データが保有
するオペレーションコードを検出するコード検出部45
を有する。
The data processing section 40 includes the control section 30.
Command analysis and information extraction for disassembling / generating serial packets are performed based on the sequence control and address mapping control. This data processing unit 40
For example, an input / output FIFO for data storage during protocol conversion
O41, encoding / decoding unit 42 that performs encoding / decoding processing during protocol conversion, CRC operation unit 43 that realizes error detection of serial input data and addition of error check code to serial output data, serial data / parallel data A bit shift circuit 44 for alignment operation at the time of conversion, and a code detection unit 45 for detecting an operation code held by the decoded serial input data.
Have.

【0048】図3にはDRAM5のプロトコル変換用領
域25及びコーデック用領域26に対する領域分割の態
様が例示される。
FIG. 3 illustrates a mode of area division for the protocol conversion area 25 and the codec area 26 of the DRAM 5.

【0049】プロトコル変換用領域25は、シリアル入
力データ格納領域(第1メモリ領域)25A、シリアル
出力データ格納領域(第4メモリ領域)25B、シリア
ル出力用固定パターン格納領域(第5メモリ領域)25
C、タスクファイルレジスタ領域(第2メモリ領域)2
5Dに分割される。各領域25A〜25Dは前記マッピ
ング用レジスタ部33のレジスタ設定値にしたがって決
定され、ここでは各領域25A〜25Dは、そのスター
トアドレスレジスタRegS1〜RegS4とエンドア
ドレスレジスタRegS1〜RegE4の設定値によっ
て規定される。前記レジスタRegS1,RegE1は
シリアル入力データ格納領域25Aを指定する第1レジ
スタ手段、前記レジスタRegS4,RegE4は前記
タスクファイルレジスタ領域25Dを指定する第2レジ
スタ手段、前記レジスタRegS2,RegE2はシリ
アル出力データ格納領域25Bを指定する第4レジスタ
手段、前記レジスタRegS3,RegE3はシリアル
出力用固定パターン格納領域を指定する第5レジスタ手
段を構成する。
The protocol conversion area 25 includes a serial input data storage area (first memory area) 25A, a serial output data storage area (fourth memory area) 25B, and a serial output fixed pattern storage area (fifth memory area) 25.
C, task file register area (second memory area) 2
It is divided into 5D. The areas 25A to 25D are determined according to the register setting values of the mapping register section 33, and here, the areas 25A to 25D are defined by the setting values of the start address registers RegS1 to RegS4 and the end address registers RegS1 to RegE4. It The registers RegS1 and RegE1 are first register means for specifying the serial input data storage area 25A, the registers RegS4 and RegE4 are second register means for specifying the task file register area 25D, and the registers RegS2 and RegE2 are serial output data storage areas. The fourth register means for designating the area 25B and the registers RegS3 and RegE3 constitute fifth register means for designating the fixed pattern storage area for serial output.

【0050】前記コーデック用領域26は、特に制限さ
れないが、コーデック部10によって復調処理されるべ
きデータ情報又は変調されたデータ情報がセクタ単位で
格納されるコーデック固有のバッファ領域もしくはワー
ク領域とされ、図には便宜上2セクタ分のデータ情報を
格納可能な2個の領域26A,26Bが確保可能になっ
ている。前記コーデック用領域26に格納されたデータ
情報を復調するときのリード動作、変調されたデータ情
報をコーデック用領域26にライトアクセスするときの
アクセス制御は、特に制限されないが、コーデック部1
0が行う。一方、入力シリアルパケットから切出された
データ情報をコーデック用領域26にライトするアクセ
ス、及びコーデック部10が復調してコーデック用領域
26にライトしたデータ情報のリードアクセスはプロト
コル変換部24が行う。図3の例では、プロトコル変換
部24はコーデック用領域26を規定するためにレジス
タRegS5(第3レジスタ手段)を備える。各領域2
6A,26Bのサイズはデータのセクタサイズから決ま
るシステム上の固定値とされ、この例では特にサイズを
指定するレジスタは図示されていない。
Although not particularly limited, the codec area 26 is a codec-specific buffer area or work area in which data information to be demodulated by the codec section 10 or modulated data information is stored in sector units. For convenience of illustration, two areas 26A and 26B capable of storing data information for two sectors can be secured. The read operation when demodulating the data information stored in the codec area 26 and the access control when the modulated data information is write-accessed to the codec area 26 are not particularly limited, but the codec section 1
0 does. On the other hand, the protocol conversion unit 24 performs an access to write the data information cut out from the input serial packet to the codec area 26 and a read access to the data information demodulated by the codec unit 10 and written to the codec area 26. In the example of FIG. 3, the protocol conversion unit 24 includes a register RegS5 (third register means) for defining the codec area 26. Each area 2
The sizes of 6A and 26B are fixed values on the system which are determined by the sector size of the data, and in this example, the register for specifying the size is not shown.

【0051】特に制限されないが、前記コーデック用領
域26はコーデック部10によるディジタル信号処理ア
ルゴリズム等の要請から最適化されたアドレスマッピン
グが規定され、その空きエリアがプロトコル変換用領域
25として利用可能になる。要するに、元々パラレルA
TA/ATAPIインタフェースでコーデック部10の
ワークメモリ若しくはバッファメモリとして利用されて
いたDRAM5若しくはそのマッピングアドレスの空き
アドレスエリアをシリアルATAインタフェースによる
プロトコル変換に流用しようとするものである。そのよ
うな場合であっても、前記領域25A〜25Dのアドレ
スマッピングは、前記マッピング用レジスタ部33に適
当に値を設定することにより、上記制約の下で決定され
るコーデック用領域26のマッピングアドレスを避けて
自由に決めることができる。したがて、所謂UMA(ユ
ニファイド・メモリ・アーキテクチャ)のように、DR
AM5に複数の異なる機能領域としてプロトコル変換用
領域25をフレキシブルにマッピングして利用すること
が可能になる。
Although not particularly limited, in the codec area 26, an optimized address mapping is defined in accordance with a request such as a digital signal processing algorithm by the codec section 10, and the empty area can be used as the protocol conversion area 25. . In short, originally parallel A
It is intended to use the DRAM 5 used as the work memory or the buffer memory of the codec unit 10 in the TA / ATAPI interface or the empty address area of the mapping address thereof for the protocol conversion by the serial ATA interface. Even in such a case, in the address mapping of the areas 25A to 25D, the mapping address of the codec area 26 determined under the above constraint is set by appropriately setting the value in the mapping register unit 33. You can avoid it and decide freely. Therefore, like so-called UMA (Unified Memory Architecture), DR
It is possible to flexibly use the protocol conversion area 25 as a plurality of different functional areas in the AM 5.

【0052】図4には前記プロトコル変換用領域25及
びコーデック用領域26に対する領域分割の別の態様が
例示される。図4のように2個のコーデック領域26
A,26Bが離隔してマッピングされる場合、その間の
領域にプロトコル変換用領域25の前記各領域25A〜
25Dを配置してもよい。ここではプロトコル変換用領
域25の前記各領域25A〜25Dを定義するのに、ス
タートアドレスレジスタRegS1〜RegS4、領域
の縦サイズを規定するハイトレジスタRegH1〜Re
gH4、領域の横サイズを規定するウィルスレジスタR
egW1〜RegW4を用いる。前記レジスタRegS
1,RegH1,RegW1はシリアル入力データ格納
領域25Aを指定する第1レジスタ手段、前記レジスタ
RegS4,RegH4,RegW4は前記タスクファ
イルレジスタ領域25Dを指定する第2レジスタ手段、
前記レジスタRegS3,RegH3,RegW3はシ
リアル出力データ格納領域25Cを指定する第4レジス
タ手段、前記レジスタRegS2,RegH2,Reg
W2はシリアル出力用固定パターン格納領域を指定する
第5レジスタ手段を構成する。
FIG. 4 illustrates another mode of area division for the protocol conversion area 25 and the codec area 26. Two codec areas 26 as shown in FIG.
When A and 26B are separately mapped, the areas 25A to 25A of the protocol conversion area 25 are included in the area between them.
25D may be arranged. Here, in order to define each of the areas 25A to 25D of the protocol conversion area 25, start address registers RegS1 to RegS4 and height registers RegH1 to Re defining the vertical size of the areas are defined.
gH4, virus register R that defines the lateral size of the area
egW1 to RegW4 are used. The register RegS
1, RegH1, RegW1 are first register means for designating the serial input data storage area 25A, the registers RegS4, RegH4, RegW4 are second register means for designating the task file register area 25D,
The registers RegS3, RegH3, RegW3 are fourth register means for designating the serial output data storage area 25C, the registers RegS2, RegH2, Reg.
W2 constitutes fifth register means for designating a fixed pattern storage area for serial output.

【0053】前記コーデック用領域26の2個の離隔さ
れた領域26A,26Bをそれぞれ規定するためにスタ
ートアドレスレジスタRegS5A,Reg5B(第3
レジスタ手段)を備える。各領域26A,26Bのサイ
ズはデータのセクタサイズから決まるシステム上の固定
値とされ、この例では特に領域サイズを指定するレジス
タは図示されていない。
Start address registers RegS5A and Reg5B (third part) for defining two separated areas 26A and 26B of the codec area 26, respectively.
Register means). The size of each area 26A, 26B is a fixed value on the system determined by the sector size of the data, and in this example, the register for specifying the area size is not shown.

【0054】図4の領域指定手法においても図3と同様
に、前記領域26のアドレスマッピングがコーデック部
10のディジタル信号処理アルゴリズム等による制約の
下で決定されるという事情があっても、コーデック用領
域26のマッピングアドレスを避けてプロトコル変換用
領域25を自由に決めることができる。
In the area designating method of FIG. 4, as in the case of FIG. 3, even if the address mapping of the area 26 is determined under the constraint of the digital signal processing algorithm of the codec section 10 or the like, the codec The protocol conversion area 25 can be freely determined by avoiding the mapping address of the area 26.

【0055】次に、プロトコル変換部24によるシリア
ルパケットのパラレル変換処理の動作を説明する。ここ
では、プロトコル変換用領域25のアドレスマッピング
に図3のマッピングを採用するものとする。
Next, the operation of parallel conversion processing of serial packets by the protocol conversion unit 24 will be described. Here, it is assumed that the mapping of FIG. 3 is adopted as the address mapping of the protocol conversion area 25.

【0056】図5にはシリアルパケットのパラレル変換
処理の動作フローが例示される。ホストインターフェー
ス12に入力されたシリアルパケットPACKETは、
シリアル入力データ用FIFO20、MUX23、メモ
リコントローラ13を経てシリアル入力データ格納領域
25Aに順次先頭から書き込まれる。ライトアドレスの
生成はアドレス演算部32が生成する。図5にはシリア
ル入力データ格納領域25Aが16ビット幅で図示さ
れ、そこに2個のシリアルパケット(シリアル入力パケ
ット1、シリアル入力パケット2)を格納した状態が例
示されている。シリアルパケットPACKETは随時格
納され、パケット情報の格納アドレスが領域25Aの終
了アドレス(エンドアドレス)に達すると、シーケンサ
31はアドレス演算部32に領域25Aのアクセスアド
レスとしてレジスタRegS1のスタートアドレスをリ
ロードすることにより、再びシリアル入力データ格納領
域25Aの先頭アドレスからシリアル入力データを格納
する。
FIG. 5 illustrates an operation flow of parallel conversion processing of serial packets. The serial packet PACKET input to the host interface 12 is
Data is sequentially written from the beginning in the serial input data storage area 25A via the serial input data FIFO 20, the MUX 23, and the memory controller 13. The write address is generated by the address calculation unit 32. In FIG. 5, the serial input data storage area 25A is illustrated with a 16-bit width, and a state in which two serial packets (serial input packet 1 and serial input packet 2) are stored therein is illustrated. The serial packet PACKET is stored at any time, and when the storage address of the packet information reaches the end address (end address) of the area 25A, the sequencer 31 reloads the start address of the register RegS1 as the access address of the area 25A to the address calculation unit 32. Thus, the serial input data is stored again from the head address of the serial input data storage area 25A.

【0057】領域25Aにシリアルパケットが格納開始
されると、これをトリガーとして、プロトコル変換部2
4のシーケンサ31は、領域25Aの開始アドレスから
順次データを読み出し、データ処理部40の入出力FI
FO41に送る。入出力FIFO41に内部転送された
データは符号化されたままのシリアルパケットの情報D
ATA1である。符号化・復号部42はそのシリアルパ
ケット情報を例えば8B10B変換により復号する(S
1)。DATA2は復号されたシリアルパケット情報を
意味する。次に、復号されたシリアルパケット情報DA
TA2は、CRC演算部43に入力され、シリアルパケ
ットの転送エラー検出処理が行われる(S2)。DAT
A3はCRCエラー検出・訂正処理を経たシリアルパケ
ット情報を意味する。
When the serial packet starts to be stored in the area 25A, the protocol conversion unit 2 is triggered by this.
The sequencer 31 of No. 4 sequentially reads the data from the start address of the area 25A, and inputs / outputs the FI of the data processing unit 40.
Send to FO41. The data internally transferred to the input / output FIFO 41 is the information D of the serial packet which remains encoded.
It is ATA1. The encoding / decoding unit 42 decodes the serial packet information by, for example, 8B10B conversion (S
1). DATA2 means the decoded serial packet information. Next, the decrypted serial packet information DA
TA2 is input to the CRC calculation unit 43, and serial packet transfer error detection processing is performed (S2). DAT
A3 means serial packet information that has undergone CRC error detection / correction processing.

【0058】シリアルパケット情報DATA3は、第1
パケット領域61、第2パケット領域62及びCRC領
域63を有する。第1パケット領域61はシリアルパケ
ットのオペレーションコード(コード)、フラグ、第1
パケット領域の後続データ量を示す転送語数データ等を
保有する。第2パケット領域62はデータ情報と制御情
報を保有する。データ情報は例えばディスクへのライト
データ等である。制御情報はディスクアクセス動作を特
定するコマンドやファイル名などのアクセス制御情報で
あり、タスクファイルレジスタへの設定情報に相当す
る。
The serial packet information DATA3 is the first
It has a packet area 61, a second packet area 62 and a CRC area 63. The first packet area 61 is a serial packet operation code (code), flag, first
It holds transfer word number data indicating the amount of subsequent data in the packet area. The second packet area 62 holds data information and control information. The data information is, for example, write data to the disc. The control information is access control information such as a command specifying a disk access operation or a file name, and corresponds to setting information for the task file register.

【0059】前記シリアルパケット情報DATA3は前
記コード検出部45に入力され、オペレーションコード
が解読され、その解読結果に応ずる制御動作がシーケン
サ31に指示され、ヘッダとしての第1パケット領域6
1のその他の情報がシーケンサ31及びアドレス演算部
32に内部転送される(S3)。
The serial packet information DATA3 is input to the code detecting section 45, the operation code is decoded, the control operation according to the decoding result is instructed to the sequencer 31, and the first packet area 6 as a header.
Other information of 1 is internally transferred to the sequencer 31 and the address calculation unit 32 (S3).

【0060】シーケンサ31は、オペレーションコード
によって決定されたシーケンスを実行するため、ヘッダ
ー構造を解析する。解析する内容は、転送データおよび
タスクファイルレジスタ設定値等の第2パケット領域が
保有するデータ位置及びデータ数の把握等である。この
ヘッダ構造の解析により、第2パケット領域の情報はビ
ットシフト回路44に入力され、その情報の先頭がバイ
トアドレスの境界に来るように、データアライメント
(データシフト動作)が行なわれる(S4)。アライメ
ントされた第2パケット領域のデータ情報である転送デ
ータ情報及び/又は第2パケット領域の制御情報である
タスクファイルレジスタ設定値情報は入出力FIFO4
1に一時的に保持される(S5)。FIFO41に一時
的に保持された制御情報はDRAM5のタスクファイル
レジスタ領域25Dに格納され(S6)、ディスクへの
書込みデータとしてのデータ情報はコーデック用領域2
6に格納される(S7)。この時の格納先アドレスは、
シーケンサ31がアドレス演算部32にマッピング用レ
ジスタ部33の設定値を参照させて、制御される。
The sequencer 31 analyzes the header structure to execute the sequence determined by the operation code. The contents to be analyzed include grasping the data position and the number of data held in the second packet area such as the transfer data and the task file register set value. By analyzing the header structure, the information in the second packet area is input to the bit shift circuit 44, and data alignment (data shift operation) is performed so that the head of the information comes to the boundary of the byte address (S4). The transfer data information which is the data information of the aligned second packet area and / or the task file register setting value information which is the control information of the second packet area is the input / output FIFO 4
It is temporarily held at 1 (S5). The control information temporarily held in the FIFO 41 is stored in the task file register area 25D of the DRAM 5 (S6), and the data information as the write data to the disk is the codec area 2
6 (S7). The storage address at this time is
The sequencer 31 controls the address calculation unit 32 by referring to the set value of the mapping register unit 33.

【0061】上記シリアルパケットのパラレル変換処理
により、図6に示されるように、入力されたシリアルパ
ケットに対して復号されたシリアルパケットに含まれる
データ情報はコーデック用領域26Aに、制御情報はタ
スクファイルレジスタ領域25Dに格納される。格納さ
れた状態は、パラレルATA/ATAPIインタフェー
スで入力されて蓄えられたデータフォーマットと等価で
ある。前記タスクファイルレジスタ領域25Dに格納さ
れたパラメータやコマンドなどの制御情報は例えばAT
A/ATAPIインタフェースが採用されたDVD−R
AMドライブ等のディスクアクセス情報又はドライブ制
御情報として利用され、コーデック用領域26Aに格納
されたデータ情報はコーデック部10で変調されてDV
D−RAMドライブ等に対するライトデータとして利用
される。
By the parallel conversion processing of the serial packet, as shown in FIG. 6, the data information included in the serial packet decoded with respect to the input serial packet is stored in the codec area 26A, and the control information is stored in the task file. It is stored in the register area 25D. The stored state is equivalent to the data format input and stored by the parallel ATA / ATAPI interface. The control information such as parameters and commands stored in the task file register area 25D is AT
DVD-R with A / ATAPI interface
The data information that is used as disk access information or drive control information for the AM drive and that is stored in the codec area 26A is modulated by the codec unit 10 and then DV.
It is used as write data for a D-RAM drive or the like.

【0062】次に、シリアルパケットの出力処理につい
て説明する。ここでは、プロトコル変換用領域25のア
ドレスマッピングとして図3のマッピングを採用するも
のとする。
Next, a serial packet output process will be described. Here, the mapping of FIG. 3 is adopted as the address mapping of the protocol conversion area 25.

【0063】図7にはシリアルパケットの出力処理フロ
ーが例示される。PC(ホスト装置)2へのデータリー
ドコマンドが発行された場合、シーケンサ31はマイコ
ンインタフェース部14を介して、マイクロコンピュー
タ6にコーデック部10を介してディスクからの読取り
データに対する復調要求を発行する。コーデック部10
はディスクからの読取りデータに対して復調を行い、復
調されたデータ情報はDRAMコントローラ13を介し
てコーデック用領域26に格納される。このデータ情報
に付随すべきパラメータなどの制御情報はタスクファイ
ルレジスタ領域25Dに格納される。コーデック用領域
26又は/及びタスクファイルレジスタ領域25Dへの
転送データ格納終了信号をトリガーとして、プロトコル
変換部24のシーケンサ31が、アドレス演算部32を
利用して、コーデック用領域26又は/及びタスクファ
イルレジスタ領域25Dから順次データ情報又は/及び
制御情報を読み出し、プロトコル変換部24内の入出力
FIFO41に一時的に格納する。FIFO41に格納
された情報DATA11は第2パケット領域62を構成
すべき情報とされる。入出力FIFO41に格納された
データ情報又は/及び制御情報は、ビットシフト回路4
4に入力されてアライメントされる(S11)。更に、
シリアル出力用固定パターン格納領域25Cから読み出
した、シリアルパケット用の機能情報がヘッダー情報と
して第1パケット領域61に付加される(S12)。D
ATA12は符号化前のシリアルパケットの情報におけ
る第1パケット領域61及び第2パケット領域62の情
報である。次に、前記ヘッダ部とデータ情報部に転送エ
ラーチェックコード(CRCコード)を付加するため
に、それら情報がCRC演算部43に入力され、シリア
ルパケットの最後にCRCコードが付加される(S1
3)。CRCコードが付加されたシリアルパケットの情
報DATA13は、符号化復号部42で、8B10B符
号処理が行なわれ(S14)、符号化された情報がシリ
アル出力データDATA14として出力FIFO41に
一旦格納され、DRAMコントローラ13を介して、シ
リアル出力データ格納領域25Bに転送される(S1
5)。シリアル出力データ格納領域25Bに格納された
シリアルパケットは、マルチプレクサ23、シリアル出
力データ用FIFO21を介してシリアル出力ポートか
らPC2に転送される(S16)。
FIG. 7 illustrates a serial packet output processing flow. When a data read command to the PC (host device) 2 is issued, the sequencer 31 issues a demodulation request for the data read from the disc via the microcomputer interface section 14 and the microcomputer 6 via the codec section 10. Codec section 10
Performs demodulation on the data read from the disk, and the demodulated data information is stored in the codec area 26 via the DRAM controller 13. Control information such as parameters that should accompany this data information is stored in the task file register area 25D. The sequencer 31 of the protocol converter 24 uses the address calculator 32 to trigger the codec area 26 and / or the task file register area 25D using the transfer data storage end signal as a trigger. Data information and / or control information is sequentially read from the register area 25D and temporarily stored in the input / output FIFO 41 in the protocol conversion unit 24. The information DATA11 stored in the FIFO 41 is the information that should form the second packet area 62. The data information and / or control information stored in the input / output FIFO 41 is transferred to the bit shift circuit 4
It is input to 4 and is aligned (S11). Furthermore,
The function information for the serial packet read from the fixed pattern storage area for serial output 25C is added to the first packet area 61 as header information (S12). D
The ATA 12 is information of the first packet area 61 and the second packet area 62 in the information of the serial packet before encoding. Next, in order to add a transfer error check code (CRC code) to the header section and the data information section, the information is input to the CRC calculation section 43, and the CRC code is added to the end of the serial packet (S1).
3). The data DATA13 of the serial packet to which the CRC code is added is subjected to 8B10B code processing in the encoding / decoding unit 42 (S14), the encoded information is temporarily stored in the output FIFO 41 as the serial output data DATA14, and the DRAM controller 13 is transferred to the serial output data storage area 25B via S13 (S1
5). The serial packet stored in the serial output data storage area 25B is transferred from the serial output port to the PC 2 via the multiplexer 23 and the serial output data FIFO 21 (S16).

【0064】上記シリアルパケットへの変換処理によ
り、図8に示されるように、ディスクから読取られて復
調されてコーディック用領域26Aに格納されたデータ
情報、タスクファイルレジスタ領域25Dに格納された
制御情報は、領域25Cからのシリアル出力用固定パタ
ーンが付加され、シリアル出力データ格納領域25Bに
一時的に保持される。保持さた情報はシリアルパケット
のデータフォーマットと等価である。要するに、パラレ
ルATA/ATAPIの転送データがシリアルパケット
に変換される。前記シリアル出力データ格納領域25B
に保持されたシリアルパケットはPC2へ出力される。
By the conversion processing into the serial packet, as shown in FIG. 8, the data information read from the disk and demodulated and stored in the codec area 26A, the control information stored in the task file register area 25D. Is added with the fixed pattern for serial output from the area 25C and is temporarily held in the serial output data storage area 25B. The information held is equivalent to the data format of the serial packet. In short, the parallel ATA / ATAPI transfer data is converted into a serial packet. Serial output data storage area 25B
The serial packet held in is output to PC2.

【0065】尚、パラレルATA/ATAPI入出力部
22を介するインタフェースを選択する場合には、上記
制御動作におけるシリアルパケットのパラレル変換、パ
ラレル情報のシリアル変換に係る処理を省略してインタ
フェース動作させればよく、その詳細については説明を
省略する。
When selecting an interface via the parallel ATA / ATAPI input / output unit 22, the interface operation may be performed by omitting the processes related to parallel conversion of serial packets and serial conversion of parallel information in the above control operation. Of course, the detailed description is omitted.

【0066】次に、上述の半導体集積回路化されたディ
スクコントローラ4の設計を容易化するという観点よ
り、上述した回路モジュール12の設計データ若しくは
ディスクコントローラ4それ自体の設計データを、所謂
IPモジュールとして提供することについて説明する。
Next, from the viewpoint of facilitating the design of the disk controller 4 which is made into a semiconductor integrated circuit, the design data of the circuit module 12 or the design data of the disk controller 4 itself is used as a so-called IP module. Describe what to offer.

【0067】IPモジュールとして提供する回路モジュ
ールデータは、少なくとも前記ディスクコントローラ1
2を前記半導体チップに形成する為の図形パターンデー
タ若しくはHDL(ハードウェア・ディスクリプション
・ランゲージ)やRTL(レジスタ・トランスファ・ロ
ジック)などによる機能記述データを含む。図形パター
ンデータは、マスクパターンデータ或いは電子線描画デ
ータなどである。機能記述データは、所謂プログラムデ
ータであり、所定の設計ツールに読み込むことによって
シンボル表示で回路等を特定する事ができる。
The circuit module data provided as the IP module is at least the disk controller 1
2 includes graphic pattern data for forming 2 on the semiconductor chip or function description data by HDL (hardware description language) or RTL (register transfer logic). The figure pattern data is mask pattern data or electron beam drawing data. The function description data is so-called program data, and a circuit or the like can be specified by symbol display by reading it into a predetermined design tool.

【0068】また、IPモジュールの規模は図1に例示
されるディスクコントローラ4のようなLSIレベルで
あってもよい。
Further, the scale of the IP module may be at the LSI level like the disk controller 4 illustrated in FIG.

【0069】それらIPモジュールのデータは、図9に
例示されるように、半導体チップに形成されるべき集積
回路を設計ツールのようなコンピュータ70を用いて設
計するためのデータであって、前記コンピュータ70に
より読取り可能にCD−ROM、DVD−ROM、磁気
テープなどの記録媒体71に記憶されて提供される。例
え図1のホストインタフェース部12に対応されるハー
ドIPモジュールのデータは、前記ホストインタフェー
ス部12を構成する為のマスクパターンデータD1、そ
のホストインタフェース部12の機能記述データD2、
及び当該ホストインタフェース部12のIPモジュール
のデータを適用してLSIを設計したとき、その他のモ
ジュールとの関係を考慮したシミュレーションを可能に
したりする為の検証用データD3を有する。
The data of the IP modules is data for designing an integrated circuit to be formed on a semiconductor chip by using a computer 70 such as a design tool as illustrated in FIG. It is provided by being stored in a recording medium 71 such as a CD-ROM, a DVD-ROM, or a magnetic tape so that it can be read by the device 70. For example, the data of the hard IP module corresponding to the host interface unit 12 of FIG. 1 is the mask pattern data D1 for configuring the host interface unit 12, the function description data D2 of the host interface unit 12,
Also, when the LSI is designed by applying the data of the IP module of the host interface unit 12, it has verification data D3 for enabling a simulation in consideration of the relationship with other modules.

【0070】上記記録媒体71に格納されて提供される
ホストインタフェース部12の回路モジュールデータを
用いて半導体集積回路の設計を行えば、他のIPモジュ
ールデータを用いて構成されるようなコーデック部10
等の他の回路モジュールによるメモリの固定的な利用形
態との間のアドレスマッピングに関する齟齬若しくは不
整合の発生を未然に防止することが容易になる。詳しく
説明すると、コーデック部10のIPモジュールデータ
は基本的にそれ固有の機能を実現し、その機能の一つと
してワークエリアとしてのRAMの利用形態が最適化さ
れて決まっている場合が多い。そのようなとき、他のI
Pモジュールもそれ固有の機能による独自の論理でワー
クRAMに対する利用形態が固定的に決定されているな
ら、相互に同一アドレスエリアに対するRAMアクセス
が衝突する事態を避けられない。このとき、ホストイン
タフェースモジュール12のIPモージュールデータは
プロトコル変換用領域25のアドレスマッピングをフレ
キシブルに決定できる機能が保証されている。したがっ
て、上記ホストインタフェースモジュール12を採用し
た半導体集積回路の設計を容易化することができる。
If the semiconductor integrated circuit is designed by using the circuit module data of the host interface unit 12 stored and provided in the recording medium 71, the codec unit 10 configured by using other IP module data.
It is easy to prevent the occurrence of a discrepancy or inconsistency in address mapping with the fixed usage pattern of the memory by another circuit module such as. More specifically, the IP module data of the codec section 10 basically realizes its own function, and in many cases, the usage pattern of the RAM as a work area is optimized and determined. In such a case, I
If the usage pattern for the work RAM of the P module is fixedly determined by its own logic based on its unique function, it is inevitable that RAM accesses to the same address area will collide with each other. At this time, the IP module data of the host interface module 12 is guaranteed to have a function of flexibly determining the address mapping of the protocol conversion area 25. Therefore, it is possible to facilitate the design of a semiconductor integrated circuit that employs the host interface module 12.

【0071】以上説明したシリアルパケットとパラレル
ATA/ATAPIとの間のデータ構造変換によれば、
所謂UMA方式によって管理するメモリ5上に、データ
構造の異なる情報をフレキシブルに格納可能であり、デ
ータ構造の変換機能を有するプロトコル変換部24によ
り、メモリアクセス境界の制限を受けることな高速なデ
ータ構造変換もしくはプロトコル変換を実現することが
できる。
According to the data structure conversion between the serial packet and the parallel ATA / ATAPI described above,
A high-speed data structure that can flexibly store information having a different data structure on the memory 5 managed by the so-called UMA method and is not restricted by a memory access boundary by the protocol conversion unit 24 having a data structure conversion function. Conversion or protocol conversion can be realized.

【0072】シリアルとパラレル間のデータ構造変換
は、RAM5のデータを制御部30の制御に基づいてデ
ータ処理部40で処理することにより実現されるから、
処理ルーチンの変更、暗号処理回路等の追加等により、
他のシリアルインターフェースプロトコルとパラレルA
TA/ATAPIインタフェースとの間のデータ構造も
しくはプロトコル変換機能を実装することが可能であ
る。
Since the data structure conversion between serial and parallel is realized by processing the data in the RAM 5 by the data processing unit 40 under the control of the control unit 30,
By changing the processing routine, adding a cryptographic processing circuit, etc.,
Parallel A with other serial interface protocols
It is possible to implement a data structure or protocol conversion function with the TA / ATAPI interface.

【0073】所謂UMA方式のプロトコル変換用メモリ
領域とデコード用メモリ領域双方からのデータを外部シ
リアルパケットインターフェースのプロトコルに成形す
る機能を有するため、IPモジュールによって構成され
る他モジュールとの間のメモリエリアの利用に関する整
合性を図るのが容易になる。
Since it has a function of shaping the data from both the so-called UMA type protocol conversion memory area and the decoding memory area into the protocol of the external serial packet interface, it is a memory area with another module configured by the IP module. It becomes easier to achieve consistency regarding the use of.

【0074】以上本発明者によってなされた発明を実施
形態に基づいて具体的に説明したが、本発明はそれに限
定されるものではなく、その要旨を逸脱しない範囲にお
いて種々変更可能であることは言うまでもない。
Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited thereto, and needless to say, various modifications can be made without departing from the scope of the invention. Yes.

【0075】例えば、シリアルパケットに含まれるデー
タ情報と制御情報は別々のシリアルパケットで転送され
る場合もある。パラレルATA/ATAPIによる入出
力切換え機能については採用しなくてもよい。
For example, the data information and control information contained in the serial packet may be transferred in separate serial packets. The input / output switching function by parallel ATA / ATAPI need not be adopted.

【0076】また、ホストインタフェース部12をオン
チップした半導体集積回路は、図1の構成に限定され
ず、DRAM5をオンチップし、また、マイクロコンピ
ュータ6もしくはCPUをオンチップしてもよい。
The semiconductor integrated circuit in which the host interface section 12 is on-chip is not limited to the configuration of FIG. 1, and the DRAM 5 may be on-chip, or the microcomputer 6 or the CPU may be on-chip.

【0077】また、シリアルパケットのパラレル変換に
用いるシリアル入力データ格納領域やタスクファイルレ
ジスタ領域などのメモリ上におけるマッピングは上記の
例に限定されず適宜変更可能である。そのような用途の
メモリはDRAMに限定されずSRAMであってもよ
い。DRAMの場合には当然クロック同期動作タイプの
シンクロナスDRAMを採用するのが得策である。
The mapping on the memory such as the serial input data storage area and the task file register area used for parallel conversion of the serial packet is not limited to the above example and can be changed as appropriate. The memory for such an application is not limited to DRAM and may be SRAM. In the case of DRAM, it is naturally a good idea to adopt a clock synchronous operation type synchronous DRAM.

【0078】また、IPモジュールデータはソフトウェ
アIPモジュールデータであってもよい。即ち、図9の
マスクパターンデータD1を除いて、機能記述データD
2及び検証用データD3によって構成されるところの設
計データである。
The IP module data may be software IP module data. That is, except for the mask pattern data D1 of FIG. 9, the function description data D
2 and design data D3.

【0079】本発明はDVDドライブだけでなく、CD
−ROM、CD−RW(コンパクト・ディスク−レライ
タブル)、MO(磁器・光学)の各ディスクドライブ等
にも広く適用することが可能である。更に、本発明はデ
ィスクドライブ以外のシリアルインタフェースにも広く
適用することができる。
The present invention is applicable not only to a DVD drive but also to a CD
The present invention can be widely applied to ROM, CD-RW (compact disc-rewritable), MO (porcelain / optical) disc drives, and the like. Furthermore, the present invention can be widely applied to serial interfaces other than disk drives.

【0080】[0080]

【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば下記
の通りである。
The effects obtained by the typical ones of the inventions disclosed in the present application will be briefly described as follows.

【0081】すなわち、シリアルパケットを構成する異
なった機能情報の格納領域(第1パケット領域、第2パ
ケット領域の制御情報領域、第2パケット領域のデータ
情報領域)に対して、メモリに複数の異なる機能領域を
フレキシブルにマッピングし、そこに必要な情報を振り
分けて、シリアルパケットのパラレル変換、即ち、シリ
アルパケットのインタフェースプロトコルを、パラレル
パケットのインタフェースプロトコルに変換することが
できる。
That is, a plurality of different storage areas (first packet area, control information area of second packet area, data information area of second packet area) of different function information forming a serial packet are stored in the memory. It is possible to flexibly map the functional area and distribute the necessary information to the parallel conversion of the serial packet, that is, the interface protocol of the serial packet to the interface protocol of the parallel packet.

【0082】これにより、シリアルパケットとして転送
される情報に対してデータ、コマンド等を認識して抽出
するような処理を、CPUによるソフトウェア処理で行
う場合、転送レートが高速のシリアルパケットを想定す
ると、シリアルパケットは一旦第1メモリ領域にバッフ
ァリングされ、その第1メモリ領域の大きさもフレキシ
ブルに決定できるから、CPUの負荷を増大させ難く、
シリアルパケットのパラレル変換がシステム全体の処理
能力に影響せず、或はシリアル転送の高速化を制限する
ことなく、シリアルパケットのパラレル変換が可能にな
る。
As a result, when the CPU performs software processing for recognizing and extracting data, commands, etc. from information transferred as a serial packet, assuming a serial packet with a high transfer rate, Since the serial packet is temporarily buffered in the first memory area and the size of the first memory area can be flexibly determined, it is difficult to increase the load on the CPU.
The parallel conversion of serial packets can be performed without affecting the processing capability of the entire system or limiting the speedup of serial transfer.

【0083】上記より、シリアルパケットとして転送さ
れる情報からデータ構造若しくはビット長が相異するデ
ータ、コマンド等を、後処理が便利なように、領域を分
けてメモリに一時的に格納することができる。
From the above, data, commands, etc., having different data structures or bit lengths from information transferred as a serial packet can be temporarily stored in the memory in divided areas for convenient post-processing. it can.

【0084】上記より、情報記録のための変調処理、記
録情報再生のための復調処理を行うディジタル信号処理
手段が用いるワークメモリをシリアルパケットに対する
パラレル変換等にも利用するとき、ディジタル信号処理
手段によるそのようなワークメモリの利用形態がディジ
タル信号処理手段による変調・復調処理方式に対して最
適化若しくは固有化されていても、そのようなワークメ
モリをシリアルパケットのパラレル変換などの他用途に
も利用可能な自由度の高いアドレスマッピングを行うこ
とができる。
As described above, when the work memory used by the digital signal processing means for performing the modulation processing for recording information and the demodulation processing for reproducing recorded information is also used for parallel conversion of serial packets, the digital signal processing means Even if the usage pattern of such a work memory is optimized or specific to the modulation / demodulation processing method by the digital signal processing means, such a work memory is also used for other purposes such as parallel conversion of serial packets. It is possible to perform address mapping with a high degree of freedom.

【0085】上記により、IPモジュールデータを用い
て構成されるようなディジタル信号処理手段等の他の回
路モジュールによるメモリの固定的な利用形態との間の
アドレスマッピングに関する齟齬若しくは不整合の発生
を未然に防止することが容易である。したがって、上記
記録媒体に格納されて提供される回路モジュールデータ
を用いて半導体集積回路の設計を行えば、上記変換処理
回路を採用した半導体集積回路の設計を容易化すること
ができる。
As described above, a discrepancy or inconsistency in the address mapping with the fixed use form of the memory by the other circuit module such as the digital signal processing means configured by using the IP module data is caused. It is easy to prevent. Therefore, if the semiconductor integrated circuit is designed using the circuit module data stored and provided in the recording medium, the design of the semiconductor integrated circuit using the conversion processing circuit can be facilitated.

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

【図1】本発明に係る半導体集積回路に含まれるホスト
インタフェース部の一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a host interface unit included in a semiconductor integrated circuit according to the present invention.

【図2】本発明に係る半導体集積回路を適用したDVD
ドライブの一例を示すブロック図である。
FIG. 2 is a DVD to which the semiconductor integrated circuit according to the present invention is applied.
It is a block diagram showing an example of a drive.

【図3】DRAMのプロトコル変換用領域及びコーデッ
ク用領域の領域分割マッピング例を示す説明図である。
FIG. 3 is an explanatory diagram showing an example of area division mapping of a protocol conversion area and a codec area of a DRAM.

【図4】プロトコル変換用領域及びコーデック用領域の
領域分割マッピングの別の例を示す説明図である。
FIG. 4 is an explanatory diagram showing another example of area division mapping of a protocol conversion area and a codec area.

【図5】シリアルパケットのパラレル変換処理の動作フ
ローを例示する説明図である。
FIG. 5 is an explanatory diagram illustrating an operation flow of parallel conversion processing of a serial packet.

【図6】シリアルパケットのパラレル変換処理により得
られるデータ情報がコーデック用領域に、制御情報がタ
スクファイルレジスタ領域に格納された状態を示す説明
図である。
FIG. 6 is an explanatory diagram showing a state in which data information obtained by parallel conversion processing of a serial packet is stored in a codec area and control information is stored in a task file register area.

【図7】シリアルパケットの出力処理フローを例示する
説明図である。
FIG. 7 is an explanatory diagram illustrating an output processing flow of a serial packet.

【図8】シリアルパケットへの変換処理により得られる
コーディック用領域に格納されたデータ情報、タスクフ
ァイルレジスタ領域に格納された制御データに、シリア
ル出力用固定パターンが付加されて、シリアル出力デー
タ格納領域に一時的に保持される状態を示す説明図であ
る。
FIG. 8 is a serial output data storage area in which a fixed pattern for serial output is added to the data information stored in the codec area and the control data stored in the task file register area obtained by the conversion processing into a serial packet. It is explanatory drawing which shows the state hold | maintained temporarily.

【図9】IPモジュールデータの一例を集積回路の設計
ツールのようなコンピュータと共に示した説明図であ
る。
FIG. 9 is an explanatory diagram showing an example of IP module data together with a computer such as an integrated circuit design tool.

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

1 DVDドライブ 2 ホスト装置 4 ディスクコントローラ 5 DRAM 6 マイクロコンピュータ 10 ディジタル信号処理部 12 ホストインタフェース部 13 DRAMコントローラ 14 マイコンインタフェース 24 プロトコル変換部 25 プロトコル変換用領域 25A シリアル入力データ格納領域 25B シリアル出力データ格納領域 25C シリアル出力用固定パターン格納領域 25D タスクファイルレジスタ領域 26 コーデック用領域 26A,26B コーデック用領域 30 制御部 31 シーケンサ 32 アドレス演算部 33 マッピング用レジスタ部 RegS1〜RegS4 プロトコル変換用領域のスタ
ートアドレスレジスタ RegE1〜RegE4 プロトコル変換用領域のエン
ドアドレスレジスタ RegH1〜RegH4 プロトコル変換用領域のハイ
トレジスタ RegW1〜RegW4 プロトコル変換用領域のウィ
ルスレジスタ RegS5 コーデック用領域のスタートアドレスレジ
スタ RegS5A,RegS5B コーデック用領域のスタ
ートアドレスレジスタ 40 データ処理部 41 入出力FIFO 42 符号化・復号部 43 CRC演算部 44 ビットシフト回路 45 コード検出部 46 バス
1 DVD Drive 2 Host Device 4 Disk Controller 5 DRAM 6 Microcomputer 10 Digital Signal Processor 12 Host Interface 13 DRAM Controller 14 Microcomputer Interface 24 Protocol Converter 25 Protocol Conversion Area 25A Serial Input Data Storage Area 25B Serial Output Data Storage Area 25C Serial output fixed pattern storage area 25D Task file register area 26 Codec areas 26A, 26B Codec area 30 Control section 31 Sequencer 32 Address operation section 33 Mapping register section RegS1 to RegS4 Start address register RegE1 to protocol conversion area RegE4 protocol conversion area end address register RegH1 to RegH4 protocol conversion Area height register RegW1 to RegW4 Protocol conversion area virus register RegS5 Codec area start address register RegS5A, RegS5B Codec area start address register 40 Data processing unit 41 Input / output FIFO 42 Encoding / decoding unit 43 CRC calculation Section 44 Bit shift circuit 45 Code detection section 46 Bus

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04L 12/56 H04L 12/56 Z (72)発明者 松田 圭介 東京都小平市上水本町5丁目22番1号 株 式会社日立超エル・エス・アイ・システム ズ内 (72)発明者 高田 一幸 東京都小平市上水本町5丁目22番1号 株 式会社日立超エル・エス・アイ・システム ズ内 (72)発明者 宇都 明博 東京都小平市上水本町5丁目22番1号 株 式会社日立超エル・エス・アイ・システム ズ内 Fターム(参考) 5B060 AC19 CA17 5B061 AA00 FF04 GG02 5B065 CA18 CC08 CE04 CE15 5B077 NN02 NN07 5K030 GA01 HA08 KA01 KA02 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) H04L 12/56 H04L 12/56 Z (72) Inventor Keisuke Matsuda 5-22 No. 22, Kamimizumoto-cho, Kodaira-shi, Tokyo No. 1 within Hitachi Super L.S.I. Systems Co., Ltd. (72) Inventor Kazuyuki Takada 5-22-1 Kamimizuhoncho, Kodaira-shi, Tokyo Within Hitachi Super L.S.I. Systems Co., Ltd. (72) Inventor Akihiro Utsu 5-22-1, Kamisuihonmachi, Kodaira-shi, Tokyo F-term in Hitachi Super LSI Systems Inc. (reference) 5B060 AC19 CA17 5B061 AA00 FF04 GG02 5B065 CA18 CC08 CE04 CE15 5B077 NN02 NN07 5K030 GA01 HA08 KA01 KA02

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】 メモリを利用して第1パケット領域及び
第2パケット領域を含むシリアルパケットのパラレル変
換が可能な変換処理回路を有し、 前記変換処理回路は、第1メモリ領域に入力シリアルパ
ケットを格納し、入力シリアルパケットに含まれる第1
パケット領域の情報に基づいて第2パケット領域の制御
情報を第1メモリ領域から第2メモリ領域に格納し、入
力シリアルパケットに含まれる第1パケット領域の情報
に基づいて第2パケット領域のデータ情報を第1メモリ
領域から第3メモリ領域に格納する処理を行う制御部
と、前記メモリ上に第1乃至第3メモリ領域を定義する
レジスタ部と、を有して成るものであることを特徴とす
る半導体集積回路。
1. A conversion processing circuit capable of performing parallel conversion of a serial packet including a first packet area and a second packet area using a memory, wherein the conversion processing circuit inputs an input serial packet to the first memory area. First stored in the input serial packet
The control information of the second packet area is stored from the first memory area to the second memory area based on the information of the packet area, and the data information of the second packet area is stored based on the information of the first packet area included in the input serial packet. And a register unit that defines first to third memory areas on the memory, and a control unit that stores the data from the first memory area to the third memory area. Integrated semiconductor circuit.
【請求項2】 メモリを利用して第1パケット領域及び
第2パケット領域を含むシリアルパケットのパラレル変
換及びシリアルパケットの生成が可能な変換処理回路を
有し、 前記変換処理回路は、第1メモリ領域に入力シリアルパ
ケットを格納し、入力シリアルパケットに含まれる第1
パケット領域の情報に基づいて第2パケット領域の制御
情報を第1メモリ領域から第2メモリ領域に格納し、入
力シリアルパケットに含まれる第1パケット領域の情報
に基づいて第2パケット領域のデータ情報を第1メモリ
領域から第3メモリ領域に格納し、第3メモリ領域が保
有する出力すべきデータ情報に所定の機能情報を付加し
て生成した出力用シリアルパケットを第4メモリ領域に
格納する処理を行う制御部と、前記メモリ上に第1乃至
第4メモリ領域を定義するレジスタ部と、を有して成る
ものであることを特徴とする半導体集積回路。
2. A conversion processing circuit capable of parallel conversion of a serial packet including a first packet area and a second packet area and generation of a serial packet using a memory, wherein the conversion processing circuit is a first memory. The input serial packet is stored in the area, and the first serial packet included in the input serial packet
The control information of the second packet area is stored from the first memory area to the second memory area based on the information of the packet area, and the data information of the second packet area is stored based on the information of the first packet area included in the input serial packet. Is stored from the first memory area to the third memory area, and the output serial packet generated by adding predetermined function information to the data information to be output held in the third memory area is stored in the fourth memory area. 2. A semiconductor integrated circuit, comprising: a control unit for performing the above; and a register unit that defines first to fourth memory areas on the memory.
【請求項3】 前記制御部は、第3メモリ領域が保有す
る出力すべきデータ情報に付加すべき機能情報を第5メ
モリ領域から選択することを特徴とする請求項2記載の
半導体集積回路。
3. The semiconductor integrated circuit according to claim 2, wherein the control section selects, from the fifth memory area, the function information to be added to the data information to be output held in the third memory area.
【請求項4】 前記第1パケット領域は、シリアルパケ
ットのオペレーションコードと、第1パケット領域に後
続の情報量を示す情報とを含むことを特徴とする請求項
1又は2記載の半導体集積回路。
4. The semiconductor integrated circuit according to claim 1, wherein the first packet area includes an operation code of a serial packet and information indicating a subsequent information amount in the first packet area.
【請求項5】 前記レジスタ部にメモリ領域定義用の情
報を初期設定可能なCPUを接続可能なCPUインタフ
ェースを有して成るものであることを特徴とする請求項
4記載の半導体集積回路。
5. The semiconductor integrated circuit according to claim 4, wherein the register unit has a CPU interface to which a CPU capable of initializing information for defining a memory area can be connected.
【請求項6】 前記レジスタ部にメモリ領域定義用の情
報を初期設定するCPUを有して成るものであることを
特徴とする請求項4記載の半導体集積回路。
6. The semiconductor integrated circuit according to claim 4, further comprising a CPU that initializes information for defining a memory area in the register section.
【請求項7】 前記メモリを有して成るものであること
を特徴とする請求項4記載の半導体集積回路。
7. The semiconductor integrated circuit according to claim 4, comprising the memory.
【請求項8】 メモリを利用して第1パケット領域及び
第2パケット領域を含むシリアルパケットのパラレル変
換が可能な変換処理回路を有し、 前記変換処理回路は、入力シリアルパケットの格納に割
当てられる第1メモリ領域を指定する第1レジスタ手段
と、前記第1メモリ領域に格納されたシリアルパケット
の第2パケット領域の制御情報を格納するのに割当てら
れる第2メモリ領域を指定する第2レジスタ手段と、前
記第1メモリ領域に格納されたシリアルパケットの第2
パケット領域のデータ情報を格納する第3メモリ領域を
指定する第3レジスタ手段と、前記第1乃至第3レジス
タ手段の設定値に応じたメモリ領域に前記入力シリアル
パケットの情報を格納する制御を行う制御部とを有し、
前記制御部は前記第1パケット領域の情報に基づいてそ
の第2パケット領域の制御情報とデータ情報を区別する
ものであることを特徴とする半導体集積回路。
8. A conversion processing circuit capable of parallel conversion of a serial packet including a first packet area and a second packet area using a memory, wherein the conversion processing circuit is assigned to store an input serial packet. First register means for designating a first memory area and second register means for designating a second memory area assigned to store control information of a second packet area of a serial packet stored in the first memory area. And a second serial packet stored in the first memory area.
Third register means for designating a third memory area for storing the data information of the packet area, and control for storing the information of the input serial packet in the memory area according to the set values of the first to third register means are performed. Has a control unit,
The semiconductor integrated circuit, wherein the control unit distinguishes control information and data information of the second packet area based on the information of the first packet area.
【請求項9】 メモリを利用して第1パケット領域及び
第2パケット領域を含むシリアルパケットのパラレル変
換及びシリアルパケットの生成が可能な変換処理回路を
有する半導体集積回路であって、 前記変換処理回路は、入力シリアルパケットの格納に割
当てられる第1メモリ領域を指定する第1レジスタ手段
と、前記第1メモリ領域に格納されたシリアルパケット
の第2パケット領域の制御情報を格納するのに割当てら
れる第2メモリ領域を指定する第2レジスタ手段と、前
記第1メモリ領域に格納されたシリアルパケットの第2
パケット領域のデータ情報及びシリアルパケットにより
出力すべきデータ情報を格納する第3メモリ領域を指定
する第3レジスタ手段と、出力用シリアルパケットを格
納する第4メモリ領域を指定する第4レジスタ手段と、
前記第1乃至第4レジスタ手段による指定に応じたメモ
リ領域に前記入力シリアルパケットの情報及び出力シリ
アルパケットを格納する制御を行う制御部とを有し、前
記制御部は前記第1パケット領域の情報に基づいてその
第2パケット領域の制御情報とデータ情報を区別するも
のであることを特徴とする半導体集積回路。
9. A semiconductor integrated circuit having a conversion processing circuit capable of parallel conversion of a serial packet including a first packet area and a second packet area and generation of a serial packet using a memory, wherein the conversion processing circuit. Is a first register means for designating a first memory area allocated for storing an input serial packet, and a first register means allocated for storing control information of a second packet area of the serial packet stored in said first memory area. Second register means for designating two memory areas and a second serial packet stored in the first memory area
Third register means for designating a third memory area for storing data information of the packet area and data information to be output by the serial packet, and fourth register means for designating a fourth memory area for storing the output serial packet,
A control section for controlling the storage of the input serial packet information and the output serial packet in a memory area designated by the first to fourth register means, and the control section controls the information of the first packet area. The semiconductor integrated circuit is characterized in that the control information and the data information of the second packet area are distinguished based on the above.
【請求項10】 前記第1パケット領域は、シリアルパ
ケットのオペレーションコード、第1パケット領域に後
続の情報量を示す情報を含むことを特徴とする請求項8
又は9記載の半導体集積回路。
10. The first packet area includes an operation code of a serial packet and information indicating a subsequent information amount in the first packet area.
Alternatively, the semiconductor integrated circuit according to item 9.
【請求項11】 前記シリアルパケットはシリアルAT
API規格,USB規格、及びIEEE1394規格の
中の一つの規格に準拠することを特徴とする請求項8又
は9記載の半導体集積回路。
11. The serial packet is a serial AT
10. The semiconductor integrated circuit according to claim 8, which complies with one of the API standard, the USB standard, and the IEEE 1394 standard.
【請求項12】 記録ディスクに対する情報の記録再生
に利用されるディジタル信号処理手段を有し、前記ディ
ジタル信号処理手段は前記第1メモリ領域から前記第3
メモリ領域に格納された入力シリアルパケットのデータ
情報を変調し、シリアルパケットにより出力すべき情報
として前記第3メモリ領域に格納すべきデータ情報を復
調処理するものであることを特徴とする請求項9記載の
半導体集積回路。
12. A digital signal processing means used for recording / reproducing information to / from a recording disk, wherein the digital signal processing means extends from the first memory area to the third area.
10. The data information of the input serial packet stored in the memory area is modulated, and the data information to be stored in the third memory area as information to be output by the serial packet is demodulated. The semiconductor integrated circuit described.
【請求項13】 半導体チップに形成されるべき半導体
集積回路をコンピュータを用いて設計するための回路モ
ジュールデータが前記コンピュータにより読取り可能に
記憶された記録媒体であって、前記記録媒体に記憶され
た回路モジュールデータは、第1パケット領域及び第1
パケット領域を含むシリアルパケットのパラレル変換が
可能な変換処理回路を前記半導体チップに形成する為の
図形パターンデータ又は機能記述データを含み、 前記変換処理回路は、第1メモリ領域に入力シリアルパ
ケットを格納し、入力シリアルパケットに含まれる第1
パケット領域の情報に基づいて第2パケット領域の制御
情報を第1メモリ領域から第2メモリ領域に格納し、入
力シリアルパケットに含まれる第1パケット領域の情報
に基づいて第2パケット領域のデータ情報を第1メモリ
領域から第3メモリ領域に格納する処理を行う制御部
と、前記第1乃至第3メモリ領域を定義するレジスタ部
とを有するものであることを特徴とするコンピュータ読
取り可能な記録媒体。
13. A recording medium in which circuit module data for designing a semiconductor integrated circuit to be formed on a semiconductor chip by using a computer is stored so as to be readable by the computer and stored in the recording medium. The circuit module data includes a first packet area and a first packet area.
The conversion processing circuit stores graphic pattern data or function description data for forming a conversion processing circuit capable of parallel conversion of a serial packet including a packet area in the semiconductor chip, and the conversion processing circuit stores an input serial packet in a first memory area. The first contained in the input serial packet
The control information of the second packet area is stored from the first memory area to the second memory area based on the information of the packet area, and the data information of the second packet area is stored based on the information of the first packet area included in the input serial packet. A computer-readable recording medium, comprising: a control unit that performs a process of storing the data from the first memory area to the third memory area; and a register unit that defines the first to third memory areas. .
【請求項14】 半導体チップに形成されるべき半導体
集積回路をコンピュータを用いて設計するための回路モ
ジュールデータが前記コンピュータにより読取り可能に
記憶された記録媒体であって、前記記録媒体に記憶され
た回路モジュールデータは、第1パケット領域及び第2
パケット領域を含むシリアルパケットのパラレル変換及
びシリアルパケットの生成が可能な変換処理回路を前記
半導体チップに形成する為の図形パターンデータ又は機
能記述データを含み、 前記変換処理回路は、第1メモリ領域に入力シリアルパ
ケットを格納し、入力シリアルパケットに含まれる第1
パケット領域の情報に基づいて第1パケット領域の制御
情報を第1メモリ領域から第2メモリ領域に格納し、入
力シリアルパケットに含まれる第1パケット領域の情報
に基づいて第2パケット領域のデータ情報を第1メモリ
領域から第3メモリ領域に格納し、第3メモリ領域が保
有する出力すべきデータ情報に所定の機能情報を付加し
て生成した出力用シリアルパケットを第4メモリ領域に
格納する処理を行う制御部と、前記第1乃至第4メモリ
領域を定義するレジスタ部とを有するものであることを
特徴とするコンピュータ読取り可能な記録媒体。
14. A recording medium in which circuit module data for designing a semiconductor integrated circuit to be formed on a semiconductor chip by using a computer is stored so as to be readable by the computer and stored in the recording medium. The circuit module data includes the first packet area and the second packet area.
The semiconductor chip includes graphic pattern data or function description data for forming a conversion processing circuit capable of parallel conversion of serial packets and generation of serial packets including a packet area in the first memory area. The first serial packet that stores the input serial packet and is included in the input serial packet
The control information of the first packet area is stored in the second memory area from the first memory area based on the information of the packet area, and the data information of the second packet area is stored based on the information of the first packet area included in the input serial packet. Is stored in the third memory area from the first memory area, and the output serial packet generated by adding predetermined function information to the data information to be output held in the third memory area is stored in the fourth memory area. A computer-readable recording medium comprising: a control unit for performing the above; and a register unit that defines the first to fourth memory areas.
【請求項15】 半導体チップに形成されるべき半導体
集積回路をコンピュータを用いて設計するための回路モ
ジュールデータが前記コンピュータにより読取り可能に
記憶された記録媒体であって、前記記録媒体に記憶され
た回路モジュールデータは、第1パケット領域及び第2
パケット領域を含むシリアルパケットのパラレル変換が
可能な変換処理回路を前記半導体チップに形成する為の
図形パターンデータ又は機能記述データを含み、 前記変換処理回路は、入力シリアルパケットの格納に割
当てられる第1メモリ領域を指定する第1レジスタ手段
と、前記第1メモリ領域に格納されたシリアルパケット
の第2パケット領域の制御情報を格納するのに割当てら
れる第2メモリ領域を指定する第2レジスタ手段と、前
記第1メモリ領域に格納されたシリアルパケットの第2
パケット領域のデータ情報を格納する第3メモリ領域を
指定する第3レジスタ手段と、前記第1乃至第3レジス
タ手段の設定値に応じたメモリ領域に前記入力シリアル
パケットの情報を格納する制御を行う制御部とを有し、
前記制御部は前記第1パケット領域の情報に基づいてそ
の第2パケット領域の制御情報とデータ情報を区別する
ものであることを特徴とするコンピュータ読取り可能な
記録媒体。
15. A recording medium in which circuit module data for designing a semiconductor integrated circuit to be formed on a semiconductor chip by using a computer is stored so as to be readable by the computer and stored in the recording medium. The circuit module data includes the first packet area and the second packet area.
A first conversion processing circuit that includes graphic pattern data or function description data for forming a conversion processing circuit capable of parallel conversion of a serial packet including a packet area on the semiconductor chip, wherein the conversion processing circuit is assigned to store an input serial packet; First register means for specifying a memory area, and second register means for specifying a second memory area allocated to store control information of a second packet area of the serial packet stored in the first memory area, The second of the serial packets stored in the first memory area
Third register means for designating a third memory area for storing the data information of the packet area, and control for storing the information of the input serial packet in the memory area according to the set values of the first to third register means are performed. Has a control unit,
The computer-readable recording medium, wherein the control unit distinguishes the control information and the data information of the second packet area based on the information of the first packet area.
【請求項16】 半導体チップに形成されるべき半導体
集積回路をコンピュータを用いて設計するための回路モ
ジュールデータが前記コンピュータにより読取り可能に
記憶された記録媒体であって、前記記録媒体に記憶され
た回路モジュールデータは、第1パケット領域及び第2
パケット領域を含むシリアルパケットのパラレル変換及
びシリアルパケットの生成が可能な変換処理回路を前記
半導体チップに形成する為の図形パターンデータ又は機
能記述データを含み、 前記変換処理回路は、入力シリアルパケットの格納に割
当てられる第1メモリ領域を指定する第1レジスタ手段
と、前記第1メモリ領域に格納されたシリアルパケット
の第2パケット領域の制御情報を格納するのに割当てら
れる第2メモリ領域を指定する第2レジスタ手段と、前
記第1メモリ領域に格納されたシリアルパケットの第2
パケット領域のデータ情報及びシリアルパケットにより
出力すべきデータ情報を格納する第3メモリ領域を指定
する第3レジスタ手段と、出力用シリアルパケットを格
納する第4メモリ領域を指定する第4レジスタ手段と、
前記第1乃至第4レジスタ手段の設定値に応じたメモリ
領域に前記入力シリアルパケットの情報及び出力シリア
ルパケットを格納する制御を行う制御部とを有し、前記
制御部は前記第1パケット領域の情報に基づいてその第
2パケット領域の制御情報とデータ情報を区別するもの
であることを特徴とするコンピュータ読取り可能な記録
媒体。
16. A recording medium in which circuit module data for designing a semiconductor integrated circuit to be formed on a semiconductor chip by using a computer is stored so as to be readable by the computer and stored in the recording medium. The circuit module data includes the first packet area and the second packet area.
The conversion processing circuit includes graphic pattern data or function description data for forming a conversion processing circuit capable of performing parallel conversion of a serial packet including a packet area and generation of a serial packet on the semiconductor chip, and the conversion processing circuit stores an input serial packet. Register means for designating a first memory area allocated to the first memory area, and second memory area for designating control information of the second packet area of the serial packet stored in the first memory area. A second register means and a second serial packet stored in the first memory area.
Third register means for designating a third memory area for storing data information of the packet area and data information to be output by the serial packet, and fourth register means for designating a fourth memory area for storing the output serial packet,
And a control unit for performing control of storing the information of the input serial packet and the output serial packet in a memory area corresponding to the set values of the first to fourth register means, and the control section stores in the first packet area. A computer-readable recording medium characterized by distinguishing control information and data information of the second packet area based on information.
【請求項17】 前記シリアルパケットはシリアルAT
API規格,USB規格、及びIEEE1394規格の
中の一つの規格に準拠することを特徴とする請求項13
乃至16の何れか1項記載のコンピュータ読取り可能な
記録媒体。
17. The serial packet is a serial AT
14. Compliant with one of the API standard, the USB standard, and the IEEE 1394 standard.
17. The computer-readable recording medium according to any one of 1 to 16.
JP2001192202A 2001-06-26 2001-06-26 Semiconductor integrated circuit and computer-readable recording medium Withdrawn JP2003006144A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2001192202A JP2003006144A (en) 2001-06-26 2001-06-26 Semiconductor integrated circuit and computer-readable recording medium
TW91111488A TWI221223B (en) 2001-06-26 2002-05-29 Semiconductor integrated circuit and computer readable recording media
PCT/JP2002/006194 WO2003001387A1 (en) 2001-06-26 2002-06-21 Semiconductor integrated circuit and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001192202A JP2003006144A (en) 2001-06-26 2001-06-26 Semiconductor integrated circuit and computer-readable recording medium

Publications (1)

Publication Number Publication Date
JP2003006144A true JP2003006144A (en) 2003-01-10

Family

ID=19030690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001192202A Withdrawn JP2003006144A (en) 2001-06-26 2001-06-26 Semiconductor integrated circuit and computer-readable recording medium

Country Status (3)

Country Link
JP (1) JP2003006144A (en)
TW (1) TWI221223B (en)
WO (1) WO2003001387A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7511636B2 (en) 2006-08-30 2009-03-31 Ricoh Company, Ltd. Data conversion unit, data conversion method, and electronic apparatus using the data conversion unit
JP2010092493A (en) * 2009-11-24 2010-04-22 Toshiba Storage Device Corp Interface device and packet transfer method
US7818479B2 (en) 2003-09-26 2010-10-19 Toshiba Storage Device Corporation Interface apparatus and packet transfer method
US10061515B2 (en) 2014-09-11 2018-08-28 Toshiba Memory Corporation Information processing apparatus and memory system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5170469A (en) * 1987-05-06 1992-12-08 Fujitsu Ten Limited Data transfer apparatus and data transfer system
JPH01186034A (en) * 1988-01-20 1989-07-25 Nec Corp Communication equipment connecting system in on-line system
JPH04281645A (en) * 1991-03-09 1992-10-07 Mita Ind Co Ltd Communication method between cpus
JPH07169200A (en) * 1993-12-10 1995-07-04 Hitachi Ltd Reproducing device for digital information signal
JP4533478B2 (en) * 1998-09-25 2010-09-01 株式会社東芝 Ultrasonic diagnostic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7818479B2 (en) 2003-09-26 2010-10-19 Toshiba Storage Device Corporation Interface apparatus and packet transfer method
US7511636B2 (en) 2006-08-30 2009-03-31 Ricoh Company, Ltd. Data conversion unit, data conversion method, and electronic apparatus using the data conversion unit
JP2010092493A (en) * 2009-11-24 2010-04-22 Toshiba Storage Device Corp Interface device and packet transfer method
US10061515B2 (en) 2014-09-11 2018-08-28 Toshiba Memory Corporation Information processing apparatus and memory system

Also Published As

Publication number Publication date
WO2003001387A1 (en) 2003-01-03
TWI221223B (en) 2004-09-21

Similar Documents

Publication Publication Date Title
US6633933B1 (en) Controller for ATAPI mode operation and ATAPI driven universal serial bus mode operation and methods for making the same
US6363211B1 (en) Data recording apparatus and method, data reproducing apparatus and method, data recording/reproducing apparatus and method, and transmission medium
KR100270594B1 (en) Cd-rom reproducing device and method for controlling the same
EP1389760B1 (en) Data transfer control system, program and data transfer control method
US6466736B1 (en) Integrated DVD/CD controller
JP2002518743A (en) Minimal frame buffer manager for use with data recorders
EP0689208A1 (en) Method for block oriented addressing
JP2001160026A (en) Conversion unit and usb-corresponding equipment provided with the same
JP4531146B2 (en) Controller for recordable compact disc, computer system and method for recording a signal representing a set of signal data on a CD-R disc
JP2003006144A (en) Semiconductor integrated circuit and computer-readable recording medium
KR100843199B1 (en) High speed IDE interface device and method for the same
US20020156943A1 (en) Command issuing apparatus for high-speed serial interface
JP4576082B2 (en) Memory card controller and memory card control method
KR100464788B1 (en) apparatus and method for high-speed storage
US20060020751A1 (en) Medium storage device, cache segment switching method for medium storage device, and medium storage system
JP4194583B2 (en) Data storage device
US6813667B2 (en) Bus extender and formatter apparatus and methods
JP4787162B2 (en) Interruptible format processing
JP3176885B2 (en) Information playback device
KR100621375B1 (en) Combination Control System Using 3-State Transceiver
JP2000357372A (en) Semiconductor integrated circuit and control system
KR101137835B1 (en) Optical disc drive capable of changing mode and mode-changing method
JP2004102405A (en) Memory card controller
JP4395095B2 (en) Transport stream playback device
JPH03189719A (en) Disk control lsi, storage device and information processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060124

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20080527