A kind of NI interface controller and data transmission method

文档序号:1744642 发布日期:2019-11-26 浏览:23次 中文

阅读说明:本技术 一种ni接口控制器及数据传输方法 (A kind of NI interface controller and data transmission method ) 是由 王晓蕾 朱新宇 聂言硕 宋宇鲲 张多利 杜高明 于 2019-08-22 设计创作,主要内容包括:本申请公开了一种NI接口控制器及数据传输方法,其中,该NI接口控制器包括:配置模块用于从配置网络中获取、并发送待传输数据的配置信息至NI接口模块;状态模块用于从状态网络中获取、并发送资源节点的状态信息至NI接口模块;NI接口模块设置于路由节点和资源节点之间,NI接口模块用于根据配置信息,确定接收端路由节点,并结合状态信息,建立发送端路由节点与接收端路由节点之间的数据链路,NI接口模块还用于根据配置信息,依次从发送端资源节点中获取待传输数据,并利用数据链路,将待传输数据传输至接收端路由节点。通过本申请中的技术方案,提高片上网络资源节点兼容性,提高数据传递成功率及传输效率,减少资源节点的资源占用。(This application discloses a kind of NI interface controller and data transmission methods, wherein the NI interface controller includes: configuration module for the configuration information of data to be transmitted to be obtained and sent from Configuration network to NI interface module;Block of state from state network for obtaining and sending the status information of resource node to NI interface module;NI interface module is set between routing node and resource node, NI interface module is used for according to configuration information, determine receiving end routing node, and bonding state information, the data link between transmitting terminal routing node and receiving end routing node is established, NI interface module is also used to successively obtain data to be transmitted from transmitting terminal resource node according to configuration information, and data link is utilized, data to be transmitted is transmitted to receiving end routing node.By the technical solution in the application, network-on-chip resource node compatibility is improved, data transmitting success rate and efficiency of transmission is improved, reduces the resource occupation of resource node.)

1. a kind of NI interface controller, the NI interface controller is suitable for the network-on-chip being made of multiple routing nodes, often Resource node is connected on one routing node, which is characterized in that the NI interface controller includes: configuration module, shape Morphotype block and NI interface module;

The configuration module from Configuration network for obtaining and sending the configuration information of data to be transmitted to the NI interface mould Block, wherein the data to be transmitted is stored in transmitting terminal resource node;

The block of state from state network for obtaining and sending the status information of the resource node to the NI interface Module, wherein the status information includes the useful signal of the data to be transmitted and the Seize ACK message of the resource node;

The NI interface module is set between the routing node and the resource node, and the NI interface module is used for basis The configuration information determines receiving end routing node, and in conjunction with the status information, establishes the transmitting terminal routing node and institute The data link between the routing node of receiving end is stated, the NI interface module is also used to according to the configuration information, successively from institute It states and obtains the data to be transmitted in transmitting terminal resource node, and utilize the data link, the data to be transmitted is transmitted To the receiving end routing node.

2. NI interface controller as described in claim 1, which is characterized in that the NI interface module includes: that data packet is sent Unit and data packet receiving unit;

The data packet sending unit is connected between the resource node and the data sending terminal of the routing node, institute Data packet sending unit is stated for obtaining the configuration information one by one, and the configuration information is sent to the resource node, The data packet sending unit is also used to from the resource node, obtains the data to be transmitted and the useful signal, and The useful signal is transferred to the block of state, the data packet sending unit, which is also used to work as, receives the block of state Control signal when, using the data link, the data to be transmitted is transmitted to the routing node of the receiving end;

The data packet receiving unit is connected between the resource node and the data receiver of the routing node, the number According to packet receiving unit for obtaining the Seize ACK message, and the Seize ACK message is transferred to the block of state, the data After packet receiving unit is also used to obtain the data to be transmitted from the routing node, the data to be transmitted that will acquire is passed Transport to the resource node.

3. NI interface controller as claimed in claim 2, which is characterized in that the NI interface module includes: storage unit;

The storage unit is set between the configuration module and the data packet sending unit, and the storage unit is for depositing The configuration information is stored up, and successively sends the configuration information to the data packet sending unit.

4. NI interface controller as claimed in claim 3, which is characterized in that the storage unit is that the storage of first in, first out type is single Member.

5. NI interface controller as claimed in claim 2, which is characterized in that further include state processing in the block of state Device;

The condition handler is used to when the useful signal for the data to be transmitted for determining the transmitting terminal be 1 and the receiving end The Seize ACK message of resource node when being 0, generate and send control signal to the data packet sending unit, the control signal The data to be transmitted is sent for controlling the data packet sending unit.

6. a kind of data transmission method, which is characterized in that the data transmission method is suitable for any one of claims 1 to 5 The NI interface controller, which is characterized in that the data transmission method includes:

Step 1, the configuration information of data to be transmitted and the status information of receiving end resource node are obtained, and matches confidence according to described Breath and the status information, establish the data path between transmitting terminal routing node and receiving end routing node;

Step 2, according to polling cycle, judge whether the residual storage capacity of the receiving end resource node is greater than preset capacity threshold Value, if so, the data to be transmitted is transmitted to the resource section of receiving end by the data path by the NI interface controller Point, if it is not, re-executeing the steps 2 when determining that wrap count is less than default polling threshold.

7. data transmission method as claimed in claim 6, which is characterized in that the data transmission method further include:

Step 3, according to the data packet number in the configuration information, judge whether the transmission for completing the data to be transmitted, if It is no, 2 are re-execute the steps, if so, generate the link cancel an order of the data path, and according to the link cancel an order, Cancel the data path.

8. data transmission method as claimed in claim 6, which is characterized in that when the residue for determining the receiving end resource node When memory capacity is greater than preset capacity threshold value, further includes: judge whether the data to be transmitted is effective, if so, the NI interface The data to be transmitted is transmitted to the resource node of receiving end, if it is not, by the poll by the data path by controller Number adds 1, and judges whether the wrap count is less than default polling threshold.

Technical field

This application involves the technical fields of network-on-chip, transmit in particular to NI interface controller and a kind of data Method.

Background technique

Interconnection architecture as system on chip performance requirement is higher and higher, between processor core, it is necessary to have compared with low latency With the service of high-throughput, good scalability is had both.Traditional centralized interconnection architecture based on bus has been difficult to full The performance requirement of sufficient present-day systems, and the network-on-chip based on MESSAGE EXCHANGE are increasingly becoming the first choice communicated between chip multi-core mutually Frame linking structure.Network-on-chip uses for reference the communication modes of distributed computer, using data routing and packet-switch technology, substitution tradition Bus structures, there is good address space and expansibility, and parallel processing capability is stronger, meanwhile, using global synchronization, The problems such as asynchronous mechanism in part, effectively solution global clock bring power consumption and area increase, with semiconductor process technique Progress and chip integration raising, network-on-chip shows boundless application prospect.

Network-on-chip is made of multiple routing nodes, each routing node is connected with a resource node again, wherein For storing data, and routing node is used to establish the link of transmission data to resource node, can general according to data transfer direction The data transmission of network-on-chip is divided into two major classes: the direction transmission and the transmission of more purpose directions of monocular, wherein more purpose directions It is transmitted as multiple routing nodes of the single routing node into network-on-chip and sends data, the direction of monocular is transmitted as individually routing A routing node of the node into network-on-chip continuously transmits multiple data.

And in the prior art, for the transmission of more purpose directions, since different resource intra-node includes respective connects Mouthful unit, leads to that the compatibility between resource node and network-on-chip is not strong, carry is not flexible, and is counted in resource node According to send when, only for when previous item instruction carry out data transmission, data transmission interval time is long, cause network-on-chip into When row high-volume data are transmitted, efficiency of transmission is lower.

Equally, for the transmission of the direction of monocular, when resource node inter-process data, due to processing time, storage Space problem may have the case where output data interruption, output data pause, and data is caused to transmit discontinuous, data rank The phenomenon that connecing exception, data failure influences the reliability and stability of network-on-chip data transmission.

Summary of the invention

The purpose of the application is: shortening data transmission time interval duration, improves the efficiency of transmission of network-on-chip, avoid Data-linkage exception, data failure, improve the reliability and stability of network-on-chip data transmission.

The technical solution of the application first aspect is: providing a kind of NI interface controller, NI interface controller is suitable for The network-on-chip being made of multiple routing nodes is connected with resource node on each routing node, which is characterized in that NI interface Controller includes: configuration module, block of state and NI interface module;Configuration module is used to obtain from Configuration network, is concurrent Send the configuration information of data to be transmitted to NI interface module, wherein data to be transmitted is stored in transmitting terminal resource node;State mould Block from state network for obtaining and sending the status information of resource node to NI interface module, wherein status information includes The useful signal of data to be transmitted and the Seize ACK message of resource node;NI interface module be set to routing node and resource node it Between, NI interface module is used to determine receiving end routing node, and bonding state information according to configuration information, establish transmitting terminal road By the data link between node and receiving end routing node, NI interface module is also used to according to configuration information, successively from transmission Data to be transmitted is obtained in the resource node of end, and utilizes data link, and data to be transmitted is transmitted to receiving end routing node.

In any of the above-described technical solution, further, NI interface module includes: that data packet sending unit and data packet connect Receive unit;Data packet sending unit is connected between resource node and the data sending terminal of routing node, data packet sending unit It is sent to resource node for obtaining configuration information one by one, and by configuration information, data packet sending unit is also used to from resource section In point, data to be transmitted and useful signal are obtained, and useful signal is transferred to block of state, data packet sending unit is also used to When receiving the control signal of block of state, using data link, data to be transmitted is transmitted to the routing node of receiving end; Data packet receiving unit is connected between resource node and the data receiver of routing node, and data packet receiving unit is for obtaining Seize ACK message, and Seize ACK message is transferred to block of state, data packet receiving unit is also used to obtain from routing node to be transmitted After data, the data to be transmitted that will acquire is transmitted to resource node.

In any of the above-described technical solution, further, NI interface module includes: storage unit;Storage unit is set to Between configuration module and data packet sending unit, storage unit is used for storage configuration information, and successively sends configuration information to number According to packet transmission unit.

In any of the above-described technical solution, further, storage unit is first in, first out type storage unit.

It further include condition handler in block of state further in any of the above-described technical solution;Condition handler is used In when determining that the useful signal of data to be transmitted of transmitting terminal is 1 and the Seize ACK message of the resource node of receiving end is 0, give birth to At and send a control signal to data packet sending unit, control signal sends number to be transmitted for control data bag transmission unit According to.

The technical solution of the application second aspect is: providing a kind of data transmission method, data transmission method is suitable for The NI interface controller of any one of first aspect technical solution, data transmission method include: step 1, obtain data to be transmitted Configuration information and the status information of receiving end resource node establish transmitting terminal routing and according to configuration information and status information Data path between node and receiving end routing node;Step 2, according to polling cycle, judge the surplus of receiving end resource node Whether remaining memory capacity is greater than preset capacity threshold value, if so, NI interface controller is transmitted data to be transmitted by data path To the resource node of receiving end, if it is not, re-executeing the steps 2 when determining that wrap count is less than default polling threshold.

In any of the above-described technical solution, further, data transmission method further include:

Step 3, according to the data packet number in configuration information, judge whether the transmission for completing data to be transmitted, if it is not, weight It is new to execute step 2, if so, generating the link cancel an order of data path, and according to link cancel an order, cancel data path.

In any of the above-described technical solution, further, when the residual storage capacity for determining receiving end resource node is greater than When preset capacity threshold value, further includes: judge whether data to be transmitted is effective, if so, NI interface controller passes through data path, it will Data to be transmitted is transmitted to the resource node of receiving end, if it is not, wrap count is added 1, and it is pre- to judge whether wrap count is less than If polling threshold.

The beneficial effect of the application is:

By the technical solution in the application, solve in resource node high-volume data transmission procedure, the data of appearance The problem of discontinuous, data-linkage is extremely, transmission efficiency is low.By the way that independent NI is arranged between resource node and routing node Interface controller receives the configuration information issued from Configuration network using configuration module and block of state, and uploads resource section Three-point state information realizes individual packages data, transmits and unpack received function, keeps resource node carry more flexible, Network-on-chip resource node compatibility is improved, network-on-chip scalability is improved.

In this application, by the way that FIFO type storage unit is arranged, may be implemented to multiple configuration informations of resource node into Row storage, and the parsing of purpose coordinate is carried out to configuration information in order, receiving end routing node coordinate is determined, to generate pair The data link answered carries out data transmission, reduces the multi-direction data of resource node and sends the waiting time, improves data transmitting Efficiency.

In this application, it is detected by the residual storage capacity to receiving end resource node, and detects transmission data Validity, advantageously account for the discontinuity problem to one direction high-volume data, reduce data transmission exception, improve data and pass Pass success rate and efficiency of transmission.

In this application, resource node is separated with NI interface, NI interface independently depends on network-on-chip, reduces resource Node reduces the resource occupation of resource node, improves on resource node to the process of local packing, the detection data transmitting of data Operational performance, meanwhile, network-on-chip and NI Interference fit keep network-on-chip integrated operation stronger.

Detailed description of the invention

The advantages of above-mentioned and/or additional aspect of the application, will become bright in combining description of the following accompanying drawings to embodiment It shows and is readily appreciated that, in which:

Fig. 1 is the data link schematic diagram according to one embodiment of the application;

Fig. 2 is the schematic block diagram according to the NI interface controller of one embodiment of the application;

Fig. 3 is the schematic diagram according to the Configuration network of one embodiment of the application;

Fig. 4 is the schematic diagram according to the state network of one embodiment of the application;

Fig. 5 is the schematic flow diagram according to the data transmission method of one embodiment of the application.

Specific embodiment

It is with reference to the accompanying drawing and specific real in order to be more clearly understood that the above objects, features, and advantages of the application Mode is applied the application is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.

In the following description, many details are elaborated in order to fully understand the application, still, the application may be used also To be implemented using other than the one described here other modes, therefore, the protection scope of the application is not by described below Specific embodiment limitation.

Existing network-on-chip is formed by connecting by multiple routing nodes, and each routing node is connected with a resource section again Point, wherein routing node is responsible for establishing Data Data link, and resource node then stores corresponding data to be transmitted.Sending end pending After data link setup between receiving end, the data to be transmitted in transmitting terminal resource node is passed by the data link Transport to receiving end resource node.

On the basis of existing network-on-chip, Configuration network and state network are individually constructed, wherein Configuration network is used In receiving, issuing user to the configuration information of data to be transmitted configuration in network-on-chip, the configuration information is via NI Interface Controller Configuration module, the NI interface module being arranged in device, into resource node, in order to which resource node sends out corresponding data to be transmitted It send to NI interface module.

State network is used to transmit the status information of each resource node in network-on-chip, including the effective of data to be transmitted The Seize ACK message of signal and resource node, the status information, by NI interface module, are sent to state network by resource node, It is received and is handled by the block of state being arranged in NI interface controller again, realized and number to be transmitted is sent to NI interface module According to control.

The configuration information that different nodes are issued by the way that Configuration network successive is arranged, makes the coordination of network-on-chip routing node Property, configurability it is stronger, configuration module issues the configuration information of data to be transmitted by Configuration network, can be accurate, in time Be transferred in NI interface controller, control data transmission.State network collects each resource node in network-on-chip Status information, can in time, be accurately transferred to block of state, processing of the block of state to resource node status information, and and When be transferred to NI interface, improve the accuracy of data transmitting, effectively prevent data jamming, improve transmission efficiency.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种相位校准方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!