CN108733529A - The verification method and device of plugging function between AXI crossbar switches - Google Patents

The verification method and device of plugging function between AXI crossbar switches Download PDF

Info

Publication number
CN108733529A
CN108733529A CN201710258450.4A CN201710258450A CN108733529A CN 108733529 A CN108733529 A CN 108733529A CN 201710258450 A CN201710258450 A CN 201710258450A CN 108733529 A CN108733529 A CN 108733529A
Authority
CN
China
Prior art keywords
data
transmitted
mark
packet
read request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710258450.4A
Other languages
Chinese (zh)
Other versions
CN108733529B (en
Inventor
张晓辉
王朋宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Loongson Technology Corp Ltd
Original Assignee
Loongson Technology Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Loongson Technology Corp Ltd filed Critical Loongson Technology Corp Ltd
Priority to CN201710258450.4A priority Critical patent/CN108733529B/en
Publication of CN108733529A publication Critical patent/CN108733529A/en
Application granted granted Critical
Publication of CN108733529B publication Critical patent/CN108733529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/27Built-in tests

Abstract

The embodiment of the present invention provides the verification method and device of plugging function between a kind of AXI crossbar switches.This method includes:First, which is sent, to AXI crossbar switches to be measured interleaves data, receive the AXI crossbar switches to be measured according to described first interleave data acquisition second interleave data, described second interleave data include it is multiple transmitted BEAT data packets, each transmitted the mark that BEAT data packets carry the transmission packet of institute subordinate;According to the mark of the transmission packet of institute's subordinate, the multiple BEAT data packets of having transmitted are organized at least two transmission packets;Determine at least two data to be transmitted packet with described at least two transmission packet it is whether identical;If identical, it is determined that plugging function is normal between the AXI crossbar switches to be measured, and then realizes the accurate validation of the plugging function between AXI crossbar switches to be measured.

Description

The verification method and device of plugging function between AXI crossbar switches
Technical field
The present embodiments relate to a kind of authentications of plugging function between computer technology more particularly to AXI crossbar switches Method and device.
Background technology
AXI (Advanced eXtensible Interface, Advanced extensible Interface) is a kind of bus protocol, mainly Main equipment is described and from the data transfer mode between equipment, in a main equipment and multiple from being interacted between equipment It needs that AXI crossbar switches are arranged in the process, which plays the role of routing, i.e., according to different transmission data institutes Different transmission datas are sent to corresponding equipment, and then complete the Cross transfer of data by the mark of carrying.
In actual use, when different from equipment when the same time sending different data to same main equipment, no It can be transmitted in AXI buses in the form of interleaving data with from the corresponding data of equipment.For example, being set from device A to master During standby B transmission datas, also begun to from equipment C to main equipment B transmission datas, at this point, two data in AXI buses with The form for interleaving data is transmitted, i.e., the transmission data from the transmission data of device A and from equipment C is with BEAT data packets Unit carries out cross arrangement transmission in AXI buses sequentially in time.This interleaves data and is transferred to master by AXI crossbar switches Equipment, main equipment are obtained from the corresponding data of device A and according to the mark that each BEAT data packets carry in data is interleave from setting The corresponding data of standby C.
It can be seen from the above, in order to ensure that AXI crossbar switches can be accurately received and transmission interleaves data, then AXI intersects Plugging function must be normal between switch.But the prior art does not hand over AXI during the development and production of AXI crossbar switches Plugging function is verified between fork is closed, and then can not be ensured that AXI crossbar switches can be received and dispatched accurately and be interleave data.
Invention content
The embodiment of the present invention provides the verification method and device of plugging function between a kind of AXI crossbar switches, existing for solving There is technology during the development and production of AXI crossbar switches, plugging function is not verified between AXI crossbar switches, in turn It can not ensure that AXI crossbar switches can accurately receive and dispatch the problem of interleaving data.
In a first aspect, the embodiment of the present invention provides a kind of verification method of plugging function between AXI crossbar switches, including:
First is sent to AXI crossbar switches to be measured and interleaves data, and described first to interleave data be to be transmitted by least two Data packet splits into multiple BEAT data packets to be transmitted, and the corresponding BEAT data packets to be transmitted of different data to be transmitted packets are pressed Cross arrangement acquisition is carried out according to sequence of addresses, wherein the corresponding each BEAT data packets to be transmitted of the data to be transmitted packet Carry the mark of the data to be transmitted packet;
It receives the AXI crossbar switches to be measured and interleaves the second of data acquisition according to described first and interleave data, described the Two interleave data include it is multiple transmitted BEAT data packets, each transmitted the transmission data that BEAT data packets carry institute subordinate The mark of packet;
According to the mark of the transmission packet of institute's subordinate, by it is the multiple transmitted BEAT data packets be organized into Lack two transmission packets;
Determine at least two data to be transmitted packet with described at least two transmission packet it is whether identical;
If identical, it is determined that plugging function is normal between the AXI crossbar switches to be measured.
It is described to interleave number to AXI crossbar switches to be measured transmission first in a kind of possible realization method of first aspect According to before, the method further includes:
According to preset control instruction, obtains described first and interleave data, the control instruction is used to indicate described in acquisition First interleaves the mode of data, the mode include by the AXI crossbar switches to be measured send read request obtain or from It is obtained in preset transmission packet set.
It is described according to preset control instruction in the alternatively possible realization method of first aspect, obtain described the One interleaves data, specifically includes:
According to preset control instruction, at least two read requests, each read request are sent to the AXI crossbar switches to be measured Carry mark and the address of the read request of the read request;
At least two read request that the AXI crossbar switches to be measured are sent is received, and according to each read request Address obtain the corresponding data to be transmitted packet of each read request, wherein each data to be transmitted includes multiple carrying institutes State the BEAT data packets to be transmitted of the mark of data to be transmitted packet, the mark for being identified as the read request of the data to be transmitted packet Know;
According to each data to be transmitted packet, obtains described first and interleave data.
In the alternatively possible realization method of first aspect, each data to be transmitted packet of basis, described in acquisition Before first interleaves data, the method further includes:
According to the mark of the read request, one first buffering area, the first buffering area packet are set for each read request Include the mark of the read request;
The each data to be transmitted packet of basis obtains described first and interleaves data, specifically includes:
According to the mark for the read request that each data to be transmitted packet carries, the data to be transmitted packet is preserved to institute In the corresponding first buffering area of mark for stating read request;
The data to be transmitted packet preserved in each first buffering area is split into multiple BEAT data packets to be transmitted;
According to preset reading order, BEAT data packets to be transmitted are read from each first buffering area, obtain institute It states first and interleaves data;The reading order is indicated reads institute from the corresponding first buffering area of mark of different read requests State the sequence of BEAT data packets to be transmitted.
In the alternatively possible realization method of first aspect, the transmission packet is identified as the read request Mark;It is described according to preset control instruction, before sending at least two read requests to the AXI crossbar switches to be measured, institute The method of stating further includes:
According to the mark of the read request, one second buffering area, the second buffering area packet are set for each read request Include mark and the address of the read request of the read request;
The mark of the transmission packet according to institute's subordinate arranges the multiple BEAT data packets of having transmitted At at least two transmission packets, specifically include:
The reading for identifying, each having transmitted BEAT data packets of read request corresponding to the different second buffering area The address of the read request preserved in the mark of request and each second buffering area, acquisition belong to the same read request The transmission packet of mark.
In the alternatively possible realization method of first aspect, the method further includes:
Described first sent according to current time interleave in data each BERT data packets to be transmitted carry it is to be transmitted The mark of data packet obtains the first number of the corresponding BERT data packets to be transmitted of mark of current time each data to be transmitted packet Mesh;
Described second received according to current time interleaves each transmission for having transmitted the carrying of BERT data packets in data The mark of data packet, the mark for obtaining the current time transmission packet corresponding have transmitted the of BERT data packets Two numbers;
Judge whether first number under the same mark is equal with second number and is equal to predetermined threshold value;
If so, according to the mark of the transmission packet of institute's subordinate, BEAT data packets have been transmitted by the multiple It is organized at least two transmission packets.
Second aspect, the embodiment of the present invention provide a kind of verification device of plugging function between AXI crossbar switches, including:
Sending module interleaves data for sending first to AXI crossbar switches to be measured, and described first to interleave data be near Few two data to be transmitted packets split into multiple BEAT data packets to be transmitted, and different data to be transmitted packets are corresponding to be transmitted BEAT data packets carry out cross arrangement acquisition according to sequence of addresses, wherein the data to be transmitted packet is corresponding each to be passed Defeated BEAT data packets carry the mark of the data to be transmitted packet;
Receiving module interleaves according to described first between the second of data acquisition for receiving the AXI crossbar switches to be measured Insert data, described second interleave data include it is multiple transmitted BEAT data packets, each transmitted BEAT data packets carry institute from The mark of the transmission packet belonged to;
Processing module.For the mark according to the transmission packet of institute's subordinate, BEAT has been transmitted by the multiple Data packet is organized at least two transmission packets;
Judgment module, for determine at least two data to be transmitted packet with described at least two transmission packet be It is no identical;
Determining module, for the judgment module judge data to be transmitted packet with it is described transmission packet is identical when, really Plugging function is normal between the fixed AXI crossbar switches to be measured.
In a kind of possible realization method of second aspect, described device further includes acquisition module,
The acquisition module, for according to preset control instruction, obtaining described first and interleaving data, the control instruction It is used to indicate described first mode for interleaving data that obtains, the mode includes by being sent to the AXI crossbar switches to be measured Read request is obtained or is obtained from preset transmission packet set.
In the alternatively possible realization method of second aspect, the sending module is additionally operable to according to preset control Instruction sends at least two read requests to the AXI crossbar switches to be measured, each read request carry the read request mark and The address of the read request;
The receiving module is additionally operable to receive at least two read request that the AXI crossbar switches to be measured are sent;
The acquisition module is specifically used for corresponding according to each read request of address acquisition of each read request Data to be transmitted packet, and according to each data to be transmitted packet, obtain described first and interleave data;Wherein, each data to be transmitted Include the BEAT data packets to be transmitted of multiple marks for carrying the data to be transmitted packet, the data to be transmitted packet is identified as The mark of the read request.
In the alternatively possible realization method of second aspect, described device further includes the first setup module, described to obtain Modulus block includes the first storage unit, split cells and acquiring unit;
First setup module, for being obtained between described first according to each data to be transmitted packet in the acquisition module Before inserting data, according to the mark of the read request, one first buffering area, the first buffering area are set for each read request Include the mark of the read request;
First storage unit, the mark of the read request for being carried according to each data to be transmitted packet, by institute Data to be transmitted packet is stated to preserve into the corresponding first buffering area of mark of the read request;
The split cells, for the data to be transmitted packet preserved in each first buffering area to be split into multiple wait for Transmit BEAT data packets;
The acquiring unit, for according to preset reading order, being read from each first buffering area to be transmitted BEAT data packets obtain described first and interleave data;The reading order indicates corresponding from the mark of different read requests The sequence of the BEAT data packets to be transmitted is read in first buffering area.
In the alternatively possible realization method of second aspect, described device further includes the second EM equipment module,
Second EM equipment module, for being opened to the AXI intersections to be measured according to preset control instruction in the sending module It closes before sending at least two read requests, according to the mark of the read request, one second buffering area is set for each read request, The second buffering area includes mark and the address of the read request of the read request;The transmission packet is identified as The mark of the read request;
The processing module, specifically for identifying, often for the read request corresponding to the different second buffering area The address of the read request preserved in the mark and each second buffering area of a read request for having transmitted BEAT data packets, Obtain the transmission packet for the mark for belonging to the same read request.
In the alternatively possible realization method of second aspect, the acquisition module is additionally operable to be sent out according to current time Described first sent interleaves the mark for the data to be transmitted packet that each BERT data packets to be transmitted carry in data, when obtaining current Carve the first number of the corresponding BERT data packets to be transmitted of mark of each data to be transmitted packet;And received according to current time Described second interleaves the mark of each transmission packet for having transmitted the carrying of BERT data packets in data, and it is every to obtain current time Corresponding the second number for having transmitted BERT data packets of mark of a transmission packet;
The judgment module, be additionally operable to judge first number under the same mark whether with the second number phase Deng and be equal to predetermined threshold value;
The processing module, for first number and described the under determining the same mark in the judgment module Two numbers are equal and when being equal to predetermined threshold value, then, will be the multiple according to the mark of the transmission packet of institute's subordinate It has transmitted BEAT data packets and has been organized at least two transmission packets.
The verification method and device of plugging function between AXI crossbar switches provided in an embodiment of the present invention, by AXI to be measured Crossbar switch sends first and interleaves data, receives the AXI crossbar switches to be measured interleave data acquisition according to described first the Two interleave data, and according to the mark of the transmission packet of institute's subordinate, the multiple BEAT data packets of having transmitted are arranged At at least two transmission packets, and determine at least two data to be transmitted packet and described at least two transmission datas Whether packet is identical, if identical, it is determined that plugging function is normal between the AXI crossbar switches to be measured.And then it realizes and AXI to be measured is handed over Plugging function accurate validation between fork is closed improves the functional reliability of AXI crossbar switches, while the method for the present embodiment is applicable in In the AXI crossbar switches of any model, there is preferable durability.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments for those of ordinary skill in the art without having to pay creative labor, can be with Obtain other attached drawings according to these attached drawings.
The flow diagram of Fig. 1 verification method embodiments one of plugging function between AXI crossbar switches provided by the invention;
The flow diagram of Fig. 2 verification method embodiments two of plugging function between AXI crossbar switches provided by the invention;
Fig. 2 a are UVM verification platform schematic diagrames;
The flow diagram of Fig. 3 verification method example IVs of plugging function between AXI crossbar switches provided by the invention;
The structural schematic diagram of Fig. 4 verification device embodiments one of plugging function between AXI crossbar switches provided by the invention;
The structural schematic diagram of Fig. 5 verification device embodiments two of plugging function between AXI crossbar switches provided by the invention;
The structural schematic diagram of Fig. 6 verification device embodiments three of plugging function between AXI crossbar switches provided by the invention;
The structural schematic diagram of Fig. 7 verification device embodiments four of plugging function between AXI crossbar switches provided by the invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
With the increase of chip-scale, the workload of the verification of chip has accounted for the 70% of the entire chip R&D cycle and has arrived 80%, therefore, the efficiency for improving chip checking has become most important.
The verification method of plugging function between AXI crossbar switches provided by the invention is suitable for the verification rank of AXI crossbar switches Section, such as suitable for UVM (Universal Verification Methodology) verification platform, it can be with accurate validation AXI Plugging function between the intersection standard width of a room in an old-style house, and then improve the reliability of AXI crossbar switches.
It should be noted that term " first " herein, " second " are used for description purposes only, and should not be understood as indicating Or imply relative importance.
Technical scheme of the present invention is described in detail with specifically embodiment below.These specific implementations below Example can be combined with each other, and same or analogous concept or process may be repeated no more in some embodiments.
The flow diagram of Fig. 1 verification method embodiments one of plugging function between AXI crossbar switches provided by the invention. This implementation refers to interleave data to AXI crossbar switches to be measured transmission first, receives second by AXI crossbar switches to be measured Data are interleave, judge that first interleaves the corresponding data to be transmitted packet of data and interleave the corresponding transmission packet of data with second and be The whether normal detailed process of plugging function between no identical and then determining AXI crossbar switches to be measured.As shown in Figure 1, the present embodiment May include:
S101, data are interleave to AXI crossbar switches to be measured transmission first, described first interleaves data to be waited at least two Transmission packet splits into multiple BEAT data packets to be transmitted, and by the corresponding BEAT data to be transmitted of different data to be transmitted packets Packet carries out cross arrangement acquisition according to sequence of addresses, wherein the corresponding each BEAT numbers to be transmitted of the data to be transmitted packet The mark of the data to be transmitted packet is carried according to packet;
The executive agent of the present embodiment can be that the verification device with plugging function between verification AXI crossbar switches is (following Referred to as verification device), which can be a part for test equipment, can also be individual equipment.
In the present embodiment, different data to be transmitted packets carries the mark of different data to be transmitted packets, will be each to be passed Transmission of data packet splits into the BEAT data packets of BEAT granularities, and by the corresponding BEAT data packets to be transmitted of different data to be transmitted packets Carry out cross arrangement according to sequence of addresses, formed and first interleave data so that first interleave data include multiple carryings not The BEAT data packets to be transmitted of the mark of same data to be transmitted packet.
For example, it is assumed that data to be transmitted packet A's is identified as a, data to be transmitted packet A includes 3 BEAT data packets to be transmitted, Each BEAT data packets to be transmitted carry the mark a of data to be transmitted packet A, at this time data to be transmitted packet A it is corresponding 3 it is to be transmitted BEAT data packets can be denoted as { 1a, 2a, 3a }.Assuming that data to be transmitted packet B's is identified as b, data to be transmitted packet B includes 4 BEAT data packets to be transmitted, each BEAT data packets to be transmitted carry the mark b of data to be transmitted packet B, at this time data to be transmitted The corresponding 4 BEAT data packets to be transmitted of packet B can be denoted as { 1b, 2b, 3b, 4b }, under be designated as the mark of data to be transmitted packet. In this way, it can be by data to be transmitted packet A to interleave data according to first that data to be transmitted packet A and data to be transmitted packet B are obtained Each of each of BEAT data packets to be transmitted and data to be transmitted packet B BEAT data packets to be transmitted handed over according to sequence of addresses Fork arrangement obtains, such as obtains first and interleave data and can be:1a, 1b, 2a, 2b, 3a, 3b, 4b can also be:1b,1a, 2a, 2b, 3a, 3b, 4b or 1b, 2b, 1a, 2a, 3b, 3a, 4b etc..
It is obtained it should be noted that the above-mentioned BEAT data packets to be transmitted by different data to be transmitted packets carry out cross arrangement It can be random to obtain the first arrangement mode for interleaving data, as long as ensureing the BEAT to be transmitted for belonging to the same data to be transmitted packet Data packet first interleave in data put in order it is consistent with sequence of addresses.Such as 3 that data to be transmitted packet A includes The sequence of addresses of BEAT data packets to be transmitted is { 1a, 2a, 3a }, then interleaves above-mentioned 3 BEAT numbers to be transmitted in data first It is still 1a, 2a, 3a according to putting in order for packet.
Optionally, the mark of above-mentioned data to be transmitted packet can be the address of data to be transmitted packet, and first interleaves data packet The BEAT data packets to be transmitted for belonging to same address can be arranged according to the address of carrying according to transmission time, and then obtained The corresponding data to be transmitted packet in address (i.e. the mark of data to be transmitted packet).Optionally, the mark of the data to be transmitted packet is also Can be the mark of request, such as when first interleaves data to be obtained according to read request, the mark of the data to be transmitted packet Can be the mark of read request, detailed process illustrates that details are not described herein in following specific embodiment.
S102, the reception AXI crossbar switches to be measured interleave the second of data acquisition according to described first and interleave data, institute State second interleave data include it is multiple transmitted BEAT data packets, each transmitted the transmission that BEAT data packets carry institute subordinate The mark of data packet.
S103, the mark according to the transmission packet of institute's subordinate, to have transmitted BEAT data packets whole by the multiple Manage at least two transmission packets.
Specifically, the AXI crossbar switches to be measured of the present embodiment play the process of data switch, i.e., it will verify what device was sent out First, which interleaves data, is then forwarded to verification device, in the process, it is without any processing to interleave data to first.As AXI to be measured When plugging function is normal between crossbar switch, which can interleave data by first and completely be sent to verification Device.When plugging function is abnormal between the AXI crossbar switches to be measured, then the AXI crossbar switches to be measured can not interleave first Data are correctly sent to verification device, for example, issue verification device interleave loss of data first interleave in data part letter Breath etc..Therefore, verification device can be received and dispatched according to AXI crossbar switches to be measured interleaves the complete situation of data to judge that this is to be measured Whether plugging function is normal between AXI crossbar switches.
Verification device receive AXI crossbar switches to be measured according to first interleave data acquisition second interleave data, due to this Second, which interleaves data, interleaves data by first and obtains, and therefore, second to interleave data include the first all information for interleaving data for this, I.e. second, which interleaves the mark that data include multiple and different transmission packets, corresponding has transmitted BEAT data packets.Verify device Interleave the mark that each of data have transmitted the transmission packet of BEAT data packets according to second, acquisition belong to it is same The BEAT data packets of transmission of the mark of transmission packet, and then form transmission packet.
S104, determine at least two data to be transmitted packet with described at least two transmission packet it is whether identical.
If S105, identical, it is determined that plugging function is normal between the AXI crossbar switches to be measured.
Verification device obtains the corresponding data to be transmitted packet of mark of each data to be transmitted packet and every according to the above method The corresponding transmission packet of mark of a transmission packet.Then, verification each identifies identical (i.e. data to be transmitted packet Mark it is identical with the mark of transmission packet) data to be transmitted packet and whether transmission packet identical, if identical, really Plugging function is normal between the fixed AXI crossbar switches to be measured.For example, verification device treats the BEAT numbers to be transmitted in transmission packet It matches according to sequence of addresses with the BEAT of the transmission data packets in transmission packet according to packet, is waited for if each address is corresponding one by one It is identical as BEAT data packets have been transmitted to transmit BEAT data packets, then illustrates that data to be transmitted packet is identical as transmission packet.
If the data to be transmitted packet of like-identified and transmission packet differs, it is determined that the AXI crossbar switches to be measured Between plugging function it is abnormal.Further, the verification device of the present embodiment can show the wrong generation of the AXI crossbar switches to be measured The position of code, such as when the code of AXI crossbar switches to be measured is that (Register Transfer Level, buffer turn RTL Move level) code when, verification device can show the error code section of RTL code.
The verification method of plugging function between AXI crossbar switches provided in an embodiment of the present invention, by being opened to AXI to be measured intersections It closes transmission first and interleaves data, the reception AXI crossbar switches to be measured interleave the second of data acquisition according to described first and interleave The multiple BEAT data packets of having transmitted are organized at least by data according to the mark of the transmission packet of institute's subordinate Two transmission packets, and determine at least two data to be transmitted packet with described at least two transmission packet whether It is identical, if identical, it is determined that plugging function is normal between the AXI crossbar switches to be measured.And then it realizes to AXI crossbar switches to be measured Between plugging function accurate validation, improve the functional reliability of AXI crossbar switches, at the same the method for the present embodiment be suitable for it is any The AXI crossbar switches of model have preferable durability.
In a kind of possible realization method of the present invention, before above-mentioned S101, the present embodiment can be according to S100's Method obtains first and interleaves data:
S100, according to preset control instruction, obtain described first and interleave data, the control instruction is used to indicate acquisition Described first interleaves the mode of data, the mode include by the AXI crossbar switches to be measured send read request obtain or Person obtains from preset transmission packet set.
Specifically, before verification device interleaves data to AXI crossbar switches to be measured transmission first, need according to preset control System instruction obtains this and first interleaves data, such as verification device can be by sending read request to the AXI crossbar switches to be measured It obtains or is obtained from preset transmission packet set.
It can verify that verification device obtains the detailed process that first interleaves data from preset transmission packet set Device obtains at least two data to be transmitted packets according to preset control instruction.For example, preserving different wait in verification device Transmission packet obtains at least two data to be transmitted packets after verification device receives control instruction.Then, verification device will At least two data to be transmitted packets obtained are split, and split into the BEAT data packets to be transmitted of BEAT granularities, and according to not BEAT data packets to be transmitted are carried out cross arrangement by the mark for the data to be transmitted packet that same BEAT data packets to be transmitted carry, It obtains described first and interleaves data.Optionally, verification device can also obtain first according to other methods and interleave data, such as Operating personnel directly interleave data to verification device input first.
The flow diagram of Fig. 2 verification method embodiments two of plugging function between AXI crossbar switches provided by the invention. On the basis of the above embodiments, the present embodiment refers to when obtaining the method that first interleaves data be by described to be measured When AXI crossbar switches send read request acquisition, verification device determines the whether normal detailed process of AXI crossbar switches to be measured.Such as Shown in Fig. 2, the method for the present embodiment may include:
S201, according to the mark of the read request, for each read request, one second buffering area, second buffering are set Area includes mark and the address of the read request of the read request.
Multiple second buffering areas are provided in verifying device, different readings is maintained in different second buffering areas and is asked The address asked and mark.Before verification device sends at least two read requests to AXI crossbar switches to be measured, verification device needs Obtain the mark of the read request corresponding to different second buffering areas.
S202, according to preset control instruction, send at least two read requests to the AXI crossbar switches to be measured, each Read request carries mark and the address of the read request of the read request.
S203, at least two read request that the AXI crossbar switches to be measured are sent is received, and according to each reading The address of request obtains the corresponding data to be transmitted packet of each read request, wherein each data to be transmitted includes multiple takes The BEAT data packets to be transmitted of mark with the data to be transmitted packet, the data to be transmitted packet are identified as the read request Mark.
In the present embodiment, two equipment (i.e. device A and equipment B) of unit simulation are verified, i.e. analog machine A passes through to be measured AXI crossbar switches send at least two read requests to equipment B.Specifically, verification device (being equivalent to device A) is according to preset control System instruction sends at least two read requests to AXI crossbar switches to be measured, and AXI crossbar switches to be measured receive at least two reading At least two read request is sent to verification device (being equivalent to equipment B) again after request.Verify device (being equivalent to equipment B) root The corresponding data to be transmitted packet of each read request is obtained according to the address of each read request.Each data to be transmitted packet carries its correspondence Read request mark, each BEAT data packets in each data to be transmitted packet also carry the mark of corresponding read request, i.e., Exist in the present embodiment, the mark for being identified as read request of data to be transmitted packet.
Optionally, the data to be transmitted packet of the present embodiment can also include the address of each read request.
S204, according to each data to be transmitted packet, obtain described first and interleave data.
Each data to be transmitted packet is split into the BEAT data packets of BEAT granularities by verification device (being equivalent to equipment B), often A BEAT data packets carry the mark of its corresponding read request, and the data packet to carrying different read request marks carries out intersection row Row obtain first and interleave data.Optionally, verification device can also obtain first according to other methods and interleave data, this reality It is without limitation to apply example, as long as verification device is obtained according to each data to be transmitted packet.
In a kind of possible realization method of the present embodiment, the verification device of the present embodiment is also according to the read request A first buffering area is arranged for each read request in mark, and the first buffering area includes the mark of the read request.That is this reality The verification device for applying example is provided with multiple first buffering areas, and different first buffering areas is used to preserve different data to be transmitted packets, Wherein different first buffering areas include the mark of different read requests.
In such cases, then above-mentioned S204 can specifically include:
The mark of S2041, the read request carried according to each data to be transmitted packet protect the data to be transmitted packet It deposits into the corresponding first buffering area of mark of the read request.
S2042, the data to be transmitted packet preserved in each first buffering area is split into multiple BEAT numbers to be transmitted According to packet.
S2043, according to preset reading order, BEAT data packets to be transmitted are read from each first buffering area, It obtains described first and interleaves data;The reading order is indicated from the corresponding first buffering area of mark of different read requests Read the sequence of the BEAT data packets to be transmitted.
Specifically, the data to be transmitted packet obtained according to each read request is preserved into corresponding first buffer area, and Data to be transmitted packet in each buffering area is split into multiple BEAT data packets to be transmitted.Wherein, BEAT data are each transmitted Packet carries the mark belonging to it, and the transmission BEAT data packets of the same mark are arranged according to sequence of addresses in the buffer.
Then, verification device is to be transmitted according to sequence of addresses reading from each first buffering area according to default reading order BEAT data packets, since reading order is to read the sequence of BEAT data packets to be transmitted from different first buffering areas, The BEAT data packets to be transmitted obtained according to reading order can form first and interleave data.
S205, data are interleave to AXI crossbar switches to be measured transmission first.
S206, the reception AXI crossbar switches to be measured interleave the second of data acquisition according to described first and interleave data.
Verification device (being equivalent to equipment B) interleaves data by first and is sent to verification dress by AXI crossbar switches to be measured It sets and (is equivalent to device A).At this point, due to do not know AXI crossbar switches to be measured between plugging function it is whether normal, will pass through The data that interleave of AXI crossbar switches to be measured are denoted as second and interleave data.Second to interleave data include carrying different biography for this The BEAT data packets of the mark of transmission of data packet.
Optionally, it above-mentioned first data and second is interleave interleaves the address that data may include each read request.Verification dress The BEAT data packets according to each mark of transmission packet are set, the mark of each transmission packet of acquisition is corresponding have been passed Transmission of data packet.Then, verification device judges the corresponding data to be transmitted packet of the same mark and whether transmission packet is identical, And then whether plugging function is normal between determining AXI crossbar switches to be measured.
S207, read request corresponding to the different second buffering area identify, have each transmitted BEAT data The address of the read request preserved in the mark of the read request of packet and each second buffering area, acquisition belong to the same reading The transmission packet of the mark of request.
It is suitable that verification device (being equivalent to device A) interleaves the transmission for having transmitted BEAT data packets carried in data according to second (mark of transmission packet is also to read to ask to the mark of sequence and each transmission packet for having transmitted the carrying of BEAT data packets for this The mark asked), by the corresponding mark transmitted BEAT data packets and be saved in transmission packet of mark of transmission packet In corresponding second buffering area, and transmission packet is constituted together with the address for the read request that the second buffering area preserves.It should Transmission packet includes the corresponding reading data of different read requests and reading address.It can be obtained according to this method and belong to same The transmission packet of the mark of read request.
It illustrates below and above steps is further explained:
Assuming that the authentication module of the present embodiment is UVM verification platforms as shown in Figure 2 a, which includes Master VIP (main authentication module), Slave VIP (from authentication module) and Scoreboard (scoring board).AXI to be measured is handed over In the RTL code write-in DUT (Design Under Test, module to be tested) that fork is closed, DUT is equivalent to AXI to be measured and hands at this time Fork is closed, and using UVM verification platforms, plugging function is verified between DUT.Wherein, Master VIP can use System Verilog (system verilog) language is write, including transactor (transponder), driver1 (driver 1), receiver (receiver) and some feedback buffers (buffering area).Slave VIP are then the verification environment based on UVM, including monitor The standard components such as (monitor), sequencer (serial device) and driver2 (driver 2).
Assuming that Master VIP send two read requests, two buffer defined in driver1 be respectively buffer0 and Buffer1, the address for storing two read requests respectively.Transactor generates two readings according to preset control instruction Request, and two read requests are sent to driver1.The address of each read request is stored in above-mentioned by driver1 respectively In buffer0 and buffer1.Then, two read requests are issued DUT by driver1, and two read requests are sent to by DUT again Slave VIP.Monitor in Slave VIP obtains the corresponding reading data in address of read request according to the address of read request, Each reading data are denoted as to the corresponding data to be transmitted packet of mark of each read request.Meanwhile in the driver2 of Slave VIP It is respectively buffer2 and buffer3 to define two buffer, and monitor is sent out each data to be transmitted packet by sequencer Driver2 is given, the two data to be transmitted packets are stored in buffer2 and buffer3 by driver2 respectively.To buffer2 BERT data packets to be transmitted are split into the data to be transmitted packet preserved in buffer3, wherein each BERT data packets to be transmitted Carry the mark of the data to be transmitted packet belonging to it.Driver2 is according to preset reading order from buffer2 and buffer3 BERT data to be transmitted are read, such as driver2 uniform crossovers read BERT data to be transmitted from buffer2 and buffer3, Data are interleave into first.This first interleaves the address for not including read request in data.
Then, driver2 interleaves data by first and is sent to DUT, and DUT first interleaves data and obtain second and interleave according to this Data (if DUT normally if first interleave data with second to interleave data identical, if plugging function is abnormal between DUT, DUT may lose first and interleave partial data in data, or changes first and interleave data).DUT interleaves data hair by second The driver1 in Master VIP is given, driver1 interleaves each of data according to second and transmitted the carrying of BEAT data packets Transmission packet mark, each BEAT data packets of having transmitted are saved in corresponding buffer, and in buffer The address of the read request of preservation constitutes transmission packet.Transmission packet is sent to by driver1 by receiver Master_compare (main contrast module) in scoreboard so that master_compare judge data to be transmitted packet and Whether transmission packet is identical, if identical, plugging function is normal between showing DUT, if differing, shows the RTL in DUT Errors present, so that staff modifies.
The verification method of plugging function between AXI crossbar switches provided in an embodiment of the present invention, by being opened to AXI to be measured intersections It closes at least two read requests of transmission and interleaves data to obtain first, and then enrich and obtain the first form for interleaving data.
The flow diagram of Fig. 3 verification method example IVs of plugging function between AXI crossbar switches provided by the invention. The present embodiment refers to judge data to be transmitted packet and whether transmission packet completes the detailed process of transmission.Such as Fig. 3 institutes Show, before above-mentioned S103, the method for the present embodiment may include:
S301, waiting for of interleaving in data that each BERT data packets to be transmitted carry according to described first that current time sends The mark of transmission packet obtains the of the corresponding BERT data packets to be transmitted of mark of current time each data to be transmitted packet One number.
In the present embodiment, verification device interleaves data first and is all sent to AXI crossbar switches to be measured and AXI to be measured Crossbar switch completely by second interleave data be sent to verification device after, verification device just judge data to be transmitted packet and transmitted Whether data packet identical, so avoid due to first interleave data or second interleave data do not transfer and caused by wait for Transmission packet is differed with transmission packet, and the plugging function between AXI crossbar switches to be measured is caused to judge inaccurate ask Topic generates.
S302, it is interleave in data according to described second that current time receives and has each transmitted the carrying of BERT data packets The mark of transmission packet, the mark of acquisition current time each transmission packet is corresponding to have transmitted BERT data packets The second number.
S303, judge whether first number under the same mark is equal with second number and is equal to default Threshold value.
S304, if so, according to the mark of the transmission packet of institute's subordinate, transmitted BEAT numbers by the multiple It is organized at least two transmission packets according to packet.
Device is verified, judges whether the corresponding first object of the current time same mark is identical as the second number and is equal to When predetermined threshold value, if differing, illustrate AXI crossbar switches to be measured be lost corresponding first interleave it is to be transmitted in data BEAT data packets change first and interleave data, you can plugging function is abnormal between determining AXI crossbar switches to be measured.Verification Device judges that the current time corresponding first object of the same mark and the second number are identical and when equal to predetermined threshold value, just execution The step of above-mentioned S103:Judge whether the data to be transmitted packet and the transmission packet are identical.
With reference to above-mentioned example, it is assumed that the verification device is UVM verification platforms as shown in Figure 2 a, then in Slave VIP The mark that the first of monitor monitoring current time DUT transmission interleaves the same data to be transmitted packet in data corresponding waits for Transmit the first number of BEAT data packets.When the first number is equal to predetermined threshold value, the rlast signals of driver2 have been set, explanation First interleaves data transmission completion.Then, data to be transmitted packet and the first number are sent to the slave- in scoreboard Check (from detection module).Meanwhile in Master VIP driver1 monitoring receive second interleave it is same in data Corresponding the second number for having transmitted BEAT data packets of mark of a transmission packet.Wait for that the second number is equal to predetermined threshold value When, the rlast signals of driver1 have been set, and illustrate that second interleaves data transmission completion, while transmission packet and second being counted Mesh is sent to the slave-compare in scoreboard, so that slave-compare judges the first number under the same mark Whether mesh is identical as the second number.If slave-compare judges that the first number under the same mark is identical as the second number And when equal to predetermined threshold value, further according to the mark of the transmission packet of institute's subordinate, multiple BEAT data packets of having transmitted are arranged At at least two transmission packets, and judge the corresponding data to be transmitted packet of same mark and transmission packet whether phase Together, so improve judge AXI crossbar switches to be measured between plugging function reliability.
The verification method of plugging function between the AXI crossbar switches of the embodiment of the present invention, by obtaining current time transmission First interleaves the first number of the BERT data packets to be transmitted of the mark of the same data to be transmitted packet and current time in data The second of transmission interleaves the second number for having transmitted BERT data packets of the mark of the same transmission packet in data, is sentencing Break same mark under the first number it is identical with the second number and be equal to predetermined threshold value when, just judge data to be transmitted packet and passed Whether transmission of data packet identical, so improve judge AXI crossbar switches to be measured between plugging function reliability.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
The structural schematic diagram of Fig. 4 verification device embodiments one of plugging function between AXI crossbar switches provided by the invention. The verification device of the present embodiment can be realized by way of software, hardware or soft or hard combination.As shown in figure 4, the present embodiment Verification device may include:
Sending module 10 interleaves data for sending first to AXI crossbar switches to be measured, and described first interleaves data to incite somebody to action At least two data to be transmitted packets split into multiple BEAT data packets to be transmitted, and different data to be transmitted packets are corresponding to be passed Defeated BEAT data packets carry out cross arrangement acquisition according to sequence of addresses, wherein the data to be transmitted packet is corresponding each to be waited for Transmission BEAT data packets carry the mark of the data to be transmitted packet.
Receiving module 20 interleaves the second of data acquisition according to described first for receiving the AXI crossbar switches to be measured Interleave data, described second interleave data include it is multiple transmitted BEAT data packets, each transmitted BEAT data packets and carried institute The mark of the transmission packet of subordinate.
Processing module 30 is used for the mark of the transmission packet according to institute's subordinate, has been transmitted the multiple BEAT data packets are organized at least two transmission packets.
Judgment module 40, for determining at least two data to be transmitted packet and described at least two transmission packets It is whether identical.
Determining module 50 judges that data to be transmitted packet is identical with the transmission packet for the judgment module 40 When, plugging function is normal between determining the AXI crossbar switches to be measured.
The verification device of the present embodiment can be used for executing the technical solution of above-mentioned shown embodiment of the method, realize former Reason is similar with technique effect, and details are not described herein again.
The structural schematic diagram of Fig. 5 verification device embodiments two of plugging function between AXI crossbar switches provided by the invention. On the basis of the above embodiments, the device of the present embodiment can also include:
Acquisition module 60, for according to preset control instruction, obtaining described first and interleaving data, the control instruction is used The described first mode for interleaving data is obtained in instruction, the mode includes being read by being sent to the AXI crossbar switches to be measured It acquisition request or is obtained from preset transmission packet set.
In a kind of possible realization method of the present embodiment, sending module 10 is additionally operable to according to preset control instruction, At least two read requests are sent to the AXI crossbar switches to be measured, and each read request carries the mark of the read request and described The address of read request;
The receiving module 20 is additionally operable to receive at least two read request that the AXI crossbar switches to be measured are sent;
The acquisition module 60 is specifically used for being corresponded to according to each read request of address acquisition of each read request Data to be transmitted packet, and according to each data to be transmitted packet, obtain described first and interleave data;Wherein, each number to be transmitted According to the BEAT data packets to be transmitted for including multiple marks for carrying the data to be transmitted packet, the mark of the data to be transmitted packet For the mark of the read request.
The verification device of the present embodiment can be used for executing the technical solution of above-mentioned shown embodiment of the method, realize former Reason is similar with technique effect, and details are not described herein again.
The structural schematic diagram of Fig. 6 verification device embodiments three of plugging function between AXI crossbar switches provided by the invention. On the basis of the above embodiments, described device further includes the first setup module 70, and the acquisition module 60 includes the first preservation Unit 61, split cells 62 and acquiring unit 63;
First setup module 70, for obtaining described first according to each data to be transmitted packet in the acquisition module Before interleaving data, according to the mark of the read request, one first buffering area, first buffering are set for each read request Area includes the mark of the read request;
First storage unit 61, the mark of the read request for being carried according to each data to be transmitted packet will The data to be transmitted packet is preserved into the corresponding first buffering area of mark of the read request;
The split cells 62, it is multiple for splitting into the data to be transmitted packet preserved in each first buffering area BEAT data packets to be transmitted;
The acquiring unit 63, for according to preset reading order, being read from each first buffering area to be passed Defeated BEAT data packets obtain described first and interleave data;The reading order is indicated to be corresponded to from the mark of different read requests First buffering area in read the sequences of the BEAT data packets to be transmitted.
The verification device of the present embodiment can be used for executing the technical solution of above-mentioned shown embodiment of the method, realize former Reason is similar with technique effect, and details are not described herein again.
The structural schematic diagram of Fig. 7 verification device embodiments four of plugging function between AXI crossbar switches provided by the invention. On the basis of the above embodiments, described device further includes the second EM equipment module 80,
Second EM equipment module 80, for being intersected to the AXI to be measured according to preset control instruction in the sending module Before switch sends at least two read requests, according to the mark of the read request, one second buffering is set for each read request Area, the second buffering area include mark and the address of the read request of the read request;The mark of the transmission packet Know the mark for the read request;
The processing module 30, be specifically used for read request corresponding to the different second buffering area mark, The ground of the read request preserved in the mark and each second buffering area of each read request for having transmitted BEAT data packets Location obtains the transmission packet for the mark for belonging to the same read request.
Further, the acquisition module 60 is additionally operable to be interleave according to described first that current time sends every in data The mark for the data to be transmitted packet that a BERT data packets to be transmitted carry, obtains the mark of current time each data to be transmitted packet First number of corresponding BERT data packets to be transmitted;And according to described second that current time receives interleave in data it is each The mark for the transmission packet that BERT data packets carry is transmitted, the mark of current time each transmission packet is obtained Corresponding the second number for having transmitted BERT data packets;
The judgment module 40, be additionally operable to judge first number under the same mark whether with second number It is equal and be equal to predetermined threshold value;
The processing module 30, under determining the same mark in the judgment module 40 first number and institute It is equal and when being equal to predetermined threshold value to state the second number, then it, will be described according to the mark of the transmission packet of institute's subordinate Multiple BEAT data packets of having transmitted are organized at least two transmission packets.
The verification device of the present embodiment can be used for executing the technical solution of above-mentioned shown embodiment of the method, realize former Reason is similar with technique effect, and details are not described herein again.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. the verification method of plugging function between a kind of Advanced extensible Interface AXI crossbar switches, which is characterized in that including:
First is sent to AXI crossbar switches to be measured and interleaves data, and described first to interleave data be by least two data to be transmitted Packet splits into multiple BEAT data packets to be transmitted, and by the corresponding BEAT data packets to be transmitted of different data to be transmitted packets according to ground Location sequence carries out cross arrangement acquisition, wherein the corresponding each BEAT data packets to be transmitted of the data to be transmitted packet carry The mark of the data to be transmitted packet;
It receives the AXI crossbar switches to be measured and interleaves the second of data acquisition according to described first and interleave data, between described second Slotting data include it is multiple transmitted BEAT data packets, each transmitted the transmission packet that BEAT data packets carry institute subordinate Mark;
According to the mark of the transmission packet of institute's subordinate, the multiple BEAT data packets of having transmitted are organized at least two A transmission packet;
Determine at least two data to be transmitted packet with described at least two transmission packet it is whether identical;
If identical, it is determined that plugging function is normal between the AXI crossbar switches to be measured.
2. according to the method described in claim 1, it is characterized in that, described interleave number to AXI crossbar switches to be measured transmission first According to before, the method further includes:
According to preset control instruction, obtains described first and interleave data, the control instruction is used to indicate acquisition described first Interleave the mode of data, the mode includes being obtained or from default by sending read request to the AXI crossbar switches to be measured Transmission packet set in obtain.
3. according to the method described in claim 2, it is characterized in that, described according to preset control instruction, acquisition described first Data are interleave, are specifically included:
According to preset control instruction, at least two read requests are sent to the AXI crossbar switches to be measured, each read request carries The mark of the read request and the address of the read request;
At least two read request that the AXI crossbar switches to be measured are sent is received, and according to the ground of each read request Location obtains the corresponding data to be transmitted packet of each read request, wherein each data to be transmitted includes being waited for described in multiple carryings The BEAT data packets to be transmitted of the mark of transmission packet, the mark for being identified as the read request of the data to be transmitted packet;
According to each data to be transmitted packet, obtains described first and interleave data.
4. according to the method described in claim 3, it is characterized in that, each data to be transmitted packet of the basis, described the is obtained Before one interleaves data, the method further includes:
According to the mark of the read request, one first buffering area is set for each read request, the first buffering area includes institute State the mark of read request;
The each data to be transmitted packet of basis obtains described first and interleaves data, specifically includes:
According to the mark for the read request that each data to be transmitted packet carries, the data to be transmitted packet is preserved to the reading In the corresponding first buffering area of mark of request;
The data to be transmitted packet preserved in each first buffering area is split into multiple BEAT data packets to be transmitted;
According to preset reading order, BEAT data packets to be transmitted are read from each first buffering area, obtain described the One interleaves data;The reading order is indicated and is waited for described in reading from the mark corresponding first buffering area of different read requests Transmit the sequence of BEAT data packets.
5. according to the method described in claim 3, it is characterized in that, the transmission packet is identified as the read request Mark;
It is described according to preset control instruction, before sending at least two read requests to the AXI crossbar switches to be measured, the side Method further includes:
According to the mark of the read request, one second buffering area is set for each read request, the second buffering area includes institute State mark and the address of the read request of read request;
The mark of the transmission packet according to institute's subordinate, by it is the multiple transmitted BEAT data packets be organized into Lack two transmission packets, specifically includes:
The read request for identifying, each having transmitted BEAT data packets of read request corresponding to the different second buffering area Mark and each second buffering area in the address of the read request that is preserved, obtain the mark for belonging to the same read request Transmission packet.
6. according to the method described in claim 1-5, which is characterized in that the method further includes:
Described first sent according to current time interleaves the data to be transmitted that each BERT data packets to be transmitted carry in data The mark of packet obtains the first number of the corresponding BERT data packets to be transmitted of mark of current time each data to be transmitted packet;
Described second received according to current time interleaves each transmission data for having transmitted the carrying of BERT data packets in data The mark of packet obtains corresponding the second number for having transmitted BERT data packets of mark of current time each transmission packet Mesh;
Judge whether first number under the same mark is equal with second number and is equal to predetermined threshold value;
If so, according to the mark of the transmission packet of institute's subordinate, the multiple BEAT data packets of having transmitted are arranged At at least two transmission packets.
7. the verification device of plugging function between a kind of Advanced extensible Interface AXI crossbar switches, which is characterized in that including:
Sending module interleaves data for sending first to AXI crossbar switches to be measured, described first interleave data be will at least two A data to be transmitted packet splits into multiple BEAT data packets to be transmitted, and by the corresponding BEAT to be transmitted of different data to be transmitted packets Data packet carries out cross arrangement acquisition according to sequence of addresses, wherein the data to be transmitted packet is corresponding each to be transmitted BEAT data packets carry the mark of the data to be transmitted packet;
Receiving module, for receive the AXI crossbar switches to be measured according to described first interleave data acquisition second interleave number According to, described second interleave data include it is multiple transmitted BEAT data packets, each transmitted BEAT data packets and carried institute subordinate The mark of transmission packet;
Processing module.For the mark according to the transmission packet of institute's subordinate, BEAT data have been transmitted by the multiple Packet is organized at least two transmission packets;
Judgment module, for determine at least two data to be transmitted packet with described at least two transmission packet whether phase Together;
Determining module, for the judgment module judge data to be transmitted packet with it is described transmission packet is identical when, determine institute Plugging function is normal between stating AXI crossbar switches to be measured.
8. device according to claim 7, which is characterized in that described device further includes acquisition module,
The acquisition module, for according to preset control instruction, obtaining described first and interleaving data, the control instruction is used for It indicates to obtain the described first mode for interleaving data, the mode includes reading to ask by sending to the AXI crossbar switches to be measured It asks acquisition or is obtained from preset transmission packet set.
9. device according to claim 8, which is characterized in that
The sending module, is additionally operable to according to preset control instruction, and sending at least two to the AXI crossbar switches to be measured reads Request, each read request carry mark and the address of the read request of the read request;
The receiving module is additionally operable to receive at least two read request that the AXI crossbar switches to be measured are sent;
The acquisition module is specifically used for corresponding to be passed according to each read request of address acquisition of each read request Transmission of data packet, and according to each data to be transmitted packet, obtain described first and interleave data;Wherein, each data to be transmitted includes The BEAT data packets to be transmitted of multiple marks for carrying the data to be transmitted packet, being identified as the data to be transmitted packet are described The mark of read request.
10. device according to claim 9, which is characterized in that described device further includes the first setup module, the acquisition Module includes the first storage unit, split cells and acquiring unit;
First setup module interleaves number for obtaining described first according to each data to be transmitted packet in the acquisition module According to before, according to the mark of the read request, one first buffering area is set for each read request, the first buffering area includes The mark of the read request;
First storage unit, the mark of the read request for being carried according to each data to be transmitted packet, is waited for described Transmission packet is preserved into the corresponding first buffering area of mark of the read request;
The split cells, it is multiple to be transmitted for splitting into the data to be transmitted packet preserved in each first buffering area BEAT data packets;
The acquiring unit, for according to preset reading order, BEAT to be transmitted to be read from each first buffering area Data packet obtains described first and interleaves data;The reading order is indicated from the mark of different read requests corresponding first The sequence of the BEAT data packets to be transmitted is read in buffering area.
CN201710258450.4A 2017-04-19 2017-04-19 Verification method and device for interleaving function of AXI (advanced extensible interface) cross switch Active CN108733529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710258450.4A CN108733529B (en) 2017-04-19 2017-04-19 Verification method and device for interleaving function of AXI (advanced extensible interface) cross switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710258450.4A CN108733529B (en) 2017-04-19 2017-04-19 Verification method and device for interleaving function of AXI (advanced extensible interface) cross switch

Publications (2)

Publication Number Publication Date
CN108733529A true CN108733529A (en) 2018-11-02
CN108733529B CN108733529B (en) 2021-08-10

Family

ID=63924817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710258450.4A Active CN108733529B (en) 2017-04-19 2017-04-19 Verification method and device for interleaving function of AXI (advanced extensible interface) cross switch

Country Status (1)

Country Link
CN (1) CN108733529B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112257381A (en) * 2020-10-26 2021-01-22 广州安凯微电子股份有限公司 AXI Crossbar design circuit verification method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007110706A (en) * 2005-10-12 2007-04-26 Samsung Electronics Co Ltd Noc system employing axi protocol
CN101950279A (en) * 2010-09-30 2011-01-19 华为技术有限公司 Method and bus system for balancing data information flow and decoder
CN103064774A (en) * 2013-01-16 2013-04-24 北京君正集成电路股份有限公司 Bus monitoring method and device applied to embedded system
CN103530211A (en) * 2013-10-12 2014-01-22 江苏华丽网络工程有限公司 PCIE loop back self-test method based on UVM platform
CN105095254A (en) * 2014-05-07 2015-11-25 深圳市中兴微电子技术有限公司 Method and apparatus for achieving data consistency
CN102801600B (en) * 2011-05-24 2016-04-20 清华大学 The maintaining method of buffer consistency and network-on-chip route in network-on-chip
CN105912492A (en) * 2016-04-01 2016-08-31 西北工业大学 Extension method of AXI interconnected bus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007110706A (en) * 2005-10-12 2007-04-26 Samsung Electronics Co Ltd Noc system employing axi protocol
CN101950279A (en) * 2010-09-30 2011-01-19 华为技术有限公司 Method and bus system for balancing data information flow and decoder
CN102801600B (en) * 2011-05-24 2016-04-20 清华大学 The maintaining method of buffer consistency and network-on-chip route in network-on-chip
CN103064774A (en) * 2013-01-16 2013-04-24 北京君正集成电路股份有限公司 Bus monitoring method and device applied to embedded system
CN103530211A (en) * 2013-10-12 2014-01-22 江苏华丽网络工程有限公司 PCIE loop back self-test method based on UVM platform
CN105095254A (en) * 2014-05-07 2015-11-25 深圳市中兴微电子技术有限公司 Method and apparatus for achieving data consistency
CN105912492A (en) * 2016-04-01 2016-08-31 西北工业大学 Extension method of AXI interconnected bus

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
任文婷: "面向SoC应用的AXI总线设计", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *
侯秋菊等: "IP可重用的AMBA AXI总线验证平台设计与实现", 《计算机工程与设计》 *
南方铁匠: "AXI协议中的模棱两可的含义的解释", 《HTTPS://BLOG.CSDN.NET/HIT_SHAOQI/ARTICLE/DETAILS/53243173》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112257381A (en) * 2020-10-26 2021-01-22 广州安凯微电子股份有限公司 AXI Crossbar design circuit verification method and system
CN112257381B (en) * 2020-10-26 2024-01-12 广州安凯微电子股份有限公司 AXI Crossbar design circuit verification method and system

Also Published As

Publication number Publication date
CN108733529B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN104301184A (en) Link health checking method and device
CN106371954A (en) 10-bit slave address-based I2C bus verification method and system
CN106326046B (en) The verification environment platform of Memory Controller
CN115130402B (en) Cache verification method, system, electronic equipment and readable storage medium
CN114168200B (en) System and method for verifying memory access consistency of multi-core processor
US8831903B2 (en) Test apparatus, test method and system
CN107797821A (en) Retry read method and the device using this method
CN110580235A (en) SAS expander communication method and device
CN103530166B (en) Verification platform and verification method for multi-channel chip based on virtual RAM
CN114444422A (en) Chip verification system, method and storage medium
US9201750B2 (en) Test apparatus and test module
CN108733529A (en) The verification method and device of plugging function between AXI crossbar switches
US9342425B2 (en) Test apparatus and test module
EP2321733A1 (en) Conveying information with a pci express tag field
CN116306398A (en) Verification platform of multi-channel IO interface IP and stopping algorithm thereof
US20130231885A1 (en) Test apparatus and test module
US9288161B2 (en) Verifying the functionality of an integrated circuit
CN114970428A (en) Verification system and method for Flexray bus controller in SoC
CN108334448A (en) Code verification method, apparatus and equipment
CN113535499B (en) Multi-type concurrent access memory stream verification method supporting multi-core shared access
US20070174751A1 (en) Method of using virtual inputs and outputs to automate testing of application software and hardware
CN101727375A (en) System and method for testing new-generation peripheral component interconnect express
CN106653098A (en) Test method of memory readable and writable for both logic and CPU
US20020157047A1 (en) Logical verification apparatus and method for memory control circuit
US9223670B2 (en) Test apparatus and test module

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing

Applicant after: Loongson Zhongke Technology Co.,Ltd.

Address before: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing

Applicant before: LOONGSON TECHNOLOGY Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant