Circuit structure for download and debug control of multi-FPGA chip circuit system

By combining the USB Hub circuit and related components, the problems of JTAG interface latency and signal integrity in multi-FPGA chip systems were solved, achieving efficient download and debugging control. The USB interface was reused after product development was completed, improving the system's reliability and security.

CN113934668BActive Publication Date: 2024-11-08TRANSCOM INSTR
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111388712.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-22
Publication Date
2024-11-08
Estimated Expiration
2041-11-22

AI Technical Summary

Technical Problem

In the existing technology, the JTAG interface of multi-FPGA chip systems is prolonged when configured with high-end chips, and the signal integrity problem is difficult to solve, resulting in high debugging costs and frequent circuit failures.

Method used

The circuit structure consists of a USB Hub circuit, a USB to JTAG module, a USB Mux chip, a slide switch, an inverting buffer chip, and resistors. The slide switch selects either VBUS voltage or USB signal, the USB Mux chip switches the signal, and the resistor divides the voltage to a suitable value to drive the inverting buffer chip to generate a control signal, thereby enabling the download and debugging of the FPGA chip.

Benefits of technology

A reliable JTAG debugging connection was implemented in the multi-FPGA chip system, ensuring that the connection speed was not reduced and saving debugging time. Furthermore, the USB interface can be reused as a regular USB host interface after product development is completed, which enhances the product's technical confidentiality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113934668B_ABST
    Figure CN113934668B_ABST
Patent Text Reader

Abstract

The present invention relates to a circuit structure for realizing download debugging control for a multi-FPGA chip circuit system, comprising a USB Hub circuit, a USB to JTAG module, a USB Mux chip, a slide switch, an inverting buffer chip, a resistor and a USB interface, wherein the output end of the USB interface is connected to the slide switch and the USB Mux chip, the output end of the USB Mux chip is connected to the USB Hub circuit, the output end of the USB Hub circuit is connected to multiple USB to JTAG modules, the slide switch is also connected to the resistor and an external VBUS voltage, one end of the resistor is connected to the input end of the inverting buffer chip, and the other end is grounded, and the output end of the inverting buffer chip is respectively connected to the USB Mux chip and an external target FPGA circuit system to be debugged. The circuit structure for realizing download debugging control for a multi-FPGA chip circuit system of the present invention is adopted to realize reliable connection of the JTAG debugging circuit of the entire system, and to ensure that the connection rate is maximized, without the need for an additionally designed debugging interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of programmable logic device development, and in particular to the field of download and debugging of a multi-FPGA chip system, and specifically refers to a circuit structure for implementing download and debugging control for a multi-FPGA chip circuit system. Background Art

[0002] In the process of developing programmable logic devices, the JTAG interface is often used to configure the FPGA chip or debug the logic. For systems or products containing a large number of FPGA chips, the traditional approach is to use a serial chain JTAG or parallel JTAG circuit as the debugging interface circuit, as shown in the attached Figure 1 With attached Figure 2 However, the serial chain or parallel JTAG circuit has the following disadvantages:

[0003] 1. For the serial chain JTAG circuit, when there are too many FPGA chips, the TDI to TDO delay increases, causing the JTAG interface rate to drop rapidly. At this time, for high-end FPGA chips with relatively large capacity, the configuration time will become unacceptable, greatly increasing the debugging cost.

[0004] 2. For parallel JTAG circuits, when there are too many FPGA chips, on the one hand, the driving capability of the JTAG HOST must be considered, and on the other hand, the signal integrity problem caused by the signal reflection caused by the branch wiring must be considered. This places high demands on circuit and PCB design. In a multi-board system, it is usually difficult to take both into account. In serious cases, it will cause circuit failure and unusable. Summary of the invention

[0005] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a circuit structure that meets the requirements of high reliability, high speed and low time consumption for implementing download and debug control for a multi-FPGA chip circuit system.

[0006] In order to achieve the above-mentioned purpose, the circuit structure of the present invention for implementing download and debug control for a multi-FPGA chip circuit system is as follows:

[0007] The circuit structure for realizing download debugging control for a multi-FPGA chip circuit system has the following main features: the circuit structure includes a USB Hub circuit, a USB to JTAG module, a USB Mux chip, a slide switch, an inverting buffer chip, a resistor and a USB interface; the output end of the USB interface is connected to the slide switch and the USB Mux chip; the output end of the USB Mux chip is connected to the USB Hub circuit; the output end of the USB Hub circuit is connected to multiple USB to JTAG modules; the slide switch is also connected to a resistor and an external VBUS voltage; one end of the resistor is connected to the input end of the inverting buffer chip and the other end is grounded; the output end of the inverting buffer chip is respectively connected to the USB Mux chip and an external target FPGA circuit system to be debugged;

