Data transmission and management method and device based on AXI VIP

By initializing video image data in the AXI bus protocol and generating and processing AXI transmission requests when the FIFO buffer space is sufficient, the problem of bottleneck in the video image data transmission performance in the AXI bus protocol is solved, and efficient and stable data transmission is achieved.

CN119179675APending Publication Date: 2024-12-24SHIQING INTELLIGENT TECH (SHANGHAI) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411697760.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

In complex systems on chip, when the AXI bus protocol is used for the transmission of video image data, it is difficult for the prior art to effectively manage and optimize data flow, resulting in performance bottlenecks and affecting chip verification progress.

Method used

By initializing the video image data information, an AXI transmission request is generated, and data transmission is carried out when the FIFO buffer space is sufficient, ensuring that the data is transmitted in FIFO mode until the total size of all transmission requests reaches the total size of the video image data to be transmitted.

Benefits of technology

It realizes efficient and stable video data transmission, improves the concurrency of data transmission and processing, optimizes buffer usage, and ensures high-speed and reliable data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119179675A_ABST
    Figure CN119179675A_ABST
Patent Text Reader

Abstract

The invention provides an AXI VIP-based data transmission and management method, an AXI VIP-based data transmission and management device, computer equipment and a computer readable storage medium. The AXI VIP-based data transmission and management method comprises the steps of initializing to-be-transmitted video image data information; based on the video image data information, an AXI transmission request is generated at the same time, and the next AXI transmission request is carried out when it is ensured that the space of an FIFO buffer area is sufficient; wherein in the AXI transmission request, the video image data information is transmitted based on an FIFO (First In First Out) mode; and performing data transmission based on the AXI transmission requests until the total size of the data of all the AXI transmission requests reaches the total size of the video image data to be transmitted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of chip verification technology, and in particular to a data transmission and management method based on AXI VIP, a data transmission and management device based on AXI VIP, a computer device and a computer-readable storage medium. Background Art

[0002] At present, with the development of digital video processing technology, the demand for high-speed transmission of video image data is increasing, especially in complex systems on chip (SoC, System on Chip), AXI (Advanced eXtensible Interface) bus protocol has become a widely used bus standard. AXI verification IP (VIP, Verification IP) is often used in the transmission of video image data and chip verification systems, but in the actual transmission process, the management and optimization of data flow are still challenging, especially when facing a large amount of data and fixed resolution images that require AXI throughput, there are certain performance bottlenecks, and it may not be possible to achieve the expected effect, thus affecting the progress of chip verification. Prior art US5903283A discloses a video memory controller with dynamic bus arbitration for use in the field of chip front-end design (IP design), which does not involve the management of large amounts of data transmission, and does not need to solve the problem of affecting the progress of chip verification in the field of chip verification.

[0003] In the prior art, video image modules are generally connected to the SOC AXI bus. When the chip verifies the module, it is usually necessary to send image data with a fixed resolution to the module through the AXI bus to simulate the actual working mode of the module. Currently, modules that verify such large data throughput generally use the AXI VIP provided by the IP manufacturer as an auxiliary tool to help quickly send data. However, in terms of data flow management and buffering, VIP does not have a good way to manage data to be sent according to the expected effect.

[0004] Therefore, it is necessary to provide a data transmission and management method based on AXI VIP, a data transmission and management device based on AXI VIP, a computer device and a computer-readable storage medium to effectively solve the above problems. Summary of the invention

[0005] The present invention provides a data transmission and management method based on AXI VIP, a data transmission and management device based on AXI VIP, a computer device and a computer-readable storage medium.

[0006] An embodiment of the present invention provides a data transmission and management method based on AXI VIP, including: Initialize the video image data information to be transmitted; Based on the video image data information, an AXI transmission request is generated at the same time and it is ensured that the next step of the AXI transmission request is performed when there is sufficient space in the FIFO buffer; wherein the video image data information is transmitted based on the FIFO mode in the AXI transmission request; Data transmission is performed based on the AXI transmission request until the total data size of all the AXI transmission requests reaches the total size of the video image data to be transmitted.

[0007] Preferably, the initialization of the video image data information to be transmitted includes: Acquire DUT design properties, and initialize the size of the video image data based on the DUT design properties; Acquire the resolution of the video image data, and initialize the total data volume of the video image data based on the resolution; and determining the validity of the video image data based on the size of the video image data and the total data volume of the video image data; When it is determined that the video image data is valid, the simultaneous generation of the AXI transfer request and the execution of the next step of the AXI transfer request are started and ensured when the FIFO buffer space is sufficient.

[0008] Preferably, generating an AXI transfer request comprises: Get the burst length, burst size and initial address; Obtaining a current transmission address based on an initial address, the burst length of each transmission, and the burst size; The AXI transfer request is generated based on the burst length, the burst size, and the current transfer address.

[0009] Preferably, the step of ensuring that the next step of the AXI transfer request is performed when the FIFO buffer space is sufficient includes: Acquire the remaining space of the FIFO buffer and the total space of the FIFO buffer; Obtaining the amount of data transmitted in the AXI transmission request; Determine whether the sum of the remaining space of the FIFO buffer and the amount of data transmitted in the AXI transmission request is greater than the total space of the FIFO buffer; If yes, then output error message; If not, the remaining space of the FIFO buffer is updated to the sum of the remaining space and the amount of data to be transmitted in the AXI transmission request.

[0010] Preferably, the performing data transmission based on the AXI transmission request includes: Determining whether the AXI transfer request is a write request or a read request; If it is a write request, updating the data in the FIFO buffer and the space size of the FIFO buffer based on the AXI transfer request; If it is a read request, based on the AXI transfer request, the corresponding data in the FIFO buffer is output and the space size of the FIFO buffer is updated.

[0011] The present application also provides a data transmission and management device based on AXI VIP, comprising: An initialization module, used for initializing the video image data information to be transmitted; A processing module, used for generating an AXI transmission request based on the video image data information and ensuring that the next step of the AXI transmission request is performed when there is sufficient space in the FIFO buffer; wherein the video image data information is transmitted based on the FIFO mode in the AXI transmission request; The transmission module is used to perform data transmission based on the AXI transmission request until the total data size of all the AXI transmission requests reaches the total size of the video image data to be transmitted.

[0012] Preferably, when the initialization module executes the initialization of the video image data information to be transmitted, it includes: Acquire DUT design properties, and initialize the size of the video image data based on the DUT design properties; Acquire the resolution of the video image data, and initialize the total data volume of the video image data based on the resolution; and determining the validity of the video image data based on the size of the video image data and the total data volume of the video image data; When it is determined that the video image data is valid, the simultaneous generation of the AXI transfer request and the execution of the next step of the AXI transfer request are started and ensured when the FIFO buffer space is sufficient.

[0013] Preferably, when the processing module executes the generating of the AXI transmission request, it includes: Get the burst length, burst size and initial address; Obtaining a current transmission address based on an initial address, the burst length of each transmission, and the burst size; The AXI transfer request is generated based on the burst length, the burst size, and the current transfer address.

[0014] Furthermore, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above-mentioned methods when executing the computer program.

[0015] Furthermore, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods are implemented.

[0016] Compared with the prior art, the technical solution of the embodiment of the present invention has the following beneficial effects: The data transmission and management method based on AXI VIP, the data transmission and management device based on AXI VIP, the computer equipment and the computer-readable storage medium provided by the embodiments of the present invention realize high-speed and reliable video data transmission by efficiently managing transmission requests, optimizing the use of buffers, and improving the concurrency of data transmission and processing. Specifically, by concurrent request generation and the management of the total number of buffers FIFO_DATA_CNT, the video image data can be efficiently and stably transmitted on the AXI bus. The whole process consists of three main steps: generation of video image data transmission requests, dynamic management of the number of buffers, and synchronous processing of data responses. By setting the randomized burst length and transmission size in the body task of the sequence, the transmission efficiency of different types of video image data can be optimized, and the strict correspondence between requests and responses can be guaranteed, and parallel processing can improve transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are some embodiments of the present invention, not all embodiments. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0018] Figure 1 A flow chart of a data transmission and management method based on AXI VIP provided by one embodiment of the present invention; Figure 2 A flow chart of a data transmission and management method based on AXI VIP provided by another embodiment of the present invention; Figure 3 A structural block diagram of a data transmission and management device based on AXI VIP provided for one embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0021] In the prior art, video image modules are generally connected to the SOC AXI bus. When verifying the module on the chip, it is usually necessary to send fixed-resolution image data to the module through the AXI bus to simulate the actual working mode of the module. Currently, modules that verify such large data throughput generally use the AXI VIP provided by IP manufacturers as an auxiliary tool to help quickly send data. However, in terms of data flow management and buffering, VIP does not have a good way to manage data to be sent according to the expected effect.

[0022] Based on the problems existing in the prior art, the embodiments of the present invention provide a data transmission and management method based on AXI VIP, a data transmission and management device based on AXI VIP, a computer device and a computer-readable storage medium.

[0023] Figure 1 A flowchart of a data transmission and management method based on AXI VIP is provided for one embodiment of the present invention. Figure 1 As shown, an embodiment of the present invention provides a data transmission and management method based on AXI VIP, including: Step S1, initializing the video image data information to be transmitted.

[0024] Step S2, based on the video image data information, simultaneously generates an AXI transmission request and ensures that the next AXI transmission request is made when there is sufficient space in the FIFO buffer.

[0025] Step S3: Perform data transmission based on the AXI transmission request.

[0026] Step S4, determining whether the total data size of all AXI transmission requests reaches the total data size of the video image to be transmitted, if not, returning to step S2, otherwise ending the process.

[0027] In a specific implementation, the video image data information is transmitted based on a first-in-first-out (FIFO) queue in the AXI transmission request. FIFO is a traditional sequential execution method, where the first instruction to enter is completed and retired first, and then the second instruction is executed. That is, the video image data to be transmitted is transmitted based on the FIFO queue.

[0028] In step S1, the video image data information may include the size and total data volume of the video image data. When the transmission is performed based on the FIFO queue, the video image data information to be transmitted may include the size and total data volume of the FIFO queue for initialization transmission.

[0029] In some specific embodiments, Figure 2 As shown, step S1 may include: Step S11, obtaining DUT design attributes, and initializing the size of the video image data based on the DUT design attributes.

[0030] Step S12, obtaining the resolution of the video image data, and initializing the total data volume of the video image data based on the resolution.

[0031] Step S13, determining the validity of the video image data based on the size of the video image data and the total amount of the video image data. When the video image data is determined to be valid, step S2 is executed to generate an AXI transfer request and ensure that the next AXI transfer request is made when the FIFO buffer space is sufficient.

[0032] In a specific implementation, during the video image data transmission process, the system generates a read / write request through the AXI VIP. According to the properties of the image frame resolution, the system first initializes the FIFO queue data size and the total data volume of the transmission, where the FIFO queue data size is determined by the design sample (DUT, Design Under test) design, and the total data volume is determined by the image resolution. For example, the total amount of YUV420 128x128 image data is: 24576Byte (Total Bytes=(W×H)+(2 / W×2 / H)×2, where W and H are the resolution sizes in the horizontal and vertical directions, respectively). Before starting to generate data requests and perform data transmission, check the data validity to ensure that the subsequent execution is performed according to the start settings.

[0033] In step S2, since the video image data in this application is transmitted in the form of a FIFO queue, the next instruction needs to be executed after the previous instruction is completed. Step S2 of this application determines whether the FIFO buffer space is sufficient when executing each instruction, that is, generating an AXI transmission request, if it is sufficient, then the AXI transmission request is generated and data is transmitted, otherwise an error is reported and the instruction is executed when the FIFO buffer space is sufficient. That is, the system executes request generation (seq_ctrl) and status update (seq_status_update) in parallel, that is, the AXI transmission request is generated in step S2 and the next AXI transmission request is ensured when the FIFO buffer space is sufficient, which ensures efficient data transmission and dynamic management of the buffer. In this embodiment, the parallel processing of request generation and status update significantly improves the efficiency of data transmission and ensures synchronization between requests and responses.

[0034] In some specific embodiments, Figure 2 As shown, generating the AXI transfer request in step S2 may include: Step S21, obtaining the burst length, burst size and initial address.

[0035] Step S22, obtaining a current transmission address based on the initial address, the burst length and the burst size of each transmission.

[0036] Step S23, generating an AXI transfer request based on the burst length, the burst size and the current transfer address.

[0037] In a specific implementation, in the step of request generation (seq_ctrl), i.e., generating an AXI transfer request, in the task body function in the sequence (sequence), the request is generated according to the set burst length, transfer size, address and other parameters, and the random function (randomize) is used to randomize certain characteristic parameters of the transmission to adapt to the randomness of the verification, so as to improve the coverage. For example, the burst length is randomly generated by the burst_length_sel function, and the burst size is randomly generated by the burst_size function. The initial address is used and the address is dynamically updated according to the burst size and length of each transmission to ensure the continuity of the data block and the random flexibility of the data transmission, and these requests are sent to the arbitrator (sequencer) of the AXIVIP, and the sequencer of the AXI VIP finally sends the set result (transcation) to the design under test.

[0038] In some specific embodiments, Figure 2As shown, ensuring that the next AXI transmission request is made when the FIFO buffer space is sufficient in step S2 may include: Step S24, obtaining the remaining space of the FIFO buffer and the total space of the FIFO buffer.

[0039] Step S25, obtaining the data volume of the transmission data in the AXI transmission request.

[0040] Step S26, determine whether the sum of the remaining space in the FIFO buffer and the amount of data to be transmitted in the AXI transfer request is greater than the total space in the FIFO buffer. If so, execute step S28 to output an error message and wait before returning to step S26 to re-determine whether the FIFO buffer is sufficient; if not, it means that the FIFO buffer has sufficient space, execute step S27 to update the remaining space in the FIFO buffer to the sum of the remaining space and the amount of data to be transmitted in the AXI transfer request, and return to step S2 to generate an AXI transfer request.

[0041] Step S27: the remaining space of the FIFO buffer is updated to the sum of the remaining space and the amount of data to be transmitted in the AXI transmission request.

[0042] Step S28, output error information.

[0043] In a specific implementation, FIFO buffer management (wait_seq_issue) is to ensure that the next AXI transfer request is made when the FIFO buffer space is sufficient. In the process of generating AXI transfer requests, the depth (fifo_data_cnt) of the FIFO buffer is managed. Each time a new transfer request is generated, the system checks whether the remaining space of the current FIFO buffer is sufficient. If the space is insufficient, it waits until there is enough space to continue generating requests. This process dynamically adjusts the rate of data requests to ensure that the FIFO buffer does not overflow or block. An exemplary FIFO buffer management (wait_seq_issue) procedure is shown below, but does not limit this embodiment.

[0044] task wait_seq_issue(); if (current_buf_cnt > fifo_size) begin / / If a read or write operation is larger than fifo_size, the system will call uvm_fatal and report an error `uvm_fatal(get_full_name(), $sformatf("wait_seq_issue() nextrequest data size (%0h) should not larger than fifo_size (%0h)!", current_buf_cnt, fifo_size)) end / / Ensure that the sum of the current transmission data current_buf_cnt plus the data already in the fifo is less than or equal to the preset fifo_size.

[0045] wait(fifo_data_cnt + current_buf_cnt <= fifo_size); fifo_data_cnt= fifo_data_cnt + current_buf_cnt; / / Update fifo_data_cnt xact_buf_cnt_q.push_back(current_buf_cnt); / / Store the current transmission data amount current_buf_cnt in the predefined queue. Since the length of the data sent each time is random, the value is saved to facilitate the subsequent calculation of fifo_data_cnt.

[0046] endtask: wait_seq_issue.

[0047] In some specific embodiments, Figure 2 As shown, the data transmission based on the AXI transmission request in step S3 may include: Step S31, determine whether the AXI transmission request is a write request or a read request. If it is a read request, execute step S33, and if it is a write request, execute step S32.

[0048] Step S32: based on the AXI transfer request, update the data in the FIFO buffer and the space size of the FIFO buffer.

[0049] Step S33: Based on the AXI transmission request, the corresponding data in the FIFO buffer is output and the space size of the FIFO buffer is updated.

[0050] In a specific implementation, during the data transmission process, the verification platform will receive a response from the last AXI bus, that is, the completion information of the read / write operation. The system captures these response events and dynamically updates the depth of the FIFO buffer (fifo_data_cnt), thereby ensuring the correctness of the data and the validity of the FIFO buffer.

[0051] Among them, for write request response processing: each time a response to a write operation is received, the system updates the number of processed data blocks in the FIFO and removes the corresponding request. For read request response processing: similar to write requests, the system captures the response to the read operation and updates the status in the FIFO and request queue. The specific implementation method is as follows: sample code. This sample code is only one of the implementation methods and does not limit this application.

[0052] task seq_status_update(); while (1) begin / / Loop waiting for the response of the previous operation @(env_cfg.wr_resp_cnt); / / Get the current_buf_cnt value from the task wait_seq_issue queue done_buf_cnt = xact_buf_cnt_q.pop_front(); fifo_data_cnt=fifo_data_cnt-done_buf_cnt; / / Update fifo_data_cnt end endtask: seq_status_update.

[0053] In step S4, it is determined whether the total data size of all AXI transmission requests reaches the total size of the video image data to be transmitted. In AXI_VIP, the total number of transmitted data is determined to be equal to the total number of received responses by monitoring (monitor) data transmission and return and accumulating, so as to ensure that the data is strictly aligned and will not be lost. The specific implementation method is as follows: example code. This example code is only used as one of the implementation methods and does not limit this application.

[0054] task total_size_ctrl(); while (1) begin / / Check if the total buffer count reaches or exceeds the total size if (total_buf_cnt >= total_size) begin / / Decide whether to wait for the write operation to complete or the read operation to complete based on the value of wr_rd if (wr_rd) / / Wait for the write transaction count to equal the write response count wait (mon.wr_xact_cnt == mon.wr_resp_cnt); else / / Wait for the read transaction count to equal the read response count wait (mon.rd_xact_cnt == mon.rd_resp_cnt); / / Execute a delay of one time unit #1; / / Break out of the loop Break; end end endtask : total_size_ctrl.

[0055] The present application also provides a data transmission and management device 10 based on AXI VIP, such as Figure 3 As shown, it includes an initialization module 11, a processing module 12 and a transmission module 13. The initialization module 11 is used to initialize the video image data information to be transmitted. The processing module 12 is used to generate an AXI transmission request based on the video image data information and ensure that the next AXI transmission request is made when the FIFO buffer space is sufficient; wherein the video image data information is transmitted based on the FIFO mode in the AXI transmission request. The transmission module 13 is used to transmit data based on the AXI transmission request until the total data size of all AXI transmission requests reaches the total size of the video image data to be transmitted.

[0056] In some embodiments, when the initialization module 11 executes initialization of the video image data information to be transmitted, it includes: obtaining the DUT design properties, and initializing the size of the video image data based on the DUT design properties; obtaining the resolution of the video image data, and initializing the total data volume of the video image data based on the resolution; and determining the validity of the video image data based on the size of the video image data and the total data volume of the video image data; when it is determined that the video image data is valid, it starts to execute and generate an AXI transmission request at the same time and ensures that the next AXI transmission request is made when there is sufficient space in the FIFO buffer.

[0057] In some embodiments, when the processing module 12 executes to generate an AXI transfer request, it includes: obtaining a burst length, a burst size, and an initial address; obtaining a current transfer address based on the initial address, the burst length, and the burst size of each transmission; and generating an AXI transfer request based on the burst length, the burst size, and the current transfer address.

[0058] The device provided in this application can implement any embodiment of the above method, which will not be described in detail here.

[0059] Furthermore, the present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the AXI VIP-based data transmission and management method in any of the above embodiments are implemented.

[0060] Furthermore, the present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the AXI VIP-based data transmission and management method in any of the above-mentioned embodiments are implemented.

[0061] The data transmission and management method based on AXI VIP, the data transmission and management device based on AXI VIP, the computer equipment and the computer-readable storage medium provided by the embodiments of the present invention, the parallel processing of request generation and status update significantly improves the efficiency of data transmission, and ensures the synchronization between requests and responses. In addition, by randomizing parameters such as burst length and transmission size, the system can dynamically adjust the transmission strategy according to different video stream attributes, thereby improving the adaptability and efficiency of transmission. In addition, by real-time monitoring and adjusting the depth of FIFO, dynamically monitoring and updating the depth of FIFO buffer, the system can prevent data overflow or blockage, and realize stable transmission of data stream. The method of the present application is particularly suitable for large amounts of video image data that need to be transmitted at high speed, and high efficiency is achieved by optimizing the burst length and transmission size on the AXI bus.

[0062] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A data transmission and management method based on AXI VIP, characterized in that: include: Initialize the video image data information to be transmitted; Based on the video image data information, an AXI transmission request is generated at the same time and it is ensured that the next step of the AXI transmission request is performed when there is sufficient space in the FIFO buffer; wherein the video image data information is transmitted based on the FIFO mode in the AXI transmission request; Data transmission is performed based on the AXI transmission request until the total data size of all the AXI transmission requests reaches the total size of the video image data to be transmitted.

2. The data transmission and management method based on AXI VIP according to claim 1, characterized in that: The initialization of the video image data information to be transmitted includes: Acquire DUT design properties, and initialize the size of the video image data based on the DUT design properties; Acquire the resolution of the video image data, and initialize the total data volume of the video image data based on the resolution; and determining the validity of the video image data based on the size of the video image data and the total data volume of the video image data; When it is determined that the video image data is valid, the simultaneous generation of the AXI transfer request and the execution of the next step of the AXI transfer request are started and ensured when the FIFO buffer space is sufficient.

3. The data transmission and management method based on AXI VIP according to claim 2, characterized in that: The generating of the AXI transfer request comprises: Get the burst length, burst size and initial address; Obtaining a current transmission address based on an initial address, the burst length of each transmission, and the burst size; The AXI transfer request is generated based on the burst length, the burst size, and the current transfer address.

4. The data transmission and management method based on AXI VIP according to claim 2, characterized in that: The step of ensuring that the next step of the AXI transfer request is performed when the FIFO buffer space is sufficient includes: Acquire the remaining space of the FIFO buffer and the total space of the FIFO buffer; Obtaining the amount of data transmitted in the AXI transmission request; Determine whether the sum of the remaining space of the FIFO buffer and the amount of data transmitted in the AXI transmission request is greater than the total space of the FIFO buffer; If yes, then output error message; If not, the remaining space of the FIFO buffer is updated to the sum of the remaining space and the amount of data to be transmitted in the AXI transmission request.

5. The data transmission and management method based on AXI VIP according to claim 2, characterized in that: The data transmission based on the AXI transmission request includes: Determining whether the AXI transfer request is a write request or a read request; If it is a write request, updating the data in the FIFO buffer and the space size of the FIFO buffer based on the AXI transfer request; If it is a read request, based on the AXI transfer request, the corresponding data in the FIFO buffer is output and the space size of the FIFO buffer is updated.

6. A data transmission and management device based on AXI VIP, characterized in that: include: An initialization module, used for initializing the video image data information to be transmitted; A processing module, used for generating an AXI transmission request based on the video image data information and ensuring that the next step of the AXI transmission request is performed when there is sufficient space in the FIFO buffer; wherein the video image data information is transmitted based on the FIFO mode in the AXI transmission request; The transmission module is used to perform data transmission based on the AXI transmission request until the total data size of all the AXI transmission requests reaches the total size of the video image data to be transmitted.

7. The data transmission and management device based on AXI VIP according to claim 6, characterized in that: When the initialization module executes the initialization of the video image data information to be transmitted, it includes: Acquire DUT design properties, and initialize the size of the video image data based on the DUT design properties; Acquire the resolution of the video image data, and initialize the total data volume of the video image data based on the resolution; and determining the validity of the video image data based on the size of the video image data and the total data volume of the video image data; When it is determined that the video image data is valid, the simultaneous generation of the AXI transfer request and the execution of the next step of the AXI transfer request are started and ensured when the FIFO buffer space is sufficient.

8. The data transmission and management device based on AXI VIP according to claim 7, characterized in that: When the processing module executes the generating of the AXI transmission request, it includes: Get the burst length, burst size and initial address; Obtaining a current transmission address based on an initial address, the burst length of each transmission, and the burst size; The AXI transfer request is generated based on the burst length, the burst size, and the current transfer address.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Device for verifying advanced microcontroller bus interface

    CN103455460A

  • AXI bus interface data transmission system and transmission method based on SOC

    CN107577636A

  • DDR (Double Data Rate) high-speed read-write method and system for unidirectional optical transmission

    CN117093157A

  • Data interleaving processing method, AXI VIP equipment, device and medium

    CN118503165A

  • Method for writing data from AXI bus to OPB and method for reading data from AXI bus to OPB bus

    US20240028525A1