Device function verification method, electronic device and system
By receiving and verifying the read and write commands and result data packets of AXI devices, the problem of non-standard AXI device functions not conforming to the protocol was solved, and the function verification of the standard AXI protocol was realized.
Patent Information
- Application Number
- CN202110704399.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-24
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2041-06-24
AI Technical Summary
When non-standard AXI devices receive function commands from the AXI Master authentication IP, they fail to return the corresponding data results, causing their function operation to be inconsistent with the standard AXI protocol.
The AXI device to be verified receives read and write commands from the AXI Master verification IP, including secondary cache function commands, and performs function operations according to the cache type field identifier; the AXI slave verification IP obtains the result data packets and sends them to the AXI Master verification IP; the self-testing IP verifies the received data packets to ensure that the operation conforms to the preset standard AXI protocol.
It enables the verification of the functional operation of non-standard AXI devices, making them conform to the standard AXI protocol and ensuring the accuracy of data transmission and operation results.
Smart Images

Figure CN115525496B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a device function verification method, electronic device and system. Background Technology
[0002] AXI (Advanced Extensible Interface) is a high-bandwidth, high-performance bus protocol in the AMBA (Advanced Microcontroller Bus Architecture) family. It meets the needs of ultra-high-performance and complex system integration chip designs, and is therefore widely used in high-performance processor system design.
[0003] The AXI bus protocol primarily describes the data transmission method between the AXI Master Verify IP and the AXI Slave Verify IP. In processor system design, there exists a non-standard AXI device with an AXI bus interface, such as a memory controller connected to the processor via the AXI bus. When this non-standard AXI device receives function commands from the AXI Master Verify IP, it only executes the corresponding function operation according to the command, without feeding back any data results to the AXI Master Verify IP. This results in the function operations performed by this AXI device not conforming to the standard AXI protocol.
[0004] It is evident that a functional verification method is urgently needed for the aforementioned non-standard AXI devices. Summary of the Invention
[0005] This application provides a device function verification method, electronic device, and system to solve the technical problem that the functional operation of existing non-standard AXI devices does not conform to the preset standard AXI protocol.
[0006] In a first aspect, embodiments of this application provide a device function verification method, applied to the verification of AXI (Extensible Interface) devices, including:
[0007] The AXI device to be verified receives read and write commands sent by the AXI Master verification IP. The read and write commands include secondary cache function commands, which include a cache type field identifier for marking function operations.
[0008] The AXI device to be verified performs the function operation according to the secondary cache function command; simultaneously, the AXIslave verification IP receives the secondary cache function command, obtains the first result data packet, and sends the first result data packet to the AXI Master verification IP; wherein, the first result data packet is the result of the AXI device to be verified performing the function operation.
[0009] The self-testing IP end performs functional verification on the data packets received by the AXI Master verification IP end to ensure that the functional operation of the AXI device to be verified conforms to the preset standard AXI protocol.
[0010] In one possible design, the AXI slave authentication IP receives the secondary cache function command, obtains a first result data packet, and then sends the first result data packet to the AXI master authentication IP, including:
[0011] The AXI slave authentication IP terminal receives the secondary cache function command sent by the AXI master authentication IP terminal according to the cache type field identifier;
[0012] The AXI slave verification IP terminal obtains the first result data packet according to the operation command corresponding to the second-level cache function command. The first result data packet includes multiple first BEAT data packets, and all first BEAT data packets are used to jointly represent the operation result corresponding to the operation command.
[0013] The AXI slave authentication IP end sends each first BEAT data packet to the AXI master authentication IP end, and each first BEAT data packet carries the ID identifier of the first result data packet.
[0014] In one possible design, the AXI slave authentication IP sends each first BEAT packet to the AXI master authentication IP, including:
[0015] The AXI slave authentication IP end sends each first BEAT data packet to the AXI Master authentication IP end in full value state.
[0016] In one possible design, the read / write commands also include: regular read / write commands;
[0017] The AXI device to be verified generates a regular parsing data packet according to the regular read / write command, and sends the regular parsing data packet to the memory chip;
[0018] The memory chip obtains a second result data packet according to the conventional parsing data packet. The second result data packet includes multiple second BEAT data packets, and all second BEAT data packets are used to jointly represent the read and write results corresponding to the conventional read and write commands.
[0019] The memory chip sends each second BEAT data packet to the AXI device to be verified, so that the AXI device to be verified sends each second BEAT data packet to the AXI Master verification IP. Each second BEAT data packet carries the ID identifier of the second result data packet.
[0020] Optionally, before the self-detection IP terminal performs functional verification on the data packets received by the AXI Master verification IP terminal, it further includes:
[0021] The AXI Master verification IP terminal packages each received first BEAT data packet according to the ID identifier of the first result data packet to obtain the received first result data packet, and saves the received first result data packet to the first buffer area;
[0022] The AXI Master verification IP terminal packages each received second BEAT data packet according to the ID identifier of the second result data packet to obtain the received second result data packet, and saves the received second result data packet to the second buffer.
[0023] The AXI Master verification IP end sends the received first result data packet and the received second result data packet to the self-detection IP end;
[0024] The first cache area and the second cache area are two different preset cache partitions in the driver component of the AXI Master verification IP terminal.
[0025] In one possible design, the self-detection IP terminal performs functional verification on the data packets received by the AXI Master verification IP terminal, including:
[0026] The self-detecting IP terminal determines whether the data packet it receives is in the full value state;
[0027] If the judgment result is yes, then the data packet received by the self-detection IP end is the received first result data packet, and the AXI device to be verified has completed the functional operation and conforms to the preset standard AXI protocol;
[0028] If the judgment result is negative, the data packet received by the self-detection IP terminal is the received second result data packet, and the self-detection IP terminal further determines whether the received second result data packet matches the regular read / write command.
[0029] In one possible design, the self-detection IP terminal further determines whether the received second result data packet matches the regular read / write command, including:
[0030] If the judgment result is yes, then the AXI device to be verified has not encountered an operational error;
[0031] If the judgment result is negative, then the AXI device to be verified has encountered an operational error.
[0032] Optionally, the secondary cache function command is a secondary cache prefetch command;
[0033] The AXI device to be verified includes a prefetch module, which is used to perform corresponding prefetch operations according to the second-level cache prefetch command.
[0034] In one possible design, before the AXI device to be verified receives the read / write command sent by the AXI Master verification IP, the following is also included:
[0035] The simulation setup includes the AXI device to be verified, the AXI Master verification IP, the AXI slave verification IP, the self-test IP, and the memory chips.
[0036] Secondly, embodiments of this application provide a device function verification system, comprising:
[0037] The AXI device to be verified is used to receive read and write commands and perform functional operations according to the secondary cache function commands. The read and write commands include the secondary cache function commands, and the secondary cache function commands include a cache type field identifier that marks the functional operation.
[0038] The AXI slave verification IP is used to receive the secondary cache function command, obtain the first result data packet, and send the first result data packet, wherein the first result data packet is the result of the AXI device to be verified performing the function operation;
[0039] The AXI Master authentication IP is used to send the read / write commands and receive the first result data packet;
[0040] The self-testing IP end is used to perform functional verification so that the functional operation of the AXI device to be verified conforms to the preset standard AXI protocol.
[0041] In one possible design, the AXI slave verification IP end is specifically used to receive the secondary cache function command according to the cache type field identifier, and obtain the first result data packet according to the operation command corresponding to the secondary cache function command. The first result data packet includes multiple first BEAT data packets, and all first BEAT data packets are used to jointly represent the operation result corresponding to the operation command.
[0042] The AXI slave verification IP terminal is also specifically used to send each first BEAT data, and each second BEAT data packet carries the ID identifier of the first result data packet;
[0043] The AXI Master authentication IP terminal is also used to receive each of the first BEAT data packets.
[0044] In one possible design, the AXI slave authentication IP end is also specifically used to send each first BEAT data packet in full value state.
[0045] In one possible design, the read / write commands also include: regular read / write commands;
[0046] The system also includes memory chips, which are used to store the read and write results corresponding to the regular read and write commands.
[0047] In one possible design, the AXI device to be verified is further configured to generate a regular parsing data packet according to the regular read / write command, and send the regular parsing data packet;
[0048] The memory chip is specifically used to obtain a second result data packet based on the received conventional parsing data packet. The second result data packet includes multiple second BEAT data packets, and all second BEAT data packets are used to jointly characterize the read and write results corresponding to the conventional read and write commands.
[0049] The memory chip is also used to send each second BEAT data packet, so that the AXI device to be verified sends each second BEAT data packet to the AXI Master verification IP end, and each second BEAT data packet carries the ID identifier of the second result data packet;
[0050] The AXI Master authentication IP terminal is also used to receive each of the second BEAT data packets.
[0051] Optionally, the AXI Master authentication IP terminal is also specifically used for:
[0052] Each received first BEAT data packet is packaged according to the ID identifier of the first result data packet to obtain the received first result data packet, and the received first result data packet is saved to the first buffer area;
[0053] Each received second BEAT data packet is packaged according to the ID identifier of the second result data packet to obtain the received second result data packet, and the received second result data packet is saved to the second buffer.
[0054] Send the received first result data packet and the received second result data packet to the self-detection IP terminal;
[0055] The first cache area and the second cache area are two different preset cache partitions in the driver component of the AXI Master verification IP terminal.
[0056] In one possible design, the self-detection IP terminal is also specifically used for:
[0057] Determine whether the data packet received by itself is in the full value state;
[0058] If the judgment result is yes, then the data packet received by itself is the received first result data packet, and it is determined that the AXI device to be verified has completed the functional operation and conforms to the preset standard AXI protocol;
[0059] If the judgment result is negative, the data packet received by itself is the received second result data packet, and it is further determined whether the received second result data packet matches the regular read / write command.
[0060] In one possible design, the self-detection IP terminal is also specifically used for:
[0061] If the judgment result is yes, then it is determined that the AXI device to be verified has not encountered an operational error;
[0062] If the result is negative, it is determined that the AXI device to be verified has encountered an operational error.
[0063] Optionally, the secondary cache function command is a secondary cache prefetch command;
[0064] The AXI device to be verified includes a prefetch module, which is used to perform corresponding prefetch operations according to the second-level cache prefetch command.
[0065] Thirdly, embodiments of this application provide an electronic device, including:
[0066] At least one processor; and
[0067] A memory that is communicatively connected to at least one processor; wherein
[0068] The memory stores instructions that can be executed by at least one processor to enable the at least one processor to perform the AXI device functional verification method provided in the first aspect or the implementation of the first aspect.
[0069] Fourthly, embodiments of this application provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the AXI device function verification method as provided in the first aspect or the implementation of the first aspect.
[0070] This application provides a device function verification method, electronic device, and system. The device function verification method is applied to the verification of AXI (Extensible Interface) devices. First, the AXI device to be verified receives read / write commands sent by the AXI Master verification IP. These commands include secondary cache function commands, each containing a cache type field identifier indicating its function operation. The AXI device to be verified then performs the function operation according to the secondary cache function commands. Simultaneously, the AXI slave verification IP also receives the secondary cache function commands and obtains a first result data packet. This first result data packet is then sent to the AXI Master verification IP. Finally, the self-detection IP performs function verification on the data packet received by the AXI Master verification IP. The AXI device function verification method provided in this application can verify the function operation of the AXI device to be verified in response to the secondary cache function commands, and ensures that the function operation of non-standard AXI devices conforms to the standard AXI protocol. Attached Figure Description
[0071] Figure 1 This application provides an illustration of an application scenario.
[0072] Figure 2 A flowchart illustrating a device function verification method provided in an embodiment of this application;
[0073] Figure 3 A flowchart illustrating another device function verification method provided in this application embodiment;
[0074] Figure 4 A flowchart illustrating another device function verification method provided in this application embodiment;
[0075] Figure 5 A flowchart illustrating another device function verification method provided in this application embodiment;
[0076] Figure 6 A flowchart illustrating another device function verification method provided in this application embodiment;
[0077] Figure 7 This application provides an example of an interaction diagram within a device function verification system.
[0078] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0079] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of methods and apparatus consistent with some aspects of this application as detailed in the appended claims.
[0080] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0081] AXI is a high-bandwidth, high-performance bus protocol in the AMBA family. Due to its ability to meet the needs of ultra-high-performance and complex system integration chip designs, it is widely used in high-performance processor system design. The AXI bus protocol primarily describes the data transmission method between the AXI Master verification IP and the AXI Slave verification IP. However, in processor system design, there exists a non-standard AXI device with an AXI bus interface, such as a memory controller connected to the processor via the AXI bus. When this non-standard AXI device receives function commands from the AXI Master verification IP, it only executes the corresponding function operation according to the command, but does not feed back any data results corresponding to the function command to the AXI Master verification IP. This results in the function operations performed by this AXI device not conforming to the standard AXI protocol.
[0082] It is evident that, in response to the aforementioned problems, a functional verification method is urgently needed to verify that its functional operation conforms to the standard AXI protocol.
[0083] The device function verification method, electronic device, and system provided in this application embodiment first receive read / write commands sent by the AXI Master verification IP terminal to the AXI device to be verified. These read / write commands include secondary cache function commands, each including a cache type field identifier that marks its function operation. The AXI device to be verified then performs the function operation according to the secondary cache function commands. Simultaneously, the AXI slave verification IP terminal also receives the secondary cache function commands, obtains a first result data packet, and then sends the first result data packet to the AXI Master verification IP terminal. Finally, the self-detection IP terminal performs function verification on the data packet received by the AXI Master verification IP terminal. The AXI device function verification method provided in this application embodiment can perform function verification on the function operation of the AXI device to be verified in response to the secondary cache function commands, thereby ensuring that the function operation of non-standard AXI devices conforms to the standard AXI protocol.
[0084] The following describes exemplary application scenarios of the embodiments of this application.
[0085] Figure 1 This application provides an illustration of an application scenario, such as... Figure 1 As shown, through the device function verification method provided in this application embodiment, software can simulate the device function verification system provided in this application embodiment. In other words, the device function verification method provided in this application embodiment is applied to the verification of AXI devices. The device function verification method provided in this application embodiment can be executed by an electronic device, which can be a computer, server, or server cluster. This application embodiment does not limit the type of electronic device. Figure 1Taking server 10 as an example, the device function verification system 20 provided in this embodiment is obtained by software simulation using server 10. The simulation settings of the AXI device function verification system include at least an AXI device to be verified 21, an AXI slave verification IP terminal 22, an AXI master verification IP terminal 23, and a self-test IP terminal 24. The AXI device to be verified 21 represents a non-standard AXI device with an AXI bus interface, such as a memory controller. First, the AXI device to be verified 21 receives read and write commands sent by the AXI master verification IP terminal 23. The read and write commands include secondary cache function commands, which include a cache type field identifier that marks its function operation. Then, the AXI device to be verified 21 performs the function operation according to the secondary cache function commands. Meanwhile, the AXI slave verification IP terminal 22 also receives the secondary cache function command and obtains the first result data packet. Then, it sends the first result data packet to the AXI master verification IP terminal 23. Finally, the self-detection IP terminal 24 performs functional verification on the data packet received by the AXI master verification IP terminal 23, so that the functional operation of the AXI device to be verified 21 for the secondary cache function command is completed and the functional operation of this non-standard AXI device 21 conforms to the standard AXI protocol.
[0086] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0087] Figure 2 This is a flowchart illustrating a device function verification method provided in an embodiment of this application, as shown below. Figure 2 As shown, the device function verification method provided in this embodiment is applied to the verification of AXI devices, including:
[0088] S101: The AXI device to be verified receives read / write commands sent by the AXI Master verification IP.
[0089] In this embodiment of the application, before performing AXI device function verification, an AXI device function verification system is pre-set through software simulation. The AXI device function verification system includes at least the AXI device to be verified, an AXI slave verification IP terminal, an AXI Master verification IP terminal, and a self-testing IP terminal.
[0090] In high-performance processor systems using the AXI bus protocol, the AXI Master authentication IP, acting as the host, can randomly send various read and write commands to the AXI slave authentication IP and other AXI devices to be authenticated. Correspondingly, the slave devices receive these read and write commands.
[0091] The read and write commands include secondary cache (caching) function commands, which also include a cache type field identifier to mark the corresponding function operation. For example, if the function operation corresponding to the secondary cache function command is a prefetch operation, the cache type field identifier of the read operation command can be used, that is, 'ha' for arcache can be used as the cache type field identifier. For this read operation, the AXI device to be verified performs a prefetch operation. It is understood that the AXI device to be verified only performs the function operation corresponding to the secondary cache function command, such as the prefetch operation, and cannot perform the read operation corresponding to the secondary cache function command.
[0092] S102: The AXI device to be verified performs a function operation according to the secondary cache function command; at the same time, the AXI slave verification IP receives the secondary cache function command, obtains the first result data packet, and sends the first result data packet to the AXIMaster verification IP.
[0093] The AXI device to be verified performs corresponding functional operations based on the secondary cache function commands received in the read / write commands. For example, if the secondary cache function command is a secondary cache prefetch command, the AXI device to be verified may include a prefetch module. This prefetch module performs the corresponding prefetch operation based on the secondary cache preset command; that is, the functional operation performed by the secondary cache function command is a prefetch operation. Furthermore, the AXI device to be verified actively performs the corresponding functional operation after receiving the secondary cache function command.
[0094] Meanwhile, the AXI slave verification IP, acting as another slave, can receive the corresponding secondary cache function command when it detects the existence of the cache type field identifier. Based on the received secondary cache function command, it can obtain the result of the function operation performed by the AXI device to be verified, which is the first result data packet. Subsequently, the AXI slave verification IP sends the obtained first result data packet to the AXI master verification IP.
[0095] For example, when the secondary cache function command is a secondary cache prefetch command, the AXI device to be verified performs a prefetch operation, and the AXI slave verification IP end obtains the read result corresponding to the read operation in the secondary cache prefetch command. This read result is the first result data packet.
[0096] It is understandable that the AXI slave authentication IP can obtain the results of all read operations corresponding to the second-level cache function commands sent by the AXI master authentication IP.
[0097] S103: The self-testing IP end performs functional verification on the data packets received by the AXI Master verification IP end to ensure that the functional operation of the AXI device to be verified conforms to the preset standard AXI protocol.
[0098] When the AXI device to be verified completes the corresponding function operation according to the secondary cache function command, the AXI slave verification IP end obtains the corresponding first result data packet according to the secondary cache function command. Then, the AXI slave verification IP end sends the first result data packet to the self-testing IP end. The self-testing IP end performs function verification based on the received data packet, so that the function verification of the non-standard AXI device to be verified conforms to the preset standard AXI protocol.
[0099] Since the AXI device to be verified only performs the corresponding functional operation for the secondary cache function command, it cannot send any data to the AXI Master verification IP to indicate that it has performed the corresponding functional operation. At this time, the AXI slave verification IP detects the functional operation actively performed by the AXI device to be verified based on the cache type field identifier. Therefore, the AXI slave verification IP will obtain the result of the functional operation performed by the AXI device to be verified based on the secondary cache function command, that is, obtain the first result data packet, and send the first result data packet to the AXI Master verification IP. This allows the self-detection IP to perform functional verification based on the data packet received by the AXI Master verification IP, thereby ensuring that the functional verification of the AXI device to be verified conforms to the preset standard AXI protocol.
[0100] The device function verification method provided in this application involves the AXI device under test receiving read / write commands from the AXI Master verification IP. These commands include a secondary cache function command, which includes a cache type field identifier indicating the function operation. The AXI device under test then performs the function operation according to the secondary cache function command. Simultaneously, the AXI slave verification IP also receives the secondary cache function command, obtains a first result data packet, and then sends the first result data packet to the AXI Master verification IP for self-testing IP to perform function verification on the data packet received by the AXI Master verification IP. This ensures that the AXI device under test completes the function verification for the secondary cache function command, making the function operation of this non-standard AXI device conform to the standard AXI protocol.
[0101] exist Figure 2 Based on the illustrated embodiment, the possible implementation methods for the AXI slave verification IP receiving the secondary cache function command and obtaining the first result data packet in step S102, and sending the first result data packet to the AXI Master verification IP include: Figure 3 The steps shown, Figure 3 A flowchart illustrating another device function verification method provided in this application embodiment is shown in the figure. This application embodiment includes:
[0102] S1021: The AXI slave verification IP receives the secondary cache function command sent by the AXI master verification IP based on the cache type field identifier.
[0103] from Figure 2 As shown in the embodiment, the AXI device to be verified actively performs the corresponding function operation according to the secondary cache function command. The AXI slave verification IP can detect the function operation actively performed by the AXI device to be verified based on the cache type field identifier. At this time, the AXI slave verification IP receives the secondary cache function command. In other words, the AXI slave verification IP receives the secondary cache function command sent by the AXI master verification IP based on the cache type field identifier.
[0104] S1022: The AXI slave verification IP end obtains the first result data packet according to the corresponding operation command in the cache function command.
[0105] The first result data packet includes multiple first BEAT data packets, all of which are used to jointly represent the operation result corresponding to the operation command.
[0106] As one of the slave terminals in the AXI Master authentication IP set, the AXI slave authentication IP, upon receiving a secondary cache function command, can retrieve the operation result (i.e., the first result data packet) corresponding to the function operation performed by the AXI device to be authenticated, based on the corresponding operation command within the secondary cache function command. For the AXI device to be authenticated, the secondary cache function command only performs the corresponding function operation without retrieving the corresponding operation result. The AXI slave authentication IP then retrieves the operation result based on the corresponding operation command within the secondary cache function command; this retrieved result is the first result data packet. The retrieved first result data packet exists at the BEAT granularity, meaning it comprises multiple first BEAT data packets. All first BEAT data packets collectively represent the operation result corresponding to the operation command within the secondary cache function command. For example, if the operation command is a read operation, then all first BEAT data packets collectively represent the data read, and the read data is the operation result corresponding to the read operation.
[0107] S1023: The AXI slave authentication IP sends each first BEAT data packet to the AXI master authentication IP.
[0108] Each first BEAT data packet carries the ID identifier of the first result data packet.
[0109] After receiving the first result data packet, the AXI slave authentication IP sends each first beat in the first result data packet to the AXI master authentication IP, so that the AXI master authentication IP can know the operation result corresponding to the operation command in the secondary cache function command. In other words, this allows the AXI master authentication IP to know that the AXI device to be authenticated has completed the corresponding function operation according to the secondary cache function command, and to obtain the operation result corresponding to the operation command in the secondary cache function command through the AXI slave authentication IP. It is understandable that, in order for the AXI master authentication IP to identify the received data packet, each first beat data packet carries an ID identifier of the first result data packet.
[0110] In one possible design, the AXI slave authentication IP sends each first BEAT packet to the AXI master authentication IP in full value mode. To enable the self-testing IP to functionally verify the packets received by the AXI master authentication IP, the AXI slave authentication IP sends each first BEAT packet to the AXI master authentication IP in full value mode. Here, full value mode can be any of the following states: 'hff'.
[0111] The device function verification method provided in this application involves the AXI slave verification IP receiving a secondary cache function command sent by the AXI master verification IP based on the cache type field identifier. Then, it obtains a first result data packet according to the corresponding operation command in the secondary cache function command. This first result data includes multiple first BEAT data packets, all of which collectively represent the operation result corresponding to the operation command. Finally, each first BEAT data packet is sent to the AXI master verification IP, where each first BEAT data packet carries an ID identifier of the first result data packet. This AXI device function verification method, through the AXI master verification IP executing the operation command in the secondary cache function command, obtains the operation result corresponding to the operation command and returns the operation result to the AXI master verification IP, enabling the AXI master verification IP to know the functional operation performed by the AXI device to be verified according to the secondary cache function command. This provides necessary verification data for the entire function verification to conform to the preset standard AXI protocol.
[0112] In one possible design, the read and write commands randomly sent by the AXI Master authentication IP often include regular read and write commands. The AXI device to be authenticated cannot return result data for operation commands included in the secondary cache function commands, but can obtain the corresponding operation results for regular read and write commands. Figure 4 This is a flowchart illustrating another AXI device function verification method provided in an embodiment of this application. In this embodiment, the AXI device function verification system also includes simulated memory chips.
[0113] like Figure 4 As shown, the AXI device function verification method included in this embodiment includes:
[0114] S201: The AXI device to be verified generates a regular parsing data packet based on regular read / write commands and sends the regular parsing data packet to the memory chip.
[0115] The read and write commands randomly sent by the AXI Master authentication IP also include regular read and write commands, which are the remaining read and write commands other than the secondary cache function commands, such as read and write memory access commands.
[0116] The AXI device to be verified generates a regular parsing data packet based on the regular read / write command and sends it to the memory chip so that the memory chip can obtain the read / write result corresponding to the regular read / write command. The memory chip is used to store the read / write result corresponding to the regular read / write command. Therefore, the regular parsing data packet can be understood as the memory command that the memory chip can recognize and process for the regular read / write command.
[0117] S202: The memory chip obtains the second result data packet according to the regular parsing data packet.
[0118] The second result data packet includes multiple second BEAT data packets, all of which are used to collectively represent the read and write results corresponding to regular read and write commands.
[0119] After receiving a regular parsing data packet, the memory chip obtains the read / write result corresponding to that data packet, i.e., the second result data packet. This second result data packet, for example, is the write data corresponding to a write operation.
[0120] Similar to the first result data packet, the second result data packet acquired by the memory granularity can exist at the BEAT granularity. That is, the second result data packet includes multiple second BEAT data packets, and all the second BEAT data packets together represent the read and write results corresponding to regular read and write commands. For example, when the regular read and write command is a write operation, all the second BEAT data packets together represent the written data.
[0121] S203: The memory chip sends each second BEAT data packet to the AXI device to be verified, so that the AXI device to be verified sends each second BEAT data packet to the AXI Master verification IP.
[0122] Each second BEAT data packet carries the ID identifier of the second result data packet.
[0123] After obtaining the second result data packet, the memory chip sends each second BEAT data packet included in the second result data packet to the AXI device to be verified, so that the AXI device to be verified sends each second BEAT data packet to the AXIMaster verification IP end for the self-testing IP end to perform the corresponding functional verification.
[0124] Similar to the first BEAT packet, each second BEAT packet carries an ID identifier for the second result packet, which enables the AXI Master to verify that the received packet is the second result packet.
[0125] The device function verification method provided in this application includes a regular read / write command randomly sent by the AXI Master verification IP terminal. For the regular read / write command, the AXI device to be verified first generates a regular parsing data packet based on the regular read / write command, and then sends the regular parsing data packet to the memory chip. After receiving the regular parsing data packet, the memory chip obtains the read / write result corresponding to the regular read / write command, i.e., the second result data packet. The second result data packet includes multiple second BEAT data packets, which together represent the read / write result corresponding to the regular read / write command. After obtaining the second result data packet, the memory chip sends each second BEAT data packet to the AXI device to be verified. The AXI device to be verified then sends each received second BEAT data packet to the AXI Master verification IP terminal for the self-testing IP terminal to perform corresponding function verification. Each second BEAT data packet carries an ID identifier of the second result data packet for the AXI Master verification IP terminal to identify the second result data packet.
[0126] As described in the above embodiments, both the AXI device to be verified and the AXI slave verification IP end, acting as slaves of the AXI Master verification IP end, send their respective result data, namely the first result data packet and the second result data packet, to the AXI Master verification IP end. Furthermore, the first result data packet and the second result data packet are sent in the form of a first BEAT data packet and a second BEAT data packet, respectively. Therefore, before the self-testing IP end performs functional verification on the data packets received by the AXI Master verification IP end, the AXI Master verification IP end processes each intermittently received BEAT data packet accordingly.
[0127] It is understandable that when different slave devices send different data to the same master device at the same time, the data corresponding to the different slave devices can be transmitted in the form of interleaved data. For the master device, it can receive the corresponding data sent by different slave devices interleaved.
[0128] Figure 5 A flowchart illustrating another device function verification method provided in this application embodiment is shown below. Figure 5 As shown, the device function verification method provided in this embodiment includes:
[0129] S301: The AXI Master authentication IP end packages each received first BEAT data packet according to the ID identifier of the first result data packet to obtain the received first result data packet, and saves the received first result data packet to the first buffer.
[0130] S302: The AXI Master authentication IP end packages each received second BEAT data packet according to the ID identifier of the second result data packet to obtain the received second result data packet, and saves the received second result data packet to the second buffer.
[0131] The AXI slave authentication IP and the AXI device to be authenticated send a first BEAT data packet and a second BEAT data packet to the AXI master authentication IP in an interleaved manner. Each first BEAT data packet carries the ID identifier of the first result data packet, and each second result data packet carries the ID identifier of the second result data packet. Therefore, the data packets received by the AXI master authentication IP are interleaved with different ID identifiers.
[0132] In order to enable the self-testing IP to perform corresponding functional verification based on each data packet, the AXI Master verification IP end processes data packets with different IDs intertwined accordingly.
[0133] Step S301 involves the AXI Master authentication IP client packaging each first BEAT data packet according to its ID. The packaged data packet is the received first result data packet, which is then saved to a first buffer. This first buffer is a preset cache partition in the driver component of the AXI Master authentication IP client. The size of the first buffer can be set according to the capacity of the received first result data packets; this embodiment does not limit this setting.
[0134] Step S302 concerns the second result data packet, and its implementation is similar to step S301. Specifically, the AXIMaster authentication IP terminal packages each second BEAT data packet according to its ID identifier. The packaged data packet is the received second result data packet. This received second result data packet is then saved to a second buffer, which is another preset buffer partition in the driver component of the AXI Master authentication IP terminal. The size of the second buffer can be set according to the capacity of the received second result data packets; this embodiment does not limit this setting.
[0135] It is understandable that the first cache and the second cache are two different preset cache partitions in the driver component of the AXI Master verification IP.
[0136] S303: The AXI Master verification IP end will send the received first result data packet and the received second result data packet to the self-testing IP end.
[0137] After the AXI Master verification IP terminal processes the received data packets accordingly, it obtains the first received result data packet and the second received result data packet, and then sends both to the self-testing IP terminal so that the self-testing IP terminal can perform the corresponding functional verification.
[0138] The AXI device function verification method provided in this application embodiment performs function verification on the data packets received by the AXI Master verification IP end before the self-testing IP end verifies the data packets received by the AXI Master verification IP end. The AXI Master verification IP end packages each first BEAT data packet and each second BEAT data packet according to the ID identifiers of the first and second result data packets, respectively, thus obtaining the received first result data packets and the received second result data packets. The received first result data packets and the received second result data packets are then saved to a first buffer and a second buffer, respectively. The first and second buffers are preset cache partitions in the driver component of the AXI Master verification IP end. Thus, the data packets with interleaved ID identifiers received intermittently by the AXI Master verification IP end are processed accordingly, enabling the self-testing IP end to perform corresponding function verifications based on different data packets.
[0139] Based on the above embodiments, one possible implementation of step S103 is as follows: Figure 6 As shown, Figure 6 A flowchart illustrating another AXI device function verification method provided in this application embodiment is shown below. Figure 6 As shown, the AXI device function verification method provided in this embodiment includes:
[0140] S1031: Self-detection IP end determines whether the data packets it receives are in full value state.
[0141] After receiving the first result data packet, the AXI slave authentication IP sends each first beat packet included in the first result data packet to the AXI master authentication IP in its full-value state. The AXI master authentication IP processes the received data packets according to the ID identifier of the first result data packet, but each first beat packet in the received first result data packet is still sent to the self-detection IP in its full-value state. Therefore, it can be verified by checking whether the received data packets are in their full-value state; that is, the self-detection IP first determines whether the data packets it receives are in their full-value state.
[0142] S1032: If the judgment result is yes, the data packet received by the self-detection IP end is the first result data packet that has been received, and the AXI device to be verified has completed the functional operation and conforms to the preset standard AXI protocol.
[0143] After the self-testing IP end determines whether the data packet it receives is in full value state, if it is in full value state, that is, if the result is yes, it can be determined that the data packet it received is the first result data packet received. This indicates that the AXI device to be verified has completed the corresponding functional operation, and it can be determined that the functional operation of the AXI device to be verified conforms to the preset standard AXI protocol.
[0144] S1033: If the judgment result is negative, the data packet received by the self-detection IP end is the received second result data packet. The self-detection IP end further judges whether the received second result data packet matches the regular read / write command.
[0145] The result of step S1032 is the opposite of the judgment result. Specifically, if the self-detection IP terminal determines that the received data packet is not in full value mode, then if the judgment result is negative, it can be determined that the data packet received by the self-detection IP terminal is a received second result data packet. Since the received second result data packet corresponds to the second result data packet, which includes the read / write results of regular read / write commands, the self-detection IP terminal needs to further verify the functionality of this received data packet by determining whether the received second result data packet matches the regular read / write commands.
[0146] The device function verification method provided in this application embodiment determines whether the data packet received by the self-detection IP end is in a full-value state and performs corresponding function verification on the received data packet. When it is in a full-value state, it can be determined that the data packet received by the self-detection IP end is a received first result data packet, thereby determining that the AXI device to be verified has completed the corresponding function operation. For the AXI Master verification IP end, it knows the first result data packet returned by the AXI device to be verified for the function operation, and therefore the function operation performed by the AXI device to be verified conforms to the preset standard AXI protocol. Conversely, when it is in a non-full-value state, that is, the judgment result is negative, it can be determined that the data packet received by the self-detection IP end is a received second result data packet. Since this data packet corresponds to the second result data packet, the self-detection IP end needs to further determine whether it matches the regular read and write commands. The AXI device function verification method provided in this embodiment can perform corresponding function verification and determination on the received data packet by the self-detection IP end to clarify that the function operation of the AXI device to be verified conforms to the preset standard AXI protocol.
[0147] exist Figure 6 Based on the previous embodiment, when the judgment result is negative, the self-detection IP end performs a matching judgment on the received second result data packet and the regular read / write command.
[0148] If the judgment result is yes, that is, the second result data packet has been received and matches the regular read and write command, it can be determined that the AXI device to be verified has not made an operational error, and the corresponding read and write result obtained by the AXI device to be verified for the regular read and write command is the correct result data.
[0149] Conversely, if the judgment result is negative, meaning the received second result data packet does not match the regular read / write command, then it can be determined that the AXI device to be verified has encountered an operational error. This mismatch can manifest as the self-detection IP end detecting multiple returned RIDs (Relative IDs) for the received second result data, which do not match the regular read / write command. This application does not limit the specific manifestation of the mismatch in its embodiments.
[0150] Figure 7 This application provides an example of an interaction diagram within a device function verification system. Figure 7 As shown, the device function verification method provided in this application embodiment is applied to the AXI device function verification system provided in this application embodiment, and the interaction process within the system is as follows:
[0151] S10: The AXI Master authentication IP sends read and write commands to the AXI slave authentication IP and the AXI device to be authenticated.
[0152] The AXI Master authentication IP sends read and write commands. Specifically, the AXI Master authentication IP can send read and write commands randomly. These read and write commands include secondary cache function commands, which include a cache type field identifier for the flag function operation.
[0153] S11: The AXI device to be verified receives read and write commands and performs functional operations based on the secondary cache function commands.
[0154] The AXI device to be verified receives read and write commands and performs corresponding functional operations based on its included secondary cache function commands.
[0155] Optionally, the secondary cache function command can be a secondary cache prefetch command. The AXI device to be verified includes a prefetch module, which is used to perform corresponding prefetch operations according to the secondary cache prefetch command.
[0156] S121: The AXI slave verification IP end receives the secondary cache function command according to the cache type field identifier;
[0157] S122: The AXI slave verification IP end obtains the first result data packet according to the corresponding operation command in the secondary cache function command;
[0158] S123: The AXI slave verification IP sends each first BEAT packet included in the first result data to the AXI master verification IP.
[0159] Steps S121 to S123 describe the process by which the AXI slave verification IP end receives the secondary cache function command and processes it accordingly to obtain the first result data packet. For details on its implementation and technical effects, please refer to [link / reference needed]. Figure 3 The illustrated embodiment. Accordingly, the AXI Master authentication IP end receives each first BEAT data packet. All first BEAT data packets are used to collectively represent the operation result corresponding to the operation command.
[0160] Optionally, the AXI slave authentication IP sends each first BEAT packet to the AXI master authentication IP with the full value.
[0161] In one possible design, the read / write commands also include regular read / write commands.
[0162] Furthermore, the AXI device function verification system provided in this application embodiment also includes memory particles for storing read and write results corresponding to regular read and write commands.
[0163] Continue to refer to Figure 7 The AXI device to be verified is also specifically used for step S20.
[0164] S20: The AXI device to be verified generates a regular parsing data packet based on the regular read / write commands and sends the regular parsing data packet.
[0165] In this step, after the AXI device to be verified generates a regular parsing data packet based on the regular read and write commands, it sends the regular parsing data packet to the memory chip.
[0166] Furthermore, the memory chips are also used in steps S21 and S22.
[0167] S21: The memory chip obtains the second result data packet based on the received regular parsing data packet.
[0168] The second result data packet includes multiple second BEAT data packets, all of which are used to collectively represent the read and write results corresponding to regular read and write commands.
[0169] The memory chip obtains the read / write result corresponding to the regular read / write command based on the received regular parsing data packet, which is the second result data packet, and the second result data packet includes multiple second BEAT data packets.
[0170] S22: The memory chip sends each second BEAT data packet to the AXI device to be verified, so that the AXI device to be verified sends each second BEAT data packet to the AXI Master verification IP.
[0171] Each second BEAT data packet carries the ID identifier of the second result data packet.
[0172] After the memory chip obtains the second result data packet, it sends each second BEAT data packet to the AXI device to be verified, so that the AXI device to be verified sends each second BEAT data packet to the AXI Master verification IP.
[0173] Accordingly, the AXI Master authentication IP is also used to receive each second BEAT data packet sent by the AXI device to be authenticated.
[0174] The specific implementation methods and technical effects of memory chips Figure 4 The embodiments shown are similar and will not be described in detail again.
[0175] Continue to refer to Figure 7 After the AXI Master verifies that the IP end has received each first BEAT data packet and each second BEAT data packet, it is also used to execute steps S31 to S33.
[0176] S31: The AXI Master verification IP end packages each received first BEAT data packet according to the ID identifier of the first result data packet to obtain the received first result data packet, and saves the received first result data packet to the first buffer.
[0177] S32: The AXI Master verification IP end packages each received second BEAT data packet according to the ID identifier of the second result data packet to obtain the received second result data packet, and saves the received second result data packet to the second buffer.
[0178] S33: The AXI Master verification IP end sends the received first result data packet and the received second result data packet to the self-detection IP end.
[0179] Accordingly, the self-detection IP end receives the first result data packet and the second result data packet.
[0180] The first and second cache areas are two different preset cache partitions in the driver component of the AXI Master verification IP.
[0181] The implementation method and technical effects of steps S31 to S33 are as follows: Figure 5 The implementation examples are similar and will not be repeated here.
[0182] Furthermore, continue to refer to Figure 7 The self-testing IP end performs functional verification on the received data packets to ensure that the functional operation of the AXI device to be verified conforms to the preset standard AXI protocol. This is achieved through steps S41 to S43.
[0183] S41: The self-detection IP end determines whether the data packets it receives are in full value state;
[0184] S42: If the judgment result is yes, the data packet received by itself is the first result data packet that has been received, and it is determined that the AXI device to be verified has completed the functional operation and conforms to the preset standard AXI protocol.
[0185] S43: If the judgment result is negative, the data packet received by itself is the received second result data packet, and further judgment is made on whether the received second result data packet matches the regular read and write command.
[0186] The implementation method and technical effects of steps S41 to S43 are as follows: Figure 6 The implementation examples are similar and will not be repeated here.
[0187] Optionally, after determining that the received data packet is not in full value state, the self-detecting IP end further determines whether the received second result data packet matches the regular read / write command, including:
[0188] If the judgment result is yes, it is determined that the AXI device to be verified has not encountered an operational error;
[0189] If the result is negative, it is determined that the AXI device to be verified has encountered an operational error.
[0190] It is worth noting that the embodiments of the system provided in this application are merely illustrative. The module division in the above embodiments is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple modules may be combined or integrated. The coupling between the modules can be achieved through some interfaces, which are usually electrical communication interfaces, but mechanical interfaces or other forms of interfaces are also possible. Therefore, the modules described as separate components may or may not be physically separated; they may be located in one place or distributed in different locations on the same or different devices.
[0191] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 8 As shown, the electronic device 700 provided in this embodiment includes:
[0192] At least one processor 701; and
[0193] A memory 702 is communicatively connected to at least one processor 701; wherein,
[0194] The memory 702 stores instructions that can be executed by at least one processor 701. The instructions are executed by at least one processor 701 to enable at least one processor 701 to perform the various steps of the AXI device function verification method in the above method embodiments, as detailed in the relevant descriptions in the foregoing method embodiments.
[0195] Alternatively, the memory 702 can be either standalone or integrated with the processor 701.
[0196] When the memory 702 is a device independent of the processor 701, the electronic device 700 may further include:
[0197] Bus 703 is used to connect processor 701 and memory 702.
[0198] Furthermore, embodiments of this application also provide a non-transitory computer-readable storage medium storing computer instructions, which are used to cause a computer to execute various steps of the AXI device function verification method in the above embodiments. For example, the readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0199] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the claims.
[0200] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A device function verification method, applied to the verification of AXI (Extensible Interface) devices, characterized in that, include: The AXI device to be verified receives read and write commands sent by the AXI Master verification IP. The read and write commands include secondary cache function commands and regular read and write commands. The secondary cache function commands include a cache type field identifier that marks the function operation. The AXI device to be verified performs the function operation according to the secondary cache function command; simultaneously, the AXIslave verification IP receives the secondary cache function command according to the cache type field identifier, obtains the first result data packet, and sends all the multiple first BEAT data packets included in the first result data packet to the AXI Master verification IP in full value state; wherein, all the first BEAT data packets are used to jointly represent the operation result corresponding to the operation command in the secondary cache function command, and each first BEAT data packet carries the ID identifier of the first result data packet; The AXI Master authentication IP terminal packages each received first BEAT data packet according to the ID identifier of the first result data packet to obtain the received first result data packet, and saves the received first result data packet to the first cache area; wherein, the first cache area is a preset cache partition in the driver component of the AXI Master authentication IP terminal that is different from the second cache area, and the second cache area is used to store the received second result data packet, which is generated based on regular read and write commands; The self-testing IP end performs functional verification on the data packets received by the AXI Master verification IP end to ensure that the functional operation of the AXI device to be verified conforms to the preset standard AXI protocol.
2. The device function verification method according to claim 1, characterized in that, The AXI device to be verified generates a regular parsing data packet according to the regular read / write command, and sends the regular parsing data packet to the memory chip; The memory chip obtains a second result data packet according to the conventional parsing data packet. The second result data packet includes multiple second BEAT data packets, and all second BEAT data packets are used to jointly represent the read and write results corresponding to the conventional read and write commands. The memory chip sends each second BEAT data packet to the AXI device to be verified, so that the AXI device to be verified sends each second BEAT data packet to the AXI Master verification IP. Each second BEAT data packet carries the ID identifier of the second result data packet.
3. The device function verification method according to claim 2, characterized in that, Before the self-testing IP terminal performs functional verification on the data packets received by the AXIMaster verification IP terminal, the process also includes: The AXI Master verification IP terminal packages each received second BEAT data packet according to the ID identifier of the second result data packet to obtain the received second result data packet, and saves the received second result data packet to the second buffer. The AXI Master verification IP end sends the received first result data packet and the received second result data packet to the self-detection IP end.
4. The device function verification method according to claim 3, characterized in that, The self-testing IP terminal performs functional verification on the data packets received by the AXIMaster verification IP terminal, including: The self-detecting IP terminal determines whether the data packet it receives is in the full value state; If the judgment result is yes, then the data packet received by the self-detection IP end is the received first result data packet, and the AXI device to be verified has completed the functional operation and conforms to the preset standard AXI protocol; If the judgment result is negative, the data packet received by the self-detection IP terminal is the received second result data packet, and the self-detection IP terminal further determines whether the received second result data packet matches the regular read / write command.
5. The device function verification method according to claim 4, characterized in that, The self-detection IP end further determines whether the received second result data packet matches the regular read / write command, including: If the judgment result is yes, then the AXI device to be verified has not encountered an operational error; If the judgment result is negative, then the AXI device to be verified has encountered an operational error.
6. The device function verification method according to any one of claims 1-5, characterized in that, The second-level cache function command is the second-level cache prefetch command; The AXI device to be verified includes a prefetch module, which is used to perform corresponding prefetch operations according to the second-level cache prefetch command.
7. The device function verification method according to claim 1, characterized in that, Before the AXI device to be verified receives the read / write command sent by the AXI Master verification IP, the following steps are also included: The simulation setup includes the AXI device to be verified, the AXI Master verification IP, the AXI slave verification IP, the self-test IP, and the memory chips.
8. A device function verification system, characterized in that, include: The AXI device to be verified is used to receive read and write commands and perform functional operations according to the secondary cache function commands. The read and write commands include the secondary cache function commands and regular read and write commands. The secondary cache function commands include a cache type field identifier that marks the functional operation. The AXI slave verification IP is used to receive the secondary cache function command according to the cache type field identifier, obtain the first result data packet, and send the multiple first BEAT data packets included in the first result data packet to the AXI Master verification IP in full value state. The first BEAT data packets are used to jointly represent the operation result corresponding to the operation command in the secondary cache function command, and each first BEAT data packet carries the ID identifier of the first result data packet. The AXI Master authentication IP terminal is used to package each received first BEAT data packet according to the ID identifier of the first result data packet to obtain the received first result data packet, and save the received first result data packet to the first cache area; wherein, the first cache area is a preset cache partition in the driver component of the AXI Master authentication IP terminal that is different from the second cache area, and the second cache area is used to store the received second result data packet, which is generated based on regular read and write commands; The self-testing IP end is used to perform functional verification so that the functional operation of the AXI device to be verified conforms to the preset standard AXI protocol.
9. The device function verification system according to claim 8, characterized in that, The system also includes memory chips, which are used to store the read and write results corresponding to the regular read and write commands.
10. The device function verification system according to claim 9, characterized in that, The AXI device to be verified is also specifically used to generate a regular parsing data packet according to the regular read / write command, and send the regular parsing data packet; The memory chip is specifically used to obtain a second result data packet based on the received conventional parsing data packet. The second result data packet includes multiple second BEAT data packets, and all second BEAT data packets are used to jointly characterize the read and write results corresponding to the conventional read and write commands. The memory chip is also used to send each second BEAT data packet, so that the AXI device to be verified sends each second BEAT data packet to the AXI Master verification IP end, and each second BEAT data packet carries the ID identifier of the second result data packet; The AXI Master authentication IP terminal is also used to receive each of the second BEAT data packets.
11. The device function verification system according to claim 10, characterized in that, The AXI Master authentication IP terminal is also specifically used for: Each received second BEAT data packet is packaged according to the ID identifier of the second result data packet to obtain the received second result data packet, and the received second result data packet is saved to the second buffer. Send the received first result data packet and the received second result data packet to the self-detection IP end.
12. The device function verification system according to claim 11, characterized in that, The self-detection IP address is also specifically used for: Determine whether the data packet received by itself is in the full value state; If the judgment result is yes, then the data packet received by itself is the received first result data packet, and it is determined that the AXI device to be verified has completed the functional operation and conforms to the preset standard AXI protocol; If the judgment result is negative, the data packet received by itself is the received second result data packet, and it is further determined whether the received second result data packet matches the regular read / write command.
13. The device function verification system according to claim 12, characterized in that, The self-detection IP address is also specifically used for: If the judgment result is yes, then it is determined that the AXI device to be verified has not encountered an operational error; If the result is negative, it is determined that the AXI device to be verified has encountered an operational error.
14. The equipment function verification system according to any one of claims 8-13, characterized in that, The second-level cache function command is the second-level cache prefetch command; The AXI device to be verified includes a prefetch module, which is used to perform corresponding prefetch operations according to the second-level cache prefetch command.
15. An electronic device, characterized in that, include: At least one processor; as well as A memory that is communicatively connected to the at least one processor; in The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the device function verification method according to any one of claims 1-7.
16. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to execute the device function verification method according to any one of claims 1-7.
Citation Information
Patent Citations
Bufferable mode verification method
CN107688515A
AXI crossbar switch interleaving function verification method and device
CN108733529A
