[go: up one dir, main page]

CN109450705A - A kind of network-on-chip verification method and system towards mapping based on FPGA - Google Patents

A kind of network-on-chip verification method and system towards mapping based on FPGA Download PDF

Info

Publication number
CN109450705A
CN109450705A CN201811513663.8A CN201811513663A CN109450705A CN 109450705 A CN109450705 A CN 109450705A CN 201811513663 A CN201811513663 A CN 201811513663A CN 109450705 A CN109450705 A CN 109450705A
Authority
CN
China
Prior art keywords
mapping
network
chip
node
chip network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811513663.8A
Other languages
Chinese (zh)
Other versions
CN109450705B (en
Inventor
徐志康
陈亦欧
凌翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201811513663.8A priority Critical patent/CN109450705B/en
Publication of CN109450705A publication Critical patent/CN109450705A/en
Application granted granted Critical
Publication of CN109450705B publication Critical patent/CN109450705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种基于FPGA的面向映射的片上网络验证方法及系统,该系统引入面向映射针对应用任务的处理平台(处理平台中包括三个面向映射的软核)能够模拟生成应用任务的数据特性;并且进一步设计了模拟片上网络仿真平台—MAENoC,通过向模拟片上网络各节点写入映射应用数据,在线监控映射算法在片上网络运行结果,能够实现对面向应用映射的片上网络的快速仿真评估;所述模拟片上网络仿真平台—MAENoC,以分区的形式连接,区内的节点以总线的连接形式。利用基于路由表配置的方法,能够模拟生成NoC的不同拓扑;各节点支持多流水机制以及虚通道动态重构,并且加入了虚拟化的技术,以能够支持数量巨大的节点的NoC验证。The invention discloses an FPGA-based mapping-oriented on-chip network verification method and system. The system introduces a processing platform for mapping application tasks (the processing platform includes three mapping-oriented soft cores) capable of simulating data for generating application tasks. Features; and further designed the analog on-chip network simulation platform - MAENoC, by writing mapping application data to each node on the analog chip network, online monitoring mapping algorithm in the on-chip network operation results, can achieve rapid simulation evaluation of application-oriented mapping on-chip network The analog on-chip network simulation platform, MAENoC, is connected in the form of a partition, and the nodes in the area are connected by a bus. Using the routing table configuration method, it is possible to simulate different topologies for generating NoC; each node supports multiple pipeline mechanisms and virtual channel dynamic reconstruction, and has added virtualization technology to support NoC verification of a large number of nodes.

Description

A kind of network-on-chip verification method and system towards mapping based on FPGA
Technical field
The present invention relates to network-on-chip verification technique field more particularly to a kind of piece online towards mapping based on FPGA Network verification method and system.
Background technique
As the development of artificial intelligence is encountered using GPU, general SoC as the machine learning of representative/deep learning processor The problems such as processing overlong time, computing resource is limited.In the following 5G communication in index, more application scenarios, high concurrent, low function Consumption, " zero " time delay etc. require processor design to bring higher challenge.On the other hand, according to newest 7nm manufacturing process, nail It can integrate 7,000,000,000 transistors on the chip of piece size.In deep-submicron, the typical multicore on piece based on conventional bus design Processor (Multicore Processor System on Chip) has that bandwidth throughput is limited, poor expandability, the overall situation Synchronize the problems such as difficult, power consumption is high bottleneck.The technical idea of computer network is used for reference, proposition is substituted with routing and packet technology Conventional bus, this communication construction are known as network-on-chip (NoC), can effectively solve the above problem, set for artificial intelligent processor Meter, the design of 5G communication chip bring new architectural schemes.
How the IP kernel of practical application task is corresponded to the processing core node of network-on-chip, mapping is determined using final The time of execution and the power consumption of network-on-chip, play important role in the research of network-on-chip.Existing mapping is tested There is following problems for the application demand that card platform faces the future: 1, existing NoC emulator is largely based on advanced programming The software emulation platform that language is write, there are slow-footed disadvantages when towards extensive NoC emulation.Additionally, due to emulator Essence is using the physical characteristic of certain function performance hardware, and there are the data of emulation not to be inconsistent with truth, the standard of verifying The low problem of exactness.The great advantage of software simulator be configuration flexibly, be easy to write, convenient for debugging and cost of implementation compares It is low.Software simulator based on general SoC instruction fetch type face large size NoC topology when simulation velocity it is slow, Sanchez with Kozyrakis points out the time for needing to spend 1 year using the system on chip 1s of 1000 core of Gem5 simulating, verifying.Booksim software Emulator will realize source data transfer characteristic, it is only necessary to several simple C codes, but correspond to hardware requirement data packet and send mould The clock frequency of block is significantly larger than system clock, this point does not meet true hardware case.2, the Hardware Verification Platform having proposed, Primarily directed to the design and verifying of NoC topological structure, lack the NoC verification platform of application-oriented mapping.On the other hand big portion The routing node of the emulation platform divided in design, does not account for the floating of real router design, this point and reality The NoC that border is realized has any different.Such as AdapNoC passes through the FPGA interface that PC host is connected, and matches to the transmission of soft-core processor resource Parameter is set to configure the communication resource, these communication resources include network structure configuration data and communication data.DART passes through generation Different regions, the node in region are connected by bus, and different regions exist in the form connected entirely, are sent to by host The network communication protocol data of FPGA carry out configuration node routing table, achieve the purpose that a variety of topologys of simulation.The verifying of appeal is flat Platform is limited only to the emulation of on-chip network structure, lacks the crucial emulation of the data characteristic for application, is limited to network communication side The emulation in face, thus the working environment of multiple nucleus system can not be restored in conjunction with the content of multicore processing;Common hardware emulator road One stage single stage format is designed as by device, rather than multistage flowing water form generally used now, the task in multicore field is not supported Mapping distribution lacks power consumption, network congestion emulation data in relation to mapping.
Summary of the invention
An object of the present invention at least that, for how to overcome the above-mentioned problems of the prior art, provide one kind The network-on-chip verification method and system towards mapping based on FPGA, can be realized to the network-on-chip of application-oriented mapping High-speed simulation assessment.
To achieve the goals above, the technical solution adopted by the present invention includes following aspects.
A kind of network-on-chip verification method towards mapping, it is described to include:
S101: obtaining the application and Survey on network-on-chip topology set by user that user inputs, choose mapping algorithm, And the node of the application is mapped on the corresponding node of the network-on-chip set by user using the mapping algorithm, it obtains To mapping result and export the mapping result;
S102: according to each node-routing of the Survey on network-on-chip topology setting simulation network-on-chip set by user Table configures the topological structure of the simulation network-on-chip based on each node route list of the simulation network-on-chip;And according to institute Mapping result is stated, the corresponding application data stream of each node is configured, and sends the application data stream to the simulation network-on-chip;
S103: receiving the application data stream, the exchange transmission process of simulation application data flow in simulation network-on-chip, With obtain the mapping result simulation network-on-chip in operation result, the operation result include simulate network-on-chip when Prolong, power consumption information;
Whether within a preset range S104: judging the time delay, power consumption information, if the time delay, power consumption information are default In range, then terminate to run.
Preferably, in the network-on-chip verification method, the selection mapping algorithm method particularly includes: to the user The application of input carries out analysis of complexity, chooses mapping algorithm based on the complexity analyzing result.
Preferably, in the network-on-chip verification method, the step 104 further include: if the time delay, power consumption information are not Within a preset range, then analysis of complexity is carried out to the application of user input again in return step 101, with more new mappings Algorithm.
A kind of network-on-chip verifying system towards mapping, it is described to include:
Algorithm platform for obtaining the application and Survey on network-on-chip topology set by user that user inputs, and determines Mapping algorithm, and it is corresponding using the mapping algorithm node of the application to be mapped to the network-on-chip set by user On node, mapping result is obtained, and the mapping result is exported to processing platform;
Processing platform, for according to the simulation piece in the Survey on network-on-chip topology setting emulation platform set by user Each node route list of upper network, based on each node route list of the simulation network-on-chip in the emulation platform, described in configuration Simulate the topological structure of network-on-chip;And according to the mapping result, the corresponding application data stream of each node is configured, and send institute Application data stream is stated to emulation platform;
Emulation platform simulates the application number for receiving the application data stream, and in the simulation network-on-chip Transmission process is exchanged according to stream, to obtain the operation result of the mapping result, the operation result includes simulation network-on-chip Time delay, power consumption information.
Preferably, in the network-on-chip verifying system, the algorithm platform is used for the time delay when the operation result, function When consuming information not within values, the mapping algorithm is updated.
Preferably, in the network-on-chip verifying system, the emulation platform utilizes subregion, by stages bus and section net Shape structure is configured.
In conclusion by adopting the above-described technical solution, the present invention at least has the advantages that
1, this paper presents the network-on-chips towards mapping based on FPGA to verify system, which utilizes towards mapping needle The processing platform (including the soft core of three orientations mapping in processing platform) of application task can be simulated and generate application task Data characteristic;And simulation network-on-chip emulation platform-MAENoC is further devised, by respectively saving to simulation network-on-chip Data are applied in point write-in mapping, and mapping algorithm is monitored online in network-on-chip operation result, can be realized to application-oriented mapping Network-on-chip high-speed simulation assessment;
2, the simulation network-on-chip emulation platform-MAENoC is connected in the form of subregion, and the node in area is with bus Type of attachment.Using the method based on configuration, the different topology for generating NoC can be simulated;Each node supports multithread Water dispenser system and Virtual Channel dynamic restructuring, and joined the technology of virtualization, can support the NoC of the node of enormous amount Verifying.
Detailed description of the invention
Fig. 1 is the network-on-chip verification method flow chart according to an exemplary embodiment of the present invention towards mapping;
Fig. 2 is the network-on-chip verifying system processing platform according to an exemplary embodiment of the present invention towards mapping and emulation Platform structure block diagram;
Fig. 3 is mission statement frame format schematic diagram according to an exemplary embodiment of the present invention;
Fig. 4 is emulation platform MAENoC framework and its subregion internal structure frame according to an exemplary embodiment of the present invention Figure;
Fig. 5 is emulation platform MAENoC reconstruct Virtual Channel according to an exemplary embodiment of the present invention and floating signal Figure;
Fig. 6 is according to an exemplary embodiment of the present invention using two physical extent emulation 2*4mesh schematic diagrames and its void Quasi-ization schematic illustration;
Fig. 7 is system clock according to an exemplary embodiment of the present invention and FPGA timing relationship schematic diagram.
Specific embodiment
With reference to the accompanying drawings and embodiments, the present invention will be described in further detail, so that the purpose of the present invention, technology Scheme and advantage are more clearly understood.It should be appreciated that described herein, specific examples are only used to explain the present invention, and does not have to It is of the invention in limiting.
Fig. 1 shows the network-on-chip verification method according to an exemplary embodiment of the present invention towards mapping.The embodiment Method specifically include that
S101: obtaining the application and Survey on network-on-chip topology set by user that user inputs, choose mapping algorithm, And the node of the application is mapped on the corresponding node of the network-on-chip set by user using the mapping algorithm, it obtains To mapping result and export the mapping result;
S102: according to each node-routing of the Survey on network-on-chip topology setting simulation network-on-chip set by user Table configures the topological structure of the simulation network-on-chip based on each node route list of the simulation network-on-chip;And according to institute Mapping result is stated, the corresponding application data stream of each node is configured, and sends the application data stream to the simulation network-on-chip;
S103: receiving the application data stream, the exchange transmission process of simulation application data flow in simulation network-on-chip, With obtain the mapping result simulation network-on-chip in operation result, the operation result include simulate network-on-chip when Prolong, power consumption information;
Whether within a preset range S104: judging the time delay, power consumption information, if the time delay, power consumption information are default In range, then terminate to run.
Specifically, the network-on-chip verification method towards mapping is the on piece towards mapping designed based on the present invention What network verifying system was realized.The network-on-chip verifying system specifically includes that
Algorithm platform for obtaining the application and Survey on network-on-chip topology set by user that user inputs, and determines Mapping algorithm, and it is corresponding using the mapping algorithm node of the application to be mapped to the network-on-chip set by user On node, mapping result is obtained, and the mapping result is exported to processing platform;
Processing platform, for according to the simulation piece in the Survey on network-on-chip topology setting emulation platform set by user Each node route list of upper network, based on each node route list of the simulation network-on-chip in the emulation platform, described in configuration Simulate the topological structure of network-on-chip;And according to the mapping result, the corresponding application data stream of each node is configured, and send institute Application data stream is stated to emulation platform;
Emulation platform simulates the application number for receiving the application data stream, and in the simulation network-on-chip Transmission process is exchanged according to stream, to obtain the operation result of the mapping result, the operation result includes simulation network-on-chip Time delay, power consumption information.
Wherein, algorithm platform obtains the application and Survey on network-on-chip topology set by user that user inputs, and can Mapping algorithm is chosen according to application analysis of complexity, and the node of the application is mapped to the use using the mapping algorithm On the corresponding node of network-on-chip of family setting, to obtain mapping result, and the processing of the mapping result to rear end is exported Platform.Further, the algorithm platform can also be according to the simulation run result retrofit institute of processing platform, emulation platform State mapping algorithm.For example, choosing simplest mapping algorithm during one-time authentication by complicated method analytic approach, working as emulation The operation result time delay of platform, power consumption not within a preset range when, then analysis of complexity is carried out to application again, chooses new reflect Algorithm is penetrated, the new mapping algorithm complexity is commonly greater than the preceding mapping algorithm once chosen.And the algorithm is in hardware It is realized in processor (such as: computer, PC etc.) by software programmings such as MATLAB.
As shown in Fig. 2, the mapping result can pass to processing platform in a manner of configuration file.In processing platform I Introduce towards mapping using data characteristic generate SCPU (the simple process core based on Microbalze), the processing Platform includes mapping result processing core SCPU3, data transmit-receive core SCPU1, information configuration core SCPU2.Processing platform ties mapping Executive condition output of the fruit on network-on-chip (NoC).The input of processing platform includes that the NoC topology size of pre-generatmg (is used The Survey on network-on-chip topology of the customized setting in family) and mapping result.We utilize the PCIE interface of FPGA, at mapping result Core write-in mapping scheduler result (mapping result) is managed, the mapping result processing core SCPU3 is responsible for being based on the mapping result mould The quasi- task description information for generating application, task description information are that the corresponding application data stream of each node of configuration is (i.e. every Node data stream of a node in the application task).
Information configuration core SCPU2 is for the simulation piece in the NoC topology size setting emulation platform based on the pre-generatmg Each node route list information of upper network, emulation platform can be based on each node route list information, configuration analog network topology Structure.Node among network-on-chip is exactly router, it is by inquiring the routing table of oneself, so that knowing can be toward which node Or toward which node forwarding, thus obtain the topological structure of network.Data transmit-receive core SCP1 will generate the task of application Data flow is sent to MAENoC (emulation platform designed by the present invention), and simulates network-on-chip data exchange mistake in emulation platform As the receiving module of MAENoC when journey, receives and count the package informatin after routing.
Network-on-chip verifying system can change the topological size of network, existing verifying NoC topology shift gears including To integrating again for entire engineering, by the way of restructural, or existing extensive NoC is utilized, routed by updating The mode of table is to realize different NoC topologys.Therefore the mode for updating routing table realizes different Survey on network-on-chip topology.It is right Again synthesis can devote a tremendous amount of time entire engineering, especially when a large amount of node that network-on-chip includes, generalized time It will be inestimable.A large amount of FPGA resource is consumed using existing Reconfiguration Technologies.Therefore we devise based on FPGA's MAENoC network-on-chip emulation platform, subregion and subregion are interconnected into network in the emulation platform, we are by updating in Fig. 1 Global route information table, achieve the purpose that change network-on-chip topology.If be fitted application PE (PE is processing unit, Processing element) it joined in the design of node of emulation NoC, but when the interstitial content of verifying is more, PE meeting A large amount of hardware resource is occupied, in addition distributed traffic generates the additional resource overhead of the bring complexity synchronous with design realization Property.Since verification platform is without considering true PE node, it is contemplated that minimize Resources Consumption to generate the flow of application task Properties of flow, and be conducive to monitor in real time, data transmit-receive part is moved to data transmit-receive core SCPU1, information configuration core by us SCPU2 is responsible for NoC network node parameter centralized configuration, and the application task information of mapping is corresponding to network node for convenience, We are added to mapping result processing core SCPU3.
When Host Pc is by the PCIE interface AXI4 agreement of high speed, mapping result information is passed into SCPU3.SCPU3 is then It is sent to SCPU2 to generate task description frame according to mapping result, to receive this in TR (Traffic Receiver) termination It is engaged in after all task packets that all father nodes are sent, triggering TG (Traffic Generator) generates corresponding data packet to send out Give the task node.The description frame of task needs as shown in figure 3, contain all key messages to application task description Source-purpose data packet that TG is generated, and indicate the section in the simulation network-on-chip in the emulation platform that the data packet to be sent to Point, the task node generate data packet dependence, generate data packet the task execution primary time and corresponding data The size of packet.
BRAM will be present in mission statement frame, according to the TR package informatin received and the execution sequencing of task, quilt SCPU1 is read.TG illustrates information according to the execution time of task and system clock and other task frames, and number is randomly generated According to the content of packet, the task data packet under complete full-scale condition is synthesized, the data packet comprising source address and destination address will be sent out Toward the data pack buffer space of simulation each node of network-on-chip.Since the packet sending speed of SCPU is greater than the system clock of NoC, no Must worry at the task simulation moment, data packet read it is empty, the case where network congestion.In addition we send using dynamic, section The spatial cache of point need not include all data packets, save the expense of storage resource on FPGA.
The data packet sent by receiving each node by bus-sharing at the end TR, according to sending time stamp and receiving time Stab the delay in a network of available data packet.When the last one microplate for receiving the transmission of the last one task, meaning Application once executes completions, can calculate and apply in network-on-chip operation once and when carrying out data and exchanging required Between.
SCPU2 receives definition of the Host PC about network topology parameters, including routing mechanism, network topology size, raw At the routing table information of configuration NoC, and the node of verifying NoC is notified to update routing table in the suitable time, to realize network Topological parameterization configuration.
The application data stream is finally received by emulation platform, and simulates the application number in the simulation network-on-chip Transmission process is exchanged according to stream, to obtain the operation result of the mapping result, the operation result includes simulation network-on-chip Time delay, power consumption information.
AdapNoC (a kind of network-on-chip emulation platform based on FPGA in the prior art) is using small-sized in subregion Mesh (reticular structure) structure, DART (a kind of network-on-chip emulation platform based on FPGA in the prior art) is by subregion and divides The mode connected entirely between area, appeal two ways will consume the occupancy of the interconnection resources in a large amount of FPGA.We mention thus The method being classified out includes multiple subregions in design and simulation platform MAENoC, MAENoC designed by the present invention, includes in subregion NoC interstitial content is 2k.Node in area is connected by bus, by the method for similar Mesh between subregion, in subregion Node selects to carry out selection simulation node in a manner of repeating query, to send data to the node of this subregion or other subregions.Such as Shown in Fig. 4.By this method, when the number of nodes in subregion increases, the interconnection of subregion interior nodes and subregion can be greatly reduced Between interconnection resources expense.Concurrent multiplexing is simple, and node is added in subregion in a manner of similar carry, when needing to increase subregion Node, as long as the top layer in subregion adds corresponding example file.
Subregion contains global routing table information (routing table information in whole network), and the road of local node By table information, local routing table information will configure local router, and global routing table information is the output chain of selection packet Road provides corresponding information.Status register is further comprised in subregion simultaneously, can be the virtualization services of proposition.
The local input end of router there may be obstruction the case where, the packet buffering queue piece of the local side of intradomain router Outer RAM, the packet that RAM is sended over outside piece will be divided at the microplate generation module of routing node (Flit Generator, FG) At head microplate, body microplate, tail microplate, head microplate passes through router-level topology, Virtual Channel distribution, switch according to routing table in the router The processes such as distribution.MAENoC includes a control module, and the control module can be the routing node point in piece according to timestamp With certain simulation time, selection signal is exported to selector.It can be generated simultaneously according to the address for the next-hop that router forwards Output link controls signal (credit), distributes link (next hop router in link, including subregion in advance for the packet of forwarding Location is in same subregion) or by stages link (next hop router address is in other subregions).Control module is forwarding packet point It is to be based on lookup table technology, and after head microplate enters a cycle of router, control module just receives logical with link Know signal (inform), the time cycle that control module completes link distribution is less than week time that router completes routing function The distribution of phase, link have been completed before the output of router packet.
Node in simulation network-on-chip domain selects to be emulated and inputted by way of circulation, due to waiting other sections The emulation of point needs the time, therefore when data packet leaves router, joined update of time stamp (Time in emulation platform Stamp Update, TSU) module, to offset the time for waiting other nodes emulation in subregion.Either data packet is sent to local Subregion or other subregions, using repeating query mode, subregion can not be immediately sent to after receiving the data packet for our nodes Corresponding node, therefore, the packet in each area will domain of the existence local input-buffer FIFO, to wait the emulation of corresponding node Moment.When leaving the caching simultaneously, update of time stamp also will do it.When the router of packet arrival destination, to the end according to reception Identical just notification data receiving module has received data packet for the address of cauda and local address.
Existing most of hardware NoC emulation platforms use single-stage (One Stage) router, can accurately not Verifying has the router of floating, and the delay of packet in a network can be effectively reduced in multistage floating.NoC emulation platform Design in the characteristic of router flowing water should be added, to verify the influence of NoC corresponding time delay under different floatings, essence The routing characteristic of true simulation NoC, floating is introduced into the design of router.With reference to the router proposed in the prior art Floating, common level Four floating, including the distribution of router-level topology, Virtual Channel, circuit switching, transmission.Three-level flowing water is then It is combined into level-one by advance Speculation Virtual Channel and switched circuit, Virtual Channel distribution is split as two-stage by Pyatyi flowing water, increases flowing water Benefit be that can effectively reduce the route time of packet, but register control logic etc. can bring the expense of additional resource.DART, AdapNOC supports the number of Virtual Channel to change in a manner of configuration parameter, by increasing additional Virtual Channel resource, is made with facilitating Used time switching, but the hardware resource cost of redundancy can be brought.It is proposed that the stream of router by way of partial reconfigurable Water dispenser system, Virtual Channel are reconstructed.The redundancy that the flexibility of design can be increased, and reduce router reduces hardware resource and opens Pin.
Virtual channel flow control is the mode that current router at most uses, and Virtual Channel is a plurality of by arranging to each physical channel Virtual path, each path have the buffering queue of oneself, than the throughput that Wormhole rou ting improves percent 40%.Increase simultaneously The number of Virtual Channel will affect the performance of NoC router, different from the switching of the AdapNoC and DART mode parameterized, originally Invention uses the restructural file of pre-generatmg difference Virtual Channel number, when needing different Virtual Channel numbers to be verified It switches over.
Fig. 5 is the restructural mechanism of the router of emulation platform of the present invention, and a restructural region can include multiple roads NoC By node, according to the restructural strategy of Xilinx, the resource size in each restructural region needs sets itself.We set often A restructural region is identical size, corresponding to all NoC routers in a region.If the NoC in each region Interstitial content needs to repartition restructural area size when increasing, and platform provides different restructural files.XP_ in Fig. 5 YVc_par.bit represents the partial reconfigurable configuration file of x grades of floatings of reconstruct and y Virtual Channel.For example, 4P_ in figure 2Vc_par.bit represents the partial reconfigurable configuration file of 4 grades of floatings of reconstruct and 2 Virtual Channels.
By corresponding restructural file write-in reconstruction region compared with reconstructing entire engineering, time overhead can be ignored not Meter.Different configuration files corresponds to different Virtual Channel and floating, if it is desired to the function of modification router, it can be certainly Row design NoC router feature HDL, and to the corresponding partial reconfigurable file of generation.
Can theoretically there be the huge NoC node of simulation scale on memory on software platform with infinite expanding.Hardware is imitative True platform is limited to that hardware logic resource is limited to be difficult to verify the NoC comprising great deal of nodes.Many hardware simulation platforms Virtualization technology is introduced, it is theoretically logical to separate NoC system clock and FPGA clock, with storage register by node state Deposit realizes physical node and void using the node of time division multiplexing (Time Division Multiplexing, TDM) physics The conversion of quasi- node sacrifices simulation velocity to exchange the emulation of extensive NoC node for.
Us are demonstrated as shown in Figure 6 and passes through the method for time multiplexed physical node simulation virtual node, are wrapped as shown in the figure Two physical extents are contained, each subregion has corresponding status register for depositing the subregion for executing the certain F PGA clock cycle Internal each module such as router, the information such as management module.Input-buffer contains TG generation and is stored in BRAM packet content and reception Packet content, output caching includes that the subregion will be sent to the packet content of other subregion.Physical clock FPGA clock is shown in Fig. 7 With the relationship of emulation NoC clock, physical extent 1 is in the status register that FPGA rising edge clock (1) moment reads subregion 1 Hold, after the functional simulation that (2) complete logic region 1, deposits corresponding information in (3) rising edge clock, and update output Cache contents.Then it reads and a information content of load logic subregion 2, the functional simulation of progress subregion 2 carries out logic later 3,4 functional simulation, moves in circles.2 physical extents can fictionalize 8 logical partitions by this way.
It is to discriminate between out due to the clock of system clock and FPGA, can theoretically fictionalize infinite number of virtual partition. The Status register information of the frequent reading virtual partition of physical extent in FPGA clock, within a clock cycle of system, Complete the node emulation of each virtual partition of NoC.It needs frequently to read memory money since the virtualization mode of appeal exists Source, storage state information register is placed in the large-scale SRAM of high speed outside piece by us.In addition, the technology due to virtualization can band The reduction for carrying out simulation velocity, the node theoretically virtualized increase one times, and simulation velocity can be reduced to original half.
The above, the only detailed description of the specific embodiment of the invention, rather than limitation of the present invention.The relevant technologies The technical staff in field is not in the case where departing from principle and range of the invention, various replacements, modification and the improvement made It should all be included in the protection scope of the present invention.

Claims (6)

1.一种面向映射的片上网络验证方法,其特征在于,所述包括:A mapping-oriented on-chip network verification method, the method comprising: S101:获取用户输入的应用,以及用户设定的片上网络拓扑结构,选取映射算法,并利用所述映射算法将所述应用的节点映射到所述用户设定的片上网络对应的节点上,得到映射结果并输出所述映射结果;S101: Acquire an application input by the user, and an on-chip network topology set by the user, select a mapping algorithm, and use the mapping algorithm to map the node of the application to a node corresponding to the chip-on-network set by the user, to obtain Mapping the result and outputting the mapping result; S102:根据所述用户设定的片上网络拓扑结构设置模拟片上网络的各节点路由表,基于所述模拟片上网络的各节点路由表,配置所述模拟片上网络的拓扑结构;并根据所述映射结果,配置各节点对应的应用数据流,并发送所述应用数据流至所述模拟片上网络;S102: Set, according to the on-chip network topology set by the user, a routing table of each node that simulates an on-chip network, and configure a topology structure of the simulated on-chip network based on each node routing table of the simulated on-chip network; and according to the mapping Assending, configuring an application data stream corresponding to each node, and sending the application data stream to the analog on-chip network; S103:接收所述应用数据流,在模拟片上网络中模拟应用数据流的交换传输过程,以得到所述映射结果在模拟片上网络中的运行结果,所述运行结果包括模拟片上网络的时延、功耗信息;S103: Receive the application data stream, simulate an exchange transmission process of the application data stream in the analog on-chip network, to obtain a running result of the mapping result in the simulated on-chip network, where the running result includes simulating a delay of the on-chip network, Power consumption information; S104:判断所述时延、功耗信息是否在预设范围内,若所述时延、功耗信息在预设范围内,则结束运行。S104: Determine whether the delay and power consumption information are within a preset range. If the delay and power consumption information are within a preset range, the operation ends. 2.如权利要求1所述的片上网络验证方法,其特征在于,所述选取映射算法的具体方法为:对所述用户输入的应用进行复杂度分析,基于所述复杂度分析结果选取映射算法。The on-chip network verification method according to claim 1, wherein the specific method of selecting the mapping algorithm is: performing complexity analysis on the application input by the user, and selecting a mapping algorithm based on the complexity analysis result. . 3.如权利要求2所述的片上网络验证方法,其特征在于,所述步骤104还包括:若所述时延、功耗信息不在预设范围内,则返回步骤101中重新对所述用户输入的应用进行复杂度分析,以更新映射算法。The on-chip network verification method according to claim 2, wherein the step 104 further comprises: if the delay and power consumption information are not within a preset range, returning to the user in step 101 again The input application performs a complexity analysis to update the mapping algorithm. 4.一种面向映射的片上网络验证系统,其特征在于,所述包括:4. A mapping-oriented network-on-chip verification system, the method comprising: 算法平台,用于获取用户输入的应用,以及用户设定的片上网络拓扑结构,并确定映射算法,并利用所述映射算法将所述应用的节点映射到所述用户设定的片上网络对应的节点上,得到映射结果,并将所述映射结果输出至处理平台;An algorithm platform, configured to acquire an application input by a user, and an on-chip network topology set by the user, and determine a mapping algorithm, and use the mapping algorithm to map the node of the application to the corresponding network on the chip set by the user. On the node, the mapping result is obtained, and the mapping result is output to the processing platform; 处理平台,用于根据所述用户设定的片上网络拓扑结构设置仿真平台中的模拟片上网络的各节点路由表,基于所述仿真平台中的模拟片上网络的各节点路由表,配置所述模拟片上网络的拓扑结构;并根据所述映射结果,配置各节点对应的应用数据流,并发送所述应用数据流至仿真平台;a processing platform, configured to set, according to the on-chip network topology set by the user, a node routing table of a simulated on-chip network in the simulation platform, and configure the simulation based on each node routing table of the simulated on-chip network in the simulation platform. a topology of the network on the chip; and configuring an application data flow corresponding to each node according to the mapping result, and sending the application data flow to the simulation platform; 仿真平台,用于接收所述应用数据流,并在所述模拟片上网络中模拟所述应用数据流交换传输过程,以得到所述映射结果的运行结果,所述运行结果包括模拟片上网络的时延、功耗信息。And a simulation platform, configured to receive the application data stream, and simulate the application data stream exchange transmission process in the simulated on-chip network to obtain a running result of the mapping result, where the running result includes simulating an on-chip network Delay, power consumption information. 5.如权利要求4所述的片上网络验证系统,其特征在于,所述算法平台用于当所述运行结果的时延、功耗信息不在预设值范围之内时,更新所述映射算法。The on-chip network verification system according to claim 4, wherein the algorithm platform is configured to update the mapping algorithm when the delay and power consumption information of the running result are not within a preset value range. . 6.如权利要求4所述的片上网络验证系统,其特征在于,所述仿真平台利用分区、分区间总线和区间网状结构进行设置。The on-chip network verification system according to claim 4, wherein the simulation platform is configured by using a partition, an inter-partition bus, and an interval mesh structure.
CN201811513663.8A 2018-12-11 2018-12-11 A mapping-oriented network-on-chip verification method and system based on FPGA Active CN109450705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811513663.8A CN109450705B (en) 2018-12-11 2018-12-11 A mapping-oriented network-on-chip verification method and system based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811513663.8A CN109450705B (en) 2018-12-11 2018-12-11 A mapping-oriented network-on-chip verification method and system based on FPGA

Publications (2)

Publication Number Publication Date
CN109450705A true CN109450705A (en) 2019-03-08
CN109450705B CN109450705B (en) 2020-12-01

Family

ID=65557979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811513663.8A Active CN109450705B (en) 2018-12-11 2018-12-11 A mapping-oriented network-on-chip verification method and system based on FPGA

Country Status (1)

Country Link
CN (1) CN109450705B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020211205A1 (en) * 2019-04-18 2020-10-22 中科寒武纪科技股份有限公司 Data processing method and related product
CN113543154A (en) * 2021-07-26 2021-10-22 合肥工业大学 Flow self-adaptive reconfigurable wireless node in wireless network-on-chip and reconfiguration method
CN114595651A (en) * 2022-05-10 2022-06-07 湖南泛联新安信息科技有限公司 Circuit dividing method for multi-FPGA simulation verification platform
CN115460128A (en) * 2022-11-09 2022-12-09 之江实验室 Network-on-chip simulation system for multi-core particle combined chip
CN115935887A (en) * 2022-10-14 2023-04-07 上海科技大学 Layout method and application for scalable multi-chip network FPGA (field programmable Gate array) architecture
CN116029242A (en) * 2022-12-23 2023-04-28 中国科学院计算技术研究所 Cloud native hardware logic simulation FPGA acceleration method and system
CN118673854A (en) * 2024-08-21 2024-09-20 凯云联创(北京)科技有限公司 Method and device for realizing hardware logic real-time simulation by FPGA
CN118886374A (en) * 2024-08-21 2024-11-01 凯云联创(北京)科技有限公司 Model processing method and device for IP core used in semi-physical simulation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693981B2 (en) * 2001-01-24 2010-04-06 Telecommunication Systems, Inc. System and method to publish information from servers to remote monitor devices
CN102929725A (en) * 2012-11-12 2013-02-13 中国人民解放军海军工程大学 Dynamic reconfiguration method of signal processing parallel computing software
CN107742022A (en) * 2017-10-12 2018-02-27 郑州云海信息技术有限公司 A Method of Network System Verification Based on Routing Model
US20180302293A1 (en) * 2015-02-18 2018-10-18 Netspeed Systems, Inc. Generation of network-on-chip layout based on user specified topological constraints

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693981B2 (en) * 2001-01-24 2010-04-06 Telecommunication Systems, Inc. System and method to publish information from servers to remote monitor devices
CN102929725A (en) * 2012-11-12 2013-02-13 中国人民解放军海军工程大学 Dynamic reconfiguration method of signal processing parallel computing software
US20180302293A1 (en) * 2015-02-18 2018-10-18 Netspeed Systems, Inc. Generation of network-on-chip layout based on user specified topological constraints
CN107742022A (en) * 2017-10-12 2018-02-27 郑州云海信息技术有限公司 A Method of Network System Verification Based on Routing Model

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
陈亦欧: "《面向实时复杂系统的片上网络架构及映射技术研究》", 《中国博士学位论文全文数据库(电子期刊)》 *
陈庚生: "《用于NoC映射的EDA工具设计》", 《中国集成电路》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020211205A1 (en) * 2019-04-18 2020-10-22 中科寒武纪科技股份有限公司 Data processing method and related product
CN113543154A (en) * 2021-07-26 2021-10-22 合肥工业大学 Flow self-adaptive reconfigurable wireless node in wireless network-on-chip and reconfiguration method
CN114595651A (en) * 2022-05-10 2022-06-07 湖南泛联新安信息科技有限公司 Circuit dividing method for multi-FPGA simulation verification platform
CN115935887A (en) * 2022-10-14 2023-04-07 上海科技大学 Layout method and application for scalable multi-chip network FPGA (field programmable Gate array) architecture
CN115935887B (en) * 2022-10-14 2025-08-26 上海科技大学 A layout method and application for scalable multi-die network-on-chip FPGA architecture
CN115460128A (en) * 2022-11-09 2022-12-09 之江实验室 Network-on-chip simulation system for multi-core particle combined chip
CN115460128B (en) * 2022-11-09 2023-07-07 之江实验室 On-chip network simulation system for multi-core combined chip
CN116029242A (en) * 2022-12-23 2023-04-28 中国科学院计算技术研究所 Cloud native hardware logic simulation FPGA acceleration method and system
CN116029242B (en) * 2022-12-23 2025-04-04 中国科学院计算技术研究所 A cloud-native hardware logic simulation FPGA acceleration method and system
CN118673854A (en) * 2024-08-21 2024-09-20 凯云联创(北京)科技有限公司 Method and device for realizing hardware logic real-time simulation by FPGA
CN118886374A (en) * 2024-08-21 2024-11-01 凯云联创(北京)科技有限公司 Model processing method and device for IP core used in semi-physical simulation
CN118886374B (en) * 2024-08-21 2025-07-11 凯云联创(北京)科技有限公司 Model processing method and device for IP core used in semi-physical simulation

Also Published As

Publication number Publication date
CN109450705B (en) 2020-12-01

Similar Documents

Publication Publication Date Title
CN109450705A (en) A kind of network-on-chip verification method and system towards mapping based on FPGA
Pellauer et al. HAsim: FPGA-based high-detail multicore simulation using time-division multiplexing
Wolkotte et al. Fast, accurate and detailed NoC simulations
US8365111B2 (en) Data driven logic simulation
Chan et al. NoCGEN: A template based reuse methodology for networks on chip architecture
US9582265B2 (en) Runtime creation, assignment, deployment and updating of arbitrary radio waveform techniques for a radio waveform generation device
US7849441B2 (en) Method for specifying stateful, transaction-oriented systems for flexible mapping to structurally configurable, in-memory processing semiconductor device
Navaridas et al. Simulating and evaluating interconnection networks with INSEE
Kamali et al. AdapNoC: A fast and flexible FPGA-based NoC simulator
CN116029242B (en) A cloud-native hardware logic simulation FPGA acceleration method and system
Rana et al. A reconfigurable network-on-chip architecture for optimal multi-processor SoC communication
Wang et al. Flexible and efficient QoS provisioning in AXI4-based network-on-chip architecture
Ching et al. Integrated modelling and generation of a reconfigurable network-on-chip
Koch-Hofer et al. ASC, a SystemC extension for Modeling Asynchronous Systems, and its application to an Asynchronous NoC
Parepalli et al. Design alternatives of Network-on-Chip (NoC) router microarchitecture for future communication system
Parane et al. FPGA based NoC simulation acceleration framework supporting adaptive routing
Krishna A detailed on-chip network model inside a full-system simulator
Bartic et al. Network-on-chip for reconfigurable systems: From high-level design down to implementation
US20060247909A1 (en) System and method for emulating a logic circuit design using programmable logic devices
Gao Collective Communication Enabled Transformer Acceleration on Heterogeneous Clusters
US7924845B2 (en) Message-based low latency circuit emulation signal transfer
Tagel et al. Contention aware scheduling for NoC-based real-time systems
Hesse Implementation and Verification of the Argo Network-on-Chip in Chisel
Wang An FPGA-based accelerator platform for network-on-chip simulation
Cao et al. HPPNetSim: a parallel simulation of large-scale interconnection networks.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant