Nothing Special   »   [go: up one dir, main page]

CN114629493A - PHYSICAL LAYER CIRCUIT FOR MULTI-LINE INTERFACE - Google Patents

PHYSICAL LAYER CIRCUIT FOR MULTI-LINE INTERFACE Download PDF

Info

Publication number
CN114629493A
CN114629493A CN202210277668.5A CN202210277668A CN114629493A CN 114629493 A CN114629493 A CN 114629493A CN 202210277668 A CN202210277668 A CN 202210277668A CN 114629493 A CN114629493 A CN 114629493A
Authority
CN
China
Prior art keywords
signal
pads
coupled
pad
phy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210277668.5A
Other languages
Chinese (zh)
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.)
M31 Technology Corp
Original Assignee
M31 Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US15/956,709 external-priority patent/US20190158127A1/en
Application filed by M31 Technology Corp filed Critical M31 Technology Corp
Publication of CN114629493A publication Critical patent/CN114629493A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/0175Coupling arrangements; Interface arrangements
    • H03K19/0185Coupling arrangements; Interface arrangements using field effect transistors only
    • H03K19/018507Interface arrangements
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/20Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits
    • H03K19/21EXCLUSIVE-OR circuits, i.e. giving output if input signal exists at only one input; COINCIDENCE circuits, i.e. giving output only if all input signals are identical

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

本发明公开了一种实体层电路,具体包含:N个信号接垫,包含至少四个或六个信号接垫;四信号或六信号实体媒介附加子层;以及M个屏蔽接垫。M个屏蔽接垫包含第一屏蔽接垫耦接于所述四信号实体媒介附加子层、或者第一至第三屏蔽接垫耦接于所述六信号实体媒介附加子层。其中,所述第一屏蔽接垫位于所述信号接垫中的一第二信号接垫与一第三信号接垫之间;所述第二屏蔽接垫位于所述信号接垫中的所述第三信号接垫与一第四信号接垫之间;所述第三屏蔽接垫位于所述信号接垫中的所述第四信号接垫与一第五信号接垫之间且M与N为正整数。

Figure 202210277668

The invention discloses a physical layer circuit, which specifically includes: N signal pads, including at least four or six signal pads; a four-signal or six-signal physical medium additional sublayer; and M shielding pads. The M shielding pads include a first shielding pad coupled to the four-signal physical medium additional sublayer, or first to third shielding pads coupled to the six-signal physical medium additional sublayer. Wherein, the first shielding pad is located between a second signal pad and a third signal pad among the signal pads; the second shielding pad is located at the one of the signal pads between a third signal pad and a fourth signal pad; the third shielding pad is located between the fourth signal pad and a fifth signal pad among the signal pads and M and N is a positive integer.

Figure 202210277668

Description

用于多线接口的实体层电路PHYSICAL LAYER CIRCUIT FOR MULTI-LINE INTERFACE

本发明是申请日为2018年07月19日、申请号为201810799479.8、发明名称为“用于多线接口的实体层电路”的分案申请。The present invention is a divisional application with an application date of July 19, 2018, an application number of 201810799479.8, and the title of the invention is "physical layer circuit for multi-wire interface".

技术领域technical field

本发明关于多线数据接口,尤指适用于多线数据接口的不同实体层模式的实体层电路和实体媒介附加子层。The present invention relates to a multi-line data interface, and particularly refers to a physical layer circuit and a physical medium additional sublayer suitable for different physical layer modes of the multi-line data interface.

背景技术Background technique

如智能手机之类的移动装置,内部包含各种不同用途的元件,例如应用处理器(application processor)、显示器、CMOS图像感测器等。这些元件需要通过实体接口进行互连,例如,应用处理器可以通过一个接口,向显示器提供帧数据,以呈现视觉内容。或者,CMOS图像感测器可以通过一个接口,向应用处理器提供感测到的图像数据,以输出照片或视频。Mobile devices such as smart phones contain various components for different purposes, such as application processors, displays, and CMOS image sensors. These elements need to be interconnected through a physical interface, for example, an interface through which an application processor can provide frame data to a display to render visual content. Alternatively, the CMOS image sensor can provide sensed image data to the application processor through an interface to output a photo or video.

由移动产业处理器界面(Mobile Industry Processor Interface,MIPI)联盟所制定的MIPI规范被广泛应用在上述移动装置的元件间信号通信和数据传输。MIPI D-PHY是MIPI规范之一。在MIPI D-PHY接口中,通过一个时脉通道和一到四个数据通道来进行实现通信。每个数据通道包含差动信号对。时脉通道用于传输差动时脉信号,而每个数据道用于传输差动数据信号。The MIPI specification formulated by the Mobile Industry Processor Interface (MIPI) consortium is widely used in signal communication and data transmission between components of the above-mentioned mobile devices. MIPI D-PHY is one of the MIPI specifications. In the MIPI D-PHY interface, communication is achieved through one clock channel and one to four data channels. Each data channel contains differential signal pairs. The clock channels are used to transmit differential clock signals, and each data channel is used to transmit differential data signals.

为了满足特定数据(例如图像数据)的高速传输要求,MIPI联盟新开发且定义了MIPI C-PHY规范。在MIPI C-PHY接口中,通过三条信号线来进行通信。信号线分别传输三数值(three-valued)信号,三数值信号可以转换成二进位逻辑信号。MIPI C-PHY的一个特征是将时脉嵌入在数据信号中,接收端在接收数据信号时执行时脉与数据回复。In order to meet the high-speed transmission requirements of certain data (eg, image data), the MIPI Alliance newly developed and defined the MIPI C-PHY specification. In the MIPI C-PHY interface, communication takes place through three signal lines. The signal lines transmit three-valued signals respectively, and the three-valued signals can be converted into binary logic signals. A feature of MIPI C-PHY is that the clock is embedded in the data signal, and the receiver performs clock and data recovery when receiving the data signal.

虽然MIPI C-PHY接口可以有效地实现高速信号通信并可以提供高吞吐量,但是这个接口对于移动装置中的所有元件和需求并非是必要的。所以若供应商能够提供同时适用于这两种规范的功能块(functional block)和/或集成电路,对制造商来说是相当乐见的。因此,有必要提供支援MIPI D-PHY和MIPI C-PHY规范的集成电路或半导体装置。Although the MIPI C-PHY interface can efficiently implement high-speed signal communication and can provide high throughput, this interface is not necessary for all components and requirements in a mobile device. So if the supplier can provide functional blocks and/or integrated circuits that are suitable for both specifications, it is quite welcome for the manufacturer. Therefore, it is necessary to provide integrated circuits or semiconductor devices that support MIPI D-PHY and MIPI C-PHY specifications.

发明内容SUMMARY OF THE INVENTION

本发明的一个目的是提供适用于多线(multi-wire)接口的不同实体层模式的实体层电路与多信号实体媒介附加子层。本发明所提出的实体层电路和实体媒介附加子层在设计上已经考虑了不同实体层模式,例如MIPI D-PHY和MIPI C-PHY,之间的信号特性差异。从而实现了一种二合一的实体层(combo PHY)设备,其可无缝地与基于MIPI D-PHY的设备或基于MIPI C-PHY的设备进行连接。It is an object of the present invention to provide a physical layer circuit and a multi-signal physical medium additional sublayer suitable for different physical layer modes of a multi-wire interface. The physical layer circuit and the physical medium additional sublayer proposed by the present invention have been designed with consideration of the difference in signal characteristics between different physical layer modes, such as MIPI D-PHY and MIPI C-PHY. Thereby, a two-in-one physical layer (combo PHY) device is realized, which can be seamlessly connected with MIPI D-PHY based devices or MIPI C-PHY based devices.

本发明的实施例提供一种实体层电路,所述实体层电路包含:N个信号接垫,包含至少四个信号接垫;一四信号实体媒介附加子层耦接于所述四个信号接垫;以及M个屏蔽接垫,包含至少一第一屏蔽接垫耦接于所述四信号实体媒介附加子层。其中,所述第一屏蔽接垫位于所述四个信号接垫中的一第二信号接垫与一第三信号接垫之间,且M与N为正整数。An embodiment of the present invention provides a physical layer circuit, the physical layer circuit includes: N signal pads, including at least four signal pads; a four-signal physical medium additional sub-layer coupled to the four signal pads pads; and M shielding pads, including at least one first shielding pad coupled to the four-signal physical medium additional sublayer. The first shielding pad is located between a second signal pad and a third signal pad among the four signal pads, and M and N are positive integers.

本发明的实施例提供一种实体层电路,所述实体层电路包含:N个信号接垫,包含至少六个信号接垫;一六信号实体媒介附加子层耦接于所述六个信号接垫;以及M个屏蔽接垫,包含至少一第一屏蔽接垫、一第二屏蔽接垫以及一第三屏蔽接垫,分别耦接于所述六信号实体媒介附加子层。其中,所述第一屏蔽接垫位于所述六个信号接垫中的一第二信号接垫与一第三信号接垫之间;所述第二屏蔽接垫位于所述六个信号接垫中的所述第三信号接垫与一第四信号接垫之间;所述第三屏蔽接垫位于所述六个信号接垫中的所述第四信号接垫与一第五信号接垫之间,其中M与N为正整数。An embodiment of the present invention provides a physical layer circuit, the physical layer circuit includes: N signal pads, including at least six signal pads; a six-signal physical medium additional sub-layer coupled to the six signal pads pads; and M shielding pads, including at least a first shielding pad, a second shielding pad and a third shielding pad, respectively coupled to the six signal physical medium additional sublayers. Wherein, the first shielding pad is located between a second signal pad and a third signal pad among the six signal pads; the second shielding pad is located between the six signal pads between the third signal pad and a fourth signal pad in the , where M and N are positive integers.

本发明的实施例提供一种实体层电路,所述实体层电路包含:N个信号接垫,包含至少四个信号接垫;以及一四信号实体媒介附加子层耦接于所述四个信号接垫。所述四信号实体媒介附加子层还包含一四信号终端电路。所述四信号终端电路包含:四个可调式电阻性元件,每一个分别耦接于所述四个信号接垫中的一个;一导线,耦接于一第一可调式电阻性元件的一个端点与一第二可调式电阻性元件的一个端点之间;一第一开关,选择性地耦接于所述第二可调式电阻性元件的一个端点与一第三可调式电阻性元件的一个端点之间;以及一第二开关,选择性地耦接于所述第三可调式电阻性元件的所述端点与一第四可调式电阻性元件的一个端点之间。其中,其中所述第一开关通过一开关控制信号所控制,所述第二开关通过所述开关控制信号的反相版本所控制。An embodiment of the present invention provides a physical layer circuit, the physical layer circuit includes: N signal pads, including at least four signal pads; and a four-signal physical medium additional sublayer coupled to the four signals pad. The four-signal physical medium additional sublayer also includes a four-signal termination circuit. The four-signal terminal circuit includes: four adjustable resistive elements, each of which is respectively coupled to one of the four signal pads; a wire coupled to one end of a first adjustable resistive element and one end of a second adjustable resistive element; a first switch selectively coupled to one end of the second adjustable resistive element and one end of a third adjustable resistive element and a second switch selectively coupled between the terminal of the third adjustable resistive element and one terminal of a fourth adjustable resistive element. wherein the first switch is controlled by a switch control signal, and the second switch is controlled by an inverted version of the switch control signal.

本发明的实施例提供一种实体层电路,所述实体层电路包含:N个信号接垫,包含至少六个信号接垫;一六信号实体媒介附加子层,耦接于所述六个信号接垫。所述六信号实体媒介附加子层包含:一六信号终端电路,耦接于所述六个信号接垫。所述六信号终端电路包含:六个可调式电阻性元件,每一个分别耦接于所述六个信号接垫中的一个;一第一导线,耦接于一第一可调式电阻性元件的一个端点与一第二可调式电阻性元件的一个端点之间;一第二导线,耦接于一第五可调式电阻性元件的一个端点与一第六可调式电阻性元件的一个端点之间;一第一开关,选择性地耦接于所述第二可调式电阻性元件的所述端点与一第三可调式电阻性元件的一个端点之间;以及一第二开关,选择性地耦接于所述第三可调式电阻性元件的所述端点与一第四可调式电阻性元件的一个端点之间;一第三开关,选择性地耦接于所述第四可调式电阻性元件的所述端点与一第五可调式电阻性元件的所述端点之间。其中所述,第一开关与所述第三开关通过一开关控制信号所控制,以及所述第二开关通过所述开关控制信号的反相版本所控制。An embodiment of the present invention provides a physical layer circuit, the physical layer circuit includes: N signal pads, including at least six signal pads; a six-signal physical medium additional sublayer, coupled to the six signals pad. The six-signal physical medium additional sublayer includes: a six-signal termination circuit coupled to the six-signal pads. The six-signal terminal circuit includes: six adjustable resistive elements, each of which is respectively coupled to one of the six signal pads; a first wire coupled to a first adjustable resistive element between one terminal and one terminal of a second adjustable resistive element; a second wire is coupled between one terminal of a fifth adjustable resistive element and one terminal of a sixth adjustable resistive element ; a first switch selectively coupled between the terminal of the second adjustable resistive element and a terminal of a third adjustable resistive element; and a second switch selectively coupled connected between the terminal of the third adjustable resistive element and one terminal of a fourth adjustable resistive element; a third switch selectively coupled to the fourth adjustable resistive element between the terminal of and a fifth adjustable resistive element. Wherein, the first switch and the third switch are controlled by a switch control signal, and the second switch is controlled by an inverted version of the switch control signal.

附图说明Description of drawings

图1为本发明实施例中一个包含支援双线通道PHY模式和三线通道PHY模式的四信号PMA的PHY电路。FIG. 1 is a PHY circuit including a four-signal PMA supporting a two-lane PHY mode and a three-lane PHY mode according to an embodiment of the present invention.

图2为本发明实施例如何减少PMA中的解序列器数量。FIG. 2 shows how to reduce the number of deserializers in the PMA according to an embodiment of the present invention.

图3为本发明实施例中一个包含支援双线通道PHY模式和三线通道PHY模式的六信号PMA的PHY电路。FIG. 3 is a PHY circuit including a six-signal PMA supporting a two-lane PHY mode and a three-lane PHY mode according to an embodiment of the present invention.

图4为本发明实施例如何利用时脉信号处理不同阶段的数据信号。FIG. 4 is a diagram illustrating how a clock signal is used to process data signals at different stages according to an embodiment of the present invention.

图5为本发明实施例中用于包含四信号PMA的PHY电路的信号接垫布置方式。FIG. 5 is an arrangement of signal pads for a PHY circuit including a four-signal PMA according to an embodiment of the present invention.

图6为本发明实施例中用于包含六信号PMA的PHY电路的信号接垫布置方式。FIG. 6 is an arrangement of signal pads for a PHY circuit including a six-signal PMA according to an embodiment of the present invention.

图7与图8为包含静电放电防护以及接垫屏蔽的信号接垫布置方式。7 and 8 illustrate the layout of signal pads including electrostatic discharge protection and pad shielding.

图9A-图9C为现有技术中适用于双线通道PHY模式和三线通道PHY模式的终端电路。9A-9C are terminal circuits suitable for two-wire channel PHY mode and three-wire channel PHY mode in the prior art.

图10A-图10D为本发明实施例中适用于四信号PMA的终端电路。10A-10D are terminal circuits suitable for four-signal PMA in an embodiment of the present invention.

图11A-图11D为本发明实施例中适用于六信号PMA的终端电路。11A-11D are terminal circuits suitable for a six-signal PMA in an embodiment of the present invention.

图12为本发明的一个实施例中用于三线通信连线的接收器中的CDR电路。FIG. 12 is a CDR circuit in a receiver for a three-wire communication link according to an embodiment of the present invention.

图13为关于具有工作周期校正电路的CDR电路的信号时序图。FIG. 13 is a signal timing diagram for a CDR circuit having a duty cycle correction circuit.

图14为工作周期校正电路的一个实施例的详细电路图。14 is a detailed circuit diagram of one embodiment of a duty cycle correction circuit.

图15与图16解释图14的工作周期校正电路的运作的信号时序图。15 and 16 are signal timing diagrams explaining the operation of the duty cycle correction circuit of FIG. 14 .

图17为工作周期校正电路的另一个实施例的详细电路图。FIG. 17 is a detailed circuit diagram of another embodiment of the duty cycle correction circuit.

图18解释图17的工作周期校正电路的运作的信号时序图。FIG. 18 is a signal timing diagram illustrating the operation of the duty cycle correction circuit of FIG. 17 .

图19为本发明的另一个实施例中用于三线通信连线的接收器中的CDR电路。FIG. 19 is a CDR circuit in a receiver for a three-wire communication link in another embodiment of the present invention.

图20解释图19的延迟校正电路的运作的信号时序图。FIG. 20 is a signal timing diagram illustrating the operation of the delay correction circuit of FIG. 19 .

附图标号reference number

800、900、110、210、411、412 实体媒介附加子层800, 900, 110, 210, 411, 412 Physical Media Additional Sublayer

600 终端电路600 Termination Circuit

811-813、911-916 差动放大器811-813, 911-916 Difference Amplifier

821、822、1110、1112、921、923、925 S/H电路821, 822, 1110, 1112, 921, 923, 925 S/H circuit

823、1111、922、924、1010、1200 CDR电路823, 1111, 922, 924, 1010, 1200 CDR circuits

831、832、833、1120、931-935、1020 解序列器831, 832, 833, 1120, 931-935, 1020 Deserializers

840、1130、941、942、1030 缓冲器840, 1130, 941, 942, 1030 buffers

845、1035、943、944 符元解码器845, 1035, 943, 944 symbol decoders

850、1040、951、952 数据处理单元850, 1040, 951, 952 Data Processing Unit

100、200、300、400 实体层电路100, 200, 300, 400 physical layer circuits

320、322、420、422 ESD防护电路320, 322, 420, 422 ESD protection circuit

330、430 实体编码子层330, 430 entity coding sublayer

500、600、700 终端电路500, 600, 700 Termination Circuits

1210-1223、2011-2013 延迟单元1210-1223, 2011-2013 Delay Unit

1221-1223、2021-2023、2091-2092 XOR闸1221-1223, 2021-2023, 2091-2092 XOR gate

1231-1233、2031-2033 锁存器1231-1233, 2031-2033 Latch

1240、2040 OR闸1240, 2040 OR gate

1250、1500、1800 工作周期校正电路1250, 1500, 1800 duty cycle correction circuit

1260、2060 对齐延迟单元1260, 2060 aligned delay units

1281-1282、2081-2082 取样单元1281-1282, 2081-2082 Sampling Unit

1271-1272、2071-2072 除频器1271-1272, 2071-2072 Frequency divider

1511-1512 选择器1511-1512 selector

1520 TDC1520 TDC

1530、1820 数字控制逻辑1530, 1820 Digital Control Logic

1540、1830 NAND闸1540, 1830 NAND gate

1550、1840 可编程延迟线1550, 1840 Programmable Delay Lines

1810 比较器1810 Comparator

2000 延迟调整单元2000 Delay Adjustment Unit

具体实施方式Detailed ways

在以下内文中,描述了许多具体细节以提供阅读者对本发明实施例的透彻理解。然而,本领域的技术人士将能理解,如何在缺少一个或多个具体细节的情况下,或者利用其他方法或元件或材料等来实现本发明。在其他情况下,众所皆知的结构、材料或操作不会被示出或详细描述,从而避免模糊本发明的核心概念。In the following text, numerous specific details are described in order to provide the reader with a thorough understanding of the embodiments of the present invention. However, one skilled in the art will understand how to practice the invention in the absence of one or more of the specific details, or with other methods or elements or materials, and the like. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring the core concepts of the invention.

说明书中提到的“一实施例”意味着该实施例所描述的特定特征、结构或特性可能被包含于本发明的至少一个实施例中。因此,本说明书中各处出现的“在一实施例中”不一定意味着同一个实施例。此外,前述的特定特征、结构或特性可以以任何合适的形式在一个或多个实施例中结合。Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in the embodiment may be included in at least one embodiment of the present invention. Thus, the appearances of "in an embodiment" in various places in this specification do not necessarily mean the same embodiment. Furthermore, the particular features, structures or characteristics described above may be combined in any suitable form in one or more embodiments.

本发明主要在接收器的实体层电路(PHY)中提供四信号(four-signal)实体媒介附加子层(physical medium attachment sublayer,PMA)和/或六信号(six-signal)PMA,用于与符合MIPI C-PHY规范或其他类型使用三条信号线来形成通道的PHY规范(以下称为三线通道(three-wire lane)PHY),以及与符合MIPI C-PHY规范或其他类型使用两条信号线来形成通道的PHY规范(以下称为双线通道(two-wire lane)PHY)进行通信连线。在本发明的实施例中,四信号PMA和六信号PMA可以以智慧财产权(intellectual property,IP)核心,IP方块或功能方块的形式实现,以提高设计生产率并使高度复杂的集成电路开发易于管理。The present invention mainly provides a four-signal (four-signal) physical medium attachment sublayer (PMA) and/or a six-signal (six-signal) PMA in a physical layer circuit (PHY) of a receiver for interfacing with Compliant with the MIPI C-PHY specification or other types of PHY specifications that use three signal lines to form a lane (hereafter referred to as three-wire lane PHY), and with MIPI C-PHY specification or other types that use two signal lines A PHY specification for forming a lane (hereinafter referred to as a two-wire lane PHY) is used for communication wiring. In embodiments of the present invention, four-signal PMA and six-signal PMA may be implemented in the form of intellectual property (IP) cores, IP blocks or functional blocks to increase design productivity and make highly complex integrated circuit development manageable .

本发明的四信号PMA和六信号PMA都可以设置为与运作在MIPI D-PHY模式(或其他类型的双线通道PHY模式)和MIPI C-PHY模式(或其他类型的三线通道PHY模式)之一。对于它们中的每一者,四信号PMA可以为一个通信连线提供两个“双线”通道或一个“三线”通道,而六信号PMA可以为一个通信连线提供三个“双线”通道或两个“三线“通道”。Both the four-signal PMA and the six-signal PMA of the present invention can be configured to operate in either MIPI D-PHY mode (or other type of two-wire channel PHY mode) and MIPI C-PHY mode (or other type of three-wire channel PHY mode) one. For each of them, a four-signal PMA can provide two "two-wire" channels or one "three-wire" channel for one communication link, while a six-signal PMA can provide three "two-wire" channels for one communication link or two "three-wire" channels.

由于这些不同PHY模式的信号特性,需要不同的信号处理过程/硬体资源来处理符合不同PHY规范的信号。如下列内文所述,本发明提供了用于四信号和六信号PMA的接垫布置方式、终端电路、解序列结构和时脉与数据回复电路。Due to the signal characteristics of these different PHY modes, different signal processing procedures/hardware resources are required to process signals conforming to different PHY specifications. As described in the text below, the present invention provides pad arrangements, termination circuits, de-sequencing structures, and clock and data recovery circuits for four- and six-signal PMAs.

发明整体Invention as a whole

请参考图1,其为根据本发明实施例的PHY电路的一部分的示意图。如图所示,PHY电路包括四信号PMA 800和四个信号接垫D0P_T0A、D0N_T0B、D1P_T0C和D1N,以及四信号终端电路600。信号接垫D0P_T0A、D0N_T0B、D1P_T0C和D1N分别耦接至四信号PMA 800中的差动放大器811-813。四信号终端电路600还分别耦接到信号接垫D0P_T0A、D0N_T0B、D1P_T0C和D1N。因此,差动放大器811-813分别耦接到终端电路600。Please refer to FIG. 1 , which is a schematic diagram of a portion of a PHY circuit according to an embodiment of the present invention. As shown, the PHY circuit includes a four-signal PMA 800 and four signal pads D0P_T0A, D0N_T0B, D1P_TOC, and D1N, and a four-signal termination circuit 600 . The signal pads D0P_T0A, D0N_T0B, D1P_TOC and D1N are respectively coupled to the differential amplifiers 811 - 813 in the four-signal PMA 800 . The four-signal termination circuit 600 is also coupled to the signal pads D0P_T0A, D0N_T0B, D1P_T0C and D1N, respectively. Therefore, the differential amplifiers 811-813 are coupled to the termination circuit 600, respectively.

通常,本实施例中的四信号PMA 800支援双线通道的PHY模式(例如MIPI D-PHY)和三线通道的PHY模式(例如MIPI C-PHY)。当四信号PMA 800被设配置为MIPI D-PHY模式且在MIPI D-PHY模式下操作于进行MIPI D-PHY的通信连线时,它可以支援2个双线通道,信号接垫D0P_T0A和D0N_T0B连接到第一个双线通道,而信号接垫D1P_T0C和D1N连接到第二个双线通道。或者,当四信号PMA 800被设置为MIPI C-PHY模式且在MIPI C-PHY模式下操作于进行MIPI C-PHY的通信连线时,信号接垫D0P_T0A,D0N_T0B和D1P_T0C被连接到一个三线通道。Generally, the four-signal PMA 800 in this embodiment supports a PHY mode of a two-wire channel (eg, MIPI D-PHY) and a PHY mode of a three-wire channel (eg, MIPI C-PHY). When the four-signal PMA 800 is configured in MIPI D-PHY mode and operating in MIPI D-PHY mode for MIPI D-PHY communication, it can support 2 two-wire lanes, signal pads D0P_T0A and D0N_T0B Connect to the first two-wire channel, while signal pads D1P_T0C and D1N connect to the second two-wire channel. Alternatively, when the four-signal PMA 800 is set to MIPI C-PHY mode and operating in MIPI C-PHY mode for MIPI C-PHY communications, the signal pads D0P_T0A, D0N_T0B and D1P_T0C are connected to a three-wire channel .

在MIPI D-PHY模式/信号连线的情形中,信号接垫D0P_T0A和D0N_T0B耦接到差动放大器811,并且差动放大器811基于信号接垫D0P_T0A和D0N_T0B上的信号之间的差异输出差动信号D0。信号接垫D1P_T0C和D1N通过开关耦接到差动放大器813,并且差动放大器813基于信号接垫D1P_T0C和D1N上的信号之间的差异输出差动信号D1。此外,一第一信号处理区块耦接到差动放大器811。并且,当四信号PMA 800以MIPI D-PHY模式操作时,该第一信号处理区块用于处理差动信号D0。一第三信号处理区块耦接到差动放大器811。并且,当四信号PMA 800以MIPI D-PHY模式操作时,该第三信号处理区块用于处理差动信号D1。In the case of MIPI D-PHY mode/signal wiring, the signal pads D0P_T0A and D0N_T0B are coupled to the differential amplifier 811, and the differential amplifier 811 outputs a differential based on the difference between the signals on the signal pads D0P_T0A and D0N_T0B signal D0. The signal pads D1P_TOC and D1N are coupled to the differential amplifier 813 through switches, and the differential amplifier 813 outputs a differential signal D1 based on the difference between the signals on the signal pads D1P_TOC and D1N. In addition, a first signal processing block is coupled to the differential amplifier 811 . And, when the four-signal PMA 800 operates in MIPI D-PHY mode, the first signal processing block is used to process the differential signal D0. A third signal processing block is coupled to the differential amplifier 811 . Also, when the four-signal PMA 800 operates in MIPI D-PHY mode, the third signal processing block is used to process the differential signal D1.

在一个实施例中,该第一信号处理区块至少包含取样与保持(sample and hold,S/H)电路821。S/H电路821根据差动信号D0产生序列数据信号D0[1:0]和时脉信号D0_CK。第三信号处理区块至少包括S/H电路823,并且S/H电路823根据差动信号D1产生序列数据信号D1[1:0]和时脉信号D1_CK。In one embodiment, the first signal processing block includes at least a sample and hold (S/H) circuit 821 . The S/H circuit 821 generates the sequence data signal D0[1:0] and the clock signal D0_CK according to the differential signal D0. The third signal processing block includes at least an S/H circuit 823, and the S/H circuit 823 generates a sequence data signal D1[1:0] and a clock signal D1_CK according to the differential signal D1.

在一个实施例中,第一信号处理区块还可以包括2至8解序列器(2-to-8deserializer)831,其耦接到S/H电路821。S/H电路821输出数据信号D0[1:0]和时脉信号D0_CK到2至8解序列器831。2至8解序列器831对它们进行解序列操作,以产生多个并列数据信号D0[7:0]和时脉信号D0_BCK。第三信号处理区块还可以包括2至8解序列器833,其耦接到S/H电路823。S/H电路823将数据信号D1[1:0]和时脉信号D1_CK输出到2至8解序列器833。2至8解序列器833对它们进行解序列操作,以产生多个并列数据信号D1[7:0]和时脉信号D1_BCK。In one embodiment, the first signal processing block may further include a 2-to-8 deserializer 831 coupled to the S/H circuit 821 . The S/H circuit 821 outputs the data signal D0[1:0] and the clock signal D0_CK to the 2-to-8 deserializer 831. The 2-to-8 deserializer 831 performs a deserialization operation on them to generate a plurality of parallel data signals D0 [7:0] and clock signal D0_BCK. The third signal processing block may also include a 2 to 8 deserializer 833 coupled to the S/H circuit 823 . The S/H circuit 823 outputs the data signal D1[1:0] and the clock signal D1_CK to the 2-to-8 deserializer 833. The 2-to-8 deserializer 833 performs a deserialization operation on them to generate a plurality of parallel data signals D1[7:0] and the clock signal D1_BCK.

在MIPI C-PHY模式/信号连线的情形中,信号接垫D0P_T0A、D0N_T0B与D1P_T0C耦接到差动放大器811-813。差动放大器811基于信号接垫D0P_T0A和D0N_T0B上的信号之间的差异输出差动信号T0AB。差动放大器812基于信号接垫D1P_T0C与D0P_T0A上的信号之间的差异输出差动信号T0CA。差动放大器813基于信号接垫D0P_T0B与D1P_T0C上的信号之间的差异输出差动信号T0BC。差动放大器811-813耦接至一第二信号处理区块。当四信号PMA800以MIPI C-PHY模式操作时,该第二信号处理区块用于处理差动信号T0AB、T0BC与T0CA。In the case of MIPI C-PHY mode/signal wiring, the signal pads D0P_T0A, D0N_T0B and D1P_TOC are coupled to differential amplifiers 811-813. The differential amplifier 811 outputs a differential signal TOAB based on the difference between the signals on the signal pads D0P_TOA and D0N_TOB. The differential amplifier 812 outputs a differential signal TOCA based on the difference between the signals on the signal pads D1P_TOC and D0P_TOA. The differential amplifier 813 outputs a differential signal TOBC based on the difference between the signals on the signal pads D0P_TOB and D1P_TOC. The differential amplifiers 811-813 are coupled to a second signal processing block. When the four-signal PMA 800 operates in MIPI C-PHY mode, the second signal processing block is used to process the differential signals TOAB, TOBC and TOCA.

在一实施例中,第二信号处理区块至少包含C-PHY时脉与数据恢复(Clock anddata recovery,CDR)电路822,并且C-PHY CDR电路822根据差动信号T0AB、T0BC、和T0CA产生一组序列数据信号T0AB[1:0]、T0BC[1:0]和T0CA[1:0]以及相应的时脉信号T0_CK。In one embodiment, the second signal processing block at least includes a C-PHY clock and data recovery (Clock and data recovery, CDR) circuit 822, and the C-PHY CDR circuit 822 generates according to the differential signals TOAB, TOBC, and TOCA A set of sequence data signals TOAB[1:0], TOBC[1:0] and TOCA[1:0] and corresponding clock signal TO_CK.

在一个实施例中,第二信号处理区块至少包含耦接到C-PHY CDR电路822的2至8解序列器832。C-PHY CDR电路822输出信号T0AB[1:0]、T0BC[1:0]与T0CA[1:0]和T0_CK到2至8解序列器832。2至8解序列器832根据时脉信号T0CK,对信号T0AB[1:0]、T0BC[1:0]与T0CA[1:0]进行解序列操作,从而产生一组并行数据信号T0AB[7:0]、T0BC[7:0]、T0CA[7:0]和相应的时脉信号T0_BCK。In one embodiment, the second signal processing block includes at least a 2-to-8 deserializer 832 coupled to the C-PHY CDR circuit 822 . C-PHY CDR circuit 822 output signals TOAB[1:0], TOBC[1:0] and TOCA[1:0] and T0_CK to 2 to 8 deserializer 832. 2 to 8 deserializer 832 according to the clock signal TOCK, de-sequence the signals TOAB[1:0], TOBC[1:0] and TOCA[1:0] to generate a set of parallel data signals TOAB[7:0], TOBC[7:0], T0CA[7:0] and the corresponding clock signal T0_BCK.

2至8解序列器832进一步耦接到8至7先进先出缓冲器(first-in,first-outbuffer,FIFO)840,并且8至7 FIFO 840将8位元数据信号T0AB[7:0]、T0BC[7:0]与T0CA[7:0]转换为7位元长。8至7 FIFO 840耦接到7符元解码单元(7-symbol decoding unit)845。7符元解码单元845用于解码从8至7 FIFO 840读取出的数据信号,从而产生数据符元。7符元解码单元845耦接到数据处理单元850。数据处理单元850用于处理7符元解码单元845输出的数据符元。数据处理单元850可包括7符元至16位元解映射器(demapper),用于将从7符元解码单元845所接收的每7个符元解映射为16位元数据字组。The 2-to-8 deserializer 832 is further coupled to an 8-to-7 first-in, first-outbuffer, FIFO 840, and the 8-to-7 FIFO 840 converts the 8-bit metadata signal TOAB[7:0] , TOBC[7:0] and TOCA[7:0] are converted to 7-bit length. The 8-to-7 FIFO 840 is coupled to a 7-symbol decoding unit 845. The 7-symbol decoding unit 845 is used to decode the data signal read from the 8-to-7 FIFO 840 to generate data symbols. The 7-symbol decoding unit 845 is coupled to the data processing unit 850 . The data processing unit 850 is used for processing the data symbols output by the 7-symbol decoding unit 845 . Data processing unit 850 may include a 7-symbol to 16-bit demapper for demapping every 7-symbol received from 7-symbol decoding unit 845 into 16-bit data blocks.

此外,8至7 FIFO 840、7符元解码单元845和数据处理单元850共同作为为四信号PMA 800中的C-PHY解码处理器860。此外,四信号PMA 800中的8至7 FIFO和7符元解码单元的顺序是可互换的。根据本发明的不同实施例,符元解码单元可以设置在FIFO之前(可参考申请人的美国专利申请案,案号为15/956,709,其中公开了符元解码单元在FIFO之前的架构)。In addition, the 8-to-7 FIFO 840 , the 7-symbol decoding unit 845 and the data processing unit 850 together function as the C-PHY decoding processor 860 in the four-signal PMA 800 . Furthermore, the order of the 8-to-7 FIFOs and 7-symbol decoding units in the four-signal PMA 800 are interchangeable. According to different embodiments of the present invention, the symbol decoding unit may be arranged before the FIFO (refer to the applicant's US Patent Application No. 15/956,709, which discloses the structure of the symbol decoding unit before the FIFO).

由于四信号PMA 800可能不会同时操作在MIPI D-PHY模式与MIPI C-PHY模式中,因此可以减少配置在四信号PMA 800中的2至8解序列器的数量。请参考图2以更进一步理解。当操作MIPI D-PHY模式中时,S/H电路1110和1112可以共享同一个2至8解序列器1120,并且2至8解序列器1120分别根据时脉信号D0_CK和D1_CK,对数据信号D0[1:0]和D1[1:0]进行解序列化。另一方面,当在MIPI C-PHY模式中操作时,C-PHY CDR电路1111仅需要一个2至8解序列器1120,并且2至8解序列器1120根据时脉信号T0_CK,对数据信号T0AB[1:0]、T0BC[1:0]和T0CA[1:0]进行解序列化。与图1中的四信号PMA 800所需的三个单独的解序列器831-833相较,这种实现方式显著地提高了电路面积利用效率。Since the quad-signal PMA 800 may not operate in MIPI D-PHY mode and MIPI C-PHY mode at the same time, the number of 2 to 8 deserializers configured in the quad-signal PMA 800 may be reduced. Please refer to Figure 2 for further understanding. When operating in MIPI D-PHY mode, the S/H circuits 1110 and 1112 may share the same 2-to-8 deserializer 1120, and the 2-to-8 deserializer 1120 aligns the data signal D0 according to the clock signals D0_CK and D1_CK, respectively [1:0] and D1[1:0] for deserialization. On the other hand, when operating in MIPI C-PHY mode, the C-PHY CDR circuit 1111 only needs one 2-to-8 deserializer 1120, and the 2-to-8 deserializer 1120 aligns the data signal TOAB according to the clock signal TO_CK [1:0], TOBC[1:0] and TOCA[1:0] for deserialization. Compared to the three separate de-sequencers 831-833 required by the four-signal PMA 800 of FIG. 1, this implementation significantly improves circuit area utilization efficiency.

图3为可以支援MIPI D-PHY通信连线和MIPI C-PHY通信连线的本发明的另一实施例。如图所示,图3中的PHY电路包含六信号PMA 900、信号D0P_T0A、D0N_T0B、D1P_T0C、D1N_T1A、D2P_T1B和D2N_T1C以及六信号终端电路700。信号接垫D0P_T0A、D0N_T0B、D1P_T0C、D1N_T1A、D2P_T1B和D2N_T1C分别耦接到6信号PMA 900的差动放大器911-916。六信号终端电路700也分别耦接到信号接垫D0P_T0A、D0N_T0B、D1P_T0C、D1N_T1A、D2P_T1B和D2N_T1C。因此,差动放大器911-916分别耦接到六信号终端电路700。FIG. 3 is another embodiment of the present invention that can support MIPI D-PHY communication lines and MIPI C-PHY communication lines. As shown, the PHY circuit in FIG. 3 includes six-signal PMA 900 , signals D0P_T0A, D0N_T0B, D1P_TOC, D1N_T1A, D2P_T1B, and D2N_T1C, and six-signal termination circuit 700 . Signal pads D0P_T0A, D0N_T0B, D1P_T0C, D1N_T1A, D2P_T1B, and D2N_T1C are coupled to differential amplifiers 911-916 of 6-signal PMA 900, respectively. The six signal termination circuits 700 are also coupled to the signal pads D0P_T0A, D0N_T0B, D1P_T0C, D1N_T1A, D2P_T1B and D2N_T1C, respectively. Thus, differential amplifiers 911-916 are coupled to the six-signal termination circuit 700, respectively.

当六信号PMA 900被设置为MIPI D-PHY模式,并在MIPI D-PHY模式下操作于基于MIPI D-PHY的通信连线中时,信号接垫D0P_T0A和D0N_T0B被连接到MIPI D-PHY通信连线中的第一个双线通道,信号接垫D1P_T0C和D1N_T1A被连接到MIPI D-PHY通信连线中的第二个双线通道,并且接垫D2P_T1C和D2N_T1C被连接到MIPI D-PHY通信连线中的第三个双线通道。或者,当六信号PMA 900被设置为MIPI C-PHY模式,并在MIPI C-PHY模式下操作于基于MIPI C-PHY的通信连线中时,信号接垫D0P_T0A、D0N_T0B和D1P_T0C被连接到MIPI C-PHY通信连线中的第一个三线通道,信号接垫D1N_T1A,D2P_T1B和D2N_T1C连接到MIPI C-PHY通信连线中的第二个三线通道。When the six-signal PMA 900 is set to MIPI D-PHY mode and operating in MIPI D-PHY based communication lines in MIPI D-PHY mode, the signal pads D0P_T0A and D0N_T0B are connected to MIPI D-PHY communication The first 2-wire lane in the wire, the signal pads D1P_T0C and D1N_T1A are connected to the second 2-wire lane in the MIPI D-PHY communication wire, and the pads D2P_T1C and D2N_T1C are connected to the MIPI D-PHY communication The third two-wire channel in the wire. Alternatively, when the six-signal PMA 900 is set to MIPI C-PHY mode and operates in MIPI C-PHY based communication lines in MIPI C-PHY mode, the signal pads D0P_T0A, D0N_T0B and D1P_T0C are connected to MIPI The first 3-wire lane in the C-PHY communication wire, the signal pads D1N_T1A, D2P_T1B and D2N_T1C are connected to the second 3-wire lane in the MIPI C-PHY communication wire.

在MIPI D-PHY模式/通信连线的情况下,信号接垫D0P_T0A和D0N_T0B耦接到差动放大器911,并且差动放大器911基于信号接垫D0P_T0A和D0N_T0B上的信号之间的差异输出差动信号D0。信号接垫D1P_T0C和D1N_T1A通过开关耦接到差动放大器913,并且差动放大器913基于信号接垫D1P_T0C和D1N_T1A上的信号之间的差异输出差动信号D1。信号接垫D2P_T1B和D2N_T1C通过开关耦接到差动放大器916,并且差动放大器916基于信号接垫D2P_T1B和D2N_T1C上的信号之间的差异输出差动信号D2。此外,第一信号处理区块耦接到差动放大器911,并且当六信号PMA 900操作于MIPI D-PHY模式时,第一信号处理区块被用于处理差动信号D0。第三信号处理区块耦接到差动放大器913,并且当六信号PMA 900操作于MIPI D-PHY模式时,第三信号处理区块被用于处理差动信号D1。第五信号处理区块耦接到差动放大器916,并且当六信号PMA 900操作于MIPI D-PHY模式时,第五信号处理区块被用于处理差动信号D2。In the case of MIPI D-PHY mode/communication link, the signal pads D0P_T0A and D0N_T0B are coupled to the differential amplifier 911, and the differential amplifier 911 outputs a differential based on the difference between the signals on the signal pads D0P_T0A and D0N_T0B signal D0. The signal pads D1P_TOC and D1N_T1A are coupled to the differential amplifier 913 through switches, and the differential amplifier 913 outputs a differential signal D1 based on the difference between the signals on the signal pads D1P_TOC and D1N_T1A. Signal pads D2P_T1B and D2N_T1C are coupled to differential amplifier 916 through switches, and differential amplifier 916 outputs differential signal D2 based on the difference between the signals on signal pads D2P_T1B and D2N_T1C. Furthermore, the first signal processing block is coupled to the differential amplifier 911 and is used to process the differential signal D0 when the six-signal PMA 900 operates in MIPI D-PHY mode. The third signal processing block is coupled to the differential amplifier 913 and is used to process the differential signal D1 when the six-signal PMA 900 operates in MIPI D-PHY mode. The fifth signal processing block is coupled to the differential amplifier 916 and is used to process the differential signal D2 when the six-signal PMA 900 is operating in MIPI D-PHY mode.

在一个实施例中,第一信号处理区块至少包括S/H电路921。S/H电路921根据信号D0,产生序列数据信号D0[1:0]和时脉信号D0_CK。第三信号处理区块至少包括S/H电路923,并且,S/H电路923根据信号D1,产生序列数据信号D1[1:0]和时脉信号D1_CK。第五信号处理区块至少包括S/H电路925,S/H电路925根据信号D2,产生序列数据信号D2[1:0]和时脉信号D2_CK。In one embodiment, the first signal processing block includes at least the S/H circuit 921 . The S/H circuit 921 generates the sequence data signal D0[1:0] and the clock signal D0_CK according to the signal D0. The third signal processing block includes at least an S/H circuit 923, and the S/H circuit 923 generates a sequence data signal D1[1:0] and a clock signal D1_CK according to the signal D1. The fifth signal processing block includes at least an S/H circuit 925, and the S/H circuit 925 generates a sequence data signal D2[1:0] and a clock signal D2_CK according to the signal D2.

在一个实施例中,第一信号处理区块还可以包括2至8解序列器931,其耦接到S/H电路921。S/H电路921输出数据信号D0[1:0]和时脉信号D0_CK到2至8解序列器931。2至8解序列器931对这些信号进行解序列操作,以产生多个并列数据信号D0[7:0]和时脉信号D0_BCK。第三信号处理区块还可以包括2至8解序列器933,其耦接到S/H电路923。S/H电路923输出数据信号D1[1:0]和时脉信号D1_CK到2至8解序列器933。2至8解序列器933对这些信号进行解序列操作,以产生多个并列数据信号D1[7:0]和时脉信号D1_BCK。第五信号处理区块还可以包括2至8解序列器935,其耦接到S/H电路925。S/H电路925输出数据信号D2[1:0]和时脉信号D2_CK到2至8解序列器935。2至8解序列器935对这些信号进行解序列操作,以产生多个并列数据信号D2[7:0]和时脉信号D2_BCK。In one embodiment, the first signal processing block may further include a 2 to 8 deserializer 931 coupled to the S/H circuit 921 . The S/H circuit 921 outputs the data signal D0[1:0] and the clock signal D0_CK to the 2-to-8 deserializer 931. The 2-to-8 deserializer 931 performs a deserialization operation on these signals to generate a plurality of parallel data signals D0[7:0] and the clock signal D0_BCK. The third signal processing block may also include a 2-to-8 deserializer 933 coupled to the S/H circuit 923 . The S/H circuit 923 outputs the data signal D1[1:0] and the clock signal D1_CK to the 2-to-8 deserializer 933. The 2-to-8 deserializer 933 performs a deserialization operation on these signals to generate a plurality of parallel data signals D1[7:0] and the clock signal D1_BCK. The fifth signal processing block may also include a 2-to-8 deserializer 935 coupled to the S/H circuit 925 . The S/H circuit 925 outputs the data signal D2[1:0] and the clock signal D2_CK to the 2-to-8 deserializer 935. The 2-to-8 deserializer 935 performs a deserialization operation on these signals to generate a plurality of parallel data signals D2[7:0] and the clock signal D2_BCK.

在MIPI C-PHY模式/通信连线的情况下,信号接垫D0P_T0A和D0N_T0B耦接到差动放大器911,并且差动放大器911基于信号接垫D0P_T0A和D0N_T0B上的信号之间的差异,输出差动信号T0AB。信号接垫D0P_T0A和D1P_T0C耦接到差动放大器912,并且差动放大器912基于信号接垫D0P_T0A和D1P_T0C上的信号之间的差异,输出差动信号T0CA。信号接垫D1P_T0C和D0N_T0B通过开关耦接到差动放大器913,并且差动放大器913基于信号接垫D1P_T0C和D0N_T0B上的信号之间的差异,输出差动信号T0BC。信号接垫D1N_T1A和D2P_T1B耦接到差动放大器914,差动放大器914基于信号接垫D1N_T1A和D2P_T1B上的信号之间的差异,输出差动信号T1AB。信号接垫D1N_T1A和D2N_T1C耦接到差动放大器915,并且差动放大器915基于信号接垫D1N_T1A和D2N_T1C上的信号之间的差异,输出差动信号T1CA。信号接垫D2P_T1B和D2N_T1C通过开关耦接到差动放大器916,并且差动放大器916基于信号接垫D2P_T1B和D2N_T1C上的信号之间的差异,输出差动信号T1BC。In the case of MIPI C-PHY mode/communication link, the signal pads D0P_T0A and D0N_T0B are coupled to the differential amplifier 911, and the differential amplifier 911 outputs a difference based on the difference between the signals on the signal pads D0P_T0A and D0N_T0B Motion signal TOAB. The signal pads D0P_TOA and D1P_TOC are coupled to the differential amplifier 912, and the differential amplifier 912 outputs a differential signal TOCA based on the difference between the signals on the signal pads D0P_TOA and D1P_TOC. The signal pads D1P_TOC and D0N_TOB are coupled to the differential amplifier 913 through switches, and the differential amplifier 913 outputs a differential signal TOBC based on the difference between the signals on the signal pads D1P_TOC and D0N_TOB. The signal pads D1N_T1A and D2P_T1B are coupled to a differential amplifier 914, which outputs a differential signal T1AB based on the difference between the signals on the signal pads D1N_T1A and D2P_T1B. The signal pads D1N_T1A and D2N_T1C are coupled to the differential amplifier 915, and the differential amplifier 915 outputs a differential signal T1CA based on the difference between the signals on the signal pads D1N_T1A and D2N_T1C. Signal pads D2P_T1B and D2N_T1C are coupled to differential amplifier 916 through switches, and differential amplifier 916 outputs differential signal T1BC based on the difference between the signals on signal pads D2P_T1B and D2N_T1C.

差动放大器911-913还耦接到一个第二信号处理区块。当六信号PMA 900被设置为MIPI C-PHY模式时,第二信号处理区块用于处理差动信号T0AB、T0BC和T0CA。差动放大器914-916还耦接到一个第四信号处理区块。当六信号PMA 900被设置为MIPI C-PHY模式时,第四信号处理区块用于处理差动信号T1AB、T1BC和T1CA。The differential amplifiers 911-913 are also coupled to a second signal processing block. When the six-signal PMA 900 is set to MIPI C-PHY mode, the second signal processing block is used to process the differential signals TOAB, TOBC and TOCA. The differential amplifiers 914-916 are also coupled to a fourth signal processing block. When the six-signal PMA 900 is set to MIPI C-PHY mode, the fourth signal processing block is used to process the differential signals T1AB, T1BC and T1CA.

在一实施例中,第二信号处理区块至少包括C-PHY CDR电路922,并且C-PHY CDR电路922根据信号T0AB、T0BC和T0CA,产生一组序列数据信号T0AB[1:0]、T0BC[1:0]与T0CA[1:0]以及相应的时脉信号T0_CK。第四信号处理区块至少包括C-PHY CDR电路924,并且根据信号T1AB、T1BC和T1CA,产生一组序列数据信号T1AB[1:0]、T1BC[1:0]与T1CA[1:0]以及相应的时脉信号T1_CK。In one embodiment, the second signal processing block includes at least a C-PHY CDR circuit 922, and the C-PHY CDR circuit 922 generates a set of sequence data signals TOAB[1:0], TOBC according to the signals TOAB, TOBC and TOCA [1:0] and TOCA[1:0] and the corresponding clock signal T0_CK. The fourth signal processing block includes at least the C-PHY CDR circuit 924 and generates a set of sequence data signals T1AB[1:0], T1BC[1:0] and T1CA[1:0] according to the signals T1AB, T1BC and T1CA and the corresponding clock signal T1_CK.

在一实施例中,第二信号处理区块还可以包括2至8解序列器932,其耦接到C-PHYCDR电路922。C-PHY CDR电路922输出信号T0AB[1:0]、T0BC[1:0]、T0CA[1:0]和T0_CK到2至8解序列器932。2至8解序列器932根据时脉信号T0CK,对信号T0AB[1:0]、T0BC[1:0]与T0CA[1:0]进行解序列操作,从而产生一组并列数据信号T0AB[7:0]、T0BC[7:0]、T0CA[7:0]和相应的时脉信号T0_BCK。第四信号处理区块还可以包括2至8解序列器934,其耦接到C-PHYCDR电路924。C-PHY CDR电路924输出信号T1AB[1:0]、T1BC[1:0]、T1CA[1:0]和T1_CK到2至8解序列器934。2至8解序列器934根据时脉信号T1CK,对信号T1AB[1:0]、T1BC[1:0]与T1CA[1:0]进行解序列操作,从而产生一组并列数据信号T1AB[7:0]、T1BC[7:0]、T1CA[7:0]和相应的时脉信号T1_BCK。In one embodiment, the second signal processing block may further include a 2-to-8 deserializer 932 coupled to the C-PHY CDR circuit 922 . C-PHY CDR circuit 922 output signals TOAB[1:0], TOBC[1:0], TOCA[1:0] and T0_CK to 2 to 8 deserializer 932. 2 to 8 deserializer 932 according to the clock signal TOCK, de-sequence the signals TOAB[1:0], TOBC[1:0] and TOCA[1:0] to generate a set of parallel data signals TOAB[7:0], TOBC[7:0], T0CA[7:0] and the corresponding clock signal T0_BCK. The fourth signal processing block may also include a 2-to-8 deserializer 934 coupled to the C-PHYCDR circuit 924 . C-PHY CDR circuit 924 output signals T1AB[1:0], T1BC[1:0], T1CA[1:0] and T1_CK to 2 to 8 deserializer 934. 2 to 8 deserializer 934 according to the clock signal T1CK, perform a de-sequencing operation on the signals T1AB[1:0], T1BC[1:0] and T1CA[1:0], thereby generating a set of parallel data signals T1AB[7:0], T1BC[7:0], T1CA[7:0] and the corresponding clock signal T1_BCK.

在一个实施例中,2至8解序列器932进一步耦合到8至7 FIFO 941,并且8至7 FIFO941将8位元数据信号T0AB[7:0]、T0BC[7:0]、T0CA[7:0]转换为7位元长。8至7 FIFO 941耦接到7符元解码单元943。7符元解码单元943用于解码从8至7 FIFO 941中读取到的数据信号,从而产生数据符元。7符元解码单元943耦接到数据处理单元951。数据处理单元951用于处理由7符元解码单元943输出的数据符元。数据处理单元951可包括7符元至16位元解映射器,用于将从7符元解码单元943接收的每7个符元解映射成16位元数据字组。此外,8至7FIFO 941、7符元解码单元943和数据处理单元951共同作用为六信号PMA 900中的C-PHY解码处理器960。此外,本发明的六信号PMA中的FIFO和符元解码单元的顺序是可互换的。根据本发明的各种实施例,符元解码单元亦可设置在FIFO之前(可参考申请人的美国专利申请案,案号为15/956,709,其中公开了符元解码单元在FIFO之前的架构)。In one embodiment, the 2-to-8 deserializer 932 is further coupled to the 8-to-7 FIFO 941, and the 8-to-7 FIFO 941 converts the 8-bit metadata signals TOAB[7:0], TOBC[7:0], TOCA[7 :0] is converted to a 7-bit long. The 8-to-7 FIFO 941 is coupled to the 7-symbol decoding unit 943. The 7-symbol decoding unit 943 is used to decode the data signal read from the 8-to-7 FIFO 941, thereby generating data symbols. The 7-symbol decoding unit 943 is coupled to the data processing unit 951 . The data processing unit 951 is used to process the data symbols output by the 7-symbol decoding unit 943 . Data processing unit 951 may include a 7-symbol to 16-bit demapper for demapping every 7-symbol received from 7-symbol decoding unit 943 into 16-bit data blocks. In addition, the 8 to 7 FIFO 941 , the 7-symbol decoding unit 943 and the data processing unit 951 work together as the C-PHY decoding processor 960 in the six-signal PMA 900 . Furthermore, the order of the FIFOs and the symbol decoding units in the six-signal PMA of the present invention are interchangeable. According to various embodiments of the present invention, the symbol decoding unit can also be arranged before the FIFO (refer to the applicant's US patent application, Doc. No. 15/956,709, which discloses the structure of the symbol decoding unit before the FIFO) .

2至8解序列器934进一步耦合到8至7 FIFO 942。8至7 FIFO 942将8位元的数据信号T1AB[7:0]、T1BC[7:0]与T1CA[7:0]转换为7位元长。8至7 FIFO 942耦接到7符元解码单元944。7符元解码单元944用于解码从8至7 FIFO 942中读取的数据信号,从而产生数据符元。7符元解码单元944耦接到数据处理单元952。数据处理单元952用于处理由7符元解码单元944输出的数据符元。数据处理单元952可包括7符元至16位元解映射器,用于将从7符元解码单元944接收的每7个符元解映射为16位数据字组。此外,8至7 FIFO 942、7符元解码单元944和数据处理单元952共同用作六信号PMA 900中的另一个C-PHY解码处理器970。The 2-to-8 deserializer 934 is further coupled to the 8-to-7 FIFO 942. The 8-to-7 FIFO 942 converts the 8-bit data signals T1AB[7:0], T1BC[7:0] and T1CA[7:0] into 7 bits long. The 8-to-7 FIFO 942 is coupled to a 7-symbol decoding unit 944. The 7-symbol decoding unit 944 is used to decode the data signals read from the 8-to-7 FIFO 942, thereby generating data symbols. The 7-symbol decoding unit 944 is coupled to the data processing unit 952 . The data processing unit 952 is used to process the data symbols output by the 7-symbol decoding unit 944 . Data processing unit 952 may include a 7-symbol to 16-bit demapper for demapping every 7-symbol received from 7-symbol decoding unit 944 into 16-bit data blocks. Additionally, the 8-to-7 FIFO 942 , the 7-symbol decoding unit 944 and the data processing unit 952 collectively function as another C-PHY decoding processor 970 in the six-signal PMA 900 .

如上所述,为了电路面积利用效率,可如图2所示的实施例一般,合并2至8解序列器931-933,亦可合并2至8解序列器934和935。As mentioned above, in order to utilize the circuit area efficiently, as in the embodiment shown in FIG. 2 , the 2-to-8 deserializers 931-933 may be combined, or the 2-to-8 deserializers 934 and 935 may be combined.

图4为如何利用时脉信号处理不同阶段的数据信号。如图所示,2至8解序列器1020根据时脉信号TCK对数据信号AB[1:0]、BC[1:0]和CA[1:0]进行解序列操作,其中时脉信号TCK的频率为通信连线的符元率(symbol rate)的一半。8至7 FIFO 1030根据时脉信号BCK将8位元数据信号AB[7:0]、BC[7:0]与CA[7:0]转换为7位长的数据字组,其中时脉信号BCK的频率是符元率的1/8。7符元解码单元1035用于解码从8至7 FIFO 1030中读取的数据信号,以根据时脉信号SCK产生符元。数据处理单元1040耦接到7符号解码单元1035,并且被用于处理从7符元解码单元1035输出的符元。数据处理单元1040可以包括7符元至16位元的解映射器,其被设置为根据时脉信号SCK,将从7符元解码单元1035接收的每7个符元解映射成16位元数据字组,其中时脉信号SCK的频率是符元率的1/7。Figure 4 shows how to use the clock signal to process data signals at different stages. As shown in the figure, the 2-to-8 deserializer 1020 performs deserialization operations on the data signals AB[1:0], BC[1:0] and CA[1:0] according to the clock signal TCK, wherein the clock signal TCK The frequency is half of the symbol rate of the communication link. The 8-to-7 FIFO 1030 converts the 8-bit metadata signals AB[7:0], BC[7:0] and CA[7:0] into 7-bit data blocks according to the clock signal BCK, wherein the clock signal The frequency of BCK is 1/8 of the symbol rate. The 7-symbol decoding unit 1035 is used to decode the data signal read from the 8-to-7 FIFO 1030 to generate symbols according to the clock signal SCK. Data processing unit 1040 is coupled to 7-symbol decoding unit 1035 and is used to process symbols output from 7-symbol decoding unit 1035 . The data processing unit 1040 may include a 7-symbol to 16-bit demapper configured to demap every 7 symbols received from the 7-symbol decoding unit 1035 into 16-bit data according to the clock signal SCK block, where the frequency of the clock signal SCK is 1/7 of the symbol rate.

请注意,图1与图3的实施例中提到的任何特定位元数的数据宽度旨在用于说明目的而不是限制。本领域通常技术人员应可理解如何根据不同的应用和设计要求选择不同的数据宽度位数来设置其中的各个元件,例如四信号和六信号PMA中的解序列器,FIFO、与符元解码单元。Please note that the data widths of any particular number of bits mentioned in the embodiments of FIGS. 1 and 3 are intended for illustrative purposes and not limitations. Those skilled in the art should understand how to choose different data width bits to set up various elements in it according to different applications and design requirements, such as the deserializers in four-signal and six-signal PMA, FIFO, and symbol decoding unit .

接垫布置方式Pad layout

从图1和图3中的PHY电路发送的信号可能受到干扰,例如信号传输线之间的串扰(cross-talk)。因此,在各种设计中,通常应用了屏蔽(shielding)技术来减轻干扰。为了解决这些问题,本发明提供一种创新的接垫布置方式(pad arrangement),以更合理和有效地使用并分配接垫,从而屏蔽干扰。Signals sent from the PHY circuits in FIGS. 1 and 3 may be subject to interference, such as cross-talk between signal transmission lines. Therefore, in various designs, shielding techniques are often applied to mitigate interference. In order to solve these problems, the present invention provides an innovative pad arrangement to use and distribute the pads more rationally and efficiently, thereby shielding the interference.

图5为了根据本发明实施例接垫布置,其可用于包含四信号PMA的PHY电路。如图所示,PHY电路100包括四信号PMA 110,以及用于与其他集成电路/设备连接的信号接垫D0P_T0A、D0N_T0B、CKP_T0C和CKN_XXX,其通过任何可能类型的导体耦合到四信号PMA 110。屏蔽接垫(shielding pad)SH耦接到地或电源电压,并且用于屏蔽信号接垫D0P_T0A和D0N_T0B以防止与信号接垫CKP_T0C和CKN_XXX的干扰。FIG. 5 is for a pad arrangement that may be used in a PHY circuit including a four-signal PMA in accordance with an embodiment of the present invention. As shown, the PHY circuit 100 includes a four-signal PMA 110, and signal pads DOP_TOA, DON_TOB, CKP_TOC, and CKN_XXX for interfacing with other integrated circuits/devices, which are coupled to the four-signal PMA 110 by any possible type of conductor. A shielding pad SH is coupled to ground or a power supply voltage, and is used to shield the signal pads D0P_T0A and D0N_T0B to prevent interference with the signal pads CKP_T0C and CKN_XXX.

四信号PMA 110可以被配置为双线通道PHY模式(例如,MIPI D-PHY)或三线通道PHY模式(例如,MIPI C-PHY)。在双线通道PHY模式中,信号接垫D0P_T0A和D0N_T0B可以形成数据通道,而信号接垫CKP_T0C和CKN_XXX可以做为时脉通道。信号PMA 110通过信号接垫D0P_T0A和D0N_T0B发送/接收一对数据信号,并通过信号接垫CKP_T0C和CKN_XXX发送/接收一对时脉信号。在三线通道模式中,三个信号接垫形成一个通道。例如,信号接垫D0P_T0A、D0N_T0B和CKP_T0C形成一个通道,并且可以不使用信号接垫CKN_XXX。The four-signal PMA 110 may be configured in a two-wire lane PHY mode (eg, MIPI D-PHY) or a three-wire lane PHY mode (eg, MIPI C-PHY). In the dual-lane PHY mode, the signal pads D0P_T0A and D0N_T0B can form a data channel, and the signal pads CKP_T0C and CKN_XXX can be used as a clock channel. The signal PMA 110 transmits/receives a pair of data signals through the signal pads D0P_T0A and D0N_T0B, and transmits/receives a pair of clock signals through the signal pads CKP_T0C and CKN_XXX. In three-wire channel mode, three signal pads form a channel. For example, the signal pads D0P_T0A, D0N_T0B and CKP_T0C form one channel, and the signal pads CKN_XXX may not be used.

请注意,在本发明的各种实施例中,图5中所示的接垫布置方式可以进一步适用于包括N个信号接垫和M个屏蔽接垫的PHY电路,其中N和M是正整数。在这样的实施例中,N个信号接垫包括至少四个信号接垫,而M个屏蔽接垫包括至少一个屏蔽接垫。该至少四个信号接垫和该至少一个屏蔽接垫可被布置成类似于图5中所示的接垫布置形式。Note that, in various embodiments of the present invention, the pad arrangement shown in FIG. 5 may be further adapted to a PHY circuit comprising N signal pads and M shield pads, where N and M are positive integers. In such an embodiment, the N signal pads include at least four signal pads, and the M shield pads include at least one shield pad. The at least four signal pads and the at least one shield pad may be arranged in a pad arrangement similar to that shown in FIG. 5 .

图6为了根据本发明实施例接垫布置,其可用于包含六信号PMA的PHY电路。如图所示,PHY电路200包括六信号PMA 210和信号接垫D0P_T0A、D0N_T0B、CKP_T0C、CKN_T1A、D1P_T1B和D1N_T1C,用于与另一集成电路/装置连接。屏蔽接垫SH0、SH1和SH2耦接到地或电源电压,并且用于使某些信号接垫免受由其他信号接垫的干扰。FIG. 6 is for a pad arrangement that may be used in a PHY circuit including a six-signal PMA in accordance with an embodiment of the present invention. As shown, PHY circuit 200 includes six signal PMA 210 and signal pads D0P_TOA, D0N_TOB, CKP_TOC, CKN_T1A, D1P_T1B and D1N_T1C for interfacing with another integrated circuit/device. Shield pads SH0, SH1 and SH2 are coupled to ground or supply voltage and are used to shield certain signal pads from interference by other signal pads.

六信号PMA 210可被设置为双线通道PHY模式或三线通道PHY模式。在双线通道PHY模式中,信号接垫D0P_T0A和D0N_T0B以及D1P_T1B和D1N_T1C形成数据通道,而信号接垫CKP_T0C和CKN_XXX形成时脉通道。六信号PMA 210通过信号接垫D0P_T0A和D0N_T0B以及D1P_T1B和D1N_T1C发送/接收数据信号对,并通过信号接垫CKP_T0C、CKN_T1A发送/接收一对时脉信号。在三线通道PHY模式中,三个接垫形成一个通道。例如,信号接垫D0P_T0A、D0N_T0B和CKP_T0C形成一个三线通道,而信号接垫CKN_T1A、D1P_T0B和D1N_T1C形成另一个三线通道。The six-signal PMA 210 can be set to either a two-wire lane PHY mode or a three-wire lane PHY mode. In the 2-wire lane PHY mode, the signal pads D0P_T0A and D0N_T0B and D1P_T1B and D1N_T1C form the data lane, while the signal pads CKP_T0C and CKN_XXX form the clock lane. The six-signal PMA 210 transmits/receives a pair of data signals through signal pads D0P_T0A and D0N_T0B and D1P_T1B and D1N_T1C, and transmits/receives a pair of clock signals through signal pads CKP_TOC, CKN_T1A. In three-lane PHY mode, three pads form a lane. For example, the signal pads D0P_T0A, D0N_T0B, and CKP_T0C form one three-wire channel, while the signal pads CKN_T1A, D1P_T0B, and D1N_T1C form another three-wire channel.

请注意,在本发明的各种实施例中,图6中所示的接垫布置方式可以进一步适用于包括N个信号接垫和M个屏蔽接垫的PHY电路,其中N和M是正整数。在这样的实施例中,N个信号接垫包括至少六个信号接垫,而M个屏蔽接垫包括至少三个屏蔽接垫。该至少六个信号接垫和该至少三个屏蔽接垫可被布置成类似于图6中所示的接垫布置形式。Note that, in various embodiments of the present invention, the pad arrangement shown in FIG. 6 may be further applicable to a PHY circuit comprising N signal pads and M shield pads, where N and M are positive integers. In such an embodiment, the N signal pads include at least six signal pads, and the M shield pads include at least three shield pads. The at least six signal pads and the at least three shield pads may be arranged in a pad arrangement similar to that shown in FIG. 6 .

请参考图7和图8,该些图示出了关于静电放电(Electrostatic Discharge,ESD)防护和接垫屏蔽的接垫布置。图7示出了根据本发明实施例的接垫布置,其可用于包含六信号PMA的PHY电路。如图所示,PHY电路300包含六信号PMA210,物理编码子层(Physicalencoding sublayer,PCS)330、ESD防护电路320和322以及用于与另一集成电路/设备连接的信号接垫D0P_T0A、D0N_T0B、CKP_T0C、CKN_T1A、D1P_T1B和D1N_T1C。屏蔽接垫SH0和SH4用于将ESD防护电路320和322耦接到地,以提供电磁屏蔽。另外,屏蔽接垫SH1、SH2和SH3耦接到地或电源电压,并且用于屏蔽某些信号接垫免于受到其他信号接垫的干扰。Please refer to FIGS. 7 and 8 , which illustrate pad arrangements for Electrostatic Discharge (ESD) protection and pad shielding. 7 illustrates a pad arrangement that may be used in a PHY circuit including a six-signal PMA, according to an embodiment of the present invention. As shown, the PHY circuit 300 includes a six-signal PMA 210, a physical encoding sublayer (PCS) 330, ESD protection circuits 320 and 322, and signal pads DOP_TOA, D0N_TOB, CKP_T0C, CKN_T1A, D1P_T1B, and D1N_T1C. Shield pads SH0 and SH4 are used to couple ESD protection circuits 320 and 322 to ground to provide electromagnetic shielding. In addition, the shielding pads SH1, SH2 and SH3 are coupled to ground or a power supply voltage and are used to shield some signal pads from interference by other signal pads.

图8为根据本发明实施例的接垫布置,其可用于包含六信号PMA和四信号PMA的组合的PHY电路。如图所示,PHY电路400包括六信号PMA 411、四信号PMA 412、PCS 430、ESD防护电路420和422。六信号PMA 411通过信号接垫D0P_T0A、D0N_T0B、CKP_T0C、CKN_T1A、D1P_T1B和D1N_T1C与另一个集成电路/设备连接。四信号PMA 412通过信号接垫D0P_T0A、D0N_T0B、CKP_T0C和CKN_XXX与另一个集成电路/设备连接。屏蔽接垫SH0和SH6用于将ESD防护电路420和422耦合到地,以提供电磁屏蔽。另外,屏蔽接垫SH1、SH2、SH3、SH4和SH5耦接到地或电源电压,并且用于屏蔽某些信号接垫免于受到来自其他信号接垫的干扰。8 is a pad arrangement that may be used in a PHY circuit that includes a combination of six-signal PMA and four-signal PMA, according to an embodiment of the present invention. As shown, the PHY circuit 400 includes a six-signal PMA 411 , a four-signal PMA 412 , a PCS 430 , and ESD protection circuits 420 and 422 . Six-signal PMA 411 interfaces with another integrated circuit/device through signal pads D0P_T0A, D0N_T0B, CKP_T0C, CKN_T1A, D1P_T1B, and D1N_T1C. Four-signal PMA 412 interfaces with another integrated circuit/device through signal pads D0P_T0A, D0N_T0B, CKP_T0C, and CKN_XXX. Shield pads SH0 and SH6 are used to couple ESD protection circuits 420 and 422 to ground to provide electromagnetic shielding. In addition, the shielding pads SH1, SH2, SH3, SH4 and SH5 are coupled to ground or a supply voltage and serve to shield some signal pads from interference from other signal pads.

终端电路terminal circuit

如上所述,本发明的四信号PMA和六信号PMA都可以设置为在双线通道PHY模式或三线通道PHY模式下操作。因此,需要提供一种适用于不同PHY模式的信号特性的终端电路(termination circuit)。As mentioned above, both the four-signal PMA and the six-signal PMA of the present invention can be set to operate in either a two-wire lane PHY mode or a three-wire lane PHY mode. Therefore, there is a need to provide a termination circuit suitable for signal characteristics of different PHY modes.

图9A示出了现有技术中适用于双线通道PHY模式和三线通道PHY模式的终端电路。通过控制图9A的终端电路500中的开关。如图9A所示,终端电路500可以切换到第一配置,以适应图9B所示的双线通道。或者,切换到第二配置以适应图9C所示的三线通道。在MIPI标准中,要求三线通道中的等效去耦电容(decoupling capacitor)大于双线通道中的等效去耦电容。因此,每个去耦电容性元件C1、C2和C3的电容值将是1X(其中“X”表示单位电容值)。然而,这种实现方式将导致如图9C所示的三线通道配置中的电容冗余(即,电容性元件C2)。为了克服三线通道配置中终端电路500的电容冗余,本发明提供了一种用于改进终端电路的创新架构。FIG. 9A shows a prior art termination circuit suitable for a two-wire channel PHY mode and a three-wire channel PHY mode. By controlling the switches in the termination circuit 500 of FIG. 9A. As shown in FIG. 9A, the termination circuit 500 can be switched to the first configuration to accommodate the two-wire channel shown in FIG. 9B. Alternatively, switch to the second configuration to accommodate the three-wire channel shown in Figure 9C. In the MIPI standard, the equivalent decoupling capacitor in the three-wire channel is required to be larger than the equivalent decoupling capacitor in the two-wire channel. Thus, the capacitance value of each of the decoupling capacitive elements C1 , C2 and C3 will be 1X (where "X" represents the unit capacitance value). However, this implementation would result in capacitive redundancy (ie, capacitive element C2) in the three-wire channel configuration shown in Figure 9C. To overcome the capacitive redundancy of the termination circuit 500 in a three-wire channel configuration, the present invention provides an innovative architecture for improving the termination circuit.

图10A示出本发明实施例的四信号终端电路600,其可用于包含四信号PMA的PHY电路。终端电路600包括可调式电阻性元件R1-R4,开关S61-S62和去耦电容性元件C1-C3(每个电容性元件C1-C2具有0.5X的电容值,而电容性元件C3具有1X的电容值)。在本实施例中,每个可调式电阻性元件R1-R4可以耦接到一个包含有四信号PMA(例如四信号PMA 800)的PHY电路的一个信号接垫。请注意,根据本发明的各种实施例,可调式电阻性元件R1-R4可以其他类型的阻抗元件(electrical impedance)替换。FIG. 10A shows a four-signal termination circuit 600 according to an embodiment of the present invention, which may be used in a PHY circuit including a four-signal PMA. Termination circuit 600 includes adjustable resistive elements R1-R4, switches S61-S62, and decoupling capacitive elements C1-C3 (each capacitive element C1-C2 has a capacitance value of 0.5X, while capacitive element C3 has a 1X capacitance value). capacitor value). In this embodiment, each adjustable resistive element R1-R4 may be coupled to a signal pad of a PHY circuit that includes a four-signal PMA (eg, four-signal PMA 800). Note that the adjustable resistive elements R1-R4 may be replaced with other types of electrical impedances according to various embodiments of the present invention.

请同时参考图1与图10A。当四信号PMA 800设置在双线通道PHY模式下操作时,每两个信号接垫将形成一个通道,可分别通过信号接垫D0P_T0A和D0N_T0B发送/接收一对差动信号,而通过信号接垫D1P_T0C和D1N分别发送/接收另一对时脉信号。此时,开关S62导通且开关S61未导通(如图10B所示)。因此,在信号接垫D0P_T0A和D0N_T0B处获得的等效去耦电容值为(0.5+0.5)X,并且在接垫D1P_T0C和D1N处获得1X的去耦电容值。此外,当四信号PMA 800设置三线通道PHY模式下操作时,开关S61导通且开关S62不导通(图10C所示)。因此,在信号接垫D0P_T0A、D0N_T0B和D1P_T0C处获得等效去耦电容值为(0.5+0.5+1)X的。此外,如图10D所示,在另一个实施例中,去耦电容性元件C1和C2可以合并为一个电容值为(0.5+0.5)的较大的去耦电容性元件CN。Please refer to FIG. 1 and FIG. 10A at the same time. When the four-signal PMA 800 is set to operate in two-wire lane PHY mode, every two signal pads will form a lane, and a pair of differential signals can be sent/received through the signal pads D0P_T0A and D0N_T0B, respectively, while the D1P_T0C and D1N respectively transmit/receive another pair of clock signals. At this time, the switch S62 is turned on and the switch S61 is not turned on (as shown in FIG. 10B ). Therefore, the equivalent decoupling capacitance value obtained at the signal pads D0P_T0A and D0N_T0B is (0.5+0.5)X, and the decoupling capacitance value of 1X is obtained at the pads D1P_T0C and D1N. Furthermore, when the four-signal PMA 800 is set to operate in the three-wire lane PHY mode, switch S61 is turned on and switch S62 is turned off (shown in FIG. 10C ). Therefore, an equivalent decoupling capacitance value of (0.5+0.5+1)X is obtained at the signal pads D0P_T0A, D0N_T0B and D1P_T0C. Furthermore, as shown in FIG. 10D , in another embodiment, the decoupling capacitive elements C1 and C2 may be combined into one larger decoupling capacitive element CN with a capacitance value of (0.5+0.5).

图11A示出了本发明实施例的六信号终端电路700,其可用于包含六信号PMA的PHY电路。六信号终端电路700包含可调式电阻性元件R1-R6,开关S61-S63和去耦电容性元件C1-C6(每个电容性元件具有0.5X的电容值)。在此实施例中,每个可调式电阻性元件R1-R6可以耦接到一个包含有六信号PMA(例如六信号PMA 900)的PHY电路的一个信号接垫。请注意,根据本发明的各种实施例,可调式电阻性元件R1-R6可以以其他类型的阻抗元件替换。FIG. 11A shows a six-signal termination circuit 700 according to an embodiment of the present invention, which may be used in a PHY circuit including a six-signal PMA. Six-signal termination circuit 700 includes adjustable resistive elements R1-R6, switches S61-S63, and decoupling capacitive elements C1-C6 (each having a capacitance value of 0.5X). In this embodiment, each adjustable resistive element R1-R6 may be coupled to a signal pad of a PHY circuit that includes a six-signal PMA (eg, six-signal PMA 900). Note that the adjustable resistive elements R1-R6 may be replaced with other types of impedance elements according to various embodiments of the present invention.

请同时参考图3与图11A。当六信号PMA 900设置为双线通道PHY模式下操作时,可以在信号接垫D0P_T0A和D0N_T0B上发送/接收一对数据信号,在信号接垫D1P_T0C与D1N_T1A发送/接收一对数据信号,同时在信号接垫D2P_T1B和D2N_T1C上发送/接收一对时脉信号。另外,当六信号PMA 900设置为三线通道PHY模式下操作时,六信号PMA 900可以提供两个三线通道。例如,在信号接垫D0P_T0A、D0N_T0B和信号焊盘D1P_T0A上分别发送一组三线信号,并且在信号接垫D1N_T1A、D2P_T1B和D2P_T1C上发送另一组三线信号。Please refer to FIG. 3 and FIG. 11A at the same time. When the six-signal PMA 900 is set to operate in dual-lane PHY mode, a pair of data signals can be sent/received on the signal pads D0P_T0A and D0N_T0B, a pair of data signals can be sent/received on the signal pads D1P_T0C and D1N_T1A, and A pair of clock signals are sent/received on the signal pads D2P_T1B and D2N_T1C. Additionally, the six-signal PMA 900 can provide two three-wire lanes when the six-signal PMA 900 is set to operate in three-wire lane PHY mode. For example, one set of three-wire signals is sent on signal pads D0P_T0A, D0N_T0B, and signal pad D1P_T0A, respectively, and another set of three-wire signals is sent on signal pads D1N_T1A, D2P_T1B, and D2P_T1C.

当六信号PMA 900设置为以双线通道PHY模式操作时,开关S62被导通而开关S61与S63未被导通(如图11B所示)。因此,在信号接垫D0P_T0A和D0N_T0B、信号接垫D1P_T0C和D1N_T1A、信号接垫D2P_T1B和D2N_T1C处分别形成电容值等效于(0.5+0.5)X的去耦电容。此外,当六信号PMA 900设置为以三线通道PHY模式操作时,开关S61和63导通而开关S62的未导通(如图11C所示)。因此,在信号接垫D0P_T0A、D0N_T0B和D1P_T0C以及信号接垫D1N_T1A、D2P_T1B和D2N_T1C处分别形成电容值等效于(0.5+0.5+0.5)X的去耦电容。此外,如图11D所示,在一个可能实施例中,去耦电容性元件C1和C2可以与具有(0.5+0.5)X电容值的较大的去耦电容性元件CN1实现。另外,在一个可能实施例中,去耦电容性元件C5和C6也可以与具有(0.5+0.5)X电容值的较大的去耦电容性元件CN2实现。When the six-signal PMA 900 is set to operate in the 2-wire lane PHY mode, switch S62 is turned on and switches S61 and S63 are not turned on (as shown in FIG. 11B ). Therefore, decoupling capacitors with capacitance values equivalent to (0.5+0.5)X are formed at the signal pads D0P_T0A and D0N_T0B, the signal pads D1P_T0C and D1N_T1A, and the signal pads D2P_T1B and D2N_T1C, respectively. Additionally, when the six-signal PMA 900 is set to operate in the three-wire lane PHY mode, switches S61 and 63 are turned on and switch S62 is not turned on (as shown in FIG. 11C ). Therefore, decoupling capacitors with capacitance values equivalent to (0.5+0.5+0.5)X are formed at the signal pads D0P_T0A, D0N_T0B and D1P_T0C and the signal pads D1N_T1A, D2P_T1B and D2N_T1C respectively. Furthermore, as shown in FIG. 11D , in one possible embodiment, decoupling capacitive elements C1 and C2 may be implemented with a larger decoupling capacitive element CN1 having a capacitance value of (0.5+0.5)×. Additionally, in one possible embodiment, decoupling capacitive elements C5 and C6 may also be implemented with a larger decoupling capacitive element CN2 having a capacitance value of (0.5+0.5)X.

与终端电路500相比,当切换到三线通道配置时,四信号终端电路600和六信号终端电路700中不存在没有电容冗余。并且,本发明的终端电路600和700的另一个优点是开关的数量。由于终端电路600和700所需的开关与终端电路500相比较少,所以可以减少信号损失。Compared to termination circuit 500, there is no capacitive redundancy in four-signal termination circuit 600 and six-signal termination circuit 700 when switching to a three-wire channel configuration. Also, another advantage of the termination circuits 600 and 700 of the present invention is the number of switches. Since the termination circuits 600 and 700 require fewer switches than the termination circuit 500, signal loss can be reduced.

时脉与数据回复clock and data recovery

在MIPI C-PHY规范中,时脉信号被嵌入数据信号中。因此,接收器中的PHY电路需要从接收到的数据信号中恢复时脉信号。In the MIPI C-PHY specification, the clock signal is embedded in the data signal. Therefore, the PHY circuit in the receiver needs to recover the clock signal from the received data signal.

根据本发明的一个实施例,图12示出了适用于MIPI C-PHY(或其他三线通道PHY标准)通信连线的接收器中的CDR电路。如图所示,CDR电路1200具有三个输入端点,用于接收由差动放大器产生的信号AB、BC和CA。上述差动放大器可以是图1的实施例中所示的差动放大器811-813,或者是图3的实施例中所示的差动放大器911-916,其在三个信号接垫/导线上接收差动信号,即信号接垫D0P_T0A、D0N_T0B、D1P_T0C,并将它们转换为差动信号AB、BC、CA(即,图1或图3中的T0AB[1:0],T0BC[1:0]与T0CA[1:0])。Figure 12 illustrates a CDR circuit in a receiver suitable for use in MIPI C-PHY (or other three-wire lane PHY standards) communication links, according to one embodiment of the present invention. As shown, the CDR circuit 1200 has three input terminals for receiving signals AB, BC and CA generated by the differential amplifier. The differential amplifiers described above may be differential amplifiers 811-813 shown in the embodiment of FIG. 1, or differential amplifiers 911-916 shown in the embodiment of FIG. 3 on three signal pads/wires Receive differential signals, namely signal pads D0P_T0A, D0N_T0B, D1P_T0C, and convert them into differential signals AB, BC, CA (ie, TOAB[1:0], TOBC[1:0] in Figure 1 or Figure 3 ] and TOCA[1:0]).

三个信号AB、BC和CA被输入到延迟单元1210、1211和1212,从而产生信号AB、BC和CA的延迟版本AB_D、BC_D和CA_D。之后,异或(exclusive OR,XOR)闸1221、1222和1223,分别对信号AB和AB_D、BC和BC_D以及CA和CA_D执行XOR运算。据此,XOR闸1221、1222和1223产生XOR输出信号AB_X、BC_X和CA_X。由于XOR运算,信号AB、BC和CA中的信号转态将导致XOR输出信号AB_X、BC_X和CA_X中的脉冲(pulse)。然后,XOR输出信号AB_X、BC_X和CA_X被送到锁存器(latch)1231、1232和1233,并为锁存器1231,1232和1233提供时脉,以锁存一高逻辑准位信号。另外,锁存器1231、1232和1233可通过重置控制信号RSTB来重置。因此,锁存输出信号AB_EDGE,BC_EDGE和CA_EDGE的上升缘分别由XOR输出信号AB_X,BC_X和CA_X触发,而锁存输出信号AB_EDGE,BC_EDGE和CA_EDGE的下降缘分别由重置控制信号RSTB触发。The three signals AB, BC and CA are input to delay units 1210, 1211 and 1212, resulting in delayed versions AB_D, BC_D and CA_D of the signals AB, BC and CA. After that, exclusive OR (XOR) gates 1221 , 1222 and 1223 perform an XOR operation on the signals AB and AB_D, BC and BC_D, and CA and CA_D, respectively. Accordingly, XOR gates 1221, 1222 and 1223 generate XOR output signals AB_X, BC_X and CA_X. Due to the XOR operation, signal transitions in signals AB, BC, and CA will cause the XOR to output pulses in signals AB_X, BC_X, and CA_X. Then, the XOR output signals AB_X, BC_X and CA_X are sent to latches 1231, 1232 and 1233, and provide clocks for the latches 1231, 1232 and 1233 to latch a high logic level signal. In addition, the latches 1231, 1232 and 1233 may be reset by the reset control signal RSTB. Therefore, the rising edges of the latch output signals AB_EDGE, BC_EDGE and CA_EDGE are respectively triggered by the XOR output signals AB_X, BC_X and CA_X, and the falling edges of the latch output signals AB_EDGE, BC_EDGE and CA_EDGE are respectively triggered by the reset control signal RSTB.

然后,锁存器输出信号AB_EDGE、BC_EDGE和CA_EDGE被发送到或闸(OR gate)1240,其对锁存器输出信号AB_EDGE、BC_EDGE和CA_EDGE执行OR运算,从而产生时脉信号RCK。时脉信号RCK可以由具有不同除数(即2和7)的除频器1271和1272处理,以产生用于不同目的的时脉信号。由除频器1271产生的时脉信号TCK将被提供给取样单元1281和1282,用于取样信号AB_S、BC_S和CA_S,以便执行解序列操作(其中信号AB_S、BC_S和CA_S可以通过对齐延迟(aligned delay)单元1260对延迟信号AB_D、BC_D和CA_D进行延迟来输出)。此外,由除频器1272产生的时脉信号SCK将被提供给,如数据处理单元850(图1中)、951-952(图3中)和1040(图4中)等电路,执行数据处理操作。Then, the latch output signals AB_EDGE, BC_EDGE, and CA_EDGE are sent to an OR gate 1240, which performs an OR operation on the latch output signals AB_EDGE, BC_EDGE, and CA_EDGE, thereby generating a clock signal RCK. The clock signal RCK may be processed by frequency dividers 1271 and 1272 with different divisors (ie, 2 and 7) to generate clock signals for different purposes. The clock signal TCK generated by the frequency divider 1271 will be supplied to the sampling units 1281 and 1282 for sampling the signals AB_S, BC_S and CA_S in order to perform a deserialization operation (wherein the signals AB_S, BC_S and CA_S can be The delay) unit 1260 delays the delay signals AB_D, BC_D and CA_D to output). In addition, the clock signal SCK generated by the frequency divider 1272 will be supplied to circuits such as the data processing units 850 (in FIG. 1 ), 951-952 (in FIG. 3 ) and 1040 (in FIG. 4 ) to perform data processing operate.

另一方面,产生的时脉信号RCK进一步被发送到工作周期(duty cycle)校正电路1250,从而产生重置控制信号RSTB。工作周期校正电路1250用于校正时脉信号RCK,以便为时脉信号RCK实现50%(或大约50%)的工作周期。工作周期校正电路1250通过产生复位控制信号RSTB,以校正时脉信号RCK,从而实现50%的工作周期。On the other hand, the generated clock signal RCK is further sent to the duty cycle correction circuit 1250, thereby generating the reset control signal RSTB. The duty cycle correction circuit 1250 is used to correct the clock signal RCK to achieve a 50% (or about 50%) duty cycle for the clock signal RCK. The duty cycle correction circuit 1250 corrects the clock signal RCK by generating the reset control signal RSTB, thereby realizing a duty cycle of 50%.

如上所述,通过对锁存输出信号AB_EDGE、BC_EDGE和CA_EDGE执行OR运算来产生时脉信号RCK。因此,调整锁存器输出信号AB_EDGE、BC_EDGE和CA_EDGE的工作周期(通过重置这些信号)可以基本上改变时脉信号RCK的工作周期。As described above, the clock signal RCK is generated by performing an OR operation on the latched output signals AB_EDGE, BC_EDGE and CA_EDGE. Therefore, adjusting the duty cycle of the latch output signals AB_EDGE, BC_EDGE and CA_EDGE (by resetting these signals) can substantially change the duty cycle of the clock signal RCK.

工作周期校正电路1250处理时脉信号RCK的时序图如图13所示。当信号AB_X、BC_X和CA_X的脉冲跟随信号AB、BC和CA的信号转态时,信号AB_X、BC_X和CA_X的脉冲以虚线指示以反映出这种情况。信号AB_X、BC_X和CA_X的脉冲将触发锁存器1231、1232和1233以使锁存器输出信号AB_EDGE,BC_EDGE和CA_EDGE转态到高逻辑准位。而且,当重置控制信号RSTB被拉起(asserted)时,锁存器1231、1232和1233被重置,这使得锁存器输出信号AB_EDGE、BC_EDGE和CA_EDGE转态为低逻辑准位。应可以理解的是,重置控制信号RSTB的脉冲的时序可以决定锁存器输出信号AB_EDGE、BC_EDGE和CA_EDGE的工作周期,从而确定时脉信号RCK的工作周期。The timing diagram of the processing of the clock signal RCK by the duty cycle correction circuit 1250 is shown in FIG. 13 . When the pulses of signals AB_X, BC_X and CA_X follow the signal transitions of signals AB, BC and CA, the pulses of signals AB_X, BC_X and CA_X are indicated with dashed lines to reflect this. Pulses of signals AB_X, BC_X and CA_X will trigger latches 1231, 1232 and 1233 to transition the latch output signals AB_EDGE, BC_EDGE and CA_EDGE to a high logic level. Also, when the reset control signal RSTB is asserted, the latches 1231, 1232 and 1233 are reset, which causes the latch output signals AB_EDGE, BC_EDGE and CA_EDGE to transition to a low logic level. It should be understood that the timing of the pulse of the reset control signal RSTB may determine the duty cycle of the latch output signals AB_EDGE, BC_EDGE and CA_EDGE, thereby determining the duty cycle of the clock signal RCK.

根据本发明的各种实施例,工作周期校正电路可以具有不同的细部电路。请参考图14,其示出了工作周期校正电路1250的实施例的详细电路图。如图所示,工作周期校正电路1500具有时间至数位转换器(time-to-digital converter,TDC)1520。TDC 1520用于测量信号AB_EDGE、BC_EDGE和CA_EDGE的相邻边缘的时间差,并且相应地将测量到的时间差转换成数位(TDC)结果。选择器1511和1512用于从信号AB_EDGE、BC_EDGE和CA_EDGE中选择两个信号,以由TDC 1520测量。TDC结果将被数位控制电路逻辑1530所平均,并且数字控制逻辑1530根据平均后的TDC结果的一半,输出延迟控制信号来控制延迟线1550。延迟线1550用于延迟时脉信号RCK,反及(NAND)闸1540用来为对时脉信号RCK和时脉信号RCK的延迟版本执行NAND运算,从而产生重置控制信号RSTB。当信号AB_EDGE、BC_EDGE和CA_EDGE之间的时间差较长时,时脉信号RCK的工作周期将更长,反之亦然。因此,TDC结果将反映出这种情况,从而使数字控制逻辑1530找到延迟线的适当延迟量,从而调整重置控制信号RSTB的时序,以便使时脉信号RCK具有工作周期约为50%。请注意,NAND闸1540可以由另一种其他类型的逻辑闸或逻辑闸的组合来代替,只要它们可以提供相同的结果即可。According to various embodiments of the present invention, the duty cycle correction circuit may have different detailed circuits. Please refer to FIG. 14 , which shows a detailed circuit diagram of an embodiment of the duty cycle correction circuit 1250 . As shown, the duty cycle correction circuit 1500 has a time-to-digital converter (TDC) 1520 . TDC 1520 is used to measure the time difference between adjacent edges of the signals AB_EDGE, BC_EDGE and CA_EDGE, and to convert the measured time difference to a digital (TDC) result accordingly. Selectors 1511 and 1512 are used to select two signals from signals AB_EDGE, BC_EDGE and CA_EDGE to be measured by TDC 1520 . The TDC result is averaged by the digital control circuit logic 1530, and the digital control logic 1530 outputs a delay control signal to control the delay line 1550 according to half of the averaged TDC result. The delay line 1550 is used to delay the clock signal RCK, and the NAND gate 1540 is used to perform a NAND operation on the clock signal RCK and the delayed version of the clock signal RCK, thereby generating the reset control signal RSTB. When the time difference between the signals AB_EDGE, BC_EDGE and CA_EDGE is longer, the duty cycle of the clock signal RCK will be longer, and vice versa. Therefore, the TDC result will reflect this, causing the digital control logic 1530 to find the appropriate delay amount for the delay line to adjust the timing of the reset control signal RSTB so that the clock signal RCK has a duty cycle of about 50%. Note that the NAND gate 1540 can be replaced by another other type of logic gate or combination of logic gates, as long as they can provide the same result.

请参考图15和图16,以更好地理解工作周期校正电路1500如何实际处理代表符元3333333的反复输入型样“+x→-y→+z→-x→+y→-z→+x”以及代表符号1111111的反复输入型样“+x→-z→+y→-x→+z→-y→+x”。Please refer to FIGS. 15 and 16 to better understand how the duty cycle correction circuit 1500 actually handles the repeated input pattern "+x→-y→+z→-x→+y→-z→+ representing symbol element 3333333" x" and the repeated input pattern "+x→-z→+y→-x→+z→-y→+x" representing the symbol 1111111.

图17示出了本发明工作周期校正电路1250的另一实施例的详细电路图。工作周期校正电路1800包括低通RC滤波器,其包括电阻性元件R和电容性元件C,其用于对时脉信号RCK进行滤波。低通RC滤波器产生滤波信号Vduty。比较器1810将信号Vduty与预定信号VDD/2进行比较,以产生比较结果UP。数字控制逻辑1820根据比较结果UP控制延迟线1840。通过低通RC滤波器,时脉信号RCK的工作周期将被反映且表示为信号Vduty的电压准位。请参考图18。如图所示,如果比较器1810检测到信号Vduty的电压准位低于预定信号VDD/2,则意味着时脉信号RCK的工作周期低于50%。因此,比较器1810的输出信号UP保持为高逻辑准位”1”。根据输出信号UP,数字控制逻辑1820产生延迟控制信号以调节延迟线1840的延迟时间。一旦比较器1810检测到信号Vduty的电压电平等于预定信号VDD/2,表示时脉信号RCK的工作周期为50%。因此,比较器1810的输出信号UP变为低逻辑准位“0”。因此,根据比较结果UP,数字控制逻辑1820控制延迟线1840产生适当的延迟(;使得延迟增加或减少,直到比较结果UP没有显示出差异),以产生重置控制信号RSTB来校正时脉信号RCK,从而实现50%的工作周期。FIG. 17 shows a detailed circuit diagram of another embodiment of the duty cycle correction circuit 1250 of the present invention. The duty cycle correction circuit 1800 includes a low pass RC filter including a resistive element R and a capacitive element C for filtering the clock signal RCK. A low pass RC filter produces the filtered signal Vduty. The comparator 1810 compares the signal Vduty with a predetermined signal VDD/2 to generate a comparison result UP. The digital control logic 1820 controls the delay line 1840 according to the comparison result UP. Through the low pass RC filter, the duty cycle of the clock signal RCK will be reflected and represented as the voltage level of the signal Vduty. Please refer to Figure 18. As shown in the figure, if the comparator 1810 detects that the voltage level of the signal Vduty is lower than the predetermined signal VDD/2, it means that the duty cycle of the clock signal RCK is lower than 50%. Therefore, the output signal UP of the comparator 1810 remains at the high logic level "1". According to the output signal UP, the digital control logic 1820 generates a delay control signal to adjust the delay time of the delay line 1840 . Once the comparator 1810 detects that the voltage level of the signal Vduty is equal to the predetermined signal VDD/2, it indicates that the duty cycle of the clock signal RCK is 50%. Therefore, the output signal UP of the comparator 1810 becomes a low logic level "0". Therefore, according to the comparison result UP, the digital control logic 1820 controls the delay line 1840 to generate an appropriate delay (; causes the delay to increase or decrease until the comparison result UP shows no difference) to generate the reset control signal RSTB to correct the clock signal RCK , thus achieving a 50% duty cycle.

图19为本发明另一实施例中用于MIPI C-PHY(或其他三线通道PHY标准)通信连线的接收器中的CDR电路的示意图。图19中的CDR电路与图12中所示的CDR电路具有共有的特征和元件。然而,它们之间的主要区别在于图19的实施例利用延迟调整单元2000代替工作周期校正电路1200来产生重置控制信号。延迟调整单元2000根据可调延迟时间和时脉信号RCK产生重置控制信号RSTB。FIG. 19 is a schematic diagram of a CDR circuit in a receiver for MIPI C-PHY (or other three-wire lane PHY standard) communication connections according to another embodiment of the present invention. The CDR circuit in FIG. 19 shares features and elements with the CDR circuit shown in FIG. 12 . However, the main difference between them is that the embodiment of FIG. 19 utilizes the delay adjustment unit 2000 instead of the duty cycle correction circuit 1200 to generate the reset control signal. The delay adjustment unit 2000 generates the reset control signal RSTB according to the adjustable delay time and the clock signal RCK.

如上所述,时脉信号RCK在信号AB_X、BC_X和CA_X的上升缘,转态为高逻辑准位并开始新的周期。但是,如图20中的圆框所示,如果信号BC_edge的周期太长,则将屏蔽信号AB_X和CA_X的上升缘。这是由重置控制信号RSTB的错误时序引起的。重置控制信号RSTB的错误时序太慢地重置信号BC_edge,因此屏蔽了信号AB_X和CA_X的上升缘。为了防止信号AB_X、BC_X和CA_X的上升缘被屏蔽,延迟调整单元2000根据取样结果AB_O[0]、BC_O[0]和CA_O[0]以及取样结果AB_O[1]、BC_O[1]和CA_O[1],调整重置控制信号RSTB。具体地,延迟调整单元2000检测XOR闸2091的XOR输出信号XOR[0]和XOR闸2092的XOR输出信号XOR[1]。XOR闸2091对取样结果AB_O[0]、BC_O[0]和CA_O[0]执行XOR运算。取样结果AB_O[0]、BC_O[0]和CA_O[0]由取样单元2081根据时脉信号TCK对信号AB_S、BC_S和CA_S进行取样而生成。XOR闸2092对取样结果AB_O[1]、BC_O[1]和CA_O[1]执行XOR运算。取样结果AB_O[1]、BC_O[1]和CA_O[1]由取样单元2082根据时脉信号TCK的反相版本对信号AB_S、BC_S和CA_S进行取样而生成。As described above, the clock signal RCK transitions to a high logic level on the rising edges of the signals AB_X, BC_X and CA_X and starts a new cycle. However, as indicated by the circle in Figure 20, if the period of signal BC_edge is too long, the rising edges of signals AB_X and CA_X will be masked. This is caused by wrong timing of reset control signal RSTB. The incorrect timing of reset control signal RSTB resets signal BC_edge too slowly, thus masking the rising edges of signals AB_X and CA_X. In order to prevent the rising edges of the signals AB_X, BC_X and CA_X from being masked, the delay adjustment unit 2000 according to the sampling results AB_O[0], BC_O[0] and CA_O[0] and the sampling results AB_O[1], BC_O[1] and CA_O[ 1], adjust the reset control signal RSTB. Specifically, the delay adjustment unit 2000 detects the XOR output signal XOR[0] of the XOR gate 2091 and the XOR output signal XOR[1] of the XOR gate 2092 . The XOR gate 2091 performs an XOR operation on the sampled results AB_O[0], BC_O[0], and CA_O[0]. The sampling results AB_O[0], BC_O[0] and CA_O[0] are generated by the sampling unit 2081 sampling the signals AB_S, BC_S and CA_S according to the clock signal TCK. The XOR gate 2092 performs an XOR operation on the sampled results AB_O[1], BC_O[1] and CA_O[1]. The sampling results AB_O[1], BC_O[1] and CA_O[1] are generated by the sampling unit 2082 sampling the signals AB_S, BC_S and CA_S according to the inverted version of the clock signal TCK.

延迟调整电路2000将以初始延迟开始,该初始延迟确保图19中整个CDR电路能正常运作。然后,通过延迟调整电路2000的电路缓慢增加重置控制信号RSTB的延迟时序。一旦造成错误的时序,它将被反映为XOR输出信号XOR[0]以及/或XOR输出信号XOR[1]中的信号转态。一旦延迟调整单元2000检测到XOR输出信号XOR[0]以及/或XOR输出信号XOR[1]的信号转态,它就将可调延迟时间设置为错误时序的一半。结果,重置控制信号RSTB会比错误时序更早地重置锁存器2031-2033,这使得信号AB_EDGE、BC_EDGE和CA_EDGE的下降缘更早出现,而不屏蔽下一个信号边缘。因此,时脉信号RCK将可达到近50%的工作周期。例如,如图20的圆框部分,如果重置控制信号RSTB比之前更早地重置锁存器2031-2033,则锁存输出信号BC_edge的下降缘将更早出现。这样一来,XOR输出信号AB_X和CA_X将不被锁存输出信号BC_edge屏蔽,并且时脉信号RCK也可以适当地跟随信号AB_X和CA_X的上升缘。The delay adjustment circuit 2000 will start with an initial delay that ensures that the entire CDR circuit in FIG. 19 can function properly. Then, the delay timing of the reset control signal RSTB is slowly increased by the circuit of the delay adjustment circuit 2000 . Once a wrong timing is created, it will be reflected as a signal transition in the XOR output signal XOR[0] and/or the XOR output signal XOR[1]. Once the delay adjustment unit 2000 detects a signal transition of the XOR output signal XOR[0] and/or the XOR output signal XOR[1], it sets the adjustable delay time to half the wrong timing. As a result, the reset control signal RSTB resets the latches 2031-2033 earlier than the wrong timing, which causes the falling edges of the signals AB_EDGE, BC_EDGE, and CA_EDGE to occur earlier without masking the next signal edge. Therefore, the clock signal RCK will reach nearly 50% duty cycle. For example, as shown in the circled portion of Figure 20, if reset control signal RSTB resets latches 2031-2033 earlier than before, the falling edge of latch output signal BC_edge will occur earlier. In this way, the XOR output signals AB_X and CA_X will not be masked by the latch output signal BC_edge, and the clock signal RCK can also appropriately follow the rising edges of the signals AB_X and CA_X.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (6)

1.一种实体层电路,其特征在于,所述实体层电路包含:1. A physical layer circuit, characterized in that the physical layer circuit comprises: N个信号接垫,包含至少四个信号接垫;N signal pads, including at least four signal pads; 一四信号实体媒介附加子层,耦接于所述四个信号接垫;以及a four-signal physical medium additional sublayer coupled to the four signal pads; and M个屏蔽接垫,包含至少一第一屏蔽接垫所述四信号实体媒介附加子层;M shielding pads, including at least one first shielding pad and the four-signal physical medium additional sublayer; 其中所述第一屏蔽接垫位于所述四个信号接垫中的一第二信号接垫与一第三信号接垫之间,且M与N为正整数。The first shielding pad is located between a second signal pad and a third signal pad among the four signal pads, and M and N are positive integers. 2.根据权利要求1所述的实体层电路,其特征在于,当所述四信号实体媒介附加子层运作于一第一实体层模式时,所述N个信号接垫中每两个信号接垫被设置为同一通道,以及当所述四信号实体媒介附加子层运作于一第二实体层模式时,所述N个信号接垫中每三个信号接垫被设置为同一通道。2 . The physical layer circuit according to claim 1 , wherein when the four-signal physical medium additional sub-layer operates in a first physical layer mode, every two signal connections in the N signal pads are connected. 3 . The pads are set to the same channel, and when the four-signal physical medium additional sublayer operates in a second physical layer mode, every three signal pads of the N signal pads are set to the same channel. 3.一种实体层电路,其特征在于,所述实体层电路包含:3. A physical layer circuit, wherein the physical layer circuit comprises: N个信号接垫,包含至少六个信号接垫;N signal pads, including at least six signal pads; 一六信号实体媒介附加子层,耦接于所述六个信号接垫;以及a six-signal physical medium additional sublayer, coupled to the six signal pads; and M个屏蔽接垫,包含至少一第一屏蔽接垫、一第二屏蔽接垫以及一第三屏蔽接垫,分别耦接于所述六信号实体媒介附加子层;M shielding pads, including at least a first shielding pad, a second shielding pad and a third shielding pad, respectively coupled to the six signal physical medium additional sublayers; 其中所述第一屏蔽接垫位于所述六个信号接垫中的一第二信号接垫与一第三信号接垫之间;所述第二屏蔽接垫位于所述六个信号接垫中的所述第三信号接垫与一第四信号接垫之间;所述第三屏蔽接垫位于所述六个信号接垫中的所述第四信号接垫与一第五信号接垫之间,其中M与N为正整数。The first shielding pad is located between a second signal pad and a third signal pad among the six signal pads; the second shielding pad is located among the six signal pads between the third signal pad and a fourth signal pad; the third shield pad is located between the fourth signal pad and a fifth signal pad among the six signal pads , where M and N are positive integers. 4.根据权利要求3所述的实体层电路,其特征在于,当所述六信号实体媒介附加子层运作于一第一实体层模式时,所述N个信号接垫中每两个信号接垫被设置为同一通道,以及当所述六信号实体媒介附加子层运作于一第二实体层模式择时,所述N个信号接垫中每三个信号接垫被设置为同一通道。4 . The physical layer circuit of claim 3 , wherein when the six-signal physical medium additional sub-layer operates in a first physical layer mode, every two signal connections in the N signal pads are connected. 5 . The pads are set to the same channel, and when the six-signal physical medium additional sublayer operates in a second physical layer mode, every three signal pads of the N signal pads are set to the same channel. 5.一种实体层电路,其特征在于,所述实体层电路包含:5. A physical layer circuit, wherein the physical layer circuit comprises: N个信号接垫,包含至少四个信号接垫;N signal pads, including at least four signal pads; 一四信号实体媒介附加子层,耦接于所述四个信号接垫,包含:A four-signal physical medium additional sublayer, coupled to the four signal pads, includes: 一四信号终端电路,耦接于所述四个信号接垫,包含:A four-signal termination circuit, coupled to the four signal pads, includes: 四个可调式电阻性元件,每一个分别耦接于所述四个信号接垫中的一个;four adjustable resistive elements, each of which is respectively coupled to one of the four signal pads; 一导线,耦接于一第一可调式电阻性元件的一个端点与一第二可调式电阻性元件的一个端点之间;a wire coupled between one end of a first adjustable resistive element and one end of a second adjustable resistive element; 一第一开关,选择性地耦接于所述第二可调式电阻性元件的所述端点与一第三可调式电阻性元件的一个端点之间;以及a first switch selectively coupled between the terminal of the second adjustable resistive element and a terminal of a third adjustable resistive element; and 一第二开关,选择性地耦接于所述第三可调式电阻性元件的所述端点与一第四可调式电阻性元件的一个端点之间;a second switch selectively coupled between the terminal of the third adjustable resistive element and a terminal of a fourth adjustable resistive element; 其中所述第一开关通过一开关控制信号所控制,所述第二开关通过所述开关控制信号的反相版本所控制。Wherein the first switch is controlled by a switch control signal and the second switch is controlled by an inverted version of the switch control signal. 6.一种实体层电路,其特征在于,所述实体层电路包含:6. A physical layer circuit, wherein the physical layer circuit comprises: N个信号接垫,包含至少六个信号接垫;N signal pads, including at least six signal pads; 一六信号实体媒介附加子层,耦接于所述六个信号接垫,包含:A six-signal physical medium additional sublayer, coupled to the six signal pads, includes: 一六信号终端电路,耦接于所述六个信号接垫,包含:A six-signal termination circuit, coupled to the six signal pads, includes: 六个可调式电阻性元件,每一个分别耦接于所述六个信号接垫中的一个;six adjustable resistive elements, each of which is respectively coupled to one of the six signal pads; 一第一导线,耦接于一第一可调式电阻性元件的一个端点与一第二可调式电阻性元件的一个端点之间;a first wire coupled between one end of a first adjustable resistive element and one end of a second adjustable resistive element; 一第二导线,耦接于一第五可调式电阻性元件的一个端点与一第六可调式电阻性元件的一个端点之间;a second wire coupled between one end of a fifth adjustable resistive element and one end of a sixth adjustable resistive element; 一第一开关,选择性地耦接于所述第二可调式电阻性元件的所述端点与一第三可调式电阻性元件的一个端点之间;以及a first switch selectively coupled between the terminal of the second adjustable resistive element and a terminal of a third adjustable resistive element; and 一第二开关,选择性地耦接于所述第三可调式电阻性元件的所述端点与一第四可调式电阻性元件的一个端点之间;a second switch selectively coupled between the terminal of the third adjustable resistive element and a terminal of a fourth adjustable resistive element; 一第三开关,选择性地耦接于所述第四可调式电阻性元件的所述端点与一第五可调式电阻性元件的所述端点之间;a third switch selectively coupled between the terminal of the fourth adjustable resistive element and the terminal of a fifth adjustable resistive element; 其中所述第一开关与所述第三开关通过一开关控制信号所控制,以及所述第二开关通过所述开关控制信号的反相版本所控制。Wherein the first switch and the third switch are controlled by a switch control signal, and the second switch is controlled by an inverted version of the switch control signal.
CN202210277668.5A 2017-07-19 2018-07-19 PHYSICAL LAYER CIRCUIT FOR MULTI-LINE INTERFACE Pending CN114629493A (en)

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
US201762534209P 2017-07-19 2017-07-19
US62/534,209 2017-07-19
US201762590352P 2017-11-23 2017-11-23
US62/590,352 2017-11-23
US15/956,709 2018-04-18
US15/956,709 US20190158127A1 (en) 2017-11-23 2018-04-18 Encoding and decoding architecture for high-speed data communication system and related physical layer circuit, transmitter and receiver and communication system thereof
CN201810799479.8A CN109286396B (en) 2017-07-19 2018-07-19 Physical layer circuit for multi-wire interface

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810799479.8A Division CN109286396B (en) 2017-07-19 2018-07-19 Physical layer circuit for multi-wire interface

Publications (1)

Publication Number Publication Date
CN114629493A true CN114629493A (en) 2022-06-14

Family

ID=67347594

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210277668.5A Pending CN114629493A (en) 2017-07-19 2018-07-19 PHYSICAL LAYER CIRCUIT FOR MULTI-LINE INTERFACE
CN201810799479.8A Active CN109286396B (en) 2017-07-19 2018-07-19 Physical layer circuit for multi-wire interface

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201810799479.8A Active CN109286396B (en) 2017-07-19 2018-07-19 Physical layer circuit for multi-wire interface

Country Status (2)

Country Link
CN (2) CN114629493A (en)
TW (1) TWI670577B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336970A (en) * 2019-07-18 2019-10-15 广州健飞通信有限公司 A kind of circuit and its signal synthesis method of multiple signals interface
WO2021172622A1 (en) * 2020-02-27 2021-09-02 엘지전자 주식회사 Signal receiving device and electronic device comprising same

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5714904A (en) * 1994-06-06 1998-02-03 Sun Microsystems, Inc. High speed serial link for fully duplexed data communication
EP0863640A3 (en) * 1997-03-04 2005-09-21 Texas Instruments Incorporated Improved physical layer interface device
US6816010B2 (en) * 2002-12-20 2004-11-09 Intel Corporation Transimpedance amplifier
US6870390B1 (en) * 2003-09-11 2005-03-22 Xilinx, Inc. Tx line driver with common mode idle state and selectable slew rates
CN100397379C (en) * 2005-10-12 2008-06-25 盛群半导体股份有限公司 Connecting judging method and device of computer external device interface shape
US7924912B1 (en) * 2006-11-01 2011-04-12 Xilinx, Inc. Method and apparatus for a unified signaling decision feedback equalizer
US8397096B2 (en) * 2010-05-21 2013-03-12 Altera Corporation Heterogeneous physical media attachment circuitry for integrated circuit devices
EP2791807A4 (en) * 2011-12-16 2015-08-05 Intel Corp Automatic downstream to upstream mode switching at a universal serial bus physical layer
CN103973243B (en) * 2013-01-24 2016-12-28 西安电子科技大学 Have the cmos operational amplifier of very big direct current open-loop voltage gain
US8786324B1 (en) * 2013-05-13 2014-07-22 Via Technologies, Inc. Mixed voltage driving circuit
US9652020B2 (en) * 2014-06-18 2017-05-16 Qualcomm Incorporated Systems and methods for providing power savings and interference mitigation on physical transmission media
US9602315B2 (en) * 2014-12-12 2017-03-21 Intel Corporation Method and apparatus for passive continuous-time linear equalization with continuous-time baseline wander correction
CN105991099B (en) * 2015-01-30 2018-08-14 博通集成电路(上海)股份有限公司 Operational amplifier and the method being amplified using the operational amplifier
TWI537738B (en) * 2015-02-04 2016-06-11 滿芯行動科技股份有限公司 Connecting device
KR20170045542A (en) * 2015-10-19 2017-04-27 삼성전자주식회사 Edge detector and signal character analyzing system including the same

Also Published As

Publication number Publication date
TW201918805A (en) 2019-05-16
CN109286396B (en) 2022-04-08
CN109286396A (en) 2019-01-29
TWI670577B (en) 2019-09-01

Similar Documents

Publication Publication Date Title
US10574431B2 (en) Physical layer circuitry for multi-wire interface
US9998300B2 (en) N-phase phase and polarity encoded serial interface
JP6433973B2 (en) Multi-wire single-ended push-pull link with data symbol transition-based clocking
JP2023139274A (en) Time-encoded data communication protocols, apparatus and methods for generating and receiving data signals
US7843216B2 (en) Techniques for optimizing design of a hard intellectual property block for data transmission
US7205787B1 (en) On-chip termination for a high-speed single-ended interface
US10476537B2 (en) System and method for reference noise compensation for single-ended serial links
US20070182456A1 (en) Reducing Pin Count When the Digital Output is to be Provided in Differential or Single-ended Form
KR101688377B1 (en) Clock recovery circuit for multiple wire data signals
JP6808641B2 (en) Clock and data recovery for pulse-based multi-wire links
CN109286396B (en) Physical layer circuit for multi-wire interface
KR20220154681A (en) Termination for high frequency transmission lines
CN109831192B (en) Physical layer circuit for transmitter and receiver, method thereof and communication system
TWI683219B (en) A Biphase Mark Coding Transmitter
TW201822015A (en) Controller-PHY connection using intra-chip serdes
WO2023231461A1 (en) Chip and computer device
Stojčev et al. On-and Off-chip Signaling and Synchronization Methods in Electrical Interconnects
den Besten The USB 2.0 physical layer: Standard and implementation
CN118740958A (en) A serial deserializer and network device
ATA et al. Protocol Description
WO2015081120A1 (en) N-phase phase and polarity encoded serial interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination