Multi-lane communication method, device and equipment in network-on-chip (NOC) verification

By establishing independent sub-channel scoring boards between the master and slave nodes of the NOC and communicating according to the channel type, the problems of high complexity and low efficiency caused by the randomness of transmission order in traditional verification methods are solved, and a high-efficiency verification environment is achieved.

CN116599896BActive Publication Date: 2025-10-24太初(无锡)电子科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310521454.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-10
Publication Date
2025-10-24
Estimated Expiration
2043-05-10

AI Technical Summary

Technical Problem

In on-chip network (NOC) verification, traditional verification methods suffer from high verification environment complexity and low efficiency due to the randomness of data packet arrival order, making it difficult to effectively detect and guarantee the determinism of transmission order.

Method used

Independent sub-channel scoring boards are established between the master and slave nodes of the NOC to communicate according to the channel type, including request channels and response channels, to ensure the deterministic transmission order between the master and slave nodes.

Benefits of technology

It reduces the complexity of the verification environment, improves the execution efficiency of the verification environment, and avoids the need for additional testing devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116599896B_ABST
    Figure CN116599896B_ABST
Patent Text Reader

Abstract

The application discloses a multi-channel communication method, device and equipment in network on chip (NOC) verification. The method comprises the following steps: establishing independent sub-channel credit plates between master nodes and slave nodes in the NOC; determining the channel type between the master nodes and the slave nodes when performing the NOC verification, wherein the channel type comprises a request channel or a response channel; and communicating between the master nodes and the slave nodes by using the sub-channel credit plates according to the channel type. By establishing independent sub-channel credit plates between the master nodes and the slave nodes in the NOC, the master nodes and the slave nodes can communicate based on the independent sub-channel credit plates, so that the determinacy of the transmission sequence between the master nodes and the slave nodes can be ensured without adding detection devices, thereby reducing the complexity of the verification environment and improving the execution efficiency of the verification environment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the chip technical field, and particularly to a multi-channel communication method, device and equipment in network on chip (NOC) verification. BACKGROUND

[0002] The scoreboard in the network verification environment of the network on chip (NOC) is used to compare the transmission signals collected by the master port and the slave in the NOC network. In the verification process of the NOC network, the order of different transmissions between the path from each master to a slave is determined.

[0003] When the scoreboard is designed, the transmission order is random from the perspective of the path of multiple masters and slaves, because the arrival of each transmission data packet in the NOC network depends on the path and congestion of network transmission, and thus the arrival order of the transmission data is random and uncertain. The traditional verification method is to design a detection device for tracking the transmission data packet in the NOC network. However, if the above-mentioned order detection device is designed, the complexity of the verification environment is increased, and the execution efficiency of the verification environment is reduced. SUMMARY

[0004] The present application provides a multi-channel communication method, device and equipment in network on chip (NOC) verification, so as to realize the multi-channel communication in the NOC verification.

[0005] According to a first aspect of the present application, a multi-channel communication method in network on chip (NOC) verification is provided, comprising: establishing independent sub-channel scoreboards between master nodes and slave nodes in the NOC respectively;

[0006] determining the channel type between the master nodes and the slave nodes when the NOC verification is performed, wherein the channel type comprises a request channel or a response channel;

[0007] communicating each of the master nodes and each of the slave nodes by using the sub-channel scoreboards according to the channel type.

[0008] According to another aspect of the present application, a multi-channel communication device in network on chip (NOC) verification is provided, comprising: a sub-channel scoreboard establishing module, configured to establish independent sub-channel scoreboards between master nodes and slave nodes in the NOC respectively;

[0009] a channel type determining module, configured to determine the channel type between the master nodes and the slave nodes when the NOC verification is performed, wherein the channel type comprises a request channel or a response channel;

[0010] A communication module is configured to communicate between the master nodes and the slave nodes via the sub-channel scoreboards according to the channel type.

[0011] According to another aspect of the present application, there is provided an electronic device comprising:

[0012] at least one processor; and

[0013] a memory in communication with the at least one processor; wherein

[0014] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the method according to any one of the embodiments of the present application.

[0015] According to another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for enabling a processor to perform the method according to any one of the embodiments of the present application when executed by the processor.

[0016] The technical solution of the embodiments of the present application establishes independent sub-channel scoreboards between the master nodes and the slave nodes of the NOC, and the master nodes and the slave nodes can communicate based on the independent sub-channel scoreboards, thereby ensuring the determinacy of the transmission sequence between the master nodes and the slave nodes without adding detection devices, thus reducing the complexity of the verification environment and improving the execution efficiency of the verification environment.

[0017] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0019] Figure 1 is a flow chart of a multi-channel communication method in a network-on-chip (NOC) verification according to an embodiment of the present application;

[0020] Figure 2 is a schematic diagram of an application scenario of multi-channel communication in NOC verification according to an embodiment of the present application;

[0021] Figure 3is a multi-channel communication method flow chart in a network on chip NOC verification according to the second embodiment of the present application;

[0022] Figure 4 is a multi-channel communication device structure schematic diagram in a network on chip NOC verification according to the third embodiment of the present application;

[0023] Figure 5 is a structure schematic diagram of an electronic device according to the fourth embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the personnel in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the present application.

[0025] It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily have to include only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product or device.

[0026] Embodiment one

[0027] Figure 1 A multi-channel communication method flow chart in a network on chip NOC verification is provided for the first embodiment of the present application. The present embodiment can be applied to the case of multi-channel communication in a network on chip NOC verification. The method can be executed by a multi-channel communication device in a network on chip NOC verification. The device can be realized in the form of hardware and / or software. As shown in the figure, the method comprises: Figure 1

[0028] Step S101, respectively establishing independent sub-channel scoreboards between the master node and the slave node in the NOC.

[0029] ​Wherein, in each node of the NOC bus network, there are master nodes and slave nodes, each master can initiate transmission command and write data to each slave, and each slave returns response or read data to the master which initiates the command after receiving the command. The number of nodes in the NOC network is very large, for example, there are 64 nodes, each node includes 3 masters and 1 slave, so there are 192 masters and 64 slaves in total. According to the routing rules of the NOC network, the 192 masters can reach any one of the 64 slaves, and each slave needs to be able to send the response channel to the 192 masters.

[0030] Optionally, independent sub-channel scoreboards are respectively established between the master nodes and the slave nodes in the NOC, including: determining the communication paths of the master nodes and the slave nodes in the NOC; and establishing independent sub-channel scoreboards for each communication path.

[0031] Wherein, as Figure 2 The application scenario diagram of multi-channel communication in the NOC verification in the embodiment is shown in the figure. As described above, after determining all the masters and slaves contained in the NOC, the communication paths of the masters and the slaves are determined, and independent sub-channel scoreboards are established for each communication path.

[0032] In a specific implementation, since the verification of the NOC needs to be considered for the design of the scoreboards by decomposing into two channel types of request channel and response channel. For example, when the number of masters is 192 and the number of slaves is 64, for the request channel, there is an independent sub-channel scoreboard from each master to each slave, and the design is as follows:

[0033] master0->slave0, master0->slave1, master0->slave3,..., master0->slave63;

[0034] master1->slave0, master1->slave01, master1->slave03,..., master1->slave63; ......

[0036] master191->slave0, master191->slave1, master191->slave3,..., master191->slave63.

[0037] For the response channel, each slave-to-each master is an independent sub-channel score board, designed as follows:

[0038] slave0->master0, slave0->master1, slave0->master3,... slave0->master191;

[0039] slave1->master0, slave1->master1, slave1->master3,... slave1->master191; ...

[0041] slave63->master0, slave63->master1, slave63->master3,... slave63->master191.

[0042] Through the above operation, for different channel types, the master node master and the slave node slave are directly established independently of each other, respectively.

[0043] Step S102, when performing NOC verification, determine the channel type between the master node and the slave node.

[0044] Optionally, when performing NOC verification, the channel type between the master node and the slave node is determined, including: determining the initiator of communication when performing NOC verification; judging whether the initiator is the master node, if yes, determining the channel type as the request channel, otherwise, determining the channel type as the response channel.

[0045] Specifically, after creating an independent sub-channel score board between the master node and the slave node, before performing NOC verification and node communication, the channel type between the master node and the slave node needs to be determined, the channel type in the embodiment mainly includes the request channel and the response channel. The data initiation mode corresponding to different request channels is different, so the initiator of communication can be determined, when the initiator is the master node master, the channel type is determined as the request channel; when the initiator is the slave node slave, the channel type is determined as the response channel.

[0046] Among them, the request channel in the embodiment includes the read-write address channel and the write data channel, the response channel includes the read-write response channel and the read data channel, of course, the embodiment is only an example, and the channel types contained in the request channel and the response channel are not limited.

[0047] Step S103, according to the channel type, each master node and each slave node using sub-channel score board for communication.

[0048] Optionally, according to the channel type, each master node and each slave node using sub-channel score board for communication, comprising: when determining the channel type as request channel, transmitting the read-write address channel and the write data channel by the master node as the start point of data comparison of the sub-channel score board; receiving the read-write address channel and the write data channel by the slave node as the end point of data comparison of the sub-channel score board.

[0049] Optionally, according to the channel type, each master node and each slave node using sub-channel score board for communication, comprising: when determining the channel type as response channel, transmitting the read-write response channel and the read data channel by the slave node as the start point of data comparison of the sub-channel score board; receiving the read-write response channel and the read data channel by the master node as the end point of data comparison of the sub-channel score board.

[0050] In one implementation, for the request channel, the transmission is sequential from the perspective of one master, for example, the data transmitted by master 0 to slave 0 is M0A0 / M0A1 / M0A2 / M0A3, and the data received by slave 0 is M0A0 / M0A1 / M0A2 / M0A3, thus the data transmitted by the master is sequentially received at the slave side from the perspective of one master. From the perspective of multiple masters, when master 0 and master 1 simultaneously transmit data to slave 0 before the sub-channel scoreboard is established, the data transmitted by master 0 to slave 0 is M0A0 / M0A1 / M0A2 / M0A3, and the data transmitted by master 1 to slave 0 is M1A0 / M1A1 / M1A2 / M1A3 / M1A4, and since the order of receiving data at slave 0 is chaotic according to the design rules of the NOC bus network when master 0 and master 1 transmit data to slave 0, for example, the data received by slave 0 can be M0A0 / M0A1 / M1A0 / M0A2 / M1A1 / M0A3 / M1A2 / M1A3 / M1A4, thus the data order of master 0 and master 1 is chaotic. Therefore, if the conventional scoreboard design rules are used, an additional set of logic that is the same as the NOC bus design principle is required to record and predict the order of data packets in the verification environment, which obviously increases the complexity of the verification environment. In the present application, an independent sub-channel scoreboard is established to adapt to the design rules of the NOC bus network, thus when the independent first sub-channel scoreboard is established between master 0 and slave 0 for data transmission, the data transmitted by master 0 to slave 0 through the first sub-channel scoreboard is M0A0 / M0A1 / M0A2 / M0A3, and the data received by slave 0 through the first sub-channel scoreboard is still M0A0 / M0A1 / M0A2 / M0A3. Similarly, when the independent first sub-channel scoreboard is used for data transmission between master 0 and slave 0, the data transmitted by master 1 to slave 0 through the second sub-channel scoreboard is M1A0 / M1A1 / M1A2 / M1A3 / M1A4, and the data received by slave 0 through the second sub-channel scoreboard is still M1A0 / M1A1 / M1A2 / M1A3 / M1A4.Therefore, when master 0 and master 1 transmit data to slave 0 at the same time, since each of master 0 and master 1 communicates with the sub-channel score board established in advance and independent of slave 0, the data transmission of master 0 and master 1 is independent and does not interfere with each other, so that the accuracy of data transmission between nodes can be determined without additional detection device of data packet.

[0051] In the embodiment of the application, the independent sub-channel score board is established between the master node and the slave node of the NOC, the master node and the slave node can communicate based on the independent sub-channel score board, so that the determination of the transmission sequence between the master node and the slave node can be ensured without additional detection device, thereby reducing the complexity of the verification environment and improving the execution efficiency of the customer verification environment.

[0052] Embodiment two

[0053] Figure 3 A flow chart of a multi-channel communication method in on-chip network (NOC) verification is provided in the embodiment two of the application, and the embodiment is based on the above-mentioned embodiment, and after the sub-channel score board is used for communication between each master node and each slave node according to the channel type, the communication result of the sub-channel score board is detected.

[0054] In step S201, the independent sub-channel score board is established between the master node and the slave node in the NOC.

[0055] Optionally, the independent sub-channel score board is established between the master node and the slave node in the NOC, including determining the communication path of each master node and slave node in the NOC, and establishing the independent sub-channel score board for each communication path.

[0056] In step S202, the channel type between the master node and the slave node is determined when the NOC verification is performed.

[0057] Optionally, the channel type between the master node and the slave node is determined when the NOC verification is performed, including determining the initiation end of communication when the NOC verification is performed, and judging whether the initiation end is the master node, if yes, determining that the channel type is the request channel, or if not, determining that the channel type is the response channel.

[0058] Optionally, the request channel includes the read-write address channel and the write data channel, and the response channel includes the read-write response channel and the read data channel.

[0059] In step S203, the sub-channel score board is used for communication between each master node and each slave node according to the channel type.

[0060] Optionally, the master nodes and the slave nodes communicate according to the channel type by using the sub-channel scoreboards, including: when it is determined that the channel type is a request channel, transmitting the read-write address channel and the write data channel by the master node as the start point of data comparison of the sub-channel scoreboard; and transmitting the read-write address channel and the write data channel by the slave node as the end point of data comparison of the sub-channel scoreboard.

[0061] Optionally, the master nodes and the slave nodes communicate according to the channel type by using the sub-channel scoreboards, including: when it is determined that the channel type is a response channel, transmitting the read-write response channel and the read data channel by the slave node as the start point of data comparison of the sub-channel scoreboard; and transmitting the read-write response channel and the read data channel by the master node as the end point of data comparison of the sub-channel scoreboard.

[0062] Step S204: detecting the communication result of the sub-channel scoreboard.

[0063] In the embodiment, after the master nodes and the slave nodes communicate according to the channel type by using the sub-channel scoreboards, the communication result of the sub-channel scoreboard is detected, that is, whether the out-of-order problem exists in the communication result is detected.

[0064] For example, when master0 and master1 transmit data to slave0 at the same time, the data transmitted by master0 to slave0 is M0A0 / M0A1 / M0A2 / M0A3, and the data transmitted by master1 to slave0 is M1A0 / M1A1 / M1A2 / M1A3 / M1A4. When the independent sub-channel scoreboards are established, if the data received by slave0 still has the following out-of-order result: M0A0 / M0A1 / M1A0 / M0A2 / M1A1 / M0A3 / M1A2 / M1A3 / M1A4, it indicates that the first sub-channel scoreboard established between master0 and slave0 or the second sub-channel scoreboard established between master1 and slave0 fails. When the above result occurs, an alarm is sent to prompt the user to repair the established sub-channel scoreboard, thereby further improving the execution efficiency of the verification environment.

[0065] The embodiment of the application establishes independent sub-channel scoreboards between the master nodes and the slave nodes of the NOC, and the master nodes and the slave nodes can communicate based on the independent sub-channel scoreboards, thereby ensuring the determinacy of the transmission order between the master nodes and the slave nodes without adding a detection device, thus reducing the complexity of the verification environment and improving the execution efficiency of the verification environment.

[0066] Embodiment Three

[0067] Figure 4 Figure 1 shows a structure diagram of a multi-channel communication device in a network-on-chip (NOC) verification according to an embodiment of the present application. Figure 4 As shown in the figure, the device comprises a sub-channel scoreboard establishing module 310, a channel type determining module 320 and a communication module 330.

[0068] The sub-channel scoreboard establishing module 310 is configured to establish independent sub-channel scoreboards between master nodes and slave nodes in the NOC respectively.

[0069] The channel type determining module 320 is configured to determine a channel type between the master nodes and the slave nodes when performing the NOC verification, wherein the channel type comprises a request channel or a response channel.

[0070] The communication module 330 is configured to communicate between the master nodes and the slave nodes using the sub-channel scoreboards according to the channel type.

[0071] Optionally, the sub-channel scoreboard establishing module is configured to determine communication paths of the master nodes and the slave nodes in the NOC.

[0072] Independent sub-channel scoreboards are established for the communication paths respectively.

[0073] Optionally, the channel type determining module is configured to determine an initiating end of the communication when performing the NOC verification.

[0074] It is determined that the channel type is the request channel if the initiating end is the master node, otherwise, it is determined that the channel type is the response channel.

[0075] Optionally, the request channel comprises a read-write address channel and a write data channel, and the response channel comprises a read-write response channel and a read data channel.

[0076] Optionally, the communication module is configured to determine a transmission of the read-write address channel and the write data channel from the master node as a start point of data comparison of the sub-channel scoreboard when it is determined that the channel type is the request channel.

[0077] It is determined that a transmission of the read-write address channel and the write data channel received by the slave node as an end point of data comparison of the sub-channel scoreboard.

[0078] Optionally, the communication module is configured to determine a transmission of the read-write response channel and the read data channel from the slave node as a start point of data comparison of the sub-channel scoreboard when it is determined that the channel type is the response channel.

[0079] It is determined that a transmission of the read-write response channel and the read data channel received by the master node as an end point of data comparison of the sub-channel scoreboard.

[0080] Optionally, the device further comprises a detection module configured to detect the communication result of the sub-channel score board.

[0081] The multi-channel communication device in network-on-chip (NOC) verification provided by the embodiment of the present application can execute the multi-channel communication method in network-on-chip (NOC) verification provided by any embodiment of the present application, and has the function module and beneficial effects corresponding to the execution method.

[0082] Embodiment four

[0083] Figure 5 A structural schematic diagram of an electronic device 10 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application described and / or claimed in this document.

[0084] As shown in Figure 5 The electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11, wherein the memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0085] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, a speaker, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0086] The processor 11 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, and the like. The processor 11 performs various methods and processes described above, such as the multi-lane communication method in network-on-chip NOC verification.

[0087] In some embodiments, the multi-lane communication method in network-on-chip NOC verification can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded onto the RAM 13 and executed by the processor 11, one or more steps of the multi-lane communication method in network-on-chip NOC verification described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the multi-lane communication method in network-on-chip NOC verification by any other suitable means, such as by means of firmware.

[0088] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0089] Computer programs used to implement the methods of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed by the processor of the machine, implements the functions / acts specified in the flowcharts and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or server.

[0090] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store computer programs for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0091] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0092] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), blockchain network, and the Internet.

[0093] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.

[0094] It should be understood that the various forms of flow shown above can be used to reorder, add or delete steps. For example, each step described in the present application can be executed in parallel, sequentially or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, which is not limited herein.

[0095] The above detailed description does not constitute a limitation on the scope of protection of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for multi-lane communication in network-on-chip (NOC) verification, comprising: The method comprises the following steps: establishing independent sub-channel scoreboards between master nodes and slave nodes in a network on chip (NOC); determining a channel type between the master nodes and the slave nodes when performing NOC verification, wherein the channel type comprises a request channel or a response channel; communicating between the master nodes and the slave nodes using the sub-channel scoreboards according to the channel type.

2. The method of claim 1, wherein, The step of establishing independent sub-channel scoreboards between master nodes and slave nodes in a network on chip (NOC) comprises the following steps: determining communication paths of the master nodes and the slave nodes in the NOC; establishing the independent sub-channel scoreboards for the communication paths.

3. The method of claim 1, wherein, The step of determining a channel type between the master nodes and the slave nodes when performing NOC verification comprises the following steps: determining an initiating end of communication when performing NOC verification; judging whether the initiating end is the master node, and if yes, determining that the channel type is a request channel, or if not, determining that the channel type is a response channel.

4. The method of claim 3, wherein, The request channel comprises a read-write address channel and a write data channel, and the response channel comprises a read-write response channel and a read data channel.

5. The method of claim 4, wherein, The step of communicating between the master nodes and the slave nodes using the sub-channel scoreboards according to the channel type comprises the following steps: when it is determined that the channel type is a request channel, taking transmission of the read-write address channel and the write data channel sent by the master node as a start point of data comparison of the sub-channel scoreboard; taking transmission of the read-write address channel and the write data channel received by the slave node as an end point of data comparison of the sub-channel scoreboard.

6. The method of claim 4, wherein, The step of communicating between the master nodes and the slave nodes using the sub-channel scoreboards according to the channel type comprises the following steps: when it is determined that the channel type is a response channel, taking transmission of the read-write response channel and the read data channel sent by the slave node as a start point of data comparison of the sub-channel scoreboard; taking transmission of the read-write response channel and the read data channel received by the master node as an end point of data comparison of the sub-channel scoreboard.

7. The method according to any one of claims 1 to 6, characterized in that, After the step of communicating between the master nodes and the slave nodes using the sub-channel scoreboards according to the channel type, the method further comprises the following step: detecting a communication result of the sub-channel scoreboard.

8. A multi-lane communication device in a network-on-chip (NOC) verification, characterized in that, The method comprises the following steps: a sub-channel scoreboard establishing module is configured to establish independent sub-channel scoreboards between master nodes and slave nodes in a network on chip (NOC); a channel type determining module is configured to determine a channel type between the master nodes and the slave nodes when performing NOC verification, wherein the channel type comprises a request channel or a response channel; a communication module is configured to communicate between the master nodes and the slave nodes using the sub-channel scoreboards according to the channel type.

9. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the method in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for causing the processor to implement the method of any one of claims 1-7 when executed.

Citation Information

Patent Citations

  • Interface multiplexing module verification platform architecture and rapid expansion implementation method

    CN110888767A

  • Verification method of APB-UART module based on UVM

    CN111913840A