[go: up one dir, main page]

CN114661650A - Communication device, electronic device, and communication method - Google Patents

Communication device, electronic device, and communication method Download PDF

Info

Publication number
CN114661650A
CN114661650A CN202210287379.3A CN202210287379A CN114661650A CN 114661650 A CN114661650 A CN 114661650A CN 202210287379 A CN202210287379 A CN 202210287379A CN 114661650 A CN114661650 A CN 114661650A
Authority
CN
China
Prior art keywords
unit
bus
interface
bus unit
multiplexing control
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
CN202210287379.3A
Other languages
Chinese (zh)
Inventor
秦双双
宋新亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hygon Information Technology Co Ltd
Original Assignee
Hygon Information Technology 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 Hygon Information Technology Co Ltd filed Critical Hygon Information Technology Co Ltd
Priority to CN202210287379.3A priority Critical patent/CN114661650A/en
Publication of CN114661650A publication Critical patent/CN114661650A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Software Systems (AREA)
  • Bus Control (AREA)

Abstract

A communication apparatus, an electronic apparatus, and a communication method. The communication device includes a network layer unit, a link layer unit, and a first multiplexing control unit. The network layer unit is positioned in a network layer and comprises a first interface; the link layer unit is positioned at a data link layer and at least comprises a first bus unit and a second bus unit, wherein the first bus unit is configured to transmit data information of a first protocol type, and the second bus unit is configured to transmit data information of a second protocol type; the first multiplexing control unit is configured to control the first bus unit and the second bus unit to multiplex the first interface, so that the first bus unit and the second bus unit respectively communicate with the network layer unit through the first interface. The communication device can balance bandwidth requirements and effectively improve the bandwidth utilization rate.

Description

通信装置、电子装置和通信方法Communication device, electronic device, and communication method

技术领域technical field

本公开的实施例涉及一种通信装置、电子装置和通信方法。Embodiments of the present disclosure relate to a communication device, an electronic device, and a communication method.

背景技术Background technique

片上系统(System On Chip,SOC)通常是指在单一芯片上实现的数字计算机系统。片上系统中各模块之间通过总线交互,但随着半导体工艺和需求的快速发展,总线的宽度已经成为SOC发展的瓶颈,大大限制了SoC内部通信的速度。上世纪90年代片上网络(Network On Chip,NOC)被提出来解决SOC的架构问题,以实现片上系统中各模块之间通信。System On Chip (SOC) usually refers to a digital computer system implemented on a single chip. The modules in the SoC interact through the bus, but with the rapid development of semiconductor technology and requirements, the width of the bus has become a bottleneck in the development of SOC, which greatly limits the speed of internal communication in the SoC. In the 1990s, Network On Chip (NOC) was proposed to solve the architectural problem of SOC, so as to realize the communication between various modules in the SoC.

发明内容SUMMARY OF THE INVENTION

本公开至少一个实施例提供一种通信装置,包括:网络层单元,位于网络层且包括第一接口;链路层单元,位于数据链路层且至少包括第一总线单元和第二总线单元,第一总线单元配置为传输第一协议类型的数据信息,第二总线单元配置为传输第二协议类型的数据信息;以及第一复用控制单元,配置为控制第一总线单元和第二总线单元复用第一接口,使第一总线单元和第二总线单元分别通过第一接口与网络层单元通信。At least one embodiment of the present disclosure provides a communication device, including: a network layer unit located at the network layer and including a first interface; a link layer unit located at the data link layer and including at least a first bus unit and a second bus unit, a first bus unit configured to transmit data information of a first protocol type, a second bus unit configured to transmit data information of a second protocol type; and a first multiplexing control unit configured to control the first bus unit and the second bus unit The first interface is multiplexed, so that the first bus unit and the second bus unit respectively communicate with the network layer unit through the first interface.

例如,在本公开一实施例提供的通信装置中,第一复用控制单元与第一接口、第一总线单元和第二总线单元耦接,第一复用控制单元配置为:获取第一配置信息;以及根据第一配置信息,从第一总线单元和第二总线单元中选择第一目标总线,并且耦接第一目标总线和第一接口。For example, in the communication device provided by an embodiment of the present disclosure, the first multiplexing control unit is coupled to the first interface, the first bus unit, and the second bus unit, and the first multiplexing control unit is configured to: obtain the first configuration information; and selecting a first target bus from the first bus unit and the second bus unit according to the first configuration information, and coupling the first target bus and the first interface.

例如,在本公开一实施例提供的通信装置中,第一复用控制单元配置为接收来自第一接口的下行数据信息,通过对下行数据信息解析获取第一配置信息。For example, in the communication device provided by an embodiment of the present disclosure, the first multiplexing control unit is configured to receive downlink data information from the first interface, and obtain the first configuration information by parsing the downlink data information.

例如,在本公开一实施例提供的通信装置中,链路层单元还包括第一接口控制器,配置为对第一接口和第一总线单元之间交互的数据信息进行协议转换,第一总线单元通过第一接口控制器与第一复用控制单元耦接。For example, in the communication device provided by an embodiment of the present disclosure, the link layer unit further includes a first interface controller, configured to perform protocol conversion on data information exchanged between the first interface and the first bus unit, and the first bus The unit is coupled to the first multiplexing control unit through the first interface controller.

例如,在本公开一实施例提供的通信装置中,链路层单元还包括:输入输出控制器,配置为控制数据信息的分发,第一总线单元通过输入输出控制器与第一接口控制器耦接。For example, in the communication device provided by an embodiment of the present disclosure, the link layer unit further includes: an input/output controller configured to control the distribution of data information, and the first bus unit is coupled to the first interface controller through the input/output controller catch.

例如,在本公开一实施例提供的通信装置中,链路层单元还包括第三总线单元,网络层单元还包括第二接口,第三总线单元与第二接口耦接。For example, in the communication device provided by an embodiment of the present disclosure, the link layer unit further includes a third bus unit, the network layer unit further includes a second interface, and the third bus unit is coupled to the second interface.

例如,在本公开一实施例提供的通信装置中,第三总线单元配置为传输第一协议类型的数据信息。For example, in the communication device provided by an embodiment of the present disclosure, the third bus unit is configured to transmit data information of the first protocol type.

例如,在本公开一实施例提供的通信装置中,链路层单元还包括:第二接口控制器,与第二接口和输入输出控制器耦接,且配置为对第二接口和第三总线单元之间交互的数据信息进行协议转换,第三总线单元通过输入输出控制器与第二接口控制器耦接。For example, in the communication device provided by an embodiment of the present disclosure, the link layer unit further includes: a second interface controller, coupled to the second interface and the I/O controller, and configured to connect to the second interface and the third bus The data information exchanged between the units is subjected to protocol conversion, and the third bus unit is coupled to the second interface controller through the input and output controller.

例如,在本公开一实施例提供的通信装置中,第一协议类型为高速串行计算机扩展总线标准协议,第二协议类型为片间互连接口协议。For example, in the communication device provided by an embodiment of the present disclosure, the first protocol type is a high-speed serial computer expansion bus standard protocol, and the second protocol type is an inter-chip interconnect interface protocol.

例如,在本公开一实施例提供的通信装置中,还包括:位于物理层的物理层单元,物理层单元包括至少一个物理层接口;以及第二复用控制单元,配置为控制第一总线单元和第二总线单元复用至少一个物理层接口。For example, in a communication device provided by an embodiment of the present disclosure, it further includes: a physical layer unit located at a physical layer, where the physical layer unit includes at least one physical layer interface; and a second multiplexing control unit configured to control the first bus unit Multiplexing at least one physical layer interface with the second bus unit.

例如,在本公开一实施例提供的通信装置中,至少一个物理层接口包括第一物理层接口,第二复用控制单元与第一总线单元、第二总线单元和第一物理层接口耦接,第二复用控制单元配置为:接收第二配置信息;以及根据第二配置信息,从第一总线单元和第二总线单元中选择第二目标总线单元,并且将第二目标总线单元与第一物理层接口耦接。For example, in the communication device provided by an embodiment of the present disclosure, at least one physical layer interface includes a first physical layer interface, and the second multiplexing control unit is coupled to the first bus unit, the second bus unit, and the first physical layer interface , the second multiplexing control unit is configured to: receive the second configuration information; and select the second target bus unit from the first bus unit and the second bus unit according to the second configuration information, and associate the second target bus unit with the first bus unit A physical layer interface is coupled.

例如,在本公开一实施例提供的通信装置中,少一个物理层接口还包括第二物理层接口,链路层单元还包括第三总线单元,第二复用控制单元还与第三总线单元耦接,第二复用控制单元还配置为:根据配置信息,从第一总线单元、第二总线单元和第三总线单元中选择两个目标总线单元,并且将两个目标总线单元分别与第一物理层接口和第二物理层接口耦接。For example, in the communication device provided by an embodiment of the present disclosure, at least one physical layer interface further includes a second physical layer interface, the link layer unit further includes a third bus unit, and the second multiplexing control unit is further connected with the third bus unit coupled, the second multiplexing control unit is further configured to: select two target bus units from the first bus unit, the second bus unit and the third bus unit according to the configuration information, and associate the two target bus units with the first bus unit respectively. A physical layer interface is coupled to the second physical layer interface.

例如,在本公开一实施例提供的通信装置中,至少一个物理层接口每个包括串行器和解串器。For example, in the communication apparatus provided by an embodiment of the present disclosure, each of the at least one physical layer interface includes a serializer and a deserializer.

本公开至少一个实施例提供一种电子装置,该电子装置包括本公开任一实施例提供的通信装置。At least one embodiment of the present disclosure provides an electronic device, where the electronic device includes the communication device provided by any embodiment of the present disclosure.

本公开至少一个实施例提供一种通信装置的通信方法,通信装置包括位于网络层的网络层单元、位于数据链路层的链路层单元和第一复用控制单元,网络层单元包括第一接口,链路层单元包括第一总线单元和第二总线单元,第一总线单元传输第一协议类型的数据信息,第二总线单元传输第二协议类型的数据信息,方法包括:利用第一复用控制单元使第一总线单元和第二总线单元复用第一接口,以使第一总线单元和第二总线单元分别通过第一接口与网络层单元通信。At least one embodiment of the present disclosure provides a communication method for a communication device. The communication device includes a network layer unit located at a network layer, a link layer unit located at a data link layer, and a first multiplexing control unit. The network layer unit includes a first multiplexing control unit. The interface, the link layer unit includes a first bus unit and a second bus unit, the first bus unit transmits data information of a first protocol type, and the second bus unit transmits data information of a second protocol type, the method includes: using the first complex The first bus unit and the second bus unit are multiplexed with the first interface by the control unit, so that the first bus unit and the second bus unit respectively communicate with the network layer unit through the first interface.

例如,在本公开一实施例提供的通信方法中,利用第一复用控制单元使第一总线单元和第二总线单元复用第一接口,包括:获取第一配置信息;以及根据第一配置信息,第一复用控制单元从第一总线单元和第二总线单元中选择第一目标总线,并且耦接第一目标总线和第一接口。For example, in the communication method provided by an embodiment of the present disclosure, using the first multiplexing control unit to multiplex the first interface between the first bus unit and the second bus unit includes: acquiring first configuration information; and according to the first configuration information, the first multiplexing control unit selects the first target bus from the first bus unit and the second bus unit, and is coupled to the first target bus and the first interface.

附图说明Description of drawings

为了更清楚地说明本公开实施例的技术方案,下面将对实施例的附图作简单地介绍,显而易见地,下面描述中的附图仅仅涉及本公开的一些实施例,而非对本公开的限制。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the accompanying drawings of the embodiments will be briefly introduced below. Obviously, the drawings in the following description only relate to some embodiments of the present disclosure, rather than limit the present disclosure. .

图1示出了本公开至少一个实施例提供的一种通信装置的示意性框图;FIG. 1 shows a schematic block diagram of a communication apparatus provided by at least one embodiment of the present disclosure;

图2示出了本公开至少一个实施例提供的另一种通信装置的示意性框图;FIG. 2 shows a schematic block diagram of another communication apparatus provided by at least one embodiment of the present disclosure;

图3示出了图2所示的实施例提供的通信装置形成的数据通路;Fig. 3 shows the data path formed by the communication device provided by the embodiment shown in Fig. 2;

图4示出了图2所示的实施例提供的通信装置形成的另一数据通路;Fig. 4 shows another data path formed by the communication device provided by the embodiment shown in Fig. 2;

图5示出了图2所示的实施例提供的通信装置形成的又一数据通路;Fig. 5 shows another data path formed by the communication device provided by the embodiment shown in Fig. 2;

图6A示出了本公开至少一个实施例提供的通信装置的网络层接口未被复用的示意图;FIG. 6A is a schematic diagram illustrating that the network layer interface of the communication apparatus provided by at least one embodiment of the present disclosure is not multiplexed;

图6B示出了图6A所示的实施例中的通信装置的接口P00和接口P10的带宽需求的示意图;6B shows a schematic diagram of the bandwidth requirements of the interface P00 and the interface P10 of the communication device in the embodiment shown in FIG. 6A;

图6C示出了图2所示的实施例中的通信装置的接口P21被复用后的带宽需求的示意图;以及FIG. 6C shows a schematic diagram of bandwidth requirements after the interface P21 of the communication device in the embodiment shown in FIG. 2 is multiplexed; and

图7为本公开一些实施例提供的一种计算机可读存储介质的示意图。FIG. 7 is a schematic diagram of a computer-readable storage medium provided by some embodiments of the present disclosure.

具体实施方式Detailed ways

为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例的附图,对本公开实施例的技术方案进行清楚、完整地描述。显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于所描述的本公开的实施例,本领域普通技术人员在无需创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present disclosure. Obviously, the described embodiments are some, but not all, embodiments of the present disclosure. Based on the described embodiments of the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present disclosure.

除非另外定义,本公开使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本公开中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。同样,“一个”、“一”或者“该”等类似词语也不表示数量限制,而是表示存在至少一个。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。Unless otherwise defined, technical or scientific terms used in this disclosure shall have the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. As used in this disclosure, "first," "second," and similar terms do not denote any order, quantity, or importance, but are merely used to distinguish the various components. Likewise, words such as "a," "an," or "the" do not denote a limitation of quantity, but rather denote the presence of at least one. "Comprises" or "comprising" and similar words mean that the elements or things appearing before the word encompass the elements or things recited after the word and their equivalents, but do not exclude other elements or things. Words like "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "Down", "Left", "Right", etc. are only used to represent the relative positional relationship, and when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

NOC的诞生基于处理器规模提升的需求,NOC的理论体系,脱胎于系统级互连的理论研究基础。近20年的发展,NOC技术日趋成熟,由于受面积、功耗、片上存储资源、集成技术和引脚数量的限制等因素,NOC需要全面衡量设计时的限制因素。NOC互连借鉴了系统网络的分层协议理念,依据功能主体的不同将整个通信和设计过程划分成多个层次,从而简化关联性,简化设计并提升设计的可重复利用率等等。早期系统网络提出的是OSI的七层协议,随着技术的发展,NOC互连一般采用五层协议,五层协议分别为应用层、传输层、网络层、数据链路层和物理层。The birth of NOC is based on the needs of increasing the scale of processors. The theoretical system of NOC is born out of the theoretical research foundation of system-level interconnection. With the development of nearly 20 years, NOC technology has become more and more mature. Due to factors such as area, power consumption, on-chip storage resources, integration technology, and the number of pins, NOC needs to comprehensively measure the design constraints. NOC interconnection draws on the concept of layered protocol of system network, and divides the entire communication and design process into multiple layers according to the different functional subjects, thereby simplifying the correlation, simplifying the design and improving the reusability of the design, etc. The early system network proposed the seven-layer protocol of OSI. With the development of technology, NOC interconnection generally adopts five-layer protocol, and the five-layer protocol is application layer, transport layer, network layer, data link layer and physical layer.

应用层通常负责需要相互通信的处理器核、缓存、输入/输出(IO)接口、存储控制器等片上部件之间所约定通信内容的行为,例如面向缓存一致性的协议、非一致性协议等。应用层主要通信类型包括控制信息、数据信息和应答信息等。传输层负责报文的分发、通道多路复用、基本传输服务和处理报文分段的发送、接收和重组等。网络层负责数据包在源端到目标端的路由管理、流控管理、存储管理等。数据链路层负责将数据包进一步分成更小的段如帧,进行链路点到点的可靠性传输控制、数据编解码等。物理层负责在物理介质上将相关的比特流在点到点间传输。The application layer is usually responsible for the behavior of the communication content agreed between on-chip components such as processor cores, caches, input/output (IO) interfaces, and storage controllers that need to communicate with each other, such as cache coherency-oriented protocols, non-coherence protocols, etc. . The main communication types of the application layer include control information, data information and response information. The transport layer is responsible for message distribution, channel multiplexing, basic transport services, and handling the sending, receiving, and reassembly of message segments. The network layer is responsible for routing management, flow control management, and storage management of data packets from source to destination. The data link layer is responsible for further dividing the data packet into smaller segments such as frames, and performing link point-to-point reliability transmission control, data encoding and decoding, etc. The physical layer is responsible for the point-to-point transmission of related bit streams over the physical medium.

需要说明的是,在片上网络中,所有这些网络的功能可以由软件、硬件、固件或它们的任意组合来实现的。It should be noted that, in the network-on-chip, the functions of all these networks can be implemented by software, hardware, firmware or any combination thereof.

例如,作为网络层的网络层单元包括多个接口,通过多个接口中的至少部分接口与作为数据链路层的数据链路层单元通信。例如,两个接口分别与数据链路层单元中不同的总线通信,由于不同总线的有效带宽不同,导致这两个接口的带宽需求不同,因此不同接口之间的带宽需求容易不平衡,不利于提高带宽利用率,进而影响NOC性能。For example, the network layer unit as the network layer includes a plurality of interfaces, and communicates with the data link layer unit as the data link layer through at least part of the plurality of interfaces. For example, two interfaces communicate with different buses in the data link layer unit respectively. Due to the different effective bandwidths of different buses, the bandwidth requirements of these two interfaces are different. Therefore, the bandwidth requirements between different interfaces are easily unbalanced, which is not conducive to Improve bandwidth utilization, which in turn affects NOC performance.

本公开至少一个实施例提供了一种通信装置,包括:网络层单元,位于网络层且包括第一接口;链路层单元,位于数据链路层且至少包括第一总线单元和第二总线单元,所述第一总线单元配置为传输第一协议类型的数据信息,所述第二总线单元配置为传输第二协议类型的数据信息;以及第一复用控制单元,配置为控制所述第一总线单元和所述第二总线单元复用所述第一接口,使所述第一总线单元和所述第二总线单元分别通过所述第一接口与所述网络层单元通信。例如,该通信装置例如用于片上系统中的片上网络,由此能够有效地均衡带宽需求以及提高带宽利用率。At least one embodiment of the present disclosure provides a communication device, including: a network layer unit located at the network layer and including a first interface; a link layer unit located at the data link layer and including at least a first bus unit and a second bus unit , the first bus unit is configured to transmit data information of a first protocol type, the second bus unit is configured to transmit data information of a second protocol type; and a first multiplexing control unit is configured to control the first The bus unit and the second bus unit multiplex the first interface, so that the first bus unit and the second bus unit respectively communicate with the network layer unit through the first interface. For example, the communication device is used in, for example, a network-on-chip in a system-on-chip, thereby effectively balancing bandwidth requirements and improving bandwidth utilization.

图1示出了本公开至少一个实施例提供的一种通信装置的示意性框图。FIG. 1 shows a schematic block diagram of a communication apparatus provided by at least one embodiment of the present disclosure.

如图1所示,通信装置100包括网络层单元110、链路层单元120和复用控制单元130,网络层单元110位于网络层,链路层单元120位于数据链路层。例如,通信装置100用于片上网络(NOC)的路由节点,该片上网络例如用于片上系统(芯片)中。As shown in FIG. 1 , the communication apparatus 100 includes a network layer unit 110 , a link layer unit 120 and a multiplexing control unit 130 . The network layer unit 110 is located at the network layer, and the link layer unit 120 is located at the data link layer. For example, the communication device 100 is used as a routing node of a network on chip (NOC) such as in a system on chip (chip).

网络层单元110包括第一接口,该第一接口标注为接口P0。例如,网络层单元110负责数据包从源端到目标端的路由管理、流控管理、存储管理等。The network layer unit 110 includes a first interface, which is denoted as interface P0. For example, the network layer unit 110 is responsible for routing management, flow control management, storage management, etc. of the data packets from the source end to the destination end.

链路层单元120包括多个总线单元,例如至少包括总线单元121和总线单元122。总线单元121配置为传输第一协议类型的数据信息,总线单元122配置为传输第二协议类型的数据信息。总线单元121为本公开中的第一总线单元的示例,总线单元122为本公开中的第二总线单元的示例。The link layer unit 120 includes a plurality of bus units, for example, at least a bus unit 121 and a bus unit 122 . The bus unit 121 is configured to transmit data information of the first protocol type, and the bus unit 122 is configured to transmit data information of the second protocol type. The bus unit 121 is an example of a first bus unit in this disclosure, and the bus unit 122 is an example of a second bus unit in this disclosure.

例如,第一协议类型可以为高速串行计算机扩展总线标准协议(peripheralcomponent interconnect express,PCIE),第二协议类型可以为片间互连接口协议。例如,片间互连接口协议可以是芯片设计者自定义的协议或者是CXL(Compute Express Link)协议等。本公开的实施例对于第一协议类型和第二协议类型的具体示例不做限制。For example, the first protocol type may be a high-speed serial computer expansion bus standard protocol (peripheral component interconnect express, PCIE), and the second protocol type may be an inter-chip interconnect interface protocol. For example, the inter-chip interconnect interface protocol may be a protocol defined by a chip designer or a CXL (Compute Express Link) protocol. The embodiments of the present disclosure do not limit the specific examples of the first protocol type and the second protocol type.

例如,链路层单元120负责将来自网络层的数据包进一步分成更小的段如帧,进行链路点到点的可靠性传输控制、数据编解码等。For example, the link layer unit 120 is responsible for further dividing the data packets from the network layer into smaller segments such as frames, and performing link point-to-point reliability transmission control, data encoding and decoding, and the like.

复用控制单元130为本公开的第一复用控制单元的示例。复用控制单元130配置为控制总线单元121和总线单元122复用接口P0,使总线单元121和总线单元122分别通过接口P0与网络层单元110通信。The multiplexing control unit 130 is an example of the first multiplexing control unit of the present disclosure. The multiplexing control unit 130 is configured to control the bus unit 121 and the bus unit 122 to multiplex the interface P0, so that the bus unit 121 and the bus unit 122 communicate with the network layer unit 110 through the interface P0 respectively.

该通信装置100通过复用控制单元130实现了网络层单元110中的接口P0的复用,便于有效地均衡带宽需求以及提高带宽利用率。例如,网络层单元110还包括第二接口,该第二接口标注为接口P1,若接口P1与多个总线通信,导致接口P1的带宽需求较大,并且接口P0的带宽需求较小时,可以将与接口P1通信的多个总线中的至少一个通过复用控制单元130与接口P0通信,从而均衡各接口之间的带宽需求并且提高带宽利用率。The communication device 100 realizes the multiplexing of the interface P0 in the network layer unit 110 through the multiplexing control unit 130, so as to effectively balance the bandwidth requirements and improve the bandwidth utilization rate. For example, the network layer unit 110 further includes a second interface, which is marked as interface P1. If the interface P1 communicates with multiple buses, the bandwidth requirement of the interface P1 is relatively large, and the bandwidth requirement of the interface P0 is relatively small. At least one of the multiple buses communicating with the interface P1 communicates with the interface P0 through the multiplexing control unit 130, so as to balance the bandwidth requirements among the interfaces and improve the bandwidth utilization.

在本公开的一些实施例中,如图1所示,复用控制单元130与接口P0、总线单元121和总线单元122耦接。例如,复用控制单元130分别通过不同的交互接口(或交互单元)与接口P0、总线单元121和总线单元122耦接。In some embodiments of the present disclosure, as shown in FIG. 1 , the multiplexing control unit 130 is coupled with the interface P0 , the bus unit 121 and the bus unit 122 . For example, the multiplexing control unit 130 is coupled to the interface P0, the bus unit 121 and the bus unit 122 through different interaction interfaces (or interaction units), respectively.

复用控制单元130配置为获取第一配置信息,以及根据第一配置信息,从第一总线单元和第二总线单元中选择第一目标总线,并且耦接第一目标总线和第一接口。第一目标总线可以为第一总线单元或第二总线单元。The multiplexing control unit 130 is configured to obtain the first configuration information, select a first target bus from the first bus unit and the second bus unit according to the first configuration information, and couple the first target bus and the first interface. The first target bus may be the first bus unit or the second bus unit.

在本公开的一些实施例中,例如可以对复用控制单元130进行静态配置,从而复用控制单元130获取第一配置信息。例如,设计人员预先配置复用控制单元130的寄存器(未示出),向寄存器写入的数据可以作为第一配置信息。在片上系统启动时,复用控制单元130根据该寄存器中的数据从第一总线单元和第二总线单元中选择第一目标总线,并且耦接第一目标总线和第一接口,在网络层单元与链路层单元通信过程中,一直由第一目标总线和第一接口通信,不进行动态切换。In some embodiments of the present disclosure, for example, the multiplexing control unit 130 may be statically configured, so that the multiplexing control unit 130 acquires the first configuration information. For example, a designer configures a register (not shown) of the multiplexing control unit 130 in advance, and the data written to the register can be used as the first configuration information. When the system on chip is started, the multiplexing control unit 130 selects the first target bus from the first bus unit and the second bus unit according to the data in the register, and couples the first target bus and the first interface, in the network layer unit During the communication process with the link layer unit, the first target bus and the first interface are always communicated, and no dynamic switching is performed.

例如,响应于寄存器中的数据为1,则选择第一总线单元为第一目标总线,第一总线单元与第一接口连接。响应于寄存器中的数据为0,则选择第二总线单元为第一目标总线,第二总线单元与第一接口连接。例如,当链路层单元120包括更多总线单元时,复用控制单元130的寄存器可以使用更多位(bit)来记录第一配置信息。For example, in response to the data in the register being 1, the first bus unit is selected as the first target bus, and the first bus unit is connected to the first interface. In response to the data in the register being 0, the second bus unit is selected as the first target bus, and the second bus unit is connected to the first interface. For example, when the link layer unit 120 includes more bus units, the register of the multiplexing control unit 130 may use more bits to record the first configuration information.

复用控制单元130耦接第一目标总线和第一接口可以是复用控制单元130将第一接口与第一目标总线所属的协议的MAC层逻辑相连。MAC是媒体访问控制子层,主要负责控制与连接物理链路层的物理介质。例如,第一目标总线为PCIE协议总线,复用控制单元130将第一接口与PCIE协议总线的MAC层逻辑相连。The multiplexing control unit 130 is coupled to the first target bus and the first interface, and the multiplexing control unit 130 may logically connect the first interface to the MAC layer of the protocol to which the first target bus belongs. MAC is the media access control sublayer, which is mainly responsible for controlling and connecting the physical medium of the physical link layer. For example, the first target bus is a PCIE protocol bus, and the multiplexing control unit 130 logically connects the first interface with the MAC layer of the PCIE protocol bus.

在本公开的另一些实施例中,可以对复用控制单元130进行动态配置。例如,复用控制单元130响应于接收来自第一接口的下行数据信息,通过对下行数据信息解析获取第一配置信息,从而复用控制单元130根据该第一配置信息进行配置。In other embodiments of the present disclosure, the multiplexing control unit 130 may be dynamically configured. For example, in response to receiving the downlink data information from the first interface, the multiplexing control unit 130 obtains the first configuration information by parsing the downlink data information, so that the multiplexing control unit 130 performs configuration according to the first configuration information.

例如,复用控制单元130解析下行数据信息从而得到传输下行数据信息的目的总线信息,从而目的总线信息为第一配置信息。例如,目的总线信息包括目的总线的协议类型。例如,若目的总线的协议类型为PCIE协议,则复用控制单元130将接口P0与传输符合PCIE协议的数据的总线耦接。又例如,若目的总线协议类型为片间互连接口协议,则复用控制单元130将接口P0与传输符合片间互连接口协议的数据的总线耦接。For example, the multiplexing control unit 130 analyzes the downlink data information to obtain the destination bus information for transmitting the downlink data information, so that the destination bus information is the first configuration information. For example, the destination bus information includes the protocol type of the destination bus. For example, if the protocol type of the destination bus is the PCIE protocol, the multiplexing control unit 130 couples the interface P0 to the bus that transmits data conforming to the PCIE protocol. For another example, if the type of the destination bus protocol is an inter-chip interconnect interface protocol, the multiplexing control unit 130 couples the interface P0 to a bus that transmits data conforming to the inter-chip interconnect interface protocol.

图2示出了本公开至少一个实施例提供的另一种通信装置的示意性框图。FIG. 2 shows a schematic block diagram of another communication apparatus provided by at least one embodiment of the present disclosure.

如图2所示,该通信装置200中网络层单元210包括接口P21和接口P22,接口P21为本公开中第一接口的另一示例,接口P22为本公开中第二接口的另一示例。链路层单元220包括总线单元221和总线单元222,总线单元221为本公开第一总线单元的另一示例,总线222为本公开第二总线单元的另一示例。总线单元221与上文描述的总线单元121类似,总线单元222与上文描述的总线单元122类似。As shown in FIG. 2 , the network layer unit 210 in the communication device 200 includes an interface P21 and an interface P22, the interface P21 is another example of the first interface in the disclosure, and the interface P22 is another example of the second interface in the disclosure. The link layer unit 220 includes a bus unit 221 and a bus unit 222. The bus unit 221 is another example of the first bus unit of the present disclosure, and the bus 222 is another example of the second bus unit of the present disclosure. The bus unit 221 is similar to the bus unit 121 described above, and the bus unit 222 is similar to the bus unit 122 described above.

如图2所示,链路层单元220还可以包括第三总线单元,例如总线单元223,总线单元223与接口P22耦接。在该实施例中,总线单元221配置为传输PCIE协议的数据信息,也即,总线单元221为PCIE协议总线,总线单元222配置为传输片间互连接口协议的数据信息,即总线单元222为片间互连接口协议总线。As shown in FIG. 2 , the link layer unit 220 may further include a third bus unit, such as a bus unit 223, and the bus unit 223 is coupled to the interface P22. In this embodiment, the bus unit 221 is configured to transmit data information of the PCIE protocol, that is, the bus unit 221 is a PCIE protocol bus, and the bus unit 222 is configured to transmit data information of the inter-chip interconnect interface protocol, that is, the bus unit 222 is a Inter-chip interconnect interface protocol bus.

例如,总线单元223配置为传输第一协议类型的数据信息。在该实施例中,第一协议类型为PCIE协议,总线单元223为PCIE协议总线。For example, the bus unit 223 is configured to transmit data information of the first protocol type. In this embodiment, the first protocol type is a PCIE protocol, and the bus unit 223 is a PCIE protocol bus.

如图2所示,链路层单元220除包括总线单元221、总线单元222和总线单元223之外,还可以包括第一接口控制器124,第一接口控制器例如为NOC接口控制器。As shown in FIG. 2 , in addition to the bus unit 221 , the bus unit 222 and the bus unit 223 , the link layer unit 220 may further include a first interface controller 124 , such as a NOC interface controller.

第一接口控制器124配置为对第一接口和第一总线单元之间交互的数据信息进行协议转换。例如,总线单元221通过第一接口控制器124与复用控制单元230耦接。例如,总线单元221传输的数据信息为符合PCIE协议的数据,第一接口控制器124将符合PCIE协议的数据转换为接口P21能够识别的数据。The first interface controller 124 is configured to perform protocol conversion on the data information exchanged between the first interface and the first bus unit. For example, the bus unit 221 is coupled to the multiplexing control unit 230 through the first interface controller 124 . For example, the data information transmitted by the bus unit 221 is data conforming to the PCIE protocol, and the first interface controller 124 converts the data conforming to the PCIE protocol into data that can be recognized by the interface P21.

如图2所示,链路层单元220还可以进一步包括输入输出控制器125。输入输出控制器125配置为控制数据信息的分发,总线单元221通过输入输出控制器125与接口控制器124耦接。As shown in FIG. 2 , the link layer unit 220 may further include an input and output controller 125 . The I/O controller 125 is configured to control the distribution of data information, and the bus unit 221 is coupled to the interface controller 124 through the I/O controller 125 .

例如,输入输出控制器125负责将来自第一接口控制器124的数据分发到总线单元221和总线单元223,并且负责将来自总线单元221和总线单元223的数据分发到不同的接口控制器。For example, input output controller 125 is responsible for distributing data from first interface controller 124 to bus unit 221 and bus unit 223, and for distributing data from bus unit 221 and bus unit 223 to different interface controllers.

如图2所示,链路层单元120还可以进一步包括第二接口控制器126。第二接口控制器例如是NOC接口控制器。第二接口控制器126与接口P1和输入输出控制器125耦接,且配置为对接口P1和总线单元223之间交互的数据信息进行协议转换,总线单元223通过输入输出控制器125与第二接口控制器耦接。As shown in FIG. 2 , the link layer unit 120 may further include a second interface controller 126 . The second interface controller is, for example, a NOC interface controller. The second interface controller 126 is coupled to the interface P1 and the I/O controller 125, and is configured to perform protocol conversion on the data information exchanged between the interface P1 and the bus unit 223. The bus unit 223 communicates with the second interface P1 through the I/O controller 125. The interface controller is coupled.

如图2所示,例如,总线单元221和总线单元223均为PCIE协议总线,总线单元222为片间互连接口协议总线。目前,x16 PCIE5.0的实际有效带宽为57.6GBps,x16片间互连接口协议的实际有效带宽为45GBps。x16表示总线的通道数量。若两个PCIE协议总线均与接口P1耦接,则导致接口P1的带宽需求为115.2GBps,因此网络层单元110接口的带宽需求不平衡,不利于带宽利用率的提高,进而影响了NOC性能。As shown in FIG. 2 , for example, the bus unit 221 and the bus unit 223 are both PCIE protocol buses, and the bus unit 222 is an inter-chip interconnection interface protocol bus. At present, the actual effective bandwidth of x16 PCIE5.0 is 57.6GBps, and the actual effective bandwidth of the x16 inter-chip interconnect interface protocol is 45GBps. x16 represents the number of lanes of the bus. If both PCIE protocol buses are coupled to the interface P1, the bandwidth requirement of the interface P1 is 115.2 GBps. Therefore, the bandwidth requirement of the interface of the network layer unit 110 is unbalanced, which is not conducive to the improvement of the bandwidth utilization rate, thereby affecting the NOC performance.

在本公开至少一实施例提供的通信装置中,增加了复用控制单元(例如,图1中的复用控制单元130和图2中的复用控制单元230),复用控制单元130可以使得接口P0被PCIE协议总线和片间互连接口协议总线复用,复用控制单元230可以使得接口P21被PCIE协议总线和片间互连接口协议总线复用。因此当接口P1的带宽需求较高时,可以将多个PCIE协议总线中的部分PCIE协议总线通过复用控制单元130与接口P0耦接,当接口P22的带宽需求较高时,可以将多个PCIE协议总线中的部分PCIE协议总线通过复用控制单元230与接口P21耦接,从而平衡带宽需求,提高带宽利用率。In the communication device provided by at least one embodiment of the present disclosure, a multiplexing control unit (for example, the multiplexing control unit 130 in FIG. 1 and the multiplexing control unit 230 in FIG. 2 ) is added, and the multiplexing control unit 130 can make The interface P0 is multiplexed by the PCIE protocol bus and the inter-chip interconnect interface protocol bus, and the multiplexing control unit 230 can make the interface P21 multiplexed by the PCIE protocol bus and the inter-chip interconnect interface protocol bus. Therefore, when the bandwidth requirement of the interface P1 is relatively high, part of the PCIE protocol bus in the multiple PCIE protocol buses can be coupled to the interface P0 through the multiplexing control unit 130; when the bandwidth requirement of the interface P22 is relatively high, multiple PCIE protocol buses can be coupled Part of the PCIE protocol bus in the PCIE protocol bus is coupled to the interface P21 through the multiplexing control unit 230, so as to balance the bandwidth requirements and improve the bandwidth utilization rate.

如图2所示,将与片间互连接口协议总线耦接的接口P21复用为与PCIE协议总线通信的接口,从而使得总线单元221通过输入输出控制器125和第一接口控制器124耦接复用控制单元230,从而与接口P21耦接,并且总线单元223通过输入输出控制器125和第二接口控制器126耦接接口P22,并且从而降低接口P22的带宽需求,以均衡带宽需求。As shown in FIG. 2 , the interface P21 coupled to the inter-chip interconnection interface protocol bus is multiplexed as an interface that communicates with the PCIE protocol bus, so that the bus unit 221 is coupled to the first interface controller 124 through the I/O controller 125 The multiplexing control unit 230 is coupled to the interface P21, and the bus unit 223 is coupled to the interface P22 through the I/O controller 125 and the second interface controller 126, thereby reducing the bandwidth requirement of the interface P22 to balance the bandwidth requirement.

需要理解的是,上述以与PCIE协议总线通信的接口P22的带宽需求较高,与片间互连接口协议总线通信的接口P21的带宽需求较低为例,来说明本公开至少一个实施例提供的通信装置,但是这对本公开不具有限定作为,本公开可以应用于任何带宽需求不平衡的场景。例如,若与片间互连接口协议总线通信的接口P21的带宽需求较高,与PCIE协议总线通信的接口P22的带宽需求较低,则可以将接口P22复用为与PCIE协议总线通信的接口和与片上互连接口协议总线通信的接口。It should be understood that the above-mentioned interface P22 that communicates with the PCIE protocol bus has a relatively high bandwidth requirement, and the interface P21 that communicates with the inter-chip interconnection interface protocol bus has a relatively low bandwidth requirement as an example to illustrate that at least one embodiment of the present disclosure provides. However, this does not limit the present disclosure, and the present disclosure can be applied to any scenario with unbalanced bandwidth requirements. For example, if the bandwidth requirement of the interface P21 that communicates with the inter-chip interconnection interface protocol bus is relatively high, and the bandwidth requirement of the interface P22 that communicates with the PCIE protocol bus is relatively low, the interface P22 can be multiplexed as an interface that communicates with the PCIE protocol bus. and interface to communicate with the on-chip interconnect interface protocol bus.

当然,本公开至少一实施例中的第一总线单元和第二总线单元也不限于PCIE协议总线和片间互连接口协议总线,也可以是其他类型的总线,例如可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或者加速图形接口(AcceleratedGraphics Port,AGP)总线等。Of course, the first bus unit and the second bus unit in at least one embodiment of the present disclosure are not limited to the PCIE protocol bus and the inter-chip interconnection interface protocol bus, and may also be other types of buses, such as the interconnection of peripheral components. Standard (Peripheral Component Interconnect, PCI) bus or Accelerated Graphics Port (Accelerated Graphics Port, AGP) bus and the like.

在本公开的另一些实施例中,通信装置还可以包括位于物理层的物理层单元和第二复用控制单元。物理层单元包括至少一个物理层接口,以及第二复用控制单元配置为控制第一总线单元和第二总线单元复用至少一个物理层接口。In other embodiments of the present disclosure, the communication apparatus may further include a physical layer unit located at the physical layer and a second multiplexing control unit. The physical layer unit includes at least one physical layer interface, and the second multiplexing control unit is configured to control the first bus unit and the second bus unit to multiplex the at least one physical layer interface.

如图2所示,通信装置200还可以包括物理层单元150和复用控制单元140。复用控制单元140为本公开的第二复用控制单元的示例。如图2所示,链路层220还可以包括物理编码子层(Physical Coding Sub-layer,PCS)。PCS与各个协议类型的总线单元和复用控制单元140通信。As shown in FIG. 2 , the communication apparatus 200 may further include a physical layer unit 150 and a multiplexing control unit 140 . The multiplexing control unit 140 is an example of the second multiplexing control unit of the present disclosure. As shown in FIG. 2 , the link layer 220 may further include a physical coding sub-layer (Physical Coding Sub-layer, PCS). The PCS communicates with the bus unit and multiplexing control unit 140 for each protocol type.

在本公开的一些实施例中,物理层单元包括至少一个物理层接口,每个物理层接口包括串行器和解串器。In some embodiments of the present disclosure, the physical layer unit includes at least one physical layer interface, each physical layer interface including a serializer and a deserializer.

例如,物理层单元包括第一物理层接口。第一物理层接口,例如为图2中的串行器和解串器(SerDes)151。如图2所示,第二复用控制单元(例如,复用控制单元140)与总线单元221、总线单元222和第一物理层接口耦接(例如,串行器和解串器151)。For example, the physical layer unit includes a first physical layer interface. The first physical layer interface is, for example, the serializer and deserializer (SerDes) 151 in FIG. 2 . As shown in FIG. 2, a second multiplexing control unit (eg, multiplexing control unit 140) is coupled with bus unit 221, bus unit 222 and the first physical layer interface (eg, serializer and deserializer 151).

又例如,物理层单元除包括第一物理层接口之外,还包括第二物理层接口。该第二物理层接口例如为图2中的串行器和解串器(SerDes)152。For another example, in addition to the first physical layer interface, the physical layer unit further includes a second physical layer interface. The second physical layer interface is, for example, the serializer and deserializer (SerDes) 152 in FIG. 2 .

虽然图2示出了物理层单元150包括两个串行器和解串器,即两个物理层接口,但是并不意味着本公开实施例提供的通信装置中物理层接口的数量只能是2,在本公开至少一实施例提供的通信装置中,物理层接口的数量可以是大于等于1中的任何数量,例如通信装置包括1个物理层接口或者多个物理层接口。Although FIG. 2 shows that the physical layer unit 150 includes two serializers and deserializers, that is, two physical layer interfaces, it does not mean that the number of physical layer interfaces in the communication device provided by the embodiment of the present disclosure can only be two , in the communication device provided by at least one embodiment of the present disclosure, the number of physical layer interfaces may be any number greater than or equal to 1, for example, the communication device includes one physical layer interface or multiple physical layer interfaces.

在本公开的一些实施例中,同一个物理层接口可以被第一总线单元和第二总线单元复用。例如,串行器和解串器151可以被PCIE协议总线和片间互连接口协议总线复用,串行器和解串器152也可以被PCIE协议总线和片间互连接口协议总线复用,也即,串行器和解串器151可以作为PCIE协议总线的物理层接口也可以作为片间互连接口协议总线的物理层接口,串行器和解串器152可以作为片间互连接口协议总线的物理层接口也可以作为PCIE协议总线的物理层接口。In some embodiments of the present disclosure, the same physical layer interface may be multiplexed by the first bus unit and the second bus unit. For example, the serializer and deserializer 151 can be multiplexed by the PCIE protocol bus and the inter-chip interconnect interface protocol bus, and the serializer and deserializer 152 can also be multiplexed by the PCIE protocol bus and the inter-chip interconnect interface protocol bus, or That is, the serializer and deserializer 151 can be used as the physical layer interface of the PCIE protocol bus or the physical layer interface of the inter-chip interconnect interface protocol bus, and the serializer and deserializer 152 can be used as the inter-chip interconnect interface protocol bus. The physical layer interface can also be used as the physical layer interface of the PCIE protocol bus.

物理层复用可以使设计人员在通信装置中灵活集成多种协议和电气规格,灵活满足通信装置不同配置下的不同需求,物理层应用于多种接口协议的链路层,能够最大限度地利用物理层资源,当该通信装置用于片上系统中的片上网络时达到节省片上系统的面积和功耗的目的。Physical layer multiplexing allows designers to flexibly integrate multiple protocols and electrical specifications in communication devices, and flexibly meet different requirements under different configurations of communication devices. The physical layer is applied to the link layer of multiple interface protocols, which can maximize the use of Physical layer resources, when the communication device is used for the network-on-chip in the system-on-chip, the purpose of saving the area and power consumption of the system-on-chip is achieved.

复用控制单元140配置为接收第二配置信息,以及根据第二配置信息,从第一总线单元和第二总线单元中选择第二目标总线单元,并且将第二目标总线单元与第一物理层接口耦接。The multiplexing control unit 140 is configured to receive the second configuration information, and select a second target bus unit from the first bus unit and the second bus unit according to the second configuration information, and associate the second target bus unit with the first physical layer interface coupling.

第二配置信息可以是静态配置得到的也可以是动态配置得到的,类似于上文描述的第一配置信息,在此不再赘述。The second configuration information may be obtained by static configuration or obtained by dynamic configuration, which is similar to the first configuration information described above, and will not be repeated here.

例如,第二配置信息指示串行器和解串器151与总线单元121耦接,则第二目标总线单元为总线单元221。For example, if the second configuration information indicates that the serializer and deserializer 151 are coupled to the bus unit 121 , the second target bus unit is the bus unit 221 .

又例如,第二配置信息指示串行器和解串器151与总线单元(即,片间互连接口协议总线)222耦接,则第二目标总线单元为总线单元222。For another example, if the second configuration information indicates that the serializer and deserializer 151 is coupled to the bus unit (ie, the inter-chip interconnect interface protocol bus) 222 , the second target bus unit is the bus unit 222 .

链路层单元220还包括第三总线单元,例如总线单元223,总线单元223例如为PCIE协议总线。复用控制单元140还与总线单元223耦接,复用控制单元140还配置为根据配置信息,从总线单元221、总线单元222和总线单元223中选择两个目标总线单元,并且将两个目标总线单元分别与第一物理层接口和第二物理层接口耦接。The link layer unit 220 further includes a third bus unit, such as a bus unit 223, and the bus unit 223 is, for example, a PCIE protocol bus. The multiplexing control unit 140 is also coupled to the bus unit 223, and the multiplexing control unit 140 is further configured to select two target bus units from the bus unit 221, the bus unit 222, and the bus unit 223 according to the configuration information, and combine the two target bus units. The bus units are coupled to the first physical layer interface and the second physical layer interface, respectively.

例如,若配置信息指示串行器和解串器151与总线单元221耦接,串行器和解串器152与总线单元222耦接,则复用控制单元140将总线单元221与串行器和解串器151耦接,并且将总线单元222与串行器和解串器152耦接,使得串行器和解串器151作为总线单元221的物理层接口,串行器和解串器152作为总线单元222的物理层接口。For example, if the configuration information indicates that the serializer and deserializer 151 is coupled with the bus unit 221 and the serializer and deserializer 152 is coupled with the bus unit 222, the multiplexing control unit 140 couples the bus unit 221 with the serializer and deserializer The serializer 151 is coupled, and the bus unit 222 is coupled to the serializer and deserializer 152, so that the serializer and deserializer 151 serve as the physical layer interface of the bus unit 221, and the serializer and deserializer 152 serve as the bus unit 222. Physical layer interface.

下文结合图3~5说明对复用控制单元130和复用控制单元140进行配置而形成的多种数据通路。需要理解的是图3~5仅为对通信装置200的复用控制单元130和复用控制单元140进行配置所形成的数据通路的示例,本领域技术人员可以对复用控制单元130和/或复用控制单元140进行配置而得到其他不同于图3~5所示的数据通路。The following describes various data paths formed by configuring the multiplexing control unit 130 and the multiplexing control unit 140 with reference to FIGS. 3 to 5 . It should be understood that FIGS. 3 to 5 are only examples of data paths formed by configuring the multiplexing control unit 130 and the multiplexing control unit 140 of the communication device 200. Those skilled in the art may The multiplexing control unit 140 is configured to obtain other data paths different from those shown in FIGS. 3-5.

图3示出了图2所示的实施例提供的通信装置形成的数据通路。FIG. 3 shows a data path formed by the communication device provided by the embodiment shown in FIG. 2 .

如图3所示,例如,对复用控制单元140进行静态配置或者动态配置之后,复用控制单元140将串行器和解串器152耦接总线单元222(即,片间互连接口协议总线),并且将串行器和解串器151耦接总线单元223(例如,PCIE协议总线),从而串行器和解串器152作为总线单元222(例如,片间互连接口协议总线)的物理层接口,串行器和解串器151作为总线单元223(即,PCIE协议总线)的物理层接口。As shown in FIG. 3 , for example, after the multiplexing control unit 140 is statically or dynamically configured, the multiplexing control unit 140 couples the serializer and deserializer 152 to the bus unit 222 (ie, the inter-chip interconnect interface protocol bus). ), and couples the serializer and deserializer 151 to the bus unit 223 (eg, a PCIE protocol bus) so that the serializer and deserializer 152 serve as the physical layer of the bus unit 222 (eg, an inter-chip interconnect interface protocol bus) The interface, the serializer and deserializer 151 acts as the physical layer interface of the bus unit 223 (ie, the PCIE protocol bus).

接口P21被总线单元222和总线单元221(例如,PCIE协议总线)复用。如图3所示,例如,对复用控制单元230进行静态配置或者动态配置之后,接口P21与总线单元222耦接,使得接口P21与总线单元222通信。The interface P21 is multiplexed by the bus unit 222 and the bus unit 221 (eg, a PCIE protocol bus). As shown in FIG. 3 , for example, after the multiplexing control unit 230 is statically configured or dynamically configured, the interface P21 is coupled to the bus unit 222 , so that the interface P21 communicates with the bus unit 222 .

如图3所示,由于复用控制单元140使得串行器和解串器152耦接总线单元222(即,片间互连接口协议总线),复用控制单元230使得接口P0耦接总线单元222,因此形成串行器和解串器152、复用控制单元140、总线单元222、复用控制单元230、接口P21之间的数据通路A。As shown in FIG. 3 , since the multiplexing control unit 140 couples the serializer and deserializer 152 to the bus unit 222 (ie, the inter-chip interconnect interface protocol bus), the multiplexing control unit 230 couples the interface P0 to the bus unit 222 , thus forming a data path A between the serializer and deserializer 152, the multiplexing control unit 140, the bus unit 222, the multiplexing control unit 230, and the interface P21.

如图3所示,由于复用控制单元140使得串行器和解串器151耦接总线单元223(即,PCIE协议总线),总线单元223耦接接口P22,因此形成串行器和解串器151、复用控制单元140、总线单元223、输入输出控制器125、第二接口控制器126以及接口P22之间的数据通路B。As shown in FIG. 3 , since the multiplexing control unit 140 enables the serializer and deserializer 151 to be coupled to the bus unit 223 (ie, the PCIE protocol bus), the bus unit 223 is coupled to the interface P22 , thus forming the serializer and deserializer 151 , the multiplexing control unit 140 , the bus unit 223 , the I/O controller 125 , the second interface controller 126 , and the data path B between the interface P22 .

图4示出了图2所示的实施例提供的通信装置形成的另一数据通路。FIG. 4 shows another data path formed by the communication device provided by the embodiment shown in FIG. 2 .

如图4所示,例如,对复用控制单元140进行静态配置或者动态配置之后,复用控制单元140将串行器和解串器151耦接总线单元222(即,片间互连接口协议总线),并且将串行器和解串器152耦接总线单元223(即,PCIE协议总线),从而串行器和解串器151作为总线单元222(即,片间互连接口协议总线)的物理层接口,串行器和解串器152作为总线单元223(即,PCIE协议总线)的物理层接口。As shown in FIG. 4 , for example, after the multiplexing control unit 140 is statically configured or dynamically configured, the multiplexing control unit 140 couples the serializer and the deserializer 151 to the bus unit 222 (ie, the inter-chip interconnect interface protocol bus). ), and couples the serializer and deserializer 152 to the bus unit 223 (ie, the PCIE protocol bus), so that the serializer and deserializer 151 serve as the physical layer of the bus unit 222 (ie, the inter-chip interconnect interface protocol bus) The interface, the serializer and deserializer 152 acts as a physical layer interface to the bus unit 223 (ie, the PCIE protocol bus).

接口P21被总线单元222和总线单元221(例如,PCIE协议总线)复用。如图4所示,例如,对复用控制单元230进行静态配置或者动态配置之后,接口P21与总线单元222耦接,使得接口P21与总线单元222通信。The interface P21 is multiplexed by the bus unit 222 and the bus unit 221 (eg, a PCIE protocol bus). As shown in FIG. 4 , for example, after the multiplexing control unit 230 is statically configured or dynamically configured, the interface P21 is coupled to the bus unit 222 , so that the interface P21 communicates with the bus unit 222 .

如图4所示,由于复用控制单元140使得串行器和解串器151耦接总线单元222(即,片间互连接口协议总线),复用控制单元230使得接口P21耦接总线单元222,因此形成串行器和解串器151、复用控制单元140、总线单元222、复用控制单元230、接口P21之间的数据通路C。As shown in FIG. 4 , since the multiplexing control unit 140 couples the serializer and the deserializer 151 to the bus unit 222 (ie, the inter-chip interconnect interface protocol bus), the multiplexing control unit 230 couples the interface P21 to the bus unit 222 , thus forming a data path C between the serializer and deserializer 151, the multiplexing control unit 140, the bus unit 222, the multiplexing control unit 230, and the interface P21.

如图4所示,由于复用控制单元140使得串行器和解串器152耦接总线单元223(即,PCIE协议总线),总线单元223耦接接口P22,因此形成串行器和解串器152、复用控制单元140、总线单元223、输入输出控制器125、第二接口控制器126以及接口P22之间的数据通路D。As shown in FIG. 4 , since the multiplexing control unit 140 enables the serializer and deserializer 152 to be coupled to the bus unit 223 (ie, the PCIE protocol bus), the bus unit 223 is coupled to the interface P22 , thus forming the serializer and deserializer 152 , the multiplexing control unit 140, the bus unit 223, the input and output controller 125, the second interface controller 126 and the data path D between the interface P22.

图5示出了图2所示的实施例提供的通信装置形成的又一数据通路。FIG. 5 shows another data path formed by the communication device provided by the embodiment shown in FIG. 2 .

如图5所示,例如,对复用控制单元140进行静态配置或者动态配置之后,复用控制单元140将串行器和解串器151耦接总线单元221(即,PCIE协议总线),并且将串行器和解串器152耦接总线单元223(即,PCIE协议总线),从而串行器和解串器151作为总线单元221(即,PCIE协议总线)的物理层接口,串行器和解串器152作为总线单元223(即,PCIE协议总线)的物理层接口。As shown in FIG. 5 , for example, after the multiplexing control unit 140 is statically configured or dynamically configured, the multiplexing control unit 140 couples the serializer and deserializer 151 to the bus unit 221 (ie, the PCIE protocol bus), and connects The serializer and deserializer 152 is coupled to the bus unit 223 (ie, the PCIE protocol bus), so that the serializer and deserializer 151 acts as the physical layer interface, serializer and deserializer of the bus unit 221 (ie, the PCIE protocol bus). 152 serves as the physical layer interface of the bus unit 223 (ie, the PCIE protocol bus).

接口P21被总线单元222和总线单元221(例如,PCIE协议总线)复用。如图5所示,例如,对复用控制单元230进行静态配置或者动态配置之后,接口P21与总线单元221耦接,使得接口P21与总线单元221通信。The interface P21 is multiplexed by the bus unit 222 and the bus unit 221 (eg, a PCIE protocol bus). As shown in FIG. 5 , for example, after the multiplexing control unit 230 is statically configured or dynamically configured, the interface P21 is coupled to the bus unit 221 , so that the interface P21 communicates with the bus unit 221 .

如图5所示,由于复用控制单元140使得串行器和解串器151耦接总线单元221(即,PCIE协议总线),复用控制单元230使得接口P21耦接总线单元221,因此形成串行器和解串器151、复用控制单元140、总线单元221、复用控制单元230、接口P21之间的数据通路E。As shown in FIG. 5 , since the multiplexing control unit 140 enables the serializer and the deserializer 151 to be coupled to the bus unit 221 (ie, the PCIE protocol bus), and the multiplexing control unit 230 enables the interface P21 to be coupled to the bus unit 221, thus forming a serial A data path E between the serializer and deserializer 151, the multiplexing control unit 140, the bus unit 221, the multiplexing control unit 230, and the interface P21.

如图5所示,由于复用控制单元140使得串行器和解串器152耦接总线单元223(即,PCIE协议总线),总线单元223耦接接口P22,因此形成串行器和解串器152、复用控制单元140、总线单元223、输入输出控制器125、第二接口控制器126以及接口P22之间的数据通路F。As shown in FIG. 5 , since the multiplexing control unit 140 enables the serializer and deserializer 152 to be coupled to the bus unit 223 (ie, the PCIE protocol bus), the bus unit 223 is coupled to the interface P22 , thus forming the serializer and deserializer 152 , the multiplexing control unit 140, the bus unit 223, the input and output controller 125, the second interface controller 126, and the data path F between the interface P22.

需要说明书是,在本公开的实施例中,数据通路均为网络层单元的接口与物理层接口之间进行数据交互的双向路径,并非单向路径,即,数据可以通过上行路径由物理层接口传输到网络层单元的接口,也可以通过下行路径由网络层单元的接口传输的物理层接口。例如,数据通路A的上行路径为接口P21-复用控制单元230-片间互连接口协议总线-复用控制单元140-串行器和解串器152,下行路径为串行器和解串器152-复用控制单元140-片间互连接口协议总线-复用控制单元230-接口P21。It should be noted that, in the embodiments of the present disclosure, the data paths are all bidirectional paths for data interaction between the interface of the network layer unit and the physical layer interface, rather than a unidirectional path, that is, data can be transmitted by the physical layer interface through the uplink path. The interface that is transmitted to the network layer unit, and the physical layer interface that can also be transmitted by the interface of the network layer unit through the downstream path. For example, the upstream path of data path A is interface P21-multiplexing control unit 230-inter-chip interconnect interface protocol bus-multiplexing control unit 140-serializer and deserializer 152, and the downstream path is serializer and deserializer 152 - Multiplexing Control Unit 140 - Inter-Chip Interconnect Interface Protocol Bus - Multiplexing Control Unit 230 - Interface P21.

本公开的至少一个实施例对片上网络的网络层的接口进行复用,而不仅仅在复用物理层,硬件开销代价小,有利于均衡带宽需求、有效提高带宽利用率。本公开的至少一个实施例能够满足各种配置下的带宽需求,只需要增加少量电路,对片上系统面积几乎没有影响。At least one embodiment of the present disclosure multiplexes the interfaces of the network layer of the network-on-chip, not only the physical layer, with low hardware overhead, which is beneficial to balancing bandwidth requirements and effectively improving bandwidth utilization. At least one embodiment of the present disclosure can meet bandwidth requirements in various configurations, only need to add a few circuits, and has little impact on the system-on-chip area.

随着服务器芯片规模越来越大,对IO的需求也日益增加。同一颗芯片会有多种不同配置,以满足各种应用场景下的不同需求。不同配置下,对IO的需求也不尽相同。随着IO数量越来越多,IO速度越来越高,物理层的尺寸对SOC面积的影响越来越大,需要考虑在不同配置下进行物理层的复用,以避免PHY的浪费。这种在物理层复用的方法,带宽需求不均衡,不利于带宽利用率的提高,影响NOC性能。As server chips become larger and larger, the demand for IO is also increasing. The same chip will have a variety of different configurations to meet different needs in various application scenarios. Different configurations have different IO requirements. With the increasing number of IOs and the higher IO speed, the size of the physical layer has an increasing impact on the SOC area. It is necessary to consider the multiplexing of the physical layer under different configurations to avoid PHY waste. This method of multiplexing at the physical layer has unbalanced bandwidth requirements, which is not conducive to the improvement of bandwidth utilization and affects NOC performance.

图6A示出了本公开至少一个实施例提供的通信装置的网络层接口未被复用的示意图。例如,图6A的实施例基于图2所示的实施例。FIG. 6A is a schematic diagram illustrating that the network layer interfaces of the communication apparatus provided by at least one embodiment of the present disclosure are not multiplexed. For example, the embodiment of FIG. 6A is based on the embodiment shown in FIG. 2 .

如图6A所示,例如,通过复用控制单元610的配置,使得串行器和解串器651作为片间互连接口协议总线的物理层接口,串行器和解串器652作为PCIE协议总线621和PCIE协议总线623的物理层接口。网络层单元中的每个接口均未实现复用,接口P00用于与片间互连接口协议总线通信,接口P10用于与PCIE协议总线通信。由于接口P10与PCIE协议总线621和PCIE协议总线623通信,以及x16PCIE5.0的实际有效带宽为57.6GBps,则接口P10的带宽需求为115.2GBps,而x16片间互连接口协议的实际有效带宽为45GBps,因此接口P00的实际有效带宽为45GBps。As shown in FIG. 6A, for example, through the configuration of the multiplexing control unit 610, the serializer and the deserializer 651 are used as the physical layer interface of the inter-chip interconnect interface protocol bus, and the serializer and the deserializer 652 are used as the PCIE protocol bus 621. The physical layer interface with the PCIE protocol bus 623. Each interface in the network layer unit is not multiplexed. The interface P00 is used to communicate with the inter-chip interconnection interface protocol bus, and the interface P10 is used to communicate with the PCIE protocol bus. Since the interface P10 communicates with the PCIE protocol bus 621 and the PCIE protocol bus 623, and the actual effective bandwidth of the x16PCIE5.0 is 57.6GBps, the bandwidth requirement of the interface P10 is 115.2GBps, and the actual effective bandwidth of the x16 inter-chip interconnect interface protocol is 45GBps, so the actual effective bandwidth of interface P00 is 45GBps.

图6B示出了图6A所示的实施例中的通信装置的接口P00和接口P10的带宽需求的示意图。如图6B所示,接口P10的带宽需求为115.2GBps,以及接口P00的实际有效带宽为45GBps。因此,接口P10和接口P00的带宽需求不平衡,导致带宽资源的浪费。FIG. 6B shows a schematic diagram of bandwidth requirements of the interface P00 and the interface P10 of the communication device in the embodiment shown in FIG. 6A . As shown in FIG. 6B , the bandwidth requirement of the interface P10 is 115.2 GBps, and the actual effective bandwidth of the interface P00 is 45 GBps. Therefore, the bandwidth requirements of the interface P10 and the interface P00 are unbalanced, resulting in a waste of bandwidth resources.

图6C示出了图2所示的实施例中的通信装置的接口P21被复用后的带宽需求的示意图。如图6C所示,接口P21和接口P22的带宽需求均为57.6Gbps。在对通信装置的网络层进行复用后,例如形成图3~5中任一实施例的数据通路,则P21和P22的带宽需求均为57.6Gbps。相对于接口P10的带宽需求为115.2GBps,接口P00的实际有效带宽为45GBps,图3~5的三种配置带宽需求明显减小,更加均衡,有利于提高NOC性能。FIG. 6C shows a schematic diagram of bandwidth requirements after the interface P21 of the communication device in the embodiment shown in FIG. 2 is multiplexed. As shown in FIG. 6C , the bandwidth requirements of the interface P21 and the interface P22 are both 57.6 Gbps. After multiplexing the network layer of the communication device, for example, to form the data path of any of the embodiments in FIGS. 3 to 5 , the bandwidth requirements of P21 and P22 are both 57.6 Gbps. Compared with the bandwidth requirement of interface P10 which is 115.2GBps and the actual effective bandwidth of interface P00 is 45GBps, the bandwidth requirements of the three configurations in Figures 3 to 5 are significantly reduced and more balanced, which is conducive to improving NOC performance.

本公开至少一个实施例提供了一种电子装置,包括上述任一实施例中的通信装置。例如,电子装置可以是片上系统,或其他涉及网络通信协议的装置。该电子装置能够对均衡网络层接口的带宽需求,有效提高带宽利用率。关于电子装置中的通信装置,请参考上文实施例的描述。At least one embodiment of the present disclosure provides an electronic device, including the communication device in any of the foregoing embodiments. For example, the electronic device may be a system on a chip, or other device involving network communication protocols. The electronic device can balance the bandwidth requirements of the network layer interface and effectively improve the bandwidth utilization. Regarding the communication device in the electronic device, please refer to the description of the above embodiment.

本公开至少一个实施例提供了一种通信装置的通信方法。该通信装置包括位于网络层的网络层单元、位于数据链路层的链路层单元和第一复用控制单元,网络层单元包括第一接口,链路层单元包括第一总线单元和第二总线单元,第一总线单元传输第一协议类型的数据信息,第二总线单元传输第二协议类型的数据信息。关于该通信装置的具体描述请参考上文中的任一实施例,在此不再赘述。该通信方法包括:利用第一复用控制单元使第一总线单元和第二总线单元复用第一接口,以使第一总线单元和第二总线单元分别通过第一接口与网络层单元通信。At least one embodiment of the present disclosure provides a communication method of a communication device. The communication device includes a network layer unit located at a network layer, a link layer unit located at a data link layer, and a first multiplexing control unit, the network layer unit includes a first interface, and the link layer unit includes a first bus unit and a second multiplexing control unit. A bus unit, the first bus unit transmits data information of a first protocol type, and the second bus unit transmits data information of a second protocol type. For the specific description of the communication device, please refer to any of the above embodiments, which will not be repeated here. The communication method includes: using the first multiplexing control unit to multiplex the first interface between the first bus unit and the second bus unit, so that the first bus unit and the second bus unit communicate with the network layer unit through the first interface respectively.

在本公开的一些实施例中,利用第一复用控制单元使第一总线单元和第二总线单元复用第一接口,包括:获取第一配置信息;以及根据第一配置信息,第一复用控制单元从第一总线单元和所述第二总线单元中选择第一目标总线,并且耦接第一目标总线和第一接口。In some embodiments of the present disclosure, using the first multiplexing control unit to multiplex the first interface with the first bus unit and the second bus unit includes: acquiring first configuration information; and, according to the first configuration information, the first multiplexing The control unit selects a first target bus from the first bus unit and the second bus unit, and couples the first target bus and the first interface.

该通信装置的通信方法能够对均衡网络层接口的带宽需求,有效提高带宽利用率。The communication method of the communication device can balance the bandwidth requirements of the network layer interface and effectively improve the bandwidth utilization rate.

在本公开的一些实施例中,链路层单元还包括第一接口控制器,配置为对第一接口和第一总线单元之间交互的数据信息进行协议转换,第一总线单元通过第一接口控制器与第一复用控制单元耦接。In some embodiments of the present disclosure, the link layer unit further includes a first interface controller configured to perform protocol conversion on data information exchanged between the first interface and the first bus unit, and the first bus unit passes the first interface The controller is coupled to the first multiplexing control unit.

例如,第一总线单元为PCIE协议总线,第一接口控制器即NOC接口控制器。例如,NOC接口控制器将来自总线单元的数据信息进行协议转换,将数据信息转换为第一接口能够识别的协议格式,或者,NOC接口控制器将来自第一接口的数据信息转换为第一总线单元支持的协议格式。For example, the first bus unit is a PCIE protocol bus, and the first interface controller is a NOC interface controller. For example, the NOC interface controller performs protocol conversion on the data information from the bus unit, and converts the data information into a protocol format that can be recognized by the first interface, or the NOC interface controller converts the data information from the first interface into the first bus Protocol formats supported by the unit.

例如,链路层单元还包括:输入输出控制器,配置为控制数据信息的分发,第一总线单元通过输入输出控制器与第一接口控制器耦接。For example, the link layer unit further includes: an input/output controller configured to control the distribution of data information, and the first bus unit is coupled to the first interface controller through the input/output controller.

在本公开的一些实施例中,第一协议类型为高速串行计算机扩展总线标准协议,第二协议类型为片间互连接口协议。In some embodiments of the present disclosure, the first protocol type is a high-speed serial computer expansion bus standard protocol, and the second protocol type is an inter-chip interconnect interface protocol.

本公开的至少一个实施例还提供了一种计算机可读存储介质,该计算机可读存储介质用于存储非暂时性计算机可读指令,当非暂时性计算机可读指令由处理器执行时可以实现上述的通信方法的至少部分步骤。At least one embodiment of the present disclosure also provides a computer-readable storage medium for storing non-transitory computer-readable instructions, which can be implemented when the non-transitory computer-readable instructions are executed by a processor At least part of the steps of the above communication method.

图7为本公开一些实施例提供的一种计算机可读存储介质的示意图。如图7所示,计算机可读存储介质700用于存储非暂时性计算机可读指令710。例如,当非暂时性计算机可读指令710由处理器执行时可以执行根据上文所述的通信装置的通信方法中的一个或多个步骤。例如,该计算机可读存储介质700可以应用于通信装置200中。FIG. 7 is a schematic diagram of a computer-readable storage medium provided by some embodiments of the present disclosure. As shown in FIG. 7 , computer-readable storage medium 700 is used to store non-transitory computer-readable instructions 710 . For example, the non-transitory computer-readable instructions 710 may perform one or more steps of a communication method according to a communication device described above when executed by a processor. For example, the computer-readable storage medium 700 may be applied to the communication device 200 .

有以下几点需要说明:The following points need to be noted:

(1)本公开实施例附图只涉及到本公开实施例涉及到的结构,其他结构可参考通常设计。(1) The drawings of the embodiments of the present disclosure only relate to the structures involved in the embodiments of the present disclosure, and other structures may refer to general designs.

(2)在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合以得到新的实施例。(2) The embodiments of the present disclosure and features in the embodiments may be combined with each other to obtain new embodiments without conflict.

以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,本公开的保护范围应以所述权利要求的保护范围为准。The above descriptions are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims (16)

1.一种通信装置,包括:1. A communication device comprising: 网络层单元,位于网络层且包括第一接口;a network layer unit, located at the network layer and including a first interface; 链路层单元,位于数据链路层且至少包括第一总线单元和第二总线单元,所述第一总线单元配置为传输第一协议类型的数据信息,所述第二总线单元配置为传输第二协议类型的数据信息;以及A link layer unit is located at the data link layer and includes at least a first bus unit and a second bus unit, the first bus unit is configured to transmit data information of the first protocol type, and the second bus unit is configured to transmit the first bus unit. Two protocol types of data information; and 第一复用控制单元,配置为控制所述第一总线单元和所述第二总线单元复用所述第一接口,使所述第一总线单元和所述第二总线单元分别通过所述第一接口与所述网络层单元通信。A first multiplexing control unit, configured to control the first bus unit and the second bus unit to multiplex the first interface, so that the first bus unit and the second bus unit respectively pass through the first interface. An interface communicates with the network layer unit. 2.根据权利要求1所述的通信装置,其中,所述第一复用控制单元与所述第一接口、所述第一总线单元和所述第二总线单元耦接,2. The communication device of claim 1, wherein the first multiplexing control unit is coupled to the first interface, the first bus unit and the second bus unit, 所述第一复用控制单元配置为:The first multiplexing control unit is configured as: 获取第一配置信息;以及obtain first configuration information; and 根据所述第一配置信息,从所述第一总线单元和所述第二总线单元中选择第一目标总线,并且耦接所述第一目标总线和所述第一接口。According to the first configuration information, a first target bus is selected from the first bus unit and the second bus unit, and the first target bus and the first interface are coupled. 3.根据权利要求2所述的通信装置,其中,所述第一复用控制单元配置为接收来自所述第一接口的下行数据信息,通过对所述下行数据信息解析获取所述第一配置信息。3. The communication device according to claim 2, wherein the first multiplexing control unit is configured to receive downlink data information from the first interface, and obtain the first configuration by parsing the downlink data information information. 4.根据权利要求1所述的通信装置,其中,所述链路层单元还包括:4. The communication device of claim 1, wherein the link layer unit further comprises: 第一接口控制器,配置为对所述第一接口和所述第一总线单元之间交互的数据信息进行协议转换,a first interface controller, configured to perform protocol conversion on data information exchanged between the first interface and the first bus unit, 其中,所述第一总线单元通过所述第一接口控制器与所述第一复用控制单元耦接。Wherein, the first bus unit is coupled to the first multiplexing control unit through the first interface controller. 5.根据权利要求4所述的通信装置,其中,所述链路层单元还包括:5. The communication device of claim 4, wherein the link layer unit further comprises: 输入输出控制器,配置为控制所述数据信息的分发,an input-output controller configured to control the distribution of the data information, 其中,所述第一总线单元通过所述输入输出控制器与所述第一接口控制器耦接。Wherein, the first bus unit is coupled to the first interface controller through the input and output controller. 6.根据权利要求5所述的通信装置,其中,所述链路层单元还包括第三总线单元,所述网络层单元还包括第二接口,6. The communication device according to claim 5, wherein the link layer unit further comprises a third bus unit, the network layer unit further comprises a second interface, 所述第三总线单元与所述第二接口耦接。The third bus unit is coupled to the second interface. 7.根据权利要求6所述的通信装置,其中,所述第三总线单元配置为传输所述第一协议类型的数据信息。7. The communication device of claim 6, wherein the third bus unit is configured to transmit data information of the first protocol type. 8.根据权利要求7所述的通信装置,其中,所述链路层单元还包括:8. The communication device of claim 7, wherein the link layer unit further comprises: 第二接口控制器,与所述第二接口和所述输入输出控制器耦接,且配置为对所述第二接口和所述第三总线单元之间交互的数据信息进行协议转换,a second interface controller, coupled to the second interface and the input/output controller, and configured to perform protocol conversion on data information exchanged between the second interface and the third bus unit, 其中,所述第三总线单元通过所述输入输出控制器与所述第二接口控制器耦接。Wherein, the third bus unit is coupled to the second interface controller through the input and output controller. 9.根据权利要求4~8任一项所述的通信装置,其中,所述第一协议类型为高速串行计算机扩展总线标准协议,所述第二协议类型为片间互连接口协议。9 . The communication device according to claim 4 , wherein the first protocol type is a high-speed serial computer extension bus standard protocol, and the second protocol type is an inter-chip interconnect interface protocol. 10 . 10.根据权利要求1所述的通信装置,还包括:10. The communication device of claim 1, further comprising: 位于物理层的物理层单元,其中,所述物理层单元包括至少一个物理层接口;以及a physical layer unit at the physical layer, wherein the physical layer unit includes at least one physical layer interface; and 第二复用控制单元,配置为控制所述第一总线单元和所述第二总线单元复用所述至少一个物理层接口。A second multiplexing control unit configured to control the first bus unit and the second bus unit to multiplex the at least one physical layer interface. 11.根据权利要求10所述的通信装置,其中,所述至少一个物理层接口包括第一物理层接口,11. The communication apparatus of claim 10, wherein the at least one physical layer interface comprises a first physical layer interface, 所述第二复用控制单元与所述第一总线单元、所述第二总线单元和所述第一物理层接口耦接,the second multiplexing control unit is coupled to the first bus unit, the second bus unit and the first physical layer interface, 所述第二复用控制单元配置为:The second multiplexing control unit is configured as: 接收第二配置信息;以及receiving second configuration information; and 根据所述第二配置信息,从所述第一总线单元和所述第二总线单元中选择第二目标总线单元,并且将所述第二目标总线单元与所述第一物理层接口耦接。According to the second configuration information, a second target bus unit is selected from the first bus unit and the second bus unit, and the second target bus unit is coupled with the first physical layer interface. 12.根据权利要求11所述的通信装置,其中,所述至少一个物理层接口还包括第二物理层接口,所述链路层单元还包括第三总线单元,所述第二复用控制单元还与所述第三总线单元耦接,12. The communication device according to claim 11, wherein the at least one physical layer interface further comprises a second physical layer interface, the link layer unit further comprises a third bus unit, the second multiplexing control unit is also coupled to the third bus unit, 所述第二复用控制单元还配置为:根据配置信息从所述第一总线单元、所述第二总线单元和所述第三总线单元中选择两个目标总线单元,并且将所述两个目标总线单元分别与所述第一物理层接口和所述第二物理层接口耦接。The second multiplexing control unit is further configured to: select two target bus units from the first bus unit, the second bus unit and the third bus unit according to the configuration information, and combine the two target bus units. Target bus units are coupled to the first physical layer interface and the second physical layer interface, respectively. 13.根据权利要求10~12任一项所述的通信装置,其中,所述至少一个物理层接口每个包括串行器和解串器。13. The communication apparatus of any of claims 10-12, wherein the at least one physical layer interface each comprises a serializer and a deserializer. 14.一种电子装置,包括根据权利要求1-13任一所述通信装置。14. An electronic device comprising the communication device according to any one of claims 1-13. 15.一种通信装置的通信方法,其中,所述通信装置包括位于网络层的网络层单元、位于数据链路层的链路层单元和第一复用控制单元,所述网络层单元包括第一接口,所述链路层单元包括第一总线单元和第二总线单元,所述第一总线单元传输第一协议类型的数据信息,所述第二总线单元传输第二协议类型的数据信息,15. A communication method for a communication device, wherein the communication device comprises a network layer unit located at a network layer, a link layer unit located at a data link layer, and a first multiplexing control unit, the network layer unit including a first multiplexing control unit. an interface, the link layer unit includes a first bus unit and a second bus unit, the first bus unit transmits data information of a first protocol type, and the second bus unit transmits data information of a second protocol type, 所述方法包括:The method includes: 利用所述第一复用控制单元使所述第一总线单元和所述第二总线单元复用所述第一接口,以使所述第一总线单元和所述第二总线单元分别通过所述第一接口与所述网络层单元通信。The first bus unit and the second bus unit are multiplexed with the first interface by the first multiplexing control unit, so that the first bus unit and the second bus unit pass through the The first interface communicates with the network layer unit. 16.根据权利要求15所述的方法,其中,利用所述第一复用控制单元使所述第一总线单元和所述第二总线单元复用所述第一接口,包括:16. The method of claim 15, wherein using the first multiplexing control unit to multiplex the first interface with the first bus unit and the second bus unit comprises: 获取第一配置信息;以及obtain first configuration information; and 根据所述第一配置信息,所述第一复用控制单元从所述第一总线单元和所述第二总线单元中选择第一目标总线,并且耦接所述第一目标总线和所述第一接口。According to the first configuration information, the first multiplexing control unit selects a first target bus from the first bus unit and the second bus unit, and couples the first target bus and the second bus unit an interface.
CN202210287379.3A 2022-03-22 2022-03-22 Communication device, electronic device, and communication method Pending CN114661650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210287379.3A CN114661650A (en) 2022-03-22 2022-03-22 Communication device, electronic device, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210287379.3A CN114661650A (en) 2022-03-22 2022-03-22 Communication device, electronic device, and communication method

Publications (1)

Publication Number Publication Date
CN114661650A true CN114661650A (en) 2022-06-24

Family

ID=82030751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210287379.3A Pending CN114661650A (en) 2022-03-22 2022-03-22 Communication device, electronic device, and communication method

Country Status (1)

Country Link
CN (1) CN114661650A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117453596A (en) * 2023-11-03 2024-01-26 海光信息技术股份有限公司 Protocol controller, protocol control method, chip, system on chip and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1507225A (en) * 2002-12-12 2004-06-23 华为技术有限公司 High speed port device for communication equipment
CN1725761A (en) * 2005-06-10 2006-01-25 杭州华为三康技术有限公司 Method of implementing link aggregation of network equipment
US20080049629A1 (en) * 2006-08-22 2008-02-28 Morrill Robert J System and method for monitoring data link layer devices and optimizing interlayer network performance
CN104796343A (en) * 2015-03-21 2015-07-22 西安电子科技大学 Communication structure based on network-on-chip
CN106130833A (en) * 2016-06-20 2016-11-16 西安电子科技大学 Home network fusion method based on Inter MAC layer and device
CN113227991A (en) * 2018-12-18 2021-08-06 Ati科技无限责任公司 Alternative protocol selection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1507225A (en) * 2002-12-12 2004-06-23 华为技术有限公司 High speed port device for communication equipment
CN1725761A (en) * 2005-06-10 2006-01-25 杭州华为三康技术有限公司 Method of implementing link aggregation of network equipment
US20080049629A1 (en) * 2006-08-22 2008-02-28 Morrill Robert J System and method for monitoring data link layer devices and optimizing interlayer network performance
CN104796343A (en) * 2015-03-21 2015-07-22 西安电子科技大学 Communication structure based on network-on-chip
CN106130833A (en) * 2016-06-20 2016-11-16 西安电子科技大学 Home network fusion method based on Inter MAC layer and device
CN113227991A (en) * 2018-12-18 2021-08-06 Ati科技无限责任公司 Alternative protocol selection

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李自迪;蒋林;李翠锦;: "一种避免拥塞的片上网络通信协议", 小型微型计算机系统, no. 04, 15 April 2011 (2011-04-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117453596A (en) * 2023-11-03 2024-01-26 海光信息技术股份有限公司 Protocol controller, protocol control method, chip, system on chip and electronic device

Similar Documents

Publication Publication Date Title
TWI407313B (en) Unified multi-transport medium connector architecture
US7787490B2 (en) Method and apparatus for multiplexing multiple protocol handlers on a shared memory bus
US6665754B2 (en) Network for increasing transmit link layer core speed
CN101159687B (en) A system, device and method for multi-channel communication data transmission
US20160378710A1 (en) Multiple transaction data flow control unit for high-speed interconnect
CN102185833B (en) Fiber channel (FC) input/output (I/O) parallel processing method based on field programmable gate array (FPGA)
JP2008546298A (en) Electronic device and communication resource allocation method
CN104901859A (en) AXI/PCIE bus converting device
CN103257946A (en) High-speed interconnecting method of controllers of tight-coupling multi-control storage system
US8090893B2 (en) Input output control apparatus with a plurality of ports and single protocol processing circuit
CN108768667A (en) A method of for internuclear network communication in multi-core processor piece
CN110535788A (en) Multiprotocol controller and multi-protocol exchange chip
CN117914808A (en) Data transmission system, method and switch
CN102103471A (en) Data transmission method and system
CN114661650A (en) Communication device, electronic device, and communication method
WO2020258917A1 (en) Data exchange chip and server
CN111884952A (en) Multichannel calculation accelerating equipment based on FPGA
JP3989376B2 (en) Communications system
CN103152275A (en) Router suitable for network on chip and allowable for configuring switching mechanisms
Wang et al. Design of Multi-Channel Data Transmission System Based on PCIe-SRIO
US20230409327A1 (en) Data reformat operation
CN1972314B (en) Method for simulating serial interface on Ethernet interface and components applying the method
CN102089750A (en) System to connect a serial SCSI array controller to a storage area network
CN107317773B (en) On-chip network communication interface and communication method
WO2024102916A1 (en) Root complex switching across inter-die data interface to multiple endpoints

Legal Events

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