WO2020259339A1 - 总线监控装置及方法、存储介质、电子装置 - Google Patents
总线监控装置及方法、存储介质、电子装置 Download PDFInfo
- Publication number
- WO2020259339A1 WO2020259339A1 PCT/CN2020/096133 CN2020096133W WO2020259339A1 WO 2020259339 A1 WO2020259339 A1 WO 2020259339A1 CN 2020096133 W CN2020096133 W CN 2020096133W WO 2020259339 A1 WO2020259339 A1 WO 2020259339A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- test
- monitoring
- information
- message
- channel
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0745—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in an input/output transactions management context
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/263—Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3027—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a bus
Definitions
- This application relates to the field of electronics, for example, to a bus monitoring device and method, storage medium, and electronic device.
- the main principle of the bus monitoring technology that has been developed in the industry is to choose to record all the behaviors of the bus nodes, and then form a data stream through packetization and compression, and send it to the internal cache of the chip system for storage, or through the port of the chip system Send it to an off-chip memory module for storage.
- This function is generally called the trace method in the industry, which is similar to the oscilloscope for signal sampling and storage, and then restores it for analysis by debuggers.
- Large chip companies in the industry generally adopt self-developed bus debugging systems, including tool chains, and so on. For example, Advanced RISC Machines (ARM) companies define Coresight, a debugging component for buses.
- ARM Advanced RISC Machines
- the above-mentioned ARM company's bus debugging technology (debugging component) is still similar to the monitoring method in related technologies. In principle, it cannot support real-time positioning problems, but is a passive debugging method after the fact. Specifically, other methods appear in the operation of the chip system After the problem, the tester can check the history of the bus and analyze it afterwards to locate where the problem occurred. The workload and requirements for analysis and positioning are relatively high.
- the embodiments of the present application provide a bus monitoring device and method, a storage medium, and an electronic device to solve the technical problem in related technologies that the chip system cannot perform real-time monitoring of nodes during operation.
- a bus monitoring device including:
- a plurality of monitoring modules are configured to be set in the bus, and each monitoring module is configured to be set in a sub-system to be tested in the bus; wherein, the plurality of monitoring modules are connected in series by using a ring topology structure.
- a control module configured to obtain a test vector, and send a test message to one monitoring module of the plurality of monitoring modules according to the test vector to transmit the test message among the plurality of monitoring modules;
- the monitoring module is configured to execute the test message and obtain the test information of the sub-system to be tested, wherein the test information of the sub-system to be tested is set to instruct to perform the test in the monitoring module In the case of a message, the bus information of the subsystem under test.
- a bus monitoring method applied to a control module including:
- a plurality of monitoring nodes are set in the bus, and each of the monitoring nodes is set in a sub-system to be tested in the bus; wherein, the plurality of monitoring nodes are connected in series with a ring topology;
- test vector is used to instruct the monitoring node to execute the test message and obtain the test information of the subsystem under test, wherein the test information of the subsystem under test is used to indicate Information of the bus of the subsystem to be tested in the case that the monitoring node executes the test message.
- a bus monitoring method applied to a monitoring node including:
- a plurality of monitoring nodes are set in the bus, and each of the monitoring nodes is set in a sub-system to be tested in the bus; wherein, the plurality of monitoring nodes are connected in series with a ring topology;
- test information of the subsystem to be tested is used to indicate that when the monitoring node executes the test message, the Information about the bus of the test subsystem;
- test message is delivered by the control module to one monitoring node of the plurality of monitoring nodes according to the acquired test vector to transmit the test message among the plurality of monitoring nodes.
- a bus monitoring device applied to a control module including:
- the topology unit is configured to set a plurality of monitoring nodes in the bus, and each of the monitoring nodes is set in a sub-system to be tested in the bus; wherein, a ring topology structure is adopted between the plurality of monitoring nodes.
- the control unit is configured to obtain a test vector, and according to the test vector, deliver a test message to one monitoring node of the plurality of monitoring nodes to transmit the test message among the plurality of monitoring nodes;
- the test vector is set to instruct the monitoring node to execute the test message and obtain the test information of the subsystem under test, wherein the test information of the subsystem under test is used to indicate Information of the bus of the subsystem to be tested in the case that the monitoring node executes the test message.
- a bus monitoring device applied to a monitoring node including:
- the topology unit is configured to set a plurality of monitoring nodes in the bus, and each of the monitoring nodes is set in a sub-system to be tested in the bus; wherein, a ring topology structure is adopted between the plurality of monitoring nodes.
- the monitoring unit is configured to receive and execute a test message, and obtain test information of the sub-system to be tested, and the test information of the sub-system to be tested is set to indicate the execution of the test message on the monitoring node Next, the bus information of the subsystem under test;
- test message is delivered by the control module to the multiple monitoring nodes for transmission according to the acquired test vector.
- a storage medium in which a computer program is stored, and the computer program is configured to execute the steps in any one of the foregoing method embodiments when running.
- an electronic device including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute any of the above Steps in the method embodiment.
- Fig. 1 is a functional schematic diagram (1) of a bus monitoring device provided according to an embodiment of the present application
- FIG. 2 is a structural block diagram of a monitoring module provided according to an embodiment of the present application.
- Fig. 3 is a structural block diagram of a control module provided according to an embodiment of the present application.
- Fig. 4 is a functional schematic diagram (2) of a bus monitoring device provided according to an embodiment of the present application.
- FIG. 5 is a flowchart (1) of a bus monitoring method provided according to an embodiment of the present application.
- Fig. 6 is a flowchart (2) of a bus monitoring method provided according to an embodiment of the present application.
- Fig. 7 is a flowchart of a scenario embodiment one provided according to an embodiment of the present application.
- FIG. 8 is a flowchart of a second scenario embodiment according to an embodiment of the present application.
- Fig. 9 is a flowchart of a third scenario embodiment according to an embodiment of the present application.
- Fig. 10 is a flowchart of a fourth scenario embodiment provided according to an embodiment of the present application.
- Fig. 11 is a flowchart (3) of a bus monitoring method provided according to an embodiment of the present application.
- Figure 12 is a structural block diagram (1) of a bus monitoring device provided according to an embodiment of the present application.
- Fig. 13 is a structural block diagram (2) of a bus monitoring method provided according to an embodiment of the present application.
- the bus protocol in the chip system is generally based on multi-channel processing.
- AXI Advanced Extensible Interface
- AR read address channel
- R Read data channel
- AW write address channel
- W write data channel
- B write response channel
- FIG. 1 is a functional schematic diagram (1) of the bus monitoring device according to an embodiment of the application. As shown in FIG. 1, the bus monitoring device includes:
- a plurality of monitoring modules 102 are configured to be set in the bus, and each monitoring module 102 is configured to be set in a sub-system under test in the bus; among them, the plurality of monitoring modules 102 are connected in series with a ring topology.
- the control module 104 is set to obtain the test vector, and according to the test vector, the test message is sent to a plurality of monitoring modules 102 for transmission; the monitoring module 102 is set to execute the test message and obtain the test information of the subsystem to be tested , Where, the test information of the subsystem under test is used to instruct the monitoring module to execute the test message, the information of the bus of the subsystem under test.
- the bus monitoring device since the bus monitoring device includes a plurality of monitoring modules set in the bus, each of the monitoring modules is configured to be set in a sub-system under test in the bus.
- a ring topology is adopted for serial connection between a plurality of the monitoring modules; the bus monitoring device obtains a test vector through the control module, and sends a test message to the plurality of monitoring modules according to the test vector Transmission; the monitoring module can execute the test message and obtain the test information of the sub-system to be tested, wherein the test information of the sub-system to be tested is used to instruct the monitoring module to execute the When testing a message, the bus information of the subsystem under test. Therefore, the bus monitoring device in this embodiment can solve the technical problem in the related art that the chip system cannot perform real-time monitoring of nodes during operation, so as to achieve the effect of real-time monitoring of nodes during the operation of the chip system.
- the bus monitoring device in this embodiment can obtain information about the bus of the sub-system to be tested by executing the test message by the monitoring module during the operation of multiple sub-systems to be tested in the bus.
- Real-time monitoring of the test subsystem on the one hand, when a problem occurs in the bus operation, the debugger can quickly locate the node (that is, the subsystem under test) where the problem is located, which improves the efficiency of locating and solving bus problems; on the other hand
- the bus device in this embodiment does not need to follow the tracking and monitoring method of recording all the actions of the sub-system under test in the related technology, this embodiment can effectively reduce the logic processing resources and storage resources set for monitoring. , In order to reduce system cost or pressure.
- the multiple monitoring modules in this embodiment are set independently of each other. Therefore, the independent testability of different subsystems to be tested in the system can be effectively improved, and the coupling between multiple subsystems to be tested can be reduced; the hardware in the system
- the bus monitoring device in this embodiment can also add a monitoring module and connect the newly added monitoring module to the original topology to realize the free configuration of the subsystem under test in the system. To increase the flexibility of monitoring.
- the network formed by the ring topology formed by multiple monitoring modules can be referred to as a token ring network, and the connection between multiple monitoring modules is the end-to-end serial connection between multiple monitoring modules.
- control module 104 is configured to issue a test message to multiple monitoring modules for transmission according to the test vector, including: the control module is configured to obtain the test vector, and analyze the test vector to obtain the test message , And send test messages to multiple monitoring modules for transmission.
- the test message in this embodiment adopts a data message in a specified frame format, and the data message includes: header information, instruction identification number (Identity, ID) information, operation command information, instruction address information, and message Length information and command data information.
- control module 104 is configured to send test messages to multiple monitoring modules for transmission according to the test vector, and further includes: the control module is configured to obtain the test vector, and analyze the test vector to obtain the test report.
- the configuration message is generated according to the test message, and the configuration message is sent to multiple sub-systems under test in the bus, where the configuration message is used to instruct multiple sub-systems under test to perform configuration processing according to the configuration message; After the multiple subsystems to be tested have completed the configuration processing, test messages are sent to multiple monitoring modules for transmission.
- the configuration message is used to configure multiple subsystems under test according to the requirements in the test vector, for example, turn on the corresponding registers in the subsystem under test, or set corresponding matching values in the registers according to the requirements of the test vector, etc. .
- the test message includes a plurality of test sub-messages, and each test sub-message carries first identification information, and the first identification information is used to identify the subsystem to be tested; the test sub-messages are used for The monitoring module is instructed to execute the test sub-message according to the first identification information, wherein the monitoring module is a monitoring module set in the subsystem to be tested identified by the first identification information.
- the multiple test sub-messages contained in the test message are respectively used to instruct the monitoring modules set in different subsystems to be tested to execute the corresponding test sub-messages.
- the first identification information in the test sub-messages can usually be The address information of the sub-system to be tested, but not limited to this, any identification information that can identify different sub-systems to be tested can be used as the first identification information, such as the ID of the device to be tested, or a combination of multiple identification information.
- the application is not limited.
- the control module transmits the test message to multiple monitoring modules, whether it is a write or read operation, it is a 32-bit data message, and the first identification information is carried in the data message.
- the control module sends a test message encapsulated according to the set frame format to multiple monitoring modules.
- the test message includes the ID number, the write control signal, the address of the subsystem under test, and the subsystem under test.
- the address of the register and the data to be written, where the address of the subsystem under test can indicate the first identification information to identify the address of the subsystem under test.
- any monitoring module receives the above test message, it can transmit between the token ring network formed by multiple monitoring modules.
- each monitoring module After each monitoring module receives the test message, it detects whether the address of the corresponding subsystem under test matches the address of the subsystem under test in the data. If it does not match, it will continue to the next monitoring module in serial form. Transmission for processing by the next monitoring module; if the match is consistent, after the write operation corresponding to the address is executed, the original data is still transmitted intact in serial form to the next monitoring module; if all the subsystems to be tested If the addresses do not match, the original data will be transmitted back to the test control module intact.
- the monitoring module 102 in this embodiment can generally be composed of a monitoring connection unit 1022 and a monitoring implementation unit 1024, wherein the monitoring connection unit 1022 is configured to realize the connection between the monitoring module and the sub-system under test, and the test of the sub-system under test Information is read, encapsulated, and transmitted; the monitoring implementation unit 1024 is set to implement monitoring of the subsystem under test.
- the receiving of the test message by the above monitoring module can be realized by the monitoring connection unit, and the monitoring of the subsystem under test is to detect whether the address of the corresponding subsystem under test matches the address of the subsystem under test in the data.
- the implementation unit 1024 is implemented.
- FIG. 2 is a structural block diagram of a monitoring module provided according to an embodiment of the present application. The internal functional structure of the monitoring module 104 is as shown in FIG. 2.
- the monitoring module includes a first monitoring implementation unit and a second monitoring implementation unit.
- the first monitoring implementation unit is configured to obtain the first test information of the subsystem to be tested, and the second monitoring implementation unit is configured to obtain the The second test information of the test subsystem; wherein the first test information of the test subsystem includes the information of the write address channel, the write data channel and the write response channel of the bus of the test subsystem; the second test of the test subsystem The information includes the read address channel and read data channel of the bus of the subsystem under test.
- the above-mentioned setting of the first monitoring implementation unit and the second monitoring implementation unit can make the write address channel, write data channel, and write response channel in the bus information of each subsystem under test time-division multiplex the first monitoring implementation unit, and make The information of the read address channel and the read data channel in the bus information of each subsystem to be tested is time-division multiplexed with the second monitoring implementation unit, so as to ensure that the monitoring module monitors the bus information of the aforementioned subsystem to be tested, Save 3 channels of implementation units to save logic processing resources and storage resources.
- the monitoring module in this embodiment can usually be composed of a monitoring connection unit and a monitoring implementation unit, where the monitoring connection unit is configured to realize the connection between the monitoring module and the subsystem under test, and to read the test information of the subsystem under test , Packaging and transmission, etc.; the monitoring implementation unit is set to implement the monitoring of the sub-system under test.
- the receiving of the test message by the above monitoring module can be realized by the monitoring connection unit, and the monitoring of the subsystem under test is to detect whether the address of the corresponding subsystem under test matches the address of the subsystem under test in the data.
- Implementation unit implementation is configured to realize the connection between the monitoring module and the subsystem under test, and to read the test information of the subsystem under test , Packaging and transmission, etc.; the monitoring implementation unit is set to implement the monitoring of the sub-system under test.
- the monitoring module is set to execute the test message and obtain the test information of the subsystem under test, including: the monitoring module is set to be in the address channel, data channel, and response channel of the subsystem under test.
- the test information of the sub-system under test is acquired; among them, the address channel, data channel, and response channel of the bus of the sub-system under test meet the preset trigger sequence conditions including at least the following One:
- the trigger sequence condition is that the data channel has priority over the address channel trigger; when the data channel is used as the matching target of the monitoring module, the trigger sequence condition is that the address channel has priority over the data channel trigger;
- the trigger sequence condition is that both the address channel and the data channel have priority over the response channel trigger.
- the aforementioned monitoring module can obtain information about the successful handshake of the subsystem under test on the corresponding channel when the corresponding channel of the subsystem under test meets the preset trigger sequence, that is, test information; the monitoring object of the monitoring module, that is, the matching object can be one, It can also be multiple.
- the monitoring module is set to execute the test message and obtain the test information of the subsystem under test, including: the monitoring module is set to obtain the write address channel, write data channel, and write address of the bus of the subsystem under test.
- the foregoing preset range may indicate bus handshake information at different moments, such as the last bus handshake information.
- the monitoring module is set to execute the test message and obtain the test information of the subsystem under test, including: the monitoring module is set to obtain the write address channel of the bus of the subsystem under test and the write response channel The difference between the number of successful handshake and the number of successful handshake between the read address channel and the read response channel; when the following preset conditions are met, the monitoring module is also set to report a silent timeout interrupt: the difference is non-zero, and the difference is maintained The constant time exceeds the preset threshold.
- the monitoring module is set to execute the test message and obtain the test information of the subsystem to be tested, including: the monitoring module is set to obtain the write address channel of the bus of the subsystem to be tested and the read address channel in advance Set the address information in the range, where the address information in the preset range is used to indicate the out-of-order transmission OUTSTANDING pen address information calculated from the current moment.
- the monitoring module is configured to obtain test information of the sub-system to be tested, including: the monitoring module is configured to obtain the test information of the sub-system to be tested, and send the test information to the control module.
- the monitoring module is set to obtain the test information of the sub-system to be tested, and further includes: the monitoring module is set to obtain the test information of the sub-system to be tested, and encapsulates the test information according to a preset frame format, and The packaged test information is sent to the control module.
- the encapsulated test information carries second identification information, and the second identification information is used to identify the control module.
- the above-mentioned second identification information may be the ID number of the control module, and each control module has a unique ID number, so the identification of the control module can be realized based on this.
- the monitoring module obtains the test information of the sub-system to be tested and encapsulates it to be sent to the control module
- the ID number of the aforementioned control module can be added during the encapsulation process.
- the control module After the control module receives the test information, it will detect the ID number carried in the test information. If the ID number in the feedback data matches the ID number of the control module in the test information, the feedback data will be stored. If it does not match, The feedback data is transmitted in the serial form intact.
- the control module 104 in this embodiment can generally be composed of a test vector input unit 1042, a test vector analysis execution unit 1044, and a test vector output unit 1046.
- the input unit of the test vector is set to receive the test vector and perform the test.
- the vector is stored in a dedicated RAM or any address space on the bus interconnection;
- the analysis execution unit of the test vector is set to read the test vector from the above storage space, execute and parse it, and deliver the test message, and give feedback
- the test information is written or read into the designated address space; the output unit of the test result is set to send the above-mentioned test information stored in the designated address space to the outside, such as the test host.
- Fig. 3 is a structural block diagram of a control module provided according to an embodiment of the present application. The internal functional structure of the above-mentioned control module is shown in Fig. 3.
- control module also needs to be able to detect the data written by multiple monitoring modules to the control module, and determine whether it is writing data or reading data by itself according to the read and write control signals and feedback signals; according to the address of the subsystem under test and the test
- the register address of the subsystem can judge the correctness of this operation and extract the data correctly; according to the returned feedback signal value, judge whether the operation is completed correctly.
- Read operation complete a read operation. Under normal circumstances, two read operations are required. For the first time, input the device number, register address, read control signal, etc. of the corresponding subsystem under test to the monitoring module, and the feedback signal value is 2 'b10, the 16bits data read back is invalid at this time; input the same 32bits value for the second time, and the feedback signal value is 2'b11, then a read operation is completed at this time, and the 16bits value read back is what is needed Data value; if the feedback in the data read back for the first time is 2'b01, indicating that the storage space is full, the device needs the following operations: Determine whether the data has been read, and the corresponding second operation has not been completed, if it is If not, the read operation is completed; if not, there are other devices reading the register data of the sub-system under test, and the device needs to wait and send the read data repeatedly until the feedback signal is 2'b10, which means reading The operation is in progress and the data can be read back next time.
- the response feedback signal value is 2'b00, it means that the input device number of the monitoring module does not match the device numbers of all the subsystems under test in the bus. You need to check the input device number of the monitoring module .
- FIG. 4 is a functional schematic diagram (2) of the bus monitoring device provided according to an embodiment of the present application.
- the device further includes: a test host 106 configured to generate a preset test vector ; Asynchronous transceiver 108, configured to send test vectors to the control module, and receive test information sent by the control module.
- FIG. 5 is a flowchart (1) of the bus monitoring method according to an embodiment of the application. As shown in FIG. 5, the bus monitoring method includes:
- multiple monitoring nodes are set in the bus, and each monitoring node is set in a sub-system to be tested in the bus; wherein, the multiple monitoring nodes are connected in series by using a ring topology structure.
- S204 Obtain a test vector, and deliver a test message to multiple monitoring nodes for transmission according to the test vector; where the test vector is used to instruct the monitoring node to execute the test message and obtain test information of the subsystem to be tested, where: The test information of the subsystem to be tested is used to instruct the monitoring node to execute the test message, the information of the bus of the subsystem to be tested.
- the bus monitoring method in this embodiment since multiple monitoring nodes in the bus can be respectively configured to be set in a sub-system to be tested in the bus; wherein, a ring is adopted between the multiple monitoring nodes.
- the topology structure is connected in series; when the control module obtains the test vector and sends a test message to the multiple monitoring nodes for transmission according to the test vector, the monitoring node can execute the test message, and Acquire test information of the subsystem to be tested, where the test information of the subsystem to be tested is used to instruct the monitoring node to execute the test message, information about the bus of the subsystem to be tested. Therefore, the bus monitoring method in this embodiment can solve the technical problem in the related art that the chip system cannot perform real-time monitoring of nodes during operation, so as to achieve the effect of real-time monitoring of nodes during the operation of the chip system.
- the monitoring node executes the test message to obtain the information of the bus of the subsystem to be tested.
- Real-time monitoring of the test subsystem on the one hand, when a problem occurs in the bus operation, the debugger can quickly locate the node where the problem is located, that is, the subsystem under test, which improves the efficiency of locating and solving bus problems; on the other hand, because The bus device in this embodiment does not need to follow the tracking monitoring method of recording all the actions of the sub-system under test in the related technology, so this embodiment can effectively reduce the logic processing resources and storage resources set up for monitoring. Reduce system cost or pressure.
- the multiple monitoring nodes in this embodiment are set independently of each other, therefore, the independent testability of the different subsystems to be tested in the system can be effectively improved, and the coupling between the subsystems to be tested can be reduced; the hardware unit in the system
- the bus monitoring device in this embodiment can also add a monitoring node and connect it to the original topology to realize the free configuration of the sub-system under test in the system to improve the monitoring performance. flexibility.
- the network formed by the ring topology formed by multiple monitoring nodes can be called a token ring network, and the connection between multiple monitoring nodes is the end-to-end serial connection between multiple monitoring nodes.
- the above S204, obtaining a test vector, and sending a test message to multiple monitoring nodes for transmission according to the test vector includes: obtaining the test vector, analyzing the test vector to obtain the test message, and downloading Send test messages to multiple monitoring nodes for transmission.
- the test message in this embodiment adopts a data message in a specified frame format, and the data message includes: header information, instruction identification number (Identity, ID) information, operation command information, instruction address information, and message Length information and command data information.
- the above S204, obtaining a test vector, and sending a test message to multiple monitoring nodes for transmission according to the test vector further includes: obtaining the test vector, analyzing the test vector to obtain the test message; The test message generates a configuration message, and sends the configuration message to multiple sub-systems under test in the bus.
- the configuration message is used to instruct multiple sub-systems under test to perform configuration processing according to the configuration message; After the subsystem under test completes the configuration processing, it sends test messages to multiple monitoring nodes for transmission.
- the configuration message is used to configure multiple subsystems under test according to the requirements in the test vector, for example, turn on the corresponding register in the subsystem under test, or set the corresponding matching value in the register according to the requirements of the test vector, etc. Wait.
- the test message includes a plurality of test sub-messages, and each test sub-message carries first identification information, and the first identification information is used to identify the subsystem to be tested; the test sub-messages are used for Instruct the monitoring node to execute the test sub-message according to the first identification information, where the monitoring node is a monitoring node set in the subsystem to be tested identified by the first identification information.
- the multiple test sub-messages contained in the test message are respectively used to instruct monitoring units set in different sub-systems to be tested to execute the corresponding test sub-messages.
- the first identification information in the above-mentioned test sub-messages can usually be The address information of the subsystem to be tested, but not limited to this, any identification information that can identify different subsystems to be tested can be used as the first identification information, which is not limited in this application.
- the test vector is used to instruct the monitoring node to execute the test message and obtain the test information of the sub-system under test, including: time-division multiplexing the first monitoring implementation unit to obtain the sub-system under test The information of the write address channel, the write data channel and the write response channel of the bus; and the time-sharing multiplexed second monitoring implementation unit obtains the information of the read address channel and the read data channel of the bus of the subsystem under test; wherein, the first monitor The implementation unit and the second monitoring implementation unit are both set in the monitoring node.
- the above-mentioned setting of the first monitoring implementation unit and the second monitoring implementation unit can make the write address channel, write data channel, and write response channel in the bus information of each subsystem under test time-division multiplex the first monitoring implementation unit, and make The information of the read address channel and the read data channel in the bus information of each sub-system to be tested is time-multiplexed with the second monitoring implementation unit, so as to ensure that the monitoring node monitors the bus information of the aforementioned sub-system to be tested, Save 3 channels of implementation units to save logic processing resources and storage resources.
- the test vector is used to instruct the monitoring node to execute the test message and to obtain the test information of the subsystem under test, including: indicating that the monitoring node is on the address channel of the bus of the subsystem under test, When the preset trigger sequence conditions between the data channel and the response channel are met, the test information of the subsystem under test is obtained; among them, the address channel, data channel, and response channel of the bus under test meet the preset conditions.
- the trigger sequence condition includes at least one of the following: when the address channel is used as the matching object of the monitoring node, the trigger sequence condition is that the data channel has priority over the address channel trigger; when the data channel is used as the matching object of the monitoring node, the trigger sequence condition is the address channel priority Trigger on the data channel; when the response channel is the matching object of the monitoring node, the trigger sequence condition is that both the address channel and the data channel have priority over the response channel trigger.
- the aforementioned monitoring module can obtain information about the successful handshake of the subsystem under test on the corresponding channel when the corresponding channel of the subsystem under test meets the preset trigger sequence, that is, test information; the monitoring object of the monitoring module, that is, the matching object can be one , Or multiple.
- the test vector is used to instruct the monitoring node to execute the test message and to obtain the test information of the subsystem under test, including: instructing the monitoring node to obtain the write address channel of the bus of the subsystem under test The bus handshake information of the write data channel, write response channel, read address channel, and read data channel within the preset range.
- the foregoing preset range may indicate bus handshake information at different moments, such as the last bus handshake information.
- the test vector is used to instruct the monitoring node to execute the test message and to obtain the test information of the subsystem under test, including: instructing the monitoring node to obtain the write address channel of the bus of the subsystem under test And the difference between the number of successful handshake between the write response channel and the number of successful handshake between the read address channel and the read response channel; when the following preset conditions are met, the monitoring node is also used to report the silent timeout interrupt: bad The value is non-zero, and the time the difference remains unchanged exceeds the preset threshold.
- the test vector is used to instruct the monitoring node to execute the test message and to obtain the test information of the subsystem under test, including: instructing the monitoring node to obtain the write address channel of the bus of the subsystem under test And read the address information of the address channel within the preset range, where the address information within the preset range is used to indicate the OUTSTANDING address information calculated from the current moment.
- the test vector is used to instruct the monitoring node to execute the test message and to obtain the test information of the sub-system to be tested, and further includes: the test vector is used to instruct the monitoring node to obtain the sub-system to be tested Test information, and send the test information to the control module.
- the test vector is used to instruct the monitoring node to execute the test message and obtain the test information of the sub-system to be tested, and further includes: the test vector is used to instruct to obtain the test information of the sub-system to be tested , And encapsulate the test information according to the preset frame format, and send the encapsulated test information to the control module.
- the encapsulated test information carries second identification information, and the second identification information is used to identify the control module.
- the above-mentioned second identification information may be the ID number of the control module, and each control module has a unique ID number, so the identification of the control module can be realized based on this.
- FIG. 6 is a flowchart (2) of the bus monitoring method according to the embodiment of the application. , As shown in Figure 6, the method includes:
- S3010 Receive a pre-configured test vector sent by the test host.
- the pre-configured test vector contains the test task for the bus test, that is, through the test task, the test situation and status of the bus can be obtained in real time to achieve the purpose of understanding the bus status;
- the test vector can be set in advance according to the actual test task.
- S3020 Parse the pre-configured test vector to obtain a test message.
- test message is a data message with a specified frame format, and the test message includes: packet header information, command ID information , Operation command information, instruction address information, message length information and instruction data information.
- a token ring network of monitoring nodes is set up on the bus.
- the token ring network of the monitoring nodes includes at least two monitoring nodes.
- the head and tail of each monitoring node are connected in series according to the ring topology to form a token ring network.
- a monitoring node is set on a node to be tested on the bus.
- S3040 Send a test message to the token ring network, and the test message instructs each monitoring node to execute the test message.
- the device sends a test message to each monitoring node on the token ring network; the test message instructs each monitoring node to execute the part of the test message corresponding to the device address information of the node to be tested.
- control module in the device writes or reads 32-bit data
- the nodes to be tested on the entire bus have independent and unique device numbers
- the control module has a unique ID number
- control module sends a write operation 32bits data to the serial bus of the token ring network according to the specified format, including the ID number, write control signal, address of the node to be tested, and data of the node to be tested. Register address and data to be written.
- each monitoring node When each monitoring node receives the data, it checks whether the corresponding address of the node to be tested matches the address of the node to be tested in the data. If it does not match, it will continue to transmit to the next monitoring node in serial form for the next A monitoring node is processed; if the match is consistent, after the corresponding write operation, the original data is still transmitted in the serial form to the next monitoring node; if the addresses of all the nodes to be tested do not match, the original The data will also be transferred back to the test control module intact.
- control module After the control module receives the feedback data, it will detect the ID number. If the ID number in the feedback data matches the ID number of the control module, the feedback data will be stored. If it does not match, the feedback data will be left intact. It is transmitted in serial form.
- the device When each monitoring node executes the test message, the device obtains the information of the bus on each node to be tested.
- the control module of the device needs to be able to detect the data written by each monitoring node to the device, and determine whether to write data or read data by itself according to the read and write control signals and feedback signals; according to the address of the node to be tested and the node to be tested
- the register address of can judge the correctness of this operation, and can correctly extract the data; according to the returned feedback signal value, judge whether the operation is completed correctly.
- Read operation complete a read operation. Under normal circumstances, two read operations are required. For the first time, input the device number, register address, read control signal, etc. of the node to be monitored to the monitoring node, and the feedback signal value is 2' b10, the 16bits data read back at this time is invalid; input the same 32bits value for the second time, and the feedback signal value is 2'b11, then a read operation is completed at this time, and the 16bits value read back is the required data Value; if the feedback in the data read back for the first time is 2'b01, indicating that the storage space is full, the device needs the following operations: Determine whether the data has been read, but the corresponding second operation has not been completed, if so , Then the read operation is completed; if not, there are other devices reading the register data of the node to be monitored, and the device needs to wait and send the read data repeatedly until the feedback signal is 2'b10, which means the read operation is in progress Go ahead and read back the data next time.
- the value of the feedback feedback signal is 2'b00, it means that the input device number of the monitoring node does not match the device numbers of all the nodes to be monitored in the bus. You need to check the input device number of the monitoring node.
- time-division multiplexing technology can be used to acquire it.
- the first monitoring implementation unit in each monitoring node is time-division multiplexed The information of the write address channel, write data channel and write response channel of the bus on each node to be tested.
- the second monitoring implementation unit in each monitoring node is time-multiplexed to obtain the bus information on each node to be tested.
- the content of the bus information on each node to be tested is also different, as shown below:
- Trigger conditions include: the use of multiplexing of read and write channels, and supports the trigger conditions for the setting of address, data and response to the combination sequence between the three channels; support for the combination sequence of address, data and response to the three channels
- the settings include: for address channel triggering, support the setting of data channel trigger first; for data channel trigger, support the setting of address channel trigger first; for response channel trigger, support the setting of address channel and data channel trigger first.
- the second case is a first case
- S3060 Pack the information of the bus on each node to be tested into a message in a fixed frame format.
- the device packages the information of the bus on each node to be tested into a fixed frame format message.
- the device reports the message in a fixed frame format to the test host for analysis and storage by the test host, and monitors whether the bus transmission is normal in real time.
- FIG. 7 is a flowchart of a scenario embodiment 1 according to an embodiment of the application.
- the method of this scenario embodiment is to obtain the write address channel data of the bus, set the address as a matching item, and a single trigger as an example
- the steps are as follows:
- the configuration storage register is used to store data.
- Configuration ID is suitable for matching address channel selection register.
- step S4110 Determine whether the address matching is successful, if the address matching is unsuccessful, perform step S4120; if the address match is successful, perform step S4130.
- the relevant data information includes: handshake time information, write address ID information, write address information, write burst length information, burst size information, and burst type information.
- Fig. 8 is a flowchart of a second scenario embodiment provided by an embodiment of the application. As shown in Fig. 8, the method of this scenario embodiment uses monitoring of 5 channels of the bus as an example to illustrate how to monitor the bus. The steps are as follows :
- the monitoring is started by default after power-on, and no matching conditions are set to capture the handshake information of the bus in real time.
- the handshake information of the write address channel includes: handshake time information, write address ID information, write address information, write burst length information, burst size information, and burst type information.
- the write data channel handshake information includes: write data ID information, write data switch value information, and write data value information.
- the handshake information of the write response channel includes: write response ID value information and write response value information.
- the handshake information of the read address channel includes: handshake time information, read address ID value information, read address information, read burst length information, burst size information, and burst type information.
- the handshake information of the read data channel includes: read data ID value information, read data value information, and read response value information.
- S5020 After grouping the handshake information captured in real time by each channel into a fixed frame format, it is transmitted to an external test host.
- S5030 an external test host, conducts data analysis and monitors whether the bus transmission is normal in real time.
- Fig. 9 is a flowchart of a third scenario embodiment provided by an embodiment of the present application. As shown in Fig. 9, the method of this scenario embodiment uses monitoring the address channel of the bus as an example to illustrate how to monitor the bus. The steps are as follows:
- monitoring is started by default after power-on.
- S6020 Record the difference between the successful handshake times of the write address channel and the write response channel, the read address channel and the read response channel, respectively.
- Step 6040 Freeze the monitoring function of the monitoring node triggered by the silent timeout interrupt, clear the register and keep it on-site, and do not monitor any subsequent bus actions.
- Step 6050 Clear the silent timeout counter to ensure that the interrupt will not be pulled high all the time.
- Step 6060 It is determined that the bus cannot be recovered, and the bus needs to be reset and restarted.
- FIG. 10 is a flowchart of a fourth scenario embodiment according to an embodiment of the present application. As shown in FIG. 10, the method of this scenario embodiment uses monitoring the write address channel and/or read address channel of the bus as an example to illustrate how to monitor the bus , The steps are as follows:
- Step 7010 Store the information of the write address channel and/or read address channel (information includes: address information, ID information, burst length information, burst size information and burst type information) into a write address with a depth equal to the OUTSTANDING value. Queue (first input first output, fifo) and/or read address fifo; where the write address channel corresponds to the write address fifo, and the read address channel corresponds to the read address fifo.
- Step 7020 Before reading the write address channel and/or read address channel information, first query the status of the write address fifo and/or read address fifo.
- Step 7030 If the fifo is not empty, raise the read enable signal of the register write address fifo and/or read address fifo through the write register operation, and take the information from the fifo and store it in 5 (3+1+1) cache registers, and then Read the value of 5 cache registers.
- Step 7040 Continue to use the write register operation to pull up the read enable signal of the register write address fifo and/or read address fifo, and the next message will be taken out from fifo and stored in 5 (3+1+1) cache registers. 5 cache register values are read away.
- Step 7050 Until all the information in the write address fifo and/or the read address fifo is read and taken away, the state of the fifo becomes empty at this time.
- the above 5(3+1+1) is used to indicate the five information of address information, ID information, burst length information, burst size information and burst type information.
- the technical solution of the present application can be embodied in the form of a software product.
- the computer software product is stored in a storage medium (such as Read-Only Memory, ROM)/Random Access Memory (Random Access Memory). , RAM), magnetic disk, optical disk), including multiple instructions to make a terminal device (can be a mobile phone, computer, server, or network device, etc.) execute the methods described in multiple embodiments of the present application.
- FIG. 11 is a flowchart (3) of the bus monitoring method according to an embodiment of the present application. As shown in FIG. 11, the bus monitoring method includes:
- multiple monitoring nodes are set up in the bus, and each monitoring node is set in a sub-system to be tested in the bus; wherein, the multiple monitoring nodes are connected in series with a ring topology structure.
- S804 Receive and execute a test message, and obtain test information of the sub-system to be tested.
- the test information of the sub-system to be tested is used to instruct the monitoring node to execute the test message, the information of the bus of the sub-system to be tested; among them, the test message
- the control module sends the obtained test vector to multiple monitoring nodes for transmission.
- the bus monitoring method in this embodiment since multiple monitoring nodes in the bus can be respectively configured to be set in a sub-system to be tested in the bus; wherein, a ring is adopted between the multiple monitoring nodes.
- the topology structure is connected in series; when the control module obtains the test vector and sends a test message to the multiple monitoring nodes for transmission according to the test vector, the monitoring node can execute the test message, and Acquire test information of the subsystem to be tested, where the test information of the subsystem to be tested is used to instruct the monitoring node to execute the test message, information about the bus of the subsystem to be tested. Therefore, the bus monitoring method in this embodiment can solve the technical problem in the related art that the chip system cannot perform real-time monitoring of nodes during operation, so as to achieve the effect of real-time monitoring of nodes during the operation of the chip system.
- control module sends the acquired test vector to multiple monitoring nodes for transmission, including:
- the control module obtains the test vector, analyzes the test vector to obtain a test message, and sends the test message to multiple monitoring nodes for transmission.
- control module sends the obtained test vector to multiple monitoring nodes for transmission, and further includes: the control module obtains the test vector, analyzes the test vector to obtain a test message; The test message generates a configuration message, and sends the configuration message to multiple sub-systems under test in the bus.
- the configuration message is used to instruct multiple sub-systems under test to perform configuration processing according to the configuration message; After the subsystem under test completes the configuration processing, it sends test messages to multiple monitoring nodes for transmission.
- the test message includes a plurality of test sub-messages, and each test sub-message carries first identification information, and the first identification information is used to identify the subsystem to be tested; the test sub-messages are used for Instruct the monitoring node to execute the test sub-message according to the first identification information, where the monitoring node is a monitoring node set in the subsystem to be tested identified by the first identification information.
- S802 receiving and executing a test message to obtain test information of the sub-system under test includes: time-division multiplexing the first monitoring implementation unit to obtain the write address channel of the bus of the sub-system under test, and write The information of the data channel and the write response channel; and the time-division multiplexing of the second monitoring implementation unit to obtain the information of the read address channel and the read data channel of the bus of the subsystem under test; wherein, the first monitoring implementation unit and the second monitoring implementation unit All are set in the monitoring node.
- S802 receiving and executing a test message, and obtaining test information of the sub-system under test, includes: obtaining the trigger sequence of the address channel, data channel, and response channel of the bus of the sub-system under test; wherein, The address channel includes the write address channel and the read address channel, the data channel includes the write data channel and the read data channel, and the response channel includes the write response channel; the trigger sequence of the address channel, the data channel, and the response channel includes: for the address channel trigger, the data channel is supported Trigger first; or, for data channel trigger, support address channel trigger first; or, for response channel trigger, support address channel and data channel trigger first.
- S802 receiving and executing a test message, and acquiring test information of the subsystem under test, includes:
- S802 receiving and executing a test message, and acquiring test information of the subsystem under test, includes:
- the monitoring node is also used to report the silent timeout interrupt: the difference is non-zero, and the time that the difference remains unchanged exceeds the preset threshold.
- S802 receiving and executing a test message, and obtaining test information of the sub-system under test, includes: obtaining the write address channel of the bus of the sub-system under test and the address of the read address channel within a preset range Information, where the preset range is used to indicate the OUTSTANDING pens calculated from the current moment.
- S802 receiving and executing the test message, and obtaining the test information of the sub-system to be tested, further includes: obtaining the test information of the sub-system to be tested, and sending the test information to the control module.
- S802 receiving and executing a test message, obtaining test information of the sub-system under test, further includes: obtaining test information of the sub-system under test, and encapsulating the test information according to a preset frame format, Send the packaged test information to the control module.
- the encapsulated test information carries second identification information, and the second identification information is used to identify the control module.
- the method according to the foregoing embodiment can be implemented by means of software plus a general hardware platform, and of course can also be implemented by hardware.
- the technical solution of the present application can be embodied in the form of a software product.
- the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, and optical disk), and includes multiple instructions to enable one
- a terminal device which may be a mobile phone, a computer, a server, or a network device, etc. executes the methods described in the multiple embodiments of the present application.
- a bus monitoring device is also provided, which is applied to a control module.
- the device is used to implement the above-mentioned embodiments and implementation modes, and the descriptions that have been described will not be repeated.
- the term "module" can implement a combination of software and/or hardware with predetermined functions.
- Fig. 12 is a structural block diagram (1) of a bus monitoring device according to an embodiment of the present application.
- the device includes: a first topology unit 402 configured to set multiple monitoring nodes in the bus, each monitoring node Set in a sub-system to be tested in the bus; among them, multiple monitoring nodes are connected in series with a ring topology; the control unit 404 is set to obtain a test vector and send a test message to multiple Transmission between monitoring nodes; among them, the test vector is used to instruct the monitoring node to execute the test message and to obtain the test information of the sub-system to be tested. Among them, the test information of the sub-system to be tested is used to instruct the monitoring node to execute the test message. , The bus information of the subsystem under test.
- the bus monitoring device in this embodiment since multiple monitoring nodes in the bus can be respectively configured to be set in a sub-system under test in the bus; wherein, a ring is adopted between the multiple monitoring nodes.
- the topology structure is connected in series; when the control module obtains the test vector and sends a test message to the multiple monitoring nodes for transmission according to the test vector, the monitoring node can execute the test message, and Acquire test information of the subsystem to be tested, where the test information of the subsystem to be tested is used to instruct the monitoring node to execute the test message, information about the bus of the subsystem to be tested. Therefore, the bus monitoring device in this embodiment can solve the technical problem in the related art that the chip system cannot perform real-time monitoring of nodes during operation, so as to achieve the effect of real-time monitoring of nodes during the operation of the chip system.
- obtaining a test vector, and issuing a test message to multiple monitoring nodes for transmission according to the test vector includes: obtaining the test vector, analyzing the test vector to obtain the test message, and sending it Test messages are transmitted between multiple monitoring nodes.
- obtaining a test vector, and sending a test message to multiple monitoring nodes for transmission according to the test vector further includes: obtaining the test vector, analyzing the test vector to obtain the test message; The message generates a configuration message, and sends the configuration message to multiple sub-systems under test in the bus.
- the configuration message is used to instruct multiple sub-systems under test to perform configuration processing according to the configuration message; After the test subsystem completes the configuration processing, it sends test messages to multiple monitoring nodes for transmission.
- the test message includes a plurality of test sub-messages, and each test sub-message carries first identification information, and the first identification information is used to identify the subsystem to be tested.
- the test sub-message is used to instruct the monitoring node to execute the test sub-message according to the first identification information, where the monitoring node is a monitoring node set in the subsystem to be tested identified by the first identification information.
- the test vector is used to instruct the monitoring node to execute the test message and obtain the test information of the subsystem to be tested, including: time-sharing multiplexing the first monitoring implementation unit to obtain the writing of the bus of the subsystem to be tested The information of the address channel, the write data channel and the write response channel; and the time-division multiplexed second monitoring implementation unit obtains the information of the read address channel and the read data channel of the bus of the sub-system under test; wherein, the first monitoring implementation unit and the second monitoring implementation unit The second monitoring implementation unit is set in the monitoring node.
- the test vector is used to instruct the monitoring node to execute the test message and obtain the test information of the subsystem under test, including: instructing the monitoring node to obtain the address channel, data channel, and response of the bus of the subsystem under test
- the trigger sequence of the channel among them, the address channel includes the write address channel and the read address channel, the data channel includes the write data channel and the read data channel, and the response channel includes the write response channel; the trigger sequence of the address channel, data channel, and response channel includes: Address channel trigger, support data channel trigger first; or, for data channel trigger, support address channel trigger first; or, for response channel trigger, support address channel and data channel trigger first.
- the test vector is used to instruct the monitoring node to execute the test message and obtain the test information of the subsystem under test, including: instructing the monitoring node to obtain the write address channel and write data channel of the bus of the subsystem under test , The bus handshake information of the write response channel, read address channel, and read data channel within the preset range.
- the test vector is used to instruct the monitoring node to execute the test message and obtain the test information of the subsystem under test, including: instructing the monitoring node to obtain the write address channel and write response channel of the bus of the subsystem under test The difference between the number of successful handshake between the read address channel and the read response channel; the monitoring node is also used to report the silent timeout interrupt when the following preset conditions are met: the difference is non-zero, The time that the difference remains constant exceeds the preset threshold.
- the test vector is used to instruct the monitoring node to execute the test message and obtain the test information of the subsystem under test, including: instructing the monitoring node to obtain the write address channel and the read address channel of the bus of the subsystem under test Address information within a preset range, where the address information within the preset range is used to indicate OUTSTANDING address information calculated from the current moment.
- the test vector is used to instruct the monitoring node to execute the test message and obtain the test information of the subsystem to be tested, and further includes: the test vector is used to instruct the monitoring node to obtain the test information of the subsystem to be tested, and Send the test information to the control module.
- the test vector is used to instruct the monitoring node to execute the test message and obtain the test information of the sub-system to be tested, and further includes: the test vector is used to instruct to obtain the test information of the sub-system to be tested, and according to the preset Set the frame format to encapsulate the test information, and send the encapsulated test information to the control module.
- the encapsulated test information carries second identification information, and the second identification information is used to identify the control module.
- the above-mentioned multiple modules can be implemented by software or hardware. For the latter, it can be implemented in the following way, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned multiple modules are respectively in the form of any combination. Located in different processors.
- a bus monitoring device is also provided, which is applied to a monitoring node.
- the device is used to implement the above-mentioned embodiments and optional implementation manners, and what has been described will not be repeated.
- the term "module" can implement a combination of software and/or hardware with predetermined functions.
- Fig. 13 is a structural block diagram (2) of a bus monitoring device according to an embodiment of the present application.
- the device includes: a second topology unit configured to set multiple monitoring nodes in the bus, and each monitoring node is set In a sub-system under test in the bus; among them, multiple monitoring nodes are connected in series with a ring topology; the monitoring unit is set to receive and execute test messages to obtain test information of the sub-system under test.
- the test information of the test subsystem is set as the information of the bus of the sub-system to be tested when the monitoring node is instructed to execute the test message; wherein the test message is sent by the control module to multiple monitoring nodes for transmission according to the acquired test vector.
- the bus monitoring device in this embodiment since multiple monitoring nodes in the bus can be respectively configured to be set in a sub-system under test in the bus; wherein, a ring is adopted between the multiple monitoring nodes.
- the topology structure is connected in series; when the control module obtains the test vector and sends a test message to the multiple monitoring nodes for transmission according to the test vector, the monitoring node can execute the test message, and Acquire test information of the subsystem to be tested, where the test information of the subsystem to be tested is used to instruct the monitoring node to execute the test message, information about the bus of the subsystem to be tested. Therefore, the bus monitoring device in this embodiment can solve the technical problem in the related art that the chip system cannot perform real-time monitoring of nodes during operation, so as to achieve the effect of real-time monitoring of nodes during the operation of the chip system.
- control module sends the obtained test vector to multiple monitoring nodes for transmission, including: the control module obtains the test vector, analyzes the test vector to obtain a test message, and sends the test message Documents are transmitted between multiple monitoring nodes.
- control module sends the obtained test vector to multiple monitoring nodes for transmission, and further includes: the control module obtains the test vector, analyzes the test vector to obtain a test message; according to the test message Generate configuration messages and deliver them to multiple subsystems under test in the bus, where the configuration messages are used to instruct multiple subsystems under test to perform configuration processing according to the configuration messages; multiple subsystems under test After the configuration processing is completed, test packets are sent to multiple monitoring nodes for transmission.
- the test message includes a plurality of test sub-messages, and each test sub-message carries first identification information, and the first identification information is used to identify the subsystem to be tested; the test sub-messages are used for Instruct the monitoring node to execute the test sub-message according to the first identification information, where the monitoring node is a monitoring node set in the subsystem to be tested identified by the first identification information.
- receiving and executing the test message to obtain the test information of the sub-system under test includes: time-division multiplexing the first monitoring implementation unit to obtain the write address channel and the write data channel of the bus of the sub-system under test And write response channel information; and time-division multiplexing the second monitoring implementation unit to obtain the read address channel and read data channel information of the bus of the subsystem under test; wherein, the first monitoring implementation unit and the second monitoring implementation unit are both set Among the monitoring nodes.
- receiving and executing the test message to obtain the test information of the sub-system under test includes: obtaining the trigger sequence of the address channel, data channel, and response channel of the bus of the sub-system under test; where the address channel Including write address channel and read address channel, data channel includes write data channel and read data channel, response channel includes write response channel; trigger sequence of address channel, data channel, response channel includes: for address channel trigger, support data channel trigger first ; Or, for data channel trigger, support address channel trigger first; or, for response channel trigger, support address channel and data channel trigger first.
- receiving and executing the test message to obtain the test information of the sub-system to be tested includes: obtaining the write address channel, write data channel, write response channel, read address channel, Read the bus handshake information of the data channel within the preset range.
- receiving and executing the test message to obtain the test information of the subsystem under test includes: obtaining the write address channel of the bus of the subsystem under test and the number of successful handshake times between the write response channel, and read The difference in the number of successful handshake between the address channel and the read response channel.
- the monitoring node is also used to report the silent timeout interrupt: the difference is non-zero, and the time that the difference remains unchanged exceeds the preset threshold.
- receiving and executing the test message to obtain the test information of the subsystem under test includes: obtaining the write address channel of the bus of the subsystem under test and the address information of the read address channel within a preset range, Among them, the address information within the preset range is used to indicate the OUTSTANDING address information calculated from the current moment.
- receiving and executing the test message to obtain the test information of the sub-system to be tested further includes: obtaining the test information of the sub-system to be tested and sending the test information to the control module.
- receiving and executing the test message to obtain the test information of the sub-system to be tested also includes: obtaining the test information of the sub-system to be tested, and encapsulating the test information according to a preset frame format. The subsequent test information is sent to the control module.
- the encapsulated test information carries second identification information, and the second identification information is used to identify the control module.
- the embodiment of the present application also provides a storage medium in which a computer program is stored, and the computer program is configured to execute the steps in any of the foregoing method embodiments when running.
- the foregoing storage medium may be configured to store a computer program for executing the following steps:
- multiple monitoring nodes are set in the bus, and each monitoring node is set in a sub-system to be tested in the bus; wherein, the multiple monitoring nodes are connected in series with a ring topology structure.
- S20 Obtain a test vector, and deliver a test message to multiple monitoring nodes for transmission according to the test vector; where the test vector is used to instruct the monitoring node to execute the test message and obtain test information of the subsystem to be tested, where: The test information of the subsystem to be tested is used to instruct the monitoring node to execute the test message, the information of the bus of the subsystem to be tested.
- the foregoing storage medium may include, but is not limited to: U disk, ROM, RAM, mobile hard disk, magnetic disk, or optical disk, and other media that can store computer programs.
- the embodiment of the present application also provides a storage medium in which a computer program is stored, and the computer program is configured to execute the steps in any of the foregoing method embodiments when running.
- the foregoing storage medium may be configured to store a computer program for executing the following steps:
- multiple monitoring nodes are set in the bus, and each monitoring node is set in a sub-system to be tested in the bus; wherein, the multiple monitoring nodes are connected in series with a ring topology structure.
- S20 Receive and execute a test message, and obtain test information of the sub-system to be tested.
- the test information of the sub-system to be tested is used to instruct the monitoring node to execute the test message, the information of the bus of the sub-system to be tested; among them, the test message
- the control module sends the obtained test vector to multiple monitoring nodes for transmission.
- the foregoing storage medium may include, but is not limited to: U disk, ROM, RAM, mobile hard disk, magnetic disk, or optical disk and other media that can store computer programs.
- the embodiment of the present application also provides an electronic device, including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute the steps in any of the foregoing method embodiments.
- the aforementioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the aforementioned processor, and the input-output device is connected to the aforementioned processor.
- the foregoing processor may be configured to execute the following steps through a computer program:
- multiple monitoring nodes are set in the bus, and each monitoring node is set in a sub-system to be tested in the bus; wherein, the multiple monitoring nodes are connected in series with a ring topology structure.
- S20 Obtain a test vector, and deliver a test message to multiple monitoring nodes for transmission according to the test vector; where the test vector is used to instruct the monitoring node to execute the test message and obtain test information of the subsystem to be tested, where: The test information of the subsystem to be tested is used to instruct the monitoring node to execute the test message, the information of the bus of the subsystem to be tested.
- the embodiment of the present application also provides an electronic device, including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute the steps in any of the foregoing method embodiments.
- the aforementioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the aforementioned processor, and the input-output device is connected to the aforementioned processor.
- the foregoing processor may be configured to execute the following steps through a computer program:
- multiple monitoring nodes are set in the bus, and each monitoring node is set in a sub-system to be tested in the bus; wherein, the multiple monitoring nodes are connected in series with a ring topology structure.
- S20 Receive and execute a test message, and obtain test information of the sub-system to be tested.
- the test information of the sub-system to be tested is used to instruct the monitoring node to execute the test message, the information of the bus of the sub-system to be tested; among them, the test message
- the control module sends the obtained test vector to multiple monitoring nodes for transmission.
- the above-mentioned multiple modules or multiple steps of this application can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed among multiple computing devices On the network.
- the foregoing multiple modules or multiple steps may be implemented by a program code executable by a computing device, so that the foregoing multiple modules or multiple steps may be stored in a storage device and executed by the computing device, and in some In this case, the steps shown or described can be performed in a different order here, or the above-mentioned multiple modules or multiple steps can be respectively made into multiple integrated circuit modules, or the multiple modules or multiple steps can be Multiple modules or steps are made into a single integrated circuit module to achieve. In this way, this application is not limited to any designated combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Small-Scale Networks (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
Claims (41)
- 一种总线监控装置,包括:多个监控模块,设置为设置在总线之中,每一个监控模块配置为设置在所述总线中的一个待测子系统之中;其中,多个所述监控模块之间采用环形拓扑结构进行串接;控制模块,设置为获取测试向量,并根据所述测试向量下发测试报文至所述多个监控模块中的一个监控模块以在所述多个监控模块之间传输所述测试报文;所述监控模块设置为执行所述测试报文,并获取所述待测子系统的测试信息,其中,所述待测子系统的所述测试信息用于指示在所述监控模块执行所述测试报文的情况下,所述待测子系统的总线的信息。
- 根据权利要求1所述的装置,其中,所述控制模块是设置为:获取所述测试向量,对所述测试向量进行解析以得到所述测试报文,并下发所述测试报文至所述多个监控模块中的一个监控模块以在所述多个监控模块之间传输所述测试报文。
- 根据权利要求1或2所述的装置,其中,所述控制模块是设置为通过如下方式根据所述测试向量下发测试报文至所述多个监控模块中的一个监控模块以在所述多个监控模块之间传输所述测试报文:获取所述测试向量,对所述测试向量进行解析以得到所述测试报文;根据所述测试报文生成配置报文,并下发所述配置报文至所述总线中的多个所述待测子系统,其中,所述配置报文用于指示多个所述待测子系统根据所述配置报文进行配置处理;在多个所述待测子系统完成所述配置处理后,下发所述测试报文至所述多个监控模块中的一个监控模块以在所述多个监控模块之间传输所述测试报文。
- 根据权利要求1所述的装置,其中,所述测试报文包括多个测试子报文,每一个测试子报文携带有第一标识信息,所述第一标识信息用于标识所述待测子系统;每一个测试子报文用于根据所述每一个测试子报文携带的第一标识信息指示目标监控模块执行所述每一个测试子报文,其中,所述目标监控模块为设置 在所述每一个测试子报文携带的第一标识信息标识的所述待测子系统之中的所述监控模块。
- 根据权利要求1所述的装置,其中,所述监控模块包括第一监控实施单元以及第二监控实施单元,所述第一监控实施单元设置为获取所述待测子系统的第一测试信息,所述第二监控实施单元设置为获取所述待测子系统的第二测试信息;其中,所述待测子系统的所述第一测试信息包括所述待测子系统的总线的写地址通道、写数据通道及写响应通道的信息;所述待测子系统的所述第二测试信息包括所述待测子系统的总线的读地址通道及读数据通道的信息。
- 根据权利要求5所述的装置,其中,所述监控模块是设置为通过如下方式获取所述待测子系统的测试信息在所述待测子系统的总线的地址通道、数据通道、响应通道之间满足预设的触发顺序条件的情形下,获取所述待测子系统的测试信息;其中,所述地址通道包括所述写地址通以及所述读地址通道,所述数据通道包括所述写数据通道以及所述读数据通道,所述响应通道包括所述写响应通道;其中,所述待测子系统的总线的地址通道、数据通道、响应通道之间满足预设的触发顺序条件包括以下至少之一:在所述地址通道作为所述监控模块的匹配对象的情况下,所述触发顺序条件为所述数据通道优先于所述地址通道触发;在所述数据通道作为所述监控模块的匹配对象的情况下,所述触发顺序条件为所述地址通道优先于所述数据通道触发;在所述响应通道作为所述监控模块的匹配对象的情况下,所述触发顺序条件为所述地址通道以及所述数据通道均优先于所述响应通道触发。
- 根据权利要求5所述的装置,所述监控模块是设置为通过如下方式获取所述待测子系统的测试信息:获取所述待测子系统的总线的所述写地址通道、所述写数据通道、所述写响应通道、所述读地址通道、所述读数据通道在预设范围内的总线握手信息。
- 根据权利要求5所述的装置,所述监控模块是设置为通过如下方式获取 所述待测子系统的测试信息:获取所述待测子系统的总线的所述写地址通道以及所述写响应通道之间成功握手的次数的差值,与所述读地址通道以及读响应通道之间成功握手的次数的差值;在满足以下预设条件的情形下,所述监控模块还设置为上报静默超时中断:所述差值非零,以及所述差值保持不变的时间超过预设阈值。
- 根据权利要求5所述的装置,所述监控模块是设置为通过如下方式获取所述待测子系统的测试信息:获取所述待测子系统的总线的所述写地址通道以及所述读地址通道在预设范围内的地址信息,其中,所述预设范围内的地址信息用于指示当前时刻起计算的OUTSTANDING笔地址信息。
- 根据权利要求1所述的装置,其中,所述监控模块是设置为通过如下方式获取所述待测子系统的测试信息:获取所述待测子系统的所述测试信息,并将所述测试信息发送至所述控制模块。
- 根据权利要求1或10所述的装置,其中,所述监控模块是设置为通过如下方式获取所述待测子系统的测试信息:获取所述待测子系统的所述测试信息,并按照预设帧格式对所述测试信息进行封装,将封装后的所述测试信息发送至所述控制模块。
- 根据权利要求11所述的装置,其中,所述封装后的所述测试信息中携带有第二标识信息,所述第二标识信息用于标识所述控制模块。
- 根据权利要求10所述的装置,还包括:测试主机,设置为生成预设的所述测试向量;异步收发传输器,设置为将所述测试向量发送至所述控制模块,以及接收所述控制模块的发送的所述测试信息。
- 一种总线监控方法,应用于控制模块,包括:在总线中设置多个监控节点,每一个所述监控节点设置在所述总线中的一个待测子系统之中;其中,多个所述监控节点之间采用环形拓扑结构进行串接;获取测试向量,并根据所述测试向量下发测试报文至所述多个监控节点中的一个监控节点以在所述多个监控节点之间传输所述测试报文;其中,所述测试向量用于指示所述监控节点执行所述测试报文,并获取所述待测子系统的测试信息,其中,所述待测子系统的所述测试信息用于指示所述监控节点在执行所述测试报文的情况下,所述待测子系统的总线的信息。
- 根据权利要求14所述的方法,其中,所述获取测试向量,并根据所述测试向量下发测试报文至所述多个监控节点中的一个监控节点以在所述多个监控节点之间传输所述测试报文,包括:获取所述测试向量,对所述测试向量进行解析以得到所述测试报文,并下发所述测试报文至所述多个监控节点中的一个监控节点以在所述多个监控节点之间传输所述测试报文。
- 根据权利要求14或15所述的方法,其中,所述获取测试向量,并根据所述测试向量下发测试报文至所述多个监控节点之间中的一个监控节点以在所述多个监控节点传输所述测试报文,包括:获取所述测试向量,对所述测试向量进行解析以得到所述测试报文;根据所述测试报文生成配置报文,并下发所述配置报文至所述总线中的多个所述待测子系统,其中,所述配置报文用于指示多个所述待测子系统根据所述配置报文进行配置处理;在多个所述待测子系统完成所述配置处理后,下发所述测试报文至所述多个监控节点中的一个监控节点以在所述多个监控节点之间传输所述测试报文。
- 根据权利要求14所述的方法,其中,所述测试报文包括多个测试子报文,每一个所述测试子报文携带有第一标识信息,所述第一标识信息用于标识所述待测子系统;每一个测试子报文用于根据所述每一个测试子报文携带的第一标识信息指示目标监控节点执行所述每一个测试子报文,其中,所述目标监控节点为设置在所述每一个测试子报文携带的第一标识信息标识的所述待测子系统之中的所述监控节点。
- 根据权利要求14所述的方法,其中,所述测试向量用于指示所述监 控节点获取所述待测子系统的测试信息,包括:所述测试向量用于指示所述监控节点分时复用第一监控实施单元获取所述待测子系统的总线的写地址通道、写数据通道及写响应通道的信息;以及分时复用第二监控实施单元获取所述待测子系统的总线的读地址通道及读数据通道的信息;其中,所述第一监控实施单元与所述第二监控实施单元均设置在所述监控节点之中。
- 根据权利要求18所述的方法,其中,所述测试向量用于指示所述监控节点获取所述待测子系统的测试信息,包括:所述测试向量用于指示所述监控节点在所述待测子系统的总线的地址通道、数据通道、响应通道之间满足预设的触发顺序条件的情形下,获取所述待测子系统的测试信息;其中,所述地址通道包括所述写地址通道以及所述读地址通道,所述数据通道包括所述写数据通道以及所述读数据通道,所述响应通道包括所述写响应通道;其中,所述待测子系统的总线的地址通道、数据通道、响应通道之间满足预设的触发顺序条件包括以下至少之一:在所述地址通道作为所述监控节点的匹配对象的情况下,所述触发顺序条件为所述数据通道优先于所述地址通道触发;在所述数据通道作为所述监控节点的匹配对象的情况下,所述触发顺序条件为所述地址通道优先于所述数据通道触发;在所述响应通道作为所述监控节点的匹配对象的情况下,所述触发顺序条件为所述地址通道以及所述数据通道均优先于所述响应通道触发。
- 根据权利要求18所述的方法,所述测试向量用于指示所述监控节点获取所述待测子系统的测试信息,包括:所述测试向量用于指示所述监控节点获取所述待测子系统的总线的所述写地址通道、所述写数据通道、所述写响应通道、所述读地址通道、所述读数据通道在预设范围内的总线握手信息。
- 根据权利要求18所述的方法,所述测试向量用于指示所述监控节点 获取所述待测子系统的测试信息,包括:所述测试向量用于指示所述监控节点获取所述待测子系统的总线的所述写地址通道以及所述写响应通道之间成功握手的次数的差值,与所述读地址通道以及读响应通道之间成功握手的次数的差值;在满足以下预设条件的情形下,所述监控节点还用于上报静默超时中断:所述差值非零,以及所述差值保持不变的时间超过预设阈值。
- 根据权利要求18所述的方法,所述测试向量用于指示所述监控节点执行所述测试报文,并获取所述待测子系统的测试信息,包括:所述测试向量用于指示所述监控节点获取所述待测子系统的总线的所述写地址通道以及所述读地址通道在预设范围内的地址信息,其中,所述预设范围内的地址信息用于指示当前时刻起计算的OUTSTANDING笔地址信息。
- 根据权利要求14所述的方法,所述测试向量用于指示所述监控节点获取所述待测子系统的测试信息,包括:所述测试向量用于指示所述监控节点获取所述待测子系统的所述测试信息,并将所述测试信息发送至所述控制模块。
- 根据权利要求14或22所述的方法,所述测试向量用于指示获取所述待测子系统的测试信息,包括:所述测试向量用于指示获取所述待测子系统的所述测试信息,并按照预设帧格式对所述测试信息进行封装,将封装后的所述测试信息发送至所述控制模块。
- 根据权利要求24所述的方法,其中,所述封装后的所述测试信息中携带有第二标识信息,所述第二标识信息用于标识所述控制模块。
- 一种总线监控方法,应用于监控节点,包括:在总线中设置多个监控节点,每一个所述监控节点设置在所述总线中的一个待测子系统之中;其中,多个所述监控节点之间采用环形拓扑结构进行串接;接收并执行测试报文,获取所述待测子系统的测试信息,所述待测子系统的所述测试信息用于指示在所述监控节点执行所述测试报文的情况下,所述待测子系统的总线的信息;其中,所述测试报文由控制模块根据获取的测试向量下发至所述多个监控节点中的一个监控节点以在多个监控节点之间传输所述测试报文。
- 根据权利要求26所述的方法,其中,所述控制模块根据获取的测试向量下发至所述多个监控节点中的一个监控节点以在多个监控节点之间传输所述测试报文,包括:所述控制模块获取所述测试向量,对所述测试向量进行解析以得到所述测试报文,并下发所述测试报文至所述多个监控节点中的一个监控节点以在多个监控节点之间传输所述测试报文。
- 根据权利要求26或27所述的方法,其中,所述控制模块根据获取的测试向量下发至所述多个监控节点中的一个监控节点以在多个监控节点之间传输所述测试报文,包括:所述控制模块获取所述测试向量,对所述测试向量进行解析以得到所述测试报文;所述控制模块根据所述测试报文生成配置报文,并下发所述配置报文至所述总线中的多个所述待测子系统,其中,所述配置报文用于指示多个所述待测子系统根据所述配置报文进行配置处理;所述控制模块在多个所述待测子系统完成所述配置处理后,下发所述测试报文至所述多个监控节点中的一个监控节点以在多个监控节点之间传输所述测试报文。
- 根据权利要求26所述的方法,其中,所述测试报文包括多个测试子报文,每一个所述测试子报文携带有第一标识信息,所述第一标识信息用于标识所述待测子系统;每一个测试子报文用于根据所述每一个测试子报文携带的第一标识信息指示目标监控节点执行所述每一个测试子报文,其中,所述目标监控节点为设置在所述每一个测试子报文携带的第一标识信息标识的所述待测子系统之中的所述监控节点。
- 根据权利要求26所述的方法,其中,所述获取所述待测子系统的测试信息,包括:分时复用第一监控实施单元获取所述待测子系统的总线的写地址通道、写数据通道及写响应通道的信息;以及分时复用第二监控实施单元获取所述待测子系统的总线的读地址通道及读数据通道的信息;其中,所述第一监控实施单元与所述第二监控实施单元均设置在所述监控节点之中。
- 根据权利要求30所述的方法,其中,所述获取所述待测子系统的测试信息,包括:在所述待测子系统的总线的地址通道、数据通道、响应通道之间满足预设的触发顺序条件的情形下,获取所述待测子系统的测试信息;所述地址通道包括所述写地址通道以及所述读地址通道,所述数据通道包括所述写数据通道以及所述读数据通道,所述响应通道包括所述写响应通道;其中,所述待测子系统的总线的地址通道、数据通道、响应通道之间满足预设的触发顺序条件包括以下至少之一:在所述地址通道作为所述监控节点的匹配对象的情况下,所述触发顺序条件为所述数据通道优先于所述地址通道触发;在所述数据通道作为所述监控节点的匹配对象的情况下,所述触发顺序条件为所述地址通道优先于所述数据通道触发;在所述响应通道作为所述监控节点的匹配对象的情况下,所述触发顺序条件为所述地址通道以及所述数据通道均优先于所述响应通道触发。
- 根据权利要求30所述的方法,所述获取所述待测子系统的测试信息,包括:获取所述待测子系统的总线的所述写地址通道、所述写数据通道、所述写响应通道、所述读地址通道、所述读数据通道在预设范围内的总线握手信息。
- 根据权利要求30所述的方法,所述获取所述待测子系统的测试信息,包括:获取所述待测子系统的总线的所述写地址通道以及所述写响应通道之间成功握手的次数的差值,与所述读地址通道以及读响应通道之间成功握手的次数 的差值;在满足以下预设条件的情形下,所述监控节点上报静默超时中断:所述差值非零,所述差值保持不变的时间超过预设阈值。
- 根据权利要求30所述的方法,所述获取所述待测子系统的测试信息,包括:获取所述待测子系统的总线的所述写地址通道以及所述读地址通道在预设范围内的地址信息,其中,所述预设范围内的地址信息用于指示当前时刻起计算的OUTSTANDING笔地址信息。
- 根据权利要求26所述的方法,所述获取所述待测子系统的测试信息,包括:获取所述待测子系统的所述测试信息,并将所述测试信息发送至所述控制模块。
- 根据权利要求26或35所述的方法,其中,所述获取所述待测子系统的测试信息,包括:获取所述待测子系统的所述测试信息,并按照预设帧格式对所述测试信息进行封装,将封装后的所述测试信息发送至所述控制模块。
- 根据权利要求36所述的方法,其中,所述封装后的所述测试信息中携带有第二标识信息,所述第二标识信息用于标识所述控制模块。
- 一种总线监控装置,应用于控制模块,包括:拓扑单元,设置为在总线中设置多个监控节点,每一个所述监控节点设置在所述总线中的一个待测子系统之中;其中,多个所述监控节点之间采用环形拓扑结构进行串接;控制单元,设置为获取测试向量,并根据所述测试向量下发测试报文至所述多个监控节点中的一个监控节点以在所述多个监控节点之间传输所述测试报文;其中,所述测试向量用于指示所述监控节点执行所述测试报文,并获取所述待测子系统的测试信息,其中,所述待测子系统的所述测试信息用于指示在所述监控节点执行所述测试报文的情况下,所述待测子系统的总线的信息。
- 一种总线监控装置,应用于监控节点,包括:拓扑单元,设置为在总线中设置多个监控节点,每一个所述监控节点设置在所述总线中的一个待测子系统之中;其中,多个所述监控节点之间采用环形拓扑结构进行串接;监控单元,设置为接收并执行测试报文,获取所述待测子系统的测试信息,所述待测子系统的所述测试信息用于指示在所述监控节点执行所述测试报文的情况下,所述待测子系统的总线的信息;其中,所述测试报文由控制模块根据获取的测试向量下发至所述多个监控节点中的一个监控节点以在所述多个监控节点之间传输所述测试报文。
- 一种存储介质,存储有计算机程序,所述计算机程序被设置为运行时执行所述权利要求14至37中任一项所述的方法。
- 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求14至37中任一项所述的方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP20832404.6A EP3961403B1 (en) | 2019-06-28 | 2020-06-15 | Bus monitoring device and method, storage medium, and electronic device |
KR1020217038522A KR20210154249A (ko) | 2019-06-28 | 2020-06-15 | 버스 모니터링 장치 및 방법, 저장 매체, 전자장치 |
US17/609,653 US12086022B2 (en) | 2019-06-28 | 2020-06-15 | Bus monitoring device and method, storage medium, and electronic device |
JP2021569023A JP7383053B2 (ja) | 2019-06-28 | 2020-06-15 | バス監視方法、記憶媒体及び電子装置 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910578843.2 | 2019-06-28 | ||
CN201910578843.2A CN112148537B (zh) | 2019-06-28 | 2019-06-28 | 总线监控装置及方法、存储介质、电子装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020259339A1 true WO2020259339A1 (zh) | 2020-12-30 |
Family
ID=73891198
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/096133 WO2020259339A1 (zh) | 2019-06-28 | 2020-06-15 | 总线监控装置及方法、存储介质、电子装置 |
Country Status (6)
Country | Link |
---|---|
US (1) | US12086022B2 (zh) |
EP (1) | EP3961403B1 (zh) |
JP (1) | JP7383053B2 (zh) |
KR (1) | KR20210154249A (zh) |
CN (1) | CN112148537B (zh) |
WO (1) | WO2020259339A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114666252A (zh) * | 2022-05-25 | 2022-06-24 | 苏州英特模汽车科技有限公司 | 台架测试系统及方法 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115685785B (zh) * | 2022-12-29 | 2023-05-12 | 摩尔线程智能科技(北京)有限责任公司 | 通用总线模型和仿真测试的方法 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030061020A1 (en) * | 2001-09-21 | 2003-03-27 | Sam Michael | Test and debug processor and method |
CN103903651A (zh) * | 2012-12-25 | 2014-07-02 | 上海华虹宏力半导体制造有限公司 | 双线串行端口内建自测电路及其通讯方法 |
CN106844118A (zh) * | 2016-12-30 | 2017-06-13 | 成都傅立叶电子科技有限公司 | 一种基于Tbus总线标准的片内总线测试系统 |
CN108802601A (zh) * | 2018-06-21 | 2018-11-13 | 记忆科技(深圳)有限公司 | 环路传输的芯片测试方法、装置及计算机设备 |
CN109617767A (zh) * | 2019-02-22 | 2019-04-12 | 盛科网络(苏州)有限公司 | 一种在芯片中报文环回处理的实时调试方法及装置 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5453992A (en) * | 1993-08-02 | 1995-09-26 | Texas Instruments Incorporated | Method and apparatus for selectable parallel execution of test operations |
US5570425A (en) * | 1994-11-07 | 1996-10-29 | Digisonix, Inc. | Transducer daisy chain |
AU2001266687A1 (en) * | 2000-06-02 | 2001-12-17 | Radisys Corporation | Voice-over ip communication without echo cancellation |
US7035755B2 (en) * | 2001-08-17 | 2006-04-25 | Credence Systems Corporation | Circuit testing with ring-connected test instrument modules |
CN100583081C (zh) * | 2005-04-11 | 2010-01-20 | 松下电器产业株式会社 | 系统性能描述装置 |
US9170901B2 (en) * | 2009-08-18 | 2015-10-27 | Lexmark International, Inc. | System and method for analyzing an electronics device including a logic analyzer |
CN101788947B (zh) * | 2010-02-09 | 2012-10-17 | 华为技术有限公司 | 系统总线的监测方法、系统总线监测器及片上系统 |
US8855962B2 (en) * | 2012-02-22 | 2014-10-07 | Freescale Semiconductor, Inc. | System for testing electronic circuits |
US8832664B2 (en) * | 2012-07-20 | 2014-09-09 | Intel Mobile Communications GmbH | Method and apparatus for interconnect tracing and monitoring in a system on chip |
CN104919763A (zh) * | 2012-11-29 | 2015-09-16 | 松下知识产权经营株式会社 | 通信装置、具有通信装置的路由器、总线系统以及具有总线系统的半导体电路的电路基板 |
US10833679B2 (en) * | 2018-12-28 | 2020-11-10 | Intel Corporation | Multi-purpose interface for configuration data and user fabric data |
-
2019
- 2019-06-28 CN CN201910578843.2A patent/CN112148537B/zh active Active
-
2020
- 2020-06-15 KR KR1020217038522A patent/KR20210154249A/ko active Search and Examination
- 2020-06-15 EP EP20832404.6A patent/EP3961403B1/en active Active
- 2020-06-15 WO PCT/CN2020/096133 patent/WO2020259339A1/zh unknown
- 2020-06-15 JP JP2021569023A patent/JP7383053B2/ja active Active
- 2020-06-15 US US17/609,653 patent/US12086022B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030061020A1 (en) * | 2001-09-21 | 2003-03-27 | Sam Michael | Test and debug processor and method |
CN103903651A (zh) * | 2012-12-25 | 2014-07-02 | 上海华虹宏力半导体制造有限公司 | 双线串行端口内建自测电路及其通讯方法 |
CN106844118A (zh) * | 2016-12-30 | 2017-06-13 | 成都傅立叶电子科技有限公司 | 一种基于Tbus总线标准的片内总线测试系统 |
CN108802601A (zh) * | 2018-06-21 | 2018-11-13 | 记忆科技(深圳)有限公司 | 环路传输的芯片测试方法、装置及计算机设备 |
CN109617767A (zh) * | 2019-02-22 | 2019-04-12 | 盛科网络(苏州)有限公司 | 一种在芯片中报文环回处理的实时调试方法及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114666252A (zh) * | 2022-05-25 | 2022-06-24 | 苏州英特模汽车科技有限公司 | 台架测试系统及方法 |
Also Published As
Publication number | Publication date |
---|---|
US20220206887A1 (en) | 2022-06-30 |
CN112148537A (zh) | 2020-12-29 |
EP3961403B1 (en) | 2024-09-11 |
US12086022B2 (en) | 2024-09-10 |
EP3961403A4 (en) | 2022-06-22 |
KR20210154249A (ko) | 2021-12-20 |
CN112148537B (zh) | 2023-10-27 |
JP7383053B2 (ja) | 2023-11-17 |
JP2022534210A (ja) | 2022-07-28 |
EP3961403A1 (en) | 2022-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7760769B1 (en) | Serial stream filtering | |
JP5605959B2 (ja) | プロトコル事象を記録するためのアドバンスド通信制御ユニットおよび方法 | |
US20140068134A1 (en) | Data transmission apparatus, system, and method | |
US7849235B2 (en) | DMA controller, node, data transfer control method and storage medium | |
CN105868149B (zh) | 一种串口信息的传输方法和装置 | |
CN108009065B (zh) | 监控axi总线的方法和装置 | |
WO2020087954A1 (zh) | 抓取NVME硬盘trace的方法、装置、设备及系统 | |
WO2020259339A1 (zh) | 总线监控装置及方法、存储介质、电子装置 | |
EP1970812A2 (en) | Embedded systems debugging | |
CN105808396A (zh) | 一种芯片调试装置、调试方法及soc芯片系统 | |
US9612934B2 (en) | Network processor with distributed trace buffers | |
EP2435918B1 (en) | Integrated circuit comprising trace logic and method for providing trace information | |
WO2017092459A1 (zh) | 片上系统soc的监控方法、装置和计算机存储介质 | |
CN109257955B (zh) | 操作硬盘的方法和硬盘管理器 | |
CN115242681A (zh) | 一种芯片内通信模块的测试系统、方法、设备及存储介质 | |
US11442831B2 (en) | Method, apparatus, device and system for capturing trace of NVME hard disc | |
KR20120126873A (ko) | Uds 통신 기반의 자동차용 소프트웨어 동적 분석 장치 | |
CN114386366A (zh) | 在ic验证环境中芯片读写性能的自动检测系统和方法 | |
CN104484260B (zh) | 一种基于GJB289总线接口SoC的仿真监控电路 | |
US20120311206A1 (en) | Facilitating processing in a communications environment using stop signaling | |
CN113177388B (zh) | 用于ip核测试与验证的装置、系统及方法 | |
CN112395147B (zh) | Soc上的调试装置 | |
US11836059B1 (en) | System and method for testing non-volatile memory express storage devices | |
CN114531371A (zh) | 总线监测网络、片上系统以及总线管理方法 | |
CN108614751A (zh) | 一种pcie回环自检测的方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20832404 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021569023 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20217038522 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2020832404 Country of ref document: EP Effective date: 20211126 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |