[go: up one dir, main page]

CN100353351C - Signal encoding method for reducing serial ATA split physical layer pin count - Google Patents

Signal encoding method for reducing serial ATA split physical layer pin count Download PDF

Info

Publication number
CN100353351C
CN100353351C CNB2004100833153A CN200410083315A CN100353351C CN 100353351 C CN100353351 C CN 100353351C CN B2004100833153 A CNB2004100833153 A CN B2004100833153A CN 200410083315 A CN200410083315 A CN 200410083315A CN 100353351 C CN100353351 C CN 100353351C
Authority
CN
China
Prior art keywords
signal
physical layer
control signal
storage medium
serial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CNB2004100833153A
Other languages
Chinese (zh)
Other versions
CN1591381A (en
Inventor
江晋毅
王泽贤
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.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2004100833153A priority Critical patent/CN100353351C/en
Publication of CN1591381A publication Critical patent/CN1591381A/en
Application granted granted Critical
Publication of CN100353351C publication Critical patent/CN100353351C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention relates to a signal coding method capable of reducing the pin number of a tandem ATA separated entity layer, which is characterized by comprising the following steps: a status signal encoder and a control signal decoder are arranged in the serial ATA separating entity layer, wherein the status signal encoder is connected with the storage medium controller through a parallel signal receiving line, the control signal decoder is connected with the storage medium controller through a parallel signal transmitting line, when data signals are transmitted among the status signal encoder, the control signal decoder and the storage medium controller, the control signals from the storage medium controller are encoded in the data signals by the control signal encoder at the storage medium controller end and decoded by the control signal decoder, and the ready status from the serial ATA separating entity layer is encoded in the data signals by the status signal encoder, thereby reducing the connected pins.

Description

可减少串列式ATA分离式实体层脚位数的讯号编码方法Signal encoding method for reducing serial ATA split physical layer pin count

技术领域technical field

本发明是涉及一种ATA介面的电路构造讯号编码方法,特别是一种可减少串列式ATA分离式实体层脚位数的讯号编码方法。The present invention relates to a signal encoding method of circuit structure of ATA interface, in particular to a signal encoding method capable of reducing the number of serial ATA separation physical layer pins.

背景技术Background technique

近年来,由于资讯相关产业的高度发展以及人们对资讯产品运算及传输速度的要求日益增加,使得业者不断致力于各种传输介面规格的开发,就储存介面而言,由最早传输速率16MBps的ATA(Advanced TechnologyAttachment)介面,经不断的改良而产生传输速率33MBps(mega byte persecond)的ATA33介面、传输速率66MBps的ATA66介面,乃至于ATA100及ATA133等介面规格,但由于上述的介面规格是以并列(parallel)式的资料传输方式传输,不仅传输所需的讯号线数量较多,杂讯干扰较大,传输线的长度受较大的限制,而其传输速率的提升亦较为困难。In recent years, due to the high development of information-related industries and people's increasing requirements for computing and transmission speeds of information products, the industry has been continuously devoting itself to the development of various transmission interface specifications. As far as storage interfaces are concerned, the earliest transmission rate is 16MBps ATA (Advanced Technology Attachment) interface, through continuous improvement, the ATA33 interface with a transmission rate of 33MBps (mega byte per second), the ATA66 interface with a transmission rate of 66MBps, and even the interface specifications such as ATA100 and ATA133, but because the above-mentioned interface specifications are parallel ( Parallel) data transmission mode transmission, not only the number of signal lines required for transmission is large, but the noise interference is large, the length of the transmission line is greatly limited, and it is difficult to increase the transmission rate.

近来,由于各方业者不断的尝试开发,终于有串列(serial)式ATA介面规格面世,不仅使传输速率一举提升到第一代的1.5Gbps(giga bitper second)以上,将来第二代的3.0Gbps与第三代的6.0Gbps也是指日可期,且其资料的传输只需四条讯号线,而其讯号线的长度也可大幅加长,实是一重大突破。Recently, due to the continuous attempts and development of various companies, the serial ATA interface specification has finally been released, which not only increases the transmission rate to more than 1.5Gbps (giga bitper second) of the first generation, but also the 3.0 of the second generation in the future. Gbps and the third-generation 6.0Gbps are just around the corner, and the transmission of data only needs four signal lines, and the length of the signal lines can be greatly increased, which is a major breakthrough.

然而,目前串列式ATA介面规格的产品仍处于开发阶段,市面上仍以并列式ATA产品为主流,为了兼顾扩充性与适用性,业者于电脑系统的设计上仍以同时支援两种介面规格为主。However, the current serial ATA interface specification products are still in the development stage, and parallel ATA products are still the mainstream in the market. In order to take into account the scalability and applicability, the industry still supports two interface specifications at the same time in the design of the computer system Mainly.

部分业者采取的解决方案是如图1所示,其主要是于其主控制芯片12(如南桥芯片)的储存媒体控制器121内增设一串列式ATA实体层(physical layer PHY)123,藉由该串列式ATA实体层123而可连接一串列式ATA装置16(如串列式ATA硬盘),而该储存媒体控制器121则通过一IDE汇流排14而连接一并列式ATA装置18(如并列式ATA硬盘)。如此的架构虽可同时支援串列式ATA装置及并列式ATA装置,然而,串列式ATA实体层123因以高频模拟电路为主,需占用较大的面积,欲将其整合到主控制芯片12中,将导致主控制芯片12的面积过大,且其制作生产的合格率难以控制。The solution adopted by some industry players is as shown in FIG. 1 , which is mainly to add a serial ATA physical layer (physical layer PHY) 123 in the storage media controller 121 of its main control chip 12 (such as the south bridge chip), A Serial ATA device 16 (such as a Serial ATA hard disk) can be connected through the Serial ATA physical layer 123, and the storage media controller 121 is connected to a Parallel ATA device through an IDE bus 14 18 (such as parallel ATA hard disk). Although such a structure can support serial ATA devices and parallel ATA devices at the same time, however, the serial ATA physical layer 123 needs to occupy a relatively large area because it is mainly composed of high-frequency analog circuits, and it is desired to integrate it into the main control In the chip 12, the area of the main control chip 12 will be too large, and the yield rate of its manufacture and production is difficult to control.

因此,如何针对上述习用电路架构的缺点,以及使用时所发生的问题提出一种新颖的解决方案,设计出一种简单有效的电路构造,不仅可减少连接所需的脚位,且可确保主控制芯片的合格率,有效降低成本,长久以来一直是使用者殷切盼望及本发明人欲行解决的困难点所在,而本发明人基于多年从事于资讯产业的相关研究、开发、及销售的实务经验,思及改良的意念,经多方设计、探讨、试作样品及改良后,终于研究出一种可减少串列式ATA分离式实体层介面讯号数的电路构造及讯号编码方法,以解决上述的问题。Therefore, how to propose a novel solution to the shortcomings of the above-mentioned conventional circuit architecture and the problems that occur during use, and design a simple and effective circuit structure, which can not only reduce the number of pins required for connection, but also ensure that the main Controlling the pass rate of chips and effectively reducing costs has long been the difficulty that users have longed for and that the inventor wants to solve. Based on years of experience in research, development, and sales in the information industry, the inventor Experience, thinking and improvement ideas, after many designs, discussions, trial samples and improvements, finally researched a circuit structure and signal encoding method that can reduce the number of serial ATA split physical layer interface signals, in order to solve the above The problem.

发明内容Contents of the invention

本发明所要解决的技术问题是,针对现有技术的上述不足,而提供一种不仅可减少连接所需的脚位,且可确保主控制芯片的合格率,有效降低成本的可减少串列式ATA分离式实体层介面讯号数的讯号编码方法。The technical problem to be solved by the present invention is to provide a tandem type that can not only reduce the number of pins required for connection, but also ensure the pass rate of the main control chip and effectively reduce the cost. The signal encoding method of the ATA split physical layer interface signal number.

本发明的上述技术问题是由如下技术方案来实现的。The above technical problems of the present invention are achieved by the following technical solutions.

一种可减少串列式ATA分离式实体层介面讯号数的电路构造,其特征是包含有:A circuit structure capable of reducing the number of serial ATA split physical layer interface signals, characterized by comprising:

一并列串列转换器,包含一并列转串列的转换器及一串列转并列的转换器,分别利用一组并列讯号发送线及一组并列讯接收线连接至一储存媒体控制器,用以将来自储存媒体控制器的并列讯号转换为串列讯号,及将串列讯号转换为并列讯号而传送至该储存媒体控制器;A parallel-to-serial converter, including a parallel-to-serial converter and a serial-to-parallel converter, is respectively connected to a storage media controller by using a set of parallel signal sending lines and a set of parallel signal receiving lines for to convert the parallel signal from the storage medium controller into a serial signal, and convert the serial signal into a parallel signal for transmission to the storage medium controller;

一锁相回路,包含一连接所述并列转串列的转换器的发送锁相回路及一连接所述串列转并列的转换器的接收锁相回路,连接该并列串列转换器,用以产生资料讯号传输所需的时脉讯号,并可将一参考时脉讯号传送至该储存媒体控制器;A phase-locked loop, comprising a sending phase-locked loop connected to the parallel-to-serial converter and a receiving phase-locked loop connected to the serial-to-parallel converter, connected to the parallel-to-serial converter for Generate a clock signal required for data signal transmission, and transmit a reference clock signal to the storage medium controller;

至少一发送器,连接该并列转串列转换器,各发送器皆可将转换为串列式的资料讯号,藉由一组串列讯号发送线传送到其连接的一串列式ATA装置;At least one transmitter is connected to the parallel-to-serial converter, and each transmitter can convert serial data signals to a serial ATA device connected to it through a set of serial signal transmission lines;

至少一接收器,连接该串列转并列转换器,各接收器皆可通过一组串列讯号接收线,将接收自所连接串列式ATA装置的资料讯号传送到该串列转并列转换器,而由串列转并列转换器将资料讯号转换为并列式讯号后再传送至储存媒体控制器;及At least one receiver is connected to the serial-to-parallel converter, and each receiver can transmit the data signal received from the connected serial ATA device to the serial-to-parallel converter through a set of serial signal receiving lines , and the serial-to-parallel converter converts the data signal into a parallel signal before sending it to the storage media controller; and

至少一OOB讯号侦测器,分别连接于各对应接收器的接收讯号线,用以侦测串列式ATA装置的运作状况,并可将侦测所得的多组讯号传送至该储存媒体控制器。At least one OOB signal detector is connected to the receiving signal line of each corresponding receiver to detect the operation status of the serial ATA device, and can send multiple groups of detected signals to the storage media controller .

该电路构造,除上述必要技术特征外,在具体实施过程中,还可补充如下技术内容:The circuit structure, in addition to the above-mentioned necessary technical features, can also add the following technical content during the specific implementation process:

当控制器和发送器或/及接收器为一对二对应关系时,还设有二主动从属选择器,可接收来自储存媒体控制器的控制讯号而选择主动或从属的传输线路:When the controller and the transmitter or/and receiver have a one-to-two correspondence, there are also two active slave selectors, which can receive the control signal from the storage media controller and select the active or slave transmission line:

其中一主动从属选择器连接各发送器,可于接收并列转串列转换器的发送启用讯号后分别启用对应的发送器;One of the active slave selectors is connected to each transmitter, and the corresponding transmitters can be respectively activated after receiving the transmission enable signal of the parallel-to-serial converter;

另一主动从属选器则可将对应接收器的资料讯号传送到串列转并列转换器。Another active slave selector can transmit the data signal corresponding to the receiver to the serial-to-parallel converter.

其中该并列串列转换器中的一并列转串列的转换器及一串列转并列的转换器分成为两个独立模块或整合成一个合并的模块。Wherein the parallel-to-serial converter and the serial-to-parallel converter in the parallel-to-serial converter are divided into two independent modules or integrated into a combined module.

其中该锁相回路中的一发送锁相回路及一接收锁相回路分成为两个独立模块或整合成一个合并的模块。A transmitting phase-locked loop and a receiving phase-locked loop in the phase-locked loop are divided into two independent modules or integrated into a combined module.

其中尚包含一电源控制器,可接收来自储存媒体控制器的多组控制讯号,以控制其重置及其他电源状态,并可传送一实体层就绪状态讯号至储存媒体控制器。It also includes a power controller, which can receive multiple sets of control signals from the storage media controller to control its reset and other power states, and can send a physical layer ready status signal to the storage media controller.

其中电源控制讯号及该实体层就绪状态讯号是一多准位状态讯号。Wherein the power control signal and the physical layer ready status signal are a multi-level status signal.

其中该实体层就绪讯号包含来自该锁相回路的一发送就绪讯号及一接收就绪讯号。The physical layer ready signal includes a transmit ready signal and a receive ready signal from the phase locked loop.

其中尚包含一控制讯号解码器连接该并列讯号发送线,可将一包含有发送有效讯号的并列讯号解码,并分别将解码所得的发送有效讯号与并列资料讯号传送到并列转串列转换器。It also includes a control signal decoder connected to the parallel signal sending line, which can decode a parallel signal including sending valid signals, and transmit the decoded sending valid signals and parallel data signals to the parallel-to-serial converter respectively.

其中尚包含一状态讯号编码器,连接该串列转并列转换器,可将转换后的并列资料讯号与来自OOB讯号侦测器的接收静止讯号编码后,经由并列讯号接收线传送到储存媒体控制器。It also includes a state signal encoder, which is connected to the serial-to-parallel converter to encode the converted parallel data signal and the received static signal from the OOB signal detector, and then transmit it to the storage medium control via the parallel signal receiving line device.

其中尚包含一传输路径控制器,连接各发送器及各接收器,可依储存媒体控制器的控制讯号控制资料讯号的传输路径。It also includes a transmission path controller, which is connected to each transmitter and each receiver, and can control the transmission path of the data signal according to the control signal of the storage media controller.

其中尚包含一选择器,连接各OOB讯号侦测器,可依储存媒体控制器的控制讯号而选择将其中一OOB讯号侦测器的接收静止讯号传送到状态讯号编码器。It also includes a selector, which is connected to each OOB signal detector, and can be selected to transmit the static signal received by one of the OOB signal detectors to the status signal encoder according to the control signal of the storage media controller.

其中该锁相回路具有多个传输速率切换选择的功能,藉由一讯号线接收储存媒体控制器的控制讯号而切换动作。The phase-locked loop has the function of switching and selecting multiple transmission rates, and switches operations by receiving a control signal from a storage medium controller through a signal line.

本发明还提供一种用于上述电路的讯号编码方法的技术方案。The present invention also provides a technical solution for the signal encoding method of the above-mentioned circuit.

一种可减少串列式ATA分离式实体层脚位数的讯号编码方法,其特征是:于串列式ATA分离式实体层中设一状态讯号编码器和一控制讯号解码器,其中状态讯号编码器通过并列讯号接收线与储存媒体控制器连接,控制讯号解码器通过并列讯号发送线与储存媒体控制器连接,该状态讯号编码器、控制讯号解码器和储存媒体控制器之间传递资料讯号时,来自该储存媒体控制器的控制讯号由储存媒体控制器端的控制讯号编码器编码于该资料讯号中,由控制讯号解码器进行解码,来自该串列式ATA分离式实体层的就绪状态由状态讯号编码器编码于该资料讯号中,由此减少连接的脚位。A signal encoding method that can reduce the number of serial ATA separation physical layer pins is characterized in that a state signal encoder and a control signal decoder are set in the serial ATA separation physical layer, wherein the state signal The encoder is connected to the storage medium controller through a parallel signal receiving line, and the control signal decoder is connected to the storage medium controller through a parallel signal sending line, and data signals are transmitted between the state signal encoder, the control signal decoder and the storage medium controller When the control signal from the storage media controller is encoded in the data signal by the control signal encoder at the storage media controller end, it is decoded by the control signal decoder, and the ready status from the serial ATA split physical layer is obtained by A status signal encoder is encoded in the data signal, thereby reducing the number of connected pins.

该编码方法在具体实施过程中,还可补充如下技术内容:In the specific implementation process of this coding method, the following technical content can also be added:

其中若该资料讯号为自储存媒体控制器传送到串列式ATA分离式实体层,储存媒体控制器端的控制讯号编码器可于发送有效讯号下降的区间中,将资料全部以0或全部以1取代,由控制讯号解码器进行解码。Wherein, if the data signal is transmitted from the storage media controller to the serial ATA split physical layer, the control signal encoder at the storage media controller end can send all the data as 0 or all as 1 in the falling interval of sending valid signals. Instead, it is decoded by a control signal decoder.

其中若该资料讯号为自串列式ATA分离式实体层传送到储存媒体控制器,可于接收静止讯号上升的区间中,该状态讯号编码器将资料全部以0或全部以1取代。Wherein if the data signal is transmitted from the serial ATA split physical layer to the storage media controller, the status signal encoder can replace all the data with 0 or all 1 during the rising interval of the received static signal.

本发明的优点在于:The advantages of the present invention are:

1、应用在数字与模拟分离设计的控制芯片,在此设计架构之下,高频模拟电路制作于分离式实体层芯片中,而数字电路部分则可整合于储存媒体控制器中,经由适当的讯号编码,可有效减少串列式ATA分离式实体层介面信号。1. It is applied to the control chip with separate design of digital and analog. Under this design framework, the high-frequency analog circuit is fabricated in a separate physical layer chip, while the digital circuit part can be integrated in the storage media controller. Through appropriate Signal encoding can effectively reduce serial ATA split physical layer interface signals.

2、主控制芯片可将控制讯号以一多准位讯号传送到实体层芯片,实体层芯片亦可将状态讯号以一多准位讯号传送到主控制芯片。2. The main control chip can transmit the control signal to the physical layer chip with a multi-level signal, and the physical layer chip can also transmit the status signal to the main control chip with a multi-level signal.

3、利用一讯号编码器及一讯号解码器,将控制讯号及状态讯号编码于资料讯号中,以减少连接所需的脚位。3. A signal encoder and a signal decoder are used to encode the control signal and status signal into the data signal, so as to reduce the number of pins required for connection.

4、利用讯号编码的特性,而以不符合正常资料编码的特别码取代原有资料讯号,藉以识别辨识者。4. Utilize the characteristics of signal coding, and replace the original data signal with a special code that does not conform to the normal data coding, so as to identify the identifier.

兹为对本发明的特征、结构及所达成的功效有进一步的了解与认识,谨佐以较佳的实施图例及配合详细的说明,说明如后:In order to have a further understanding and understanding of the characteristics, structure and achieved effects of the present invention, I would like to provide a better implementation illustration and a detailed description, as follows:

附图说明Description of drawings

图1是习用ATA介面架构的方块图。FIG. 1 is a block diagram of a conventional ATA interface architecture.

图2是本发明一较佳实施例的电路方块图。FIG. 2 is a circuit block diagram of a preferred embodiment of the present invention.

图3是本发明另一实施例的电路方块图。FIG. 3 is a circuit block diagram of another embodiment of the present invention.

图4是本发明多准位电源控制信号的时序图。FIG. 4 is a timing diagram of multi-level power supply control signals in the present invention.

图5是本发明实体层就绪状态讯号的时序图。及FIG. 5 is a timing diagram of the physical layer ready status signal of the present invention. and

图6与图7是分别为本发明发送有效讯号解码与接收静止讯号编码的时序示意图。FIG. 6 and FIG. 7 are schematic diagrams of timing diagrams for decoding the sending valid signal and encoding the receiving static signal, respectively, according to the present invention.

具体实施方式Detailed ways

首先,请参阅图2,是本发明一较佳实施例的分离式实体层芯片电路方块图。如图所示,其主要构造是包含有:一并列串列转换器(serialize/deserializer;SerDes)、一锁相回路(phase locked loop;PLL)、至少一发送器(transmitter)405、至少一接收器(receiver)407及至少一OOB讯号侦测器461。First, please refer to FIG. 2 , which is a circuit block diagram of a split physical layer chip according to a preferred embodiment of the present invention. As shown in the figure, its main structure includes: a parallel serial converter (serialize/deserializer; SerDes), a phase locked loop (phase locked loop; PLL), at least one transmitter (transmitter) 405, at least one receiver A receiver 407 and at least one OOB signal detector 461 .

本发明架构的下的串列式ATA实体层所需元件依电路特性设计于两个芯片中,分离式实体层芯片40包含了所有的高频模拟电路,除此之外的实体层电路以数字电路为主并整合于储存媒体控制器中,如将并列式ATA的8bits讯号及控制讯转换成10bits讯号的编码器(8B10Bencoder)与将来自串列式ATA讯号的10bits讯号转换成8bits讯号及控制讯号的解码器(10B8Bdecoder)及字元定位器(word alignment)等。如此,主控制芯片将不会因整合高频模拟电路而增加芯片面积,可保持其生产合格率,而主控制芯片与串列式ATA分离式实体层40间连结所需的脚位亦可大量减少。The components required for the tandem ATA physical layer under the framework of the present invention are designed in two chips according to the circuit characteristics. The separate physical layer chip 40 includes all high-frequency analog circuits, and the other physical layer circuits are digital. The main circuit is integrated in the storage media controller, such as the encoder (8B10Bencoder) that converts the 8bits signal and control signal of parallel ATA into 10bits signal and converts the 10bits signal from serial ATA signal into 8bits signal and control Signal decoder (10B8Bdecoder) and character locator (word alignment), etc. In this way, the main control chip will not increase the chip area due to the integration of high-frequency analog circuits, and its production yield can be maintained, and the number of pins required for the connection between the main control chip and the serial ATA separation type physical layer 40 can also be reduced. reduce.

在本实施列中,其并列串列转换器包含有一并列转串列转换器(serializer;PISO)423及一串列转并列转换器(deserializer;SIPO)443,而锁相回路亦包含有一发送锁相回路421及一接收锁相回路441,其中该发送锁相回路421是可产生串列式ATA分离式实体层40发送讯号所需的时脉讯号,并将该时脉讯号传送给并列转串列转换423及储存媒体控制器作为其参考时脉讯号(RefCIK)。而并列转串列转换423则根据来自储存媒体控制器的发送有效讯号(TxValid)及取样时脉讯号(strobe differential clock;TxStrobe,TxStrobe)将由一组并列讯号发送线(TxData[4:0])传送过来欲发送的资料讯号转换为串列式ATA的资料讯号(TxData),藉由发送器405以一组串列讯号发送线(TXP1,TXN1或TXP2、TXN2)传送至串列式ATA装置。In this embodiment, the parallel-serial converter includes a parallel-to-serial converter (serializer; PISO) 423 and a series-to-parallel converter (deserializer; SIPO) 443, and the phase-locked loop also includes a transmit lock A phase loop 421 and a receiving phase-locked loop 441, wherein the transmitting phase-locked loop 421 can generate the clock signal required by the serial ATA split physical layer 40 to send the signal, and transmit the clock signal to the parallel-to-serial Column conversion 423 and storage media controller as its reference clock signal (RefCIK). The parallel-to-serial conversion 423 is based on the sending valid signal (TxValid) and the sampling clock signal (strobe differential clock; TxStrobe, TxStrobe) from the storage medium controller. The data signal to be transmitted is converted into a serial ATA data signal (TxData), and transmitted to the serial ATA device through a set of serial signal transmission lines (TXP1, TXN1 or TXP2, TXN2) by the transmitter 405 .

在接收的部分则是由接收器408通过一组串列讯号接收线(RXP1,RXN1或RXP2,RXN2)接收来自串列式ATA装置的讯号后传送至串列转并列转换器443,而该串列转并列转换器443则根据接收锁相回路441所产生的时脉讯号,将串列讯号转换为并列讯号,并经由一组并列讯号接收线(RxData[4;0])及两条取样时脉讯号线(RxSTrob,RxSTrob-)将资料讯号及取样时脉讯号传送到储存媒体控制器。另外设有至少一OOB讯号侦测器(out of and signal detector)461,连接各串列讯号接收线,用以侦测讯号传输的状态,而将接收压扁讯号(Squelch)、初始化讯号(Comlnit)及唤醒讯号(ComWake)传送至储存媒体控制器。In the receiving part, the receiver 408 receives the signal from the serial ATA device through a set of serial signal receiving lines (RXP1, RXN1 or RXP2, RXN2) and then sends it to the serial-to-parallel converter 443, and the serial The serial-to-parallel converter 443 converts the serial signal into a parallel signal according to the clock signal generated by the receiving phase-locked loop 441, and converts the serial signal into a parallel signal through a set of parallel signal receiving lines (RxData[4; 0]) and two sampling clocks The pulse signal line (RxSTrob, RxSTrob-) transmits the data signal and sampling clock signal to the storage media controller. In addition, there is at least one OOB signal detector (out of and signal detector) 461 connected to each serial signal receiving line to detect the state of signal transmission, and will receive the squash signal (Squelch), initialization signal (Commlnit ) and a wake-up signal (ComWake) are sent to the storage media controller.

再者,在本实施例中因包含有两组发送器与接收器,可同时连接一主动串列式ATA硬盘及一从属串列式ATA硬盘,故装置中尚设有主动从属选择器(master/slave selector)425及445,可接收来自储存媒体控制器的控制讯号(Master)而选择主动或从属的传输线路。其中主动从属选择器425连接各发送器405,可于接收并列转串列转换器423的发送启用讯号(TxEnable)后分别启用(enble)对应的发送器405。另一主动从属选器445则可将对应接收器407的资料讯号(RxData)传送到串列转并列转换器443。Furthermore, in this embodiment, because two groups of transmitters and receivers are included, an active serial ATA hard disk and a slave serial ATA hard disk can be connected at the same time, so an active slave selector (master) is also provided in the device. /slave selector) 425 and 445, which can receive the control signal (Master) from the storage media controller to select the active or slave transmission line. The active slave selector 425 is connected to each transmitter 405 and can respectively enable (enable) the corresponding transmitter 405 after receiving the transmit enable signal (TxEnable) from the parallel-to-serial converter 423 . Another active slave selector 445 can transmit the data signal (RxData) corresponding to the receiver 407 to the serial-to-parallel converter 443 .

为了将串列式ATA分离式实体层40与储存媒体控制器连接的脚位数减少,可于装置中增设一选择器403,亦可依据控制讯号(Master)而选择将来自对应OOB讯号侦测器461的接收静止讯号(SigQuiet)传送到储存媒体控制器。另外,尚可于装置中增设另一选择器409,其输入端分别连接主动从属选择器445与并列转串列转换器423,而输出端则连接到串列转并列转换器443,可根据一控制讯号(Loopback)而选择正常的发送接收路径,或将经由并列转串列转换器423转换后的串列讯号传送到串列转并列转换器443形成一回圈,藉以测试系统中并列讯号与串列讯号间的编码与解码作业是否正确。In order to reduce the number of pins connecting the serial ATA split physical layer 40 and the storage media controller, a selector 403 can be added in the device, and the corresponding OOB signal can be detected according to the control signal (Master). The received quiet signal (SigQuiet) of the device 461 is sent to the storage media controller. In addition, another selector 409 can be added in the device, the input terminals of which are respectively connected to the active slave selector 445 and the parallel-to-serial converter 423, and the output terminals are connected to the serial-to-parallel converter 443, according to a Control the signal (Loopback) to select the normal sending and receiving path, or send the serial signal converted by the parallel-to-serial converter 423 to the serial-to-parallel converter 443 to form a loop, so as to test the parallel signal and the parallel signal in the system. Whether the encoding and decoding operations between serial signals are correct.

又,本发明的串列式ATA分离式实体层40尚设有一电源控制器(powercontroller)401,可分别接收来自储存媒体控制器的实体层重置讯号(PhyReset)及多准位电源控制讯号PartSlum1与PartSlum2,藉以对电源作一整合省电控制,其中PartSlum1与PartSlum2经准位侦测器411可得真正的电源控制讯号Partial1,Slumber1,Partial2与Slumber2。Furthermore, the tandem ATA split physical layer 40 of the present invention is also provided with a power controller (powercontroller) 401, which can respectively receive the physical layer reset signal (PhyReset) and the multi-level power control signal PartSlum1 from the storage medium controller. and PartSlum2 for integrated power saving control on the power supply, wherein PartSlum1 and PartSlum2 can obtain real power control signals Partial1, Slumber1, Partial2 and Slumber2 through the level detector 411 .

实体芯片的状态亦可根据来自发送锁相回路421的发送就绪讯号(TxReady)与来自接收锁相迥路441的接收就绪讯号(RxLocked)向储存媒体控制器回应一由上述二讯号经准位转换器412组成多准位(multi-level)的实体层就绪讯号(PhyReady)。The state of the physical chip can also respond to the storage medium controller according to the transmit ready signal (TxReady) from the transmit phase-locked loop 421 and the receive ready signal (RxLocked) from the receive phase-locked loop 441—the above two signals are converted by the level The device 412 forms a multi-level PHY signal (PhyReady).

其次,请参阅图3,是本发明另一实施例的电路方块图。如图所示,其主要构造与图2所示其实施例大致相同,然尚可增设一控制讯号解码器481及一状态讯号编码器483。其中控制讯号解码器481是连接于该组并列讯号发送线(TxData[4:0]),用以接收一包含有发送有效讯号的资料讯号,可将该资料讯号解码得出发送有效讯号(TxValid)后,分别传送到并列转串列转换器中,可减少一连接所需的脚位。而状态讯号编码器483则连接于串列转并列转换器443,可将来自选择器403的接收静止讯号(SigQuiet)编码于资料讯号中,再通过该组并列讯号接收线(RxData[4:0])传送到储存媒体控制器中,又可减少一连接脚位。Next, please refer to FIG. 3 , which is a circuit block diagram of another embodiment of the present invention. As shown in the figure, its main structure is roughly the same as that of the embodiment shown in FIG. 2 , but a control signal decoder 481 and a status signal encoder 483 can still be added. The control signal decoder 481 is connected to the set of parallel signal transmission lines (TxData[4:0]) to receive a data signal including a valid signal to be transmitted, and can decode the data signal to obtain a valid signal to be transmitted (TxValid ) and then sent to the parallel-to-serial converter respectively, which can reduce the number of pins required for a connection. The status signal encoder 483 is connected to the serial-to-parallel converter 443, and can encode the received quiet signal (SigQuiet) from the selector 403 into the data signal, and then pass through the group of parallel signal receiving lines (RxData[4:0 ]) to the storage media controller, and one connection pin can be reduced.

另外,本发明的锁相回路尚可设有多个传输速率切换选择的功能,可利用一讯号线(未显示)连接储存媒体控制器,藉以接收储存媒体控制器的控制讯号而进行不同传输速率的切换动作,可符合串列式ATA规格各代产品不同的传输速率。又,本发明的电路构造是可整合而成为一分离式实体层芯片,可方便生产及节省成本。In addition, the phase-locked loop of the present invention can also be equipped with multiple transmission rate switching options, and can use a signal line (not shown) to connect to the storage media controller, so as to receive control signals from the storage media controller to achieve different transmission rates. The switching action can meet the different transmission rates of different generations of Serial ATA specifications. In addition, the circuit structure of the present invention can be integrated into a separate physical layer chip, which can facilitate production and save costs.

请参阅图4与图5,是分别为本发明多准位电源控制信号与多准位实体层就绪状态讯号的时序图。如图4所示,储存媒体控制器将电源控制讯号经多准位转换,以一个多准位PartSlum讯号代表Partial或Slumber两个讯号。低准位状态(V-low)代表Partial或Slumber皆无动作;中准位状态(V-mid)代表Partial;高准位状态(V-high)代表Slumber。实体芯片则经由准位侦测得到真正的电源控制讯号。Please refer to FIG. 4 and FIG. 5 , which are respectively timing diagrams of the multi-level power control signal and the multi-level physical layer ready state signal of the present invention. As shown in Figure 4, the storage media controller converts the power control signal through multi-level, and uses a multi-level PartSlum signal to represent the two signals of Partial or Slumber. The low level state (V-low) represents no action on Partial or Slumber; the middle level state (V-mid) represents Partial; the high level state (V-high) represents Slumber. The physical chip obtains the real power control signal through level detection.

如图5所示,本发明的实体层就绪讯号(PhyReady)是由发送就绪讯号(TxReady)与接收就绪讯(RxLocked)叠加而成的多准位状态讯号,亦即当发送锁相回路尚未就绪时,实体层就绪讯号是位于低准位状态(V-low);只有发送锁相回路就绪时,是为中准位状态(V-mid);而发送与接收锁相回路皆就绪时,则为高准位状态(V-high)。As shown in Figure 5, the physical layer ready signal (PhyReady) of the present invention is a multi-level status signal formed by superimposing the transmit ready signal (TxReady) and the receive ready signal (RxLocked), that is, when the transmit phase-locked loop is not yet ready When the physical layer ready signal is in the low level state (V-low); only when the sending phase-locked loop is ready, it is in the middle level state (V-mid); and when both the sending and receiving phase-locked loops are ready, then It is a high level state (V-high).

又,请参阅图6与图7,是分别为本发明发送有效讯号解码与接收静止讯号编码的时序示意图。其中,TxData[4:0]与RxData[4:0]是分别为解码前及编码前的资料讯号,而TxData-de[4:0]与RxData-en[4:0]则分别为解码后及编码后的资料讯号,TxValid-de为解码得到的发送有效讯号。由于在将8bits资料转换为10bits讯号时,正常编码不可能产生全部同为0或同为1的资料讯号,故我们可利用这个特性,在储存媒体控制器端,以一控制讯号编码器在发送有效讯号为低准位的区间中,以全部同为0或全部同为1来取代此区间的欲发送资料讯号,而实体芯片内的控制讯号解码器则据以解码得出发送有效讯号。静止讯号编码方面,实体芯片内的状态讯号编码器在接收静止讯号为高准位的区间中,以全部同为0或全部同为1来取代此区间的接收资料讯号,而在储存媒体控制器端讯号解码器则据以得出接收静止讯号。Also, please refer to FIG. 6 and FIG. 7 , which are schematic diagrams of timing diagrams for decoding the sending valid signal and encoding the receiving static signal, respectively, according to the present invention. Among them, TxData[4:0] and RxData[4:0] are the data signals before decoding and encoding respectively, and TxData-de[4:0] and RxData-en[4:0] are the data signals after decoding respectively. and the encoded data signal, TxValid-de is the decoded transmitted valid signal. Because when converting 8bits data into 10bits signals, it is impossible for normal encoding to generate all data signals that are both 0 or 1, so we can use this feature to send a control signal encoder on the storage media controller side. In the interval where the effective signal is low level, all the data signals to be sent in this interval are replaced by all being 0 or all being 1, and the control signal decoder in the physical chip decodes it to obtain a valid signal for sending. In terms of static signal encoding, the state signal encoder in the physical chip replaces the received data signal in this interval with all 0s or 1s in the interval where the static signal is received at high level, and in the storage media controller The terminal signal decoder obtains the received static signal accordingly.

利用如上所述的电路构造与讯号编码方法,可简化设计并使分离式实体层的功效得到最有效的发挥,而其与储存媒体控制器所需的连接脚位亦可大幅减少,对于第一代与第二代串列式ATA规格而言,甚至可降至27个脚位以下(Loop Back脚位是作为测试之用无需连接控制模组),可直接使用原有储存媒体汇流排连接而不用增设控制芯片的脚位,不仅使制作成本大幅降低,而系统设计者亦可在不修改主机板设计的状况下,考虑是否使用串列式ATA而决定是否加入分离式实体层芯片。Utilizing the above-mentioned circuit structure and signal encoding method, the design can be simplified and the function of the separate physical layer can be brought into play most effectively, and the connection pins required for it and the storage medium controller can also be greatly reduced. For the first In terms of the second-generation Serial ATA specification, it can even be reduced to less than 27 pins (the Loop Back pin is used for testing and does not need to be connected to the control module), and can be directly connected to the original storage media bus. No additional control chip pins are needed, which not only greatly reduces the production cost, but also allows system designers to consider whether to use serial ATA and decide whether to add a separate physical layer chip without modifying the motherboard design.

综上所述,当知本发明是有关于一种ATA介面的电路构造,尤指一种可减少串列式ATA分离式实体层介面讯号数的电路构造,其主要是利用数字与模拟分离的构造,将高频模拟电路制作于分离式实体层芯片中,并利用介面信号本身的特性及十位元资料编码的特性将部分控制及状态讯号以一多准位讯号传送或编码于资料讯号中,可有效减少连接所需的介面信号。故本发明实为一富有新颖性、进步性,及可供产业利用功效的发明,符合专利申请要件无疑,依法提请发明专利申请,恳请贵审查委员早日赐予本发明专利,实感德便。To sum up, it should be known that the present invention relates to a circuit structure of an ATA interface, especially a circuit structure capable of reducing the number of serial ATA separated physical layer interface signals, which mainly utilizes a digital and analog separation structure , making high-frequency analog circuits in separate physical layer chips, and using the characteristics of the interface signal itself and the characteristics of ten-bit data encoding to transmit or encode part of the control and status signals as a multi-level signal in the data signal, It can effectively reduce the interface signal required for connection. Therefore, this invention is actually a novelty, advancement, and an invention that can be used by the industry. It undoubtedly meets the requirements for patent application. I submit an application for an invention patent according to law. I sincerely hope that your review committee will grant this invention patent as soon as possible. I really appreciate it.

以上所述,仅为本发明的一较佳实施例而已,并非用来限定本发明实施的范围,即凡依本发明申请专利范围所述的形状、构造、特征及精神所为的均等变化与修饰,均应包括于本发明的申请专利范围内。The above description is only a preferred embodiment of the present invention, and is not intended to limit the implementation scope of the present invention, that is, any equal changes and changes made according to the shape, structure, characteristics and spirit described in the scope of the patent application of the present invention Modifications should be included in the patent application scope of the present invention.

Claims (3)

