CN107229793B - Test method and device for advanced extensible interface bus platform - Google Patents

Test method and device for advanced extensible interface bus platform Download PDF

Info

Publication number
CN107229793B
CN107229793B CN201710390999.9A CN201710390999A CN107229793B CN 107229793 B CN107229793 B CN 107229793B CN 201710390999 A CN201710390999 A CN 201710390999A CN 107229793 B CN107229793 B CN 107229793B
Authority
CN
China
Prior art keywords
slave
host
mode
axi bus
axi
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.)
Active
Application number
CN201710390999.9A
Other languages
Chinese (zh)
Other versions
CN107229793A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201710390999.9A priority Critical patent/CN107229793B/en
Publication of CN107229793A publication Critical patent/CN107229793A/en
Application granted granted Critical
Publication of CN107229793B publication Critical patent/CN107229793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/398Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2115/00Details relating to the type of the circuit
    • G06F2115/06Structured ASICs

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a method and a device for testing an advanced extensible interface (AXI) bus platform, which comprise the following steps: respectively testing whether the bus interface of each slave machine meets the AXI bus protocol specification, and if so, testing whether the single-host multi-slave-machine mode can normally run; respectively testing whether the bus interface of each host conforms to the AXI bus protocol specification, and if so, testing whether the single-slave multi-host mode can normally run; if the single-host multi-slave mode and the single-slave multi-host mode can normally operate, testing whether the multi-host multi-slave mode can normally operate; and if the AXI bus platform can normally run, determining that the AXI bus platform passes the test. According to the technical scheme provided by the invention, the bus interfaces of each host and each slave, the single-host multi-slave mode, the single-slave multi-host mode and the multi-host multi-slave mode are respectively tested at different levels, so that the test on the AXI bus platform is effectively finished, and whether the AXI bus platform can normally run or not is determined.

Description

Test method and device for advanced extensible interface bus platform
Technical Field
The present invention relates to digital circuit design technology, and is especially test method and device for high level extensible interface bus platform.
Background
With the development of Very Large Scale Integration (VLSI) process technology, more and more transistors can be integrated On a single Chip, so that the whole System can be integrated On one Chip, which is called a System On Chip (SoC) and is a product of the continuous development of integrated circuit process. There are many SoC design methods, wherein the design method based on an Advanced eXtensible Interface (AXI) bus platform is a common SoC design method.
The AXI Bus platform is established based on an AXI Bus protocol, which is an important part in an Advanced Microcontroller Bus Architecture (AMBA) protocol proposed by ARM company and is an on-chip Bus protocol oriented to high performance, high bandwidth and low delay.
The design method of the AXI bus platform can meet the requirements of an ultra-high-performance and complex SoC design method, but for the established AXI bus platform, a method for testing whether the built AXI bus platform can normally run or not is lacked in the related technology.
Disclosure of Invention
In order to solve the above technical problems, the present invention provides a method and an apparatus for testing an AXI bus platform, which can fully and effectively complete the test on the AXI bus platform.
In order to achieve the object of the present invention, the present invention provides a method for testing an AXI bus platform, including:
testing whether a bus interface of each slave conforms to an AXI bus protocol specification;
if the bus interface of each slave machine conforms to the AXI bus protocol specification, testing whether the single-host multi-slave-machine mode can normally run;
testing whether a bus interface of each host conforms to an AXI bus protocol specification;
if the bus interface of each host conforms to the AXI bus protocol specification, testing whether the single-slave multi-host mode can normally run;
if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, testing whether the multi-host multi-slave mode can normally operate or not;
and if the multi-host multi-slave mode can normally run, determining that the AXI bus platform passes the test.
Before the testing whether the bus interface of each slave conforms to the AXI bus protocol specification, the method further includes:
establishing the AXI bus platform; wherein, the AXI bus platform comprises a test host, an arbiter and a decoder.
The testing whether the single-host multi-slave mode can normally operate or not comprises the following steps:
if the bus interface of each slave machine conforms to the AXI bus protocol specification, all the slave machines are accessed into the AXI bus platform to form the single-host multi-slave-machine mode;
and running a first preset script program to test whether the single-host multi-slave mode can normally run, wherein the first script program is a program which is written according to the AXI bus protocol and relates to a host and a plurality of slaves.
The testing whether the single-slave-machine multi-host mode can normally operate or not comprises the following steps:
if the bus interface of each host conforms to the AXI bus protocol specification, all the hosts and any one slave are accessed into the AXI bus platform to form the single-slave multi-host mode;
and running a second preset script program to test whether the single-host multi-slave mode can normally run, wherein the second script program is a program which is written according to the AXI bus protocol and relates to one slave and a plurality of hosts.
The testing whether the multi-host and multi-slave mode can normally operate comprises the following steps:
if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, all hosts and all slaves are accessed into the AXI bus platform to form the multi-host multi-slave mode;
and running a third preset script program to test whether the multi-host multi-slave mode can normally run, wherein the third script program is a program which is written according to the AXI bus protocol and relates to a plurality of slaves and a plurality of hosts.
The invention also provides a testing device of the AXI bus platform, which comprises:
the first testing module is used for testing whether the bus interface of each slave machine conforms to the AXI bus protocol specification;
the second testing module is used for testing whether the single-host multi-slave mode can normally run or not if the bus interface of each slave conforms to the AXI bus protocol specification;
the third testing module is used for testing whether the bus interface of each host conforms to the AXI bus protocol specification;
the fourth testing module is used for testing whether the single-slave multi-host mode can normally run or not if the bus interface of each host conforms to the AXI bus protocol specification;
the fifth testing module is used for testing whether the multi-host and multi-slave mode can normally operate or not if the single-host and multi-slave mode can normally operate and the single-slave and multi-host mode can normally operate;
and the processing module is used for determining that the AXI bus platform passes the test if the multi-host multi-slave mode can normally run.
Further comprising:
a pre-processing module to establish the AXI bus platform.
The second test module is specifically configured to:
if the bus interface of each slave machine conforms to the AXI bus protocol specification, all the slave machines are accessed into the AXI bus platform to form the single-host multi-slave-machine mode;
and running a first preset script program to test whether the single-host multi-slave mode can normally run, wherein the first script program is a program which is written according to the AXI bus protocol and relates to a host and a plurality of slaves.
The fourth test module is specifically configured to:
if the bus interface of each host conforms to the AXI bus protocol specification, all the hosts and any one slave are accessed into the AXI bus platform to form the single-slave multi-host mode;
and running a second preset script program to test whether the single-host multi-slave mode can normally run, wherein the second script program is a program which is written according to the AXI bus protocol and relates to one slave and a plurality of hosts.
The fifth testing module is specifically configured to:
if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, all hosts and all slaves are accessed into the AXI bus platform to form the multi-host multi-slave mode;
and running a third preset script program to test whether the multi-host multi-slave mode can normally run, wherein the third script program is a program which is written according to the AXI bus protocol and relates to a plurality of slaves and a plurality of hosts.
Compared with the prior art, the method at least comprises the steps of testing whether the bus interface of each slave machine conforms to the AXI bus protocol specification; if the bus interface of each slave machine conforms to the AXI bus protocol specification, testing whether the single-host multi-slave-machine mode can normally operate; testing whether a bus interface of each host conforms to an AXI bus protocol specification; if the bus interface of each host conforms to the AXI bus protocol specification, testing whether the single-slave multi-host mode can normally run; if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, testing whether the multi-host multi-slave mode can normally operate or not; and if the multi-host multi-slave mode can normally run, determining that the AXI bus platform passes the test. According to the technical scheme provided by the invention, the bus interface of each host, the bus interface of each slave, the single-host multi-slave mode, the single-slave multi-host mode and the multi-host multi-slave mode are respectively tested at different levels, so that the test on the AXI bus platform is fully and effectively completed, and whether the AXI bus platform can normally run or not is determined.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a schematic flowchart illustrating an AXI bus platform testing method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another method for testing an AXI bus platform according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a conventional AXI bus platform according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a testing apparatus for an AXI bus platform according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another testing apparatus for a high AXI bus platform according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
An embodiment of the present invention provides a method for testing an AXI bus platform, as shown in fig. 1, the method includes:
step 101, testing whether the bus interface of each slave conforms to the AXI bus protocol specification.
Specifically, the testing whether the bus interface of each slave conforms to the AXI bus protocol specification refers to accessing the slaves one by one, and then testing whether the bus interface of the accessed slave conforms to the AXI bus protocol specification. If the slave is a low-speed slave, the AXI Bus platform can be accessed through an Advanced eXtensible Interface to Peripheral Bus (AXI-to-APB) bridge.
And 102, if the bus interface of each slave machine conforms to the AXI bus protocol specification, testing whether the single-host multi-slave-machine mode can normally run.
Step 103, testing whether the bus interface of each host conforms to the AXI bus protocol specification.
Specifically, testing whether the bus interface of each host conforms to the AXI bus protocol specification refers to accessing the hosts one by one, and then testing whether the bus interface of the accessed host conforms to the AXI bus protocol specification.
And step 104, if the bus interface of each host conforms to the AXI bus protocol specification, testing whether the single-slave multi-host mode can normally run.
It should be noted that there is no strict order relationship between steps 101 and 103, that is, step 101 may be executed first, or step 103 may be executed first. However, there is a strict sequence relationship between the steps 101 and 102, that is, only when the step 101 is executed, the step 102 is executed; likewise, there is a strict order relationship between steps 103, 104, i.e. step 104 is only executed when step 103 is executed.
And 105, if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, testing whether the multi-host multi-slave mode can normally operate or not.
It should be noted that, whether the test of the multi-master multi-slave mode can be performed normally is whether the tested AXI-specific bus platform can be performed normally.
And 106, if the multi-host multi-slave mode can normally run, determining that the AXI bus platform passes the test.
The test method of the AXI bus platform provided by the embodiment of the invention tests whether the bus interface of each slave machine conforms to the AXI bus protocol specification; if the bus interface of each slave machine conforms to the AXI bus protocol specification, testing whether the single-host multi-slave-machine mode can normally operate; testing whether a bus interface of each host conforms to an AXI bus protocol specification; if the bus interface of each host conforms to the AXI bus protocol specification, testing whether the single-slave multi-host mode can normally run; if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, testing whether the multi-host multi-slave mode can normally operate or not; and if the multi-host multi-slave mode can normally run, determining that the AXI bus platform passes the test. According to the technical scheme provided by the invention, the bus interface of each host, the bus interface of each slave, the single-host multi-slave mode, the single-slave multi-host mode and the multi-host multi-slave mode are respectively tested at different levels, so that the test on the AXI bus platform is fully and effectively completed, and whether the AXI bus platform can normally run or not is determined.
An embodiment of the present invention provides another method for testing an AXI bus platform, as shown in fig. 2, the method includes:
step 201, establishing an AXI bus platform.
The AXI bus platform comprises a test host, a decoder and an arbiter, wherein the common AXI bus platform also comprises a module to be tested, as shown in fig. 3, the module to be tested 31 is used for adding a host and a slave to realize that the devices can be accessed into the AXI bus platform, the test host 32 is used for testing the devices accessed into the AXI bus platform, and the decoder 33 is used for determining the slave which is communicated with the test host from a plurality of slaves accessed into the AXI bus platform; the arbiter 34 is used to determine a master from a plurality of masters accessing the AXI bus platform to communicate with a slave accessing the AXI bus platform.
Step 202, testing whether the bus interface of each slave machine conforms to the AXI bus protocol specification.
And 203, if the bus interface of each slave machine conforms to the AXI bus protocol specification, accessing all the slave machines into the AXI bus platform to form a single-host multi-slave machine mode.
And 204, running a first preset script program to test whether the single-host multi-slave mode can run normally.
Wherein the first script program is a program written according to the AXI bus protocol that involves one master and a plurality of slaves.
It should be noted that, through the execution of steps 203 and 204, on one hand, the operation condition of the single-master multi-slave mode can be effectively tested, and at the same time, the working performance of the decoder can also be effectively tested.
Step 205, testing whether the bus interface of each host conforms to the AXI bus protocol specification.
And step 206, if the bus interface of each host conforms to the AXI bus protocol specification, accessing all the hosts and any one slave into the AXI bus platform to form a single-slave multi-host mode.
And step 207, running a second preset script program to test whether the single-host multi-slave mode can run normally.
Wherein the second script program is a program written according to the AXI bus protocol that involves one slave and a plurality of hosts.
It should be noted that, through the execution of steps 206 and 207, on one hand, the operation condition of the single-slave multi-master mode can be effectively tested, and at the same time, the working performance of the arbiter can be effectively tested.
It should be noted that there is no strict order relationship between the steps 202 and 205, that is, the step 202 may be executed first, or the step 205 may be executed first. However, there is a strict order relationship between steps 202, 203 and 204, i.e. steps 203 and 204 are only executed if step 202 is executed; likewise, there is a strict order relationship between steps 205, 206 and 207, i.e. steps 206, 207 are only executed if step 205 is executed.
And step 208, if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, all the hosts and all the slaves are connected into the AXI bus platform to form a multi-host multi-slave mode.
And 209, running a third preset script program to test whether the multi-host multi-slave mode can run normally.
Wherein the third script program is a program written according to the AXI bus protocol involving a plurality of slaves and a plurality of hosts.
Step 210, if the multi-master multi-slave mode can normally operate, determining that the AXI bus platform passes the test.
It should be noted that, for the explanation of the same steps or concepts in the present embodiment as in the other embodiments, reference may be made to the description in the other embodiments.
The test method of the AXI bus platform provided by the embodiment of the invention tests whether the bus interface of each slave machine conforms to the AXI bus protocol specification; if the bus interface of each slave machine conforms to the AXI bus protocol specification, testing whether the single-host multi-slave-machine mode can normally operate; testing whether a bus interface of each host conforms to an AXI bus protocol specification; if the bus interface of each host conforms to the AXI bus protocol specification, testing whether the single-slave multi-host mode can normally run; if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, testing whether the multi-host multi-slave mode can normally operate or not; and if the multi-host multi-slave mode can normally run, determining that the AXI bus platform passes the test. According to the technical scheme provided by the invention, the bus interface of each host, the bus interface of each slave, the single-host multi-slave mode, the single-slave multi-host mode and the multi-host multi-slave mode are respectively tested at different levels, so that the test on the AXI bus platform is fully and effectively completed, and whether the AXI bus platform can normally run or not is determined.
An embodiment of the present invention provides a testing apparatus for an AXI bus platform, as shown in fig. 4, where the apparatus 4 includes:
a first testing module 41, configured to test whether the bus interface of each slave conforms to the AXI bus protocol specification.
The second testing module 42 is configured to test whether the single-master multi-slave mode can operate normally if the bus interface of each slave conforms to the AXI bus protocol specification.
A third testing module 43, configured to test whether the bus interface of each host conforms to the AXI bus protocol specification.
The fourth testing module 44 is configured to test whether the single-slave multi-host mode can operate normally if the bus interface of each host conforms to the AXI bus protocol specification.
And a fifth testing module 45, configured to test whether the multi-master and multi-slave mode can operate normally if the single-master and multi-slave mode can operate normally and the single-slave and multi-master mode can operate normally.
And the processing module 46 is configured to determine that the AXI bus platform passes the test if the multi-master multi-slave mode can normally operate.
Further, on the basis of the embodiment corresponding to fig. 4, another test apparatus for an AXI bus platform is provided in the embodiment of the present invention, as shown in fig. 5, the test apparatus 4 for an AXI bus platform further includes:
a preprocessing module 47 for establishing an AXI bus platform.
Further, the second testing module 42 is specifically configured to:
if the bus interface of each slave machine conforms to the AXI bus protocol specification, all the slave machines are accessed into an AXI bus platform to form a single-host multi-slave machine mode; and running a first preset script program to test whether the single-host multi-slave mode can normally run, wherein the first script program is a program which is written according to an AXI bus protocol and relates to a host and a plurality of slaves.
The fourth test module 44 is specifically configured to:
if the bus interface of each host conforms to the AXI bus protocol specification, all the hosts and any one slave are accessed into the AXI bus platform to form a single-slave multi-host mode; and running a second preset script program to test whether the single-host multi-slave mode can normally run, wherein the second script program is a program which is written according to the AXI bus protocol and relates to one slave and a plurality of hosts.
The fifth testing module 45 is specifically configured to:
if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, all hosts and all slaves are connected into the AXI bus platform to form a multi-host multi-slave mode; and running a third preset script program to test whether the multi-host multi-slave mode can normally run, wherein the third script program is a program which is written according to the AXI bus protocol and relates to a plurality of slaves and a plurality of hosts.
The test device of the AXI bus platform provided by the embodiment of the invention tests whether the bus interface of each slave machine conforms to the AXI bus protocol specification; if the bus interface of each slave machine conforms to the AXI bus protocol specification, testing whether the single-host multi-slave-machine mode can normally operate; testing whether a bus interface of each host conforms to an AXI bus protocol specification; if the bus interface of each host conforms to the AXI bus protocol specification, testing whether the single-slave multi-host mode can normally run; if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, testing whether the multi-host multi-slave mode can normally operate or not; and if the multi-host multi-slave mode can normally run, determining that the AXI bus platform passes the test. According to the technical scheme provided by the invention, the bus interface of each host, the bus interface of each slave, the single-host multi-slave mode, the single-slave multi-host mode and the multi-host multi-slave mode are respectively tested at different levels, so that the test on the AXI bus platform is fully and effectively completed, and whether the AXI bus platform can normally run or not is determined.
In practical applications, the first test module 41, the second test module 42, the third test module 43, the fourth test module 44, the fifth test module 45, the Processing module 46, and the preprocessing module 47 can be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like, which are located in a test device of the AXI bus platform.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A test method for an advanced extensible interface (AXI) bus platform is characterized by comprising the following steps:
testing whether a bus interface of each slave conforms to an AXI bus protocol specification;
if the bus interface of each slave machine conforms to the AXI bus protocol specification, testing whether the single-host multi-slave-machine mode can normally run;
testing whether a bus interface of each host conforms to an AXI bus protocol specification;
if the bus interface of each host conforms to the AXI bus protocol specification, testing whether the single-slave multi-host mode can normally run;
if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, testing whether the multi-host multi-slave mode can normally operate or not;
and if the multi-host multi-slave mode can normally run, determining that the AXI bus platform passes the test.
2. The method of claim 1, wherein before testing whether the bus interface of each slave conforms to the AXI bus protocol specification, the method further comprises:
establishing the AXI bus platform; wherein, the AXI bus platform comprises a test host, an arbiter and a decoder.
3. The method according to claim 2, wherein the testing whether the single-master multi-slave mode can normally operate comprises:
if the bus interface of each slave machine conforms to the AXI bus protocol specification, all the slave machines are accessed into the AXI bus platform to form the single-host multi-slave-machine mode;
and running a first preset script program to test whether the single-host multi-slave mode can normally run, wherein the first preset script program is a program which is written according to the AXI bus protocol and relates to a host and a plurality of slaves.
4. The method according to claim 2, wherein the step of testing whether the single-slave multi-master mode can normally operate comprises the following steps:
if the bus interface of each host conforms to the AXI bus protocol specification, all the hosts and any one slave are accessed into the AXI bus platform to form the single-slave multi-host mode;
and running a second preset script program to test whether the single-host multi-slave mode can normally run, wherein the second preset script program is a program which is written according to the AXI bus protocol and relates to one slave and a plurality of hosts.
5. The method for testing the AXI bus platform of claim 2, wherein the testing whether the multi-master multi-slave mode is capable of operating normally comprises:
if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, all hosts and all slaves are accessed into the AXI bus platform to form the multi-host multi-slave mode;
and running a third preset script program to test whether the multi-host multi-slave mode can normally run, wherein the third preset script program is a program which is written according to the AXI bus protocol and relates to a plurality of slaves and a plurality of hosts.
6. A test apparatus for an advanced extensible interface AXI bus platform, comprising:
the first testing module is used for testing whether the bus interface of each slave machine conforms to the AXI bus protocol specification;
the second testing module is used for testing whether the single-host multi-slave mode can normally run or not if the bus interface of each slave conforms to the AXI bus protocol specification;
the third testing module is used for testing whether the bus interface of each host conforms to the AXI bus protocol specification;
the fourth testing module is used for testing whether the single-slave multi-host mode can normally run or not if the bus interface of each host conforms to the AXI bus protocol specification;
the fifth testing module is used for testing whether the multi-host and multi-slave mode can normally operate or not if the single-host and multi-slave mode can normally operate and the single-slave and multi-host mode can normally operate;
and the processing module is used for determining that the AXI bus platform passes the test if the multi-host multi-slave mode can normally run.
7. The testing device of claim 6, further comprising:
a pre-processing module to establish the AXI bus platform.
8. The testing device of claim 7, wherein the second testing module is specifically configured to:
if the bus interface of each slave machine conforms to the AXI bus protocol specification, all the slave machines are accessed into the AXI bus platform to form the single-host multi-slave-machine mode;
and running a first preset script program to test whether the single-host multi-slave mode can normally run, wherein the first preset script program is a program which is written according to the AXI bus protocol and relates to a host and a plurality of slaves.
9. The testing device of claim 7, wherein the fourth testing module is specifically configured to:
if the bus interface of each host conforms to the AXI bus protocol specification, all the hosts and any one slave are accessed into the AXI bus platform to form the single-slave multi-host mode;
and running a second preset script program to test whether the single-host multi-slave mode can normally run, wherein the second preset script program is a program which is written according to the AXI bus protocol and relates to one slave and a plurality of hosts.
10. The testing device of claim 7, wherein the fifth testing module is specifically configured to:
if the single-host multi-slave mode can normally operate and the single-slave multi-host mode can normally operate, all hosts and all slaves are accessed into the AXI bus platform to form the multi-host multi-slave mode;
and running a third preset script program to test whether the multi-host multi-slave mode can normally run, wherein the third preset script program is a program which is written according to the AXI bus protocol and relates to a plurality of slaves and a plurality of hosts.
CN201710390999.9A 2017-05-27 2017-05-27 Test method and device for advanced extensible interface bus platform Active CN107229793B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710390999.9A CN107229793B (en) 2017-05-27 2017-05-27 Test method and device for advanced extensible interface bus platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710390999.9A CN107229793B (en) 2017-05-27 2017-05-27 Test method and device for advanced extensible interface bus platform

Publications (2)

Publication Number Publication Date
CN107229793A CN107229793A (en) 2017-10-03
CN107229793B true CN107229793B (en) 2020-12-01

Family

ID=59933833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710390999.9A Active CN107229793B (en) 2017-05-27 2017-05-27 Test method and device for advanced extensible interface bus platform

Country Status (1)

Country Link
CN (1) CN107229793B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992675B (en) * 2017-11-29 2020-12-15 中国电子科技集团公司第五十四研究所 Method for testing arbitration circuit in EDA (electronic design automation) verification stage
CN112257381B (en) * 2020-10-26 2024-01-12 广州安凯微电子股份有限公司 AXI Crossbar design circuit verification method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020395A (en) * 2012-12-31 2013-04-03 上海高清数字科技产业有限公司 Method and system for verifying demultiplexing interface module
CN106407554A (en) * 2016-09-14 2017-02-15 郑州云海信息技术有限公司 LPC bus simulation verification method and device capable of simultaneously supporting master and slave machine functions

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011095978A (en) * 2009-10-29 2011-05-12 Renesas Electronics Corp Bus system and bus control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020395A (en) * 2012-12-31 2013-04-03 上海高清数字科技产业有限公司 Method and system for verifying demultiplexing interface module
CN106407554A (en) * 2016-09-14 2017-02-15 郑州云海信息技术有限公司 LPC bus simulation verification method and device capable of simultaneously supporting master and slave machine functions

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于VerilogHDL的I2C总线分析器;高博 等;《嵌入式***应用》;20090315;第25卷(第3-2期);14-16 *

Also Published As

Publication number Publication date
CN107229793A (en) 2017-10-03

Similar Documents

Publication Publication Date Title
US9436785B1 (en) Hierarchical preset and rule based configuration of a system-on-chip
CN106663061B (en) Virtualization of memory for programmable logic
CN115146568B (en) Chip verification system and verification method based on UVM
CN103218338B (en) The real-time many DSP debug system of a kind of signal processor system
EP3369015B1 (en) Methods and circuits for debugging circuit designs
US8914566B2 (en) Managing interrupts
US8041867B2 (en) Method and apparatus for enhancing data rate of advanced micro-controller bus architecture
KR20130101927A (en) Multi-core soc having a function of debugging
WO2018218954A1 (en) Verification platform and verification method, and computer storage medium
US10078113B1 (en) Methods and circuits for debugging data bus communications
US9222976B1 (en) Methods and circuits for debugging multiple IC packages
CN107229793B (en) Test method and device for advanced extensible interface bus platform
CN107290654A (en) A kind of fpga logic test structure and method
CN116746064A (en) Lock step comparator and related method
CN112115047A (en) Delay testing method and system for hard real-time operating system
US8645897B1 (en) Integrated circuit design verification system
CN112417800B (en) Integrated circuit processing method, integrated circuit verification device and electronic equipment
CN104575615A (en) Device and method for built-in self-test memory
CN116306408B (en) Verification environment determination method, device, equipment and storage medium of System On Chip (SOC)
US10275259B1 (en) Multi-stage booting of integrated circuits
CN108595297B (en) UPI speed detection method and device
CN114398214A (en) Performance verification method and device, storage medium and computer equipment
US11755441B2 (en) Debugging unit and processor
Neishaburi et al. On a new mechanism of trigger generation for post-silicon debugging
CN116841697B (en) Method for processing MMIO request, electronic device and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20201102

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601

Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant