Internal interface signal sampling method, device and computing equipment

By generating a virtual interface and determining the sampling results based on the relationship between signal values, signal sampling is performed directly during post-simulation, which solves the problem of manually detecting the inverted bit field in post-simulation and realizes automation and efficiency improvement in the simulation process.

CN113392606BActive Publication Date: 2024-10-22WXILICON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the post-simulation process, the inversion situation caused by inserting the buffer requires manual detection of the inversion bit field, resulting in a heavy workload, error-prone, and no automation of simulation.

Method used

By generating a virtual interface and obtaining the initial value of the entrance signal, the signal value in the reset state, and the signal value in the non-reset state, the sampling results are determined based on the numerical relationship of these values, and signal sampling is performed directly during post-simulation to avoid manual linking of the interface. Signal.

Benefits of technology

It reduces the workload, reduces the possibility of manual errors, and realizes the automation of the simulation process, so that signals can be directly sampled during post-simulation without the need to manually connect interface signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113392606B_ABST
    Figure CN113392606B_ABST
Patent Text Reader

Abstract

The present application provides a sampling method, device and computing equipment for an internal interface signal, the method comprising: generating a virtual interface of the entry signal according to the configuration information of the entry signal; when it is a post-simulation process, obtaining the initial value of the entry signal at the virtual interface, the signal value of the entry signal at the virtual interface in a reset state and the signal value of the entry signal at the virtual interface in a non-reset state; according to the numerical relationship between the signal value of the entry signal at the virtual interface in a reset state and the signal value of the entry signal at the virtual interface in a non-reset state, determining the initial value of the entry signal at the virtual interface or the value after negating the initial value as the sampling result of the entry signal. Based on the technical solution provided by the present application, direct sampling of signals can be achieved during post-simulation without manually connecting interface signals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of chip simulation, and in particular to a sampling method, device and computing equipment for internal interface signals. Background Art

[0002] Simulation can be divided into pre-simulation and post-simulation. Pre-simulation is functional simulation, and post-simulation is a simulation that takes into account the gate delay parameters of each module and the connection conditions between the modules. The simulation results obtained are close to the actual application situation. However, in the post-simulation process, if the insertion of a buffer causes a negation in the connection between the modules, it is necessary to manually detect the inverted bit field. The disadvantages of manually detecting the inverted bit field include: First, the workload is large. Second, it is easy to make mistakes. Errors that occur when manually detecting the inverted bit field will not affect the compilation and can only be found during simulation. Therefore, the compilation time and debugging difficulty are increased. Third, there is a lack of automation. When transitioning from pre-simulation to post-simulation, a step of manually detecting the inverted bit field needs to be introduced, and the automation of the simulation is not realized. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides a method, an apparatus and a computing device for sampling an internal interface signal, which can directly sample the signal during post-simulation without manually connecting the interface signal.

[0004] A first aspect of an embodiment of the present invention provides a method for sampling an internal interface signal, comprising:

[0005] Generating a virtual interface of the ingress signal according to configuration information of the ingress signal;

[0006] When it is a post-simulation process, obtaining an initial value of the entry signal at the virtual interface, a signal value of the entry signal at the virtual interface in a reset state, and a signal value of the entry signal at the virtual interface in a non-reset state;

[0007] According to the numerical relationship between the signal value of the entry signal at the virtual interface in the reset state and the signal value of the entry signal at the virtual interface in the non-reset state, the initial value of the entry signal at the virtual interface or the value after inverting the initial value is determined as the sampling result of the entry signal.

[0008] As described above, the sampling result of the entry signal is obtained by acquiring the initial value of the entry signal, the signal value in the reset state and the signal in the non-reset state, and based on the sampling result, it is possible to avoid manually linking the interface signal during post-simulation.

[0009] As an implementation manner of the first aspect, the configuration information of the entry signal includes:

[0010] The name of the entry signal and the bit width of the entry signal.

[0011] As an implementation of the first aspect, determining, according to a numerical relationship between a signal value of the entry signal at the virtual interface in a reset state and a signal value of the entry signal at the virtual interface in a non-reset state, an initial value of the entry signal at the virtual interface or a value inverted from the initial value as a sampling result of the entry signal, includes:

[0012] When the initial value of the entry signal at the virtual interface and the signal value of the entry signal at the virtual interface in the reset state are equal, the sampling result is the initial value of the entry signal at the virtual interface; otherwise, the sampling result is the value obtained by inverting the initial value of the entry signal at the virtual interface.

[0013] As an implementation of the first aspect, when the initial value of the entry signal at the virtual interface is equal to the signal value of the entry signal at the virtual interface in a reset state, the sampling result is the initial value of the entry signal at the virtual interface; otherwise, the sampling result is a value obtained by inverting the initial value of the entry signal at the virtual interface, including:

[0014] The sampling result A is determined as follows:

[0015]

[0016] Wherein, A0 is the signal value of the entry signal in a non-reset state, A1 is the signal value of the entry signal at the virtual interface in a reset state, and A2 is the initial value of the entry signal at the virtual interface. is the XOR operation in logical operation, & is the AND operation in logical operation, ~ is the negation operation in logical operation, ⊙ is the XNOR operation in logical operation, | is the OR operation in logical operation.

[0017] From the above, a specific logical operation method for determining the sampling result is provided, so that the sampling result is closer to the needs of post-simulation.

[0018] As an implementation of the first aspect, the method further includes:

[0019] Post-simulation is performed using the sampling results.

[0020] As an implementation of the first aspect, after the virtual interface of the entry signal is generated according to the configuration information of the entry signal, when it is a pre-simulation process, the pre-simulation is performed using the signal value of the entry signal in a non-reset state at the virtual interface.

[0021] As an implementation of the first aspect, after generating the virtual interface of the entry signal according to the configuration information of the entry signal, the method further includes: using a macro to determine whether it is a post-simulation process.

[0022] A second aspect of the present application provides a sampling device for an internal interface signal, comprising:

[0023] A generating module, used for generating a virtual interface of the ingress signal according to the configuration information of the ingress signal;

[0024] an acquisition module, used for acquiring, in a post-simulation process, an initial value of the entry signal at the virtual interface, a signal value of the entry signal at the virtual interface in a reset state, and a signal value of the entry signal at the virtual interface in a non-reset state;

[0025] A determination module is used to determine the initial value of the entry signal at the virtual interface or the value after inverting the initial value as the sampling result of the entry signal based on the numerical relationship between the signal value of the entry signal at the virtual interface in the reset state and the signal value of the entry signal at the virtual interface in the non-reset state.

[0026] As an implementation manner of the second aspect, the configuration information of the entry signal includes:

[0027] The name of the entry signal and the bit width of the entry signal.

[0028] As an implementation method of the second aspect,

[0029] The determining module is specifically used for:

[0030] When the initial value of the entry signal at the virtual interface and the signal value of the entry signal at the virtual interface in the reset state are equal, the sampling result is the initial value of the entry signal at the virtual interface; otherwise, the sampling result is the value obtained by inverting the initial value of the entry signal at the virtual interface.

[0031] A third aspect of the present application provides a computing device, comprising:

[0032] bus;

[0033] A communication interface connected to the bus;

[0034] at least one processor connected to the bus; and

[0035] At least one memory is connected to the bus and stores program instructions, and when the program instructions are executed by the at least one processor, the at least one processor executes the internal interface signal sampling method described in any one of the first aspects above.

[0036] The fourth aspect thereof provides a computer-readable storage medium having program instructions stored thereon, wherein when the program instructions are executed by a computer, the computer executes the internal interface signal sampling method described in any one of the first aspects above.

[0037] In summary, the technical solution provided by the present application can avoid the situation where the inverted bit field needs to be manually detected when inverting due to the insertion of a buffer during post-simulation. This can not only reduce the workload, but also reduce the phenomenon of easy errors due to manual participation, and realize the full automation of the simulation process, so that the signal can be sampled directly during post-simulation without the need to manually connect the interface signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A flowchart of a sampling method for an internal interface signal provided in an embodiment of the present application;

[0039] Figure 2 A flowchart of a specific implementation method of a sampling method for an internal interface signal provided in an embodiment of the present application;

[0040] Figure 3 A schematic diagram of the structure of a sampling device for internal interface signals provided in an embodiment of the present application;

[0041] Figure 4 A schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The words "first, second, third, etc." or module A, module B, module C and other similar terms in the specification and claims are only used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that the specific order or sequence can be interchanged where permitted so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0043] In the following description, the numbers representing the steps, such as S110, S120, etc., do not necessarily mean that the steps must be executed in this manner. If permitted, the order of the previous and next steps can be interchanged, or they can be executed simultaneously.

[0044] The term "comprising" as used in the description and claims should not be interpreted as being limited to what is listed thereafter; it does not exclude other elements or steps. Therefore, it should be interpreted as specifying the presence of the features, integers, steps or components mentioned, but does not exclude the presence or addition of one or more other features, integers, steps or components and groups thereof. Therefore, the expression "a device comprising means A and B" should not be limited to a device consisting of components A and B only.

[0045] References to "one embodiment" or "an embodiment" in this specification mean that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least one embodiment of the present application. Therefore, the phrases "in one embodiment" or "in an embodiment" appearing in various places in this specification do not necessarily refer to the same embodiment, but may refer to the same embodiment. In addition, in one or more embodiments, the particular features, structures, or characteristics can be combined in any appropriate manner, as would be apparent to one of ordinary skill in the art from this disclosure.

[0046] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present application. In case of any inconsistency, the meaning described in this specification or the meaning derived from the contents recorded in this specification shall prevail. In addition, the terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0047] In order to accurately describe the technical content of the application and to accurately understand the application, the following explanations or definitions are given for the terms used in this specification before describing the specific implementation methods.

[0048] Post-simulation: After the layout design is completed, the parasitic parameters and interconnect delays are back-annotated into the extracted circuit netlist for simulation, and the circuit is analyzed to ensure that the circuit meets the design requirements. The simulation results obtained by post-simulation are closer to the actual application situation.

[0049] The embodiment of the present invention provides a sampling method for an internal interface signal. The sampling method for an internal interface signal can directly sample the signal without manually connecting the interface signal.

[0050] The following is a detailed description of a sampling method for an internal interface signal provided by an embodiment of the present invention in conjunction with the accompanying drawings. Figure 1 As shown, the method may include the following steps S110-S130:

[0051] S110: Generate a virtual interface of the ingress signal according to configuration information of the ingress signal.

[0052] In this embodiment, the configuration information of the entry signal includes all information of the entry signal, such as the name of the entry signal, or the bit width of the entry signal.

[0053] S120: When it is a post-simulation process, obtain the initial value of the entry signal at the virtual interface, the signal value of the entry signal at the virtual interface in a reset state, and the signal value of the entry signal at the virtual interface in a non-reset state.

[0054] In this step, the initial value of the entry signal at the virtual interface and the signal value of the entry signal at the virtual interface in a non-reset state can be directly obtained from the configuration information of the entry signal in step S110.

[0055] To obtain the signal value of the entry signal in the reset state at the virtual interface, it is necessary to first perform a reset operation on the entry signal to obtain the signal value of the entry signal in the reset state.

[0056] S130: According to the numerical relationship between the signal value of the entry signal at the virtual interface in the reset state and the signal value of the entry signal at the virtual interface in the non-reset state, the initial value of the entry signal at the virtual interface or the value after negating the initial value is determined as the sampling result of the entry signal.

[0057] In this step, the sampling result A can be determined according to the following formula:

[0058]

[0059] Wherein, A0 is the signal value of the entry signal in a non-reset state, A1 is the signal value of the entry signal at the virtual interface in a reset state, and A2 is the initial value of the entry signal at the virtual interface. is the XOR operation in logical operation, & is the AND operation in logical operation, ~ is the negation operation in logical operation, ⊙ is the XNOR operation in logical operation, | is the OR operation in logical operation.

[0060] In another embodiment of the present invention, the sampling result A in the above embodiment may be used to perform post-simulation, specifically:

[0061] The sampling result A is sent to the simulation software for post-simulation, and a monitor is used to monitor the post-simulation status.

[0062] In the embodiment of the present invention, the pre-simulation may be performed using the signal value of the entry signal at the virtual interface in the non-reset state in the above embodiment, specifically:

[0063] The signal value of the entry signal at the virtual interface in a non-reset state is sent to simulation software for pre-simulation, and a monitor is used to monitor the pre-simulation state.

[0064] Among them, macros can be used to distinguish the current simulation as pre-simulation or post-simulation, so as to realize full automation of the simulation process.

[0065] Combination Figure 2 , a specific implementation of a sampling method of an internal interface signal provided by an embodiment of the present invention is described below. The method mainly includes steps S210-S270, and each step is introduced in turn below:

[0066] S210: Acquire configuration information of the entry signal, including the signal name of the entry signal, the bit width of the entry signal, and the signal value A0 of the entry signal in a non-reset (RESET) state.

[0067] S220: Generate a virtual interface (INTF) according to the configuration information of the ingress signal in step S210.

[0068] S230: Determine whether the current simulation is a post-simulation, if so, execute step S240, otherwise execute step S270.

[0069] S240: Record the initial value of INTF, that is, the initial value A2 of the ingress signal at the virtual interface.

[0070] S250: Sample and obtain the signal value A1 of the entry signal at the virtual interface in the reset state, and the signal value A0 of the entry signal at the virtual interface in the non-reset state (this value is the signal value of the entry signal in the non-reset state in step S210).

[0071] S260: Exploit The sampling result A is obtained by calculation and sent to the simulation software for post-simulation.

[0072] S270: Send the signal value A0 in the non-reset (RESET) state of the entry signal in step S210 to the simulation software for pre-simulation.

[0073] An embodiment of the present invention provides a sampling device for an internal interface signal, such as Figure 3 As shown, including:

[0074] A generating module 310, configured to generate a virtual interface of the ingress signal according to the configuration information of the ingress signal;

[0075] An acquisition module 320, used for acquiring, in a post-simulation process, an initial value of the entry signal at the virtual interface, a signal value of the entry signal at the virtual interface in a reset state, and a signal value of the entry signal at the virtual interface in a non-reset state;

[0076] The determination module 330 is used to determine the initial value of the entry signal at the virtual interface or the value after negating the initial value as the sampling result of the entry signal based on the numerical relationship between the signal value of the entry signal at the virtual interface in the reset state and the signal value of the entry signal at the virtual interface in the non-reset state.

[0077] The configuration information of the entry signal includes:

[0078] The name of the entry signal and the bit width of the entry signal.

[0079] The determination module is specifically used to: when the initial value of the entry signal at the virtual interface is equal to the signal value of the entry signal at the virtual interface in the reset state, the sampling result is the initial value of the entry signal at the virtual interface; otherwise, the sampling result is the value obtained by inverting the initial value of the entry signal at the virtual interface. In detail: the sampling result A is determined according to the following formula:

[0080]

[0081] Wherein, A0 is the signal value of the entry signal in a non-reset state, A1 is the signal value of the entry signal at the virtual interface in a reset state, and A2 is the initial value of the entry signal at the virtual interface. is the XOR operation in logical operation, & is the AND operation in logical operation, ~ is the negation operation in logical operation, ⊙ is the XNOR operation in logical operation, | is the OR operation in logical operation.

[0082] The present invention also provides a computing device, Figure 4 Detailed introduction.

[0083] The computing device 400 includes a processor 410 , a memory 420 , a communication interface 430 , and a bus 440 .

[0084] It should be understood that the communication interface 430 in the computing device 410 shown in this figure can be used to communicate with other devices.

[0085] The processor 410 may be connected to a memory 420. The memory 420 may be used to store the program code and data. Therefore, the memory 420 may be a storage unit inside the processor 410, or an external storage unit independent of the processor 410, or a component including a storage unit inside the processor 410 and an external storage unit independent of the processor 410.

[0086] Optionally, the computing device 400 may further include a bus 440. The memory 420 and the communication interface 430 may be connected to the processor 410 via the bus 440. The bus 440 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 440 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure is represented by only one line, but it does not mean that there is only one bus or one type of bus.

[0087] It should be understood that in the embodiment of the present invention, the processor 410 may adopt a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. Alternatively, the processor 410 may adopt one or more integrated circuits to execute relevant programs to implement the technical solutions provided in the embodiment of the present invention.

[0088] The memory 420 may include a read-only memory and a random access memory, and provides instructions and data to the processor 410. A portion of the processor 410 may also include a nonvolatile random access memory. For example, the processor 410 may also store information on the device type.

[0089] When the computing device 400 is running, the processor 410 executes the computer-executable instructions in the memory 420 to perform the operation steps of the above-mentioned embodiment of the method.

[0090] It should be understood that the computing device 400 according to an embodiment of the present invention can correspond to the corresponding subjects executing the methods according to the various embodiments of the present invention, and the above-mentioned and other operations and / or functions of each module in the computing device 400 are respectively for implementing the corresponding processes of each method of the present embodiment, which will not be repeated here for the sake of brevity.

[0091] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0092] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0093] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0094] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0095] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0096] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0097] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it is used to execute the operating steps of the above embodiment of the method.

[0098] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0099] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0100] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0101] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0102] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present invention, all of which belong to the scope of protection of the present invention.

Claims

1. A sampling method for internal interface signals, It is characterized in that include: Generating a virtual interface of the ingress signal according to configuration information of the ingress signal; When it is a post-simulation process, obtaining an initial value of the entry signal at the virtual interface, a signal value of the entry signal at the virtual interface in a reset state, and a signal value of the entry signal at the virtual interface in a non-reset state; According to the numerical relationship between the signal value of the entry signal at the virtual interface in the reset state and the signal value of the entry signal at the virtual interface in the non-reset state, the initial value of the entry signal at the virtual interface or the value after inverting the initial value is determined as the sampling result of the entry signal.

2. The method according to claim 1, It is characterized in that The configuration information of the entry signal includes: The name of the entry signal and the bit width of the entry signal.

3. The method according to claim 1, It is characterized in that The step of determining, according to a numerical relationship between a signal value of the entry signal at the virtual interface in a reset state and a signal value of the entry signal at the virtual interface in a non-reset state, an initial value of the entry signal at the virtual interface or a value inverted from the initial value as a sampling result of the entry signal, comprises: When the signal value of the entry signal at the virtual interface in the non-reset state is equal to the signal value of the entry signal at the virtual interface in the reset state, the sampling result is the initial value of the entry signal at the virtual interface; otherwise, the sampling result is the value obtained by inverting the initial value of the entry signal at the virtual interface.

4. The method according to claim 3, It is characterized in that When the signal value of the entry signal at the virtual interface in a non-reset state is equal to the signal value of the entry signal at the virtual interface in a reset state, the sampling result is the initial value of the entry signal at the virtual interface; Otherwise, the sampling result is a value obtained by negating the initial value of the ingress signal at the virtual interface, specifically including: The sampling result A of the input signal is determined as follows: Among them, A 0 is the signal value of the entry signal in the non-reset state, A 1 is the signal value of the entry signal at the virtual interface in the reset state, A 2 is the initial value of the ingress signal at the virtual interface, is the XOR operation in logical operation, & is the AND operation in logical operation, ~ is the negation operation in logical operation, ⊙ is the XNOR operation in logical operation, | is the OR operation in logical operation.

5. The method according to claim 1, It is characterized in that Also includes: Post-simulation is performed using the sampling results.

6. The method according to claim 1, It is characterized in that After the virtual interface of the entry signal is generated according to the configuration information of the entry signal, in the case of a pre-simulation process, the pre-simulation is performed using the signal value of the entry signal in a non-reset state at the virtual interface.

7. The method according to claim 1, It is characterized in that After generating the virtual interface of the entry signal according to the configuration information of the entry signal, the method further includes: using a macro to determine whether the current process is a post-simulation process or a pre-simulation process.

8. A sampling device for internal interface signals, It is characterized in that include: A generating module, used for generating a virtual interface of the ingress signal according to the configuration information of the ingress signal; an acquisition module, used for acquiring, in a post-simulation process, an initial value of the entry signal at the virtual interface, a signal value of the entry signal at the virtual interface in a reset state, and a signal value of the entry signal at the virtual interface in a non-reset state; A determination module is used to determine the initial value of the entry signal at the virtual interface or the value after inverting the initial value as the sampling result of the entry signal based on the numerical relationship between the signal value of the entry signal at the virtual interface in the reset state and the signal value of the entry signal at the virtual interface in the non-reset state.

9. The device according to claim 8, It is characterized in that The determining module is specifically used for: When the signal value of the entry signal at the virtual interface in a non-reset state is equal to the signal value of the entry signal at the virtual interface in a reset state, the sampling result is the initial value of the entry signal at the virtual interface; Otherwise, the sampling result is a value obtained by negating the initial value of the ingress signal at the virtual interface.

10. A computing device, It is characterized in that include: bus; A communication interface connected to the bus; at least one processor connected to the bus; as well as At least one memory is connected to the bus and stores program instructions, and when the program instructions are executed by the at least one processor, the at least one processor executes the internal interface signal sampling method according to any one of claims 1 to 7.