[go: up one dir, main page]

WO2025167343A1 - Chip, processing apparatus and electronic device - Google Patents

Chip, processing apparatus and electronic device

Info

Publication number
WO2025167343A1
WO2025167343A1 PCT/CN2024/140420 CN2024140420W WO2025167343A1 WO 2025167343 A1 WO2025167343 A1 WO 2025167343A1 CN 2024140420 W CN2024140420 W CN 2024140420W WO 2025167343 A1 WO2025167343 A1 WO 2025167343A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
die
pma
coupled
pcs
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
PCT/CN2024/140420
Other languages
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2025167343A1 publication Critical patent/WO2025167343A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01LSEMICONDUCTOR DEVICES NOT COVERED BY CLASS H10
    • H01L25/00Assemblies consisting of a plurality of semiconductor or other solid state devices
    • H01L25/03Assemblies consisting of a plurality of semiconductor or other solid state devices all the devices being of a type provided for in a single subclass of subclasses H10B, H10D, H10F, H10H, H10K or H10N, e.g. assemblies of rectifier diodes
    • H01L25/04Assemblies consisting of a plurality of semiconductor or other solid state devices all the devices being of a type provided for in a single subclass of subclasses H10B, H10D, H10F, H10H, H10K or H10N, e.g. assemblies of rectifier diodes the devices not having separate containers
    • H01L25/065Assemblies consisting of a plurality of semiconductor or other solid state devices all the devices being of a type provided for in a single subclass of subclasses H10B, H10D, H10F, H10H, H10K or H10N, e.g. assemblies of rectifier diodes the devices not having separate containers the devices being of a type provided for in group H10D89/00
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10BELECTRONIC MEMORY DEVICES
    • H10B80/00Assemblies of multiple devices comprising at least one memory device covered by this subclass
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2115/00Details relating to the type of the circuit
    • G06F2115/02System on chip [SoC] design

Definitions

  • the embodiments of the present application relate to the field of chip technology, and in particular to a chip, a processing device, and an electronic device.
  • Chiplet technology splits a chip into multiple dies, then packages them together to form a single chip.
  • Chiplet technology offers advantages such as flexible design, low cost, and a short R&D cycle. Chiplet development requires consideration of how to divide the dies.
  • the present application provides a chip, a processing device, and an electronic device, and provides a method for dividing bare dies in a chiplet.
  • a chip comprising a first die and a second die.
  • the first die comprises a physical coding sublayer (PCS) circuit
  • the second die comprises a physical medium attachment sublayer (PMA) circuit and a physical medium dependent sublayer (PMD) circuit.
  • the PCS circuit of the first die is coupled to the PMA circuit of the second die, and the PMA circuit is coupled to the PMD circuit.
  • the above technical solution provides a die partitioning method within a chiplet, separating multiple circuits onto different dies.
  • Different dies can utilize different process technologies.
  • the second die can utilize a mature process, resulting in lower hardware costs.
  • a first die can be used with multiple second dies, and the number of first and second dies can be selected based on the scenario, providing greater design flexibility.
  • the second die only includes PMA and PMD circuits, which are unrelated to functional logic. This allows for flexible reuse between different dies at a low cost.
  • the PMA and PMD circuits are unrelated to functional logic and are used to couple with the link containing any of the multiple functions.
  • the PCS circuit is related to functional logic and is used to couple with the link containing the function corresponding to the PCS circuit.
  • Separating circuits related to functional logic and circuits unrelated to functional logic onto different dies eliminates crossover of single-board traces outside the chip and internal traces within the chip, reducing hardware costs and facilitating reuse of multiple second dies with the first die.
  • the PCS circuit includes a PCS transmit circuit and a PCS receive circuit
  • the PMA circuit includes a PMA transmit circuit and a PMA receive circuit
  • the PMD circuit includes a PMD transmit circuit and a PMD receive circuit.
  • the PCS transmit circuit is coupled to the PMA transmit circuit, which in turn is coupled to the PMD transmit circuit.
  • the PCS receive circuit is coupled to the PMA receive circuit, which in turn is coupled to the PMD receive circuit.
  • the first die or the second die further includes a functional circuit.
  • the PCS circuit is coupled to the PMA circuit via the functional circuit.
  • other functional circuits may be included between the PCS circuit and the PMA circuit. These functional circuits may be configured based on application requirements, thereby enabling more flexible configuration of chip functions.
  • the functional circuit includes a forward error correction (FEC) circuit.
  • FEC forward error correction
  • Including the FEC circuit between the PCS circuit and the PMA circuit in this possible implementation can reduce the bit error rate. If the FEC circuit is located on a second die using a mature process, the chip cost can be further reduced. If the FEC circuit is located on a first die using an advanced process, the first die can also be manufactured using an advanced process, thereby improving chip performance.
  • FEC forward error correction
  • the first die or the second die further includes a feedback circuit.
  • the FEC receiving circuit is coupled to the feedback circuit, which is in turn coupled to the PMD receiving circuit.
  • the FEC receiving circuit is configured to transmit bit error information to the PMD receiving circuit via the feedback circuit when the bit error rate (BER) obtained by forward error correction (FEC) is not zero.
  • the feedback circuit is a serial interface.
  • the bit error rate of the bit error information to be transmitted is relatively high.
  • the feedback circuit for transmitting the bit error information is configured as a serial interface. The bit error information is transmitted in the form of serial data, thereby reducing the bandwidth for data transmission between dies.
  • the first die further includes a medium access control (MAC) circuit.
  • the MAC circuit is coupled to the PCS circuit.
  • the MAC circuit can be decoupled from the advanced process die (advanced process dies offer better performance than mature process dies), further reducing costs and increasing design flexibility. If the first die utilizes an advanced process and the second die utilizes a mature process, placing as many circuits as possible, such as the MAC circuit, on the first die can improve chip performance and reduce package size.
  • the MAC circuit includes a MAC transmit circuit and a MAC receive circuit.
  • the MAC transmit circuit is coupled to the PCS transmit circuit.
  • the MAC receive circuit is coupled to the PCS receive circuit.
  • the MAC circuit includes a transmit side and a receive side, and both the MAC transmit circuit and the MAC receive circuit are disposed in the first die. This reduces hardware cost and provides greater design flexibility. If the first die uses an advanced process, the MAC transmit circuit and the MAC receive circuit can also use the advanced process to improve chip performance.
  • the first die or the second die further includes a regulation circuit
  • the PMA transmit circuit further includes a buffer.
  • the MAC transmit circuit is coupled to the regulation circuit, which is in turn coupled to the PMA transmit circuit.
  • the buffer is configured to store data while the MAC transmit circuit is transmitting data to the PMA transmit circuit via the PCS transmit circuit.
  • the PMA transmit circuit is configured to control the MAC transmit circuit to reduce the bandwidth of transmitted data via the regulation circuit when the amount of data stored in the buffer exceeds a preset value.
  • the regulation circuit is configured to adjust the transmit bandwidth of the first die when the amount of data stored in the PMA transmit circuit's buffer exceeds a first preset value, thereby alleviating the problem of excessive data traffic on the first die that the second die cannot process in time.
  • the first die further includes a first interface circuit
  • the second die further includes a second interface circuit.
  • the first interface circuit and the second interface circuit are coupled, and the first die is coupled to the second die via the first interface circuit and the second interface circuit.
  • the first die is coupled to the second die via the first interface circuit and the second interface circuit, and the first die and the second die can communicate via the first interface circuit and the second interface circuit, establishing a basis for communication between the first die and the second die.
  • a processing device which includes a printed circuit board and a chip provided by the first aspect or any possible implementation of the first aspect.
  • an electronic device includes a housing and the processing device according to the second aspect.
  • any of the processing devices or electronic devices provided above can apply the corresponding chips provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding chips provided above, and will not be repeated here.
  • FIG1 is a schematic diagram of a core particle technology provided in an embodiment of the present application.
  • FIG2 is a schematic diagram of an open system interconnection reference model provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of the functions of a physical medium access sublayer circuit provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of an electronic device provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of a first chip provided in an embodiment of the present application.
  • FIG6 is a schematic diagram of a first interface die provided in an embodiment of the present application.
  • FIG7 is a schematic diagram of a second chip provided in an embodiment of the present application.
  • FIG8 is a first schematic diagram of a third chip provided in an embodiment of the present application.
  • FIG9 is a schematic diagram of a second bare die provided in an embodiment of the present application.
  • FIG11 is a third schematic diagram of a third chip provided in an embodiment of the present application.
  • FIG12 is a fourth schematic diagram of a third chip provided in an embodiment of the present application.
  • FIG14 is a sixth schematic diagram of a third chip provided in an embodiment of the present application.
  • FIG15 is a seventh schematic diagram of a third chip provided in an embodiment of the present application.
  • FIG16 is a schematic diagram eight of a third chip provided in an embodiment of the present application.
  • At least one refers to one or more, and “more” refers to two or more.
  • “And/or” describes the association relationship of associated objects, indicating that three relationships may exist.
  • a and/or B can mean: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural.
  • At least one of the following items or similar expressions refers to any combination of these items, including any combination of single items or plural items.
  • At least one of a, b or c can mean: a, b, c, a-b, a-c, b-c or a-b-c, where a, b and c can be single or multiple.
  • the character "/" generally indicates that the previous and next associated objects are in an "or” relationship.
  • words such as "first” and “second” do not limit the quantity and execution order.
  • words such as “exemplary” or “for example” are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as “exemplary” or “for example” should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as “exemplary” or “for example” is intended to present the relevant concepts in a concrete manner.
  • a first circuit 101, a second circuit 102, a third circuit 103, and a fourth circuit 104 constitute an SOC chip.
  • the SOC chip may also include multiple input/output (I/O) interfaces.
  • I/O input/output
  • Each of the first circuit 101, the second circuit 102, the third circuit 103, and the fourth circuit 104 can be coupled to external devices using the four I/O interfaces in the SOC chip.
  • Chiplet technology in contrast to SOC technology, splits a function-rich and large chip into multiple dies, which are then packaged together to form a single chip.
  • the chiplet technology chip is split into two dies: die 1 and die 2.
  • the first circuit 101 and the second circuit 102 are fabricated on die 1, and the third circuit 103 and the fourth circuit 104 are fabricated on die 2.
  • Die 1 and die 2 are coupled via an interconnect interface.
  • Die 1 and die 2 may also each include multiple I/O interfaces.
  • Each of the first circuit 101 and the second circuit 102 can be coupled to an external device based on the two I/O interfaces in die 1, and each of the third circuit 103 and the fourth circuit 104 can be coupled to an external device based on the two I/O interfaces in die 2.
  • SOC technology is highly dependent on process technology. For example, as chip manufacturing processes become increasingly advanced, chip technology has evolved from 28 nanometers to 10 nanometers, 7 nanometers, 5 nanometers, and even smaller. However, nanometer technology is approaching its physical limits, and improving chip technology requires new technological approaches. This is where the advantages of chiplet technology become apparent. First, during wafer processing, defective pixels are more likely to appear the further they are from the center of the wafer. Larger wafers increase the defect rate. Chiplet technology divides a single chip into multiple smaller dies, helping to improve yield and reduce manufacturing costs. Second, while the entire SOC chip must be manufactured using advanced process technology, chiplet technology allows different dies to be manufactured using different process technologies.
  • the die containing the logic circuitry can use an advanced process, while the interface die can use a mature process.
  • Advanced processes are more expensive than mature processes, but offer better chip performance.
  • the SOC chip design becomes more complex and costly.
  • Chiplet technology offers greater design flexibility. Therefore, chiplet technology offers advantages such as design flexibility, low cost, and a shortened R&D cycle.
  • the OSI reference model commonly known as the OSI reference model or seven-layer model, is a standard system developed by the International Organization for Standardization for interconnecting computer or communication systems. It is an abstract model consisting of seven layers, encompassing not only a series of abstract terms or concepts but also specific protocols. As shown in Figure 2, the OSI reference model includes the application layer, presentation layer, session layer, transport layer, network layer, data link layer, and physical layer (PHY).
  • OSI reference model commonly known as the OSI reference model or seven-layer model, is a standard system developed by the International Organization for Standardization for interconnecting computer or communication systems. It is an abstract model consisting of seven layers, encompassing not only a series of abstract terms or concepts but also specific protocols. As shown in Figure 2, the OSI reference model includes the application layer, presentation layer, session layer, transport layer, network layer, data link layer, and physical layer (PHY).
  • PHY physical layer
  • the application layer can be used to provide an interface between network services and users;
  • the presentation layer can be used to be responsible for data representation, security and compression;
  • the session layer can be used to establish, manage and terminate sessions;
  • the transport layer can be used to define the protocol port number for transmitting data, as well as flow control and error checking;
  • the network layer can be used to perform logical addressing and realize path selection between different networks;
  • the data link layer can be used to perform functions such as establishing logical connections, performing hardware addressing, error checking, etc.;
  • the physical layer can be used to establish, maintain and disconnect physical connections.
  • the data link layer may include the logical link control (LLC) layer and the medium access control (MAC) layer.
  • LLC logical link control
  • MAC medium access control
  • the upper half of the data link layer may include the LLC layer or other MAC client layer, and the lower half may include the MAC layer.
  • MAC control may optionally be provided between the LLC and MAC layers.
  • a physical layer signaling sublayer (PLS) may also be provided below the MAC layer (not shown in the figure).
  • the PHY layer may include a reconciliation sublayer (RS), a medium-independent interface (MII), a physical coding sublayer (PCS), a physical medium attachment sublayer (PMA), a physical medium-dependent sublayer (PMD), a medium-dependent interface (MDI), etc.
  • the PHY layer may be coupled with the medium layer.
  • the transmitting side of the MAC layer can be used to encapsulate data packets from the LLC layer into data frames and send the data frames to the RS layer.
  • the receiving side of the MAC layer can be used to receive data frames from the RS layer and parse the data frames into upper-layer network data.
  • the RS layer can be used to provide a signal mapping mechanism between the MII and MAC layers (or between the MII and PLS layers).
  • the RS layer's transmitter can convert data from the MAC layer (or PLS layer) into a signal format that complies with the MII interface standard.
  • the first byte of the preamble is translated into the /S signature, data is transparently transmitted during normal transmission, and a /T signature is inserted after the frame check sequence (FCS) at the end of a frame transmission, and an /I signature is inserted after the /T signature.
  • FCS frame check sequence
  • the RS layer's receiver can be used to perform framing on the PCS layer through the MII (e.g., the Gigabit Media Independent Interface (GMII)), search for frame headers, transparently transmit received data to the MAC layer for processing, translate the GMII interface's control signatures, and detect link error data indications provided by the PHY layer.
  • the MII can be used to establish a connection from the MAC layer to the PCS layer, facilitate data transmission between the MAC and PCS layers, and perform link status control, such as detecting link errors.
  • the PCS layer can be used for functions such as frame header synchronization, encoding and decoding, scrambling and descrambling, and frame rate adjustment.
  • the transmit side of the PCS layer can be used to send data received from the GMII bus to other sublayers of the PHY layer after the above processing
  • the receive side of the PCS layer can be used to send data from other sublayers of the PHY layer to the GMII bus after the above processing.
  • the PMA layer can be used for bit-level multiplexing, bit gearboxing, bit order reversal, and asynchronous clock and data processing.
  • the PMA layer's transmitter side can process data from upper layers (such as the PCS layer) and then send it to the PMD layer.
  • the PMA layer's receiver side can asynchronously process data from the PMD layer and then send it to upper layers for subsequent operations.
  • the data in the PHY layer can be in the form of data streams.
  • the upper layer of the PMA layer can include n data streams (e.g., 4 in the figure), and the PMA layer can include m data streams (e.g., 2 in the figure), where n is greater than m.
  • the first data stream of the upper layer is: 0.6, 0.5, 0.4, 0.3; the second data stream is: 2.9, 2.8, 2.7, 2.6; the third data stream is: 1.6, 1.5, 1.4, 1.3; and the fourth data stream is: 3.8, 3.7, 3.6, 3.5.
  • Bit-level multiplexing at the PMA layer can mean that the PMA layer converts data from four data streams of the upper layer into two data streams of the PMA layer for transmission.
  • the first PMA data stream is: 0.6, 2.9, 0.5, 2.8, 0.4, 2.7, 0.3, 2.6
  • the second data stream is: 1.6, 3.8, 1.5, 3.7, 1.4, 3.6, 1.3, 3.5.
  • Bit width conversion at the PMA layer converts the data bit width from the upper layer's bit width (e.g., 80 bits) to the PMA layer's bit width (e.g., 64 bits).
  • Bit order reversal at the PMA layer indicates the transmission order of multiple bits of data in the PMD layer.
  • the PMD layer can be used to convert parallel data to serial data and vice versa.
  • the circuit used to perform the PMD layer function can also be called a serializer/deserializer (SerDes).
  • SerDes serializer/deserializer
  • the transmitting side of the PMD layer can be used to convert parallel data to serial data
  • the receiving side of the PMD can be used to convert serial data to parallel data.
  • An embodiment of the present application provides an electronic device, as shown in FIG4 , wherein the electronic device 1000 includes a housing (not shown in the figure) and a processing device, wherein the processing device includes a printed circuit board (PCB) (not shown in the figure) and a chip 2000.
  • the chip 2000 includes a main circuit 200, a MAC circuit 300, and a PHY circuit 400.
  • the main circuit 200 may include a circuit for performing a control function, a processing function, or a computing function, or may include a circuit for performing a function of sending and receiving data in a communication network, or may include other circuits, which are not limited in the embodiment of the present application.
  • the MAC circuit 300 may be a circuit for performing MAC layer functions
  • the PHY circuit 400 may be a circuit for performing PHY layer functions.
  • the chip 2000 is a chiplet technology chip.
  • the chip 2000 in FIG. 4 may separate the main circuit 200 into one die, and separate the MAC circuit 300 and the PHY circuit 400 into another die.
  • chip 2000 may be the first chip 2000A as shown in FIG5 .
  • the first chip 2000A includes a first main die 2100A and a first interface die 2200A.
  • the first main die 2100A includes a first main circuit 200A
  • the first interface die 2200A includes a first MAC circuit 300A and a first PHY circuit 400A.
  • the first main circuit 200A is coupled to the first MAC circuit 300A
  • the first MAC circuit 300A is coupled to the first PHY circuit 400A.
  • the first main die 2100A uses an advanced process, while the first interface die 2200A uses a mature process, resulting in lower hardware costs.
  • the first main die 2100A can be used in conjunction with multiple first interface die 2200A.
  • the number of first main die 2100A and first interface die 2200A can be selected based on the scenario, providing greater design flexibility.
  • the first chip 2000A shown in FIG5 has the following problems:
  • the first PHY circuit 400A includes circuits related to functional logic (used to couple with a link where a function corresponding to the circuit is located), such as circuits for performing PCS layer functions.
  • the first PHY circuit 400A also includes circuits unrelated to functional logic (used to couple with a link where any of the multiple functions is located), such as circuits for performing PMA layer functions and circuits for performing PMD layer functions.
  • the first MAC circuit 300A is a circuit related to functional logic.
  • circuits related to functional logic and circuits unrelated to functional logic are coupled to the first interface die 2200A (for example, a circuit with a bandwidth of 56 Gbps for performing PMD layer functions is coupled to the first MAC circuit 300A with a bandwidth of 400 Gbps), in a frame device scenario, there is a problem of cross-board wiring outside the first chip 2000A, or cross-wiring within the first chip 2000A, which increases hardware costs and is not conducive to the first main die 2100A multiplexing multiple first interface dies 2200A. Next, this problem will be illustrated using a frame switch scenario as an example.
  • the first main circuit 200A in the first main die 2100A includes an optical module circuit and a switching network circuit.
  • the optical module circuit refers to the message processing circuit on the optical module side
  • the switching network circuit refers to the message processing circuit on the switching network side.
  • the first interface die 2200A1 and the first interface die 2200A2 both include a first irrelevant circuit, a second irrelevant circuit, an optical module-related circuit, and a switching network-related circuit.
  • the first irrelevant circuit and the second irrelevant circuit both refer to circuits unrelated to the functional logic of the optical module and the switching network (such as circuits for performing PMA layer functions and circuits for performing PMD layer functions).
  • the first irrelevant circuit and the second irrelevant circuit can be used to couple with both the link where the optical module is located and the link where the switching network is located.
  • the optical module-related circuit refers to circuits related to the functional logic of the optical module (such as circuits for performing PCS layer functions). In other words, the optical module-related circuit is used to couple with the link where the optical module is located.
  • the switching network-related circuit refers to circuits related to the functional logic of the switching network. In other words, the switching network-related circuit is used to couple with the link where the switching network is located.
  • the first unrelated circuits in the first interface die 2200A1 and the optical module circuits in the first master die 2100A are coupled to the optical module-related circuits in the first interface die 2200A1.
  • the optical module circuits in the first master die 2100A can be coupled to an external optical module device via the optical module-related circuits and the first unrelated circuits in the first interface die 2200A1.
  • the second unrelated circuits in the first interface die 2200A1 and the switching network circuits in the first master die 2100A are coupled to the switching network-related circuits in the first interface die 2200A1.
  • the switching network circuits in the first master die 2100A can be coupled to an external switching network device via the switching network-related circuits and the second unrelated circuits in the first interface die 2200A1.
  • the coupling relationships of the various circuits in the second interface die 2200A2 can be referenced to the coupling relationships of the various circuits in the first interface die 2200A1 (as shown in FIG.
  • the first interface die 2200 is manufactured with the same structure. Since the first interface die 2200A1 and the first interface die 2200A2 have the same structure, in actual use, the optical module-related circuits in the first interface die 2200A1 and the optical module-related circuits in the first interface die 2200A2 cannot both be located on the same side as the optical module circuits in the first main die 2100A. For example, in FIG6 (a), the optical module circuits are located on the right side, the optical module-related circuits of the first interface die 2200A2 are located on the right side, and the optical module-related circuits of the second interface die 2200A1 are located on the left side.
  • the first and second irrelevant circuits can be coupled to the optical module-related circuits and the switching network-related circuits via a switch.
  • the switch is turned on as shown in FIG6(b), whereby the optical module-related circuits in the first interface die 2200A1 are coupled to the second irrelevant circuits, thereby allowing the optical module circuits in the first master die 2100A to be coupled to an external optical module device via the optical module-related circuits and the second irrelevant circuits in the first interface die 2200A1; and the switching network-related circuits in the first interface die 2200A1 are coupled to the first irrelevant circuits, thereby allowing the switching network circuits in the first master die to be coupled to an external switching network device via the switching network-related circuits and the first irrelevant circuits in the first interface die 2200A1.
  • the first interface die 2200A adopts a mature process, and too many circuits in the first chip 2000A are split onto the first interface die 2200A. These circuits cannot use the advanced process of the first main die 2100A (compared with the mature process, the advanced process has better chip performance), so this results in poor performance of the first chip 2000A.
  • the chip 2000 in FIG. 4 may separate the main circuit 200 and the MAC circuit 300 into one die, and separate the PHY circuit 400 into another die.
  • chip 2000 may be the second chip 2000B as shown in FIG7 .
  • Second chip 2000B includes a second main die 2100B and a second interface die 2200B.
  • Second main die 2100B includes a second main circuit 200B and a second MAC circuit 300B, and second interface die 2200B includes a second PHY circuit 400B.
  • Second main circuit 200B is coupled to second MAC circuit 300B, and second MAC circuit 300B is coupled to second PHY circuit 400B.
  • Second main die 2100B uses an advanced process, while second interface die 2200B uses a mature process, resulting in lower hardware costs.
  • second main die 2100B can be used in conjunction with multiple second interface die 2200Bs, and the number of second main die 2100Bs and second interface die 2200Bs can be selected based on the scenario, providing greater design flexibility.
  • the second chip 2000B shown in FIG7 has the following problems:
  • the second PHY circuit 400B includes circuits related to functional logic (such as circuits for performing PCS layer functions) and circuits unrelated to functional logic (such as circuits for performing PMA layer functions and circuits for performing PMD layer functions). Since the circuits related to functional logic and the circuits unrelated to functional logic are coupled to the second interface bare chip 2200B, in the frame device scenario, there is a problem of crossover of the external single-board wiring of the second chip 2000B, or a problem of crossover of the internal wiring of the second chip 2000B, which increases the hardware cost and is not conducive to the second main bare chip 2100B multiplexing multiple second interface bare chips 2200B. This problem can be specifically referred to the problem corresponding to the first chip 2000A shown in Figure 5, and the embodiments of the present application will not be repeated here.
  • the second interface die 2200B adopts a mature process, and too many circuits in the second chip 2000B are split onto the second interface die 2200B. These circuits cannot use the advanced process of the second main die 2100B (compared with the mature process, the advanced process has better chip performance), so this results in poor performance of the second chip 2000B.
  • the chip 2000 in FIG4 may separate the PCS circuit in the PHY circuit 400 into one die, and separate the PMA circuit and PMD circuit in the PHY circuit 400 into another die.
  • the PCS circuit is used to perform PCS layer functions
  • the PMA circuit is used to perform PMA layer functions
  • the PMD circuit is used to perform PMD layer functions.
  • the chip 2000 may be the third chip 2000C as shown in FIG8 .
  • the third chip 2000C includes a first die 2210C and a second die 2220C.
  • the first die 2210C includes a PCS circuit 410C
  • the second die 2220C includes a PMA circuit 420C and a PMD circuit 430C.
  • the PCS circuit 410C of the first die 2210C is coupled to the PMA circuit 420C of the second die 2220C
  • the PMA circuit 420C is coupled to the PMD circuit 430C.
  • the clock domains of the first die 2210C and the second die 2220C are different, and the second die 2220C can convert the clock domain through the PMA circuit 420C.
  • the PMA circuit 420C can be used to convert the clock domain of data between the clock domain of the PCS circuit 410C and the clock domain of the PMD circuit 430C.
  • the clock domain of the PCS circuit 410C can be the clock domain of the first die 2210C
  • the clock domain of the PMD circuit 430C can be the clock domain of the second die 2220C.
  • the third chip 2000C shown in FIG8 has the following effects:
  • a die partitioning method in a chiplet where multiple circuits are split onto different dies.
  • Different dies can be manufactured using different process technologies.
  • the second die 2220C can be manufactured using a mature process, resulting in lower hardware costs.
  • the first die 2210C can be used in conjunction with multiple second die 2220Cs.
  • the number of first die 2210C and the number of second die 2220C can be selected according to the scenario, which provides high design flexibility.
  • the second die 2220C includes only the PMA circuit 420C and PMD circuit 430C, which are unrelated to the functional logic. This allows for flexible reuse between different dies at a low cost.
  • the PMA circuit 420C and PMD circuit 430C are unrelated to the functional logic and are used to couple with the link of any of the multiple functions.
  • the PCS circuit 410C is related to the functional logic and is used to couple with the link of the function corresponding to the PCS circuit 410C.
  • the second die 2220C1 and the second die 2220C2 each include a first irrelevant circuit and a second irrelevant circuit.
  • the first irrelevant circuit and the second irrelevant circuit can be used to couple with either the link where the optical module is located or the link where the switching network is located.
  • the first irrelevant circuit includes a PMA circuit 420C and a PMD circuit 430C
  • the second irrelevant circuit includes a PMA circuit 420C and a PMD circuit 430C.
  • the first die 2210C includes a switching network circuit, a first switching network-related circuit, a second switching network-related circuit, an optical module circuit, a first optical module-related circuit, and a second optical module-related circuit.
  • the first optical module-related circuit and the second optical module-related circuit are used to couple with the link where the optical module is located, and the first switching network-related circuit and the second switching network-related circuit are used to couple with the link where the switching network is located.
  • the first switching network-related circuit, the second switching network-related circuit, the first optical module-related circuit, and the second optical module-related circuit all include a PCS circuit 410C.
  • the switching network circuit is used to couple with an external switching network device via the first switching network-related circuit and the first unrelated circuit in the second die 2220C1.
  • the switching network circuit is also used to couple with an external switching network device via the second switching network-related circuit and the second unrelated circuit in the second die 2220C2.
  • the optical module circuit is used to couple with an external optical module device via the second optical module-related circuit and the second unrelated circuit in the second die 2220C1.
  • the optical module circuit is also used to couple with an external optical module device via the first optical module-related circuit and the first unrelated circuit in the second die 2220C2. Because the first unrelated circuit and the second unrelated circuit can be coupled to any link containing any function, there is no problem of external or internal wiring crossing. When the first die 2210C is used in conjunction with multiple second dies 2220C, this can significantly reduce wiring crossings, significantly reducing hardware complexity.
  • the PCS circuit 410C, the PMA circuit 420C, and the PMD circuit 430C in FIG8 all include a transmitting side and a receiving side.
  • PCS circuit 410C includes PCS transmit circuit 411C and PCS receive circuit 412C
  • PMA circuit 420C includes PMA transmit circuit 421C and PMA receive circuit 422C
  • PMD circuit 430C includes PMD transmit circuit 431C and PMD receive circuit 432C.
  • PCS transmit circuit 411C is coupled to PMA transmit circuit 421C, which in turn is coupled to PMD transmit circuit 431C.
  • PCS receive circuit 412C is coupled to PMA receive circuit 422C, which in turn is coupled to PMD receive circuit 432C.
  • PCS transmit circuit 411C processes the data (e.g., encodes it) and sends it to PMA transmit circuit 421C.
  • PMA transmit circuit 421C processes the data (e.g., performs clock domain conversion) and sends it to PMD transmit circuit 431C.
  • PMD transmit circuit 431C processes the data (e.g., converts parallel data into serial data) and sends it to a medium, including but not limited to PCB traces, copper cables, and optical fibers.
  • the PMD receiving circuit 432C receives data from the medium, processes the data accordingly (e.g., converts serial data into parallel data), and sends the data to the PMA receiving circuit 422C.
  • the PMA receiving circuit 422C processes the data accordingly (e.g., performs clock domain conversion) and sends the data to the PCS circuit 410C.
  • the PCS circuit 410C processes the data accordingly (e.g., performs decoding).
  • the PMA transmit circuit 421C includes multiple lanes
  • the PMD transmit circuit 431C includes multiple lanes
  • each lane in the PMA transmit circuit 421C is coupled to each lane in the PMD transmit circuit 431C in a one-to-one correspondence
  • each lane in the PMD transmit circuit 431C may include multiple parallel channels and one serial channel
  • each lane in the PMD transmit circuit 431C is configured to convert data in the parallel channels into data in the serial channels.
  • the PMA receive circuit 422C includes multiple lanes
  • the PMD receive circuit 432C includes multiple lanes
  • each lane in the PMA receive circuit 422C is coupled to each lane in the PMD receive circuit 432C in a one-to-one correspondence
  • each lane in the PMD receive circuit 432C may include multiple parallel channels and one serial channel
  • each lane in the PMD receive circuit 432C is configured to convert data in the serial channels into data in the parallel channels.
  • the PCS circuit 410C, the PMA circuit 420C and the PMD circuit 430C all include a transmitting side and a receiving side.
  • the PMA transmitting circuit 421C, the PMA receiving circuit 422C, the PMD transmitting circuit 431C and the PMD receiving circuit 432C are all located on different bare chips from the PCS transmitting circuit 411C and the PCS receiving circuit 412C. This has low hardware cost, high design flexibility, and helps the first bare chip 2210C to multiplex multiple second bare chips 2220C.
  • the third chip 2000C in FIG8 may include a third main circuit and a third MAC circuit.
  • a method for separating the third main circuit and the third MAC circuit from the aforementioned first die 2210C and second die 2220C is introduced.
  • the third chip 2000C further includes a third main die 2100C, in which the third main circuit 200C and the third MAC circuit 300C are disposed.
  • the third main circuit 200C is coupled to the third MAC circuit 300C
  • the third MAC circuit 300C is coupled to the PCS circuit 410C.
  • the third main die 2100C where the third main circuit 200C is located, utilizes an advanced process to decouple as many circuits from the third main die 2100C as possible.
  • the first die 2210C and the second die 2220C, where these circuits are located utilize mature processes. This can reduce costs, increase design flexibility, and resolve issues such as external board wiring crossings and internal wiring crossings.
  • the third chip 2000C further includes a third master die 2100C, the third master circuit 200C is disposed in the third master die 2100C, the third MAC circuit 300C is disposed in the first die 2210C, the third master circuit 200C is coupled to the third MAC circuit 300C, and the third MAC circuit 300C is coupled to the PCS circuit 410C.
  • the third MAC circuit 300C is further decoupled from the third master die 2100C, further reducing costs, improving design flexibility, and resolving issues such as crossover of external and internal board traces.
  • the third master circuit 200C and the third MAC circuit 300C are both disposed in the first die 2210C, the third master circuit 200C being coupled to the third MAC circuit 300C, and the third MAC circuit 300C being coupled to the PCS circuit 410C.
  • the first die 2210C where the third master circuit 200C is located uses an advanced process, while the second die 2220C uses a mature process. Placing as many circuits as possible on the first die 2210C can improve the performance of the third chip 2000C and reduce the package size.
  • the third MAC circuit 300C shown in FIG. 11 (a), (b), or (c) includes a transmitting side and a receiving side.
  • the third MAC circuit 300C includes a MAC transmit circuit 310C and a MAC receive circuit 320C.
  • the MAC transmit circuit 310C is coupled to the PCS transmit circuit 411C
  • the MAC receive circuit 320C is coupled to the PCS receive circuit 412C.
  • the MAC transmitting circuit 310C processes the data accordingly and transmits the data to the PCS transmitting circuit 411C.
  • the MAC receiving circuit 320C receives the data from the PCS receiving circuit 412C and processes the data accordingly.
  • the first die 2210C may have a bandwidth acceleration ratio, and the bandwidth of the first die 2210C transmitting data is greater than the bandwidth of the second die 2220C transmitting data. Therefore, a buffer (buffer/cache) can be set in the PMA transmitting circuit 421C for buffering.
  • the first die 2210C or the second die 2220C further includes a regulation circuit 440C
  • the PMA transmit circuit 421C further includes a buffer (not shown).
  • the MAC transmit circuit 310C is coupled to the regulation circuit 440C, which in turn is coupled to the PMA transmit circuit 421C.
  • the buffer is configured to store data while the MAC transmit circuit 310C is transmitting data to the PMA transmit circuit 421C via the PCS transmit circuit 411C.
  • the PMA transmit circuit 421C is configured to control the MAC transmit circuit 310C, via the regulation circuit 440C, to reduce the bandwidth of the transmitted data when the amount of data stored in the buffer exceeds a first preset value.
  • the PMA transmitting circuit 421C controls the MAC transmitting circuit 310C to reduce bandwidth via the adjustment circuit 440C.
  • the PMA transmitting circuit 421C sends capacity information to the adjustment circuit 440C, indicating that the amount of data stored in the buffer exceeds the first preset value.
  • the adjustment circuit 440C sends first indication information to the MAC transmitting circuit 310C based on the capacity information, and the MAC transmitting circuit 310C reduces the bandwidth of the transmitted data based on the first indication information.
  • the PMA transmitting circuit 421C controls the MAC transmitting circuit 310C to reduce bandwidth via the adjustment circuit 440C.
  • the PMA transmitting circuit 421C sends the amount of data stored in the buffer to the adjustment circuit 440C at preset intervals.
  • the adjustment circuit 440C sends second indication information to the MAC transmitting circuit 310C, indicating that the MAC transmitting circuit 310C does not need to reduce the bandwidth of the transmitted data.
  • the adjustment circuit 440C stops sending the second indication information. If the MAC sending circuit 310C still does not receive the second indication information after a preset time interval, it reduces the bandwidth for sending data.
  • the bandwidth of the transmitting side of the first bare chip 2210C is adjusted, thereby alleviating the problem that the data flow of the first bare chip 2210C is too large and the second bare chip 2220C cannot process it in time.
  • the functional circuit 450C is disposed on the second die 2220C, and as shown in (b) of FIG. 14 , the functional circuit 450C is disposed on the first die 2210C, and the PCS circuit 410C is coupled to the PMA circuit 420C through the functional circuit 450C.
  • the embodiments of the present application do not limit the number and specific functions of the functional circuit 450C.
  • other functional circuits 450C may be included between the PCS circuit 410C and the PMA circuit 420C.
  • the functional circuits 450C may be configured according to application requirements. In this way, the functions of the third chip 2000C may be configured more flexibly.
  • functional circuit 450C may include a pre-inverting circuit.
  • PCS transmit circuit 411C is coupled to the PMA transmit circuit via the pre-inverting circuit, and regulation circuit 440C is also coupled to the pre-inverting circuit.
  • PMA transmit circuit 421C instructs the pre-inverting circuit via regulation circuit 440C to reduce the bandwidth of data transmitted by PCS circuit 410C, where the second preset value is less than the first preset value.
  • a buffer circuit may be provided within the pre-inverting circuit.
  • the adjustment circuit 440C and the pre-inverting circuit reduce the transmit bandwidth of the PCS transmit circuit 411C. Furthermore, when the amount of data stored in the buffer exceeds the first preset value, the adjustment circuit 440C reduces the transmit bandwidth of the MAC transmit circuit 310C. This alleviates the problem of the buffer being full while the PCS transmit circuit 411C is still sending data to the PMA transmit circuit 421C at a high bandwidth, causing the PMA transmit circuit 421C to be unable to process the data in time.
  • functional circuit 450C may include a forward error correction (FEC) circuit.
  • FEC forward error correction
  • the FEC circuit is used to re-encode the data encoded by PCS circuit 410C, automatically correcting a certain amount of bit errors and reducing the bit error rate.
  • the FEC circuit may be a Reed-Solomon forward error correction (RSFEC) circuit, or an FEC circuit using other encoding methods, which is not limited in this embodiment of the present application.
  • RSFEC Reed-Solomon forward error correction
  • an FEC circuit is included between the PCS circuit 410C and the PMA circuit 420C to reduce the bit error rate. If the FEC circuit is located on the second die 2220C and the second die 2220C uses a mature process, the cost of the third chip 2000C can be further reduced. If the FEC circuit is located on the first die 2210C and the first die 2210C uses an advanced process, the FEC circuit can also be manufactured using an advanced process, thereby improving the performance of the third chip 2000C.
  • the FEC circuit in the functional circuit 450C includes a transmitting side and a receiving side.
  • the FEC circuitry includes an FEC transmit circuit 451C and an FEC receive circuit 452C.
  • the PCS transmit circuit 411C is coupled to the PMA transmit circuit 421C via the FEC transmit circuit 451C.
  • the PCS receive circuit 412C is coupled to the PMA receive circuit 422C via the FEC receive circuit 452C.
  • FEC transmission circuit 451C receives data from PCS transmission circuit 411C, performs forward error correction on the data, and sends the processed data to PMA transmission circuit 421C.
  • FEC reception circuit 452C receives data from PMA reception circuit 422C, performs forward error correction on the data, and sends the processed data to PCS reception circuit 412C.
  • the FEC circuit includes a transmitting side and a receiving side, and can reduce the bit error rate for both the transmitting and receiving links in the third chip 2000C. If the FEC transmitting circuit 451C and the FEC receiving circuit 452C are provided on the second die 2220C, and the second die 2220C uses a mature process, the cost of the third chip 2000C can be further reduced. If the FEC transmitting circuit 451C and the FEC receiving circuit 452C are provided on the first die 2210C, the first die 2210C can use an advanced process, and the FEC transmitting circuit 451C and the FEC receiving circuit 452C can also use an advanced process, thereby improving the performance of the third chip 2000C.
  • the PMD receiving circuit 432C may adjust performance parameters according to the forward error correction result of the data by the FEC receiving circuit 452C.
  • the first die 2210C or the second die 2220C further includes a feedback circuit 460C.
  • the FEC receiving circuit 452C is coupled to the feedback circuit 460C, which is in turn coupled to the PMD receiving circuit 432C.
  • the FEC receiving circuit 452C is configured to send error information to the PMD receiving circuit 432C via the feedback circuit 460C when the bit error rate (BER) obtained through forward error correction (FEC) is not zero.
  • the feedback circuit 460C is a serial interface.
  • the PMD receiving circuit 432C adjusts performance parameters to reduce the error rate of data transmission.
  • the FEC receiving circuit 452C receives data from the PMD receiving circuit 432C, performs FEC on the data, and obtains error information.
  • the error information indicates the bit error rate of the data.
  • the PMD receiving circuit 432C can adjust the performance parameters of the PMD receiving circuit 432C based on the error information.
  • the amount of error information data to be transmitted is large.
  • the feedback circuit 460C for transmitting error information is set to a serial interface, and the error information is sent in the form of serial data, which can reduce the bandwidth of data transmission between bare chips.
  • the first die 2210C further includes a first interface circuit 471C
  • the second die 2220C further includes a second interface circuit 472C.
  • the first interface circuit 471C and the second interface circuit 472C are coupled, and the first die 2210C is coupled to the second die 2220C via the first interface circuit 471C and the second interface circuit 472C.
  • both the first interface circuit 471C and the second interface circuit 472C are low-latency interfaces, and the latency of both the first interface circuit 471C and the second interface circuit 472C is less than a preset threshold, for example, 20 nanoseconds.
  • the first die 2210C is coupled to the second die 2220C via the first interface circuit 471C and the second interface circuit 472C.
  • the first die 2210C and the second die 2220C can communicate via the first interface circuit 471C and the second interface circuit 472C, establishing a foundation for communication between the first die 2210C and the second die 2220C.
  • selecting low-latency interfaces as the first interface circuit 471C and the second interface circuit 472C can reduce the communication latency between the first die 2210C and the second die 2210C, thereby improving the performance of the third chip 2000C.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

The present application relates to the technical field of chips, relates to a chip, a processing apparatus and an electronic device, and provides a die division method in a chiplet. The chip comprises a first die and a second die, wherein the first die comprises a physical coding sublayer (PCS) circuit, and the second die comprises a physical medium attachment sublayer (PMA) circuit and a physical medium dependent sublayer (PMD) circuit; the PCS circuit of the first die is coupled with the PMA circuit of the second die; and the PMA circuit is coupled with the PMD circuit.

Description

一种芯片、处理装置和电子设备Chip, processing device and electronic device

本申请要求于2024年2月6日提交国家知识产权局、申请号为2024101747792、申请名称为“一种芯片、处理装置和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on February 6, 2024, with application number 2024101747792 and application name “A chip, processing device and electronic device”, the entire contents of which are incorporated by reference into this application.

技术领域Technical Field

本申请实施例涉及芯片技术领域,尤其涉及一种芯片、处理装置和电子设备。The embodiments of the present application relate to the field of chip technology, and in particular to a chip, a processing device, and an electronic device.

背景技术Background Art

芯粒(chiplet)技术将芯片拆分为多个裸片(Die),然后将多个Die封装在一起,最终形成一个芯片。chiplet技术具有设计灵活、成本低、研发周期短等优点。chiplet需要考虑如何划分裸片。Chiplet technology splits a chip into multiple dies, then packages them together to form a single chip. Chiplet technology offers advantages such as flexible design, low cost, and a short R&D cycle. Chiplet development requires consideration of how to divide the dies.

发明内容Summary of the Invention

本申请提供一种芯片、处理装置和电子设备,提供了一种chiplet中的裸片划分方式。The present application provides a chip, a processing device, and an electronic device, and provides a method for dividing bare dies in a chiplet.

第一方面,提供一种芯片,该芯片包括第一裸片和第二裸片。第一裸片包括物理编码子层(physical coding sublayer,PCS)电路,第二裸片包括物理介质接入子层(physical medium attachment sublayer,PMA)电路和物理介质相关(physical medium dependent sublayer,PMD)电路。第一裸片的PCS电路与第二裸片的PMA电路耦合,PMA电路与PMD电路耦合。In a first aspect, a chip is provided, comprising a first die and a second die. The first die comprises a physical coding sublayer (PCS) circuit, and the second die comprises a physical medium attachment sublayer (PMA) circuit and a physical medium dependent sublayer (PMD) circuit. The PCS circuit of the first die is coupled to the PMA circuit of the second die, and the PMA circuit is coupled to the PMD circuit.

上述技术方案中,提供了一种chiplet中的裸片划分方式,将多个电路拆分在不同的裸片上,不同裸片可以采用不同的工艺制程,例如,第二裸片可以采用成熟制程,硬件成本较低。并且,第一裸片可以配合多个第二裸片使用,可以根据场景选择第一裸片的数量和第二裸片的数量,设计灵活度较高。以及,第二裸片仅包括与功能逻辑无关的PMA电路和PMD电路,可以以较低的代价实现不同裸片间灵活复用,其中,PMA电路和PMD电路为与功能逻辑无关的电路,用于与多个功能中的任一功能所在的链路耦合,PCS电路为与功能逻辑相关的电路,用于与PCS电路对应的一个功能所在的链路耦合。将与功能逻辑相关的电路和与功能逻辑无关的电路拆分在不同的裸片上,以框式设备场景为例,芯片外部不存在单板走线交叉、芯片内部不存在走线交叉,从而可以减少硬件成本,有助于第一裸片复用多个第二裸片。The above technical solution provides a die partitioning method within a chiplet, separating multiple circuits onto different dies. Different dies can utilize different process technologies. For example, the second die can utilize a mature process, resulting in lower hardware costs. Furthermore, a first die can be used with multiple second dies, and the number of first and second dies can be selected based on the scenario, providing greater design flexibility. Furthermore, the second die only includes PMA and PMD circuits, which are unrelated to functional logic. This allows for flexible reuse between different dies at a low cost. The PMA and PMD circuits are unrelated to functional logic and are used to couple with the link containing any of the multiple functions. The PCS circuit is related to functional logic and is used to couple with the link containing the function corresponding to the PCS circuit. Separating circuits related to functional logic and circuits unrelated to functional logic onto different dies, for example in a frame-type device scenario, eliminates crossover of single-board traces outside the chip and internal traces within the chip, reducing hardware costs and facilitating reuse of multiple second dies with the first die.

在第一方面的一种可能的实现方式中,PCS电路包括PCS发送电路和PCS接收电路,PMA电路包括PMA发送电路和PMA接收电路,PMD电路包括PMD发送电路和PMD接收电路。PCS发送电路与PMA发送电路耦合,PMA发送电路与PMD发送电路耦合。PCS接收电路与PMA接收电路耦合,PMA接收电路与PMD接收电路耦合。上述可能的实现方式中,PCS电路、PMA电路和PMD电路均包括发送侧和接收侧,PMA发送电路、PMA接收电路、PMD发送电路和PMD接收电路,均与PCS发送电路和PCS接收电路位于不同的裸片上,硬件成本较低、设计灵活度较高、有助于第一裸片复用多个第二裸片。In one possible implementation of the first aspect, the PCS circuit includes a PCS transmit circuit and a PCS receive circuit, the PMA circuit includes a PMA transmit circuit and a PMA receive circuit, and the PMD circuit includes a PMD transmit circuit and a PMD receive circuit. The PCS transmit circuit is coupled to the PMA transmit circuit, which in turn is coupled to the PMD transmit circuit. The PCS receive circuit is coupled to the PMA receive circuit, which in turn is coupled to the PMD receive circuit. In the above possible implementation, the PCS circuit, the PMA circuit, and the PMD circuit each include a transmit side and a receive side, and the PMA transmit circuit, the PMA receive circuit, the PMD transmit circuit, and the PMD receive circuit are all located on different dies from the PCS transmit circuit and the PCS receive circuit. This reduces hardware cost, increases design flexibility, and facilitates multiplexing of multiple second dies with a first die.

在第一方面的一种可能的实现方式中,第一裸片或第二裸片还包括功能电路。PCS电路通过功能电路与PMA电路耦合。上述可能的实现方式中,PCS电路和PMA电路之间还可以包括其他的功能电路,功能电路可以根据应用需求进行设置,如此,可以更灵活的设置芯片的功能。In one possible implementation of the first aspect, the first die or the second die further includes a functional circuit. The PCS circuit is coupled to the PMA circuit via the functional circuit. In this possible implementation, other functional circuits may be included between the PCS circuit and the PMA circuit. These functional circuits may be configured based on application requirements, thereby enabling more flexible configuration of chip functions.

在第一方面的一种可能的实现方式中,功能电路包括前向纠错(forward error correction,FEC)电路。上述可能的实现方式中,PCS电路和PMA电路之间包括FEC电路,可以降低误码率。若FEC电路设置在第二裸片上,第二裸片采用成熟制程,则可以进一步降低芯片的成本。若FEC电路设置在第一裸片上,第一裸片可以采用先进制程,还可以将FEC电路也采用先进制程,提升芯片的性能。In one possible implementation of the first aspect, the functional circuit includes a forward error correction (FEC) circuit. Including the FEC circuit between the PCS circuit and the PMA circuit in this possible implementation can reduce the bit error rate. If the FEC circuit is located on a second die using a mature process, the chip cost can be further reduced. If the FEC circuit is located on a first die using an advanced process, the first die can also be manufactured using an advanced process, thereby improving chip performance.

在第一方面的一种可能的实现方式中,FEC电路包括FEC发送电路和FEC接收电路。PCS发送电路通过FEC发送电路与PMA发送电路耦合。PCS接收电路通过FEC接收电路与PMA接收电路耦合。上述可能的实现方式中,FEC电路包括发送侧和接收侧,对于芯片中的发送链路和接收链路,均可以降低误码率。若FEC发送电路和FEC接收电路设置在第二裸片上,第二裸片采用成熟制程,可以进一步降低芯片的成本。若FEC发送电路和FEC接收电路设置在第一裸片上,第一裸片可以采用先进制程,还可以将FEC发送电路和FEC接收电路也采用先进制程,提升芯片的性能。In one possible implementation of the first aspect, the FEC circuit includes an FEC transmit circuit and an FEC receive circuit. The PCS transmit circuit is coupled to the PMA transmit circuit via the FEC transmit circuit. The PCS receive circuit is coupled to the PMA receive circuit via the FEC receive circuit. In this possible implementation, the FEC circuit includes a transmit side and a receive side, which can reduce bit error rates for both transmit and receive links in the chip. If the FEC transmit circuit and the FEC receive circuit are located on a second die, using a mature process for the second die, chip cost can be further reduced. If the FEC transmit circuit and the FEC receive circuit are located on a first die, using an advanced process for the first die, the FEC transmit circuit and the FEC receive circuit can also be manufactured using advanced processes, thereby improving chip performance.

在第一方面的一种可能的实现方式中,第一裸片或第二裸片还包括反馈电路。FEC接收电路与反馈电路耦合,反馈电路与PMD接收电路耦合。FEC接收电路,用于在前向纠错得到的误码率不为0时,通过反馈电路向PMD接收电路发送误码信息,反馈电路为串行接口。上述可能的实现方式中,误码信息需传输的误码率较多,为避免裸片间带宽浪费,将传输误码信息的反馈电路设置为串行接口,以串行数据的形式发送误码信息,可以降低裸片间数据传输的带宽。In one possible implementation of the first aspect, the first die or the second die further includes a feedback circuit. The FEC receiving circuit is coupled to the feedback circuit, which is in turn coupled to the PMD receiving circuit. The FEC receiving circuit is configured to transmit bit error information to the PMD receiving circuit via the feedback circuit when the bit error rate (BER) obtained by forward error correction (FEC) is not zero. The feedback circuit is a serial interface. In this possible implementation, the bit error rate of the bit error information to be transmitted is relatively high. To avoid wasting bandwidth between dies, the feedback circuit for transmitting the bit error information is configured as a serial interface. The bit error information is transmitted in the form of serial data, thereby reducing the bandwidth for data transmission between dies.

在第一方面的一种可能的实现方式中,第一裸片还包括介质访问控制(medium access control,MAC)电路。MAC电路与PCS电路耦合。上述可能的实现方式中,若第一裸片和第二裸片均采用成熟制程,则可以将MAC电路从先进制程的裸片上解耦(先进制程的裸片相较于成熟制程的裸片,性能更好),进一步降低成本、提高设计灵活度。若第一裸片采用先进制程,第二裸片采用成熟制程,尽可能将MAC电路等更多电路放在第一裸片上,可以提升芯片的性能,还可以降低封装尺寸。In one possible implementation of the first aspect, the first die further includes a medium access control (MAC) circuit. The MAC circuit is coupled to the PCS circuit. In this possible implementation, if both the first die and the second die utilize mature processes, the MAC circuit can be decoupled from the advanced process die (advanced process dies offer better performance than mature process dies), further reducing costs and increasing design flexibility. If the first die utilizes an advanced process and the second die utilizes a mature process, placing as many circuits as possible, such as the MAC circuit, on the first die can improve chip performance and reduce package size.

在第一方面的一种可能的实现方式中,MAC电路包括MAC发送电路和MAC接收电路。MAC发送电路与PCS发送电路耦合。MAC接收电路与PCS接收电路耦合。上述可能的实现方式中,MAC电路包括发送侧和接收侧,MAC发送电路和MAC接收电路均设置在第一裸片中,硬件成本较低、设计灵活度较高,若第一裸片采用先进制程,还可以将MAC发送电路和MAC接收电路也采用先进制程,提升芯片的性能。In one possible implementation of the first aspect, the MAC circuit includes a MAC transmit circuit and a MAC receive circuit. The MAC transmit circuit is coupled to the PCS transmit circuit. The MAC receive circuit is coupled to the PCS receive circuit. In this possible implementation, the MAC circuit includes a transmit side and a receive side, and both the MAC transmit circuit and the MAC receive circuit are disposed in the first die. This reduces hardware cost and provides greater design flexibility. If the first die uses an advanced process, the MAC transmit circuit and the MAC receive circuit can also use the advanced process to improve chip performance.

在第一方面的一种可能的实现方式中,第一裸片或第二裸片还包括调节电路,PMA发送电路还包括缓存器。MAC发送电路与调节电路耦合,调节电路与PMA发送电路耦合。缓存器,用于在MAC发送电路通过PCS发送电路,向PMA发送电路发送数据的过程中,存储数据。PMA发送电路,用于在缓存器存储的数据的数据量大于预设值时,通过调节电路控制MAC发送电路降低发送数据的带宽。上述可能的实现方式中,通过设置调节电路,在PMA发送电路的缓存器的存储的数据的数据量大于第一预设值时,调节第一裸片的发送侧的带宽,从而缓解第一裸片数据流量过大,第二裸片来不及处理的问题。In one possible implementation of the first aspect, the first die or the second die further includes a regulation circuit, and the PMA transmit circuit further includes a buffer. The MAC transmit circuit is coupled to the regulation circuit, which is in turn coupled to the PMA transmit circuit. The buffer is configured to store data while the MAC transmit circuit is transmitting data to the PMA transmit circuit via the PCS transmit circuit. The PMA transmit circuit is configured to control the MAC transmit circuit to reduce the bandwidth of transmitted data via the regulation circuit when the amount of data stored in the buffer exceeds a preset value. In this possible implementation, the regulation circuit is configured to adjust the transmit bandwidth of the first die when the amount of data stored in the PMA transmit circuit's buffer exceeds a first preset value, thereby alleviating the problem of excessive data traffic on the first die that the second die cannot process in time.

在第一方面的一种可能的实现方式中,第一裸片还包括第一接口电路,第二裸片还包括第二接口电路。第一接口电路和第二接口电路耦合,第一裸片通过第一接口电路和第二接口电路与第二裸片耦合。上述可能的实现方式中,第一裸片通过第一接口电路和第二接口电路与第二裸片耦合,第一裸片和第二裸片可以通过第一接口电路和第二接口电路通信,为第一裸片和第二裸片之间的通信建立基础。In one possible implementation of the first aspect, the first die further includes a first interface circuit, and the second die further includes a second interface circuit. The first interface circuit and the second interface circuit are coupled, and the first die is coupled to the second die via the first interface circuit and the second interface circuit. In this possible implementation, the first die is coupled to the second die via the first interface circuit and the second interface circuit, and the first die and the second die can communicate via the first interface circuit and the second interface circuit, establishing a basis for communication between the first die and the second die.

第二方面,提供一种处理装置,该装置包括印制电路板和上述第一方面或第一方面的任一种可能的实现方式所提供的芯片。In a second aspect, a processing device is provided, which includes a printed circuit board and a chip provided by the first aspect or any possible implementation of the first aspect.

第三方面,提供一种电子设备,该电子设备包括壳体和上述第二方面所提供的处理装置。According to a third aspect, an electronic device is provided. The electronic device includes a housing and the processing device according to the second aspect.

可以理解地,上述提供的任一种处理装置或者电子设备均可以应用上文所提供的对应的芯片,因此,其所能达到的有益效果可参考上文所提供的对应的芯片中的有益效果,此处不再赘述。It can be understood that any of the processing devices or electronic devices provided above can apply the corresponding chips provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding chips provided above, and will not be repeated here.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本申请实施例提供的一种芯粒技术的示意图;FIG1 is a schematic diagram of a core particle technology provided in an embodiment of the present application;

图2为本申请实施例提供的一种开放式系统互联参考模型的示意图;FIG2 is a schematic diagram of an open system interconnection reference model provided in an embodiment of the present application;

图3为本申请实施例提供的一种物理介质接入子层电路的功能的示意图;FIG3 is a schematic diagram of the functions of a physical medium access sublayer circuit provided in an embodiment of the present application;

图4为本申请实施例提供的一种电子设备的示意图;FIG4 is a schematic diagram of an electronic device provided in an embodiment of the present application;

图5为本申请实施例提供的一种第一芯片的示意图;FIG5 is a schematic diagram of a first chip provided in an embodiment of the present application;

图6为本申请实施例提供的一种第一接口裸片的示意图;FIG6 is a schematic diagram of a first interface die provided in an embodiment of the present application;

图7为本申请实施例提供的一种第二芯片的示意图;FIG7 is a schematic diagram of a second chip provided in an embodiment of the present application;

图8为本申请实施例提供的一种第三芯片的示意图一;FIG8 is a first schematic diagram of a third chip provided in an embodiment of the present application;

图9为本申请实施例提供的一种第二裸片的示意图;FIG9 is a schematic diagram of a second bare die provided in an embodiment of the present application;

图10为本申请实施例提供的一种第三芯片的示意图二;FIG10 is a second schematic diagram of a third chip provided in an embodiment of the present application;

图11为本申请实施例提供的一种第三芯片的示意图三;FIG11 is a third schematic diagram of a third chip provided in an embodiment of the present application;

图12为本申请实施例提供的一种第三芯片的示意图四;FIG12 is a fourth schematic diagram of a third chip provided in an embodiment of the present application;

图13为本申请实施例提供的一种第三芯片的示意图五;FIG13 is a fifth schematic diagram of a third chip provided in an embodiment of the present application;

图14为本申请实施例提供的一种第三芯片的示意图六;FIG14 is a sixth schematic diagram of a third chip provided in an embodiment of the present application;

图15为本申请实施例提供的一种第三芯片的示意图七;FIG15 is a seventh schematic diagram of a third chip provided in an embodiment of the present application;

图16为本申请实施例提供的一种第三芯片的示意图八。FIG16 is a schematic diagram eight of a third chip provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c或a-b-c,其中a、b和c可以是单个,也可以是多个。字符“/”一般表示前后关联对象是一种“或”的关系。另外,在本申请的实施例中,“第一”、“第二”等字样并不对数量和执行次序进行限定。In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can mean: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, a-b, a-c, b-c or a-b-c, where a, b and c can be single or multiple. The character "/" generally indicates that the previous and next associated objects are in an "or" relationship. In addition, in the embodiments of the present application, words such as "first" and "second" do not limit the quantity and execution order.

本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

本申请实施例中,“第一”、“第二”等词仅用于区分同一类型的特征,不能理解为用于指示相对重要性、数量、顺序等。In the embodiments of the present application, words such as "first" and "second" are only used to distinguish features of the same type and cannot be understood as indicating relative importance, quantity, order, etc.

本申请实施例中,“耦合”、“连接”等词应做广义理解,例如,可以指物理上的直接连接,也可以指通过电子器件实现的间接连接,例如通过电阻、电感、电容或其他电子器件实现的连接。In the embodiments of the present application, words such as "coupling" and "connection" should be understood in a broad sense. For example, they may refer to a physical direct connection, or an indirect connection achieved through electronic devices, such as a connection achieved through resistors, inductors, capacitors or other electronic devices.

首先对本申请实施例涉及的一些基础概念进行解释说明。First, some basic concepts involved in the embodiments of this application are explained.

1.片上系统(system-on-a-chip,SOC)技术和芯粒(chiplet)技术1. System-on-a-chip (SOC) technology and chiplet technology

SOC技术,将多个不同功能的电路通过光刻的形式制作到同一裸片(Die)上。如图1中的(a)图所示,第一电路101、第二电路102、第三电路103和第四电路104组成SOC技术芯片,SOC技术芯片还可以包括多个输入输出(input/output,I/O)接口。第一电路101、第二电路102、第三电路103和第四电路104中的每个电路可以基于SOC技术芯片中的4个I/O接口与外部设备耦合。SOC technology uses photolithography to fabricate multiple circuits with different functions onto the same die. As shown in Figure 1 (a), a first circuit 101, a second circuit 102, a third circuit 103, and a fourth circuit 104 constitute an SOC chip. The SOC chip may also include multiple input/output (I/O) interfaces. Each of the first circuit 101, the second circuit 102, the third circuit 103, and the fourth circuit 104 can be coupled to external devices using the four I/O interfaces in the SOC chip.

chiplet技术,与SOC技术相反,将功能丰富且面积较大的芯片拆分为多个裸片,然后将多个裸片封装在一起,最终形成一个芯片。如图1中的(b)图所示,chiplet技术芯片被拆分成两个裸片:裸片1和裸片2。第一电路101和第二电路102被制作到裸片1上,第三电路103和第四电路104被制作到裸片2上。裸片1与裸片2之间通过互联接口耦合。裸片1和裸片2还可以分别包括多个I/O接口,第一电路101和第二电路102中的每个电路可以基于裸片1中的2个I/O接口与外部设备耦合,第三电路103和第四电路104中的每个电路可以基于裸片2中的2个I/O接口与外部设备耦合。Chiplet technology, in contrast to SOC technology, splits a function-rich and large chip into multiple dies, which are then packaged together to form a single chip. As shown in Figure 1 (b), the chiplet technology chip is split into two dies: die 1 and die 2. The first circuit 101 and the second circuit 102 are fabricated on die 1, and the third circuit 103 and the fourth circuit 104 are fabricated on die 2. Die 1 and die 2 are coupled via an interconnect interface. Die 1 and die 2 may also each include multiple I/O interfaces. Each of the first circuit 101 and the second circuit 102 can be coupled to an external device based on the two I/O interfaces in die 1, and each of the third circuit 103 and the fourth circuit 104 can be coupled to an external device based on the two I/O interfaces in die 2.

SOC技术对工艺有着高度依赖,例如,随着芯片制造工艺越来越高,芯片的工艺从28纳米升级至10纳米、7纳米、5纳米甚至更小。但是,纳米工艺已经接近物理极限,提升芯片工艺需要寻找新的技术路线。于是,chiplet技术的优势体现出来。首先,在芯片的晶圆加工过程中,离晶圆中心越远越容易出现坏点,晶圆尺寸越大、不良率越高,而chiplet技术将一个芯片分成面积更小的多个裸片,有助于改善良品率,减少制造成本。其次,SOC技术的整个芯片均需使用先进的工艺制程,chiplet技术的芯片可以对不同的裸片使用不同的工艺制程,例如,逻辑计算电路所在的裸片可以使用先进制程,接口裸片可以使用成熟制程,其中,先进制程与成熟制程相比,成本更高,芯片性能更好。再者,纳米工艺越小,SOC芯片的设计越复杂、成本越高,chiplet技术的设计灵活性更高。因此,chiplet技术具有设计灵活、成本低、研发周期短等优点。SOC technology is highly dependent on process technology. For example, as chip manufacturing processes become increasingly advanced, chip technology has evolved from 28 nanometers to 10 nanometers, 7 nanometers, 5 nanometers, and even smaller. However, nanometer technology is approaching its physical limits, and improving chip technology requires new technological approaches. This is where the advantages of chiplet technology become apparent. First, during wafer processing, defective pixels are more likely to appear the further they are from the center of the wafer. Larger wafers increase the defect rate. Chiplet technology divides a single chip into multiple smaller dies, helping to improve yield and reduce manufacturing costs. Second, while the entire SOC chip must be manufactured using advanced process technology, chiplet technology allows different dies to be manufactured using different process technologies. For example, the die containing the logic circuitry can use an advanced process, while the interface die can use a mature process. Advanced processes are more expensive than mature processes, but offer better chip performance. Furthermore, as the nanometer process becomes smaller, the SOC chip design becomes more complex and costly. Chiplet technology offers greater design flexibility. Therefore, chiplet technology offers advantages such as design flexibility, low cost, and a shortened R&D cycle.

2.开放式系统互联(open systeminterconnection,OSI)参考模型2. Open Systems Interconnection (OSI) Reference Model

OSI参考模型,是国际标准化组织制定的一个用于计算机或通信系统间互联的标准体系,一般称为OSI参考模型或七层模型。它是一个七层的、抽象的模型,不仅包括一系列抽象的术语或概念,也包括具体的协议。如图2所示,OSI参考模型可以包括应用层(application)、表示层(presentation)、会话层(session)、传输层(transport)、网络层(network)、数据链路层(data link)、物理层(physical,PHY)。The OSI reference model, commonly known as the OSI reference model or seven-layer model, is a standard system developed by the International Organization for Standardization for interconnecting computer or communication systems. It is an abstract model consisting of seven layers, encompassing not only a series of abstract terms or concepts but also specific protocols. As shown in Figure 2, the OSI reference model includes the application layer, presentation layer, session layer, transport layer, network layer, data link layer, and physical layer (PHY).

其中,应用层可以用于提供网络服务与用户之间的接口;表示层可以用于负责数据的表示、安全和压缩;会话层可以用于建立、管理和终止会话;传输层可以用于定义传输数据的协议端口号,以及流控和差错校验;网络层可以用于进行逻辑地址寻址,实现不同网络之间的路径选择;数据链路层可以用于执行建立逻辑连接、进行硬件地址寻址、差错校验等功能;物理层可以用于建立、维护、断开物理连接。Among them, the application layer can be used to provide an interface between network services and users; the presentation layer can be used to be responsible for data representation, security and compression; the session layer can be used to establish, manage and terminate sessions; the transport layer can be used to define the protocol port number for transmitting data, as well as flow control and error checking; the network layer can be used to perform logical addressing and realize path selection between different networks; the data link layer can be used to perform functions such as establishing logical connections, performing hardware addressing, error checking, etc.; the physical layer can be used to establish, maintain and disconnect physical connections.

电气和电子工程师学会(institute of electrical and electronics engineers,IEEE)802.3标准定义了从数据链路层到PHY层的实现方式。如图2所示,数据链路层可以包括逻辑链路控制(logical link control,LLC)层和介质访问控制(medium access control,MAC)层等,例如,数据链路层的上半部分可以包括LLC层或其他MAC客户端,数据链路层的下半部分可以包括MAC层,其中,LLC层与MAC层之间还可以选择性的设置MAC控制,MAC层之下还可以设置物理层信号子层(physical layer signaling,PLS)(图中未示出)。PHY层可以包括协调子层(reconciliation sublayer,RS)、介质无关接口(mediumindependent interface,MII)、物理编码子层(physical coding sublayer,PCS)、物理介质接入子层(physical medium attachment sublayer,PMA)、物理介质相关子层(physical medium dependent sublayer,PMD)、介质相关接口(medium dependent interface,MDI)等。PHY层可以与介质(medium)层耦合。The Institute of Electrical and Electronics Engineers (IEEE) 802.3 standard defines implementations from the data link layer to the physical layer (PHY). As shown in Figure 2, the data link layer may include the logical link control (LLC) layer and the medium access control (MAC) layer. For example, the upper half of the data link layer may include the LLC layer or other MAC client layer, and the lower half may include the MAC layer. MAC control may optionally be provided between the LLC and MAC layers. A physical layer signaling sublayer (PLS) may also be provided below the MAC layer (not shown in the figure). The PHY layer may include a reconciliation sublayer (RS), a medium-independent interface (MII), a physical coding sublayer (PCS), a physical medium attachment sublayer (PMA), a physical medium-dependent sublayer (PMD), a medium-dependent interface (MDI), etc. The PHY layer may be coupled with the medium layer.

MAC层的发送侧可以用于将来自LLC层的数据包封装成数据帧,将数据帧发送给RS层。MAC层的接收侧可以用于接收来自RS层的数据帧,将数据帧解析成上层网络数据。The transmitting side of the MAC layer can be used to encapsulate data packets from the LLC layer into data frames and send the data frames to the RS layer. The receiving side of the MAC layer can be used to receive data frames from the RS layer and parse the data frames into upper-layer network data.

RS层可以用于提供MII与MAC层之间(或者MII与PLS层之间)的信号映射机制。示例性地,RS层的发送侧可以用于将来自MAC层(或PLS层)的数据转换为符合MII接口标准的信号形式,如前导码(preamble)的第一个字节转译为/S特征码,正常发送时透传数据,一帧发送结束帧校验序列(frame check sequence,FCS)后插入/T特征码,/T特征码后插入/I特征码。RS层的接收侧可以用于对PCS层通过MII(例如千兆介质无关接口(Gigabit MII,GMII)等)进行定帧处理,搜索帧头,透传接收的数据给MAC层处理,对GMII接口的控制特征码进行转译,检测PHY层提供的链路错误数据指示等。MII可以用于建立MAC层到PCS层的连接,进行MAC层与PCS层之间的数据传输,以及,MII可以用于进行链路状态控制,如检测链路错误。The RS layer can be used to provide a signal mapping mechanism between the MII and MAC layers (or between the MII and PLS layers). For example, the RS layer's transmitter can convert data from the MAC layer (or PLS layer) into a signal format that complies with the MII interface standard. For example, the first byte of the preamble is translated into the /S signature, data is transparently transmitted during normal transmission, and a /T signature is inserted after the frame check sequence (FCS) at the end of a frame transmission, and an /I signature is inserted after the /T signature. The RS layer's receiver can be used to perform framing on the PCS layer through the MII (e.g., the Gigabit Media Independent Interface (GMII)), search for frame headers, transparently transmit received data to the MAC layer for processing, translate the GMII interface's control signatures, and detect link error data indications provided by the PHY layer. The MII can be used to establish a connection from the MAC layer to the PCS layer, facilitate data transmission between the MAC and PCS layers, and perform link status control, such as detecting link errors.

PCS层可以用于同步帧头,编解码,扰码与解扰码,帧速率调整等功能。示例性地,PCS层的发送侧可以用于将从GMII总线上接收到的数据经过上述处理后送到PHY层的其他子层中,PCS层的接收侧可以用于将PHY层的其他子层中的数据经过上述处理后送到GMII总线上。The PCS layer can be used for functions such as frame header synchronization, encoding and decoding, scrambling and descrambling, and frame rate adjustment. For example, the transmit side of the PCS layer can be used to send data received from the GMII bus to other sublayers of the PHY layer after the above processing, and the receive side of the PCS layer can be used to send data from other sublayers of the PHY layer to the GMII bus after the above processing.

PMA层可以用于进行位级多路传输(bit-level multiplexing)、位宽转换(bit gearbox)、位序翻转(bit order reverse)、进行时钟与数据异步处理等。示例性地,PMA层的发送侧可以用于将来自上层(如PCS层等)的数据进行处理再发送给PMD层,PMA层的接收侧可以用于将来自PMD层的数据进行跨异步处理再发送给上层进行后续操作。示例性地,如图3所示,PHY层中的数据形式可以是数据流,PMA层的上层可以包括n个(比如图中的4个)数据流,PMA层可以包括m个数据流(比如图中的2个),n大于m,在上层对数据进行相应处理,再发送给PMA层的过程中,上层的第一个数据流为:0.6、0.5、0.4、0.3,第二个数据流为:2.9、2.8、2.7、2.6,第三个数据流为:1.6、1.5、1.4、1.3,第四个数据流为:3.8、3.7、3.6、3.5。PMA层进行位(bit)级多路传输可以指:PMA层将来自上层的四个数据流的数据转换为PMA层的两个数据流进行传输。PMA的第一个数据流为:0.6、2.9、0.5、2.8、0.4、2.7、0.3、2.6,第二个数据流为:1.6、3.8、1.5、3.7、1.4、3.6、1.3、3.5。PMA层进行位宽转换是指:将数据的位宽从上层的位宽(例如80比特)转换为PMA层的位宽(例如64比特)。PMA层进行位序翻转是指:PMA层指示PMD层中的多个比特数据的传输顺序。The PMA layer can be used for bit-level multiplexing, bit gearboxing, bit order reversal, and asynchronous clock and data processing. For example, the PMA layer's transmitter side can process data from upper layers (such as the PCS layer) and then send it to the PMD layer. The PMA layer's receiver side can asynchronously process data from the PMD layer and then send it to upper layers for subsequent operations. For example, as shown in Figure 3, the data in the PHY layer can be in the form of data streams. The upper layer of the PMA layer can include n data streams (e.g., 4 in the figure), and the PMA layer can include m data streams (e.g., 2 in the figure), where n is greater than m. During the process of processing the data in the upper layer and sending it to the PMA layer, the first data stream of the upper layer is: 0.6, 0.5, 0.4, 0.3; the second data stream is: 2.9, 2.8, 2.7, 2.6; the third data stream is: 1.6, 1.5, 1.4, 1.3; and the fourth data stream is: 3.8, 3.7, 3.6, 3.5. Bit-level multiplexing at the PMA layer can mean that the PMA layer converts data from four data streams of the upper layer into two data streams of the PMA layer for transmission. The first PMA data stream is: 0.6, 2.9, 0.5, 2.8, 0.4, 2.7, 0.3, 2.6, and the second data stream is: 1.6, 3.8, 1.5, 3.7, 1.4, 3.6, 1.3, 3.5. Bit width conversion at the PMA layer converts the data bit width from the upper layer's bit width (e.g., 80 bits) to the PMA layer's bit width (e.g., 64 bits). Bit order reversal at the PMA layer indicates the transmission order of multiple bits of data in the PMD layer.

PMD层可以用于执行并行数据与串行数据之间的相互转换,用于执行PMD层功能的电路也可以称为串并转换器(serializer/deserializer,serdes)。示例性地,PMD层的发送侧可以用于将并行数据转换为串行数据,PMD的接收侧可以用于将串行数据转换为并行数据。The PMD layer can be used to convert parallel data to serial data and vice versa. The circuit used to perform the PMD layer function can also be called a serializer/deserializer (SerDes). For example, the transmitting side of the PMD layer can be used to convert parallel data to serial data, and the receiving side of the PMD can be used to convert serial data to parallel data.

在介绍完本申请实施例的基础概念之后,对本申请实施例具体内容进行介绍。After introducing the basic concepts of the embodiments of the present application, the specific contents of the embodiments of the present application are introduced.

本申请实施例提供了一种电子设备,如图4所示,该电子设备1000包括壳体(图中未示出)和处理装置,该处理装置包括印制电路板(printed circuit board,PCB)(图中未示出)和芯片2000。芯片2000包括主电路200、MAC电路300和PHY电路400。主电路200可以包括用于执行控制功能、处理功能或计算功能的电路,也可以包括用于执行在通信网络中发送和接收数据的功能的电路,还可以包括其他电路,本申请实施例对此不做限制。MAC电路300可以是用于执行MAC层功能的电路,PHY电路400可以是用于执行PHY层功能的电路。示例性地,芯片2000为chiplet技术芯片。An embodiment of the present application provides an electronic device, as shown in FIG4 , wherein the electronic device 1000 includes a housing (not shown in the figure) and a processing device, wherein the processing device includes a printed circuit board (PCB) (not shown in the figure) and a chip 2000. The chip 2000 includes a main circuit 200, a MAC circuit 300, and a PHY circuit 400. The main circuit 200 may include a circuit for performing a control function, a processing function, or a computing function, or may include a circuit for performing a function of sending and receiving data in a communication network, or may include other circuits, which are not limited in the embodiment of the present application. The MAC circuit 300 may be a circuit for performing MAC layer functions, and the PHY circuit 400 may be a circuit for performing PHY layer functions. Exemplarily, the chip 2000 is a chiplet technology chip.

在一些可能的实施方式中,图4中的芯片2000可以将主电路200拆分为一个裸片,将MAC电路300和PHY电路400拆分为另一个裸片。In some possible implementations, the chip 2000 in FIG. 4 may separate the main circuit 200 into one die, and separate the MAC circuit 300 and the PHY circuit 400 into another die.

在一些示例中,芯片2000可以是如图5所示的第一芯片2000A。第一芯片2000A包括第一主裸片2100A和第一接口裸片2200A。第一主裸片2100A包括第一主电路200A,第一接口裸片2200A包括第一MAC电路300A和第一PHY电路400A。第一主电路200A与第一MAC电路300A耦合,第一MAC电路300A和第一PHY电路400A耦合。其中,第一主裸片2100A采用先进制程,第一接口裸片2200A采用成熟制程,硬件成本较低;以及,第一主裸片2100A可以配合多个第一接口裸片2200A使用,可以根据场景选择第一主裸片2100A的数量和第一接口裸片2200A的数量,设计灵活度较高。In some examples, chip 2000 may be the first chip 2000A as shown in FIG5 . The first chip 2000A includes a first main die 2100A and a first interface die 2200A. The first main die 2100A includes a first main circuit 200A, and the first interface die 2200A includes a first MAC circuit 300A and a first PHY circuit 400A. The first main circuit 200A is coupled to the first MAC circuit 300A, and the first MAC circuit 300A is coupled to the first PHY circuit 400A. The first main die 2100A uses an advanced process, while the first interface die 2200A uses a mature process, resulting in lower hardware costs. Furthermore, the first main die 2100A can be used in conjunction with multiple first interface die 2200A. The number of first main die 2100A and first interface die 2200A can be selected based on the scenario, providing greater design flexibility.

但是,图5所示的第一芯片2000A存在以下问题:However, the first chip 2000A shown in FIG5 has the following problems:

第一,第一PHY电路400A包括与功能逻辑相关的电路(用于与该电路对应的一个功能所在的链路耦合),如用于执行PCS层功能的电路。以及第一PHY电路400A包括与功能逻辑无关的电路(用于与多个功能中的任一功能所在的链路耦合),如用于执行PMA层功能的电路和用于执行PMD层功能的电路。第一MAC电路300A属于与功能逻辑相关的电路。由于与功能逻辑相关的电路和与功能逻辑无关的电路耦合在第一接口裸片2200A上(例如带宽为56Gbps的用于执行PMD层功能的电路与400Gbps的第一MAC电路300A耦合),在框式设备场景下,存在第一芯片2000A外部的单板走线交叉的问题、或者第一芯片2000A内部走线交叉的问题,增加硬件成本,不利于第一主裸片2100A复用多个第一接口裸片2200A。接下来以框式交换机场景为例对该问题进行举例说明。First, the first PHY circuit 400A includes circuits related to functional logic (used to couple with a link where a function corresponding to the circuit is located), such as circuits for performing PCS layer functions. The first PHY circuit 400A also includes circuits unrelated to functional logic (used to couple with a link where any of the multiple functions is located), such as circuits for performing PMA layer functions and circuits for performing PMD layer functions. The first MAC circuit 300A is a circuit related to functional logic. Because circuits related to functional logic and circuits unrelated to functional logic are coupled to the first interface die 2200A (for example, a circuit with a bandwidth of 56 Gbps for performing PMD layer functions is coupled to the first MAC circuit 300A with a bandwidth of 400 Gbps), in a frame device scenario, there is a problem of cross-board wiring outside the first chip 2000A, or cross-wiring within the first chip 2000A, which increases hardware costs and is not conducive to the first main die 2100A multiplexing multiple first interface dies 2200A. Next, this problem will be illustrated using a frame switch scenario as an example.

如图6中的(a)图所示,第一主裸片2100A中的第一主电路200A包括光模块电路和交换网电路。光模块电路是指光模块侧的报文处理电路,交换网电路是指交换网侧的报文处理电路。第一接口裸片2200A1和第一接口裸片2200A2均包括第一无关电路、第二无关电路、光模块相关电路和交换网相关电路。其中,第一无关电路和第二无关电路均指与光模块和交换网的功能逻辑无关的电路(如用于执行PMA层功能的电路和用于执行PMD层功能的电路),也就是说,第一无关电路和第二无关电路既可以用于与光模块所在的链路耦合,也可以用于与交换网所在的链路耦合。光模块相关电路是指与光模块的功能逻辑相关的电路(如用于执行PCS层功能的电路),也就是说,光模块相关电路用于与光模块所在的链路耦合。交换网相关电路是指与交换网的功能逻辑相关的电路,也就是说,交换网相关电路用于与交换网所在的链路耦合。第一接口裸片2200A1中的第一无关电路、和第一主裸片2100A中的光模块电路,均与第一接口裸片2200A1中的光模块相关电路耦合,从而第一主裸片2100A中的光模块电路,可以通过第一接口裸片2200A1中的光模块相关电路和第一无关电路与外部的光模块设备耦合。第一接口裸片2200A1中的第二无关电路、和第一主裸片2100A中的交换网电路,均与第一接口裸片2200A1中的交换网相关电路耦合,从而第一主裸片2100A中的交换网电路,可以通过第一接口裸片2200A1中的交换网相关电路和第二无关电路与外部的交换网设备耦合。第二接口裸片2200A2中各电路的耦合关系可以参考第一接口裸片2200A1中各电路的耦合关系(如图6中的(a)图所示),本申请实施例在此不再赘述。通常,第一接口裸片2200是以相同结构生产的,由于第一接口裸片2200A1和第一接口裸片2200A2的结构相同,在实际使用中,第一接口裸片2200A1中的光模块相关电路和第一接口裸片2200A2中的光模块相关电路,不能均设置在与第一主裸片2100A中的光模块电路的相同的一侧。比如图6中的(a)图中,光模块电路位于右侧,第一接口裸片2200A2的光模块相关电路位于右侧,而第二接口裸片2200A1的光模块相关电路却位于左侧。请参考图6中的(a)图示出的虚线圆圈,这样会造成第一接口裸片2200A1的第一无关电路与光模块设备之间的走线、和第一接口裸片2200A1的第二无关电路与交换网设备之间的走线交叉。As shown in Figure 6 (a), the first main circuit 200A in the first main die 2100A includes an optical module circuit and a switching network circuit. The optical module circuit refers to the message processing circuit on the optical module side, and the switching network circuit refers to the message processing circuit on the switching network side. The first interface die 2200A1 and the first interface die 2200A2 both include a first irrelevant circuit, a second irrelevant circuit, an optical module-related circuit, and a switching network-related circuit. The first irrelevant circuit and the second irrelevant circuit both refer to circuits unrelated to the functional logic of the optical module and the switching network (such as circuits for performing PMA layer functions and circuits for performing PMD layer functions). In other words, the first irrelevant circuit and the second irrelevant circuit can be used to couple with both the link where the optical module is located and the link where the switching network is located. The optical module-related circuit refers to circuits related to the functional logic of the optical module (such as circuits for performing PCS layer functions). In other words, the optical module-related circuit is used to couple with the link where the optical module is located. The switching network-related circuit refers to circuits related to the functional logic of the switching network. In other words, the switching network-related circuit is used to couple with the link where the switching network is located. The first unrelated circuits in the first interface die 2200A1 and the optical module circuits in the first master die 2100A are coupled to the optical module-related circuits in the first interface die 2200A1. Thus, the optical module circuits in the first master die 2100A can be coupled to an external optical module device via the optical module-related circuits and the first unrelated circuits in the first interface die 2200A1. The second unrelated circuits in the first interface die 2200A1 and the switching network circuits in the first master die 2100A are coupled to the switching network-related circuits in the first interface die 2200A1. Thus, the switching network circuits in the first master die 2100A can be coupled to an external switching network device via the switching network-related circuits and the second unrelated circuits in the first interface die 2200A1. The coupling relationships of the various circuits in the second interface die 2200A2 can be referenced to the coupling relationships of the various circuits in the first interface die 2200A1 (as shown in FIG. 6(a)). This embodiment of the present application will not be further described herein. Typically, the first interface die 2200 is manufactured with the same structure. Since the first interface die 2200A1 and the first interface die 2200A2 have the same structure, in actual use, the optical module-related circuits in the first interface die 2200A1 and the optical module-related circuits in the first interface die 2200A2 cannot both be located on the same side as the optical module circuits in the first main die 2100A. For example, in FIG6 (a), the optical module circuits are located on the right side, the optical module-related circuits of the first interface die 2200A2 are located on the right side, and the optical module-related circuits of the second interface die 2200A1 are located on the left side. Refer to the dotted circle in FIG6 (a). This will cause the routing between the first unrelated circuits of the first interface die 2200A1 and the optical module device to cross, and the routing between the second unrelated circuits of the first interface die 2200A1 and the switching network device to cross.

如图6中的(b)图所示,与图6中的(a)图不同的是,对于第一接口裸片2200A1和第一接口裸片2200A2,第一无关电路和第二无关电路均可以通过开关耦合到光模块相关电路和交换网相关电路。在实际使用过程中,开关的导通方式如图6中的(b)图所示,第一接口裸片2200A1中的光模块相关电路与第二无关电路耦合,从而第一主裸片2100A中的光模块电路可以通过第一接口裸片2200A1中的光模块相关电路和第二无关电路与外部的光模块设备耦合;第一接口裸片2200A1中的交换网相关电路与第一无关电路耦合,从而第一主裸片中的交换网电路可以通过第一接口裸片2200A1中的交换网相关电路和第一无关电路与外部的交换网设备耦合。虽然第一芯片外部不存在单板走线交叉,但是,请参考图6中的(b)图示出的虚线圆圈,这样会造成第一接口裸片2200A1内部走线交叉。As shown in FIG6(b), unlike FIG6(a), for the first interface die 2200A1 and the first interface die 2200A2, the first and second irrelevant circuits can be coupled to the optical module-related circuits and the switching network-related circuits via a switch. In actual use, the switch is turned on as shown in FIG6(b), whereby the optical module-related circuits in the first interface die 2200A1 are coupled to the second irrelevant circuits, thereby allowing the optical module circuits in the first master die 2100A to be coupled to an external optical module device via the optical module-related circuits and the second irrelevant circuits in the first interface die 2200A1; and the switching network-related circuits in the first interface die 2200A1 are coupled to the first irrelevant circuits, thereby allowing the switching network circuits in the first master die to be coupled to an external switching network device via the switching network-related circuits and the first irrelevant circuits in the first interface die 2200A1. Although there is no single-board wiring crossing outside the first chip, please refer to the dotted circle shown in Figure 6 (b), this will cause the wiring inside the first interface bare chip 2200A1 to cross.

第二,第一接口裸片2200A采用成熟制程,将第一芯片2000A中过多的电路拆分在第一接口裸片2200A上,这些电路无法使用第一主裸片2100A的先进制程(先进制程与成熟制程相比,芯片性能更好),因此这样导致第一芯片2000A的性能较差。Second, the first interface die 2200A adopts a mature process, and too many circuits in the first chip 2000A are split onto the first interface die 2200A. These circuits cannot use the advanced process of the first main die 2100A (compared with the mature process, the advanced process has better chip performance), so this results in poor performance of the first chip 2000A.

在另一些可能的实施方式中,图4中的芯片2000可以将主电路200和MAC电路300拆分为一个裸片,将PHY电路400拆分为另一个裸片。In some other possible implementations, the chip 2000 in FIG. 4 may separate the main circuit 200 and the MAC circuit 300 into one die, and separate the PHY circuit 400 into another die.

在一些示例中,芯片2000可以是如图7所示的第二芯片2000B。第二芯片2000B包括第二主裸片2100B和第二接口裸片2200B。第二主裸片2100B包括第二主电路200B和第二MAC电路300B,第二接口裸片2200B包括第二PHY电路400B。第二主电路200B与第二MAC电路300B耦合,第二MAC电路300B和第二PHY电路400B耦合。其中,第二主裸片2100B采用先进制程,第二接口裸片2200B采用成熟制程,硬件成本较低;以及,第二主裸片2100B可以配合多个第二接口裸片2200B使用,可以根据场景选择第二主裸片2100B的数量和第二接口裸片2200B的数量,设计灵活度较高。In some examples, chip 2000 may be the second chip 2000B as shown in FIG7 . Second chip 2000B includes a second main die 2100B and a second interface die 2200B. Second main die 2100B includes a second main circuit 200B and a second MAC circuit 300B, and second interface die 2200B includes a second PHY circuit 400B. Second main circuit 200B is coupled to second MAC circuit 300B, and second MAC circuit 300B is coupled to second PHY circuit 400B. Second main die 2100B uses an advanced process, while second interface die 2200B uses a mature process, resulting in lower hardware costs. Furthermore, second main die 2100B can be used in conjunction with multiple second interface die 2200Bs, and the number of second main die 2100Bs and second interface die 2200Bs can be selected based on the scenario, providing greater design flexibility.

但是,图7所示的第二芯片2000B存在以下问题:However, the second chip 2000B shown in FIG7 has the following problems:

第一,第二PHY电路400B中包括与功能逻辑相关的电路(如用于执行PCS层功能的电路)和与功能逻辑无关的电路(如用于执行PMA层功能的电路和用于执行PMD层功能的电路)。由于与功能逻辑相关的电路和与功能逻辑无关的电路耦合在第二接口裸片2200B上,在框式设备场景下,存在第二芯片2000B外部单板走线交叉的问题、或者第二芯片2000B内部走线交叉的问题,增加硬件成本,不利于第二主裸片2100B复用多个第二接口裸片2200B。该问题具体可以参考图5所示的第一芯片2000A对应的问题,本申请实施例在此不再赘述。First, the second PHY circuit 400B includes circuits related to functional logic (such as circuits for performing PCS layer functions) and circuits unrelated to functional logic (such as circuits for performing PMA layer functions and circuits for performing PMD layer functions). Since the circuits related to functional logic and the circuits unrelated to functional logic are coupled to the second interface bare chip 2200B, in the frame device scenario, there is a problem of crossover of the external single-board wiring of the second chip 2000B, or a problem of crossover of the internal wiring of the second chip 2000B, which increases the hardware cost and is not conducive to the second main bare chip 2100B multiplexing multiple second interface bare chips 2200B. This problem can be specifically referred to the problem corresponding to the first chip 2000A shown in Figure 5, and the embodiments of the present application will not be repeated here.

第二,第二接口裸片2200B采用成熟制程,将第二芯片2000B中过多的电路拆分在第二接口裸片2200B上,这些电路无法使用第二主裸片2100B的先进制程(先进制程与成熟制程相比,芯片性能更好),因此这样导致第二芯片2000B的性能较差。Second, the second interface die 2200B adopts a mature process, and too many circuits in the second chip 2000B are split onto the second interface die 2200B. These circuits cannot use the advanced process of the second main die 2100B (compared with the mature process, the advanced process has better chip performance), so this results in poor performance of the second chip 2000B.

在又一些可能的实施方式中,图4中的芯片2000可以将PHY电路400中的PCS电路拆分为一个裸片,将PHY电路400中的PMA电路和PMD电路拆分为另一个裸片。其中,PCS电路用于执行PCS层功能,PMA电路用于执行PMA层功能,PMD电路用于执行PMD层功能。In some other possible implementations, the chip 2000 in FIG4 may separate the PCS circuit in the PHY circuit 400 into one die, and separate the PMA circuit and PMD circuit in the PHY circuit 400 into another die. The PCS circuit is used to perform PCS layer functions, the PMA circuit is used to perform PMA layer functions, and the PMD circuit is used to perform PMD layer functions.

在一些示例中,芯片2000可以是如图8所示的第三芯片2000C。第三芯片2000C包括第一裸片2210C和第二裸片2220C,第一裸片2210C包括PCS电路410C,第二裸片2220C包括PMA电路420C和PMD电路430C。第一裸片2210C的PCS电路410C与第二裸片2220C的PMA电路420C耦合,PMA电路420C与PMD电路430C耦合。In some examples, the chip 2000 may be the third chip 2000C as shown in FIG8 . The third chip 2000C includes a first die 2210C and a second die 2220C. The first die 2210C includes a PCS circuit 410C, and the second die 2220C includes a PMA circuit 420C and a PMD circuit 430C. The PCS circuit 410C of the first die 2210C is coupled to the PMA circuit 420C of the second die 2220C, and the PMA circuit 420C is coupled to the PMD circuit 430C.

示例性地,第一裸片2210C和第二裸片2220C的时钟域不同,第二裸片2220C可以通过PMA电路420C转换时钟域,例如,PMA电路420C可以用于对数据进行PCS电路410C的时钟域与PMD电路430C的时钟域之间的时钟域转换,PCS电路410C的时钟域可以是第一裸片2210C的时钟域,PMD电路430C的时钟域可以是第二裸片2220C的时钟域。Exemplarily, the clock domains of the first die 2210C and the second die 2220C are different, and the second die 2220C can convert the clock domain through the PMA circuit 420C. For example, the PMA circuit 420C can be used to convert the clock domain of data between the clock domain of the PCS circuit 410C and the clock domain of the PMD circuit 430C. The clock domain of the PCS circuit 410C can be the clock domain of the first die 2210C, and the clock domain of the PMD circuit 430C can be the clock domain of the second die 2220C.

在本申请实施例中,图8所示的第三芯片2000C具有以下效果:In the embodiment of the present application, the third chip 2000C shown in FIG8 has the following effects:

第一,提供了一种chiplet中的裸片划分方式,将多个电路拆分在不同的裸片上,不同裸片可以采用不同的工艺制程,例如,第二裸片2220C可以采用成熟制程,硬件成本较低。First, a die partitioning method in a chiplet is provided, where multiple circuits are split onto different dies. Different dies can be manufactured using different process technologies. For example, the second die 2220C can be manufactured using a mature process, resulting in lower hardware costs.

第二,第一裸片2210C可以配合多个第二裸片2220C使用,可以根据场景选择第一裸片2210C的数量和第二裸片2220C的数量,设计灵活度较高。Second, the first die 2210C can be used in conjunction with multiple second die 2220Cs. The number of first die 2210C and the number of second die 2220C can be selected according to the scenario, which provides high design flexibility.

第三,第二裸片2220C仅包括与功能逻辑无关的PMA电路420C和PMD电路430C,可以以较低的代价实现不同裸片间灵活复用。示例性地,PMA电路420C和PMD电路430C为与功能逻辑无关的电路,用于与多个功能中的任一功能所在的链路耦合,PCS电路410C为与功能逻辑相关的电路,用于与PCS电路410C对应的一个功能所在的链路耦合。将与功能逻辑相关的电路和与功能逻辑无关的电路拆分在不同的裸片上,以框式设备场景为例,第三芯片2000C外部不存在单板走线交叉、第三芯片2000C内部不存在走线交叉,从而可以减少硬件成本,有助于第一裸片2210C复用多个第二裸片2220C,还解决将与功能逻辑相关的电路、和与功能逻辑无关的电路设计在同一裸片上带来的裸片拆分设计混乱的问题。接下来以框式交换机场景为例对该内容进行举例说明。示例性地,如图9所示,第二裸片2220C1和第二裸片2220C2均包括第一无关电路和第二无关电路。第一无关电路和第二无关电路既可以用于与光模块所在的链路耦合,也可以用于与交换网所在的链路耦合。第一无关电路包括PMA电路420C和PMD电路430C,第二无关电路包括PMA电路420C和PMD电路430C。第一裸片2210C包括交换网电路、第一交换网相关电路、第二交换网相关电路、光模块电路、第一光模块相关电路和第二光模块相关电路。第一光模块相关电路和第二光模块相关电路用于与光模块所在的链路耦合,第一交换网相关电路和第二交换网相关电路用于与交换网所在的链路耦合。第一交换网相关电路、第二交换网相关电路、第一光模块相关电路和第二光模块相关电路均包括PCS电路410C。交换网电路用于通过第一交换网相关电路、第二裸片2220C1中的第一无关电路与外部的交换网设备耦合,交换网电路还用于通过第二交换网相关电路、第二裸片2220C2中的第二无关电路与外部的交换网设备耦合。光模块电路用于通过第二光模块相关电路、第二裸片2220C1中的第二无关电路与外部的光模块设备耦合,光模块电路还用于通过第一光模块相关电路、第二裸片2220C2中的第一无关电路与外部的光模块设备耦合。由于第一无关电路和第二无关电路可以与任一功能所在的链路耦合,因此不存在外部单板走线交叉的问题、或内部走线交叉的问题。对于第一裸片2210C需要配合多个第二裸片2220C使用时,可以减少很多走线的交叉,更明显地减少硬件复杂度。Third, the second die 2220C includes only the PMA circuit 420C and PMD circuit 430C, which are unrelated to the functional logic. This allows for flexible reuse between different dies at a low cost. For example, the PMA circuit 420C and PMD circuit 430C are unrelated to the functional logic and are used to couple with the link of any of the multiple functions. The PCS circuit 410C is related to the functional logic and is used to couple with the link of the function corresponding to the PCS circuit 410C. By separating the circuits related to the functional logic and the circuits unrelated to the functional logic onto different dies, in a modular device scenario, there is no crossover of single-board traces outside the third die 2000C, nor is there any crossover of traces inside the third die 2000C. This reduces hardware costs, facilitates the reuse of multiple second dies 2220C by the first die 2210C, and eliminates the design confusion caused by designing both circuits related to the functional logic and circuits unrelated to the functional logic on the same die. This is illustrated using a modular switch scenario. For example, as shown in FIG9 , the second die 2220C1 and the second die 2220C2 each include a first irrelevant circuit and a second irrelevant circuit. The first irrelevant circuit and the second irrelevant circuit can be used to couple with either the link where the optical module is located or the link where the switching network is located. The first irrelevant circuit includes a PMA circuit 420C and a PMD circuit 430C, and the second irrelevant circuit includes a PMA circuit 420C and a PMD circuit 430C. The first die 2210C includes a switching network circuit, a first switching network-related circuit, a second switching network-related circuit, an optical module circuit, a first optical module-related circuit, and a second optical module-related circuit. The first optical module-related circuit and the second optical module-related circuit are used to couple with the link where the optical module is located, and the first switching network-related circuit and the second switching network-related circuit are used to couple with the link where the switching network is located. The first switching network-related circuit, the second switching network-related circuit, the first optical module-related circuit, and the second optical module-related circuit all include a PCS circuit 410C. The switching network circuit is used to couple with an external switching network device via the first switching network-related circuit and the first unrelated circuit in the second die 2220C1. The switching network circuit is also used to couple with an external switching network device via the second switching network-related circuit and the second unrelated circuit in the second die 2220C2. The optical module circuit is used to couple with an external optical module device via the second optical module-related circuit and the second unrelated circuit in the second die 2220C1. The optical module circuit is also used to couple with an external optical module device via the first optical module-related circuit and the first unrelated circuit in the second die 2220C2. Because the first unrelated circuit and the second unrelated circuit can be coupled to any link containing any function, there is no problem of external or internal wiring crossing. When the first die 2210C is used in conjunction with multiple second dies 2220C, this can significantly reduce wiring crossings, significantly reducing hardware complexity.

在一些可能的实施方式中,图8中的PCS电路410C、PMA电路420C和PMD电路430C均包括发送侧和接收侧。In some possible implementations, the PCS circuit 410C, the PMA circuit 420C, and the PMD circuit 430C in FIG8 all include a transmitting side and a receiving side.

在一些示例中,如图10所示,PCS电路410C包括PCS发送电路411C和PCS接收电路412C,PMA电路420C包括PMA发送电路421C和PMA接收电路422C,PMD电路430C包括PMD发送电路431C和PMD接收电路432C。PCS发送电路411C与PMA发送电路421C耦合,PMA发送电路421C与PMD发送电路431C耦合。PCS接收电路412C与PMA接收电路422C耦合,PMA接收电路422C与PMD接收电路432C耦合。In some examples, as shown in FIG10 , PCS circuit 410C includes PCS transmit circuit 411C and PCS receive circuit 412C, PMA circuit 420C includes PMA transmit circuit 421C and PMA receive circuit 422C, and PMD circuit 430C includes PMD transmit circuit 431C and PMD receive circuit 432C. PCS transmit circuit 411C is coupled to PMA transmit circuit 421C, which in turn is coupled to PMD transmit circuit 431C. PCS receive circuit 412C is coupled to PMA receive circuit 422C, which in turn is coupled to PMD receive circuit 432C.

示例性地,PCS发送电路411C对数据进行相应处理(例如进行编码),将数据发送给PMA发送电路421C。PMA发送电路421C对数据进行相应处理(例如进行时钟域转换),将数据发送给PMD发送电路431C。PMD发送电路431C对数据进行相应处理(例如将并行数据转换为串行数据),将数据发送给介质,其中,介质包括但不限于PCB走线、铜缆、光纤等。Exemplarily, PCS transmit circuit 411C processes the data (e.g., encodes it) and sends it to PMA transmit circuit 421C. PMA transmit circuit 421C processes the data (e.g., performs clock domain conversion) and sends it to PMD transmit circuit 431C. PMD transmit circuit 431C processes the data (e.g., converts parallel data into serial data) and sends it to a medium, including but not limited to PCB traces, copper cables, and optical fibers.

示例性地,PMD接收电路432C接收来自介质的数据,对数据进行相应处理(例如将串行数据转换为并行数据),将数据发送给PMA接收电路422C。PMA接收电路422C对数据进行相应处理(例如进行时钟域转换),将数据发送给PCS电路410C。PCS电路410C对数据进行相应处理(例如进行解码)。Exemplarily, the PMD receiving circuit 432C receives data from the medium, processes the data accordingly (e.g., converts serial data into parallel data), and sends the data to the PMA receiving circuit 422C. The PMA receiving circuit 422C processes the data accordingly (e.g., performs clock domain conversion) and sends the data to the PCS circuit 410C. The PCS circuit 410C processes the data accordingly (e.g., performs decoding).

示例性地,PMA发送电路421C包括多个通道(lane),PMD发送电路431C包括多个lane,PMA发送电路421C中的每个lane与PMD发送电路431C中的每个lane一一对应耦合,PMD发送电路431C中的每个lane可以包括多个并行通道和一个串行通道,PMD发送电路431C中的每个lane用于执行并行通道中的数据转换为串行通道中的数据的功能。PMA接收电路422C包括多个通道(lane),PMD接收电路432C包括多个lane,PMA接收电路422C中的每个lane与PMD接收电路432C中的每个lane一一对应耦合,PMD接收电路432C中的每个lane可以包括多个并行通道和一个串行通道,PMD接收电路432C中的每个lane用于执行串行通道中的数据转换为并行通道中的数据的功能。Exemplarily, the PMA transmit circuit 421C includes multiple lanes, the PMD transmit circuit 431C includes multiple lanes, each lane in the PMA transmit circuit 421C is coupled to each lane in the PMD transmit circuit 431C in a one-to-one correspondence, each lane in the PMD transmit circuit 431C may include multiple parallel channels and one serial channel, and each lane in the PMD transmit circuit 431C is configured to convert data in the parallel channels into data in the serial channels. The PMA receive circuit 422C includes multiple lanes, the PMD receive circuit 432C includes multiple lanes, each lane in the PMA receive circuit 422C is coupled to each lane in the PMD receive circuit 432C in a one-to-one correspondence, each lane in the PMD receive circuit 432C may include multiple parallel channels and one serial channel, and each lane in the PMD receive circuit 432C is configured to convert data in the serial channels into data in the parallel channels.

在本申请实施例中,PCS电路410C、PMA电路420C和PMD电路430C均包括发送侧和接收侧,PMA发送电路421C、PMA接收电路422C、PMD发送电路431C和PMD接收电路432C,均与PCS发送电路411C和PCS接收电路412C位于不同的裸片上,硬件成本较低、设计灵活度较高、有助于第一裸片2210C复用多个第二裸片2220C。In the embodiment of the present application, the PCS circuit 410C, the PMA circuit 420C and the PMD circuit 430C all include a transmitting side and a receiving side. The PMA transmitting circuit 421C, the PMA receiving circuit 422C, the PMD transmitting circuit 431C and the PMD receiving circuit 432C are all located on different bare chips from the PCS transmitting circuit 411C and the PCS receiving circuit 412C. This has low hardware cost, high design flexibility, and helps the first bare chip 2210C to multiplex multiple second bare chips 2220C.

在一些可能的实施方式中,图8中的第三芯片2000C可以包括第三主电路和第三MAC电路,接下来对第三主电路和第三MAC电路与前述第一裸片2210C和第二裸片2220C之间的拆分方式进行介绍。In some possible implementations, the third chip 2000C in FIG8 may include a third main circuit and a third MAC circuit. Next, a method for separating the third main circuit and the third MAC circuit from the aforementioned first die 2210C and second die 2220C is introduced.

在一些示例中,如图11中的(a)图所示,第三芯片2000C还包括第三主裸片2100C,第三主电路200C和第三MAC电路300C设置在第三主裸片2100C中,第三主电路200C与第三MAC电路300C耦合,第三MAC电路300C与PCS电路410C耦合。在本申请实施例中,第三主电路200C所在的第三主裸片2100C采用先进制程,尽可能将更多电路从第三主裸片2100C解耦,这些电路所在的第一裸片2210C和第二裸片2220C采用成熟制程,既可以降低成本、提高设计灵活度,又可以解决外部单板走线交叉、内部走线交叉等问题。In some examples, as shown in FIG11( a ), the third chip 2000C further includes a third main die 2100C, in which the third main circuit 200C and the third MAC circuit 300C are disposed. The third main circuit 200C is coupled to the third MAC circuit 300C, and the third MAC circuit 300C is coupled to the PCS circuit 410C. In the embodiment of the present application, the third main die 2100C, where the third main circuit 200C is located, utilizes an advanced process to decouple as many circuits from the third main die 2100C as possible. The first die 2210C and the second die 2220C, where these circuits are located, utilize mature processes. This can reduce costs, increase design flexibility, and resolve issues such as external board wiring crossings and internal wiring crossings.

在另一些示例中,如图11中的(b)图所示,第三芯片2000C还包括第三主裸片2100C,第三主电路200C设置在第三主裸片2100C中,第三MAC电路300C设置在第一裸片2210C中,第三主电路200C与第三MAC电路300C耦合,第三MAC电路300C与PCS电路410C耦合。在本申请实施例中,进一步将第三MAC电路300C从第三主裸片2100C解耦,进一步降低成本、提高设计灵活度,并且可以解决外部单板走线交叉、内部走线交叉等问题。In other examples, as shown in FIG11( b ), the third chip 2000C further includes a third master die 2100C, the third master circuit 200C is disposed in the third master die 2100C, the third MAC circuit 300C is disposed in the first die 2210C, the third master circuit 200C is coupled to the third MAC circuit 300C, and the third MAC circuit 300C is coupled to the PCS circuit 410C. In this embodiment of the present application, the third MAC circuit 300C is further decoupled from the third master die 2100C, further reducing costs, improving design flexibility, and resolving issues such as crossover of external and internal board traces.

在又一些示例中,如图11中的(c)图所示,第三主电路200C和第三MAC电路300C均设置在第一裸片2210C中,第三主电路200C与第三MAC电路300C耦合,第三MAC电路300C与PCS电路410C耦合。在本申请实施例中,第三主电路200C所在的第一裸片2210C采用先进制程,第二裸片2220C采用成熟制程,尽可能将更多电路放在第一裸片2210C上,可以提升第三芯片2000C的性能,还可以降低封装尺寸。In yet other examples, as shown in FIG11( c ), the third master circuit 200C and the third MAC circuit 300C are both disposed in the first die 2210C, the third master circuit 200C being coupled to the third MAC circuit 300C, and the third MAC circuit 300C being coupled to the PCS circuit 410C. In the embodiment of the present application, the first die 2210C where the third master circuit 200C is located uses an advanced process, while the second die 2220C uses a mature process. Placing as many circuits as possible on the first die 2210C can improve the performance of the third chip 2000C and reduce the package size.

在一些可能的实施方式中,图11的(a)图或(b)图或(c)图所示的第三MAC电路300C包括发送侧和接收侧。In some possible implementations, the third MAC circuit 300C shown in FIG. 11 (a), (b), or (c) includes a transmitting side and a receiving side.

在一些示例中,以第三MAC电路300C设置在第一裸片2210C上为例,如图12所示,第三MAC电路300C包括MAC发送电路310C和MAC接收电路320C。MAC发送电路310C与PCS发送电路411C耦合,MAC接收电路320C与PCS接收电路412C耦合。In some examples, taking the third MAC circuit 300C as an example, which is provided on the first die 2210C, as shown in FIG12 , the third MAC circuit 300C includes a MAC transmit circuit 310C and a MAC receive circuit 320C. The MAC transmit circuit 310C is coupled to the PCS transmit circuit 411C, and the MAC receive circuit 320C is coupled to the PCS receive circuit 412C.

示例性地,MAC发送电路310C对数据进行相应的处理,将数据发送给PCS发送电路411C。示例性地,MAC接收电路320C接收来自PCS接收电路412C的数据,对数据进行相应的处理。Exemplarily, the MAC transmitting circuit 310C processes the data accordingly and transmits the data to the PCS transmitting circuit 411C. Exemplarily, the MAC receiving circuit 320C receives the data from the PCS receiving circuit 412C and processes the data accordingly.

在本申请实施例中,第三MAC电路300C包括发送侧和接收侧,MAC发送电路310C和MAC接收电路320C均设置在第一裸片2210C中,硬件成本较低、设计灵活度较高,若第一裸片2210C采用先进制程,还可以将MAC发送电路310C和MAC接收电路320C也采用先进制程,提升第三芯片2000C的性能。In the embodiment of the present application, the third MAC circuit 300C includes a transmitting side and a receiving side. The MAC transmitting circuit 310C and the MAC receiving circuit 320C are both arranged in the first bare die 2210C, which has low hardware cost and high design flexibility. If the first bare die 2210C adopts an advanced process, the MAC transmitting circuit 310C and the MAC receiving circuit 320C can also adopt the advanced process to improve the performance of the third chip 2000C.

在一些可能的实施方式中,由于第一裸片2210C和第二裸片2220C的时钟域不同,带宽存在偏差,第一裸片2210C可能存在带宽加速比,第一裸片2210C传输数据的带宽大于第二裸片2220C传输数据的带宽,因此,PMA发送电路421C中可以设置缓存器(buffer/cache)等进行缓冲。In some possible implementations, since the clock domains of the first die 2210C and the second die 2220C are different and there is a bandwidth deviation, the first die 2210C may have a bandwidth acceleration ratio, and the bandwidth of the first die 2210C transmitting data is greater than the bandwidth of the second die 2220C transmitting data. Therefore, a buffer (buffer/cache) can be set in the PMA transmitting circuit 421C for buffering.

在一示例中,如图13所示,第一裸片2210C或第二裸片2220C还包括调节电路440C,PMA发送电路421C还包括缓存器(图中未示出)。MAC发送电路310C与调节电路440C耦合,调节电路440C与PMA发送电路421C耦合。缓存器,用于在MAC发送电路310C通过PCS发送电路411C,向PMA发送电路421C发送数据的过程中,存储数据。PMA发送电路421C,用于在缓存器存储的数据的数据量大于第一预设值时,通过调节电路440C控制MAC发送电路310C降低发送数据的带宽。In one example, as shown in FIG13 , the first die 2210C or the second die 2220C further includes a regulation circuit 440C, and the PMA transmit circuit 421C further includes a buffer (not shown). The MAC transmit circuit 310C is coupled to the regulation circuit 440C, which in turn is coupled to the PMA transmit circuit 421C. The buffer is configured to store data while the MAC transmit circuit 310C is transmitting data to the PMA transmit circuit 421C via the PCS transmit circuit 411C. The PMA transmit circuit 421C is configured to control the MAC transmit circuit 310C, via the regulation circuit 440C, to reduce the bandwidth of the transmitted data when the amount of data stored in the buffer exceeds a first preset value.

示例性地,缓存器可以是先入先出(first in first out,FIFO)缓存器。示例性地,缓存器的大小可以根据第二裸片2220C可提供的资源量确定。或者,缓存器的大小可以根据PMD发送电路431C的一个lane的一个并行通道的位宽确定,例如缓存器的大小为一个并行通道的位宽的4倍、8倍、16倍、32倍、64倍、128倍等等。或者,缓存器的大小可以根据第一裸片2210C和第二裸片2220C之间的传输路径的长度确定,例如,第一裸片2210C和第二裸片2220C封装在PCB板上,缓存器的大小根据PCS电路410C和PMA发送电路421C之间的传输路径的长度确定。Exemplarily, the buffer may be a first-in, first-out (FIFO) buffer. Exemplarily, the size of the buffer may be determined based on the amount of resources available to the second die 2220C. Alternatively, the size of the buffer may be determined based on the bit width of a parallel channel in a lane of the PMD transmit circuit 431C. For example, the size of the buffer may be 4 times, 8 times, 16 times, 32 times, 64 times, 128 times, or the like, the bit width of a parallel channel. Alternatively, the size of the buffer may be determined based on the length of the transmission path between the first die 2210C and the second die 2220C. For example, if the first die 2210C and the second die 2220C are packaged on a PCB, the size of the buffer may be determined based on the length of the transmission path between the PCS circuit 410C and the PMA transmit circuit 421C.

示例性地,PMA发送电路421C通过调节电路440C控制MAC发送电路310C降低带宽的方式,可以是:在缓存器存储的数据的数据量大于第一预设值时,PMA发送电路421C向调节电路440C发送容量信息,容量信息用于指示缓存器存储的数据的数据量大于第一预设值。调节电路440C根据容量信息向MAC发送电路310C发送第一指示信息,MAC发送电路310C根据第一指示信息降低发送数据的带宽。PMA发送电路421C通过调节电路440C控制MAC发送电路310C降低带宽的方式,还可以是:PMA发送电路421C每隔预设时间向调节电路440C发送缓存器存储的数据的数据量,调节电路440C在该数据量不大于第一预设值时,向MAC发送电路310C发送第二指示信息,第二指示信息用于指示MAC发送电路310C无需降低发送数据的带宽。调节电路440C在该数据量大于第一预设值时,停止发送第二指示信息,MAC发送电路310C在超过预设时间间隔时,仍未收到第二指示信息,则降低发送数据的带宽。For example, the PMA transmitting circuit 421C controls the MAC transmitting circuit 310C to reduce bandwidth via the adjustment circuit 440C. When the amount of data stored in the buffer exceeds a first preset value, the PMA transmitting circuit 421C sends capacity information to the adjustment circuit 440C, indicating that the amount of data stored in the buffer exceeds the first preset value. The adjustment circuit 440C sends first indication information to the MAC transmitting circuit 310C based on the capacity information, and the MAC transmitting circuit 310C reduces the bandwidth of the transmitted data based on the first indication information. Alternatively, the PMA transmitting circuit 421C controls the MAC transmitting circuit 310C to reduce bandwidth via the adjustment circuit 440C. The PMA transmitting circuit 421C sends the amount of data stored in the buffer to the adjustment circuit 440C at preset intervals. When the amount of data stored in the buffer is not greater than the first preset value, the adjustment circuit 440C sends second indication information to the MAC transmitting circuit 310C, indicating that the MAC transmitting circuit 310C does not need to reduce the bandwidth of the transmitted data. When the data volume is greater than the first preset value, the adjustment circuit 440C stops sending the second indication information. If the MAC sending circuit 310C still does not receive the second indication information after a preset time interval, it reduces the bandwidth for sending data.

在本申请实施例中,通过设置调节电路440C,在PMA发送电路421C的缓存器的存储的数据的数据量大于第一预设值时,调节第一裸片2210C的发送侧的带宽,从而缓解第一裸片2210C数据流量过大,第二裸片2220C来不及处理的问题。In the embodiment of the present application, by providing a regulation circuit 440C, when the amount of data stored in the buffer of the PMA transmitting circuit 421C is greater than a first preset value, the bandwidth of the transmitting side of the first bare chip 2210C is adjusted, thereby alleviating the problem that the data flow of the first bare chip 2210C is too large and the second bare chip 2220C cannot process it in time.

在一些可能的实施方式中,图8中的第三芯片2000C还包括功能电路,功能电路既可以被划分在第一裸片2210C上,也可以被划分在第二裸片2220C上。In some possible implementations, the third chip 2000C in FIG. 8 further includes a functional circuit, and the functional circuit can be divided on both the first die 2210C and the second die 2220C.

在一些示例中,如图14中的(a)图所示,功能电路450C被设置在第二裸片2220C上,如图14中的(b)图所示,功能电路450C被设置在第一裸片2210C上,PCS电路410C通过功能电路450C与PMA电路420C耦合,本申请实施例对功能电路450C的数量和具体功能不做限制。In some examples, as shown in (a) of FIG. 14 , the functional circuit 450C is disposed on the second die 2220C, and as shown in (b) of FIG. 14 , the functional circuit 450C is disposed on the first die 2210C, and the PCS circuit 410C is coupled to the PMA circuit 420C through the functional circuit 450C. The embodiments of the present application do not limit the number and specific functions of the functional circuit 450C.

在本申请实施例中,PCS电路410C和PMA电路420C之间还可以包括其他的功能电路450C,功能电路450C可以根据应用需求进行设置,如此,可以更灵活的设置第三芯片2000C的功能。In the embodiment of the present application, other functional circuits 450C may be included between the PCS circuit 410C and the PMA circuit 420C. The functional circuits 450C may be configured according to application requirements. In this way, the functions of the third chip 2000C may be configured more flexibly.

在一些可能的实施方式中,功能电路450C可以包括预反压电路。示例性地,PCS发送电路411C通过预反压电路与PMA发送电路耦合,调节电路440C还与预反压电路耦合。当缓存器存储的数据的数据量大于第二预设值时,PMA发送电路421C通过调节电路440C指示预反压电路降低PCS电路410C发送数据的带宽,第二预设值小于第一预设值。可选地,预反压电路中可以设置缓存电路。In some possible implementations, functional circuit 450C may include a pre-inverting circuit. For example, PCS transmit circuit 411C is coupled to the PMA transmit circuit via the pre-inverting circuit, and regulation circuit 440C is also coupled to the pre-inverting circuit. When the amount of data stored in the buffer exceeds a second preset value, PMA transmit circuit 421C instructs the pre-inverting circuit via regulation circuit 440C to reduce the bandwidth of data transmitted by PCS circuit 410C, where the second preset value is less than the first preset value. Optionally, a buffer circuit may be provided within the pre-inverting circuit.

在本申请实施例中,在缓存器存储的数据的数据量大于第一预设值时,PMA发送电路421C可以通过调节电路440C控制MAC发送电路310C降低发送数据的带宽,但是,PCS电路410C随着MAC发送电路310C降低发送数据的带宽还需要一段时间,若这段时间中,缓存器中的数据已经存满,而PCS发送电路411C处还在以较大带宽向PMA发送电路421C发送数据,PMA发送电路421C来不及处理。在缓存器存储的数据的数据量大于第二预设值时,通过调节电路440C和预反压电路,降低PCS发送电路411C发送数据的带宽,再在缓存器存储的数据的数据量大于第一预设值时,通过调节电路440C降低MAC发送电路310C发送数据的带宽,缓解缓存器中的数据已经存满、而PCS发送电路411C处还在以较大带宽向PMA发送电路421C发送数据、PMA发送电路421C来不及处理的问题。In an embodiment of the present application, when the amount of data stored in the buffer exceeds a first preset value, the PMA transmit circuit 421C can control the MAC transmit circuit 310C to reduce the transmit bandwidth via the adjustment circuit 440C. However, it will take some time for the PCS circuit 410C to follow the MAC transmit circuit 310C in reducing the transmit bandwidth. If, during this period, the buffer is full of data while the PCS transmit circuit 411C is still sending data to the PMA transmit circuit 421C at a high bandwidth, the PMA transmit circuit 421C will not be able to process the data in time. When the amount of data stored in the buffer exceeds a second preset value, the adjustment circuit 440C and the pre-inverting circuit reduce the transmit bandwidth of the PCS transmit circuit 411C. Furthermore, when the amount of data stored in the buffer exceeds the first preset value, the adjustment circuit 440C reduces the transmit bandwidth of the MAC transmit circuit 310C. This alleviates the problem of the buffer being full while the PCS transmit circuit 411C is still sending data to the PMA transmit circuit 421C at a high bandwidth, causing the PMA transmit circuit 421C to be unable to process the data in time.

在一些可能的实施方式中,功能电路450C可以包括前向纠错(forward error correction,FEC)电路。示例性地,FEC电路用于将PCS电路410C编码后的数据进行二次编码,可以自动纠正一定量的误码,降低误码率。示例性地,FEC电路可以是里德-所罗门前向纠错(reed solomon forward error correction,RSFEC)电路,或者使用其他编码的FEC电路,本申请实施例对此不做限制。In some possible implementations, functional circuit 450C may include a forward error correction (FEC) circuit. Exemplarily, the FEC circuit is used to re-encode the data encoded by PCS circuit 410C, automatically correcting a certain amount of bit errors and reducing the bit error rate. Exemplarily, the FEC circuit may be a Reed-Solomon forward error correction (RSFEC) circuit, or an FEC circuit using other encoding methods, which is not limited in this embodiment of the present application.

在本申请实施例中,PCS电路410C和PMA电路420C之间包括FEC电路,可以降低误码率。若FEC电路设置在第二裸片2220C上,第二裸片2220C采用成熟制程,则可以进一步降低第三芯片2000C的成本。若FEC电路设置在第一裸片2210C上,第一裸片2210C可以采用先进制程,还可以将FEC电路也采用先进制程,提升第三芯片2000C的性能。In this embodiment of the present application, an FEC circuit is included between the PCS circuit 410C and the PMA circuit 420C to reduce the bit error rate. If the FEC circuit is located on the second die 2220C and the second die 2220C uses a mature process, the cost of the third chip 2000C can be further reduced. If the FEC circuit is located on the first die 2210C and the first die 2210C uses an advanced process, the FEC circuit can also be manufactured using an advanced process, thereby improving the performance of the third chip 2000C.

在一些可能的实施方式中,功能电路450C中的FEC电路包括发送侧和接收侧。In some possible implementations, the FEC circuit in the functional circuit 450C includes a transmitting side and a receiving side.

在一些示例中,以FEC电路设置在第一裸片2210C上为例,如图15所示,FEC电路包括FEC发送电路451C和FEC接收电路452C。PCS发送电路411C通过FEC发送电路451C与PMA发送电路421C耦合。PCS接收电路412C通过FEC接收电路452C与PMA接收电路422C耦合。In some examples, taking the FEC circuitry provided on the first die 2210C as an example, as shown in FIG15 , the FEC circuitry includes an FEC transmit circuit 451C and an FEC receive circuit 452C. The PCS transmit circuit 411C is coupled to the PMA transmit circuit 421C via the FEC transmit circuit 451C. The PCS receive circuit 412C is coupled to the PMA receive circuit 422C via the FEC receive circuit 452C.

示例性地,FEC发送电路451C接收来自PCS发送电路411C的数据,FEC发送电路451C对数据进行前向纠错处理,将处理完的数据发送给PMA发送电路421C。示例性地,FEC接收电路452C接收来自PMA接收电路422C的数据,FEC接收电路452C对数据进行前向纠错处理,将处理完的数据发生给PCS接收电路412C。Exemplarily, FEC transmission circuit 451C receives data from PCS transmission circuit 411C, performs forward error correction on the data, and sends the processed data to PMA transmission circuit 421C. Exemplarily, FEC reception circuit 452C receives data from PMA reception circuit 422C, performs forward error correction on the data, and sends the processed data to PCS reception circuit 412C.

在本申请实施例中,FEC电路包括发送侧和接收侧,对于第三芯片2000C中的发送链路和接收链路,均可以降低误码率。若FEC发送电路451C和FEC接收电路452C设置在第二裸片2220C上,第二裸片2220C采用成熟制程,可以进一步降低第三芯片2000C的成本。若FEC发送电路451C和FEC接收电路452C设置在第一裸片2210C上,第一裸片2210C可以采用先进制程,还可以将FEC发送电路451C和FEC接收电路452C也采用先进制程,提升第三芯片2000C的性能。In the embodiment of the present application, the FEC circuit includes a transmitting side and a receiving side, and can reduce the bit error rate for both the transmitting and receiving links in the third chip 2000C. If the FEC transmitting circuit 451C and the FEC receiving circuit 452C are provided on the second die 2220C, and the second die 2220C uses a mature process, the cost of the third chip 2000C can be further reduced. If the FEC transmitting circuit 451C and the FEC receiving circuit 452C are provided on the first die 2210C, the first die 2210C can use an advanced process, and the FEC transmitting circuit 451C and the FEC receiving circuit 452C can also use an advanced process, thereby improving the performance of the third chip 2000C.

在一些可能的实施方式中,PMD接收电路432C可以根据FEC接收电路452C对数据的前向纠错结果,进行性能参数调节。In some possible implementations, the PMD receiving circuit 432C may adjust performance parameters according to the forward error correction result of the data by the FEC receiving circuit 452C.

示例性地,如图16所示,第一裸片2210C或第二裸片2220C还包括反馈电路460C,FEC接收电路452C与反馈电路460C耦合,反馈电路460C与PMD接收电路432C耦合。FEC接收电路452C,用于在前向纠错得到的误码率不为0时,通过反馈电路460C向PMD接收电路432C发送误码信息,反馈电路460C为串行接口。其中,PMD接收电路432C会调节性能参数,以减少数据传输的错误率。FEC接收电路452C接收来自PMD接收电路432C的数据,对数据进行前向纠错得到误码信息,误码信息用于指示数据的误码率,PMD接收电路432C可以用于根据误码信息调节PMD接收电路432C的性能参数。For example, as shown in FIG16 , the first die 2210C or the second die 2220C further includes a feedback circuit 460C. The FEC receiving circuit 452C is coupled to the feedback circuit 460C, which is in turn coupled to the PMD receiving circuit 432C. The FEC receiving circuit 452C is configured to send error information to the PMD receiving circuit 432C via the feedback circuit 460C when the bit error rate (BER) obtained through forward error correction (FEC) is not zero. The feedback circuit 460C is a serial interface. The PMD receiving circuit 432C adjusts performance parameters to reduce the error rate of data transmission. The FEC receiving circuit 452C receives data from the PMD receiving circuit 432C, performs FEC on the data, and obtains error information. The error information indicates the bit error rate of the data. The PMD receiving circuit 432C can adjust the performance parameters of the PMD receiving circuit 432C based on the error information.

在本申请实施例中,需传输的误码信息的数据量较多,为避免裸片间带宽浪费,将传输误码信息的反馈电路460C设置为串行接口,以串行数据的形式发送误码信息,可以降低裸片间数据传输的带宽。In an embodiment of the present application, the amount of error information data to be transmitted is large. To avoid wasting bandwidth between bare chips, the feedback circuit 460C for transmitting error information is set to a serial interface, and the error information is sent in the form of serial data, which can reduce the bandwidth of data transmission between bare chips.

在一些可能的实施方式中,如图16所示,第一裸片2210C还包括第一接口电路471C,第二裸片2220C还包括第二接口电路472C。第一接口电路471C和第二接口电路472C耦合,第一裸片2210C通过第一接口电路471C和第二接口电路472C与第二裸片2220C耦合。示例性地,第一接口电路471C和第二接口电路472C均为低延时接口,第一接口电路471C和第二接口电路472C的延时均小于预设阈值,例如,预设阈值可以是20纳秒。In some possible implementations, as shown in FIG16 , the first die 2210C further includes a first interface circuit 471C, and the second die 2220C further includes a second interface circuit 472C. The first interface circuit 471C and the second interface circuit 472C are coupled, and the first die 2210C is coupled to the second die 2220C via the first interface circuit 471C and the second interface circuit 472C. Exemplarily, both the first interface circuit 471C and the second interface circuit 472C are low-latency interfaces, and the latency of both the first interface circuit 471C and the second interface circuit 472C is less than a preset threshold, for example, 20 nanoseconds.

在本申请实施例中,第一裸片2210C通过第一接口电路471C和第二接口电路472C与第二裸片2220C耦合,第一裸片2210C和第二裸片2220C可以通过第一接口电路471C和第二接口电路472C通信,为第一裸片2210C和第二裸片2220C之间的通信建立基础。进一步地,选取低延时接口作为第一接口电路471C和第二接口电路472C,可以减小第一裸片2210C和第一裸片2210C之间通信的延时,提升第三芯片2000C性能。In the embodiment of the present application, the first die 2210C is coupled to the second die 2220C via the first interface circuit 471C and the second interface circuit 472C. The first die 2210C and the second die 2220C can communicate via the first interface circuit 471C and the second interface circuit 472C, establishing a foundation for communication between the first die 2210C and the second die 2220C. Furthermore, selecting low-latency interfaces as the first interface circuit 471C and the second interface circuit 472C can reduce the communication latency between the first die 2210C and the second die 2210C, thereby improving the performance of the third chip 2000C.

在本申请所提供的几个实施例中,应该理解到,所揭露的电子设备、芯片系统和芯片,可以通过其它的方式实现。例如,以上所描述的实施例仅仅是示意性的,例如,所述电路的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed electronic devices, chip systems, and chips can be implemented in other ways. For example, the embodiments described above are merely illustrative. For example, the division of the circuit is only a logical function division. In actual implementation, there may be other division methods, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, which may be electrical, mechanical or other forms.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims (12)

一种芯片,其特征在于,所述芯片包括第一裸片和第二裸片;所述第一裸片包括物理编码子层PCS电路,所述第二裸片包括物理介质接入子层PMA电路和物理介质相关PMD电路;A chip, characterized in that the chip includes a first die and a second die; the first die includes a physical coding sublayer PCS circuit, and the second die includes a physical medium access sublayer PMA circuit and a physical medium dependent PMD circuit; 所述第一裸片的所述PCS电路与所述第二裸片的所述PMA电路耦合;所述PMA电路与所述PMD电路耦合。The PCS circuit of the first die is coupled to the PMA circuit of the second die; the PMA circuit is coupled to the PMD circuit. 根据权利要求1所述的芯片,其特征在于,所述PCS电路包括PCS发送电路和PCS接收电路,所述PMA电路包括PMA发送电路和PMA接收电路,所述PMD电路包括PMD发送电路和PMD接收电路;The chip according to claim 1, wherein the PCS circuit includes a PCS transmitting circuit and a PCS receiving circuit, the PMA circuit includes a PMA transmitting circuit and a PMA receiving circuit, and the PMD circuit includes a PMD transmitting circuit and a PMD receiving circuit; 所述PCS发送电路与所述PMA发送电路耦合,所述PMA发送电路与所述PMD发送电路耦合;The PCS transmitting circuit is coupled to the PMA transmitting circuit, and the PMA transmitting circuit is coupled to the PMD transmitting circuit; 所述PCS接收电路与所述PMA接收电路耦合,所述PMA接收电路与所述PMD接收电路耦合。The PCS receiving circuit is coupled to the PMA receiving circuit, and the PMA receiving circuit is coupled to the PMD receiving circuit. 根据权利要求2所述的芯片,其特征在于,所述第一裸片或所述第二裸片还包括功能电路;The chip according to claim 2, wherein the first die or the second die further comprises a functional circuit; 所述PCS电路通过所述功能电路与所述PMA电路耦合。The PCS circuit is coupled to the PMA circuit through the functional circuit. 根据权利要求3所述的芯片,其特征在于,所述功能电路包括前向纠错FEC电路。The chip according to claim 3, wherein the functional circuit includes a forward error correction (FEC) circuit. 根据权利要求4所述的芯片,其特征在于,所述FEC电路包括FEC发送电路和FEC接收电路;The chip according to claim 4, wherein the FEC circuit comprises an FEC transmitting circuit and an FEC receiving circuit; 所述PCS发送电路通过所述FEC发送电路与所述PMA发送电路耦合;The PCS transmitting circuit is coupled to the PMA transmitting circuit via the FEC transmitting circuit; 所述PCS接收电路通过所述FEC接收电路与所述PMA接收电路耦合。The PCS receiving circuit is coupled to the PMA receiving circuit through the FEC receiving circuit. 根据权利要求5所述的芯片,其特征在于,所述第一裸片或所述第二裸片还包括反馈电路;所述FEC接收电路与所述反馈电路耦合,所述反馈电路与所述PMD接收电路耦合;The chip according to claim 5, wherein the first die or the second die further comprises a feedback circuit; the FEC receiving circuit is coupled to the feedback circuit, and the feedback circuit is coupled to the PMD receiving circuit; 所述FEC接收电路,用于在前向纠错得到的误码率不为0时,通过所述反馈电路向所述PMD接收电路发送误码信息,所述反馈电路为串行接口。The FEC receiving circuit is used to send error information to the PMD receiving circuit through the feedback circuit when the bit error rate obtained by forward error correction is not 0, and the feedback circuit is a serial interface. 根据权利要求2-6任一项所述的芯片,其特征在于,所述第一裸片还包括介质访问控制MAC电路;所述MAC电路与所述PCS电路耦合。The chip according to any one of claims 2 to 6, wherein the first die further comprises a media access control (MAC) circuit; and the MAC circuit is coupled to the PCS circuit. 根据权利要求7所述的芯片,其特征在于,所述MAC电路包括MAC发送电路和MAC接收电路;The chip according to claim 7, wherein the MAC circuit comprises a MAC sending circuit and a MAC receiving circuit; 所述MAC发送电路与所述PCS发送电路耦合;所述MAC接收电路与所述PCS接收电路耦合。The MAC transmitting circuit is coupled to the PCS transmitting circuit; and the MAC receiving circuit is coupled to the PCS receiving circuit. 根据权利要求8所述的芯片,其特征在于,所述第一裸片或所述第二裸片还包括调节电路,所述PMA发送电路还包括缓存器;所述MAC发送电路与所述调节电路耦合,所述调节电路与所述PMA发送电路耦合;The chip according to claim 8, wherein the first die or the second die further comprises a regulating circuit, and the PMA transmitting circuit further comprises a buffer; the MAC transmitting circuit is coupled to the regulating circuit, and the regulating circuit is coupled to the PMA transmitting circuit; 所述缓存器,用于在所述MAC发送电路通过所述PCS发送电路,向所述PMA发送电路发送数据的过程中,存储所述数据;The buffer is used to store the data during the process in which the MAC transmitting circuit sends the data to the PMA transmitting circuit through the PCS transmitting circuit; 所述PMA发送电路,用于在所述缓存器存储的所述数据的数据量大于预设值时,通过所述调节电路控制所述MAC发送电路降低发送数据的带宽。The PMA sending circuit is configured to control the MAC sending circuit to reduce a bandwidth for sending data through the regulating circuit when the amount of the data stored in the buffer is greater than a preset value. 根据权利要求1-9任一项所述的芯片,其特征在于,所述第一裸片还包括第一接口电路,所述第二裸片还包括第二接口电路;The chip according to any one of claims 1 to 9, wherein the first die further comprises a first interface circuit, and the second die further comprises a second interface circuit; 所述第一接口电路和所述第二接口电路耦合,所述第一裸片通过所述第一接口电路和所述第二接口电路与所述第二裸片耦合。The first interface circuit and the second interface circuit are coupled, and the first die is coupled to the second die via the first interface circuit and the second interface circuit. 一种处理装置,其特征在于,所述装置包括印制电路板和如权利要求1至10任一项所述的芯片。A processing device, characterized in that the device comprises a printed circuit board and the chip according to any one of claims 1 to 10. 一种电子设备,其特征在于,所述电子设备包括壳体和如权利要求11所述的处理装置。An electronic device, characterized in that the electronic device comprises a housing and the processing device according to claim 11.
PCT/CN2024/140420 2024-02-06 2024-12-18 Chip, processing apparatus and electronic device Pending WO2025167343A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410174779.2 2024-02-06
CN202410174779.2A CN120449776A (en) 2024-02-06 2024-02-06 Chip, processing device and electronic device

Publications (1)

Publication Number Publication Date
WO2025167343A1 true WO2025167343A1 (en) 2025-08-14

Family

ID=96616855

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/140420 Pending WO2025167343A1 (en) 2024-02-06 2024-12-18 Chip, processing apparatus and electronic device

Country Status (2)

Country Link
CN (1) CN120449776A (en)
WO (1) WO2025167343A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109791928A (en) * 2016-09-22 2019-05-21 高通股份有限公司 Separate type chip solution for bare die to bare die SerDes
CN110995625A (en) * 2019-12-06 2020-04-10 盛科网络(苏州)有限公司 Verification system and verification method of Ethernet interface chip
CN116368481A (en) * 2020-09-28 2023-06-30 赛灵思公司 Multi-die integrated circuit with data processing engine array
CN117331881A (en) * 2023-10-07 2024-01-02 北京微电子技术研究所 A data transmission system suitable for aerospace chiplet interconnection protocols
CN117370264A (en) * 2023-10-18 2024-01-09 太初(无锡)电子科技有限公司 Interconnection system, method, device and medium between bare chips in chip

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109791928A (en) * 2016-09-22 2019-05-21 高通股份有限公司 Separate type chip solution for bare die to bare die SerDes
CN110995625A (en) * 2019-12-06 2020-04-10 盛科网络(苏州)有限公司 Verification system and verification method of Ethernet interface chip
CN116368481A (en) * 2020-09-28 2023-06-30 赛灵思公司 Multi-die integrated circuit with data processing engine array
CN117331881A (en) * 2023-10-07 2024-01-02 北京微电子技术研究所 A data transmission system suitable for aerospace chiplet interconnection protocols
CN117370264A (en) * 2023-10-18 2024-01-09 太初(无锡)电子科技有限公司 Interconnection system, method, device and medium between bare chips in chip

Also Published As

Publication number Publication date
CN120449776A (en) 2025-08-08

Similar Documents

Publication Publication Date Title
US9961006B1 (en) Network switch for transmitting data according to an auto-negotiated data rate
US7920597B2 (en) Method and system for low power idle signal transmission in ethernet networks
US7065075B1 (en) Reduced pin gigabit media independent interface
US8259716B2 (en) Method and system for physical signaling between a higher layer and a PHY to manage energy efficient network devices and/or protocols
US8612629B1 (en) Multi-speed serial interface for media access control and physical layer devices
US7720068B2 (en) Method and system for a multi-rate gigabit media independent interface
US7362797B2 (en) Physical layer device having an analog SERDES pass through mode
US7102995B2 (en) Supporting SDH/SONET APS bridge selector functionality for ethernet
EP2020104B1 (en) Multiple fiber optic gigabit ethernet links channelized over single optical link
CN101465804B (en) A kind of method and system for networking
JPH06284130A (en) Data communication network provided with isochronous capability
JPH07321842A (en) Apparatus for interfacing a packet switching network with a plurality of data terminals, a module for interfacing a plurality of endpoints with a system for exchanging frame relay packets, and a method for interfacing terminals with a system for exchanging data packets.
US20250209019A1 (en) Operating a universal data transport system
WO2025167343A1 (en) Chip, processing apparatus and electronic device
CN100518140C (en) SPI4II interface remote transmission realizing method and apparatus
US8190766B2 (en) Across-device communication protocol
CN119728806B (en) Data transmission system, data receiving method and data transmitting method
US7590135B2 (en) Methods and apparatus to perform security related operations on received signals
US20250211518A1 (en) Hardware-based and efficient forwarding of data
EP3664371B1 (en) Switching method and apparatus
WO2023151452A1 (en) Communication method and communication device
WO2019023824A1 (en) Method and device for bit block stream processing, rate matching and exchange
CN117728893A (en) Method and system for realizing optical fiber interconnection transmission of high-speed serial transceiver based on FPGA
Müller et al. Common Gigabit Ethernet interfaces for HLT and L1-trigger links of LHCb
HK1134602A (en) A method and system for networking

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24923545

Country of ref document: EP

Kind code of ref document: A1