WO2018039928A1 - Data transmission method and apparatus - Google Patents
Data transmission method and apparatus Download PDFInfo
- Publication number
- WO2018039928A1 WO2018039928A1 PCT/CN2016/097384 CN2016097384W WO2018039928A1 WO 2018039928 A1 WO2018039928 A1 WO 2018039928A1 CN 2016097384 W CN2016097384 W CN 2016097384W WO 2018039928 A1 WO2018039928 A1 WO 2018039928A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- chip
- physical channel
- control flow
- transmitting
- flow signal
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Definitions
- the embodiments of the present invention relate to the field of data transmission technologies, and in particular, to a data transmission method and apparatus.
- FPGA Field-Programmable Gate Array
- the signals of the FPGA chip are mainly divided into two types: the data stream signal and the control stream signal.
- the data stream signal and the control stream signal different physical channels need to be designed between the FPGA chips to respectively perform the data stream signal and the control flow.
- the signal transmission leads to the complexity of the system chip design and reduces the stability of the FPGA prototype verification platform.
- the control stream signal is characterized by small bit width, low utilization rate of the physical channel between the FPGA chips, and low cost-benefit.
- the embodiment of the invention provides a data transmission method and device, which solves the problem that different physical channels are designed between the FPGA chips to respectively transmit the data stream signal and the control stream signal, thereby increasing the complexity of the FPGA prototype verification platform, and the FPGA prototype Verify the poor stability of the platform.
- an embodiment of the present invention provides a data transmission method, where the method includes:
- Determining a physical channel for transmitting a data stream signal between the plurality of chips at the physical channel A physical channel in which an idle resource exists is determined, and a control flow signal is transmitted through the determined physical channel in which the idle resource exists.
- the embodiment of the invention transmits the control flow signal by using the idle resource of the physical channel of the data stream signal, and does not need to establish a physical channel dedicated to transmitting the control flow signal, thereby reducing the complexity of the FPGA prototype verification platform, thereby improving the FPGA prototype verification.
- the stability of the platform is not limited to using the idle resource of the physical channel of the data stream signal, and does not need to establish a physical channel dedicated to transmitting the control flow signal, thereby reducing the complexity of the FPGA prototype verification platform, thereby improving the FPGA prototype verification. The stability of the platform.
- a physical channel for transmitting a data stream signal between any two of the plurality of chips is determined.
- a physical channel in which a free resource exists in a physical channel for transmitting a data stream signal between any two chips is determined; and a first chip in the plurality of chips is determined a shortest path formed by the physical channel having the idle resource between the second chip; and a control flow signal between the first chip and the second chip is transmitted through the shortest path.
- control flow signal between the first chip and the second chip is performed by the shortest path formed by the physical channel having the idle resource, so that the speed of transmitting the control flow signal from the first chip to the second chip can be improved.
- the idle resource that needs to be used in the physical channel included in the shortest path may be further marked, where the identifier is used to identify a corresponding idle resource for transmitting control between the first chip and the second chip.
- a stream signal when idle resources in the physical channel included in the shortest path also need to send control flow signals from other first chips to other second chips, it is necessary to select idle resources other than the above tags;
- the resource transmits a control flow signal between the first chip and the second chip.
- the idle resources that need to be used in the physical path included in the shortest path when the first chip and the second chip transmit the control flow signal are marked, so that multiple control flows can be avoided in the same physical channel.
- the use of idle resources conflicts, which improves the accuracy of control flow signal transmission.
- a physical channel for transmitting a data stream signal is determined, and the object is used. Before the control channel transmits the control flow signal, it is determined whether the physical channel is a physical channel supporting selection multiplexing; if the channel is a physical channel supporting selection multiplexing, the physical channel can use idle resource transmission control other than the transmission data stream signal. Stream signal.
- an embodiment of the present invention provides a data transmission apparatus, where the apparatus includes:
- a determining module configured to determine a physical channel for transmitting a data stream signal between the plurality of chips
- a processing module configured to determine a physical channel that has an idle resource in the physical channel, and transmit the physical channel through the idle resource Control flow signal.
- the determining module is configured to determine a physical channel for transmitting a data stream signal between any two of the plurality of chips.
- the processing module is configured to determine a physical channel in which a free resource exists in a physical channel for transmitting a data stream signal between any two chips;
- the processing module uses the shortest path to transmit the first chip and the second chip sending control Before the stream signal, the idle resources that need to be used in the physical path included in the shortest path may be further marked, where the identifier is used to identify the corresponding idle resource for transmitting the first chip and the second chip. Control flow signal between;
- the processing module is configured to transmit, by using the shortest path, a control flow signal between the first chip and the second chip, by using the idle resource that has been marked in the shortest path to transmit the first chip and the Control flow signal between the second chips.
- an embodiment of the present invention provides a data transmission system including a controller and an FPGA prototype verification platform, the controller including a processor and a memory connected to the processor, where:
- a memory for storing a preset computer program
- a processor for reading a computer program stored in the memory performing the following process:
- Determining a physical channel between the plurality of chips for transmitting the data stream signal determining a physical channel in the physical channel where the idle resource exists, and transmitting the control stream signal through the physical channel having the idle resource.
- the processor performs the following process:
- a physical channel in which a free resource exists in a physical channel for transmitting a data stream signal between any two chips is determined.
- the processor performs the following process:
- the processor further performs the following process:
- the first chip and the second chip may further mark an idle resource that needs to be used in a physical channel included in the shortest path, where the label is used for marking Identifying a corresponding idle resource for transmitting a control flow signal between the first chip and the second chip; and transmitting, by using the shortest path, a control flow signal between the first chip and the second chip, And a method for transmitting a control flow signal between the first chip and the second chip by an idle resource that has been marked in the shortest path.
- FIG. 1 is a schematic flowchart of a data transmission method according to an embodiment of the present disclosure
- FIG. 2 is a schematic flowchart of still another data transmission method according to an embodiment of the present invention.
- FIG. 3 is a schematic flowchart of still another data transmission method according to an embodiment of the present disclosure.
- FIG. 4 is a schematic flowchart of another data transmission method according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of hardware of a data transmission apparatus according to an embodiment of the present invention.
- the system chip design needs to be verified, and the FPGA prototype verification platform is built to verify the system chip design.
- the system chip is divided, and each divided area corresponds to one FPGA chip in the FPGA prototype verification platform, and data flow transmission and control flow transmission are required between each FPGA chip in the FPGA prototype verification platform.
- the following describes the data transmission scheme provided by the embodiment of the present invention by taking the FPGA prototype verification platform as an example.
- the scheme is also applicable to other types of chip verification platforms or chips.
- the embodiment of the invention provides a data transmission method. As shown in FIG. 1 , the method includes the following process:
- a physical channel for transmitting a data stream signal between any two adjacent FPGA chips in the FPGA prototype verification platform is determined.
- a physical channel in which a free resource exists in a physical channel for transmitting a data stream signal between any two adjacent FPGA chips is determined.
- determining a physical path in which the idle resource exists in the physical channel determining a shortest path between the first chip and the second chip in the FPGA prototype verification platform, where the physical channel having the idle resource exists; The shortest path transmits a control flow signal between the first chip and the second chip.
- the solid line indicates the physical channel between the FPGA chips for transmitting the data stream signal, from the first chip to the second chip.
- the shortest path formed by the physical channels having the idle resources between the first chip and the second chip is determined;
- a control flow signal transmission needs to be performed between the FPGA chip 1 and the chip 8, and it is first determined that the path of the control stream signal transmission can be performed by the chip 1 and the chip 8, and it is determined that three paths can be used for control flow signal transmission, such as As indicated by the broken line in FIG. 2, 1>2>6>7>8: respectively indicates that the control flow signal flows from the chip 1 to the chip 2, from the chip 2 to the chip 6, from the chip 6 to the chip 7, and from the chip 7 to the chip.
- the direction of the path is bidirectional, and the data stream signal may be sent from the chip 1 to the chip 8 or the data stream signal may be sent from the chip 8 to the chip 1 through the path.
- the idle resources are grouped, and the method is not limited in the embodiment of the present invention.
- the physical channels of two FPGA chips can transmit 400 signals.
- 300 signals are needed to transmit the data flow between two FPGA chips, and the idle resource that can be used to transmit the control flow signal is 100.
- the signals are divided into 20 groups, and each group can be used to transmit 5 control stream signals.
- a physical channel for transmitting a data stream signal in the FPGA prototype verification platform is determined; a physical channel having an idle resource in the physical channel is determined, and a control flow signal is transmitted through the physical channel having the idle resource. .
- the control stream signal is transmitted through the idle resource of the physical channel transmitting the data stream signal, and the physical channel dedicated to transmitting the control stream signal is not required, which reduces the complexity of the FPGA prototype verification platform, thereby improving the stability of the FPGA prototype verification platform.
- the method before the control flow signal between the first chip and the second chip is transmitted through the shortest path, the method further includes:
- Transmitting the control flow signal between the first chip and the second chip by using the shortest path including:
- the physical channel between the chip 1 and the chip 2 has 10 idle resources, and when the control flow signal is sent from the chip 1 to the chip 8, two idles are needed.
- the resource is selected by selecting two idle resources among the 10 idle resources for marking, and the two idle resources that are marked are used for transmitting control flow signals from the chip 1 to the chip 8.
- idle resources are selected among the remaining 8 idle resources of the 10 idle resources for control flow signal transmission.
- a physical channel for transmitting a data stream signal is determined. Before using the physical channel to transmit a control stream signal, determining whether the physical channel is a physical channel supporting selective multiplexing; if the channel is a support selection complex The physical channel used can transmit the control stream signal using idle resources other than the transport stream signal.
- determining whether any physical channel in the physical channel supports selective multiplexing includes the following two implementation manners:
- the physical channel between two FPGA chips supports selective multiplexing
- the physical channel when it is determined that the physical channel has idle resources, the physical channel can perform control flow data transmission.
- the physical channel when the physical channel selection between two FPGA chips is not multiplexed, the physical channel is intelligently used to transmit a data stream signal between the two FPGA chips, even if the physical channel has idle resources, the physical channel does not Control stream data transmission can be performed, and other reusable physical channels need to be selected for transmission of control flow signals between the two FPGA chips.
- control flow signal when the control flow signal is sent from the first chip to the second chip, there are two cases:
- Case 1 The shortest path when the first chip sends the control flow signal to the second chip is a physical channel, that is, the first chip is directly connected to the second chip through one physical channel. Take the control flow signal from FPGA1 to FPGA2 as an example, as shown in Figure 3.
- control circuit 301 of the FPGA 1 transmits a control flow signal to the control flow transmission engine 302, and the service circuit 303 transmits the data flow signal to the data flow transmission engine 304, and the control flow transmission engine 302 transmits the received control flow signal.
- the data stream sending engine 304 sends the received data stream signal to the multiplexing module 305, and the multiplexing module multiplexes the control stream signal and the data stream signal, and then sends the signal through the serial virtual input/output interface SVIO306.
- the SVIO307 in the FPGA2 receives the multiplexed control stream signal and the data stream signal from the SVIO307 in the FPGA2, and sends the signal to the demultiplexing module 308, which demodulates the control stream signal and the data stream signal. After multiplexing, it is sent to the control flow receiving engine 309 and the data stream receiving engine 310, respectively, and the control flow receiving engine 309 sends the received control flow signal to the control circuit 311, and the data stream receiving engine 310 transmits the received data stream signal. To the business circuit 312.
- the shortest path when the first chip sends the control flow signal to the second chip is at least two physical channels, that is, the first chip is connected to the second chip through at least two physical channels.
- the FPGA 4 is taken as an example when transmitting a control flow signal from the FPGA 3 to the FPGA 5, as shown in FIG. 4 .
- control circuit 401 of the FPGA 3 transmits a control flow signal to the control flow transmission engine 402, and the service circuit 403 transmits the data flow signal to the data flow transmission engine 404, and the control flow transmission engine 402 transmits the received control flow signal.
- the data stream sending engine 404 will The received data stream signal is sent to the multiplexing module 405.
- the multiplexing module 405 multiplexes the control stream signal with the data stream signal, and then sends it to the SVIO407 in the FPGA4 through the serial virtual input/output interface SVIO406, and the SVIO407 in the FPGA4 receives the signal.
- the demultiplexing module 408 demultiplexes the control stream signal and the data stream signal, and sends the control stream signal to the control stream forwarding 409.
- the control stream forwarding 409 sends the received control stream signal to the multiplexing module 411
- the data stream receiving engine 410 transmits the received data stream signal to the service circuit 412, and the service circuit 413 of the FPGA 4 transmits the data.
- the stream signal is sent to the data stream sending engine 414 of the FPGA 4, and the data stream sending engine 414 of the FPGA 4 sends the data stream signal to the multiplexing module 411.
- the multiplexing module 411 multiplexes the control stream signal with the data stream signal and sends it through the SVIO415.
- the SVIO 416 in the FPGA 5 receives the multiplexed control stream signal and the data stream signal, and sends the signal to the demultiplexing module 417.
- the module 417 demultiplexes the control stream signal and the data stream signal, and sends the control stream signal to the control stream receiving engine 418 and the data stream receiving engine 419, respectively, and the control stream receiving engine 418 sends the received control stream signal to the control circuit 420, the data stream.
- the receiving engine 419 transmits the received data stream signal to the service circuit 421.
- an apparatus for data transmission according to an embodiment of the present invention includes:
- the determining module 51 is configured to determine a physical channel for transmitting a data stream signal in the FPGA prototype verification platform.
- the processing module 52 is configured to determine a physical channel in which the idle resource exists in the physical channel, and transmit the control flow signal by using the physical channel in which the idle resource exists.
- a physical channel for transmitting a data stream signal in the FPGA prototype verification platform is determined; a physical channel having an idle resource in the physical channel is determined, and a control flow signal is transmitted through the physical channel having the idle resource.
- the control stream signal is transmitted through the idle resource of the physical channel transmitting the data stream signal, and the physical channel dedicated to transmitting the control stream signal is not required, which reduces the complexity of the FPGA prototype verification platform, thereby improving the stability of the FPGA prototype verification platform.
- the determining module is configured to:
- processing module is configured to:
- processing module is further configured to:
- Transmitting the control flow signal between the first chip and the second chip by using the shortest path including:
- the embodiment of the present invention provides a data transmission system, including a controller 600 and an FPGA prototype verification platform 630.
- the controller 600 includes a processor 610 and a memory 620 connected to the processor, where:
- a memory 620 configured to store a preset computer program
- the processor 610 is configured to read a computer program stored in the memory 620 and perform the following process:
- a physical channel for transmitting a data stream signal in the FPGA prototype verification platform 630 is determined; a physical channel having an idle resource in the physical channel is determined, and a control flow signal is transmitted through the physical channel in which the idle resource exists.
- processor 610 performs the following processes:
- processor 610 performs the following processes:
- processor 610 further performs the following processes:
- the idle resources in the physical path included in the determined shortest path are marked, and the identifier is used to identify Corresponding idle resources are used to transmit a control flow signal between the first chip and the second chip;
- the processor 610 When the processor 610 transmits the control flow signal between the first chip and the second chip by using the shortest path, the processor 610 is configured to: transmit the first chip by using an idle resource that has been marked in the shortest path Control flow signal between the second chips.
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A data transmission method and apparatus, for use in resolving the problems of increased complexity and poor stability of an FPGA prototype verification platform caused when a data flow signal and a control flow signal are respectively transmitted by using designed different physical channels among FPGA chips. The method comprises: determining physical channels used for transmitting data flow signals among multiple chips; and determining that a physical channel having an idle resource exists among the physical channels, and transmitting a control flow signal through the physical channel having the idle resource. A control flow signal is transmitted by means of an idle resource of a physical channel for transmitting a data flow signal, so that a physical channel specially used for transmitting a control flow signal does not need to be established, thereby reducing the complexity of an FPGA prototype verification platform, and improving the stability of the FPGA prototype verification platform.
Description
本发明实施例涉及数据传输技术领域,特别涉及一种数据传输方法及装置。The embodiments of the present invention relate to the field of data transmission technologies, and in particular, to a data transmission method and apparatus.
随着集成电路制造技术的发展,系统芯片设计的规模越来越大,系统芯片设计的验证技术一直是困扰业界的难题。现场可编程逻辑门阵列(Field-Programmable Gate Array,FPGA)原型验证技术以其最接近真实应用环境,运行速度快,成本相对低廉的优势,得到了较快发展。根据FPGA原型验证技术搭建FPGA原型验证平台,对系统芯片设计进行承载验证,FPGA原型验证平台中包括多片FPGA芯片。但随着系统芯片设计规模的增大,需要的FPGA芯片也随之增多,当FPGA芯片数量达到一定程度之后,FPGA芯片之间的互联技术成为了FPGA原型验证技术的一大瓶颈。With the development of integrated circuit manufacturing technology, the scale of system chip design is getting larger and larger, and the verification technology of system chip design has always been a problem that plagues the industry. Field-Programmable Gate Array (FPGA) prototyping technology has been developed rapidly because of its proximity to the real application environment, fast speed and relatively low cost. The FPGA prototype verification platform is built according to the FPGA prototype verification technology, and the system chip design is verified by the bearer. The FPGA prototype verification platform includes multiple FPGA chips. However, as the scale of system chip design increases, the number of FPGA chips required increases. When the number of FPGA chips reaches a certain level, the interconnection technology between FPGA chips becomes a major bottleneck of FPGA prototype verification technology.
FPGA芯片的信号主要分为数据流信号与控制流信号两类,在现有技术中针对数据流信号及控制流信号,需要在FPGA芯片之间设计不同的物理通道分别进行数据流信号及控制流信号的传输,导致系统芯片设计复杂度提升,降低了FPGA原型验证平台的稳定性;并且控制流信号的特点是位宽小,对FPGA芯片之间物理通道的利用率非常低,成本收益低。The signals of the FPGA chip are mainly divided into two types: the data stream signal and the control stream signal. In the prior art, for the data stream signal and the control stream signal, different physical channels need to be designed between the FPGA chips to respectively perform the data stream signal and the control flow. The signal transmission leads to the complexity of the system chip design and reduces the stability of the FPGA prototype verification platform. The control stream signal is characterized by small bit width, low utilization rate of the physical channel between the FPGA chips, and low cost-benefit.
发明内容Summary of the invention
本发明实施例提供了一种数据传输方法及装置,解决了在FPGA芯片之间设计不同的物理通道分别进行数据流信号及控制流信号的传输,导致FPGA原型验证平台的复杂度提升,FPGA原型验证平台的稳定性差的问题。The embodiment of the invention provides a data transmission method and device, which solves the problem that different physical channels are designed between the FPGA chips to respectively transmit the data stream signal and the control stream signal, thereby increasing the complexity of the FPGA prototype verification platform, and the FPGA prototype Verify the poor stability of the platform.
第一方面,本发明实施例提出一种数据传输方法,该方法包括:In a first aspect, an embodiment of the present invention provides a data transmission method, where the method includes:
在多个芯片间确定出用于传输数据流信号的物理通道;在所述物理通道
中确定出存在空闲资源的物理通道,通过确定出的所述存在空闲资源的物理通道进行控制流信号的传输。Determining a physical channel for transmitting a data stream signal between the plurality of chips; at the physical channel
A physical channel in which an idle resource exists is determined, and a control flow signal is transmitted through the determined physical channel in which the idle resource exists.
本发明实施例通过传输数据流信号的物理通道的空闲资源传输控制流信号,不需要建立专门用于传输控制流信号的物理通道,降低了FPGA原型验证平台的复杂度,从而提高了FPGA原型验证平台的稳定性。The embodiment of the invention transmits the control flow signal by using the idle resource of the physical channel of the data stream signal, and does not need to establish a physical channel dedicated to transmitting the control flow signal, thereby reducing the complexity of the FPGA prototype verification platform, thereby improving the FPGA prototype verification. The stability of the platform.
结合第一方面,在第一种可能的实现方式中,确定出所述多个芯片中任意两个芯片间用于传输数据流信号的物理通道。In conjunction with the first aspect, in a first possible implementation, a physical channel for transmitting a data stream signal between any two of the plurality of chips is determined.
结合第一方面,在第二种可能的实现方式中,确定出任意两个芯片间用于传输数据流信号的物理通道中存在空闲资源的物理通道;确定出所述多个芯片中第一芯片与第二芯片间由所述存在空闲资源的物理通道构成的最短路径;通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号。With reference to the first aspect, in a second possible implementation manner, a physical channel in which a free resource exists in a physical channel for transmitting a data stream signal between any two chips is determined; and a first chip in the plurality of chips is determined a shortest path formed by the physical channel having the idle resource between the second chip; and a control flow signal between the first chip and the second chip is transmitted through the shortest path.
本发明实施例中,通过存在空闲资源的物理通道构成的最短路径进行第一芯片与第二芯片之间的控制流信号,可以提高由第一芯片至第二芯片传输控制流信号的速度。In the embodiment of the present invention, the control flow signal between the first chip and the second chip is performed by the shortest path formed by the physical channel having the idle resource, so that the speed of transmitting the control flow signal from the first chip to the second chip can be improved.
结合第一方面和第一方面的第二种可能的实现方式,在第三种可能的实现方式中,使用所述最短路径传输所述第一芯片与所述第二芯片发送控制流信号之前,还可以进而对所述最短路径上包括的物理通道中需要使用的空闲资源进行标记,所述标记用于标识对应的空闲资源用于传输所述第一芯片与所述第二芯片之间的控制流信号;当所述最短路径上包括的物理通道中的空闲资源还需要从其它第一芯片向其它第二芯片发送控制流信号时,需要选择上述标记之外的空闲资源;通过已经标记的空闲资源传输第一芯片与第二芯片间的控制流信号。With reference to the first aspect and the second possible implementation manner of the first aspect, in a third possible implementation, before using the shortest path to transmit the control signal of the first chip and the second chip, The idle resource that needs to be used in the physical channel included in the shortest path may be further marked, where the identifier is used to identify a corresponding idle resource for transmitting control between the first chip and the second chip. a stream signal; when idle resources in the physical channel included in the shortest path also need to send control flow signals from other first chips to other second chips, it is necessary to select idle resources other than the above tags; The resource transmits a control flow signal between the first chip and the second chip.
本发明实施例中,对所述第一芯片与所述第二芯片间传输控制流信号时的最短路径包括的物理通道中需要使用的空闲资源进行标记,可以避免同一物理通道传输多个控制流信号时,空闲资源的使用发生冲突,提高了控制流信号传输的准确性。In the embodiment of the present invention, the idle resources that need to be used in the physical path included in the shortest path when the first chip and the second chip transmit the control flow signal are marked, so that multiple control flows can be avoided in the same physical channel. When the signal is used, the use of idle resources conflicts, which improves the accuracy of control flow signal transmission.
本发明实施例中,确定出用于传输数据流信号的物理通道,在使用该物
理通道传输控制流信号之前,确定该物理通道是否为支持选择复用的物理通道;若该通道为支持选择复用的物理通道,则该物理通道能够使用传输数据流信号以外的空闲资源传输控制流信号。In the embodiment of the present invention, a physical channel for transmitting a data stream signal is determined, and the object is used.
Before the control channel transmits the control flow signal, it is determined whether the physical channel is a physical channel supporting selection multiplexing; if the channel is a physical channel supporting selection multiplexing, the physical channel can use idle resource transmission control other than the transmission data stream signal. Stream signal.
第二方面,本发明实施例提出一种数据传输装置,该装置包括:In a second aspect, an embodiment of the present invention provides a data transmission apparatus, where the apparatus includes:
确定模块,用于确定出多个芯片间用于传输数据流信号的物理通道;处理模块,用于确定出所述物理通道中存在空闲资源的物理通道,通过所述存在空闲资源的物理通道传输控制流信号。a determining module, configured to determine a physical channel for transmitting a data stream signal between the plurality of chips; and a processing module, configured to determine a physical channel that has an idle resource in the physical channel, and transmit the physical channel through the idle resource Control flow signal.
结合第二方面,在第一种可能的实现方式中,所述确定模块用于确定出所述多个芯片中任意两个芯片间用于传输数据流信号的物理通道。In conjunction with the second aspect, in a first possible implementation, the determining module is configured to determine a physical channel for transmitting a data stream signal between any two of the plurality of chips.
结合第二方面,在第二种可能的实现方式中,所述处理模块用于确定出任意两个芯片间用于传输数据流信号的物理通道中存在空闲资源的物理通道;确定出所述多个芯片中第一芯片与第二芯片间由所述存在空闲资源的物理通道构成的最短路径;通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号。With reference to the second aspect, in a second possible implementation, the processing module is configured to determine a physical channel in which a free resource exists in a physical channel for transmitting a data stream signal between any two chips; The shortest path formed by the physical channel having the idle resource between the first chip and the second chip in the chip; the control flow signal between the first chip and the second chip is transmitted through the shortest path.
结合第二方面、第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所述处理模块使用所述最短路径传输所述第一芯片与所述第二芯片发送控制流信号之前,还可以进而对所述最短路径上包括的物理通道中需要使用的空闲资源进行标记,所述标记用于标识对应的空闲资源用于传输所述第一芯片与所述第二芯片之间的控制流信号;With reference to the second aspect, the second possible implementation manner of the second aspect, in a third possible implementation, the processing module uses the shortest path to transmit the first chip and the second chip sending control Before the stream signal, the idle resources that need to be used in the physical path included in the shortest path may be further marked, where the identifier is used to identify the corresponding idle resource for transmitting the first chip and the second chip. Control flow signal between;
所述处理模块通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号时,用于通过所述最短路径中已经标记的空闲资源传输所述第一芯片与所述第二芯片间的控制流信号。And the processing module is configured to transmit, by using the shortest path, a control flow signal between the first chip and the second chip, by using the idle resource that has been marked in the shortest path to transmit the first chip and the Control flow signal between the second chips.
第三方面,本发明实施例提出一种数据传输系统,包括控制器和FPGA原型验证平台,所述控制器包括处理器、以及与该处理器连接的存储器,其中:In a third aspect, an embodiment of the present invention provides a data transmission system including a controller and an FPGA prototype verification platform, the controller including a processor and a memory connected to the processor, where:
存储器,用于存储预设的计算机程序;a memory for storing a preset computer program;
处理器,用于读取存储器中存储的计算机程序,执行下列过程:
A processor for reading a computer program stored in the memory, performing the following process:
确定出多个芯片间用于传输数据流信号的物理通道;确定出所述物理通道中存在空闲资源的物理通道,通过所述存在空闲资源的物理通道传输控制流信号。Determining a physical channel between the plurality of chips for transmitting the data stream signal; determining a physical channel in the physical channel where the idle resource exists, and transmitting the control stream signal through the physical channel having the idle resource.
结合第三方面,在第一种可能的实现方式中,处理器执行下列过程:In conjunction with the third aspect, in a first possible implementation, the processor performs the following process:
确定出任意两个芯片间用于传输数据流信号的物理通道中存在空闲资源的物理通道。A physical channel in which a free resource exists in a physical channel for transmitting a data stream signal between any two chips is determined.
结合第三方面,在第二种可能的实现方式中,处理器执行下列过程:In conjunction with the third aspect, in a second possible implementation, the processor performs the following process:
确定出任意两个芯片间用于传输数据流信号的物理通道中存在空闲资源的物理通道;确定出所述多个芯片中第一芯片与第二芯片间由所述存在空闲资源的物理通道构成的最短路径;通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号。Determining a physical channel in which there is an idle resource in a physical channel for transmitting a data stream signal between any two chips; determining that the first chip and the second chip among the plurality of chips are constituted by the physical channel having the idle resource The shortest path; the control flow signal between the first chip and the second chip is transmitted through the shortest path.
结合第三方面,第三方面的第二种可能的实现方式,在第三种可能的实现方式中,处理器还执行下列过程:With reference to the third aspect, the second possible implementation manner of the third aspect, in a third possible implementation manner, the processor further performs the following process:
使用所述最短路径传输所述第一芯片与所述第二芯片发送控制流信号之前,还可以进而对所述最短路径上包括的物理通道中需要使用的空闲资源进行标记,所述标记用于标识对应的空闲资源用于传输所述第一芯片与所述第二芯片之间的控制流信号;通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号时,用于通过所述最短路径中已经标记的空闲资源传输所述第一芯片与所述第二芯片间的控制流信号。Before transmitting the control stream signal by using the shortest path, the first chip and the second chip may further mark an idle resource that needs to be used in a physical channel included in the shortest path, where the label is used for marking Identifying a corresponding idle resource for transmitting a control flow signal between the first chip and the second chip; and transmitting, by using the shortest path, a control flow signal between the first chip and the second chip, And a method for transmitting a control flow signal between the first chip and the second chip by an idle resource that has been marked in the shortest path.
图1为本发明实施例提供的一种数据传输方法的流程示意图;FIG. 1 is a schematic flowchart of a data transmission method according to an embodiment of the present disclosure;
图2为本发明实施例提供的又一种数据传输方法的流程示意图;2 is a schematic flowchart of still another data transmission method according to an embodiment of the present invention;
图3为本发明实施例提供的再一种数据传输方法的流程示意图;FIG. 3 is a schematic flowchart of still another data transmission method according to an embodiment of the present disclosure;
图4为本发明实施例提供的另一种数据传输方法的流程示意图;4 is a schematic flowchart of another data transmission method according to an embodiment of the present invention;
图5为本发明实施例提供的一种数据传输装置的结构示意图;FIG. 5 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present disclosure;
图6为本发明实施例提供的一种数据传输装置的硬件结构示意图。
FIG. 6 is a schematic structural diagram of hardware of a data transmission apparatus according to an embodiment of the present invention.
下面结合说明书附图对本发明实施例作进一步详细描述。应当理解,此处所描述的实施例仅用于说明和解释本发明,并不用于限定本发明。The embodiments of the present invention are further described in detail below with reference to the accompanying drawings. It is to be understood that the embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
在进行系统芯片设计时,需要对系统芯片设计进行验证,采用FPGA原型验证技术搭建FPGA原型验证平台,对系统芯片设计进行验证。对系统芯片进行分割,每一个分割区域在FPGA原型验证平台中对应一个FPGA芯片,FPGA原型验证平台中的各个FPGA芯片之间需要进行数据流传输和控制流传输。In the system chip design, the system chip design needs to be verified, and the FPGA prototype verification platform is built to verify the system chip design. The system chip is divided, and each divided area corresponds to one FPGA chip in the FPGA prototype verification platform, and data flow transmission and control flow transmission are required between each FPGA chip in the FPGA prototype verification platform.
后续实施例以FPGA原型验证平台为例对本发明实施例提供的数据传输方案进行说明,该方案同样适用于其他类型芯片验证平台或芯片。The following describes the data transmission scheme provided by the embodiment of the present invention by taking the FPGA prototype verification platform as an example. The scheme is also applicable to other types of chip verification platforms or chips.
本发明实施例提供了一种数据传输方法,如图1所示,该方法包括以下过程:The embodiment of the invention provides a data transmission method. As shown in FIG. 1 , the method includes the following process:
S11、确定出FPGA原型验证平台中用于传输数据流信号的物理通道。S11. Determine a physical channel for transmitting a data stream signal in the FPGA prototype verification platform.
可选的,确定出FPGA原型验证平台中,任意相邻两个FPGA芯片之间用于传输数据流信号的物理通道。Optionally, a physical channel for transmitting a data stream signal between any two adjacent FPGA chips in the FPGA prototype verification platform is determined.
S12、确定出所述物理通道中存在空闲资源的物理通道,通过所述存在空闲资源的物理通道传输控制流信号。S12. Determine a physical channel that has an idle resource in the physical channel, and transmit a control flow signal by using the physical channel that has an idle resource.
可选的,确定出任意相邻两个FPGA芯片之间用于传输数据流信号的物理通道中存在空闲资源的物理通道。Optionally, a physical channel in which a free resource exists in a physical channel for transmitting a data stream signal between any two adjacent FPGA chips is determined.
可选的,确定出所述物理通道中存在空闲资源的物理通道;确定出FPGA原型验证平台中第一芯片与第二芯片间由所述存在空闲资源的物理通道构成的最短路径;通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号。Optionally, determining a physical path in which the idle resource exists in the physical channel; determining a shortest path between the first chip and the second chip in the FPGA prototype verification platform, where the physical channel having the idle resource exists; The shortest path transmits a control flow signal between the first chip and the second chip.
本发明实施例中,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。In the embodiments of the present invention, it should be understood that in the description of the present application, the terms "first", "second" and the like are used only to distinguish the purpose of description, and are not to be construed as indicating or implying relative importance. It cannot be understood as an indication or an implied order.
举例说明:假设所述FPGA原型验证平台中具有16个FPGA芯片,16
个芯片之间的互联拓扑结构如图2中的实线所示,所述实线表示各FPGA芯片之间用于传输数据流信号的物理通道,从第一芯片至目第二芯片之间由存在空闲资源的物理通道构成的多条路径中,确定出由第一芯片至第二芯片之间由存在空闲资源的物理通道构成的最短路径;For example: Suppose there are 16 FPGA chips in the FPGA prototype verification platform, 16
The interconnection topology between the chips is shown by the solid line in FIG. 2, and the solid line indicates the physical channel between the FPGA chips for transmitting the data stream signal, from the first chip to the second chip. Among the plurality of paths formed by the physical channels having the idle resources, the shortest path formed by the physical channels having the idle resources between the first chip and the second chip is determined;
具体的,假设FPGA芯片1与芯片8之间需要进行控制流信号传输,先确定出芯片1与芯片8可以进行控制流信号传输的路径,假设确定出3条路径可以进行控制流信号传输,如图2中的虚线所示,分别为1>2>6>7>8:表示控制流信号从芯片1流向芯片2,从芯片2流向芯片6,从芯片6流向芯片7,从芯片7流向芯片8;1>2>6>10>11>12>8,表示控制流信号从芯片1流向芯片2,从芯片2流向芯片6,从芯片6流向芯片10,从芯片10流向芯片11,从芯片11流向芯片12,从芯片12流向芯片8;1>5>9>13>14>15>16>12>8,表示控制流信号从芯片1流向芯片5,从芯片5流向芯片9,从芯片9流向芯片14,从芯片14流向芯片15,从芯片15流向芯片16,从芯片16流向芯片12,从芯片12流向芯片8;确定出最短路径为1>2>6>7>8。Specifically, it is assumed that a control flow signal transmission needs to be performed between the FPGA chip 1 and the chip 8, and it is first determined that the path of the control stream signal transmission can be performed by the chip 1 and the chip 8, and it is determined that three paths can be used for control flow signal transmission, such as As indicated by the broken line in FIG. 2, 1>2>6>7>8: respectively indicates that the control flow signal flows from the chip 1 to the chip 2, from the chip 2 to the chip 6, from the chip 6 to the chip 7, and from the chip 7 to the chip. 8; 1>2>6>10>11>12>8, indicating that the control flow signal flows from the chip 1 to the chip 2, from the chip 2 to the chip 6, from the chip 6 to the chip 10, from the chip 10 to the chip 11, and from the chip 11 flows to the chip 12, and flows from the chip 12 to the chip 8; 1>5>9>13>14>15>16>12>8, indicating that the control flow signal flows from the chip 1 to the chip 5, from the chip 5 to the chip 9, and from the chip 9 flows to the chip 14, flows from the chip 14 to the chip 15, flows from the chip 15 to the chip 16, flows from the chip 16 to the chip 12, and flows from the chip 12 to the chip 8. The shortest path is determined to be 1>2>6>7>8.
可选的,所述路径的方向是双向的,通过所述路径既可以从芯片1向芯片8发送数据流信号,也可以从芯片8向芯片1发送数据流信号。Optionally, the direction of the path is bidirectional, and the data stream signal may be sent from the chip 1 to the chip 8 or the data stream signal may be sent from the chip 8 to the chip 1 through the path.
可选的,将所述空闲资源进行分组,本发明实施例中对如何分组不做限定。Optionally, the idle resources are grouped, and the method is not limited in the embodiment of the present invention.
举例说明:假设两个FPGA芯片的物理通道可以传输400个信号,其中,需要300个信号用于传输两个FPGA芯片之间的数据流,确定出可以用于传输控制流信号的空闲资源为100个信号,将所述100个信号分为20组,每组可以用于传输5个控制流信号。For example: Suppose that the physical channels of two FPGA chips can transmit 400 signals. Among them, 300 signals are needed to transmit the data flow between two FPGA chips, and the idle resource that can be used to transmit the control flow signal is 100. The signals are divided into 20 groups, and each group can be used to transmit 5 control stream signals.
本发明实施例中,确定出FPGA原型验证平台中用于传输数据流信号的物理通道;确定出所述物理通道中存在空闲资源的物理通道,通过所述存在空闲资源的物理通道传输控制流信号。通过传输数据流信号的物理通道的空闲资源传输控制流信号,不需要建立专门用于传输控制流信号的物理通道,降低了FPGA原型验证平台的复杂度,从而提高了FPGA原型验证平台的稳
定性。In the embodiment of the present invention, a physical channel for transmitting a data stream signal in the FPGA prototype verification platform is determined; a physical channel having an idle resource in the physical channel is determined, and a control flow signal is transmitted through the physical channel having the idle resource. . The control stream signal is transmitted through the idle resource of the physical channel transmitting the data stream signal, and the physical channel dedicated to transmitting the control stream signal is not required, which reduces the complexity of the FPGA prototype verification platform, thereby improving the stability of the FPGA prototype verification platform.
Qualitative.
本发明实施例中,通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号之前,还包括:In the embodiment of the present invention, before the control flow signal between the first chip and the second chip is transmitted through the shortest path, the method further includes:
对确定出的所述最短路径上包括的物理通道中的空闲资源进行标记,所述标记用于标识对应的空闲资源用于传输所述第一芯片与所述第二芯片之间的控制流信号;And marking the determined idle resource in the physical path included in the shortest path, where the flag is used to identify a corresponding idle resource for transmitting a control flow signal between the first chip and the second chip ;
通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号,包括:Transmitting the control flow signal between the first chip and the second chip by using the shortest path, including:
通过所述最短路径中已经标记的空闲资源传输所述第一芯片与所述第二芯片间的控制流信号。Transmitting a control flow signal between the first chip and the second chip by an idle resource already marked in the shortest path.
举例说明:假设上述路径1>2>6>7>8中,芯片1与芯片2之间的物理通道具有10个空闲资源,从芯片1向芯片8发送控制流信号时,需要使用2个空闲资源,则在所述10个空闲资源中选择2个空闲资源进行标记,已标记的所述2个空闲资源,用于传输从芯片1至芯片8的控制流信号。当所述芯片1与芯片2之间的物理通道还需要传输其它控制流信号时,在所述10个空闲资源中剩余的8个空闲资源中选择空闲资源进行控制流信号传输。For example, assuming that the path 1>2>6>7>8, the physical channel between the chip 1 and the chip 2 has 10 idle resources, and when the control flow signal is sent from the chip 1 to the chip 8, two idles are needed. The resource is selected by selecting two idle resources among the 10 idle resources for marking, and the two idle resources that are marked are used for transmitting control flow signals from the chip 1 to the chip 8. When the physical channel between the chip 1 and the chip 2 also needs to transmit other control flow signals, idle resources are selected among the remaining 8 idle resources of the 10 idle resources for control flow signal transmission.
在本发明实施中,确定出用于传输数据流信号的物理通道,在使用该物理通道传输控制流信号之前,确定该物理通道是否为支持选择复用的物理通道;若该通道为支持选择复用的物理通道,则该物理通道能够使用传输数据流信号以外的空闲资源传输控制流信号。In the implementation of the present invention, a physical channel for transmitting a data stream signal is determined. Before using the physical channel to transmit a control stream signal, determining whether the physical channel is a physical channel supporting selective multiplexing; if the channel is a support selection complex The physical channel used can transmit the control stream signal using idle resources other than the transport stream signal.
具体的,确定出所述物理通道中的任一物理通道是否支持选择复用,包括以下两种实现方式:Specifically, determining whether any physical channel in the physical channel supports selective multiplexing includes the following two implementation manners:
方式一、若所述任一物理通道支持选择复用时,支持选择复用的物理通道能够使用传输数据流信号以外的空闲资源传输控制流信号。Manner 1: If any of the physical channels supports selective multiplexing, the physical channel supporting the selective multiplexing can transmit the control flow signal by using idle resources other than the transmitted data stream signal.
举例说明:两个FPGA芯片之间的物理通道支持选择复用时,当确定出该物理通道具有空闲资源时,该物理通道可以进行控制流数据传输。For example, when the physical channel between two FPGA chips supports selective multiplexing, when it is determined that the physical channel has idle resources, the physical channel can perform control flow data transmission.
方式二、若所述任一物理通选择不复用时,则所述数据流信号使用所述
任一物理通道进行传输,所述控制流信号不能使用所述任一物理通进行传输,所述控制流信号选择其它可复用的物理通道进行传输。 Manner 2, if any of the physical communication options are not multiplexed, then the data flow signal uses the
Any physical channel is transmitted, and the control stream signal cannot be transmitted using any of the physical channels, and the control stream signal selects another reusable physical channel for transmission.
举例说明:两个FPGA芯片之间的物理通道选择不复用时,该物理通道智能用于传输上述两个FPGA芯片之间的数据流信号,即使该物理通道具有空闲资源,该物理通道也不可以进行控制流数据传输,需要选择其它可复用的物理通道进行上述两个FPGA芯片之间的控制流信号的传输。For example, when the physical channel selection between two FPGA chips is not multiplexed, the physical channel is intelligently used to transmit a data stream signal between the two FPGA chips, even if the physical channel has idle resources, the physical channel does not Control stream data transmission can be performed, and other reusable physical channels need to be selected for transmission of control flow signals between the two FPGA chips.
本发明实施例中,从第一芯片向第二芯片发送控制流信号时,存在两种情况:In the embodiment of the present invention, when the control flow signal is sent from the first chip to the second chip, there are two cases:
情况一、第一芯片向第二芯片发送控制流信号时的最短路径为一条物理通道,即第一芯片向第二芯片通过一条物理通道直接连接。以从FPGA1向FPGA2发送控制流信号为例,如图3所示。Case 1: The shortest path when the first chip sends the control flow signal to the second chip is a physical channel, that is, the first chip is directly connected to the second chip through one physical channel. Take the control flow signal from FPGA1 to FPGA2 as an example, as shown in Figure 3.
此种情况下,FPGA1的控制电路301将控制流信号发送给控制流发送引擎302,业务电路303将数据流信号发送给数据流发送引擎304,控制流发送引擎302将接收到的控制流信号发送给复用模块305,数据流发送引擎304将接收到的数据流信号发送给复用模块305,复用模块对上述控制流信号与数据流信号复用后,通过串行虚拟输入输出接口SVIO306发送给FPGA2中的SVIO307,FPGA2中的SVIO307接收到所述复用后的控制流信号与数据流信号后,发送给解复用模块308,该解复用模块308将控制流信号与数据流信号解复用后,分别发送至控制流接收引擎309与数据流接收引擎310,控制流接收引擎309将接收到的控制流信号发送给控制电路311,数据流接收引擎310将接收到的数据流信号发送给业务电路312。In this case, the control circuit 301 of the FPGA 1 transmits a control flow signal to the control flow transmission engine 302, and the service circuit 303 transmits the data flow signal to the data flow transmission engine 304, and the control flow transmission engine 302 transmits the received control flow signal. To the multiplexing module 305, the data stream sending engine 304 sends the received data stream signal to the multiplexing module 305, and the multiplexing module multiplexes the control stream signal and the data stream signal, and then sends the signal through the serial virtual input/output interface SVIO306. The SVIO307 in the FPGA2 receives the multiplexed control stream signal and the data stream signal from the SVIO307 in the FPGA2, and sends the signal to the demultiplexing module 308, which demodulates the control stream signal and the data stream signal. After multiplexing, it is sent to the control flow receiving engine 309 and the data stream receiving engine 310, respectively, and the control flow receiving engine 309 sends the received control flow signal to the control circuit 311, and the data stream receiving engine 310 transmits the received data stream signal. To the business circuit 312.
情况二,第一芯片向第二芯片发送控制流信号时的最短路径为至少两条物理通道,即第一芯片向第二芯片通过至少两条物理通道连接。以从FPGA3向FPGA5发送控制流信号时经过FPGA4为例,如图4所示。In the second case, the shortest path when the first chip sends the control flow signal to the second chip is at least two physical channels, that is, the first chip is connected to the second chip through at least two physical channels. The FPGA 4 is taken as an example when transmitting a control flow signal from the FPGA 3 to the FPGA 5, as shown in FIG. 4 .
此种情况下,FPGA3的控制电路401将控制流信号发送给控制流发送引擎402,业务电路403将数据流信号发送给数据流发送引擎404,控制流发送引擎402将接收到的控制流信号发送给复用模块405,数据流发送引擎404将
接收到的数据流信号发送给复用模块405,复用模块405对上述控制流信号与数据流信号复用后,通过串行虚拟输入输出接口SVIO406发送给FPGA4中的SVIO407,FPGA4中的SVIO407接收到所述复用后的控制流信号与数据流信号后,发送给解复用模块408,该解复用模块408将控制流信号与数据流信号解复用后,分别发送至控制流转发409与数据流接收引擎410,控制流转发409将接收到的控制流信号发送给复用模块411,数据流接收引擎410将接收到的数据流信号发送给业务电路412,FPGA4的业务电路413将数据流信号发送给FPGA4的数据流发送引擎414,FPGA4的数据流发送引擎414将数据流信号发送给复用模块411,复用模块411对上述控制流信号与数据流信号复用后,通过SVIO415发送给FPGA5中的SVIO416,FPGA5中的SVIO416接收到所述复用后的控制流信号与数据流信号后,发送给解复用模块417,该解复用模块417将控制流信号与数据流信号解复用后,分别发送至控制流接收引擎418与数据流接收引擎419,控制流接收引擎418将接收到的控制流信号发送给控制电路420,数据流接收引擎419将接收到的数据流信号发送给业务电路421。In this case, the control circuit 401 of the FPGA 3 transmits a control flow signal to the control flow transmission engine 402, and the service circuit 403 transmits the data flow signal to the data flow transmission engine 404, and the control flow transmission engine 402 transmits the received control flow signal. To the multiplexing module 405, the data stream sending engine 404 will
The received data stream signal is sent to the multiplexing module 405. The multiplexing module 405 multiplexes the control stream signal with the data stream signal, and then sends it to the SVIO407 in the FPGA4 through the serial virtual input/output interface SVIO406, and the SVIO407 in the FPGA4 receives the signal. After the multiplexed control stream signal and the data stream signal are sent to the demultiplexing module 408, the demultiplexing module 408 demultiplexes the control stream signal and the data stream signal, and sends the control stream signal to the control stream forwarding 409. With the data stream receiving engine 410, the control stream forwarding 409 sends the received control stream signal to the multiplexing module 411, and the data stream receiving engine 410 transmits the received data stream signal to the service circuit 412, and the service circuit 413 of the FPGA 4 transmits the data. The stream signal is sent to the data stream sending engine 414 of the FPGA 4, and the data stream sending engine 414 of the FPGA 4 sends the data stream signal to the multiplexing module 411. The multiplexing module 411 multiplexes the control stream signal with the data stream signal and sends it through the SVIO415. After receiving the multiplexed control stream signal and the data stream signal, the SVIO 416 in the FPGA 5 receives the multiplexed control stream signal and the data stream signal, and sends the signal to the demultiplexing module 417. The module 417 demultiplexes the control stream signal and the data stream signal, and sends the control stream signal to the control stream receiving engine 418 and the data stream receiving engine 419, respectively, and the control stream receiving engine 418 sends the received control stream signal to the control circuit 420, the data stream. The receiving engine 419 transmits the received data stream signal to the service circuit 421.
基于同一发明构思,本发明实施例提供的一种数据传输的装置,如图5所示,该装置包括:Based on the same inventive concept, an apparatus for data transmission according to an embodiment of the present invention, as shown in FIG. 5, includes:
确定模块51,用于确定出FPGA原型验证平台中用于传输数据流信号的物理通道。The determining module 51 is configured to determine a physical channel for transmitting a data stream signal in the FPGA prototype verification platform.
处理模块52,用于确定出所述物理通道中存在空闲资源的物理通道,通过所述存在空闲资源的物理通道传输控制流信号。The processing module 52 is configured to determine a physical channel in which the idle resource exists in the physical channel, and transmit the control flow signal by using the physical channel in which the idle resource exists.
本发明实施例中,确定出FPGA原型验证平台中用于传输数据流信号的物理通道;确定出所述物理通道中存在空闲资源的物理通道,通过所述存在空闲资源的物理通道传输控制流信号。通过传输数据流信号的物理通道的空闲资源传输控制流信号,不需要建立专门用于传输控制流信号的物理通道,降低了FPGA原型验证平台的复杂度,从而提高了FPGA原型验证平台的稳定性。
In the embodiment of the present invention, a physical channel for transmitting a data stream signal in the FPGA prototype verification platform is determined; a physical channel having an idle resource in the physical channel is determined, and a control flow signal is transmitted through the physical channel having the idle resource. . The control stream signal is transmitted through the idle resource of the physical channel transmitting the data stream signal, and the physical channel dedicated to transmitting the control stream signal is not required, which reduces the complexity of the FPGA prototype verification platform, thereby improving the stability of the FPGA prototype verification platform. .
可选的,所述确定模块用于:Optionally, the determining module is configured to:
确定出FPGA原型验证平台中,任意相邻两个FPGA芯片之间用于传输数据流信号的物理通道。Determine the physical channel between the adjacent two FPGA chips for transmitting data stream signals in the FPGA prototype verification platform.
可选的,所述处理模块用于:Optionally, the processing module is configured to:
确定出所述物理通道中存在空闲资源的物理通道;Determining a physical channel in which the idle resource exists in the physical channel;
确定出多个FPGA芯片中第一芯片与第二芯片间由所述存在空闲资源的物理通道构成的最短路径;Determining a shortest path formed by the physical channel having the idle resource between the first chip and the second chip among the plurality of FPGA chips;
通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号。Transmitting a control flow signal between the first chip and the second chip through the shortest path.
可选的,所述处理模块还用于:Optionally, the processing module is further configured to:
对确定出的所述最短路径上包括的物理通道中的空闲资源进行标记,所述标记用于标识对应的空闲资源用于传输所述第一芯片与所述第二芯片之间的控制流信号;And marking the determined idle resource in the physical path included in the shortest path, where the flag is used to identify a corresponding idle resource for transmitting a control flow signal between the first chip and the second chip ;
通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号,包括:Transmitting the control flow signal between the first chip and the second chip by using the shortest path, including:
通过所述最短路径中已经标记的空闲资源传输所述第一芯片与所述第二芯片间的控制流信号。Transmitting a control flow signal between the first chip and the second chip by an idle resource already marked in the shortest path.
下面结合优选的硬件结构,对本发明实施例提供的装置的结构、处理方式进行说明。The structure and processing manner of the apparatus provided by the embodiments of the present invention are described below in conjunction with a preferred hardware structure.
本发明实施例提出一种数据传输系统,包括控制器600和FPGA原型验证平台630,所述控制器600包括处理器610、以及与该处理器连接的存储器620,其中:The embodiment of the present invention provides a data transmission system, including a controller 600 and an FPGA prototype verification platform 630. The controller 600 includes a processor 610 and a memory 620 connected to the processor, where:
存储器620,用于存储预设的计算机程序;a memory 620, configured to store a preset computer program;
处理器610,用于读取存储器620中存储的计算机程序,执行下列过程:The processor 610 is configured to read a computer program stored in the memory 620 and perform the following process:
确定出FPGA原型验证平台630中用于传输数据流信号的物理通道;确定出所述物理通道中存在空闲资源的物理通道,通过所述存在空闲资源的物理通道传输控制流信号。A physical channel for transmitting a data stream signal in the FPGA prototype verification platform 630 is determined; a physical channel having an idle resource in the physical channel is determined, and a control flow signal is transmitted through the physical channel in which the idle resource exists.
可选的,处理器610执行下列过程:
Optionally, the processor 610 performs the following processes:
确定出FPGA原型验证平台630中,任意相邻两个FPGA芯片之间用于传输数据流信号的物理通道;Determining a physical channel for transmitting a data stream signal between any two adjacent FPGA chips in the FPGA prototype verification platform 630;
可选的,处理器610执行下列过程:Optionally, the processor 610 performs the following processes:
确定出任意两个芯片间用于传输数据流信号的物理通道中存在空闲资源的物理通道;确定出所述多个芯片中第一芯片与第二芯片间由所述存在空闲资源的物理通道构成的最短路径;通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号。Determining a physical channel in which there is an idle resource in a physical channel for transmitting a data stream signal between any two chips; determining that the first chip and the second chip among the plurality of chips are constituted by the physical channel having the idle resource The shortest path; the control flow signal between the first chip and the second chip is transmitted through the shortest path.
可选的,处理器610还执行下列过程:Optionally, the processor 610 further performs the following processes:
通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号之前,对确定出的所述最短路径上包括的物理通道中的空闲资源进行标记,所述标记用于标识对应的空闲资源用于传输所述第一芯片与所述第二芯片之间的控制流信号;Before the control flow signal between the first chip and the second chip is transmitted through the shortest path, the idle resources in the physical path included in the determined shortest path are marked, and the identifier is used to identify Corresponding idle resources are used to transmit a control flow signal between the first chip and the second chip;
所述处理器610通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号时,用于:通过所述最短路径中已经标记的空闲资源传输所述第一芯片与所述第二芯片间的控制流信号。When the processor 610 transmits the control flow signal between the first chip and the second chip by using the shortest path, the processor 610 is configured to: transmit the first chip by using an idle resource that has been marked in the shortest path Control flow signal between the second chips.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的
装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. To implement the functions specified in one or more blocks of a flow or a flow and/or block diagram of a flowchart
Device.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While the preferred embodiment of the invention has been described, it will be understood that Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。
It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention
Claims (8)
- 一种数据传输方法,其特征在于,该方法包括:A data transmission method, characterized in that the method comprises:确定出多个芯片间用于传输数据流信号的物理通道;Determining a physical channel between the plurality of chips for transmitting a data stream signal;确定出所述物理通道中存在空闲资源的物理通道,通过所述存在空闲资源的物理通道传输控制流信号。Determining a physical channel in which there is an idle resource in the physical channel, and transmitting a control flow signal through the physical channel in which the idle resource exists.
- 如权利要求1所述的方法,其特征在于,确定出多个芯片间用于传输数据流信号的物理通道,包括:The method of claim 1 wherein determining a physical channel for transmitting data stream signals between the plurality of chips comprises:确定出所述多个芯片中任意两个芯片间用于传输数据流信号的物理通道。A physical channel for transmitting a data stream signal between any two of the plurality of chips is determined.
- 如权利要求1所述的方法,其特征在于,确定出所述物理通道中存在空闲资源的物理通道,通过所述存在空闲资源的物理通道传输控制流信号,包括:The method according to claim 1, wherein the physical channel in which the idle resource exists in the physical channel is determined, and the control flow signal is transmitted through the physical channel in which the idle resource exists, including:确定出所述物理通道中存在空闲资源的物理通道;Determining a physical channel in which the idle resource exists in the physical channel;确定出所述多个芯片中第一芯片与第二芯片间由所述存在空闲资源的物理通道构成的最短路径;Determining a shortest path between the first chip and the second chip among the plurality of chips, the physical channel having the idle resource;通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号。Transmitting a control flow signal between the first chip and the second chip through the shortest path.
- 如权利要求3所述的方法,其特征在于,通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号之前,还包括:The method of claim 3, wherein before the transmitting the control flow signal between the first chip and the second chip by using the shortest path, the method further includes:对确定出的所述最短路径上包括的物理通道中的空闲资源进行标记,所述标记用于标识对应的空闲资源用于传输所述第一芯片与所述第二芯片之间的控制流信号;And marking the determined idle resource in the physical path included in the shortest path, where the flag is used to identify a corresponding idle resource for transmitting a control flow signal between the first chip and the second chip ;通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号,包括:Transmitting the control flow signal between the first chip and the second chip by using the shortest path, including:通过所述最短路径中已经标记的空闲资源传输所述第一芯片与所述第二芯片间的控制流信号。Transmitting a control flow signal between the first chip and the second chip by an idle resource already marked in the shortest path.
- 一种数据传输装置,其特征在于,该装置包括: A data transmission device, characterized in that the device comprises:确定模块,用于确定出多个芯片间用于传输数据流信号的物理通道;a determining module, configured to determine a physical channel between the plurality of chips for transmitting the data stream signal;处理模块,用于确定出所述物理通道中存在空闲资源的物理通道,通过所述存在空闲资源的物理通道传输控制流信号。The processing module is configured to determine a physical channel in which the idle resource exists in the physical channel, and transmit the control flow signal by using the physical channel in which the idle resource exists.
- 如权利要求5所述的装置,其特征在于,所述确定模块用于:The apparatus of claim 5 wherein said determining module is for:确定出所述多个芯片中任意两个芯片间用于传输数据流信号的物理通道;Determining a physical channel for transmitting a data stream signal between any two of the plurality of chips;
- 如权利要求5所述的装置,其特征在于,所述处理模块用于:The apparatus of claim 5 wherein said processing module is operative to:确定出所述物理通道中存在空闲资源的物理通道;Determining a physical channel in which the idle resource exists in the physical channel;确定出所述多个芯片中第一芯片与第二芯片间由所述存在空闲资源的物理通道构成的最短路径;Determining a shortest path between the first chip and the second chip among the plurality of chips, the physical channel having the idle resource;通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号。Transmitting a control flow signal between the first chip and the second chip through the shortest path.
- 如权利要求7所述的装置,其特征在于,所述处理模块还用于:The device according to claim 7, wherein the processing module is further configured to:通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号之前,对确定出的所述最短路径上包括的物理通道中的空闲资源进行标记,所述标记用于标识对应的空闲资源用于传输所述第一芯片与所述第二芯片之间的控制流信号;Before the control flow signal between the first chip and the second chip is transmitted through the shortest path, the idle resources in the physical path included in the determined shortest path are marked, and the identifier is used to identify Corresponding idle resources are used to transmit a control flow signal between the first chip and the second chip;所述处理模块通过所述最短路径传输所述第一芯片与所述第二芯片间的控制流信号时,用于:When the processing module transmits the control flow signal between the first chip and the second chip by using the shortest path, the processing module is configured to:通过所述最短路径中已经标记的空闲资源传输所述第一芯片与所述第二芯片间的控制流信号。 Transmitting a control flow signal between the first chip and the second chip by an idle resource already marked in the shortest path.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/097384 WO2018039928A1 (en) | 2016-08-30 | 2016-08-30 | Data transmission method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/097384 WO2018039928A1 (en) | 2016-08-30 | 2016-08-30 | Data transmission method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018039928A1 true WO2018039928A1 (en) | 2018-03-08 |
Family
ID=61299565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/097384 WO2018039928A1 (en) | 2016-08-30 | 2016-08-30 | Data transmission method and apparatus |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2018039928A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100189025A1 (en) * | 2009-01-23 | 2010-07-29 | National Taiwan University Of Science And Technology | Method and apparatus for receiving feedback corresponding to multicast broadcast service |
CN101833502A (en) * | 2010-04-15 | 2010-09-15 | 上海华为技术有限公司 | ASIC (Application Specific Integrated Circuit) chip verification method and programmable gate array |
CN103986984A (en) * | 2014-04-17 | 2014-08-13 | 上海电控研究所 | Access node device and system based on gigabit-Ethernet passive optical network |
CN104158822A (en) * | 2014-08-29 | 2014-11-19 | 中国航空无线电电子研究所 | Point-to-point transmission system of optical fiber links based on dual-channel binding and transmission method |
CN105516288A (en) * | 2015-12-01 | 2016-04-20 | 盛科网络(苏州)有限公司 | Architecture for extending physical ports with single Serdes, control method and control system thereof |
-
2016
- 2016-08-30 WO PCT/CN2016/097384 patent/WO2018039928A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100189025A1 (en) * | 2009-01-23 | 2010-07-29 | National Taiwan University Of Science And Technology | Method and apparatus for receiving feedback corresponding to multicast broadcast service |
CN101833502A (en) * | 2010-04-15 | 2010-09-15 | 上海华为技术有限公司 | ASIC (Application Specific Integrated Circuit) chip verification method and programmable gate array |
CN103986984A (en) * | 2014-04-17 | 2014-08-13 | 上海电控研究所 | Access node device and system based on gigabit-Ethernet passive optical network |
CN104158822A (en) * | 2014-08-29 | 2014-11-19 | 中国航空无线电电子研究所 | Point-to-point transmission system of optical fiber links based on dual-channel binding and transmission method |
CN105516288A (en) * | 2015-12-01 | 2016-04-20 | 盛科网络(苏州)有限公司 | Architecture for extending physical ports with single Serdes, control method and control system thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190156180A1 (en) | Neural network device | |
RU2016120768A (en) | IMPROVEMENT OF PCI EXPRESS INTERFACE | |
EP3238386B1 (en) | Apparatus and method for routing data in a switch | |
CN112835695B (en) | Method for communication between Pod and distributed computing system | |
CN102207956A (en) | Database management method, database management system and program thereof | |
CN103166845A (en) | Data processing method and device | |
CN104811431A (en) | Data packet processing method and device based on parallel protocol stack instance | |
US20200235815A1 (en) | Methods and sysems for reconfigurable network topologies | |
WO2018039928A1 (en) | Data transmission method and apparatus | |
US10552354B2 (en) | Managing starvation in a distributed arbitration scheme | |
CN107566543A (en) | A kind of node identification method to set up and device | |
US8144606B1 (en) | Interfacing messages between a host and a network | |
CN107229476B (en) | Data volume-based application program packaging method and device | |
CN109976902B (en) | Task processing method, system, electronic device and computer readable medium | |
CN103106174A (en) | Complex system on-chip (SOC) communication method | |
CN105681185B (en) | A kind of protection switching method and protection switching device | |
JP2010103648A (en) | Gateway device and gateway method | |
CN105162725B (en) | A kind of method and device pre-processed to protocol processes assembly line message address | |
CN111106954B (en) | Map-based topological node display method and device | |
TW200424841A (en) | System and method for error capture and logging in computer systems | |
CN103825842A (en) | Data flow processing method and device for multi-CPU system | |
CN105701055A (en) | Electronic device and data transmission method thereof | |
JPWO2021038795A5 (en) | ||
CN113691434B (en) | Data transmission system, method, electronic device, and storage medium | |
CN107609008A (en) | A kind of data importing device and method from relevant database to Kafka based on Apache Sqoop |
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: 16914495 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16914495 Country of ref document: EP Kind code of ref document: A1 |