WO2016192211A1 - Device and method for sending inter-chip interconnection, device and method for receiving inter-chip interconnection, and system - Google Patents
Device and method for sending inter-chip interconnection, device and method for receiving inter-chip interconnection, and system Download PDFInfo
- Publication number
- WO2016192211A1 WO2016192211A1 PCT/CN2015/087690 CN2015087690W WO2016192211A1 WO 2016192211 A1 WO2016192211 A1 WO 2016192211A1 CN 2015087690 W CN2015087690 W CN 2015087690W WO 2016192211 A1 WO2016192211 A1 WO 2016192211A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- inter
- processor
- conversion circuit
- bit
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations 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/163—Interprocessor communication
Definitions
- the present invention relates to the field of integrated circuit technologies, and in particular, to a transmitting and receiving device for inter-chip interconnection, and a transmitting and receiving method and system.
- SOC System On Chip
- ICs integrated circuits
- IS integrated systems
- the SOC usually uses an FPGA (Field-Programmable Gate Array) to customize the logic function module. Therefore, the FPGA function verification must be performed during the SOC development process. However, as the SOC logic size becomes larger and larger, it is difficult for a single FPGA to realize the function of the entire SOC. Therefore, in FPGA verification, functional division must be performed, and the functions of the SOC are separately verified in two or more FPGAs.
- FPGA Field-Programmable Gate Array
- the SOC function is realized by two FPGA interconnections of FPGA_1 and FPGA_2, and at this time, FPGA_1 and FPGA_2 are directly interconnected. If you need to send the i-bit signal (Signal_1 to Signal_i) from FPGA_1 to FPGA_2, you need to send the i-bit signal through i pins, and FPGA_2 also needs i pins to receive the i-bit signal. At this time, i pins are required in both FPGA_1 and FPGA_2, as shown in Figure 1.
- Embodiments of the present invention provide a method and system for transmitting and receiving an inter-chip interconnect, and a transmitting and receiving method, and a system for reducing a used pin and reducing a signal connected between at least two FPGAs when inter-chip interconnection is implemented.
- the complexity of the traces of the lines which in turn reduces the complexity of inter-chip interconnects.
- an embodiment of the present invention provides an apparatus for transmitting inter-chip interconnection, including: a parallel-serial data conversion circuit, at least one transmission pin; an output end of the parallel-serial data conversion circuit and the at least one transmission lead a pin connection; an input end of the parallel data conversion circuit is coupled to the data transmission processor; and the parallel data conversion circuit is configured to acquire n-bit parallel data from the data transmission processor according to a vld/rdy handshake protocol Converting the n-bit parallel data into m-bit transmission data, and transmitting the m-bit transmission data to the receiving device of the inter-chip interconnect through the m transmit pins according to the vld/rdy handshake protocol; n is an integer greater than 1, and m is an integer greater than 0 and less than n.
- an embodiment of the present invention provides a receiving device for inter-chip interconnection, including: at least one receiving pin, a serial-to-parallel data conversion circuit; an input end of the serial-to-parallel data conversion circuit and the at least one receiving lead a pin connection, an output end of the serial-to-parallel data conversion circuit is connected to a data processor; the serial-to-parallel data conversion circuit is configured to acquire an inter-chip interconnection transmitting device through m receiving pins according to a vld/rdy handshake protocol Transmitted m-bit transmission data, converting the m-bit transmission data into n-bit parallel Data, and transmitting the n-bit parallel data to a data processor according to a vld/rdy handshake protocol; the m is an integer greater than 0; the n is an integer greater than m.
- an embodiment of the present invention provides a method for transmitting an inter-chip interconnect, including: an inter-chip interconnecting transmitting device acquires n-bit parallel data according to a vld/rdy handshake protocol; the n is an integer greater than 1; The n-bit parallel data is converted into m-bit transmission data; the m is an integer greater than 0 and less than n; and the m-bit transmission data is sent to the m transmit pins according to the vld/rdy handshake protocol to Receiver for inter-chip interconnection.
- an embodiment of the present invention provides a method for receiving an inter-chip interconnection, including: receiving, by an inter-chip interconnect, an m-bit transmitted by a transmitting device of an inter-chip interconnect through m receiving pins according to a vld/rdy handshake protocol. Transmitting data; the m is an integer greater than 0; converting the m-bit transmission data into n-bit parallel data, and transmitting the n-bit parallel data to the data processing according to the vld/rdy handshake protocol And causing the data processor to process the n-bit parallel data; the n is an integer greater than m.
- an embodiment of the present invention provides a system for inter-chip interconnection, including: a device for transmitting inter-chip interconnection, and a receiving device for inter-chip interconnection; wherein the transmitting device for inter-chip interconnection is the above embodiment
- the transmitting device for inter-chip interconnection; the receiving device for inter-chip interconnection is the receiving device for inter-chip interconnection described in the above embodiment.
- the embodiment of the invention provides a transmitting and receiving device for inter-chip interconnection, a transmitting and receiving method and a system, and a transmitting device for inter-chip interconnection includes: a parallel data conversion circuit, at least one transmitting pin; wherein, parallel data conversion The input of the circuit is coupled to the data transmitting processor, and the output of the serial data conversion circuit is coupled to at least one of the transmit pins.
- a parallel data conversion circuit for acquiring n-bit parallel data from the data transmission processor according to the vld/rdy handshake protocol, converting n-bit parallel data into m-bit transmission data, and m according to the vld/rdy handshake protocol
- the bit transfer data is sent to the receiving device of the inter-chip interconnect via m transmit pins.
- the transmitting device for inter-chip interconnection can convert the n-bit parallel data to be transmitted to the m-bit transmission data through the parallel-serial data conversion circuit, and further, the m-bit transmission data can be transmitted to the slice by only m transmission pins. Interconnected receiving device.
- the transmitting device for inter-chip interconnection needs n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection.
- the data can be transmitted only by requiring m transmit pins, thereby reducing the use of pins when inter-chip interconnection is implemented, thereby reducing the complexity of the traces of the signal lines connected between at least two FPGAs. This reduces the complexity of inter-chip interconnects.
- FIG. 1 is a schematic structural diagram of interconnection between FPGAs in the prior art
- FIG. 2 is a schematic structural diagram of a device for transmitting inter-chip interconnection according to an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of another apparatus for transmitting inter-chip interconnection according to an embodiment of the present disclosure
- FIG. 4 is a schematic structural diagram of another apparatus for transmitting inter-chip interconnection according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of another apparatus for transmitting inter-chip interconnection according to an embodiment of the present disclosure
- FIG. 6 is a schematic structural diagram of a receiving device for inter-chip interconnection according to an embodiment of the present disclosure
- FIG. 7 is a schematic structural diagram of another apparatus for receiving inter-chip interconnection according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of another apparatus for receiving inter-chip interconnection according to an embodiment of the present disclosure.
- FIG. 9 is a schematic flowchart of a method for sending inter-chip interconnection according to an embodiment of the present disclosure.
- FIG. 10 is a schematic flowchart diagram of a method for receiving inter-chip interconnection according to an embodiment of the present disclosure
- FIG. 11 is a schematic structural diagram of a system for inter-chip interconnection according to an embodiment of the present invention.
- An embodiment of the present invention provides a transmitting device for inter-chip interconnection. As shown in FIG. 2, the present invention includes: a parallel data conversion circuit 11 and at least one transmitting pin 12.
- the output of the parallel data conversion circuit 11 is connected to at least one of the transmission pins 12.
- the input of the parallel data conversion circuit 11 is connected to a data transmission processor.
- the parallel data conversion circuit 11 is configured to acquire n-bit parallel data from the data transmission processor according to the vld/rdy handshake protocol, and convert the n-bit parallel data into m-bit transmission data, and according to the vld/rdy handshake protocol
- the m-bit transmission data is transmitted through m transmission pins 12 to the inter-chip interconnected receiving device.
- n is an integer greater than one.
- m is an integer greater than 0 and less than n.
- the parallel data in the embodiment of the present invention refers to data including data to be processed, and/or control data, and/or address data.
- Transmission data also refers to data containing data to be processed, and/or control data, and/or address data.
- n-bit parallel data can be generated according to actual needs.
- This n-bit parallel data is sent to the inter-chip interconnected transmitting device.
- the parallel-serial data conversion circuit 11 in the inter-chip interconnection transmitting apparatus can determine the number of bits of the transmission data based on the number of transmission pins that can be used by the inter-chip interconnection transmitting apparatus, that is, determine m.
- the n-bit parallel data is divided into k groups, each group of m bits, so that each group of data is used as transmission data, and n-bit parallel data can be converted into m-bit transmission data, and the m-bit transmission data is transmitted through m transmissions.
- the foot is sent to the receiving device of the inter-chip interconnection.
- the transmission data can be adjusted according to the transmit pin data that can be used, so that the adjusted transmission data is sent through the transmit pin that can be used.
- Send enhance the flexibility of inter-chip interconnection, thus reducing the complexity of inter-chip interconnection.
- k is an integer greater than zero.
- n-bit parallel data is divided into k groups and each group is m bits
- the last group can be processed by zero-padding. Fill in the m position by zero padding.
- the components are usually connected by an on-chip bus, that is, the data transmitting processor is connected to the parallel-serial data conversion circuit 11 through the on-chip bus.
- the protocol of the on-chip bus for example, AXI (Advanced eXtensible Interface) protocol, APB (Advanced Peripheral Bus) protocol, etc.
- AXI Advanced eXtensible Interface
- APB Advanced Peripheral Bus
- the vld (valid, valid) / rdy (ready) handshake protocol is a protocol for transmitting the respective current states of each other before the data is transmitted by different components.
- the vld/rdy handshake protocol is a protocol compatible with the on-chip bus protocol.
- the vrd_s signal is mainly transmitted, and the rdy_s signals transmit their respective current states to each other and perform data transmission through the data channel.
- the vld_s signal is an identification signal of whether the data sent by the sending end is valid data. For example, when the vld_s signal is 1, it indicates that the data sent by the sender is valid data. When the vld_s signal is 0, it means that the data sent by the sender is invalid data.
- the rdy_s signal is an identification signal of whether the receiving end can receive the transmitted data. For example, when the rdy_s signal is 1, it means that the receiving end can receive the transmitted data. When the rdy_s signal is 0, it means that the receiving end cannot receive the transmitted data.
- Data channel for transferring data That is to say, the data to be transmitted is transmitted to other components through this data channel.
- the last_s signal can also be passed in the vld/rdy handshake protocol.
- the last_s signal is the last data indication identification signal of a transmission. Since one transmission can transmit a plurality of data, and the last data is identified by the signal, the data of the last_s signal carried by the receiving device data can be notified to be the last data, and the transmission of the current data is completed. In this way, the internal states of the synchronous transmitting device and the receiving device that can be interconnected between the chips are provided. The stability of the transmission.
- last_s signal is an optional signal, and in the vld/rdy handshake protocol, there may be no last_s signal, which can reduce the occupied transmit pin.
- the vld_s signal, the rdy_s signal and the last_s signal in the vld/rdy handshake protocol need to be transmitted using a different transmit pin than the transmitted data.
- the inter-chip interconnected transmitting device needs to use the m-bit transmit pin to transmit the transmitted data, the other three transmit pins are required to transmit the vld_s signal, the rdy_s signal, and the last_s signal.
- the parallel data conversion circuit is configured to acquire n-bit parallel data from the data transmission processor according to the vld/rdy handshake protocol. That is, the parallel data conversion circuit 11 receives the n-bit parallel data transmitted by the data transmission processor, and first receives the vld_s sent by the data transmission processor to the parallel data conversion circuit 11 indicating that the data transmitted by the transmitting end is valid data. The signal, at this time, after the parallel data conversion circuit 11 receives the vld_s signal, it can learn from the vld_s signal that the data sent by the data transmission processor is valid data.
- the parallel data conversion circuit 11 transmits to the data transmission processor a rdy_s signal indicating that the receiving end can receive the transmitted data.
- the rdy_s signal can be used to know that the parallel data conversion circuit 11 can receive the transmitted data.
- the data transmission processor can pass the data channel. The n-bit parallel data is sent to the parallel-serial data conversion circuit 11.
- the parallel data conversion circuit 11 After receiving the n-bit parallel data, the parallel data conversion circuit 11 changes the rdy_s signal sent by the data transmission processor to the receiving end to receive the transmitted data to a rdy_s signal indicating that the receiving end cannot receive the transmitted data, and transmits To the data sending processor. At this time, the data transmission processor knows from the received rdy_s signal that the parallel data conversion circuit 11 cannot receive the parallel data, and at this time, the data transmission processor no longer transmits the data to the parallel data conversion circuit 11. After the parallel data conversion circuit 11 transmits data to the n-bit parallel data, it can be divided into k groups of m bits each.
- the parallel data conversion circuit 11 transmits the m-bit transmission data to the receiving device connected to the inter-chip via the m transmission pins 12 according to the vld/rdy handshake protocol. That is, the parallel data conversion circuit 11 transmits the m-bit transmission data to the m transmission pins to Before the inter-chip interconnected receiving device, the receiving device that communicates to the inter-chip interconnect through a transmitting pin first indicates that the data sent by the transmitting end is the vld_s signal of the valid data, and the receiving device that receives the inter-chip interconnect receives the vld_s signal. Thereafter, the data transmitted to the parallel data conversion circuit 11 can be known as valid data based on the vld_s signal.
- the parallel data conversion circuit 11 transmits a rdy_s signal indicating that the receiving end can receive the transmitted data.
- the parallel data conversion circuit 11 transmits a set of transmission data to the receiving device connected to the inter-chip when the rdy of the receiving device connected to the inter-chip is instructed to receive the transmitted data until the k-group transmission data is transmitted to the slice. Interconnected receiving device.
- the parallel data conversion circuit 11 may generate a last signal when transmitting the last set of transmission data, to characterize the data as the last transmission data, and send it together with the last group of transmission data to the receiving device of the inter-chip interconnection. At this time, it is necessary to transmit data to m bits through m transmit pins, and send the last signal through another transmit pin.
- the parallel data conversion circuit 11 can transmit the k sets of transmission data to the receiving device of the inter-chip interconnection through the m transmission pins, and can change the rdy_s signal transmitted to the data transmission processor indicating that the receiving end cannot receive the transmitted data. For example, the rdy_s signal indicating that the receiving end can receive the transmitted data is sent to the data transmitting processor.
- the vld_s signal when the vld_s signal is a high level signal indicating that the data transmitted by the transmitting end is valid data, the vld_s signal received by the parallel data converting circuit 11 is a high level signal.
- the rdy_s signal is a high level signal indicating that the receiving end can receive the transmitted data, the rdy_s signal received by the data transmitting processor is a high level signal.
- the vld_s signal may also indicate that the data sent by the transmitting end is valid data by other signals, for example, by a low level signal, which is not limited by the present invention.
- the rdy_s signal can also indicate that the receiving end can receive the transmitted data through other signals, for example, by using a low level signal, which is not limited by the present invention.
- the vld_s signal indicating that the data sent by the transmitting end is valid data may be the same signal as the rdy_s signal indicating that the receiving end can receive the transmitted data, and may be different signals, for example, the vld_s signal passes the low level.
- Signal The data sent by the transmitting end is indicated as valid data, and the rdy_s signal indicates that the receiving end can receive the transmitted data through a high level signal.
- the invention is not limited thereto.
- the parallel data conversion circuit 11 can know the data transmission processing according to the received vld_s signal.
- the data to be transmitted by the device is invalid data, so the parallel data conversion circuit 11 does not process the data transmitted by the data transmission processor.
- the parallel data conversion circuit 11 sends a rdy_s signal indicating that the receiving end cannot receive the transmitted data to the data transmission processor, the data transmission processor can know that the parallel data conversion circuit 11 cannot receive the transmitted data according to the received rdy_s signal. Therefore, the data transmitting processor no longer transmits the parallel data to the parallel data conversion circuit 11.
- n of the n-bit parallel data is predetermined. It is related to the on-chip bus used.
- the width of the transmission data can be determined based on the number of transmission pins that can be used by the inter-chip interconnecting device and the number of receiving pins that can be used by the inter-chip interconnected receiving device. If only six pins are available for the inter-chip interconnecting device and eight pins are available for the inter-chip interconnecting device, the two pins in the inter-chip interconnecting device can be used as the transmitting vld_s signal.
- the inter-chip interconnecting transmitting apparatus can use 128 to 4 parallel-serial data converting circuits 11 to convert 128-bit parallel data into parallel 4-bit transfer data by the parallel-serial data converting circuit 11, and transmit it to the 4-bit transmitting pin through four transmitting pins.
- Receiver for inter-chip interconnection The receiving device to the inter-chip interconnect can use a pin as a receiving pin for receiving the vld_s signal, and receive the vld_s signal sent by the transmitting device of the inter-chip interconnect through the receiving pin.
- the other pin is used as a transmit pin for transmitting the rdy_s signal, and the rDY_s signal is sent to the inter-chip interconnecting device through the transmit pin.
- the rDY_s signal is sent to the inter-chip interconnecting device through the transmit pin.
- four pins are selected as receive pins for receiving transmission data.
- the transmitting device for inter-chip interconnection further includes: Asynchronous FIFO (First Input First Out, first in first out) processor 13.
- Asynchronous FIFO First Input First Out, first in first out
- the input of the parallel data conversion circuit 11 and the data transmission processor include: the input of the asynchronous FIFO processor 13 is connected to the data transmission processor, the output of the asynchronous FIFO processor 13 and the input of the parallel data conversion circuit 11 connection.
- the asynchronous FIFO processor 13 is configured to acquire and store n bits of parallel data from the data transmitting processor.
- the parallel data conversion circuit 11 is specifically configured to acquire n-bit parallel data from the asynchronous FIFO processor 13 according to the vld/rdy handshake protocol.
- the asynchronous FIFO processor 13 is disposed between the data transmitting processor and the parallel data conversion 12, and the data transmitting processor can send the generated n-bit parallel data to the asynchronous FIFO processor 13, and the asynchronous FIFO processor 13 Store. And, the parallel data conversion 12 acquires n-bit parallel data to be converted from the asynchronous FIFO processor 13.
- the data transmission processor is spaced apart from the parallel data conversion 12 by the asynchronous FIFO processor 13, and the operation clock frequency of the data transmission processor and the parallel data conversion circuit 11 can be different.
- the data transmission rate of the data transmission processor and the parallel data conversion circuit 11 can be different, so that the data transmission rate of the parallel data conversion circuit 11 and the subsequent stage processor can be improved, thereby improving the efficiency of data transmission;
- the transmission processor is out of synchronization with the running clock frequency of the parallel data conversion circuit 11, and the operating clock frequency of the parallel data conversion circuit 11 can be dynamically adjusted according to the frequency actually supported by the transmission pin, and the flexibility and reliability are also improved.
- the parallel data conversion circuit 11 acquires n-bit parallel data according to the vld/rdy handshake protocol, meaning that the parallel data conversion circuit 11 acquires n-bit parallel data from the asynchronous FIFO processor 13 in accordance with the vld/rdy handshake protocol. That is, before the asynchronous FIFO processor 13 transmits n-bit parallel data to the parallel-to-serial data conversion circuit 11, the parallel data conversion circuit 11 first transmits a vld_s signal indicating that the data transmitted by the transmitting end is valid data, and After receiving the vld_s signal, the string data conversion circuit 11 can learn from the vld_s signal that the data sent to it by the asynchronous FIFO processor 13 is valid data.
- the parallel-serial data conversion circuit 11 can receive the valid data transmitted from the asynchronous FIFO processor 13, the parallel-serial data conversion circuit 11 transmits to the asynchronous FIFO processor 13 a rdy_s signal indicating that the receiving end can receive the transmitted data.
- the asynchronous FIFO processor 13 can learn that the parallel data conversion circuit 11 can receive the transmitted data according to the rdy_s signal.
- the asynchronous FIFO processor 13 can pass the data channel.
- the n-bit parallel data is sent to the parallel-serial data conversion circuit 11, and the parallel-serial data conversion circuit 11 acquires n-bit parallel data to be converted from the asynchronous FIFO processor 13.
- the asynchronous FIFO processor 13 acquires n-bit parallel data from the data transmitting processor, it can also be acquired according to the vld/rdy handshake protocol.
- the data transmitting processor Before transmitting the n-bit parallel data to the asynchronous FIFO processor 13, the data transmitting processor first sends a vld_s signal indicating that the data sent by the transmitting end is valid data to the asynchronous FIFO processor 13, and the asynchronous FIFO processor 13 receives the data. After the vld_s signal, the data sent by the data sending processor to the vld_s signal can be known as valid data.
- the asynchronous FIFO processor 13 sends a rdy_s signal to the data transmitting processor indicating that the receiving end can receive the transmitted data.
- the data transmitting processor receives the rdy_s signal sent by the asynchronous FIFO processor 13
- the n-bit parallel data is sent to the asynchronous FIFO processor 13 through the data channel.
- the data sending processor in the embodiment of the present invention may be a processor integrated in the transmitting device of the inter-chip interconnect, or may be a processor independent of the inter-chip interconnecting transmitting device, which is not Make restrictions.
- transposition of the inter-chip interconnect further includes: a synchronous FIFO processor 14.
- the output of the parallel data conversion circuit 11 and the at least one transmit pin 12 are connected to include:
- the input of the synchronous FIFO processor 14 is coupled to the output of the parallel data conversion circuit 11, and the output of the synchronous FIFO processor 14 is coupled to at least one of the transmit pins 12.
- the parallel data conversion circuit 11 is specifically configured to transmit the m-bit transmission data to the synchronous FIFO processor 14 according to the vld/rdy handshake protocol.
- the synchronous FIFO processor 14 is configured to receive and store m-bit transmission data, and send the m-bit transmission data through the m transmission pins 12 according to the vld/rdy handshake protocol. Receiver to inter-chip interconnect.
- the synchronous FIFO processor 14 is disposed between the parallel data conversion circuit 11 and the transmission pin 12, and the serial data conversion circuit 11 can transmit the converted m-bit transmission data to the synchronous FIFO processor 14, by synchronization.
- the FIFO processor 14 performs storage. And when the transmission data can be transmitted through the transmission pin 12, the synchronous FIFO processor 14 transmits its stored m-bit transmission data to the receiving device of the inter-chip interconnection through the m transmission pins 12.
- the parallel data conversion circuit 11 is spaced apart from the transmission pin 12 by the synchronous FIFO processor 14, so that the data transmission rate can be improved.
- the synchronous FIFO processor 14 transmits the m-bit transmission data to the receiving device of the inter-chip interconnect through the m transmitting pins 12 according to the vld/rdy handshake protocol, that is, the synchronous FIFO processor 14 transmits the inter-chip interconnected receiving device.
- the vld_s signal indicating that the data sent by the transmitting end is valid data is sent to the receiving device connected to the inter-chip.
- the inter-chip interconnecting receiving device can learn according to the vld_s signal.
- the data sent to it by the synchronous FIFO processor 14 is valid data.
- the receiving device of the inter-chip interconnection transmits to the synchronous FIFO processor 14 a rdy_s signal indicating that the receiving end can receive the transmitted data.
- the rdy_s signal can be used to learn that the receiving device of the inter-chip interconnect can receive the transmitted data.
- the synchronous FIFO processor 14 can pass the m. Transmit pins 12 transmit m-bit transmission data to the receiving device of the inter-chip interconnect.
- the rdy_s signal used by the receiving device of the inter-chip interconnect is directly transmitted to the parallel data conversion circuit 11.
- the delay time of the rdy_s signal from the receiving device of the inter-chip interconnection to the parallel data conversion circuit 11 is relatively large, and the running clock frequency is small, that is, the running clock period is large to ensure that the rdy_s signal arrives and the data is converted in one cycle. Circuit 11, the data transmission rate is low.
- the delay time of the rdy_s signal is directly transmitted from the receiving device of the inter-chip interconnect to the synchronous FIFO processor 14, with respect to the rdy_s signal from the receiving device connected to the chip to the parallel data conversion circuit.
- the delay time of 11 is reduced; at the same time, the synchronous FIFO processor 14 regenerates the rdy_s signal to the parallel data conversion circuit 11, from the synchronous FIFO processor 14 to the parallel data conversion circuit 11.
- the time delay relative to the rdy_s signal from the receiving device connected to the parallel data conversion circuit 11 is also reduced, so that the clock frequency is operated at this time, from the receiving device connected to the inter-chip to the rdy_s signal.
- the operating clock frequency at the time of the string data conversion circuit 11 is increased, that is, the running clock period is reduced, so that the data transfer rate is improved by the synchronous FIFO processor 14.
- the parallel data conversion circuit 11 sends the converted m-bit transmission data to the synchronous FIFO processor 14 according to the vld/rdy handshake protocol, that is, the parallel data conversion circuit 11 sends the data to the synchronous FIFO processor 14.
- the synchronous FIFO processor 14 Before transmitting the m-bit data, the synchronous FIFO processor 14 first sends a vld_s signal indicating that the data sent by the transmitting end is valid data. After receiving the vld_s signal, the synchronous FIFO processor 14 can learn and serialize the vld_s signal according to the vld_s signal. The data to which the data conversion circuit 11 transmits is valid data.
- the synchronous FIFO processor 14 transmits to the parallel data conversion circuit 11 a rdy_s signal indicating that the receiving end can receive the transmitted data.
- the parallel data conversion circuit 11 receives the rdy_s signal sent by the synchronous FIFO processor 14, the rdy_s signal can be used to know that the synchronous FIFO processor 14 can receive the transmitted data.
- the parallel data conversion circuit 11 can pass the data.
- the channel transmits the m-bit transmission data to the synchronous FIFO processor 14.
- the transmitting device for inter-chip interconnection described above further includes an IOP (I/O Processor) 15 as shown in FIG. 5.
- IOP I/O Processor
- the output of the synchronous FIFO processor 14 is coupled to the at least one transmit pin 12.
- the output of the synchronous FIFO processor 14 is coupled to the input of the IOP 15, and the output of the IOP 15 is coupled to at least one transmit pin 12.
- the synchronous FIFO processor 14 is specifically configured to send m-bit transmission data to the IOP 15 according to the vld/rdy handshake protocol.
- the IOP 15 is configured to receive m bits of transmission data and transmit the m bits of transmission data to the receiving devices of the inter-chip interconnect using the m transmit pins 12.
- the IOP 15 is disposed between the synchronous FIFO processor 14 and the at least one transmit pin 12, such that the IOP 15 can fetch the m-bit transfer data from the synchronous FIFO processor 14, and when the inter-chip interconnected receiving device can receive the transmitted data, m send Pin 12 is sent to the receiving device of the inter-chip interconnect.
- the synchronous FIFO processor 14 transmits the m-bit transmission data to the m transmission pins 12, since the synchronous FIFO processor 14 needs to perform related logic processing therein, it is transmitted to the m transmission pins 12, which causes synchronization.
- the FIFO processor 14 sends the transmission data to the m transmit pins 12 for a large delay time, and the running clock frequency is small, that is, the running clock period is large to ensure that the m-bit transmission data is transmitted to the m in one cycle. Transmit pin 12, which results in a lower data transfer rate.
- the IOP 15 is disposed between the synchronous FIFO processor 14 and the at least one transmit pin 12, and the synchronous FIFO processor 14 can send the m-bit transfer data to the IOP 15 delay time first, with respect to the synchronous FIFO processor 14 The delay time for transmitting data to the m transmit pins 12 is reduced.
- the delay time for the IOP 15 to transmit the m-bit transmission data to the m transmission pins 12 is also reduced with respect to the delay time that the synchronous FIFO processor 14 transmits m to the transmission pins 12 for the transmission data.
- the operating clock frequency at this time is increased relative to the synchronous clock processor 14 when m is transmitted data to the m transmitting pins 12, that is, the running clock period is reduced, so the synchronous IOP 15 is passed. Increased data transfer rate.
- the synchronous FIFO processor 14 sends the converted m-bit transmission data to the IOP 15 according to the vld/rdy handshake protocol, that is, the synchronous FIFO processor 14 sends an indication transmission to the IOP 15 before transmitting the m-bit transmission data to the IOP 15.
- the data sent by the terminal is the vld_s signal of the valid data.
- the IOP 15 can learn, according to the vld_s signal, that the data sent by the synchronous FIFO processor 14 is valid data.
- the IOP 15 can receive the valid data transmitted by the synchronous FIFO processor 14, the IOP 15 sends a rdy_s signal to the synchronous FIFO processor 14 indicating that the receiving end can receive the transmitted data.
- the synchronous FIFO processor 14 receives the rdy_s signal sent by the IOP 15, it can be known from the rdy_s signal that the IOP 15 can receive the transmitted data.
- the synchronous FIFO processor 14 can transmit the m-bit transmission data to the IOP 15 through the data channel.
- the IOP 15 also needs to use the vld/rdy handshake protocol when transmitting the converted m-bit transmission data through the m transmission pins 12 to the receiving device of the inter-chip interconnect, that is, the IOP 15 transmits the m-bit to the receiving device connected to the inter-chip.
- the vld_s signal indicating that the data sent by the transmitting end is valid data is sent to the receiving device connected to the inter-chip.
- the receiving device connected between the slices can know that the data sent by the IOP 15 to the data is valid data according to the vld_s signal.
- the receiving device connected between the chips can receive the valid data transmitted by the IOP 15, the receiving device of the inter-chip interconnection transmits to the IOP 15 a rdy_s signal indicating that the receiving end can receive the transmitted data.
- the IOP 15 can learn that the receiving device of the inter-chip interconnect can receive the transmitted data according to the rdy_s signal.
- the IOP 15 can transmit the m bit through the m transmitting pins 12. The transmission data is sent to the receiving device of the inter-chip interconnection.
- the rdy_s can be sent to the inter-chip interconnecting device.
- the signal, and the inter-chip interconnected transmitting device must be connected to the receiving device connected to the inter-chip when the rdy_s signal sent by the receiving device that receives the inter-chip interconnection is a signal indicating that the receiving end can receive the transmitted data, then inter-chip interconnection
- the data transmitted by the receiving device at the transmitting end of the transmitting device waiting for the inter-chip interconnection is the vld_s signal of the valid data, and the transmitting device of the inter-chip interconnecting device can receive the transmitted data rdy_s at the receiving end of the receiving device waiting for the inter-chip interconnection.
- the signal, which causes the transmitted data to never be sent, causes a deadlock.
- the IOP 15 In order to avoid deadlock between the transmitting device and the receiving device of the inter-chip interconnection, when the Ird15 receives the rdy_s signal sent by the receiving device connected to the inter-chip interconnect to indicate that it cannot receive the transmitted data, the IOP 15 still sends the data indicating the transmitting end. The data is transmitted for the vld_s signal and m bits of the valid data. At this time, the m-bit transmission data sent by the IOP 15 does not change until the Ird15 receives the rdy_s signal sent by the receiving device of the inter-chip interconnect as indicating that it can receive the transmitted data.
- inter-chip interconnection refers to the interconnection between chips or the interconnection between FPGAs.
- An embodiment of the present invention provides an apparatus for transmitting inter-chip interconnects, including: a parallel-serial data conversion circuit, at least one transmit pin; wherein an output of the parallel-serial data conversion circuit is coupled to at least one transmit pin.
- the parallel data conversion circuit is configured to acquire n-bit parallel data according to the vld/rdy handshake protocol, convert n-bit parallel data into m-bit transmission data, and pass m-bit transmission data according to the vld/rdy handshake protocol.
- Send The pin is sent to the receiving device of the inter-chip interconnect.
- the transmitting device for inter-chip interconnection can convert the n-bit parallel data to be transmitted to the m-bit transmission data through the parallel-serial data conversion circuit, and further, the m-bit transmission data can be transmitted to the slice by only m transmission pins.
- Interconnected receiving device Compared with the prior art, the transmitting device for inter-chip interconnection requires n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection, and the present invention can complete data by only requiring m transmitting pins.
- the transmission realizes the reduction of the used pins when implementing inter-chip interconnection, thereby reducing the complexity of the routing of the signal lines connected between at least two FPGAs, thereby reducing the complexity of inter-chip interconnection.
- the transmitting device of the inter-chip interconnection can acquire n-bit parallel data according to the vld/rdy handshake protocol, and after transmitting the m-bit transmission data, send the m-bit transmission data through m sending pins according to the vld/rdy handshake protocol.
- the receiving device is connected to the inter-chip interconnect, so that the on-chip total protocol can be compatible in the inter-chip interconnecting device, and the compatibility performance is improved.
- An embodiment of the present invention provides a receiving device for inter-chip interconnection, as shown in FIG. 6, comprising: at least one receiving pin 21, and a serial-to-parallel data conversion circuit 22.
- the input of the serial-to-parallel data conversion circuit 22 is coupled to at least one receive pin 21, and the output is coupled to a data processor.
- the serial-to-parallel data conversion circuit 22 is configured to acquire m-bit transmission data sent by the inter-chip interconnection transmitting device through the m receiving pins 21 according to the vld/rdy handshake protocol, and convert the m-bit transmission data into n-bit parallel data. And send n bits of parallel data to the data processor according to the vld/rdy handshake protocol.
- n is an integer greater than m.
- the parallel-serial data converting circuit 22 of the receiving device connected between the chips can be connected through the inter-chip transmitting device.
- the m receiving pins 21 receive the transmission data of m bits.
- the parallel-serial data conversion circuit 22 temporarily stores it until n-bit data is received, thereby realizing the conversion of the m-bit transmission data to the n-bit parallel data. After converting to n-bit parallel data, it can be sent to the data processor, causing the data processor to process the n-bit parallel data accordingly.
- the data processor in the embodiment of the present invention may be interconnected between slices.
- a processor in the receiving device may be a processor independent of the inter-chip interconnecting receiving device, which is not limited by the present invention.
- n-bit parallel data includes not only the data to be processed to be used but also control data, address data and the like related to the data to be processed.
- n in the n-bit parallel data is predetermined. It is related to the on-chip bus used.
- the components are usually connected by an on-chip bus, that is, the receiving pin 21 is connected to the parallel-serial data conversion circuit 22 through the on-chip bus.
- the protocol of the on-chip bus for example, AXI (Advanced eXtensible Interface) protocol, APB (Advanced Peripheral Bus) protocol, etc.
- AXI Advanced eXtensible Interface
- APB Advanced Peripheral Bus
- the serial-to-parallel data conversion circuit 22 is configured to acquire, by using the m receiving pins 21, the m-bit transmission data sent by the inter-chip interconnecting device according to the vld/rdy handshake protocol, that is, the inter-chip interconnecting transmitting device is Before transmitting the m-bit transmission data to the receiving device connected between the chips, the vld_s signal indicating that the data transmitted by the transmitting end is valid data is sent to the receiving device interconnected between the chips, and the serial-to-parallel data conversion circuit 22 can pass the receiving pin. 21 receives the vld_s signal, and can learn, according to the vld_s signal, that the data sent by the transmitting device connected between the slices is valid data.
- the serial-to-parallel data conversion circuit 22 can receive the valid data transmitted by the inter-chip interconnecting transmitting device, the serial-to-parallel data converting circuit 22 instructs the transmitting device of the inter-chip interconnect to receive the rdy_s signal of the transmitted data.
- the serial-to-parallel data conversion circuit 22 can receive the m-bit transmission data transmitted from the inter-chip interconnected transmission device through the m reception pins 21.
- the serial-to-parallel data conversion circuit 22 transmits n-bit parallel data to the data processor according to the vld/rdy handshake protocol, that is, the serial-to-parallel data conversion circuit 22 converts the m-bit transmission data into n-bit parallel data, and then Before the data processor sends the n-bit parallel data, the data processor sends a vld_s signal indicating that the data sent by the sender is valid data. After receiving the vld_s signal, the data processor can obtain the string according to the vld_s signal. The data to which the data conversion circuit 22 transmits is valid data.
- the data processor transmits to the serial-to-parallel data conversion circuit 22 a rdy_s signal indicating that the receiving end can receive the transmitted data.
- the serial-to-parallel data conversion circuit 22 receives the rdy_s signal sent by the data processor, it can be learned according to the rdy_s signal that the data processor can receive the transmitted data.
- the serial-to-parallel data conversion circuit 22 can pass n bits through the data channel. Parallel data is sent to the data processor.
- the vld_s signal indicating that the data sent by the transmitting end is valid data may be the same signal as the rdy_s signal indicating that the receiving end can receive the transmitted data, and may be different signals, for example, the vld_s signal passes the low level.
- the signal indicates that the data sent by the transmitting end is valid data
- the rdy_s signal indicates that the receiving end can receive the transmitted data through a high level signal.
- the invention is not limited thereto.
- the serial-to-parallel data conversion circuit 22 sends a vld_s signal indicating that the data sent by the transmitting end is invalid data to the data processor, the data processor can know that the serial-to-parallel data conversion circuit 22 is to be obtained according to the received vld_s signal. The transmitted data is invalid data, so the data processor does not process the data transmitted by the serial-to-parallel data conversion circuit 22.
- the serial-to-parallel data conversion circuit 22 can know that the data processor cannot receive the transmitted data according to the received rdy_s signal. Therefore, the serial to parallel data conversion circuit 22 no longer transmits parallel data to the data processor.
- the receiving device for inter-chip interconnection described above, as shown in FIG. 7, further includes an asynchronous FIFO processor 23.
- the output of the serial to parallel data conversion circuit 22 is coupled to the data processor including the output of the serial to parallel data conversion circuit 22 coupled to the input of the asynchronous FIFO processor 23.
- the output of the asynchronous FIFO processor 23 is coupled to the data processor.
- the serial-to-parallel data conversion circuit 22 is specifically configured to transmit n-bit parallel data to the asynchronous FIFO processor 23 according to the vld/rdy handshake protocol.
- the asynchronous FIFO processor 23 is further configured to receive and store n bits of parallel data, and send n bits of parallel data to the data processor according to the vld/rdy handshake protocol.
- the asynchronous FIFO processor 23 is disposed in the serial-to-parallel data conversion circuit 22 and Between the data processors, the serial-to-parallel data conversion circuit 22 transmits its converted n-bit parallel data to the asynchronous FIFO processor 23, which is stored by the asynchronous FIFO processor 23, and the data processor can be obtained from the asynchronous FIFO processor 23. N-bit parallel data, so that when the data processor cannot receive n-bit parallel data, the serial-to-parallel data conversion circuit 22 can first cache the converted n-bit parallel data to the asynchronous FIFO processor 23, thereby ensuring the slice.
- the inter-connected transmitting device transmits data normally.
- serial to parallel data conversion circuit 22 is spaced apart from the data processor by the asynchronous FIFO processor 23, and the serial clock data conversion circuit 22 and the data processor may operate at different clock frequencies. That is, the data transmission rate of the serial-to-parallel data conversion circuit 22 and the data processor can be different, which can increase the data transmission rate of the serial-to-parallel data conversion circuit 22, thereby improving the efficiency of data transmission.
- the serial-to-parallel data conversion circuit 22 sends its converted n-bit parallel data to the asynchronous FIFO processor 23 in accordance with the vld/rdy handshake protocol, that is, the serial-to-parallel data conversion circuit 22 transmits n bits to the asynchronous FIFO processor 23.
- the asynchronous FIFO processor 23 Before the parallel data, the asynchronous FIFO processor 23 first sends a vld_s signal indicating that the data sent by the transmitting end is valid data. After receiving the vld_s signal, the asynchronous FIFO processor 23 can learn the serial data conversion according to the vld_s signal. The data that circuit 22 sends to it is valid data.
- the asynchronous FIFO processor 23 transmits to the serial-to-parallel data conversion circuit 22 a rdy_s signal indicating that the receiving end can receive the transmitted data.
- the serial-to-parallel data conversion circuit 22 receives the rdy_s signal sent by the asynchronous FIFO processor 23, it can be learned from the rdy_s signal that the asynchronous FIFO processor 23 can receive the transmitted data.
- the serial-to-parallel data conversion circuit 22 can pass the data.
- the channel sends n bits of parallel data to the asynchronous FIFO processor 23.
- the asynchronous FIFO processor 23 When the asynchronous FIFO processor 23 sends the n-bit parallel data to the data processor, it can also forward the data according to the vld/rdy handshake protocol, that is, before the asynchronous FIFO processor 23 sends the n-bit parallel data to the data processor.
- the processor sends a vld_s signal indicating that the data sent by the transmitting end is valid data. After receiving the vld_s signal, the data processor can learn, according to the vld_s signal, that the data sent by the asynchronous FIFO processor 23 is valid data.
- the data processor can receive the valid data sent by the asynchronous FIFO processor 23, the data processor goes to the asynchronous FIFO processor 23 Sending a rdy_s signal indicating that the receiving end can receive the transmitted data.
- the asynchronous FIFO processor 23 receives the rdy_s signal sent by the data processor, it can be learned according to the rdy_s signal that the data processor can receive the transmitted data.
- the asynchronous FIFO processor 23 can parallel the n bits through the data channel. The data is sent to the data processor, causing the data processor to acquire n bits of parallel data to be converted from the asynchronous FIFO processor 13.
- the receiving device for inter-chip interconnection described above, as shown in FIG. 8, further includes a synchronous FIFO processor 24.
- the input of the serial-to-parallel data conversion circuit 22 to the at least one receiving pin 21 includes:
- the input of the serial to parallel data conversion circuit 22 is coupled to the output of the synchronous FIFO processor 24, and the input of the synchronous FIFO processor 24 is coupled to at least one receive pin 21.
- the synchronous FIFO processor 24 is configured to receive m-bit transmission data transmitted by the inter-chip interconnected transmitting device through the m receiving pins 21 according to the vld/rdy handshake protocol, and store the m-bit transmission data.
- the serial-to-parallel data conversion circuit 21 is specifically configured to acquire m-bit transmission data transmitted from the synchronization device of the inter-chip interconnect from the synchronous FIFO processor 24 according to the vld/rdy handshake protocol.
- the synchronous FIFO processor 24 is disposed between the serial-to-parallel data conversion circuit 22 between the receiving pins 21, and the inter-chip interconnecting transmitting device transmits the m-bit transmission data to the inter-chip interconnected receiving device, and inter-chip interconnection
- the m receiving pins 21 of the receiving device transmit the received data to the synchronous FIFO processor 24, and the synchronous FIFO processor 24 stores the received m-bit transmitted data.
- the serial to parallel data conversion circuit 22 can acquire m bits of transmission data in the synchronous FIFO processor 24 and convert it.
- the synchronous FIFO processor 24 can first buffer the transmission data transmitted by the inter-chip interconnection transmitting apparatus, thereby ensuring the normal transmission of the inter-chip interconnection transmitting apparatus.
- the inter-chip interconnecting transmitting device first transmits the data sent by the transmitting end to the receiving device interconnected between the slices before transmitting the m-bit transmission data to the receiving device interconnected between the slices.
- the synchronous FIFO processor 24 can receive the vld_s signal through the receiving pin 21, and can learn from the vld_s signal that the data sent by the inter-chip interconnecting device is valid data.
- the synchronous FIFO processor 24 instructs the transmitting device connected between the slices to receive the rdy_s signal of the transmitted data.
- the synchronous FIFO processor 24 can receive the m-bit transmission data transmitted by the transmitting device of the inter-chip interconnection through the m receiving pins 21.
- the serial-to-parallel data conversion circuit 22 acquires the m-bit transmission data transmitted from the inter-chip interconnected transmitting device from the synchronous FIFO processor 24 according to the vld/rdy handshake protocol, that is, the synchronous FIFO processor 24 acquires the m-bit transmission data. Then, the serial data conversion circuit 22 can send a vld_s signal indicating that the data sent by the transmitting end is valid data. After receiving the vld_s signal, the serial data conversion circuit 22 can learn the synchronous FIFO processor 24 according to the vld_s signal. The data sent to it is valid data.
- the serial-to-parallel data conversion circuit 22 can receive the valid data transmitted by the synchronous FIFO processor 24, the serial-to-parallel data conversion circuit 22 transmits to the synchronous FIFO processor 24 a rdy_s signal indicating that the receiving end can receive the transmitted data.
- the synchronous FIFO processor 24 can learn that the serial-to-parallel data conversion circuit 22 can receive the transmitted data according to the rdy_s signal.
- the synchronous FIFO processor 24 can transmit the m-bit transmission data to the data channel to the data channel.
- the serial to parallel data conversion circuit 22 is described in this time, the serial to parallel data conversion circuit 22.
- the embodiment of the invention provides a receiving device for inter-chip interconnection, comprising: at least one receiving pin, a serial-to-parallel data conversion circuit.
- the input end of the serial-to-parallel data conversion circuit is connected to at least one receiving pin, and the output end of the serial-to-parallel data conversion circuit is connected to the data processor.
- a serial-to-parallel data conversion circuit for acquiring m-bit transmission data transmitted by a transmitting device of an inter-chip interconnect through m receiving pins according to a vld/rdy handshake protocol, converting m-bit transmission data into n-bit parallel data, and The n-bit parallel data is sent to the data processor according to the vld/rdy handshake protocol.
- the inter-chip interconnected transmission device converts n-bit parallel data into m-bit transmission data and transmits it to the inter-chip interconnected receiving device through m transmitting pins
- the receiving device can receive the m receiving signals through the m receiving pins.
- the foot receives m bits of transmission data. And convert it to n-bit parallel data.
- the transmitting device for inter-chip interconnection requires n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection, and the present invention can only require m transmitting pins and Data can be transmitted by m receiving pins, which reduces the use of pins during inter-chip interconnection, thereby reducing the complexity of the routing of signal lines connected between at least two FPGAs, thereby reducing the chip.
- the complexity of the interconnection is n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection, and the present invention can only require m transmitting pins and Data can be transmitted by m receiving pins, which reduces the use of pins during inter-chip interconnection, thereby reducing the complexity of the routing of signal lines connected between at least two FPGAs, thereby reducing the chip. The complexity of the interconnection.
- An embodiment of the present invention provides a method for transmitting an inter-chip interconnection, as shown in FIG. 9, including:
- the transmitting device of the inter-chip interconnect acquires n-bit parallel data according to the vld/rdy handshake protocol.
- n is an integer greater than one.
- the transmitting device of the inter-chip interconnection can acquire n-bit parallel data of the receiving device that needs to be transmitted to the inter-chip interconnect from the data transmitting processor.
- the inter-chip interconnected transmitting device acquires the n-bit parallel data that needs to be transmitted to the receiving device of the inter-chip interconnect, it can be buffered first.
- n is an integer greater than 0 and less than n.
- the transmitting device of the inter-chip interconnect can convert the transmitted data into m-bit transmission data according to the number of actually available transmitting pins.
- the inter-chip interconnected transmission device converts the buffered n-bit parallel data into m-bit transmission data according to the number of actually available transmission pins. After converting to m-bit transmission data, the m-bit transmission data can be buffered first.
- the m-bit transmission data is sent to the receiving device of the inter-chip interconnect through the m transmit pins according to the vld/rdy handshake protocol.
- the m-bit transmission data is transmitted to the inter-chip interconnection through the m transmission pins according to the vld/rdy handshake protocol. Device.
- the inter-chip interconnected transmitting device transmits the m-bit transmission data of the buffer to the m-segment receiving device via the m transmit pins according to the vld/rdy handshake protocol.
- the embodiment of the invention provides a method for transmitting inter-chip interconnection, which is applied to a transmitting device for inter-chip interconnection.
- the inter-chip interconnected transmitting device acquires n-bit parallel data according to the vld/rdy handshake protocol, and converts n-bit parallel data into m-bit transmitted data. And according to the vld/rdy handshake protocol, the m-bit transmission data is sent to the receiving device of the inter-chip interconnect through the m transmission pins.
- the transmitting device for inter-chip interconnection can convert the n-bit parallel data to be transmitted to the m-bit transmission data through the parallel-serial data conversion circuit, and further, the m-bit transmission data can be transmitted to the slice by only m transmission pins.
- Interconnected receiving device Compared with the prior art, the transmitting device for inter-chip interconnection requires n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection, and the present invention can complete data by only requiring m transmitting pins.
- the transmission realizes the reduction of the used pins when implementing inter-chip interconnection, thereby reducing the complexity of the routing of the signal lines connected between at least two FPGAs, thereby reducing the complexity of inter-chip interconnection.
- An embodiment of the present invention provides a method for receiving inter-chip interconnection, as shown in FIG. 10, including:
- the receiving device of the inter-chip interconnect acquires the m-bit transmission data sent by the transmitting device of the inter-chip interconnection through the m receiving pins according to the vld/rdy handshake protocol.
- n is an integer greater than zero.
- the inter-chip interconnected receiving device can use the m transmitting devices connected to the inter-chip according to the vld/rdy handshake protocol.
- the m receiving pins corresponding to the pins acquire the m-bit transmission data transmitted by the transmitting device connected between the slices.
- the receiving device of the inter-chip interconnection may first cache the data.
- n is an integer greater than m.
- the inter-chip interconnected transmitting device receives the m-bit transmission data according to the vld/rdy handshake protocol
- the m-bit transmission data is converted into n-bit parallel data.
- the n-bit parallel data is sent to the data processor according to the vld/rdy handshake protocol. In this way, The data processor can process the n-bit parallel data accordingly.
- the transmitting device of the inter-chip interconnect may convert the buffered m-bit transmission data into n-bit parallel data according to the vld/rdy handshake protocol.
- the converted n-bit parallel data is buffered, and the buffered n-bit parallel data is sent to the data processor.
- the embodiment of the invention provides a method for receiving inter-chip interconnection, and the receiving device for inter-chip interconnection acquires m-bit transmission data transmitted by the transmitting device of the inter-chip interconnection through m receiving pins according to the vld/rdy handshake protocol.
- the m-bit transfer data is converted into n-bit parallel data, and n-bit parallel data is transmitted to the data processor according to the vld/rdy handshake protocol.
- the inter-chip interconnected transmission device converts n-bit parallel data into m-bit transmission data and transmits it to the inter-chip interconnected receiving device through m transmitting pins
- the receiving device can receive the m receiving signals through the m receiving pins.
- the foot receives m bits of transmission data.
- the transmitting device for inter-chip interconnection requires n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection, and the present invention can only require m transmitting pins and m receiving leads.
- the data can be sent at the foot, which reduces the use of pins during inter-chip interconnection, thereby reducing the complexity of the routing of the signal lines connected between at least two FPGAs, thereby reducing the complexity of inter-chip interconnection. Sex.
- the embodiment of the invention provides a system for inter-chip interconnection, as shown in FIG. 11, comprising: a transmitting device 31 for inter-chip interconnection, and a receiving device 32 for inter-chip interconnection.
- the inter-chip interconnecting transmitting device 31 is the inter-chip interconnecting transmitting device described in the above embodiment.
- the receiving device 32 for inter-chip interconnection is the receiving device for inter-chip interconnection described in the above embodiment.
- the embodiment of the invention provides a transmitting and receiving device for inter-chip interconnection, a transmitting and receiving method and a system, and a transmitting device for inter-chip interconnection includes: a parallel data conversion circuit, at least one transmitting pin; wherein, parallel data conversion The input of the circuit is coupled to the data transmitting processor, and the output of the serial data conversion circuit is coupled to at least one of the transmit pins.
- a parallel data conversion circuit for acquiring n-bit parallel data from a data transmission processor according to a vld/rdy handshake protocol, and converting n-bit parallel data into m-bit transmission Data, and the m-bit transmission data is sent to the receiving device of the inter-chip interconnect through m transmit pins according to the vld/rdy handshake protocol.
- the transmitting device for inter-chip interconnection can convert the n-bit parallel data to be transmitted to the m-bit transmission data through the parallel-serial data conversion circuit, and further, the m-bit transmission data can be transmitted to the slice by only m transmission pins. Interconnected receiving device.
- the transmitting device for inter-chip interconnection requires n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection, and the present invention can complete data by only requiring m transmitting pins.
- the transmission realizes the reduction of the used pins when implementing inter-chip interconnection, thereby reducing the complexity of the routing of the signal lines connected between at least two FPGAs, thereby reducing the complexity of inter-chip interconnection.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
- the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
- the software functional units described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, and a read only memory. (Read-Only Memory, ROM for short), random access memory (RAM), disk or optical disk, and other media that can store program code.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Communication Control (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
A device and method for sending inter-chip interconnection, a device and method for receiving inter-chip interconnection, and a system, which relate to the technical field of integrated circuits. The sending device comprises: a parallel-serial data conversion circuit (11) and at least one sending pin (12). An input end of the parallel-serial data conversion circuit is connected to a data transmission processor, and an output end of the parallel-serial data conversion circuit is connected to the at least one sending pin. The parallel-serial data conversion circuit is configured to acquire, according to a vld/rdy handshake protocol, n-bit parallel data from the data transmission processor (101), convert the n-bit parallel data into m-bit transmission data (102), and send, according to the vld/rdy handshake protocol, the m-bit transmission data to an inter-chip interconnection receiving device by means of the m sending pins (103), where n is an integer greater than 1, and m is an integer greater than 0 and less than n. The present invention is applicable to a scene of data transmission.
Description
本申请要求于2015年06月04日提交中国专利局、申请号为201510305010.0、发明名称为“片间互联的发送、接收装置及发送、接收方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on June 4, 2015, the Chinese Patent Office, the application number is 201510305010.0, and the invention is entitled "Transmission and receiving device for inter-chip interconnection and transmission and reception methods and systems". The content is incorporated herein by reference.
本发明涉及集成电路技术领域,尤其涉及一种片间互联的发送、接收装置及发送、接收方法及系统。The present invention relates to the field of integrated circuit technologies, and in particular, to a transmitting and receiving device for inter-chip interconnection, and a transmitting and receiving method and system.
半导体产业进入超深亚微米乃至纳米加工时代后,在单一集成电路芯片上就可以实现一个复杂的电子系统,例如手机芯片、数字电视芯片等。随着工艺的进步,更多的功能都可望在单一芯片上实现。SOC(System On Chip,片上系统)技术正是在集成电路(Integrated Circuit,IC)向集成系统(Integrated System,IS)转变的大方向下产生的,随着半导体工艺技术的发展,IC设计者能够将愈来愈复杂的功能集成到单硅片上。由于SOC可以充分利用已有的设计积累,显著地提高了单一CPU的设计能力和集成能力,因此得到了迅速的发展。After the semiconductor industry enters the era of ultra-deep sub-micron and even nano-processing, a complex electronic system can be realized on a single integrated circuit chip, such as mobile phone chips and digital TV chips. As the process progresses, more features are expected to be implemented on a single chip. SOC (System On Chip) technology is generated in the general direction of the transformation of integrated circuits (ICs) to integrated systems (IS). With the development of semiconductor process technology, IC designers can Integrate increasingly complex functions into a single silicon chip. Since the SOC can make full use of the existing design accumulation, and significantly improve the design capability and integration capability of a single CPU, it has been rapidly developed.
SOC通常使用FPGA(Field-Programmable Gate Array,现场可编程门阵列)实现逻辑功能模块的定制,因而SOC开发过程中必须进行FPGA功能验证。但随着SOC逻辑规模越来越大,单个FPGA很难实现整个SOC的功能,因此在FPGA验证时,必须进行功能分割,将SOC的功能分别放在两个或更多个FPGA中进行验证。现有技术中,当通过至少两个FPGA互联实现SOC功能时,通常利用两个FPGA的直接互联的方式进行包含了待处理数据、和/或控制数据、和/或地址数据的信号传输。而至少两个FPGA直接互联时,需传输n比特位数据,则需通过n个引脚传输。其中,n比特位数据包含了待处理数据、和/或控制数据、和/或地址数据。
The SOC usually uses an FPGA (Field-Programmable Gate Array) to customize the logic function module. Therefore, the FPGA function verification must be performed during the SOC development process. However, as the SOC logic size becomes larger and larger, it is difficult for a single FPGA to realize the function of the entire SOC. Therefore, in FPGA verification, functional division must be performed, and the functions of the SOC are separately verified in two or more FPGAs. In the prior art, when the SOC function is implemented by at least two FPGA interconnections, signal transmission including data to be processed, and/or control data, and/or address data is usually performed by direct interconnection of two FPGAs. When at least two FPGAs are directly interconnected, n bits of data need to be transmitted, and then they need to be transmitted through n pins. The n-bit data includes data to be processed, and/or control data, and/or address data.
例如,通过FPGA_1及FPGA_2两个FPGA互联实现SOC功能,此时FPGA_1与FPGA_2直接互联。若从FPGA_1到FPGA_2需要发送i位的信号(Signal_1到Signal_i),则需通过i个引脚发送i位的信号,并且FPGA_2也需i个引脚接收i位的信号。此时在FPGA_1及FPGA_2均需i个引脚,如图1所示。For example, the SOC function is realized by two FPGA interconnections of FPGA_1 and FPGA_2, and at this time, FPGA_1 and FPGA_2 are directly interconnected. If you need to send the i-bit signal (Signal_1 to Signal_i) from FPGA_1 to FPGA_2, you need to send the i-bit signal through i pins, and FPGA_2 also needs i pins to receive the i-bit signal. At this time, i pins are required in both FPGA_1 and FPGA_2, as shown in Figure 1.
现有技术中至少存在如下问题:若通过至少两个FPGA的直接互联的方式进行SOC功能验证,则在交互的信号的比特位较多时,需要占用较多的引脚,此时至少两个FPGA间连接的信号线的走线也较为复杂,增加了FPGA间的互联的复杂性。In the prior art, at least the following problem exists: if the SOC function is verified by the direct interconnection of at least two FPGAs, when there are many bits of the interactive signal, more pins are needed, and at least two FPGAs are needed. The wiring of the connected signal lines is also complicated, which increases the complexity of interconnection between FPGAs.
发明内容Summary of the invention
本发明的实施例提供一种一种片间互联的发送、接收装置及发送、接收方法及系统,用以在实现芯片间互联时,减少使用的引脚,降低至少两个FPGA间连接的信号线的走线的复杂度,进而降低芯片间互联的复杂性。Embodiments of the present invention provide a method and system for transmitting and receiving an inter-chip interconnect, and a transmitting and receiving method, and a system for reducing a used pin and reducing a signal connected between at least two FPGAs when inter-chip interconnection is implemented. The complexity of the traces of the lines, which in turn reduces the complexity of inter-chip interconnects.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
第一方面,本发明实施例提供了一种片间互联的发送装置,包括:并串数据转换电路,至少一个发送引脚;所述并串数据转换电路的输出端与所述至少一个发送引脚连接;所述并串数据转换电路的输入端与数据发送处理器连接;所述并串数据转换电路,用于根据vld/rdy握手协议从所述数据发送处理器中获取n位的并行数据,将所述n位的并行数据转换为m位的传输数据,并根据vld/rdy握手协议将所述m位的传输数据通过m个所述发送引脚发送至片间互联的接收装置;所述n为大于1的整数,所述m为大于0小于n的整数。In a first aspect, an embodiment of the present invention provides an apparatus for transmitting inter-chip interconnection, including: a parallel-serial data conversion circuit, at least one transmission pin; an output end of the parallel-serial data conversion circuit and the at least one transmission lead a pin connection; an input end of the parallel data conversion circuit is coupled to the data transmission processor; and the parallel data conversion circuit is configured to acquire n-bit parallel data from the data transmission processor according to a vld/rdy handshake protocol Converting the n-bit parallel data into m-bit transmission data, and transmitting the m-bit transmission data to the receiving device of the inter-chip interconnect through the m transmit pins according to the vld/rdy handshake protocol; n is an integer greater than 1, and m is an integer greater than 0 and less than n.
第二方面,本发明实施例提供了一种片间互联的接收装置,包括:至少一个接收引脚,串并数据转换电路;所述串并数据转换电路的输入端与所述至少一个接收引脚连接,所述串并数据转换电路的输出端与数据处理器连接;所述串并数据转换电路,用于根据vld/rdy握手协议通过m个所述接收引脚获取片间互联的发送装置发送的m位的传输数据,将所述m位的传输数据转换为n位的并行
数据,并根据vld/rdy握手协议将所述n位的并行数据发送至数据处理器;所述m为大于0的整数;所述n为大于m的整数。In a second aspect, an embodiment of the present invention provides a receiving device for inter-chip interconnection, including: at least one receiving pin, a serial-to-parallel data conversion circuit; an input end of the serial-to-parallel data conversion circuit and the at least one receiving lead a pin connection, an output end of the serial-to-parallel data conversion circuit is connected to a data processor; the serial-to-parallel data conversion circuit is configured to acquire an inter-chip interconnection transmitting device through m receiving pins according to a vld/rdy handshake protocol Transmitted m-bit transmission data, converting the m-bit transmission data into n-bit parallel
Data, and transmitting the n-bit parallel data to a data processor according to a vld/rdy handshake protocol; the m is an integer greater than 0; the n is an integer greater than m.
第三方面,本发明实施例提供了一种片间互联的发送方法,包括:片间互联的发送装置根据vld/rdy握手协议获取n位的并行数据;所述n为大于1的整数;将所述n位的并行数据转换为m位的传输数据;所述m为大于0小于n的整数;将所述m位的传输数据根据所述vld/rdy握手协议通过m个发送引脚发送至片间互联的接收装置。In a third aspect, an embodiment of the present invention provides a method for transmitting an inter-chip interconnect, including: an inter-chip interconnecting transmitting device acquires n-bit parallel data according to a vld/rdy handshake protocol; the n is an integer greater than 1; The n-bit parallel data is converted into m-bit transmission data; the m is an integer greater than 0 and less than n; and the m-bit transmission data is sent to the m transmit pins according to the vld/rdy handshake protocol to Receiver for inter-chip interconnection.
第四方面,本发明实施例提供了一种片间互联的接收方法,包括:片间互联的接收装置根据vld/rdy握手协议通过m个接收引脚获取片间互联的发送装置发送的m位的传输数据;所述m为大于0的整数;将所述m位的传输数据转换为n位的并行数据,并根据所述vld/rdy握手协议将所述n位的并行数据发送至数据处理器,以使得所述数据处理器处理所述n位的并行数据;所述n为大于m的整数。In a fourth aspect, an embodiment of the present invention provides a method for receiving an inter-chip interconnection, including: receiving, by an inter-chip interconnect, an m-bit transmitted by a transmitting device of an inter-chip interconnect through m receiving pins according to a vld/rdy handshake protocol. Transmitting data; the m is an integer greater than 0; converting the m-bit transmission data into n-bit parallel data, and transmitting the n-bit parallel data to the data processing according to the vld/rdy handshake protocol And causing the data processor to process the n-bit parallel data; the n is an integer greater than m.
第五方面,本发明实施例提供了一种片间互联的系统,包括:片间互联的发送装置,及片间互联的接收装置;其中,所述片间互联的发送装置为上述实施例所述的片间互联的发送装置;所述片间互联的接收装置为上述实施例所述的片间互联的接收装置。In a fifth aspect, an embodiment of the present invention provides a system for inter-chip interconnection, including: a device for transmitting inter-chip interconnection, and a receiving device for inter-chip interconnection; wherein the transmitting device for inter-chip interconnection is the above embodiment The transmitting device for inter-chip interconnection; the receiving device for inter-chip interconnection is the receiving device for inter-chip interconnection described in the above embodiment.
本发明实施例提供了一种片间互联的发送、接收装置及发送、接收方法及系统,片间互联的发送装置包括:并串数据转换电路,至少一个发送引脚;其中,并串数据转换电路的输入端与数据发送处理器连接,并串数据转换电路的输出端与至少一个发送引脚连接。并串数据转换电路,用于根据vld/rdy握手协议从数据发送处理器中获取n位的并行数据,将n位的并行数据转换为m位的传输数据,并根据vld/rdy握手协议将m位的传输数据通过m个发送引脚发送至片间互联的接收装置。这样,片间互联的发送装置可以将需要发送至的n位并行数据通过并串数据转换电路,转换为m位的传输数据,进而可以仅需m个发送引脚将m位传输数据发送至片间互联的接收装置。相对于现有技术中,片间互联的发送装置需要n个发送引脚将n位并行数据发送至片间互联的接收装置而言,本发
明可以仅需m个发送引脚即可完成数据的发送,实现了在实现芯片间互联时,减少使用的引脚,进而降低了至少两个FPGA间连接的信号线的走线的复杂度,从而降低了芯片间互联的复杂性。The embodiment of the invention provides a transmitting and receiving device for inter-chip interconnection, a transmitting and receiving method and a system, and a transmitting device for inter-chip interconnection includes: a parallel data conversion circuit, at least one transmitting pin; wherein, parallel data conversion The input of the circuit is coupled to the data transmitting processor, and the output of the serial data conversion circuit is coupled to at least one of the transmit pins. a parallel data conversion circuit for acquiring n-bit parallel data from the data transmission processor according to the vld/rdy handshake protocol, converting n-bit parallel data into m-bit transmission data, and m according to the vld/rdy handshake protocol The bit transfer data is sent to the receiving device of the inter-chip interconnect via m transmit pins. In this way, the transmitting device for inter-chip interconnection can convert the n-bit parallel data to be transmitted to the m-bit transmission data through the parallel-serial data conversion circuit, and further, the m-bit transmission data can be transmitted to the slice by only m transmission pins. Interconnected receiving device. Compared with the prior art, the transmitting device for inter-chip interconnection needs n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection.
The data can be transmitted only by requiring m transmit pins, thereby reducing the use of pins when inter-chip interconnection is implemented, thereby reducing the complexity of the traces of the signal lines connected between at least two FPGAs. This reduces the complexity of inter-chip interconnects.
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图1为现有技术中FPGA间互联的结构示意图;1 is a schematic structural diagram of interconnection between FPGAs in the prior art;
图2为本发明实施例提供的一种片间互联的发送装置的结构示意图;2 is a schematic structural diagram of a device for transmitting inter-chip interconnection according to an embodiment of the present invention;
图3为本发明实施例提供的另一种片间互联的发送装置的结构示意图;FIG. 3 is a schematic structural diagram of another apparatus for transmitting inter-chip interconnection according to an embodiment of the present disclosure;
图4为本发明实施例提供的另一种片间互联的发送装置的结构示意图;4 is a schematic structural diagram of another apparatus for transmitting inter-chip interconnection according to an embodiment of the present invention;
图5为本发明实施例提供的另一种片间互联的发送装置的结构示意图;FIG. 5 is a schematic structural diagram of another apparatus for transmitting inter-chip interconnection according to an embodiment of the present disclosure;
图6为本发明实施例提供的一种片间互联的接收装置的结构示意图;FIG. 6 is a schematic structural diagram of a receiving device for inter-chip interconnection according to an embodiment of the present disclosure;
图7为本发明实施例提供的另一种片间互联的接收装置的结构示意图;FIG. 7 is a schematic structural diagram of another apparatus for receiving inter-chip interconnection according to an embodiment of the present disclosure;
图8为本发明实施例提供的另一种片间互联的接收装置的结构示意图;FIG. 8 is a schematic structural diagram of another apparatus for receiving inter-chip interconnection according to an embodiment of the present disclosure;
图9为本发明实施例提供的一种片间互联的发送方法的流程示意图;FIG. 9 is a schematic flowchart of a method for sending inter-chip interconnection according to an embodiment of the present disclosure;
图10为本发明实施例提供的一种片间互联的接收方法的流程示意图;
FIG. 10 is a schematic flowchart diagram of a method for receiving inter-chip interconnection according to an embodiment of the present disclosure;
图11为本发明实施例提供的一种片间互联的系统的结构示意图。FIG. 11 is a schematic structural diagram of a system for inter-chip interconnection according to an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种片间互联的发送装置,如图2所示,包括:并串数据转换电路11,至少一个发送引脚12。An embodiment of the present invention provides a transmitting device for inter-chip interconnection. As shown in FIG. 2, the present invention includes: a parallel data conversion circuit 11 and at least one transmitting pin 12.
其中,并串数据转换电路11的输出端与至少一个发送引脚12连接。并串数据转换电路11的输入端与数据发送处理器连接。The output of the parallel data conversion circuit 11 is connected to at least one of the transmission pins 12. The input of the parallel data conversion circuit 11 is connected to a data transmission processor.
并串数据转换电路11,用于根据vld/rdy握手协议从数据发送处理器中获取n位的并行数据,并将n位的并行数据转换为m位的传输数据,并根据vld/rdy握手协议将m位的传输数据通过m个发送引脚12发送至片间互联的接收装置。The parallel data conversion circuit 11 is configured to acquire n-bit parallel data from the data transmission processor according to the vld/rdy handshake protocol, and convert the n-bit parallel data into m-bit transmission data, and according to the vld/rdy handshake protocol The m-bit transmission data is transmitted through m transmission pins 12 to the inter-chip interconnected receiving device.
其中,n为大于1的整数。m为大于0小于n的整数。Where n is an integer greater than one. m is an integer greater than 0 and less than n.
需要说明的是,本发明实施例中的并行数据是指包含了待处理数据、和/或控制数据、和/或地址数据等数据的数据。传输数据也是指包含了待处理数据、和/或控制数据、和/或地址数据等数据的数据。It should be noted that the parallel data in the embodiment of the present invention refers to data including data to be processed, and/or control data, and/or address data. Transmission data also refers to data containing data to be processed, and/or control data, and/or address data.
具体的,在数据发送处理器需向其他设备发送数据时,可以根据实际需求生成n位的并行数据。将此n位的并行数据发送至片间互联的发送装置中。片间互联的发送装置中的并串数据转换电路11可以根据片间互联的发送装置能够使用的发送引脚数,确定出传输数据的比特位数,即为确定出m。将n位的并行数据分成k组,每组m位,这样将每组数据作为传输数据,可以将n位的并行数据转换为m位传输数据,并将此m位传输数据通过m个发送引脚发送至片间互联的接收装置。这样,可以根据可以使用的发送引脚数据调整传输数据,使调整后的传输数据通过可以使用的发送引脚发
送,增强了片间互联的灵活性,从而降低了芯片间互联的复杂性。Specifically, when the data sending processor needs to send data to other devices, n-bit parallel data can be generated according to actual needs. This n-bit parallel data is sent to the inter-chip interconnected transmitting device. The parallel-serial data conversion circuit 11 in the inter-chip interconnection transmitting apparatus can determine the number of bits of the transmission data based on the number of transmission pins that can be used by the inter-chip interconnection transmitting apparatus, that is, determine m. The n-bit parallel data is divided into k groups, each group of m bits, so that each group of data is used as transmission data, and n-bit parallel data can be converted into m-bit transmission data, and the m-bit transmission data is transmitted through m transmissions. The foot is sent to the receiving device of the inter-chip interconnection. In this way, the transmission data can be adjusted according to the transmit pin data that can be used, so that the adjusted transmission data is sent through the transmit pin that can be used.
Send, enhance the flexibility of inter-chip interconnection, thus reducing the complexity of inter-chip interconnection.
其中,k为大于0的整数。Where k is an integer greater than zero.
需要说明的是,若将n位并行数据分为k组且每组为m位时,若n位并行数据在分至最后一组时不足m位,则可以通过补零处理,将最后一组通过补零填补为m位。It should be noted that if the n-bit parallel data is divided into k groups and each group is m bits, if the n-bit parallel data is less than m bits when it is divided into the last group, the last group can be processed by zero-padding. Fill in the m position by zero padding.
进一步的,在实现片间互联的发送装置中,元件之间通常通过片上总线连接,即为数据发送处理器通过片上总线与并串数据转换电路11连接。这样为了兼容片上总线的协议,例如AXI(Advanced eXtensible Interface,先进扩展总线)协议,APB((Advanced Peripheral Bus,先进外设总线)协议等,本发明中,不同元件传输数据可以根据vld/rdy握手协议。Further, in the transmitting device that implements the inter-chip interconnection, the components are usually connected by an on-chip bus, that is, the data transmitting processor is connected to the parallel-serial data conversion circuit 11 through the on-chip bus. In this way, in order to be compatible with the protocol of the on-chip bus, for example, AXI (Advanced eXtensible Interface) protocol, APB (Advanced Peripheral Bus) protocol, etc., in the present invention, different components transmit data according to vld/rdy handshake. protocol.
需要说明的是,vld(valid,有效)/rdy(ready,准备好)握手协议是不同元件传输数据之前,相互传输各自的当前状态的协议。vld/rdy握手协议是与片上总线协议兼容的协议。在vld/rdy握手协议中主要通过vld_s信号,rdy_s信号相互传输各自的当前状态,并通过数据通道进行数据传输。It should be noted that the vld (valid, valid) / rdy (ready) handshake protocol is a protocol for transmitting the respective current states of each other before the data is transmitted by different components. The vld/rdy handshake protocol is a protocol compatible with the on-chip bus protocol. In the vld/rdy handshake protocol, the vrd_s signal is mainly transmitted, and the rdy_s signals transmit their respective current states to each other and perform data transmission through the data channel.
其中,vld_s信号是发送端发送的数据是否为有效数据的标识信号。例如,当vld_s信号为1时,则表示发送端发送的数据为有效数据。当vld_s信号为0时,则表示发送端发送的数据为无效数据。The vld_s signal is an identification signal of whether the data sent by the sending end is valid data. For example, when the vld_s signal is 1, it indicates that the data sent by the sender is valid data. When the vld_s signal is 0, it means that the data sent by the sender is invalid data.
rdy_s信号是接收端是否可以接收传输的数据的标识信号。例如,当rdy_s信号为1时,则表示接收端可以接收传输的数据。当rdy_s信号为0时,则表示接收端不能接收传输的数据。The rdy_s signal is an identification signal of whether the receiving end can receive the transmitted data. For example, when the rdy_s signal is 1, it means that the receiving end can receive the transmitted data. When the rdy_s signal is 0, it means that the receiving end cannot receive the transmitted data.
数据通道,用于传输数据。也就是说,将待发送的数据通过此数据通道传输至其他元件中。Data channel for transferring data. That is to say, the data to be transmitted is transmitted to other components through this data channel.
在vld/rdy握手协议中还可以通过last_s信号。last_s信号是一次传输的最后一个数据指示标识信号。由于一次传输可以发送多个数据,最后一个数据用此信号标识,则可以通知接收装置数据携带last_s信号的数据为最后一个数据,本次数据的传输已完成。这样,可以片间互联的同步发送装置与接收装置的内部状态,提供
传输的稳定性。The last_s signal can also be passed in the vld/rdy handshake protocol. The last_s signal is the last data indication identification signal of a transmission. Since one transmission can transmit a plurality of data, and the last data is identified by the signal, the data of the last_s signal carried by the receiving device data can be notified to be the last data, and the transmission of the current data is completed. In this way, the internal states of the synchronous transmitting device and the receiving device that can be interconnected between the chips are provided.
The stability of the transmission.
需要说明的是,此last_s信号为可选信号,在vld/rdy握手协议中,也可以没有last_s信号,这样可以减少占用的发送引脚。It should be noted that the last_s signal is an optional signal, and in the vld/rdy handshake protocol, there may be no last_s signal, which can reduce the occupied transmit pin.
需要说明的是,vld/rdy握手协议中的vld_s信号,rdy_s信号及last_s信号的传输,需要使用与传输数据不同的发送引脚发送。这样,若片间互联的发送装置需要使用m位发送引脚发送传输数据,则还需要另外的三个发送引脚传输vld_s信号,rdy_s信号及last_s信号。It should be noted that the vld_s signal, the rdy_s signal and the last_s signal in the vld/rdy handshake protocol need to be transmitted using a different transmit pin than the transmitted data. Thus, if the inter-chip interconnected transmitting device needs to use the m-bit transmit pin to transmit the transmitted data, the other three transmit pins are required to transmit the vld_s signal, the rdy_s signal, and the last_s signal.
此时,并串数据转换电路,用于根据vld/rdy握手协议从数据发送处理器中获取n位的并行数据。即为,并串数据转换电路11在接收数据发送处理器发送的n位的并行数据之前,先接收数据发送处理器向并串数据转换电路11发送的指示发送端发送的数据为有效数据的vld_s信号,此时并串数据转换电路11接收到此vld_s信号后,可以根据此vld_s信号获知数据发送处理器向其发送的数据为有效数据。此时,若并串数据转换电路11可以接收数据发送处理器发送的有效数据,则并串数据转换电路11向数据发送处理器发送指示接收端可以接收传输的数据的rdy_s信号。在数据发送处理器接收到并串数据转换电路11发送的rdy_s信号后,可以根据此rdy_s信号,获知并串数据转换电路11可以接收传输的数据,此时,数据发送处理器可以通过数据通道将n位并行数据发送至并串数据转换电路11。并串数据转换电路11接收到n位并行数据后,将其向数据发送处理器发送的指示接收端可以接收传输的数据的rdy_s信号更改为,指示接收端不能接收传输的数据的rdy_s信号,发送至数据发送处理器。此时数据发送处理器根据接收的rdy_s信号获知并串数据转换电路11不能接收并行数据,此时数据发送处理器不再向并串数据转换电路11发送数据。并串数据转换电路11发送数据接收到n位并行数据后,可以将其分为k组,每组m位。At this time, the parallel data conversion circuit is configured to acquire n-bit parallel data from the data transmission processor according to the vld/rdy handshake protocol. That is, the parallel data conversion circuit 11 receives the n-bit parallel data transmitted by the data transmission processor, and first receives the vld_s sent by the data transmission processor to the parallel data conversion circuit 11 indicating that the data transmitted by the transmitting end is valid data. The signal, at this time, after the parallel data conversion circuit 11 receives the vld_s signal, it can learn from the vld_s signal that the data sent by the data transmission processor is valid data. At this time, if the parallel data conversion circuit 11 can receive the valid data transmitted by the data transmission processor, the parallel data conversion circuit 11 transmits to the data transmission processor a rdy_s signal indicating that the receiving end can receive the transmitted data. After the data transmission processor receives the rdy_s signal sent by the parallel data conversion circuit 11, the rdy_s signal can be used to know that the parallel data conversion circuit 11 can receive the transmitted data. At this time, the data transmission processor can pass the data channel. The n-bit parallel data is sent to the parallel-serial data conversion circuit 11. After receiving the n-bit parallel data, the parallel data conversion circuit 11 changes the rdy_s signal sent by the data transmission processor to the receiving end to receive the transmitted data to a rdy_s signal indicating that the receiving end cannot receive the transmitted data, and transmits To the data sending processor. At this time, the data transmission processor knows from the received rdy_s signal that the parallel data conversion circuit 11 cannot receive the parallel data, and at this time, the data transmission processor no longer transmits the data to the parallel data conversion circuit 11. After the parallel data conversion circuit 11 transmits data to the n-bit parallel data, it can be divided into k groups of m bits each.
并串数据转换电路11,根据vld/rdy握手协议,将m位的传输数据通过m个发送引脚12发送至片间互联的接收装置。即为,并串数据转换电路11向m位的传输数据通过m个发送引脚发送至
片间互联的接收装置之前,先向通过一个发送引脚向至片间互联的接收装置指示发送端发送的数据为有效数据的vld_s信号,此时至片间互联的接收装置接收到此vld_s信号后,可以根据此vld_s信号获知并串数据转换电路11向其发送的数据为有效数据。此时,若至片间互联的接收装置可以接收并串数据转换电路11发送的有效数据,则并串数据转换电路11发送指示接收端可以接收传输的数据的rdy_s信号。并串数据转换电路11在至片间互联的接收装置的rdy为指示其可以接收传输的数据时,向至片间互联的接收装置发送一组传输数据,直至将k组传输数据均发送至片间互联的接收装置。The parallel data conversion circuit 11 transmits the m-bit transmission data to the receiving device connected to the inter-chip via the m transmission pins 12 according to the vld/rdy handshake protocol. That is, the parallel data conversion circuit 11 transmits the m-bit transmission data to the m transmission pins to
Before the inter-chip interconnected receiving device, the receiving device that communicates to the inter-chip interconnect through a transmitting pin first indicates that the data sent by the transmitting end is the vld_s signal of the valid data, and the receiving device that receives the inter-chip interconnect receives the vld_s signal. Thereafter, the data transmitted to the parallel data conversion circuit 11 can be known as valid data based on the vld_s signal. At this time, if the receiving device to the inter-chip interconnection can receive the valid data transmitted by the parallel data conversion circuit 11, the parallel data conversion circuit 11 transmits a rdy_s signal indicating that the receiving end can receive the transmitted data. The parallel data conversion circuit 11 transmits a set of transmission data to the receiving device connected to the inter-chip when the rdy of the receiving device connected to the inter-chip is instructed to receive the transmitted data until the k-group transmission data is transmitted to the slice. Interconnected receiving device.
进一步的,并串数据转换电路11在发送最后一组传输数据时,可以产生last信号,用以表征此数据为最后一个传输数据,与最后一组传输数据一起发送至片间互联的接收装置。此时需通过m个发送引脚发送至m位传输数据,并通过其他一个发送引脚发送last信号。Further, the parallel data conversion circuit 11 may generate a last signal when transmitting the last set of transmission data, to characterize the data as the last transmission data, and send it together with the last group of transmission data to the receiving device of the inter-chip interconnection. At this time, it is necessary to transmit data to m bits through m transmit pins, and send the last signal through another transmit pin.
并串数据转换电路11在将k组传输数据通过m个发送引脚发送至片间互联的接收装置后,可以将其向数据发送处理器发送的指示接收端不能接收传输的数据的rdy_s信号更改为,指示接收端可以接收传输的数据的rdy_s信号,发送至数据发送处理器。The parallel data conversion circuit 11 can transmit the k sets of transmission data to the receiving device of the inter-chip interconnection through the m transmission pins, and can change the rdy_s signal transmitted to the data transmission processor indicating that the receiving end cannot receive the transmitted data. For example, the rdy_s signal indicating that the receiving end can receive the transmitted data is sent to the data transmitting processor.
示例性的,当vld_s信号为高电平信号指示发送端发送的数据为有效数据时,则并串数据转换电路11接收的vld_s信号为高电平信号。当rdy_s信号为高电平信号指示接收端可以接收传输的数据时,则数据发送处理器接收的rdy_s信号为高电平信号。Exemplarily, when the vld_s signal is a high level signal indicating that the data transmitted by the transmitting end is valid data, the vld_s signal received by the parallel data converting circuit 11 is a high level signal. When the rdy_s signal is a high level signal indicating that the receiving end can receive the transmitted data, the rdy_s signal received by the data transmitting processor is a high level signal.
需要说明的,vld_s信号还可通过其他信号指示发送端发送的数据为有效数据,例如通过低电平信号,本发明对此不做限制。同理,rdy_s信号还可通过其他信号指示接收端可以接收传输的数据,例如通过低电平信号,本发明对此不做限制。It should be noted that the vld_s signal may also indicate that the data sent by the transmitting end is valid data by other signals, for example, by a low level signal, which is not limited by the present invention. Similarly, the rdy_s signal can also indicate that the receiving end can receive the transmitted data through other signals, for example, by using a low level signal, which is not limited by the present invention.
需要说明的是,指示发送端发送的数据为有效数据的vld_s信号,与指示接收端可以接收传输的数据的rdy_s信号可以是相同的信号,可以是不同的信号,例如,vld_s信号通过低电平信号
指示发送端发送的数据为有效数据,rdy_s信号通过高电平信号指示接收端可以接收传输的数据。本发明对此不做限制。It should be noted that the vld_s signal indicating that the data sent by the transmitting end is valid data may be the same signal as the rdy_s signal indicating that the receiving end can receive the transmitted data, and may be different signals, for example, the vld_s signal passes the low level. Signal
The data sent by the transmitting end is indicated as valid data, and the rdy_s signal indicates that the receiving end can receive the transmitted data through a high level signal. The invention is not limited thereto.
需要说明的是,若数据发送处理器向并串数据转换电路11发送指示发送端发送的数据为无效数据的vld_s信号时,此时并串数据转换电路11根据接收的vld_s信号可以获知数据发送处理器将要发送的数据为无效数据,所以并串数据转换电路11不处理数据发送处理器发送的数据。It should be noted that, if the data transmission processor sends a vld_s signal indicating that the data transmitted by the transmitting end is invalid data to the parallel data conversion circuit 11, the parallel data conversion circuit 11 can know the data transmission processing according to the received vld_s signal. The data to be transmitted by the device is invalid data, so the parallel data conversion circuit 11 does not process the data transmitted by the data transmission processor.
若并串数据转换电路11向数据发送处理器发送指示接收端不能接收传输的数据的rdy_s信号时,此时数据发送处理器根据接收的rdy_s信号可以获知并串数据转换电路11不能接收传输的数据,所以数据发送处理器不再向并串数据转换电路11发送并行数据。If the parallel data conversion circuit 11 sends a rdy_s signal indicating that the receiving end cannot receive the transmitted data to the data transmission processor, the data transmission processor can know that the parallel data conversion circuit 11 cannot receive the transmitted data according to the received rdy_s signal. Therefore, the data transmitting processor no longer transmits the parallel data to the parallel data conversion circuit 11.
需要说明的是,n位的并行数据中n是预先确定的。其与所使用的片上总线有关。It should be noted that n of the n-bit parallel data is predetermined. It is related to the on-chip bus used.
示例性的,片上总线为AXI,可以确定并行数据的宽度n为控制数据的宽度、地址数据的宽度、待处理数据的宽度总和,假设是128位,即为n=128。其次可以根据片间互联的发送装置能够使用的发送引脚数,及片间互联的接收装置能够使用的接收引脚数来确定传输数据的宽度。若片间互联的发送装置只有6个引脚可用,片间互联的接收装置有8个引脚可用,则可以将片间互联的发送装置中的2个引脚分别作为发送vld_s信号的发送引脚,接收rdy_s信号的接收引脚,并将其他4个引脚作为发送传输数据的发送引脚,此时m=4。这样片间互联的发送装置可以使用128到4的并串数据转换电路11,将128位的并行数据通过并串数据转换电路11转换为4位的传输数据,并通过4个发送引脚发送至片间互联的接收装置。至片间互联的接收装置可以将一个引脚作为接收vld_s信号的接收引脚,并通过此接收引脚接收片间互联的发送装置发送的vld_s信号。将另一个引脚作为发送rdy_s信号的发送引脚,并通过此发送引脚向片间互联的发送装置发送rdy_s信号。在剩余的6个引脚中,选出4个引脚作为接收传输数据的接收引脚。Exemplarily, the on-chip bus is AXI, and it can be determined that the width n of the parallel data is the width of the control data, the width of the address data, and the sum of the widths of the data to be processed, which is assumed to be 128 bits, that is, n=128. Secondly, the width of the transmission data can be determined based on the number of transmission pins that can be used by the inter-chip interconnecting device and the number of receiving pins that can be used by the inter-chip interconnected receiving device. If only six pins are available for the inter-chip interconnecting device and eight pins are available for the inter-chip interconnecting device, the two pins in the inter-chip interconnecting device can be used as the transmitting vld_s signal. The pin receives the receive pin of the rdy_s signal and uses the other four pins as the transmit pins for transmitting the transmission data, at which m=4. The inter-chip interconnecting transmitting apparatus can use 128 to 4 parallel-serial data converting circuits 11 to convert 128-bit parallel data into parallel 4-bit transfer data by the parallel-serial data converting circuit 11, and transmit it to the 4-bit transmitting pin through four transmitting pins. Receiver for inter-chip interconnection. The receiving device to the inter-chip interconnect can use a pin as a receiving pin for receiving the vld_s signal, and receive the vld_s signal sent by the transmitting device of the inter-chip interconnect through the receiving pin. The other pin is used as a transmit pin for transmitting the rdy_s signal, and the rDY_s signal is sent to the inter-chip interconnecting device through the transmit pin. Of the remaining six pins, four pins are selected as receive pins for receiving transmission data.
进一步的,上述片间互联的发送装置,如图3所示,还包括:
异步FIFO(First Input First Outpu,先入先出)处理器13。Further, the transmitting device for inter-chip interconnection, as shown in FIG. 3, further includes:
Asynchronous FIFO (First Input First Out, first in first out) processor 13.
并串数据转换电路11的输入端与数据发送处理器连接包括:异步FIFO处理器13的输入端与数据发送处理器连接,异步FIFO处理器13的输出端与并串数据转换电路11的输入端连接。The input of the parallel data conversion circuit 11 and the data transmission processor include: the input of the asynchronous FIFO processor 13 is connected to the data transmission processor, the output of the asynchronous FIFO processor 13 and the input of the parallel data conversion circuit 11 connection.
此时,异步FIFO处理器13,用于从数据发送处理器中获取并存储n位的并行数据。At this time, the asynchronous FIFO processor 13 is configured to acquire and store n bits of parallel data from the data transmitting processor.
并串数据转换电路11,具体用于根据vld/rdy握手协议从异步FIFO处理器13中获取n位的并行数据。The parallel data conversion circuit 11 is specifically configured to acquire n-bit parallel data from the asynchronous FIFO processor 13 according to the vld/rdy handshake protocol.
具体的,异步FIFO处理器13设置在数据发送处理器与并串数据转换12之间,数据发送处理器可以将其生成的n位并行数据发送至异步FIFO处理器13,由异步FIFO处理器13进行存储。并且,并串数据转换12从异步FIFO处理器13中获取需进行转换的n位并行数据。这样,通过异步FIFO处理器13将数据发送处理器与并串数据转换12间隔开,数据发送处理器与并串数据转换电路11的运行时钟频率可以不同。即为数据发送处理器与并串数据转换电路11的数据传输速率可以不同,这样可以提高并串数据转换电路11及其后级处理器的数据传输速率,进而提高数据传输的效率;同时,数据发送处理器与并串数据转换电路11的运行时钟频率不同步,可以根据发送引脚实际支持的频率来动态的调整并串数据转换电路11的运行时钟频率,灵活性与可靠性也得到提高。Specifically, the asynchronous FIFO processor 13 is disposed between the data transmitting processor and the parallel data conversion 12, and the data transmitting processor can send the generated n-bit parallel data to the asynchronous FIFO processor 13, and the asynchronous FIFO processor 13 Store. And, the parallel data conversion 12 acquires n-bit parallel data to be converted from the asynchronous FIFO processor 13. Thus, the data transmission processor is spaced apart from the parallel data conversion 12 by the asynchronous FIFO processor 13, and the operation clock frequency of the data transmission processor and the parallel data conversion circuit 11 can be different. That is, the data transmission rate of the data transmission processor and the parallel data conversion circuit 11 can be different, so that the data transmission rate of the parallel data conversion circuit 11 and the subsequent stage processor can be improved, thereby improving the efficiency of data transmission; The transmission processor is out of synchronization with the running clock frequency of the parallel data conversion circuit 11, and the operating clock frequency of the parallel data conversion circuit 11 can be dynamically adjusted according to the frequency actually supported by the transmission pin, and the flexibility and reliability are also improved.
进一步的,并串数据转换电路11根据vld/rdy握手协议获取n位的并行数据意味着,并串数据转换电路11根据vld/rdy握手协议从异步FIFO处理器13中获取n位并行数据。也就是说,异步FIFO处理器13再向并串数据转换电路11发送n位的并行数据之前,先向并串数据转换电路11发送指示发送端发送的数据为有效数据的vld_s信号,此时并串数据转换电路11接收到此vld_s信号后,可以根据此vld_s信号获知异步FIFO处理器13向其发送的数据为有效数据。此时,若并串数据转换电路11可以接收异步FIFO处理器13发送的有效数据,则并串数据转换电路11向异步FIFO处理器13发送指示接收端可以接收传输的数据的rdy_s信号。在
异步FIFO处理器13接收到并串数据转换电路11发送的rdy_s信号后,可以根据此rdy_s信号,获知并串数据转换电路11可以接收传输的数据,此时,异步FIFO处理器13可以通过数据通道将n位的并行数据发送至并串数据转换电路11,使并串数据转换电路11从异步FIFO处理器13中获取需进行转换的n位的并行数据。Further, the parallel data conversion circuit 11 acquires n-bit parallel data according to the vld/rdy handshake protocol, meaning that the parallel data conversion circuit 11 acquires n-bit parallel data from the asynchronous FIFO processor 13 in accordance with the vld/rdy handshake protocol. That is, before the asynchronous FIFO processor 13 transmits n-bit parallel data to the parallel-to-serial data conversion circuit 11, the parallel data conversion circuit 11 first transmits a vld_s signal indicating that the data transmitted by the transmitting end is valid data, and After receiving the vld_s signal, the string data conversion circuit 11 can learn from the vld_s signal that the data sent to it by the asynchronous FIFO processor 13 is valid data. At this time, if the parallel-serial data conversion circuit 11 can receive the valid data transmitted from the asynchronous FIFO processor 13, the parallel-serial data conversion circuit 11 transmits to the asynchronous FIFO processor 13 a rdy_s signal indicating that the receiving end can receive the transmitted data. In
After receiving the rdy_s signal sent by the parallel data conversion circuit 11, the asynchronous FIFO processor 13 can learn that the parallel data conversion circuit 11 can receive the transmitted data according to the rdy_s signal. At this time, the asynchronous FIFO processor 13 can pass the data channel. The n-bit parallel data is sent to the parallel-serial data conversion circuit 11, and the parallel-serial data conversion circuit 11 acquires n-bit parallel data to be converted from the asynchronous FIFO processor 13.
进一步的,异步FIFO处理器13从数据发送处理器中获取n位的并行数据时,也可以根据vld/rdy握手协议获取。数据发送处理器再向异步FIFO处理器13发送n位的并行数据之前,先向异步FIFO处理器13发送指示发送端发送的数据为有效数据的vld_s信号,此时异步FIFO处理器13接收到此vld_s信号后,可以根据此vld_s信号获知数据发送处理器向其发送的数据为有效数据。此时,若异步FIFO处理器13可以接收数据发送处理器发送的有效数据,则异步FIFO处理器13向数据发送处理器发送指示接收端可以接收传输的数据的rdy_s信号。在数据发送处理器接收到异步FIFO处理器13发送的rdy_s信号后,通过数据通道将n位并行数据发送至异步FIFO处理器13。Further, when the asynchronous FIFO processor 13 acquires n-bit parallel data from the data transmitting processor, it can also be acquired according to the vld/rdy handshake protocol. Before transmitting the n-bit parallel data to the asynchronous FIFO processor 13, the data transmitting processor first sends a vld_s signal indicating that the data sent by the transmitting end is valid data to the asynchronous FIFO processor 13, and the asynchronous FIFO processor 13 receives the data. After the vld_s signal, the data sent by the data sending processor to the vld_s signal can be known as valid data. At this time, if the asynchronous FIFO processor 13 can receive the valid data transmitted by the data transmitting processor, the asynchronous FIFO processor 13 sends a rdy_s signal to the data transmitting processor indicating that the receiving end can receive the transmitted data. After the data transmitting processor receives the rdy_s signal sent by the asynchronous FIFO processor 13, the n-bit parallel data is sent to the asynchronous FIFO processor 13 through the data channel.
需要说明的是,本发明实施例中的数据发送处理器可以是集成在片间互联的发送装置中的处理器,也可以是独立于片间互联的发送装置的处理器,本发明对此不做限制。It should be noted that the data sending processor in the embodiment of the present invention may be a processor integrated in the transmitting device of the inter-chip interconnect, or may be a processor independent of the inter-chip interconnecting transmitting device, which is not Make restrictions.
进一步的,上述片间互联的发送转置,如图4所示,还包括:同步FIFO处理器14。Further, the transposition of the inter-chip interconnect, as shown in FIG. 4, further includes: a synchronous FIFO processor 14.
并串数据转换电路11的输出端与至少一个发送引脚12连接包括:The output of the parallel data conversion circuit 11 and the at least one transmit pin 12 are connected to include:
同步FIFO处理器14的输入端与并串数据转换电路11的输出端连接,同步FIFO处理器14的输出端与至少一个发送引脚12连接。The input of the synchronous FIFO processor 14 is coupled to the output of the parallel data conversion circuit 11, and the output of the synchronous FIFO processor 14 is coupled to at least one of the transmit pins 12.
并串数据转换电路11,具体用于根据vld/rdy握手协议将m位的传输数据发送至同步FIFO处理器14。The parallel data conversion circuit 11 is specifically configured to transmit the m-bit transmission data to the synchronous FIFO processor 14 according to the vld/rdy handshake protocol.
同步FIFO处理器14,用于接收并存储m位的传输数据,并根据vld/rdy握手协议将m位的传输数据通过m个发送引脚12发送
至片间互联的接收装置。The synchronous FIFO processor 14 is configured to receive and store m-bit transmission data, and send the m-bit transmission data through the m transmission pins 12 according to the vld/rdy handshake protocol.
Receiver to inter-chip interconnect.
具体的,同步FIFO处理器14设置在并串数据转换电路11与发送引脚12之间,并串数据转换电路11可以将其转换后的m位传输数据发送至同步FIFO处理器14,由同步FIFO处理器14进行存储。并且在可以通过发送引脚12发送传输数据时,同步FIFO处理器14将其存储的m位传输数据通过m个发送引脚12发送至片间互联的接收装置。这样,通过同步FIFO处理器14将并串数据转换电路11与发送引脚12间隔开,可以提高数据传输率。Specifically, the synchronous FIFO processor 14 is disposed between the parallel data conversion circuit 11 and the transmission pin 12, and the serial data conversion circuit 11 can transmit the converted m-bit transmission data to the synchronous FIFO processor 14, by synchronization. The FIFO processor 14 performs storage. And when the transmission data can be transmitted through the transmission pin 12, the synchronous FIFO processor 14 transmits its stored m-bit transmission data to the receiving device of the inter-chip interconnection through the m transmission pins 12. Thus, the parallel data conversion circuit 11 is spaced apart from the transmission pin 12 by the synchronous FIFO processor 14, so that the data transmission rate can be improved.
同步FIFO处理器14根据vld/rdy握手协议将m位的传输数据通过m个发送引脚12发送至片间互联的接收装置,即为,同步FIFO处理器14再向片间互联的接收装置发送m位的传输数据之前,先向片间互联的接收装置发送指示发送端发送的数据为有效数据的vld_s信号,此时片间互联的接收装置接收到此vld_s信号后,可以根据此vld_s信号获知同步FIFO处理器14向其发送的数据为有效数据。此时,若片间互联的接收装置可以接收同步FIFO处理器14发送的有效数据,则片间互联的接收装置向同步FIFO处理器14发送指示接收端可以接收传输的数据的rdy_s信号。在同步FIFO处理器14接收到片间互联的接收装置发送的rdy_s信号后,可以根据此rdy_s信号,获知片间互联的接收装置可以接收传输的数据,此时,同步FIFO处理器14可以通过m个发送引脚12将m位传输数据发送至片间互联的接收装置。The synchronous FIFO processor 14 transmits the m-bit transmission data to the receiving device of the inter-chip interconnect through the m transmitting pins 12 according to the vld/rdy handshake protocol, that is, the synchronous FIFO processor 14 transmits the inter-chip interconnected receiving device. Before the m-bit transmission data, the vld_s signal indicating that the data sent by the transmitting end is valid data is sent to the receiving device connected to the inter-chip. At this time, after receiving the vld_s signal, the inter-chip interconnecting receiving device can learn according to the vld_s signal. The data sent to it by the synchronous FIFO processor 14 is valid data. At this time, if the receiving device of the inter-chip interconnection can receive the valid data transmitted by the synchronous FIFO processor 14, the receiving device of the inter-chip interconnection transmits to the synchronous FIFO processor 14 a rdy_s signal indicating that the receiving end can receive the transmitted data. After the synchronous FIFO processor 14 receives the rdy_s signal sent by the receiving device of the inter-chip interconnect, the rdy_s signal can be used to learn that the receiving device of the inter-chip interconnect can receive the transmitted data. At this time, the synchronous FIFO processor 14 can pass the m. Transmit pins 12 transmit m-bit transmission data to the receiving device of the inter-chip interconnect.
进一步的,若没有同步FIFO处理器14,片间互联的接收装置使用的rdy_s信号直接传输至并串数据转换电路11。这样rdy_s信号从片间互联的接收装置到并串数据转换电路11的延时时间会比较大,运行时钟频率较小,即为运行时钟周期较大才能保证一个周期内rdy_s信号到达并串数据转换电路11,数据传输速率较低。而加入了同步FIFO处理器14后,rdy_s信号从片间互联的接收装置直接传输至同步FIFO处理器14,的延时时间,相对于rdy_s信号从片间互联的接收装置到并串数据转换电路11的延时时间减小了;同时,同步FIFO处理器14会重新产生rdy_s信号至并串数据转换电路11,从同步FIFO处理器14到并串数据转换电路11的延
时时间,相对于rdy_s信号从片间互联的接收装置到并串数据转换电路11的延时时间也减小了,这样此时运行时钟频率,相对于rdy_s信号从片间互联的接收装置到并串数据转换电路11时的运行时钟频率增大了,即为运行时钟周期减小了,因此通过同步FIFO处理器14提高了数据传输率。Further, if there is no synchronous FIFO processor 14, the rdy_s signal used by the receiving device of the inter-chip interconnect is directly transmitted to the parallel data conversion circuit 11. Thus, the delay time of the rdy_s signal from the receiving device of the inter-chip interconnection to the parallel data conversion circuit 11 is relatively large, and the running clock frequency is small, that is, the running clock period is large to ensure that the rdy_s signal arrives and the data is converted in one cycle. Circuit 11, the data transmission rate is low. After the synchronous FIFO processor 14 is added, the delay time of the rdy_s signal is directly transmitted from the receiving device of the inter-chip interconnect to the synchronous FIFO processor 14, with respect to the rdy_s signal from the receiving device connected to the chip to the parallel data conversion circuit. The delay time of 11 is reduced; at the same time, the synchronous FIFO processor 14 regenerates the rdy_s signal to the parallel data conversion circuit 11, from the synchronous FIFO processor 14 to the parallel data conversion circuit 11.
The time delay relative to the rdy_s signal from the receiving device connected to the parallel data conversion circuit 11 is also reduced, so that the clock frequency is operated at this time, from the receiving device connected to the inter-chip to the rdy_s signal. The operating clock frequency at the time of the string data conversion circuit 11 is increased, that is, the running clock period is reduced, so that the data transfer rate is improved by the synchronous FIFO processor 14.
进一步的,并串数据转换电路11将其转换的m位传输数据发送至同步FIFO处理器14时需根据vld/rdy握手协议,即为,并串数据转换电路11再向同步FIFO处理器14发送m位的传输数据之前,先向同步FIFO处理器14发送指示发送端发送的数据为有效数据的vld_s信号,此时同步FIFO处理器14接收到此vld_s信号后,可以根据此vld_s信号获知并串数据转换电路11向其发送的数据为有效数据。此时,若同步FIFO处理器14可以接收并串数据转换电路11发送的有效数据,则同步FIFO处理器14向并串数据转换电路11发送指示接收端可以接收传输的数据的rdy_s信号。在并串数据转换电路11接收到同步FIFO处理器14发送的rdy_s信号后,可以根据此rdy_s信号,获知同步FIFO处理器14可以接收传输的数据,此时,并串数据转换电路11可以通过数据通道将m位传输数据发送至同步FIFO处理器14。Further, the parallel data conversion circuit 11 sends the converted m-bit transmission data to the synchronous FIFO processor 14 according to the vld/rdy handshake protocol, that is, the parallel data conversion circuit 11 sends the data to the synchronous FIFO processor 14. Before transmitting the m-bit data, the synchronous FIFO processor 14 first sends a vld_s signal indicating that the data sent by the transmitting end is valid data. After receiving the vld_s signal, the synchronous FIFO processor 14 can learn and serialize the vld_s signal according to the vld_s signal. The data to which the data conversion circuit 11 transmits is valid data. At this time, if the synchronous FIFO processor 14 can receive the valid data transmitted by the parallel data conversion circuit 11, the synchronous FIFO processor 14 transmits to the parallel data conversion circuit 11 a rdy_s signal indicating that the receiving end can receive the transmitted data. After the parallel data conversion circuit 11 receives the rdy_s signal sent by the synchronous FIFO processor 14, the rdy_s signal can be used to know that the synchronous FIFO processor 14 can receive the transmitted data. At this time, the parallel data conversion circuit 11 can pass the data. The channel transmits the m-bit transmission data to the synchronous FIFO processor 14.
进一步的,上述片间互联的发送装置,如图5所示,还包括:IOP(I/O Processor,输入输出处理器)15。Further, the transmitting device for inter-chip interconnection described above further includes an IOP (I/O Processor) 15 as shown in FIG. 5.
其中,同步FIFO处理器14的输出端与至少一个发送引脚12连接包括:同步FIFO处理器14的输出端与IOP15的输入端连接,IOP15的输出端与至少一个发送引脚12连接。The output of the synchronous FIFO processor 14 is coupled to the at least one transmit pin 12. The output of the synchronous FIFO processor 14 is coupled to the input of the IOP 15, and the output of the IOP 15 is coupled to at least one transmit pin 12.
同步FIFO处理器14,具体用于根据vld/rdy握手协议将m位的传输数据发送至所述IOP15。The synchronous FIFO processor 14 is specifically configured to send m-bit transmission data to the IOP 15 according to the vld/rdy handshake protocol.
IOP15,用于接收m位的传输数据,并将m位的传输数据利用m个发送引脚12发送至片间互联的接收装置。The IOP 15 is configured to receive m bits of transmission data and transmit the m bits of transmission data to the receiving devices of the inter-chip interconnect using the m transmit pins 12.
具体的,IOP15设置在同步FIFO处理器14与至少一个发送引脚12之间,这样IOP15可以从同步FIFO处理器14取出m位传输数据,在片间互联的接收装置可以接收传输数据时,通过m个发送
引脚12发送至片间互联的接收装置。同步FIFO处理器14将m位传输数据发送至m个发送引脚12时,由于,同步FIFO处理器14需在其内部进行相关的逻辑处理,再传输至m个发送引脚12,这样导致同步FIFO处理器14将m为传输数据发送至m个发送引脚12的延时时间较大,则运行时钟频率较小,即为运行时钟周期较大才能保证一个周期内m位传输数据传输至m个发送引脚12,这样导致数据传输速率较低。而IOP15设置在同步FIFO处理器14与至少一个发送引脚12之间后,同步FIFO处理器14可以将m位传输数据先发送至IOP15的延时时间,相对于同步FIFO处理器14将m为传输数据发送至m个发送引脚12的延时时间减小了。同时,IOP15将m位传输数据发送至m个发送引脚12的延时时间,相对于同步FIFO处理器14将m为传输数据发送至m个发送引脚12的延时时间也减小了,这样此时的运行时钟频率,相对于同步FIFO处理器14将m为传输数据发送至m个发送引脚12时的运行时钟频率增大了,即为运行时钟周期减小了,因此通过同步IOP15提高了数据传输率。Specifically, the IOP 15 is disposed between the synchronous FIFO processor 14 and the at least one transmit pin 12, such that the IOP 15 can fetch the m-bit transfer data from the synchronous FIFO processor 14, and when the inter-chip interconnected receiving device can receive the transmitted data, m send
Pin 12 is sent to the receiving device of the inter-chip interconnect. When the synchronous FIFO processor 14 transmits the m-bit transmission data to the m transmission pins 12, since the synchronous FIFO processor 14 needs to perform related logic processing therein, it is transmitted to the m transmission pins 12, which causes synchronization. The FIFO processor 14 sends the transmission data to the m transmit pins 12 for a large delay time, and the running clock frequency is small, that is, the running clock period is large to ensure that the m-bit transmission data is transmitted to the m in one cycle. Transmit pin 12, which results in a lower data transfer rate. The IOP 15 is disposed between the synchronous FIFO processor 14 and the at least one transmit pin 12, and the synchronous FIFO processor 14 can send the m-bit transfer data to the IOP 15 delay time first, with respect to the synchronous FIFO processor 14 The delay time for transmitting data to the m transmit pins 12 is reduced. At the same time, the delay time for the IOP 15 to transmit the m-bit transmission data to the m transmission pins 12 is also reduced with respect to the delay time that the synchronous FIFO processor 14 transmits m to the transmission pins 12 for the transmission data. Thus, the operating clock frequency at this time is increased relative to the synchronous clock processor 14 when m is transmitted data to the m transmitting pins 12, that is, the running clock period is reduced, so the synchronous IOP 15 is passed. Increased data transfer rate.
同步FIFO处理器14将其转换的m位传输数据发送至IOP15时需根据vld/rdy握手协议,即为,同步FIFO处理器14再向IOP15发送m位的传输数据之前,先向IOP15发送指示发送端发送的数据为有效数据的vld_s信号,此时IOP15接收到此vld_s信号后,可以根据此vld_s信号获知同步FIFO处理器14向其发送的数据为有效数据。此时,若IOP15可以接收同步FIFO处理器14发送的有效数据,则IOP15向同步FIFO处理器14发送指示接收端可以接收传输的数据的rdy_s信号。在同步FIFO处理器14接收到IOP15发送的rdy_s信号后,可以根据此rdy_s信号,获知IOP15可以接收传输的数据,此时,同步FIFO处理器14可以通过数据通道将m位传输数据发送至IOP15。The synchronous FIFO processor 14 sends the converted m-bit transmission data to the IOP 15 according to the vld/rdy handshake protocol, that is, the synchronous FIFO processor 14 sends an indication transmission to the IOP 15 before transmitting the m-bit transmission data to the IOP 15. The data sent by the terminal is the vld_s signal of the valid data. After receiving the vld_s signal, the IOP 15 can learn, according to the vld_s signal, that the data sent by the synchronous FIFO processor 14 is valid data. At this time, if the IOP 15 can receive the valid data transmitted by the synchronous FIFO processor 14, the IOP 15 sends a rdy_s signal to the synchronous FIFO processor 14 indicating that the receiving end can receive the transmitted data. After the synchronous FIFO processor 14 receives the rdy_s signal sent by the IOP 15, it can be known from the rdy_s signal that the IOP 15 can receive the transmitted data. At this time, the synchronous FIFO processor 14 can transmit the m-bit transmission data to the IOP 15 through the data channel.
IOP15将其转换的m位传输数据通过m个发送引脚12发送至片间互联的接收装置时也需利用vld/rdy握手协议,即为,IOP15再向片间互联的接收装置发送m位的传输数据之前,先向片间互联的接收装置发送指示发送端发送的数据为有效数据的vld_s信号,
此时片间互联的接收装置接收到此vld_s信号后,可以根据此vld_s信号获知IOP15向其发送的数据为有效数据。此时,若片间互联的接收装置可以接收IOP15发送的有效数据,则片间互联的接收装置向IOP15发送指示接收端可以接收传输的数据的rdy_s信号。在IOP15接收到片间互联的接收装置发送的rdy_s信号后,可以根据此rdy_s信号,获知片间互联的接收装置可以接收传输的数据,此时,IOP15可以通过m个发送引脚12将m位传输数据发送至片间互联的接收装置。The IOP 15 also needs to use the vld/rdy handshake protocol when transmitting the converted m-bit transmission data through the m transmission pins 12 to the receiving device of the inter-chip interconnect, that is, the IOP 15 transmits the m-bit to the receiving device connected to the inter-chip. Before transmitting the data, the vld_s signal indicating that the data sent by the transmitting end is valid data is sent to the receiving device connected to the inter-chip,
After receiving the vld_s signal, the receiving device connected between the slices can know that the data sent by the IOP 15 to the data is valid data according to the vld_s signal. At this time, if the receiving device connected between the chips can receive the valid data transmitted by the IOP 15, the receiving device of the inter-chip interconnection transmits to the IOP 15 a rdy_s signal indicating that the receiving end can receive the transmitted data. After receiving the rdy_s signal sent by the receiving device of the inter-chip interconnect, the IOP 15 can learn that the receiving device of the inter-chip interconnect can receive the transmitted data according to the rdy_s signal. At this time, the IOP 15 can transmit the m bit through the m transmitting pins 12. The transmission data is sent to the receiving device of the inter-chip interconnection.
需要说明的是,若片间互联的接收装置必须在收到片间互联的发送装置发送的vld_s信号为指示发送端发送的数据为有效数据的信号时,才能向片间互联的发送装置发送rdy_s信号,而片间互联的发送装置必须在接收到片间互联的接收装置发送的rdy_s信号为指示接收端可以接收传输的数据的信号时,才能向片间互联的接收装置,那么片间互联的接收装置在等待片间互联的发送装置的指示发送端发送的数据为有效数据的vld_s信号,而片间互联的发送装置在等待片间互联的接收装置的指示接收端可以接收传输的数据的rdy_s信号,这样会造成传输数据永远无法发送,这样就发生了死锁。It should be noted that, if the receiving device connected between the slices must transmit the vld_s signal sent by the transmitting device connected to the inter-chip to the signal indicating that the data sent by the transmitting end is valid data, the rdy_s can be sent to the inter-chip interconnecting device. The signal, and the inter-chip interconnected transmitting device must be connected to the receiving device connected to the inter-chip when the rdy_s signal sent by the receiving device that receives the inter-chip interconnection is a signal indicating that the receiving end can receive the transmitted data, then inter-chip interconnection The data transmitted by the receiving device at the transmitting end of the transmitting device waiting for the inter-chip interconnection is the vld_s signal of the valid data, and the transmitting device of the inter-chip interconnecting device can receive the transmitted data rdy_s at the receiving end of the receiving device waiting for the inter-chip interconnection. The signal, which causes the transmitted data to never be sent, causes a deadlock.
为了避免片间互联的发送装置与接收装置间发生死锁,在IOP15接收到至片间互联的接收装置发送的rdy_s信号为指示其不能接收传输的数据时,IOP15仍然发送指示发送端发送的数据为有效数据的vld_s信号及m位传输数据。且此时IOP15发送的m位传输数据不变,直至IOP15接收到片间互联的接收装置发送的rdy_s信号为指示其可以接收传输的数据。In order to avoid deadlock between the transmitting device and the receiving device of the inter-chip interconnection, when the Ird15 receives the rdy_s signal sent by the receiving device connected to the inter-chip interconnect to indicate that it cannot receive the transmitted data, the IOP 15 still sends the data indicating the transmitting end. The data is transmitted for the vld_s signal and m bits of the valid data. At this time, the m-bit transmission data sent by the IOP 15 does not change until the Ird15 receives the rdy_s signal sent by the receiving device of the inter-chip interconnect as indicating that it can receive the transmitted data.
需要说明的是,片间互联是指芯片间的互联,或是FPGA间的互联。It should be noted that the inter-chip interconnection refers to the interconnection between chips or the interconnection between FPGAs.
本发明实施例提供了一种片间互联的发送装置,包括:并串数据转换电路,至少一个发送引脚;其中,并串数据转换电路的输出端与至少一个发送引脚连接。并串数据转换电路,用于根据vld/rdy握手协议获取n位的并行数据,将n位的并行数据转换为m位的传输数据,并根据vld/rdy握手协议将m位的传输数据通过m个发送
引脚发送至片间互联的接收装置。这样,片间互联的发送装置可以将需要发送至的n位并行数据通过并串数据转换电路,转换为m位的传输数据,进而可以仅需m个发送引脚将m位传输数据发送至片间互联的接收装置。相对于现有技术中,片间互联的发送装置需要n个发送引脚将n位并行数据发送至片间互联的接收装置而言,本发明可以仅需m个发送引脚即可完成数据的发送,实现了在实现芯片间互联时,减少使用的引脚,进而降低了至少两个FPGA间连接的信号线的走线的复杂度,从而降低了芯片间互联的复杂性。并且片间互联的发送装置可以根据vld/rdy握手协议获取n位的并行数据,在转换为m位的传输数据后,根据vld/rdy握手协议将m位的传输数据通过m个发送引脚发送到至片间互联的接收装置,这样可以在片间互联的发送装置中兼容片上总数协议,提高了其兼容性能。An embodiment of the present invention provides an apparatus for transmitting inter-chip interconnects, including: a parallel-serial data conversion circuit, at least one transmit pin; wherein an output of the parallel-serial data conversion circuit is coupled to at least one transmit pin. The parallel data conversion circuit is configured to acquire n-bit parallel data according to the vld/rdy handshake protocol, convert n-bit parallel data into m-bit transmission data, and pass m-bit transmission data according to the vld/rdy handshake protocol. Send
The pin is sent to the receiving device of the inter-chip interconnect. In this way, the transmitting device for inter-chip interconnection can convert the n-bit parallel data to be transmitted to the m-bit transmission data through the parallel-serial data conversion circuit, and further, the m-bit transmission data can be transmitted to the slice by only m transmission pins. Interconnected receiving device. Compared with the prior art, the transmitting device for inter-chip interconnection requires n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection, and the present invention can complete data by only requiring m transmitting pins. The transmission realizes the reduction of the used pins when implementing inter-chip interconnection, thereby reducing the complexity of the routing of the signal lines connected between at least two FPGAs, thereby reducing the complexity of inter-chip interconnection. And the transmitting device of the inter-chip interconnection can acquire n-bit parallel data according to the vld/rdy handshake protocol, and after transmitting the m-bit transmission data, send the m-bit transmission data through m sending pins according to the vld/rdy handshake protocol. The receiving device is connected to the inter-chip interconnect, so that the on-chip total protocol can be compatible in the inter-chip interconnecting device, and the compatibility performance is improved.
本发明实施例提供了一种片间互联的接收装置,如图6所示,包括:至少一个接收引脚21,串并数据转换电路22。串并数据转换电路22的输入端与至少一个接收引脚21连接,输出端与数据处理器连接。An embodiment of the present invention provides a receiving device for inter-chip interconnection, as shown in FIG. 6, comprising: at least one receiving pin 21, and a serial-to-parallel data conversion circuit 22. The input of the serial-to-parallel data conversion circuit 22 is coupled to at least one receive pin 21, and the output is coupled to a data processor.
串并数据转换电路22,用于根据vld/rdy握手协议通过m个接收引脚21获取片间互联的发送装置发送的m位的传输数据,将m位的传输数据转换为n位的并行数据,并根据vld/rdy握手协议将n位的并行数据发送至数据处理器。The serial-to-parallel data conversion circuit 22 is configured to acquire m-bit transmission data sent by the inter-chip interconnection transmitting device through the m receiving pins 21 according to the vld/rdy handshake protocol, and convert the m-bit transmission data into n-bit parallel data. And send n bits of parallel data to the data processor according to the vld/rdy handshake protocol.
其中,m为大于0的整数。n为大于m的整数。Where m is an integer greater than zero. n is an integer greater than m.
具体的,在片间互联的发送装置向片间互联的接收装置发送m位的传输数据后,若片间互联的接收装置的并串数据转换电路22可以通过其与片间互联的发送装置连接的m个接收引脚21接收到m位的传输数据。并串数据转换电路22接收到m位的传输数据后,将其暂存,直到收到n位的数据,实现了将m位的传输数据转换至n位并行数据。在转换为n位的并行数据后,可以将其发送至数据处理器,使得数据处理器对n位的并行数据进行相应的处理。Specifically, after the inter-chip interconnecting transmitting device transmits the m-bit transmission data to the inter-chip interconnected receiving device, the parallel-serial data converting circuit 22 of the receiving device connected between the chips can be connected through the inter-chip transmitting device. The m receiving pins 21 receive the transmission data of m bits. After receiving the m-bit transmission data, the parallel-serial data conversion circuit 22 temporarily stores it until n-bit data is received, thereby realizing the conversion of the m-bit transmission data to the n-bit parallel data. After converting to n-bit parallel data, it can be sent to the data processor, causing the data processor to process the n-bit parallel data accordingly.
需要说明的是,本发明实施例中的数据处理器可以片间互联接
收装置中的一个处理器,可以是独立于片间互联接收装置的处理器,本发明对此不做限制。It should be noted that the data processor in the embodiment of the present invention may be interconnected between slices.
A processor in the receiving device may be a processor independent of the inter-chip interconnecting receiving device, which is not limited by the present invention.
需要说明的是,n位并行数据中不仅包含有需使用的待处理的数据,还包含有与待处理的数据有关的控制数据,地址数据等数据。It should be noted that the n-bit parallel data includes not only the data to be processed to be used but also control data, address data and the like related to the data to be processed.
需要说明的是,在本发明实施例中,n位并行数据中n是预先确定的。其与所使用的片上总线有关。It should be noted that, in the embodiment of the present invention, n in the n-bit parallel data is predetermined. It is related to the on-chip bus used.
进一步的,在实现片间互联的接收装置中,元件之间通常通过片上总线连接,即为接收引脚21通过片上总线与并串数据转换电路22连接。这样为了兼容片上总线的协议,例如AXI(Advanced eXtensible Interface,先进扩展总线)协议,APB((Advanced Peripheral Bus,先进外设总线)协议等,本发明中,不同元件传输数据可以根据vld/rdy握手协议。Further, in the receiving device that implements the inter-chip interconnection, the components are usually connected by an on-chip bus, that is, the receiving pin 21 is connected to the parallel-serial data conversion circuit 22 through the on-chip bus. In this way, in order to be compatible with the protocol of the on-chip bus, for example, AXI (Advanced eXtensible Interface) protocol, APB (Advanced Peripheral Bus) protocol, etc., in the present invention, different components transmit data according to vld/rdy handshake. protocol.
具体的,串并数据转换电路22,用于根据vld/rdy握手协议通过m个接收引脚21获取片间互联的发送装置发送的m位的传输数据,即为,片间互联的发送装置在向片间互联的接收装置发送m位的传输数据之前,先向片间互联的接收装置发送指示发送端发送的数据为有效数据的vld_s信号,此时串并数据转换电路22可以通过接收引脚21接收到vld_s信号,可以根据此vld_s信号获知片间互联的发送装置向其发送的数据为有效数据。此时,若串并数据转换电路22可以接收片间互联的发送装置发送的有效数据,则串并数据转换电路22向片间互联的发送装置指示接收端可以接收传输的数据的rdy_s信号。这样,串并数据转换电路22可以通过m个接收引脚21接收到片间互联的发送装置发送的m位的传输数据。Specifically, the serial-to-parallel data conversion circuit 22 is configured to acquire, by using the m receiving pins 21, the m-bit transmission data sent by the inter-chip interconnecting device according to the vld/rdy handshake protocol, that is, the inter-chip interconnecting transmitting device is Before transmitting the m-bit transmission data to the receiving device connected between the chips, the vld_s signal indicating that the data transmitted by the transmitting end is valid data is sent to the receiving device interconnected between the chips, and the serial-to-parallel data conversion circuit 22 can pass the receiving pin. 21 receives the vld_s signal, and can learn, according to the vld_s signal, that the data sent by the transmitting device connected between the slices is valid data. At this time, if the serial-to-parallel data conversion circuit 22 can receive the valid data transmitted by the inter-chip interconnecting transmitting device, the serial-to-parallel data converting circuit 22 instructs the transmitting device of the inter-chip interconnect to receive the rdy_s signal of the transmitted data. Thus, the serial-to-parallel data conversion circuit 22 can receive the m-bit transmission data transmitted from the inter-chip interconnected transmission device through the m reception pins 21.
串并数据转换电路22并根据vld/rdy握手协议将n位的并行数据发送至数据处理器,即为串并数据转换电路22将m位的传输数据转换为n位的并行数据后,在向数据处理器发送n位的并行数据之前,先向数据处理器发送指示发送端发送的数据为有效数据的vld_s信号,此时数据处理器接收到此vld_s信号后,可以根据此vld_s信号获知串并数据转换电路22向其发送的数据为有效数据。
此时,若数据处理器可以接收串并数据转换电路22发送的有效数据,则数据处理器向串并数据转换电路22发送指示接收端可以接收传输的数据的rdy_s信号。在串并数据转换电路22接收到数据处理器发送的rdy_s信号后,可以根据此rdy_s信号,获知数据处理器可以接收传输的数据,此时,串并数据转换电路22可以通过数据通道将n位并行数据发送至数据处理器。The serial-to-parallel data conversion circuit 22 transmits n-bit parallel data to the data processor according to the vld/rdy handshake protocol, that is, the serial-to-parallel data conversion circuit 22 converts the m-bit transmission data into n-bit parallel data, and then Before the data processor sends the n-bit parallel data, the data processor sends a vld_s signal indicating that the data sent by the sender is valid data. After receiving the vld_s signal, the data processor can obtain the string according to the vld_s signal. The data to which the data conversion circuit 22 transmits is valid data.
At this time, if the data processor can receive the valid data transmitted by the serial-to-parallel data conversion circuit 22, the data processor transmits to the serial-to-parallel data conversion circuit 22 a rdy_s signal indicating that the receiving end can receive the transmitted data. After the serial-to-parallel data conversion circuit 22 receives the rdy_s signal sent by the data processor, it can be learned according to the rdy_s signal that the data processor can receive the transmitted data. At this time, the serial-to-parallel data conversion circuit 22 can pass n bits through the data channel. Parallel data is sent to the data processor.
需要说明的是,指示发送端发送的数据为有效数据的vld_s信号,与指示接收端可以接收传输的数据的rdy_s信号可以是相同的信号,可以是不同的信号,例如,vld_s信号通过低电平信号指示发送端发送的数据为有效数据,rdy_s信号通过高电平信号指示接收端可以接收传输的数据。本发明对此不做限制。It should be noted that the vld_s signal indicating that the data sent by the transmitting end is valid data may be the same signal as the rdy_s signal indicating that the receiving end can receive the transmitted data, and may be different signals, for example, the vld_s signal passes the low level. The signal indicates that the data sent by the transmitting end is valid data, and the rdy_s signal indicates that the receiving end can receive the transmitted data through a high level signal. The invention is not limited thereto.
需要说明的是,若串并数据转换电路22向数据处理器发送指示发送端发送的数据为无效数据的vld_s信号时,此时数据处理器根据接收的vld_s信号可以获知串并数据转换电路22将要发送的数据为无效数据,所以数据处理器不处理串并数据转换电路22发送的数据。It should be noted that, if the serial-to-parallel data conversion circuit 22 sends a vld_s signal indicating that the data sent by the transmitting end is invalid data to the data processor, the data processor can know that the serial-to-parallel data conversion circuit 22 is to be obtained according to the received vld_s signal. The transmitted data is invalid data, so the data processor does not process the data transmitted by the serial-to-parallel data conversion circuit 22.
若串并数据转换电路22接收的数据处理器发送的rdy_s信号为指示接收端不能接收传输的数据的rdy_s信号,串并数据转换电路22根据接收的rdy_s信号可以获知数据处理器不能接收传输的数据,所以串并数据转换电路22不再向数据处理器发送并行数据。If the rdy_s signal sent by the data processor received by the serial-to-parallel data conversion circuit 22 is a rdy_s signal indicating that the receiving end cannot receive the transmitted data, the serial-to-parallel data conversion circuit 22 can know that the data processor cannot receive the transmitted data according to the received rdy_s signal. Therefore, the serial to parallel data conversion circuit 22 no longer transmits parallel data to the data processor.
进一步的,上述片间互联的接收装置,如图7所示,还包括:异步FIFO处理器23。Further, the receiving device for inter-chip interconnection described above, as shown in FIG. 7, further includes an asynchronous FIFO processor 23.
串并数据转换电路22的输出端与数据处理器连接包括:串并数据转换电路22的输出端与异步FIFO处理器23的输入端连接。异步FIFO处理器23的输出端与数据处理器连接。The output of the serial to parallel data conversion circuit 22 is coupled to the data processor including the output of the serial to parallel data conversion circuit 22 coupled to the input of the asynchronous FIFO processor 23. The output of the asynchronous FIFO processor 23 is coupled to the data processor.
串并数据转换电路22,具体用于根据vld/rdy握手协议将n位的并行数据发送至异步FIFO处理器23。The serial-to-parallel data conversion circuit 22 is specifically configured to transmit n-bit parallel data to the asynchronous FIFO processor 23 according to the vld/rdy handshake protocol.
异步FIFO处理器23,还用于接收并存储n位的并行数据,根据vld/rdy握手协议向数据处理器发送n位的并行数据。The asynchronous FIFO processor 23 is further configured to receive and store n bits of parallel data, and send n bits of parallel data to the data processor according to the vld/rdy handshake protocol.
具体的,异步FIFO处理器23设置在串并数据转换电路22与
数据处理器之间,串并数据转换电路22将其转换的n位的并行数据发送至异步FIFO处理器23,由异步FIFO处理器23进行存储,并且数据处理器可以从异步FIFO处理器23获取n位的并行数据,这样,在数据处理器无法接收n位的并行数据时,串并数据转换电路22可以先将其转换的n位的并行数据缓存至异步FIFO处理器23,进而可以保证片间互联的发送装置正常的发送数据。并且,通过异步FIFO处理器23将串并数据转换电路22与数据处理器间隔开,串并数据转换电路22与数据处理器的运行时钟频率可以不同。即为串并数据转换电路22与数据处理器的数据传输速率可以不同,这样可以提高串并数据转换电路22的数据传输速率,进而提高数据传输的效率。Specifically, the asynchronous FIFO processor 23 is disposed in the serial-to-parallel data conversion circuit 22 and
Between the data processors, the serial-to-parallel data conversion circuit 22 transmits its converted n-bit parallel data to the asynchronous FIFO processor 23, which is stored by the asynchronous FIFO processor 23, and the data processor can be obtained from the asynchronous FIFO processor 23. N-bit parallel data, so that when the data processor cannot receive n-bit parallel data, the serial-to-parallel data conversion circuit 22 can first cache the converted n-bit parallel data to the asynchronous FIFO processor 23, thereby ensuring the slice. The inter-connected transmitting device transmits data normally. Also, the serial to parallel data conversion circuit 22 is spaced apart from the data processor by the asynchronous FIFO processor 23, and the serial clock data conversion circuit 22 and the data processor may operate at different clock frequencies. That is, the data transmission rate of the serial-to-parallel data conversion circuit 22 and the data processor can be different, which can increase the data transmission rate of the serial-to-parallel data conversion circuit 22, thereby improving the efficiency of data transmission.
串并数据转换电路22将其转换的n位的并行数据发送至异步FIFO处理器23时需根据vld/rdy握手协议,即为,串并数据转换电路22再向异步FIFO处理器23发送n位的并行数据之前,先向异步FIFO处理器23发送指示发送端发送的数据为有效数据的vld_s信号,此时异步FIFO处理器23接收到此vld_s信号后,可以根据此vld_s信号获知串并数据转换电路22向其发送的数据为有效数据。此时,若异步FIFO处理器23可以接收串并数据转换电路22发送的有效数据,则异步FIFO处理器23向串并数据转换电路22发送指示接收端可以接收传输的数据的rdy_s信号。在串并数据转换电路22接收到异步FIFO处理器23发送的rdy_s信号后,可以根据此rdy_s信号,获知异步FIFO处理器23可以接收传输的数据,此时,串并数据转换电路22可以通过数据通道将n位的并行数据发送至异步FIFO处理器23。The serial-to-parallel data conversion circuit 22 sends its converted n-bit parallel data to the asynchronous FIFO processor 23 in accordance with the vld/rdy handshake protocol, that is, the serial-to-parallel data conversion circuit 22 transmits n bits to the asynchronous FIFO processor 23. Before the parallel data, the asynchronous FIFO processor 23 first sends a vld_s signal indicating that the data sent by the transmitting end is valid data. After receiving the vld_s signal, the asynchronous FIFO processor 23 can learn the serial data conversion according to the vld_s signal. The data that circuit 22 sends to it is valid data. At this time, if the asynchronous FIFO processor 23 can receive the valid data transmitted by the serial-to-parallel data conversion circuit 22, the asynchronous FIFO processor 23 transmits to the serial-to-parallel data conversion circuit 22 a rdy_s signal indicating that the receiving end can receive the transmitted data. After the serial-to-parallel data conversion circuit 22 receives the rdy_s signal sent by the asynchronous FIFO processor 23, it can be learned from the rdy_s signal that the asynchronous FIFO processor 23 can receive the transmitted data. At this time, the serial-to-parallel data conversion circuit 22 can pass the data. The channel sends n bits of parallel data to the asynchronous FIFO processor 23.
异步FIFO处理器23将n位的并行数据发送至数据处理器时,也可以根据vld/rdy握手协议,即为异步FIFO处理器23再向数据处理器发送n位的并行数据之前,先向数据处理器发送指示发送端发送的数据为有效数据的vld_s信号,此时数据处理器接收到此vld_s信号后,可以根据此vld_s信号获知异步FIFO处理器23向其发送的数据为有效数据。此时,若数据处理器可以接收异步FIFO处理器23发送的有效数据,则数据处理器向异步FIFO处理器23
发送指示接收端可以接收传输的数据的rdy_s信号。在异步FIFO处理器23接收到数据处理器发送的rdy_s信号后,可以根据此rdy_s信号,获知数据处理器可以接收传输的数据,此时,异步FIFO处理器23可以通过数据通道将n位的并行数据发送至数据处理器,使数据处理器从异步FIFO处理器13中获取需进行转换的n位的并行数据。When the asynchronous FIFO processor 23 sends the n-bit parallel data to the data processor, it can also forward the data according to the vld/rdy handshake protocol, that is, before the asynchronous FIFO processor 23 sends the n-bit parallel data to the data processor. The processor sends a vld_s signal indicating that the data sent by the transmitting end is valid data. After receiving the vld_s signal, the data processor can learn, according to the vld_s signal, that the data sent by the asynchronous FIFO processor 23 is valid data. At this time, if the data processor can receive the valid data sent by the asynchronous FIFO processor 23, the data processor goes to the asynchronous FIFO processor 23
Sending a rdy_s signal indicating that the receiving end can receive the transmitted data. After the asynchronous FIFO processor 23 receives the rdy_s signal sent by the data processor, it can be learned according to the rdy_s signal that the data processor can receive the transmitted data. At this time, the asynchronous FIFO processor 23 can parallel the n bits through the data channel. The data is sent to the data processor, causing the data processor to acquire n bits of parallel data to be converted from the asynchronous FIFO processor 13.
进一步的,上述片间互联的接收装置,如图8所示,还包括:同步FIFO处理器24。Further, the receiving device for inter-chip interconnection described above, as shown in FIG. 8, further includes a synchronous FIFO processor 24.
串并数据转换电路22的输入端与至少一个接收引脚21连接包括:The input of the serial-to-parallel data conversion circuit 22 to the at least one receiving pin 21 includes:
串并数据转换电路22的输入端与同步FIFO处理器24的输出端连接,同步FIFO处理器24的输入端与至少一个接收引脚21连接。The input of the serial to parallel data conversion circuit 22 is coupled to the output of the synchronous FIFO processor 24, and the input of the synchronous FIFO processor 24 is coupled to at least one receive pin 21.
同步FIFO处理器24,用于根据vld/rdy握手协议通过m个接收引脚21接收片间互联的发送装置发送的m位的传输数据,并存储m位的传输数据。The synchronous FIFO processor 24 is configured to receive m-bit transmission data transmitted by the inter-chip interconnected transmitting device through the m receiving pins 21 according to the vld/rdy handshake protocol, and store the m-bit transmission data.
串并数据转换电路21,具体用于根据vld/rdy握手协议从同步FIFO处理器24中获取片间互联的发送装置发送的m位的传输数据。The serial-to-parallel data conversion circuit 21 is specifically configured to acquire m-bit transmission data transmitted from the synchronization device of the inter-chip interconnect from the synchronous FIFO processor 24 according to the vld/rdy handshake protocol.
具体的,同步FIFO处理器24设置在串并数据转换电路22于接收引脚21之间,片间互联的发送装置将m位的传输数据发送至片间互联的接收装置后,片间互联的接收装置的m个接收引脚21将接收的数据传输至同步FIFO处理器24中,至同步FIFO处理器24存储接收的m位的传输数据。串并数据转换电路22可以在同步FIFO处理器24中获取m位的传输数据,并对其进行转换。这样,在串并数据转换电路22暂时无法进行数据的转换时,通过同步FIFO处理器24可以先缓存片间互联的发送装置发送的传输数据,进而保证了片间互联的发送装置的正常发送。Specifically, the synchronous FIFO processor 24 is disposed between the serial-to-parallel data conversion circuit 22 between the receiving pins 21, and the inter-chip interconnecting transmitting device transmits the m-bit transmission data to the inter-chip interconnected receiving device, and inter-chip interconnection The m receiving pins 21 of the receiving device transmit the received data to the synchronous FIFO processor 24, and the synchronous FIFO processor 24 stores the received m-bit transmitted data. The serial to parallel data conversion circuit 22 can acquire m bits of transmission data in the synchronous FIFO processor 24 and convert it. Thus, when the serial-to-parallel data conversion circuit 22 is temporarily unable to perform data conversion, the synchronous FIFO processor 24 can first buffer the transmission data transmitted by the inter-chip interconnection transmitting apparatus, thereby ensuring the normal transmission of the inter-chip interconnection transmitting apparatus.
片间互联的发送装置在向片间互联的接收装置发送m位的传输数据之前,先向片间互联的接收装置发送指示发送端发送的数据
为有效数据的vld_s信号,此时同步FIFO处理器24可以通过接收引脚21接收到vld_s信号,可以根据此vld_s信号获知片间互联的发送装置向其发送的数据为有效数据。此时,若同步FIFO处理器24可以接收片间互联的发送装置发送的有效数据,则同步FIFO处理器24向片间互联的发送装置指示接收端可以接收传输的数据的rdy_s信号。这样,同步FIFO处理器24可以通过m个接收引脚21接收到片间互联的发送装置发送的m位的传输数据。The inter-chip interconnecting transmitting device first transmits the data sent by the transmitting end to the receiving device interconnected between the slices before transmitting the m-bit transmission data to the receiving device interconnected between the slices.
For the vld_s signal of the valid data, the synchronous FIFO processor 24 can receive the vld_s signal through the receiving pin 21, and can learn from the vld_s signal that the data sent by the inter-chip interconnecting device is valid data. At this time, if the synchronous FIFO processor 24 can receive the valid data transmitted by the inter-chip interconnecting transmitting device, the synchronous FIFO processor 24 instructs the transmitting device connected between the slices to receive the rdy_s signal of the transmitted data. Thus, the synchronous FIFO processor 24 can receive the m-bit transmission data transmitted by the transmitting device of the inter-chip interconnection through the m receiving pins 21.
串并数据转换电路22根据vld/rdy握手协议从同步FIFO处理器24中获取片间互联的发送装置发送的m位的传输数据,即为:同步FIFO处理器24在获取了m位的传输数据后,可以向串并数据转换电路22发送指示发送端发送的数据为有效数据的vld_s信号,此时串并数据转换电路22接收到此vld_s信号后,可以根据此vld_s信号获知同步FIFO处理器24向其发送的数据为有效数据。此时,若串并数据转换电路22可以接收同步FIFO处理器24发送的有效数据,则串并数据转换电路22向同步FIFO处理器24发送指示接收端可以接收传输的数据的rdy_s信号。在同步FIFO处理器24接收到rdy_s信号后,可以根据此rdy_s信号,获知串并数据转换电路22可以接收传输的数据,此时,同步FIFO处理器24可以通过数据通道将m位传输数据发送至串并数据转换电路22。The serial-to-parallel data conversion circuit 22 acquires the m-bit transmission data transmitted from the inter-chip interconnected transmitting device from the synchronous FIFO processor 24 according to the vld/rdy handshake protocol, that is, the synchronous FIFO processor 24 acquires the m-bit transmission data. Then, the serial data conversion circuit 22 can send a vld_s signal indicating that the data sent by the transmitting end is valid data. After receiving the vld_s signal, the serial data conversion circuit 22 can learn the synchronous FIFO processor 24 according to the vld_s signal. The data sent to it is valid data. At this time, if the serial-to-parallel data conversion circuit 22 can receive the valid data transmitted by the synchronous FIFO processor 24, the serial-to-parallel data conversion circuit 22 transmits to the synchronous FIFO processor 24 a rdy_s signal indicating that the receiving end can receive the transmitted data. After receiving the rdy_s signal, the synchronous FIFO processor 24 can learn that the serial-to-parallel data conversion circuit 22 can receive the transmitted data according to the rdy_s signal. At this time, the synchronous FIFO processor 24 can transmit the m-bit transmission data to the data channel to the data channel. The serial to parallel data conversion circuit 22.
本发明实施例提供了一种片间互联的接收装置,包括:至少一个接收引脚,串并数据转换电路。其中,串并数据转换电路的输入端与至少一个接收引脚连接,串并数据转换电路的输出端与数据处理器连接。串并数据转换电路,用于根据vld/rdy握手协议通过m个接收引脚获取片间互联的发送装置发送的m位的传输数据,将m位的传输数据转换为n位的并行数据,并根据vld/rdy握手协议将n位的并行数据发送至数据处理器。这样,在片间互联的发送装置将n位的并行数据转换为m位的传输数据后,通过m个发送引脚发送至片间互联的接收装置时,此接收装置可以通过其m个接收引脚接收m位的传输数据。并将其再转换为n位的并行数据。相对于现有技术中,片间互联的发送装置需要n个发送引脚将n位并行数据发送至片间互联的接收装置而言,本发明可以仅需m个发送引脚及
m个接收引脚即可完成数据的发送,实现了在实现芯片间互联时,减少使用的引脚,进而降低了至少两个FPGA间连接的信号线的走线的复杂度,从而降低了芯片间互联的复杂性。The embodiment of the invention provides a receiving device for inter-chip interconnection, comprising: at least one receiving pin, a serial-to-parallel data conversion circuit. The input end of the serial-to-parallel data conversion circuit is connected to at least one receiving pin, and the output end of the serial-to-parallel data conversion circuit is connected to the data processor. a serial-to-parallel data conversion circuit for acquiring m-bit transmission data transmitted by a transmitting device of an inter-chip interconnect through m receiving pins according to a vld/rdy handshake protocol, converting m-bit transmission data into n-bit parallel data, and The n-bit parallel data is sent to the data processor according to the vld/rdy handshake protocol. In this way, when the inter-chip interconnected transmission device converts n-bit parallel data into m-bit transmission data and transmits it to the inter-chip interconnected receiving device through m transmitting pins, the receiving device can receive the m receiving signals through the m receiving pins. The foot receives m bits of transmission data. And convert it to n-bit parallel data. Compared with the prior art, the transmitting device for inter-chip interconnection requires n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection, and the present invention can only require m transmitting pins and
Data can be transmitted by m receiving pins, which reduces the use of pins during inter-chip interconnection, thereby reducing the complexity of the routing of signal lines connected between at least two FPGAs, thereby reducing the chip. The complexity of the interconnection.
本发明实施例提供了一种片间互联的发送方法,如图9所示,包括:An embodiment of the present invention provides a method for transmitting an inter-chip interconnection, as shown in FIG. 9, including:
101、片间互联的发送装置根据vld/rdy握手协议获取n位的并行数据。101. The transmitting device of the inter-chip interconnect acquires n-bit parallel data according to the vld/rdy handshake protocol.
其中,n为大于1的整数。Where n is an integer greater than one.
具体的,片间互联的发送装置可以从数据发送处理器中获取到需要发送至片间互联的接收装置的n位的并行数据。Specifically, the transmitting device of the inter-chip interconnection can acquire n-bit parallel data of the receiving device that needs to be transmitted to the inter-chip interconnect from the data transmitting processor.
进一步的,片间互联的发送装置在获取到需要发送至片间互联的接收装置的n位的并行数据后,可以将其先缓存起来。Further, after the inter-chip interconnected transmitting device acquires the n-bit parallel data that needs to be transmitted to the receiving device of the inter-chip interconnect, it can be buffered first.
102、将n位的并行数据转换为m位的传输数据。102. Convert n-bit parallel data into m-bit transmission data.
其中,m为大于0小于n的整数。Where m is an integer greater than 0 and less than n.
具体的,片间互联的发送装置在获取到n位的并行数据后,可以根据实际能够使用的发送引脚的个数,将其转换为m位的传输数据。Specifically, after acquiring the n-bit parallel data, the transmitting device of the inter-chip interconnect can convert the transmitted data into m-bit transmission data according to the number of actually available transmitting pins.
进一步的,片间互联的发送装置将缓存的n位的并行数据根据实际能够使用的发送引脚的个数,将其转换为m位的传输数据。并在转换为m位的传输数据后,可以先缓存m位的传输数据。Further, the inter-chip interconnected transmission device converts the buffered n-bit parallel data into m-bit transmission data according to the number of actually available transmission pins. After converting to m-bit transmission data, the m-bit transmission data can be buffered first.
103、将m位的传输数据根据vld/rdy握手协议通过m个发送引脚发送至片间互联的接收装置。103. The m-bit transmission data is sent to the receiving device of the inter-chip interconnect through the m transmit pins according to the vld/rdy handshake protocol.
具体的,片间互联的发送装置在将n位的并行数据转换为m位的传输数据后,根据vld/rdy握手协议将m位的传输数据通过m个发送引脚发送至片间互联的接收装置。Specifically, after the n-bit parallel data is converted into m-bit transmission data, the m-bit transmission data is transmitted to the inter-chip interconnection through the m transmission pins according to the vld/rdy handshake protocol. Device.
进一步的,片间互联的发送装置将缓存的m位的传输数据根据vld/rdy握手协议将m位的传输数据通过m个发送引脚发送至片间互联的接收装置。
Further, the inter-chip interconnected transmitting device transmits the m-bit transmission data of the buffer to the m-segment receiving device via the m transmit pins according to the vld/rdy handshake protocol.
本发明实施例提供了一种片间互联的发送方法,应用于片间互联的发送装置。片间互联的发送装置根据vld/rdy握手协议获取n位的并行数据,并将n位的并行数据转换为m位的传输数据。并根据vld/rdy握手协议将m位的传输数据通过m个发送引脚发送至片间互联的接收装置。这样,片间互联的发送装置可以将需要发送至的n位并行数据通过并串数据转换电路,转换为m位的传输数据,进而可以仅需m个发送引脚将m位传输数据发送至片间互联的接收装置。相对于现有技术中,片间互联的发送装置需要n个发送引脚将n位并行数据发送至片间互联的接收装置而言,本发明可以仅需m个发送引脚即可完成数据的发送,实现了在实现芯片间互联时,减少使用的引脚,进而降低了至少两个FPGA间连接的信号线的走线的复杂度,从而降低了芯片间互联的复杂性。The embodiment of the invention provides a method for transmitting inter-chip interconnection, which is applied to a transmitting device for inter-chip interconnection. The inter-chip interconnected transmitting device acquires n-bit parallel data according to the vld/rdy handshake protocol, and converts n-bit parallel data into m-bit transmitted data. And according to the vld/rdy handshake protocol, the m-bit transmission data is sent to the receiving device of the inter-chip interconnect through the m transmission pins. In this way, the transmitting device for inter-chip interconnection can convert the n-bit parallel data to be transmitted to the m-bit transmission data through the parallel-serial data conversion circuit, and further, the m-bit transmission data can be transmitted to the slice by only m transmission pins. Interconnected receiving device. Compared with the prior art, the transmitting device for inter-chip interconnection requires n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection, and the present invention can complete data by only requiring m transmitting pins. The transmission realizes the reduction of the used pins when implementing inter-chip interconnection, thereby reducing the complexity of the routing of the signal lines connected between at least two FPGAs, thereby reducing the complexity of inter-chip interconnection.
本发明实施例提供了一种片间互联的接收方法,如图10所示,包括:An embodiment of the present invention provides a method for receiving inter-chip interconnection, as shown in FIG. 10, including:
201、片间互联的接收装置根据vld/rdy握手协议通过m个接收引脚获取片间互联的发送装置发送的m位的传输数据。201. The receiving device of the inter-chip interconnect acquires the m-bit transmission data sent by the transmitting device of the inter-chip interconnection through the m receiving pins according to the vld/rdy handshake protocol.
其中,m为大于0的整数。Where m is an integer greater than zero.
具体的,在片间互联的发送装置通过m个发送引脚发送了m位的传输数据后,片间互联的接收装置根据vld/rdy握手协议可以利用与片间互联的发送装置的m个发送引脚相对应的m个接收引脚获取片间互联的发送装置发送的m位的传输数据。Specifically, after the inter-chip interconnecting transmitting device transmits the m-bit transmission data through the m transmitting pins, the inter-chip interconnected receiving device can use the m transmitting devices connected to the inter-chip according to the vld/rdy handshake protocol. The m receiving pins corresponding to the pins acquire the m-bit transmission data transmitted by the transmitting device connected between the slices.
进一步的,片间互联的接收装置接收到m位的传输数据后,可以将其先进行缓存。Further, after receiving the m-bit transmission data, the receiving device of the inter-chip interconnection may first cache the data.
202、将m位的传输数据转换为n位的并行数据,并根据vld/rdy握手协议将n位的并行数据发送至数据处理器,以使得数据处理器处理n位的并行数据。202. Convert the m-bit transmission data into n-bit parallel data, and send the n-bit parallel data to the data processor according to the vld/rdy handshake protocol, so that the data processor processes the n-bit parallel data.
其中,n为大于m的整数。Where n is an integer greater than m.
具体的,片间互联的发送装置根据vld/rdy握手协议接收到m位的传输数据后,将m位的传输数据转换为n位的并行数据。并将n位的并行数据根据vld/rdy握手协议发送至数据处理器。这样,
数据处理器可以对n位的并行数据进行相应的处理。Specifically, after the inter-chip interconnected transmitting device receives the m-bit transmission data according to the vld/rdy handshake protocol, the m-bit transmission data is converted into n-bit parallel data. The n-bit parallel data is sent to the data processor according to the vld/rdy handshake protocol. In this way,
The data processor can process the n-bit parallel data accordingly.
进一步的,片间互联的发送装置可以根据vld/rdy握手协议将缓存的m位的传输数据转换为n位的并行数据。并将转换后的n位的并行数据进行缓存,再将缓存的n位的并行数据发送至数据处理器。Further, the transmitting device of the inter-chip interconnect may convert the buffered m-bit transmission data into n-bit parallel data according to the vld/rdy handshake protocol. The converted n-bit parallel data is buffered, and the buffered n-bit parallel data is sent to the data processor.
本发明实施例提供了一种片间互联的接收方法,片间互联的接收装置根据vld/rdy握手协议通过m个接收引脚获取片间互联的发送装置发送的m位的传输数据。将m位的传输数据转换为n位的并行数据,并根据所述vld/rdy握手协议将n位的并行数据发送至数据处理器。这样,在片间互联的发送装置将n位的并行数据转换为m位的传输数据后,通过m个发送引脚发送至片间互联的接收装置时,此接收装置可以通过其m个接收引脚接收m位的传输数据。并将其再转换为n位的并行数据。相对于现有技术中,片间互联的发送装置需要n个发送引脚将n位并行数据发送至片间互联的接收装置而言,本发明可以仅需m个发送引脚及m个接收引脚即可完成数据的发送,实现了在实现芯片间互联时,减少使用的引脚,进而降低了至少两个FPGA间连接的信号线的走线的复杂度,从而降低了芯片间互联的复杂性。The embodiment of the invention provides a method for receiving inter-chip interconnection, and the receiving device for inter-chip interconnection acquires m-bit transmission data transmitted by the transmitting device of the inter-chip interconnection through m receiving pins according to the vld/rdy handshake protocol. The m-bit transfer data is converted into n-bit parallel data, and n-bit parallel data is transmitted to the data processor according to the vld/rdy handshake protocol. In this way, when the inter-chip interconnected transmission device converts n-bit parallel data into m-bit transmission data and transmits it to the inter-chip interconnected receiving device through m transmitting pins, the receiving device can receive the m receiving signals through the m receiving pins. The foot receives m bits of transmission data. And convert it to n-bit parallel data. Compared with the prior art, the transmitting device for inter-chip interconnection requires n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection, and the present invention can only require m transmitting pins and m receiving leads. The data can be sent at the foot, which reduces the use of pins during inter-chip interconnection, thereby reducing the complexity of the routing of the signal lines connected between at least two FPGAs, thereby reducing the complexity of inter-chip interconnection. Sex.
本发明实施例提供了一种片间互联的系统,如图11所示,包括:片间互联的发送装置31,及片间互联的接收装置32。The embodiment of the invention provides a system for inter-chip interconnection, as shown in FIG. 11, comprising: a transmitting device 31 for inter-chip interconnection, and a receiving device 32 for inter-chip interconnection.
其中,片间互联的发送装置31为上述实施例所述的片间互联的发送装置。The inter-chip interconnecting transmitting device 31 is the inter-chip interconnecting transmitting device described in the above embodiment.
片间互联的接收装置32为上述实施例所述的片间互联的接收装置。The receiving device 32 for inter-chip interconnection is the receiving device for inter-chip interconnection described in the above embodiment.
本发明实施例提供了一种片间互联的发送、接收装置及发送、接收方法及系统,片间互联的发送装置包括:并串数据转换电路,至少一个发送引脚;其中,并串数据转换电路的输入端与数据发送处理器连接,并串数据转换电路的输出端与至少一个发送引脚连接。并串数据转换电路,用于根据vld/rdy握手协议从数据发送处理器中获取n位的并行数据,将n位的并行数据转换为m位的传输
数据,并根据vld/rdy握手协议将m位的传输数据通过m个发送引脚发送至片间互联的接收装置。这样,片间互联的发送装置可以将需要发送至的n位并行数据通过并串数据转换电路,转换为m位的传输数据,进而可以仅需m个发送引脚将m位传输数据发送至片间互联的接收装置。相对于现有技术中,片间互联的发送装置需要n个发送引脚将n位并行数据发送至片间互联的接收装置而言,本发明可以仅需m个发送引脚即可完成数据的发送,实现了在实现芯片间互联时,减少使用的引脚,进而降低了至少两个FPGA间连接的信号线的走线的复杂度,从而降低了芯片间互联的复杂性。The embodiment of the invention provides a transmitting and receiving device for inter-chip interconnection, a transmitting and receiving method and a system, and a transmitting device for inter-chip interconnection includes: a parallel data conversion circuit, at least one transmitting pin; wherein, parallel data conversion The input of the circuit is coupled to the data transmitting processor, and the output of the serial data conversion circuit is coupled to at least one of the transmit pins. A parallel data conversion circuit for acquiring n-bit parallel data from a data transmission processor according to a vld/rdy handshake protocol, and converting n-bit parallel data into m-bit transmission
Data, and the m-bit transmission data is sent to the receiving device of the inter-chip interconnect through m transmit pins according to the vld/rdy handshake protocol. In this way, the transmitting device for inter-chip interconnection can convert the n-bit parallel data to be transmitted to the m-bit transmission data through the parallel-serial data conversion circuit, and further, the m-bit transmission data can be transmitted to the slice by only m transmission pins. Interconnected receiving device. Compared with the prior art, the transmitting device for inter-chip interconnection requires n transmitting pins to transmit n-bit parallel data to the receiving device of the inter-chip interconnection, and the present invention can complete data by only requiring m transmitting pins. The transmission realizes the reduction of the used pins when implementing inter-chip interconnection, thereby reducing the complexity of the routing of the signal lines connected between at least two FPGAs, thereby reducing the complexity of inter-chip interconnection.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器
(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The software functional units described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, and a read only memory.
(Read-Only Memory, ROM for short), random access memory (RAM), disk or optical disk, and other media that can store program code.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。
It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
- 一种片间互联的发送装置,其特征在于,包括:并串数据转换电路,至少一个发送引脚;所述并串数据转换电路的输出端与所述至少一个发送引脚连接;所述并串数据转换电路的输入端与数据发送处理器连接;An apparatus for transmitting inter-chip interconnects, comprising: a parallel-serial data conversion circuit, at least one transmitting pin; an output end of the parallel-serial data conversion circuit is connected to the at least one transmitting pin; An input end of the serial data conversion circuit is connected to the data transmission processor;所述并串数据转换电路,用于根据vld/rdy握手协议从所述数据发送处理器中获取n位的并行数据,将所述n位的并行数据转换为m位的传输数据,并根据vld/rdy握手协议将所述m位的传输数据通过m个所述发送引脚发送至片间互联的接收装置;所述n为大于1的整数,所述m为大于0小于n的整数。The parallel-serial data conversion circuit is configured to acquire n-bit parallel data from the data transmission processor according to a vld/rdy handshake protocol, convert the n-bit parallel data into m-bit transmission data, and according to vld The /rdy handshake protocol transmits the m-bit transmission data to the receiving device of the inter-chip interconnect through the m transmission pins; the n is an integer greater than 1, and the m is an integer greater than 0 and less than n.
- 根据权利要求1所述的发送装置,其特征在于,还包括:异步先入先出FIFO处理器;The transmitting device according to claim 1, further comprising: an asynchronous first in first out FIFO processor;所述并串数据转换电路的输入端与数据发送处理器连接包括:所述异步FIFO处理器的输入端与所述数据发送处理器连接;所述异步FIFO处理器的输出端与所述并串数据转换电路的输入端连接;The input end of the parallel data conversion circuit is connected to the data sending processor, and the input end of the asynchronous FIFO processor is connected to the data sending processor; the output end of the asynchronous FIFO processor and the parallel string The input end of the data conversion circuit is connected;所述异步FIFO处理器,用于从所述数据发送处理器中获取并存储所述n位的并行数据;The asynchronous FIFO processor is configured to acquire and store the n-bit parallel data from the data sending processor;所述并串数据转换电路,具体用于根据vld/rdy握手协议从所述异步FIFO处理器中获取所述n位的并行数据。The parallel-serial data conversion circuit is specifically configured to acquire the n-bit parallel data from the asynchronous FIFO processor according to a vld/rdy handshake protocol.
- 根据权利要求1或2所述的发送装置,其特征在于,还包括:同步FIFO处理器;The transmitting device according to claim 1 or 2, further comprising: a synchronous FIFO processor;所述并串数据转换电路的输出端与所述至少一个发送引脚连接包括:The output of the parallel data conversion circuit and the at least one transmitting pin are connected to:所述同步FIFO处理器的输入端与所述并串数据转换电路的输出端连接,所述同步FIFO处理器的输出端与所述至少一个发送引脚连接;An input end of the synchronous FIFO processor is connected to an output end of the parallel data conversion circuit, and an output end of the synchronous FIFO processor is connected to the at least one transmitting pin;所述并串数据转换电路,具体用于根据所述vld/rdy握手协议将所述m位的传输数据发送至所述同步FIFO处理器;The parallel-serial data conversion circuit is specifically configured to send the m-bit transmission data to the synchronous FIFO processor according to the vld/rdy handshake protocol;所述同步FIFO处理器,用于接收并存储所述m位的传输数据, 并根据所述vld/rdy握手协议将所述m位的传输数据通过m个所述发送引脚发送至片间互联的接收装置。The synchronous FIFO processor is configured to receive and store the m-bit transmission data, And transmitting the m-bit transmission data to the receiving device of the inter-chip interconnect through the m transmit pins according to the vld/rdy handshake protocol.
- 根据权利要求3所述的发送装置,其特征在于,还包括:输入输出处理器IOP;The transmitting device according to claim 3, further comprising: an input and output processor IOP;所述同步FIFO处理器的输出端与所述至少一个发送引脚连接包括:所述同步FIFO处理器的输出端与所述IOP的输入端连接,所述IOP的输出端与所述至少一个发送引脚连接;The output of the synchronous FIFO processor is coupled to the at least one transmit pin, the output of the synchronous FIFO processor is coupled to the input of the IOP, and the output of the IOP is transmitted with the at least one Pin connection所述同步FIFO处理器,具体用于根据vld/rdy握手协议将所述m位的传输数据发送至所述IOP;The synchronous FIFO processor is specifically configured to send the m-bit transmission data to the IOP according to a vld/rdy handshake protocol;所述IOP,用于接收所述m位的传输数据,并将所述m位的传输数据利用m个所述发送引脚发送至所述片间互联的接收装置。The IOP is configured to receive the m-bit transmission data, and send the m-bit transmission data to the inter-chip interconnected receiving device by using the m transmit pins.
- 一种片间互联的接收装置,其特征在于,包括:至少一个接收引脚,串并数据转换电路;所述串并数据转换电路的输入端与所述至少一个接收引脚连接,所述串并数据转换电路的输出端与数据处理器连接;An apparatus for receiving an inter-chip interconnect, comprising: at least one receiving pin, a serial-to-parallel data conversion circuit; and an input end of the serial-to-parallel data conversion circuit is connected to the at least one receiving pin, the string And the output of the data conversion circuit is connected to the data processor;所述串并数据转换电路,用于根据vld/rdy握手协议通过m个所述接收引脚获取片间互联的发送装置发送的m位的传输数据,将所述m位的传输数据转换为n位的并行数据,并根据vld/rdy握手协议将所述n位的并行数据发送至数据处理器;所述m为大于0的整数;所述n为大于m的整数。The serial-to-parallel data conversion circuit is configured to acquire m-bit transmission data sent by a transmitting device of an inter-chip interconnect through m receiving pins according to a vld/rdy handshake protocol, and convert the m-bit transmission data into n Parallel data of bits, and the n-bit parallel data is sent to the data processor according to the vld/rdy handshake protocol; the m is an integer greater than 0; the n is an integer greater than m.
- 根据权利要求5所述的接收装置,其特征在于,还包括:异步先入先出FIFO处理器;The receiving device according to claim 5, further comprising: an asynchronous first in first out FIFO processor;所述串并数据转换电路的输出端与数据处理器连接包括:The output of the serial-to-parallel data conversion circuit and the data processor are connected to:所述串并数据转换电路的输出端与所述异步FIFO处理器的输入端连接;An output of the serial to parallel data conversion circuit is coupled to an input of the asynchronous FIFO processor;所述串并数据转换电路,具体用于根据vld/rdy握手协议将所述n位的并行数据发送至所述异步FIFO处理器;The serial-to-parallel data conversion circuit is specifically configured to send the n-bit parallel data to the asynchronous FIFO processor according to a vld/rdy handshake protocol;所述异步FIFO处理器,还用于接收并存储所述n位的并行数据,根据所述vld/rdy握手协议向所述数据处理器发送所述n位的并行 数据。The asynchronous FIFO processor is further configured to receive and store the n-bit parallel data, and send the n-bit parallel to the data processor according to the vld/rdy handshake protocol. data.
- 根据权利要求6所述的接收装置,其特征在于,还包括:同步FIFO处理器;The receiving device according to claim 6, further comprising: a synchronous FIFO processor;所述串并数据转换电路的输入端与所述至少一个接收引脚连接包括:The input of the serial-to-parallel data conversion circuit to the at least one receiving pin includes:所述串并数据转换电路的输入端与所述同步FIFO处理器的输出端连接,所述同步FIFO处理器的输入端与所述至少一个接收引脚连接;An input end of the serial-to-parallel data conversion circuit is connected to an output end of the synchronous FIFO processor, and an input end of the synchronous FIFO processor is connected to the at least one receiving pin;所述同步FIFO处理器,用于根据所述vld/rdy握手协议通过m个所述接收引脚接收片间互联的发送装置发送的m位的传输数据,并存储所述m位的传输数据;The synchronous FIFO processor is configured to receive, according to the vld/rdy handshake protocol, m-bit transmission data sent by a transmitting device of an inter-chip interconnect through m receiving pins, and store the transmission data of the m-bit;所述串并数据转换电路,具体用于根据所述vld/rdy握手协议从所述同步FIFO处理器中获取片间互联的发送装置发送的m位的传输数据。The serial-to-parallel data conversion circuit is specifically configured to acquire, according to the vld/rdy handshake protocol, m-bit transmission data sent by a transmitting device of an inter-chip interconnect from the synchronous FIFO processor.
- 一种片间互联的发送方法,其特征在于,包括:A method for transmitting inter-chip interconnections, comprising:片间互联的发送装置根据vld/rdy握手协议获取n位的并行数据;所述n为大于1的整数;The inter-chip interconnecting transmitting device acquires n-bit parallel data according to the vld/rdy handshake protocol; the n is an integer greater than one;将所述n位的并行数据转换为m位的传输数据;所述m为大于0小于n的整数;Converting the n-bit parallel data into m-bit transmission data; the m is an integer greater than 0 and less than n;将所述m位的传输数据根据所述vld/rdy握手协议通过m个发送引脚发送至片间互联的接收装置。Transmitting the m-bit transmission data to the receiving device of the inter-chip interconnect through the m transmit pins according to the vld/rdy handshake protocol.
- 一种片间互联的接收方法,其特征在于,包括:A method for receiving inter-chip interconnections, comprising:片间互联的接收装置根据vld/rdy握手协议通过m个接收引脚获取片间互联的发送装置发送的m位的传输数据;所述m为大于0的整数;The receiving device for inter-chip interconnection acquires m-bit transmission data transmitted by the transmitting device of the inter-chip interconnection through m receiving pins according to the vld/rdy handshake protocol; the m is an integer greater than 0;将所述m位的传输数据转换为n位的并行数据,并根据所述vld/rdy握手协议将所述n位的并行数据发送至数据处理器,以使得所述数据处理器处理所述n位的并行数据;所述n为大于m的整 数。Converting the m-bit transmission data into n-bit parallel data, and transmitting the n-bit parallel data to a data processor according to the vld/rdy handshake protocol, so that the data processor processes the n Bit parallel data; the n is greater than m number.
- 一种片间互联的系统,其特征在于,包括:片间互联的发送装置,及片间互联的接收装置;其中,A system for inter-chip interconnection, comprising: a transmitting device for inter-chip interconnection, and a receiving device for inter-chip interconnection; wherein所述片间互联的发送装置为权利要求1-4任一项所述的片间互联的发送装置;The apparatus for transmitting the inter-chip interconnection is the apparatus for transmitting the inter-chip interconnection according to any one of claims 1 to 4;所述片间互联的接收装置为权利要求5-7任一项所述的片间互联的接收装置。 The receiving device for inter-chip interconnection is the receiving device for inter-chip interconnection according to any one of claims 5-7.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510305010.0A CN104991883A (en) | 2015-06-04 | 2015-06-04 | Sending and receiving apparatuses with chip interconnection and sending and receiving method and system |
CN201510305010.0 | 2015-06-04 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016192211A1 true WO2016192211A1 (en) | 2016-12-08 |
Family
ID=54303699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/087690 WO2016192211A1 (en) | 2015-06-04 | 2015-08-20 | Device and method for sending inter-chip interconnection, device and method for receiving inter-chip interconnection, and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104991883A (en) |
WO (1) | WO2016192211A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112699077A (en) * | 2020-12-30 | 2021-04-23 | 上海安路信息科技股份有限公司 | FPGA chip and interconnection method of FPGA sub-chips |
CN116450569A (en) * | 2023-06-14 | 2023-07-18 | 苏州浪潮智能科技有限公司 | Inter-chip interconnection system and data transmission method |
CN116822445A (en) * | 2023-08-25 | 2023-09-29 | 成都金支点科技有限公司 | Inter-chip bus protocol implementation method for high-speed parallel computing |
CN117376116A (en) * | 2023-10-08 | 2024-01-09 | 苏州异格技术有限公司 | Configuration method and device of virtual switch, computer equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107426076B (en) * | 2017-07-18 | 2020-06-30 | 成都天锐星通科技有限公司 | Electronic equipment, information processing method and information transmission method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7058120B1 (en) * | 2002-01-18 | 2006-06-06 | Xilinx, Inc. | Integrated high-speed serial-to-parallel and parallel-to-serial transceiver |
US7086025B1 (en) * | 2003-10-23 | 2006-08-01 | Adaptec, Inc. | Programmable logic device partitioning method for application specific integrated circuit prototyping |
CN101719177A (en) * | 2009-11-02 | 2010-06-02 | 北京中星微电子有限公司 | Method and device for system modeling and simulation |
CN101833502A (en) * | 2010-04-15 | 2010-09-15 | 上海华为技术有限公司 | ASIC (Application Specific Integrated Circuit) chip verification method and programmable gate array |
CN102567587A (en) * | 2012-01-04 | 2012-07-11 | 青岛海信信芯科技有限公司 | FPGA (field programmable gate array) interconnection method and device utilizing same |
CN104025069A (en) * | 2011-12-15 | 2014-09-03 | 马维尔国际贸易有限公司 | Serial interface for fpga prototyping |
CN104239239A (en) * | 2013-06-17 | 2014-12-24 | 瑞祺电通股份有限公司 | Online synchronous backup system method and online synchronous backup system device |
CN104298634A (en) * | 2014-09-24 | 2015-01-21 | 四川九洲电器集团有限责任公司 | Data transmission system based on FPGA and DSP |
-
2015
- 2015-06-04 CN CN201510305010.0A patent/CN104991883A/en active Pending
- 2015-08-20 WO PCT/CN2015/087690 patent/WO2016192211A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7058120B1 (en) * | 2002-01-18 | 2006-06-06 | Xilinx, Inc. | Integrated high-speed serial-to-parallel and parallel-to-serial transceiver |
US7086025B1 (en) * | 2003-10-23 | 2006-08-01 | Adaptec, Inc. | Programmable logic device partitioning method for application specific integrated circuit prototyping |
CN101719177A (en) * | 2009-11-02 | 2010-06-02 | 北京中星微电子有限公司 | Method and device for system modeling and simulation |
CN101833502A (en) * | 2010-04-15 | 2010-09-15 | 上海华为技术有限公司 | ASIC (Application Specific Integrated Circuit) chip verification method and programmable gate array |
CN104025069A (en) * | 2011-12-15 | 2014-09-03 | 马维尔国际贸易有限公司 | Serial interface for fpga prototyping |
CN102567587A (en) * | 2012-01-04 | 2012-07-11 | 青岛海信信芯科技有限公司 | FPGA (field programmable gate array) interconnection method and device utilizing same |
CN104239239A (en) * | 2013-06-17 | 2014-12-24 | 瑞祺电通股份有限公司 | Online synchronous backup system method and online synchronous backup system device |
CN104298634A (en) * | 2014-09-24 | 2015-01-21 | 四川九洲电器集团有限责任公司 | Data transmission system based on FPGA and DSP |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112699077A (en) * | 2020-12-30 | 2021-04-23 | 上海安路信息科技股份有限公司 | FPGA chip and interconnection method of FPGA sub-chips |
CN112699077B (en) * | 2020-12-30 | 2024-03-29 | 上海安路信息科技股份有限公司 | FPGA chip and interconnection method of FPGA sub-chips |
CN116450569A (en) * | 2023-06-14 | 2023-07-18 | 苏州浪潮智能科技有限公司 | Inter-chip interconnection system and data transmission method |
CN116450569B (en) * | 2023-06-14 | 2023-08-15 | 苏州浪潮智能科技有限公司 | Inter-chip interconnection system and data transmission method |
CN116822445A (en) * | 2023-08-25 | 2023-09-29 | 成都金支点科技有限公司 | Inter-chip bus protocol implementation method for high-speed parallel computing |
CN116822445B (en) * | 2023-08-25 | 2023-11-03 | 成都金支点科技有限公司 | Inter-chip bus protocol implementation method for high-speed parallel computing |
CN117376116A (en) * | 2023-10-08 | 2024-01-09 | 苏州异格技术有限公司 | Configuration method and device of virtual switch, computer equipment and storage medium |
CN117376116B (en) * | 2023-10-08 | 2024-05-17 | 苏州异格技术有限公司 | Configuration method and device of virtual switch, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104991883A (en) | 2015-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10468078B2 (en) | Methods and systems for pin-efficient memory controller interface using vector signaling codes for chip-to-chip communication | |
WO2016192211A1 (en) | Device and method for sending inter-chip interconnection, device and method for receiving inter-chip interconnection, and system | |
US10802995B2 (en) | Unified address space for multiple hardware accelerators using dedicated low latency links | |
US20050210177A1 (en) | Switch configurable for a plurality of communication protocols | |
US20220092009A1 (en) | Translation circuitry for an interconnection in a semiconductor package | |
US9530464B2 (en) | Semiconductor apparatus and data bit inversion | |
CN112231161B (en) | Multi-chip debugging method and multi-chip debugging device | |
CN108462620B (en) | Gilbert-level SpaceWire bus system | |
CN102567587A (en) | FPGA (field programmable gate array) interconnection method and device utilizing same | |
WO2017171997A1 (en) | A method, apparatus and system for communicating between multiple protocols | |
KR100807443B1 (en) | Opportunistic read completion combining | |
US11537543B2 (en) | Technique for handling protocol conversion | |
US6208645B1 (en) | Time multiplexing of cyclic redundancy functions in point-to-point ringlet-based computer systems | |
CN111274193A (en) | Data processing apparatus and method | |
WO2018102076A1 (en) | Controller-phy connection using intra-chip serdes | |
US20090113092A1 (en) | Signal converter for debugging that expands fifo capacity | |
US11636061B2 (en) | On-demand packetization for a chip-to-chip interface | |
CN114443530B (en) | TileLink-based chip interconnection circuit and data transmission method | |
WO2022266959A1 (en) | Chip test circuit and method | |
CN101576867B (en) | Extended universal asynchronous serial interface method, device and system | |
CN115706661A (en) | Synchronous high speed signaling interconnect | |
CN202662010U (en) | FPGA (Field Programmable Gate Array) interaction device, verification board and SOC (System On Chip) system | |
CN114860514A (en) | Semiconductor device and method of operating the same | |
US12093202B2 (en) | DBI encoding device and DBI encoding method | |
JP2001522501A (en) | Method for interfacing peripheral devices to a bus via a slave group interface device |
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: 15893867 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: 15893867 Country of ref document: EP Kind code of ref document: A1 |