[0008] The circuit structure selects VBUS voltage or USB signal through a sliding switch, the USB HUB circuit is used to connect different USB to JTAG modules, and the USB to JTAG module is used to cooperate with the host computer software to download and debug the FPGA chip; the USB MUX chip is used to switch the USB signal, the sliding switch is used to switch the connection path of the connection circuit, and the resistor is used to divide the voltage to a suitable voltage value and drive the inverting buffer chip to generate a control signal.

[0009] Preferably, the resistor includes a first resistor and a second resistor, one end of the first resistor is connected to the sliding switch, and the other end is connected to the input end of the inverting buffer chip, and one end of the second resistor is connected to the input end of the inverting buffer chip, and the other end is grounded.

[0010] Preferably, the USB Hub circuit includes a plurality of USB downstream ports, and each USB downstream port is connected to a USB to JTAG module.

[0011] Preferably, the toggle slide switch allows the VBUS signal on the USB interface to be grounded through two voltage-dividing resistors of the resistor, and the circuit structure connects the USB interface with the USB Hub circuit by controlling the USB Mux chip.

[0012] The circuit structure for realizing download debugging control for a multi-FPGA chip circuit system of the present invention is adopted. By appropriately setting the number of downstream ports of the USB Hub circuit, a reliable connection of the JTAG debugging circuit of the entire system can be realized through a single USB interface in a large number of FPGA chip systems, and the connection rate can be maximized. At the same time, when the circuit is applied to a complete product, the debugging USB interface can be reused with a common USB port, and no additional debugging interface needs to be designed. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a schematic diagram of a serial chain JTAG circuit in the prior art.

[0014] Figure 2 It is a schematic diagram of a parallel JTAG circuit in the prior art.

[0015] Figure 3 A circuit block diagram of the circuit structure for implementing download and debug control for a multi-FPGA chip circuit system according to the present invention. DETAILED DESCRIPTION

[0016] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.

[0017] The circuit structure for realizing download debugging control for a multi-FPGA chip circuit system of the present invention includes a USB Hub circuit, a USB to JTAG module, a USB Mux chip, a slide switch, an inverting buffer chip, a resistor and a USB interface, wherein the output end of the USB interface is connected to the slide switch and the USB Mux chip, the output end of the USB Mux chip is connected to the USB Hub circuit, the output end of the USB Hub circuit is connected to multiple USB to JTAG modules, the slide switch is also connected to the resistor and an external VBUS voltage, one end of the resistor is connected to the input end of the inverting buffer chip, and the other end is grounded, and the output end of the inverting buffer chip is respectively connected to the USB Mux chip and an external target FPGA circuit system to be debugged;

[0018] The circuit structure selects VBUS voltage or USB signal through a sliding switch, the USB HUB circuit is used to connect different USB to JTAG modules, and the USB to JTAG module is used to cooperate with the host computer software to download and debug the FPGA chip; the USB MUX chip is used to switch the USB signal, the sliding switch is used to switch the connection path of the connection circuit, and the resistor is used to divide the voltage to a suitable voltage value and drive the inverting buffer chip to generate a control signal.

[0019] As a preferred embodiment of the present invention, the resistor includes a first resistor and a second resistor, one end of the first resistor is connected to the sliding switch, and the other end is connected to the input end of the inverting buffer chip, one end of the second resistor is connected to the input end of the inverting buffer chip, and the other end is grounded.

[0020] As a preferred embodiment of the present invention, the USB Hub circuit includes a plurality of USB downstream ports, and each USB downstream port is connected to a USB to JTAG module.

[0021] As a preferred embodiment of the present invention, the toggle slide switch allows the VBUS signal on the USB interface to be grounded through two voltage-dividing resistors of the resistor, and the circuit structure connects the USB interface with the USBHub circuit by controlling the USB Mux chip.

[0022] In a specific implementation of the present invention, in a multi-FPGA chip system, the JTAG interface is guaranteed to work reliably, and the rate does not decrease as the number of FPGA chips increases, thereby saving valuable debugging time.

[0023] A download and debug circuit suitable for multi-FPGA chip systems, the system block diagram is as shown in the attached Figure 3 The dotted box part includes a USB Hub circuit, a USB to JTAG module, a USB Mux chip, a slide switch, an inverting buffer chip, a resistor, and a USB interface.

[0024] The circuit uses a sliding switch to determine whether the USB interface is used for the normal USB host interface function or for the FPGA debugging and downloading function; the resistor divides the voltage to a suitable voltage value to drive the reverse buffer chip to generate a control signal; the USB MUX chip is used to switch USB signals; the USB HUB circuit connects the USB to JTAG modules located on different FPGA target systems; the USB to JTAG module cooperates with the host computer software to complete the download and debugging functions of the FPGA chip.

[0025] When product development and debugging are completed, the VBUS voltage and USB signal path can be switched to the normal USB Host circuit by switching the slide switch, so that the USB interface of this circuit can be used as a normal USB Host interface on the product.

[0026] In a specific embodiment of the present invention, the USB interface adopts a USB 2.0 type A connector, the USB Mux chip adopts TI's HD3SS3411TRWARQ1, the USB Hub chip adopts Cypress's CY7C65630-56LTXC, the inverting buffer adopts TI's SN74LVC1G04DBVR, the slide switch adopts C&K's 1201M2S3ABE2, the USB to JTAG module adopts Digilent's 410-308-B, and the resistance value adopts 10K ohms.

[0027] This example circuit forms a 1:10 USB Hub circuit by cascading four CY7C65630-56LTXCs, generating a total of 10 USB downstream ports. Each USB downstream port is connected to a USB to JTAG module located on an independent FPGA target system.

[0028] Toggle the slide switch to connect the VBUS signal on the USB interface to the ground through the two voltage-dividing resistors R1 and R2. At this time, connect the USB host port of the PC to the USB interface of this example circuit through a USB male-to-male cable. The 5V VBUS voltage from the USB port of the PC will generate a 2.5V voltage between the voltage-dividing resistors. This voltage drives the inverting buffer chip to generate a low-level control signal. This control signal connects the USB interface of this example circuit to the USB Hub circuit by controlling the USB Mux chip. In this way, the PC can access the USB to JTAG module on each FPGA target system through the USB interface, and then complete the configuration and debugging of the FPGA chip through this module.

[0029] When product development and debugging are completed, the sliding switch can be switched so that the inverter input signal becomes a low level and the control signal becomes a high level, thereby connecting the USB interface of this example circuit to the normal USB Host port in the system, realizing the multiplexing of the USB interface of this example circuit and the ordinary USB port, while cutting off the external debugging interface, thereby enhancing the technical confidentiality of the product.

[0030] The circuit structure for realizing download debugging control for a multi-FPGA chip circuit system of the present invention is adopted. By appropriately setting the number of downstream ports of the USB Hub circuit, a reliable connection of the JTAG debugging circuit of the entire system can be realized through a single USB interface in a large number of FPGA chip systems, and the connection rate can be maximized. At the same time, when the circuit is applied to a complete product, the debugging USB interface can be reused with a common USB port, and no additional debugging interface needs to be designed.

[0031] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.

Claims

1. A circuit structure for implementing download and debug control for a multi-FPGA chip circuit system, It is characterized in that The circuit structure includes a USB Hub circuit, a USB to JTAG module, a USB Mux chip, a slide switch, an inverting buffer chip, a resistor and a USB interface, the output end of the USB interface is connected to the slide switch and the USB Mux chip, the output end of the USB Mux chip is connected to the USB Hub circuit, the output end of the USB Hub circuit is connected to multiple USB to JTAG modules, the slide switch is also connected to the resistor and an external VBUS voltage, one end of the resistor is connected to the input end of the inverting buffer chip, and the other end is grounded, and the output end of the inverting buffer chip is respectively connected to the USB Mux chip and an external target FPGA circuit system to be debugged; The circuit structure selects the VBUS voltage and the USB signal through a sliding switch, the USB HUB circuit is used to connect different USB to JTAG modules, and the USB to JTAG module is used to cooperate with the host computer software to download and debug the FPGA chip; the USB MUX chip is used to switch the USB signal, the sliding switch is used to switch the connection path of the connection circuit, and the resistor is used to divide the voltage to a suitable voltage value and drive the inverting buffer chip to generate a control signal; The resistor comprises a first resistor and a second resistor, one end of the first resistor is connected to the slide switch, and the other end is connected to the input end of the inverting buffer chip, one end of the second resistor is connected to the input end of the inverting buffer chip, and the other end is grounded; The USB Hub circuit includes a plurality of USB downstream ports, and each USB downstream port is connected to a USB to JTAG module.

2. According to claim 1, the circuit structure for implementing download and debug control for a multi-FPGA chip circuit system, It is characterized in that The sliding switch allows the VBUS signal on the USB interface to be grounded through two voltage-dividing resistors of the resistor, and the circuit structure connects the USB interface with the USB Hub circuit by controlling the USB Mux chip.

Citation Information

Patent Citations

  • Multifunctional USB Type-C interface circuit of FPGA accelerator card

    CN210129219U

  • Circuit structure for realizing downloading debugging control for multi-FPGA (Field Programmable Gate Array) chip circuit system

    CN216772404U

  • Testing functional component and data debugging method

    WO2017166211A1