1、一种可减少串列式ATA分离式实体层脚位数的讯号编码方法,其特征是:于串列式ATA分离式实体层中设一状态讯号编码器和一控制讯号解码器,其中状态讯号编码器通过并列讯号接收线与储存媒体控制器连接,控制讯号解码器通过并列讯号发送线与储存媒体控制器连接,该状态讯号编码器、控制讯号解码器和储存媒体控制器之间传递资料讯号时,来自该储存媒体控制器的控制讯号由储存媒体控制器端的控制讯号编码器编码于该资料讯号中,由控制讯号解码器进行解码,来自该串列式ATA分离式实体层的就绪状态由状态讯号编码器编码于该资料讯号中,由此减少连接的脚位。1. A signal coding method that can reduce the number of serial ATA split physical layer pins, characterized in that: a state signal encoder and a control signal decoder are set in the serial ATA split physical layer, wherein The state signal encoder is connected to the storage medium controller through a parallel signal receiving line, and the control signal decoder is connected to the storage medium controller through a parallel signal sending line, and the state signal encoder, the control signal decoder and the storage medium controller are transmitted For data signals, the control signal from the storage media controller is encoded in the data signal by the control signal encoder at the storage media controller end, and decoded by the control signal decoder. Status is encoded in the data signal by a status signal encoder, thereby reducing the number of connected pins. 2、根据权利要求1所述的讯号编码方法,其特征是:其中若该资料讯号为自储存媒体控制器传送到串列式ATA分离式实体层,储存媒体控制器端的控制讯号编码器可于发送有效讯号下降的区间中,将资料全部以0或全部以1取代,由控制讯号解码器进行解码。2. The signal encoding method according to claim 1, wherein if the data signal is transmitted from the storage medium controller to the serial ATA separation type physical layer, the control signal encoder at the storage medium controller end can be used in In the falling interval of the sending effective signal, replace all the data with 0 or all 1, and decode it by the control signal decoder. 3、根据权利要求1所述的讯号编码方法,其特征是:其中若该资料讯号为自串列式ATA分离式实体层传送到储存媒体控制器,该状态讯号编码器可于接收静止讯号上升的区间中,将资料全部以0或全部以1取代。3. The signal encoding method according to claim 1, wherein if the data signal is transmitted from the serial ATA split physical layer to the storage medium controller, the state signal encoder can rise when receiving the static signal In the interval, replace all the data with 0 or all with 1.
CNB2004100833153A 2002-04-17 2002-04-17 Signal encoding method for reducing serial ATA split physical layer pin count Expired - Lifetime CN100353351C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100833153A CN100353351C (en) 2002-04-17 2002-04-17 Signal encoding method for reducing serial ATA split physical layer pin count

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100833153A CN100353351C (en) 2002-04-17 2002-04-17 Signal encoding method for reducing serial ATA split physical layer pin count

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN 02105755 Division CN1208734C (en) 2002-04-17 2002-04-17 Circuit for reducing the number of serial ATA split physical layer interface signals

Publications (2)

Publication Number Publication Date
CN1591381A CN1591381A (en) 2005-03-09
CN100353351C true CN100353351C (en) 2007-12-05

Family

ID=34605126

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100833153A Expired - Lifetime CN100353351C (en) 2002-04-17 2002-04-17 Signal encoding method for reducing serial ATA split physical layer pin count

Country Status (1)

Country Link
CN (1) CN100353351C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI452465B (en) * 2010-08-19 2014-09-11 Zeroplus Technology Co Ltd Method of arranging and processing the electronic measuring device and its tandem parallel data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5442800A (en) * 1992-05-27 1995-08-15 Nec Corporation Parallel input-output circuit permitting reduce number of pins in a single chip microcomputer
US6199122B1 (en) * 1997-08-01 2001-03-06 Tokyo Electron Device Limited Computer system, external storage, converter system, and recording medium for converting a serial command and data standard to a parallel one
CN1317747A (en) * 2000-02-17 2001-10-17 松下电器产业株式会社 ATAPI instruct receiving way
CN2479688Y (en) * 2001-05-22 2002-02-27 卢杰 Universal serial bus-block memory changeover connecting wire

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5442800A (en) * 1992-05-27 1995-08-15 Nec Corporation Parallel input-output circuit permitting reduce number of pins in a single chip microcomputer
US6199122B1 (en) * 1997-08-01 2001-03-06 Tokyo Electron Device Limited Computer system, external storage, converter system, and recording medium for converting a serial command and data standard to a parallel one
CN1317747A (en) * 2000-02-17 2001-10-17 松下电器产业株式会社 ATAPI instruct receiving way
CN2479688Y (en) * 2001-05-22 2002-02-27 卢杰 Universal serial bus-block memory changeover connecting wire

Also Published As

Publication number Publication date
CN1591381A (en) 2005-03-09

Similar Documents

Publication Publication Date Title
US9607673B1 (en) Methods and systems for pin-efficient memory controller interface using vector signaling codes for chip-to-chip communication
EP2775654B1 (en) Increased bandwidth encoding scheme and synchroniation using data edges
US20030081743A1 (en) Circuit and signal encoding method for reducing the number of serial ATA external PHY signals
US6734811B1 (en) Single-ended balance-coded interface with embedded-timing
US7609770B2 (en) Circuit structure and signal encoding method for a serial ATA external physical layer
US6301637B1 (en) High performance data paths
US7243173B2 (en) Low protocol, high speed serial transfer for intra-board or inter-board data communication
CN106095334B (en) A High-speed Data Acquisition and Storage System Based on FPGA
US20040120353A1 (en) Method and apparatus for double data rate serial ATA phy interface
US20080244120A1 (en) Multi-protocol serial interface apparatus and system-on-chip apparatus including the same
CN101281453A (en) Storage device cascading method, storage system and storage device
US20120191943A1 (en) Dynamic protocol for communicating command and address information
CN100353351C (en) Signal encoding method for reducing serial ATA split physical layer pin count
JP2002101084A (en) Method for synchronizing serial data and system for the same
CN106341153A (en) High-speed transceiver
US10049067B2 (en) Controller-PHY connection using intra-chip SerDes
JP2000183920A (en) USB information transmission device
CN1208734C (en) Circuit for reducing the number of serial ATA split physical layer interface signals
CN104009823B (en) Dislocation detection and error correction circuit in a kind of SerDes technologies
CN1203417C (en) Circuit Construction of Split Serial ATA Physical Layer
TW546933B (en) Circuit structure and signal encoding method capable of reducing signal number of serial ATA separating physical layer interface
CN113676310A (en) Data transmission device for radar system
CN112989748A (en) Integrated circuit capable of reducing wiring quantity
TWI789106B (en) Isolation device for mirroring digital signals
CN217060970U (en) Isolation device for mirrored digital signals

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20071205