Method and device for processing signal of logic system design, electronic device and storage medium
By using memory to form a large-capacity selector on programmable logic devices, the problems of FPGA resource consumption and slow simulation speed in hardware simulation tools are solved, and efficient signal selection and performance optimization are achieved.
Patent Information
- Application Number
- CN202411059979.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-11-08
AI Technical Summary
When existing hardware simulation tools realize large-capacity signal selection, they consume a large amount of FPGA gate circuit resources and the simulation speed is slow, mainly due to the synchronization bottleneck between FPGAs.
By using memory to form a large-capacity selector on programmable logic devices, gate circuit resources are saved, signal selection and reading and writing are used for memory, FPGA resource consumption is reduced, and the overall operation speed of simulation tools is optimized.
It realizes efficient completion of large-capacity signal selection with fewer FPGA resources, reduces the overall operating speed bottleneck of hardware simulation tools, significantly saves gate circuit resources, and maintains simulation performance.
Smart Images

Figure CN118915562A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of chip verification technology, and in particular to a method, device, electronic apparatus and storage medium for processing signals of a logic system design on a programmable logic device. 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 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. Summary of the invention
[0005] The first aspect of the present application provides a method for processing signals of a logic system design on a programmable logic device. The method comprises: obtaining signal values of multiple data signals of the logic system design, the programmable logic device comprising a memory; storing the signal values of the multiple data signals to multiple addresses of the memory; obtaining a selection signal, the selection signal being used to select a target signal from the multiple data signals; and reading the stored signal value from a target address corresponding to the target signal from the multiple addresses as an output signal value according to the selection signal.
[0006] The second aspect of the present application provides a programmable logic device, comprising a selector. The selector further comprises: an interface configured to obtain a selection signal and signal values of a plurality of data signals designed by a logic system, wherein the selection signal is used to select a target signal from the plurality of data signals; a memory configured to store the signal values of the plurality of data signals to a plurality of addresses of the memory; and a parser configured to read the stored signal value from a target address corresponding to the target signal from the plurality of addresses as an output signal value according to the selection signal.
[0007] The third aspect of the present application provides an electronic device, which includes: a memory for storing a set of instructions; and at least one processor configured to execute the set of instructions so that the electronic device executes the method according to the first aspect.
[0008] A fourth aspect of the present application provides a non-transitory computer-readable storage medium, which stores a set of instructions for a computer, and the set of instructions is used to cause the computer to perform the method as described in the first aspect when executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] 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.
[0010] Figure 1 A schematic diagram of the structure of an exemplary host according to an embodiment of the present application is shown.
[0011] Figure 2 A schematic diagram of a simulation system according to an embodiment of the present application is shown.
[0012] Figure 3 An example diagram showing a large capacity selector implemented by using a memory according to an embodiment of the present application Figure 4 An example diagram of implementing another large-capacity selector using a memory according to an embodiment of the present application is shown.
[0013] Figure 5 A flow chart of a method for processing signals of a logic system design on a programmable logic device 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] 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.
[0017] 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.
[0018] 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 1As 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.
[0019] 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.
[0020] 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.
[0021] 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.
[0022] 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.
[0023] Figure 2 A schematic diagram of a simulation system 200 according to an embodiment of the present application is shown.
[0024] 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 .
[0025] 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.
[0026] 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.
[0027] 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.
[0028] 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.
[0029] The simulation tool 202 may also include an FPGA 2026 for implementing the logic system design in hardware on the FPGA. It is understandable that the simulation tool 202 may include multiple FPGAs, which are only examples in the figure.
[0030] 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 .
[0031] The daughter card 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 can include a memory daughter card (for example, providing a DDR memory interface), a communication daughter card (for example, providing multiple network interfaces or a wireless network card interface), etc.
[0032] 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.
[0033] 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.
[0034] 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.
[0035] 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.
[0036] In hardware simulation of logic system design, it is often necessary to select a target signal from a large number of signals (for example, 1024 signals or even more), that is, it is necessary to provide a selector that supports large-capacity signal selection.
[0037] Usually, the selector is formed by configuring the gate circuits inside the FPGA, but this will consume a large amount of FPGA gate circuit resources, and for the hardware simulation tool 202, FPGA gate circuit resources are extremely valuable.
[0038] How to implement a large-capacity selector with less FPGA resources is a technical problem that needs to be solved urgently.
[0039] The inventors of the present application have found in long-term technical practice that for hardware simulation tools, their simulation speed is usually much slower than the actual chip (i.e., the speed expected to be achieved by the design to be tested). For example, the simulation speed of hardware simulation tools is usually only 1khz. Moreover, the bottleneck of its speed is usually the synchronization between multiple FPGAs. In other words, even if the simulation speed of the design to be tested is very fast inside the FPGA, it will eventually wait in the process of cross-FPGA synchronization. In other words, reducing the simulation speed inside the FPGA will not significantly degrade the overall performance. This makes it possible to implement a large-capacity selector in a design that sacrifices speed for space.
[0040] Figure 3 An example diagram of implementing a large capacity selector 300 using a memory according to an embodiment of the present application is shown.
[0041] like Figure 3 As shown, the large capacity selector 300 of the embodiment of the present application may include a memory 302 and an interface 304 .
[0042] The memory 302 may be a memory on the FPGA 2026 of the hardware simulation tool 202. It is understood that the memory 302 may be a part or the whole of the FPGA memory. In some embodiments, the memory 302 may be a memory independent of the FPGA 2026.
[0043] The interface 304 can be used to receive the data signal DATA and the selection signal SEL of the DUT 301. The DUT 301 can be implemented on the FPGA 2026. It is understood that the DUT 301 can be a complete or a part of the logic system design. The number of data signals DATA can be very large, for example, 1024 data signals. The selection signal SEL is used to indicate which of the data signals (i.e., the target signal) will be selected and output. The selection signal SEL can be connected to the parser 3042. In some embodiments, the parser 3042 can be a part of the interface 304. It is understood that in the embodiment of the present application, the parser 3042 is shown as a component independent of the interface 304 for exemplary purposes only.
[0044] In some embodiments, the selector 300 may acquire signal values of a plurality of data signals of a logic system design (eg, the DUT 301 ), and store the signal values of the plurality of data signals in a plurality of addresses of the memory 302 .
[0045] For example, FPGA 2026 may be configured to connect the leads associated with the plurality of data signals to the input ports of memory 302. Figure 3 In the embodiment, a plurality of data signals DATA are connected to the memory 302 via the interface 304. It is understood that in other examples (not shown), the leads of the plurality of data signals DATA may be directly connected to the memory 302. When storing data, the memory 302 may write the value of the data signal DATA to the corresponding memory address, thereby completing the caching of the value of the data signal DATA.
[0046] The selector 300 may further acquire a selection signal SEL, and read a stored signal value from a target address corresponding to the selection signal SEL as an output signal value of a target signal according to the selection signal SEL. Specifically, the selector 300 may determine a range of multiple addresses of the memory; determine a target position of the target signal in the range according to the selection signal; and determine a target address according to the range and the target position.
[0047] In some embodiments, for 1024 data signals, the values of these data signals DATA may be stored in 1024 consecutive memory addresses (e.g., a range of 0×1000 to 0×13FF). The 1024 consecutive memory addresses may be a row or a column of memory. The selector 300 may determine, based on the selection signal SEL, which of the 1024 signals the target signal corresponding to the selection signal SEL is, that is, the offset of the target signal compared to the first address of the 1024 memory addresses, thereby determining the target position of the target signal in the range, and further determining the target address.
[0048] In other embodiments, the values of 1024 data signals are stored in a matrix area of memory. Figure 4 FIG. 2 shows an example diagram of another large capacity selector 310 implemented by using a memory according to an embodiment of the present application. Figure 3 compared to, Figure 4 The only difference is how the values of the data signals are stored.
[0049] like Figure 4 As shown, according to the capacity of the selector 310, a matrix area of the memory 302 is divided out for storing the value of the data signal. For example, for 1024 data signals, a 10×10 matrix area can be divided for storing the value of the data signal. In this case, the selector 300 can determine the range of multiple addresses of the memory 302 (for example, the above-mentioned matrix area), and determine which of the 1024 signals the target signal corresponding to the selection signal SEL is according to the selection signal SEL, and further determine the position of the target signal in the above-mentioned area according to the area storing the value of the data signal. For example, if the target signal is the Nth signal, when the above-mentioned area is 10×10, the target signal can be located in the mth column (where m=[N / 10]) and the kth row (where k=Nm*10). Accordingly, the target address can be determined according to the above-mentioned range and target position.
[0050] According to the target address, the memory 302 can read the value stored in the target address and output the value as the output of the selector 300 or 310, thereby completing the signal selection.
[0051] In some embodiments, the selector 300 or 310 may further include a selection enable signal ENB for enabling the signal selection of the selector. In other words, when the enable signal ENB meets the requirements (e.g., high level), the selector 300 or 310 selects the value of the target signal to output according to the selection signal SEL; when the enable signal ENB does not meet the requirements (e.g., low level), the selector 300 or 310 does not select any signal.
[0052] It should be noted that, since the multiple data signals DATA can change continuously with the clock, the selector 300 or 310 needs to continuously update the value stored in the memory 302 and synchronize with the selection signal SEL or the enable signal ENB. In other words, for example, when the enable signal ENB meets the requirements (for example, high level), the simulation tool 202 can suspend the system clock so that the data signal DATA in the same clock cycle as the enable signal ENB is selected and output, and then restore the system clock and read the value of the data signal DATA of the next clock signal.
[0053] As described above, the selector 300 or 310 is formed on a programmable logic device (eg, FPGA).
[0054] By using memory to form a large capacity selector on a programmable logic device, the user can save a large amount of gate circuit resources and complete the large capacity selector using only part of the memory. It can be seen that the large capacity selection of the embodiment of the present application requires frequent reading and writing of the memory, which will reduce the operating speed of the subsystem on the programmable logic device. However, as mentioned above, since the overall operating speed bottleneck of the hardware simulation tool 202 lies in the communication between multiple programmable logic devices rather than the operating speed of the subsystem on each programmable logic device, the large capacity selection of the embodiment of the present application will not significantly degrade the overall operating speed of the hardware simulation tool 202, thereby significantly saving gate circuit resources at a very small performance cost.
[0055] The embodiment of the present application also provides a method for processing signals of a logic system design on a programmable logic device.
[0056] Figure 5 A method for implementing a programmable logic device (for example, Figure 2 FPGA 2026) to process logic system design (e.g., Figure 3 or Figure 4 Flow chart of method 500 for detecting a signal of DUT 301). Method 500 may be performed as follows Figure 2 The hardware simulation tool 202 is shown to execute the method 500. The method 500 may include the following steps.
[0057] In step 501, the hardware simulation tool 202 may obtain a plurality of data signals (eg, Figure 3 or Figure 4 The programmable logic device includes a memory (for example, Figure 3 or Figure 4 The memory includes an input port (e.g., Figure 3 or Figure 4 interface 304 and / or parser 3042) and output ports (e.g., Figure 3 or Figure 4 output).
[0058] In some embodiments, method 500 may include configuring the programmable logic device to connect leads (eg, Figure 3 or Figure 4 The data signal DATA lead, or the selection signal SEL and the enable signal ENB lead) are connected to the input port of the memory; the programmable logic device is configured to generate a parser (for example, Figure 3 or Figure 4 A parser 3042) is used to determine the target address according to the selection signal.
[0059] In some embodiments, determining the target address according to the selection signal further comprises: determining a range of multiple addresses of the memory; determining a target position of the target signal in the range according to the selection signal; and determining the target address according to the range and the target position. Figure 3 or Figure 4 Description.
[0060] In step 503 , the hardware simulation tool 202 may store the signal values of the plurality of data signals to a plurality of addresses of the memory.
[0061] In step 505, the hardware simulation tool 202 may obtain a selection signal (eg, Figure 3 or Figure 4 The selection signal SEL is used to select a target signal from among the plurality of data signals.
[0062] In some embodiments, the hardware simulation tool 202 may also obtain a selection enable signal (eg, Figure 3 or Figure 4 an enable signal ENB); and determining whether to enable the selector 300 or 310 according to the selection enable signal.
[0063] In step 507 , the hardware simulation tool 202 may read a stored signal value from a target address corresponding to the target signal among the multiple addresses as an output signal value according to the selection signal.
[0064] The embodiment of the present application also provides a programmable logic device (for example, Figure 2 FPGA 2026), including selectors (e.g., Figure 3 or Figure 4 ), the selector further comprising: Interfaces (for example, Figure 3 or Figure 4 An interface 304 configured to obtain a selection signal and signal values of a plurality of data signals designed by the logic system, wherein the selection signal is used to select a target signal from the plurality of data signals; Memory (e.g. Figure 3 or Figure 4 A memory 302 configured to store signal values of the plurality of data signals at a plurality of addresses of the memory; Parsers (for example, Figure 3 or Figure 4A parser 3042 is configured to read a stored signal value from a target address corresponding to the target signal among the multiple addresses as an output signal value according to the selection signal.
[0065] In some embodiments, the selector is further configured to obtain a selection enable signal (eg, Figure 3 or Figure 4 An enable signal ENB is outputted from the selector), and the selector is further configured to determine whether to enable the selector according to the selection enable signal.
[0066] The present application also provides an electronic device. The electronic device may be Figure 2 The electronic device may include a memory for storing a set of instructions; and at least one processor configured to execute the set of instructions so that the electronic device performs the method 500.
[0067] The embodiment of the present application further provides a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium stores a set of instructions for a computer, and the set of instructions is used to make the computer perform the method 500 when executed.
[0068] 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.
[0069] 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.
[0070] 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.
[0071] 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 method for processing signals of a logic system design on a programmable logic device, the method include: Acquiring signal values of a plurality of data signals designed by the logic system, wherein the programmable logic device includes a memory; storing signal values of the plurality of data signals at a plurality of addresses of the memory; Acquire a selection signal, wherein the selection signal is used to select a target signal from the plurality of data signals; as well as According to the selection signal, a stored signal value is read from a target address corresponding to the target signal among the plurality of addresses as an output signal value.
2. The method according to claim 1, in, The memory comprises an input port and an output port, and the method further comprises: configuring the programmable logic device to connect pins associated with the plurality of data signals to input ports of the memory; The programmable logic device is configured to generate a parser for determining the target address according to the selection signal.
3. The method according to claim 2, in, Determining the target address according to the selection signal further: determining a range of a plurality of addresses of the memory; determining a target position of the target signal in the range according to the selection signal; The target address is determined based on the range and the target location.
4. The method of claim 2, further comprising: include: Get the selection enable signal; Whether to enable the selector is determined according to the selection enable signal.
5. The method according to claim 1, in, The programmable logic device is a field programmable gate array.
6. A programmable logic device, comprising a selector, wherein the selector further include: An interface configured to obtain a selection signal and signal values of a plurality of data signals designed by a logic system, wherein the selection signal is used to select a target signal from the plurality of data signals; a memory configured to store signal values of the plurality of data signals at a plurality of addresses of the memory; The parser is configured to read a stored signal value from a target address corresponding to the target signal among the multiple addresses as an output signal value according to the selection signal.
7. The programmable logic device according to claim 6, in, The selector is further configured to obtain a selection enable signal, and the selector is further configured to: Whether to enable the selector is determined according to the selection enable signal.
8. An electronic device comprising a memory for storing a set of instructions; and At least one processor is configured to execute the set of instructions so that the electronic device performs the method according to any one of claims 1-5.
9. A non-transitory computer-readable storage medium storing a set of instructions for a computer, the set of instructions being used to cause the computer to perform the method according to any one of claims 1 to 5 when executed.
