Hardware simulation tool and interface adapter

By setting the pin delay in the interface adapter between the hardware simulation tool and the daughter card, the problem of rigid FPGA pin delay configuration is solved, debugging efficiency and user experience are improved, and the time consumption of recompilation and synthesis is avoided.

CN221746452UActive Publication Date: 2024-09-20XEPIC TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420394077.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-01
Publication Date
2024-09-20
Estimated Expiration
2034-03-01

AI Technical Summary

Technical Problem

In hardware simulation tools, the configuration of FPGA pin delays is relatively rigid. When parameters need to be adjusted during debugging, recompiling and synthesis are required, which consumes a lot of time and may cause compilation failure.

Method used

A hardware simulation tool and interface adapter are provided. The interface adapter sets the pin delay between the simulation tool and the daughter card, allowing users to flexibly adjust the pin delay without recompiling the logic system design.

Benefits of technology

It achieves flexible configuration of pin delays, improves debugging efficiency and user experience, and reduces compilation and synthesis time consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221746452U
    Figure CN221746452U
Patent Text Reader

Abstract

The utility model provides a hardware simulation tool which is used for being connected with a first host and a daughter card to simulate logic system design, and the hardware simulation tool comprises a programmable logic device used for realizing the logic system design; the first interface is connected with the programmable logic device and the first host; and the interface adapter is connected with the programmable logic device and the daughter card, and the interface adapter is also connected to a second host.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of chip verification technology, and in particular to a hardware simulation tool and an interface adapter. Background Art

[0002] A hardware simulation tool (e.g., a prototype verification board or a hardware emulator) can prototype and debug a logic system design including one or more modules. The logic system design can be, for example, a design for an integrated circuit (Application Specific Integrated Circuit, ASIC) or a system-on-chip (SOC) for a specific application. Therefore, the logic system design tested in the simulation tool can also be called a design under test (DUT). The simulation tool can simulate the design under test through one or more configurable components (e.g., a field programmable gate array (FPGA)), including executing various operations of the design under test, thereby testing and verifying the functions of each module of the design under test before manufacturing. By connecting a variety of peripheral daughter cards to the simulation tool, the effect of the design under test and various peripherals running as a complete system can also be tested.

[0003] There are many software supporting hardware simulation tools, such as compilers, synthesizers, debuggers, etc.

[0004] The compiler is used to compile the source code of the logic system design, the synthesizer is used to synthesize the logic system design into a netlist and burn it into the FPGA, and the debugger is used to implement some simple debugging functions. It can be understood that the above software runs on the host connected to the hardware simulation tool.

[0005] When the hardware simulation tool is connected to multiple peripheral daughter cards, each pin of the FPGA will produce different delays. In order to ensure clock synchronization, it is usually necessary to configure the delays of these pins. Utility Model Content

[0006] The first aspect of the present application provides a hardware simulation tool for connecting with a first host and a daughter card to simulate a logic system design. The hardware simulation tool includes: a programmable logic device for implementing the logic system design; a first interface connecting the programmable logic device and the first host; and an interface adapter connecting the programmable logic device and the daughter card, the interface adapter also connected to a second host.

[0007] A second aspect of the present application provides an interface adapter for connecting between a hardware simulation tool and a daughter card, wherein the hardware simulation tool is used to simulate a logic system design and includes a programmable logic device, wherein the programmable logic device includes a plurality of pins, and the interface adapter includes: a second interface for connecting to the plurality of pins; a third interface for connecting to the daughter card; and a controller connected between the second interface and the third interface, for setting a delay between the second interface and the third interface corresponding to each of the plurality of pins. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0009] Figure 1 A schematic diagram of the structure of an exemplary host according to an embodiment of the present application is shown.

[0010] Figure 2 A schematic diagram of a simulation system according to an embodiment of the present application is shown.

[0011] Figure 3 A schematic diagram of a simulation system according to an embodiment of the present application is shown.

[0012] Figure 4 A schematic diagram of another simulation system according to an embodiment of the present application is shown.

[0013] Figure 5 A schematic diagram of an interface adapter according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0014] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0015] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in this application should be understood by people with ordinary skills in the field to which this application belongs. The words "first", "second" and similar words used in this application do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.

[0016] As mentioned above, when the hardware simulation tool is connected to multiple peripheral daughter cards, each pin of the FPGA will produce different delays. In order to ensure clock synchronization, it is usually necessary to configure the delays of these pins.

[0017] A common practice is to configure the delay of each pin of the logic system design when compiling and synthesizing the logic system design, so that the logic system design has the specified pin delay when it is configured into the FPGA.

[0018] However, this approach is rather rigid. Once the pin delay configuration is found to be incorrect during the debugging of the logic design, the parameters need to be adjusted, and the logic system design needs to be recompiled and synthesized according to the new parameters and configured to the FPGA. For large logic system designs, compilation and synthesis take a lot of time, and the new parameters may cause the compilation to fail, which will cause greater problems.

[0019] In view of this, providing debugging engineers with a new technical solution for configuring pin delay is a technical problem that needs to be solved urgently.

[0020] Figure 1 FIG. 1 shows a schematic diagram of the structure of a host 100 according to an embodiment of the present application. The host 100 may be an electronic device running a simulation system. Figure 1 As shown, the host 100 may include: a processor 102, a memory 104, a network interface 106, a peripheral interface 108 and a bus 110. The processor 102, the memory 104, the network interface 106 and the peripheral interface 108 are connected to each other through the bus 110 in communication with each other inside the electronic device.

[0021] Processor 102 may be a central processing unit (CPU), an image processor, a neural network processor (NPU), a microcontroller (MCU), a programmable logic device, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or one or more integrated circuits. Processor 102 may be used to perform functions related to the technology described in this application. In some embodiments, processor 102 may also include multiple processors integrated into a single logical component. Figure 1 As shown, the processor 102 may include a plurality of processors 102a, 102b, and 102c.

[0022] The memory 104 may be configured to store data (eg, instruction sets, computer codes, intermediate data, etc.). In some embodiments, the simulation test system for simulation test design may be a computer program stored in the memory 104. Figure 1 As shown, the data stored in the memory may include program instructions (e.g., program instructions for implementing the method for locating errors of the present application) and data to be processed (e.g., the memory may store temporary codes generated during the compilation process). The processor 102 may also access the program instructions and data stored in the memory, and execute the program instructions to operate on the data to be processed. The memory 104 may include a volatile storage device or a non-volatile storage device. In some embodiments, the memory 104 may include a random access memory (RAM), a read-only memory (ROM), an optical disk, a magnetic disk, a hard disk, a solid-state drive (SSD), a flash memory, a memory stick, etc.

[0023] The network interface 106 can be configured to provide communication with other external devices to the host 100 via a network. The network can be any wired or wireless network capable of transmitting and receiving data. For example, the network can be a wired network, a local wireless network (e.g., Bluetooth, WiFi, near field communication (NFC), etc.), a cellular network, the Internet, or a combination thereof. It is understood that the type of network is not limited to the above specific examples. In some embodiments, the network interface 106 can include any number of network interface controllers (NICs), radio frequency modules, transceivers, modems, routers, gateways, adapters, cellular network chips, etc., in any combination.

[0024] The peripheral interface 108 can be configured to connect the host 100 to one or more peripheral devices to achieve information input and output. For example, the peripheral devices can include input devices such as a keyboard, a mouse, a touch pad, a touch screen, a microphone, and various sensors, and output devices such as a display, a speaker, a vibrator, and an indicator light.

[0025] The bus 110 may be configured to transmit information between various components of the host 100 (e.g., the processor 102, the memory 104, the network interface 106, and the peripheral interface 108), such as an internal bus (e.g., a processor-memory bus), an external bus (USB port, PCI-E bus), etc.

[0026] It should be noted that, although the above electronic device architecture only shows the processor 102, the memory 104, the network interface 106, the peripheral interface 108 and the bus 110, in the specific implementation process, the electronic device architecture may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above electronic device architecture may also only include the components necessary for implementing the embodiment of the present application, and does not necessarily include all the components shown in the figure.

[0027] Figure 2 A schematic diagram of a simulation system 200 according to an embodiment of the present application is shown.

[0028] like Figure 2 As shown, the simulation system 200 may include a simulation tool 202 and a host 100 connected to the simulation tool 202 .

[0029] The simulation tool 202 is a hardware system for simulating a design under test (DUT). The simulation tool 202 may be a prototype verification board or a hardware emulator. A design under test may include multiple modules. The design under test may be a combinational logic circuit, a sequential logic circuit, or a combination of the two. The simulation tool 202 may include one or more configurable circuits (e.g., FPGA) for simulating the design under test.

[0030] The simulation tool 202 may include an interface unit 2022 for communicatively coupling with the host 100 to perform communication between the host 100 and the simulation tool 202. In some embodiments, the interface unit 2022 may include one or more interfaces with electrical connection capability. For example, the interface unit 2022 may include an RS232 interface, a USB interface, a LAN port, an optical fiber interface, an IEEE1394 (FireWire interface), etc. In some embodiments, the interface unit 2022 may be a wireless network interface. For example, the interface unit 2022 may be a WIFI interface, a Bluetooth interface, etc.

[0031] The host 100 may transmit the compiled DUT, debugging instructions, etc. to the simulation tool 202 via the interface unit 2022. The simulation tool 202 may also transmit simulation data, etc. to the host 100 via the interface unit 2022.

[0032] The simulation tool 202 may also include a memory 2024 for storing simulation data (e.g., various signal values) generated by the design under test during the simulation process. In some embodiments, the signal values ​​generated by the design under test during the simulation process may be directly read by the host 100. It is understood that the memory 2024 may also be independent of the simulation tool 202, for example, using an external memory.

[0033] The simulation tool 202 may also include a programmable logic device (eg, FPGA) 2026 for implementing the logic system design in hardware on the programmable logic device. It is understandable that the simulation tool 202 may include multiple programmable logic devices, which are only examples in the figure.

[0034] In addition to being connected to the host 100 , the emulation tool 202 may also be connected to one or more daughter cards 204 via an interface unit 2022 .

[0035] The daughter card 204 is used to provide peripherals to the DUT to form a complete electronic system when using the simulation tool 202 for prototype verification. Prototype verification refers to a verification method that restores the actual use scenario of the chip as much as possible before the chip is taped out to verify whether the chip function is accurate and complete. The daughter card 204 may include a memory daughter card (for example, providing a DDR memory interface), a communication daughter card (for example, providing a variety of network interfaces or a wireless network card interface), etc. The daughter card 204 may refer to all peripherals. The daughter card 204 may include an interface.

[0036] The host 100 can be used to configure the simulation tool 202 to simulate a design to be tested. The design to be tested can be a complete logic system design or one or more modules of a complete logic system design. In some embodiments, the host 100 can be a virtual host in a cloud computing system. The logic system design (e.g., ASIC or System-On-Chip) can be designed by a hardware description language (e.g., Verilog, VHDL, System C, or System Verilog). The host 100 configuration simulation tool 202 may include configuring the simulation environment (e.g., the connection relationship between multiple simulation tools 202 or the connection relationship between the simulation tool and the daughter card), etc.

[0037] The host 100 may compile the logic system design in the form of source code into an executable file. From a design perspective, the logic system design may include a design to be tested and a test bench (Testbench) corresponding to the design to be tested.

[0038] From the perspective of synthesis, the logic system design may include a synthesizable part and a non-synthesizable part. The synthesizable part usually corresponds to the actual physical design (e.g., a chip), while the non-synthesizable part usually includes an initialization module, a test bench, etc. The executable file formed by the non-synthesizable part after compilation can usually be run by the host 100. The synthesizable part also needs to be synthesized after compilation to form a bit file. The bit file can be used to configure the FPGA 2026 to run according to the design requirements of the synthesizable part.

[0039] The host 100 may receive a request from a user to debug the design to be tested. As described above, the design to be tested may include one or more modules. The description of the design to be tested may be completed in a hardware description language. The host 100 may perform synthesis based on the description of the design to be tested to generate, for example, a gate-level circuit netlist (not shown) of the design to be tested. The gate-level circuit netlist of the design to be tested may be loaded into the simulation tool 202 for operation, and then a circuit structure corresponding to the design to be tested may be formed in the simulation tool 202. Therefore, the circuit structure of the design to be tested may be obtained according to the description, and accordingly, the circuit structure of each block in the design to be tested may also be obtained similarly.

[0040] As mentioned above, flexible configuration of pin delay is a technical problem that needs to be solved urgently.

[0041] In order to solve the above problems, the embodiments of the present application provide a novel simulation tool structure.

[0042] Figure 3 A schematic diagram of a simulation system 300 according to an embodiment of the present application is shown.

[0043] The emulation system 300 may include a hardware emulation tool 302 , a daughter card 204 , a host 100 , and a host 304 .

[0044] Different from the general structure, the simulation tool 302 further includes an interface adapter 3022 in addition to the interface unit 2022 , the memory 2024 and the programmable logic device 2026 .

[0045] The interface adapter 3022 is connected to the daughter card 204, the programmable logic device 2026 and the host 304. The host 304 and the host 100 may be the same host or different hosts. For the sake of distinction, the present application takes different hosts as examples for description.

[0046] Figure 4 FIG. 4 is a schematic diagram of another simulation system 400 according to an embodiment of the present application.

[0047] exist Figure 3 In the embodiment, the interface adapter 3022 is a part of the simulation tool 302. Figure 3 Different, in Figure 4 In the embodiment of FIG. 4 , the interface adapter 404 is independent of the simulation tool 402 and is a separate component of the hardware simulation system 400 .

[0048] like Figure 4 As shown, hardware emulation system 400 may include hardware emulation tool 402 and interface adapter 404 .

[0049] The interface adapter 404 may be connected between the hardware emulation tool 402 and the daughter card 204. The hardware emulation tool 402 may be used to emulate a logic system design and include a programmable logic device (eg, FPGA 2026). The programmable logic device 2026 may include a plurality of pins.

[0050] Understandably, Figure 3 Interface adapter 3022 and Figure 4 The interface adapter 404 is the same or similar in structure and function.

[0051] Figure 5 FIG. 5 is a schematic diagram showing an interface adapter 500 according to an embodiment of the present application. It is understood that the interface adapter 500 may be Figure 3 Interface adapter 3022 or Figure 4 Interface adapter 404.

[0052] After the logic system design is configured to the FPGA 2026, the n+1 pins of the FPGA 2026 are configured as the n+1 pins pin_00, pin_01, pin_02, ..., pin_0n of the logic system design. n can be a positive integer greater than 1. It is understood that the FPGA 2026 has pins greater than or equal to n+1, and the configured pins are only at least a portion of all the pins of the FPGA 2026. Generally, the pins pin_00, pin_01, pin_02, ..., pin_0n are used as inputs or outputs of the logic system design. It is understood that the n+1 pins pin_00, pin_01, pin_02, ..., pin_0n of the logic system design can be connected to the interface adapter 500 via the interface 3022 of the hardware simulation tool 302. That is, the connection of the interface adapter 500 to the programmable logic device (e.g., FPGA) 2026 can be indirect (e.g., via an additional interface). It can be understood that in the description of the embodiments of the present application, any connection includes a direct connection or an indirect connection.

[0053] Corresponding to the FPGA 2026 , the daughter card 204 may also include n+1 pins pin_10 , pin_11 , pin_12 , . . . , pin_1n .

[0054] The interface adapter 500 may include an interface 504 for connecting to a plurality of pins pin_00, pin_01, pin_02, ..., pin_0n of the programmable logic device 2026 and an interface 506 for connecting to the daughter card 204. The interface 504 may include a plurality of first pins A0, A1, A2, ..., An. The interface 506 may include a plurality of second pins B0, B1, B2, ..., Bn. The interface adapter 3022 may also include third pins Am, Bo, etc.

[0055] In some embodiments, pin Am and the like and a plurality of first pins A0, A1, A2, ..., An are arranged on one side of the interface adapter 500 for connecting to the programmable logic device 2026. Therefore, pins A0, A1, A2, ..., An, ...Am can be referred to as internal pins. Pin Bo and the like and a plurality of second pins B0, B1, B2, ..., Bn are arranged on the other side of the interface adapter 500 for connecting to the daughter card 204. Therefore, pins B0, B1, B2, ..., Bn can be referred to as external pins. It is understood that the arrangement of the pins is not necessarily limited to the two sides.

[0056] It can be seen that the number of internal pins m+1 can be a positive integer greater than or equal to n+1; the number of external pins o+1 can be a positive integer greater than or equal to n+1.

[0057] The interface adapter 500 may include a controller 502 for setting a delay corresponding to each of the plurality of pins pin_00, pin_01, pin_02, ..., pin_0n between the interface 504 and the interface 506. For example, the controller 502 may set a delay between pins A0 and B0, and may further change a delay between pin pin_00 of the programmable logic device 2026 and pin pin_10 of the daughter card 204, i.e., a delay of pin pin_00 of the programmable logic device 2026. It is understood that setting a delay between two pins belongs to the prior art.

[0058] The controller 502 may also be connected to the second host 304 and receive instructions from the second host 304 for configuring the controller 502 .

[0059] The present application also provides a hardware simulation tool (for example, Figure 3 A hardware emulation tool 302 is used to communicate with a first host (eg, Figure 3 host 100) and daughter cards (e.g., Figure 3 The daughter card 204 of the embodiment of the present invention is connected to simulate a logic system design (not shown). The logic system design may be a chip design.

[0060] The hardware simulation tool may include: a programmable logic device (e.g., Figure 3 FPGA 2026), the programmable logic device includes a plurality of pins (e.g., Figure 5 connecting the programmable logic device and a first interface of the first host (for example, Figure 3 and an interface adapter (eg, an interface 2022) connecting the programmable logic device and the daughter card Figure 3 interface 3022).

[0061] The interface adapter includes: a second interface (eg, Figure 5 interface 504); a third interface for connecting to the daughter card (eg, Figure 5 an interface 506); a controller connected between the second interface and the third interface (eg, Figure 5 A controller 502 is configured to set a delay between the second interface and the third interface corresponding to each of the plurality of pins. The controller is connected to a second host (eg, Figure 5 host 304).

[0062] By directly setting the interface adapter on the hardware simulation tool or connecting the interface adapter outside the hardware simulation tool, users can flexibly adjust the delay from each pin of the programmable logic device to the daughter card without recompiling the logic system design, thereby improving the user experience and increasing the user's debugging efficiency.

[0063] Some embodiments of the present application are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0064] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the present application as described above, which are not provided in detail for the sake of simplicity.

[0065] Although the present application has been described in conjunction with specific embodiments of the present application, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the discussed embodiments.

[0066] This application is intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application should be included in the scope of protection of this application.

Claims

1. A hardware simulation tool, used to connect with a first host and a daughter card to simulate a logic system design, the hardware simulation tool comprising: A programmable logic device for implementing the logic system design, the programmable logic device comprising a plurality of pins; A first interface connecting the programmable logic device and the first host; as well as An interface adapter connecting the programmable logic device and the daughter card, the interface adapter comprising: a second interface for connecting to the plurality of pins; A third interface for connecting to the daughter card; A controller connected between the second interface and the third interface is used to set a delay between the second interface and the third interface corresponding to each of the plurality of pins.

2. The hardware simulation tool as claimed in claim 1, wherein: The controller is connected to a second host.

3. An interface adapter, for connecting between a hardware simulation tool and a daughter card, wherein the hardware simulation tool is used to simulate a logic system design and includes a programmable logic device, wherein the programmable logic device includes a plurality of pins, and the interface adapter includes: a second interface for connecting to the plurality of pins; A third interface for connecting to the daughter card; A controller connected between the second interface and the third interface is used to set a delay between the second interface and the third interface corresponding to each of the plurality of pins.

4. The interface adapter according to claim 3, wherein: The controller is connected to a second host.