Identification of Important FPGA Modules Based on Complex Network
2024-03-12SenjieZhangJinboWangShanZhouJingpeiWangZhenyongZhangandRuixueWang
Senjie Zhang ,Jinbo Wang ,Shan Zhou ,Jingpei Wang,3 ,Zhenyong Zhang and Ruixue Wang
1School of Aeronautics and Astronautics,University of Chinese Academy of Sciences,Beijing,101408,China
2Technology and Engineering Center for Space Utilization,Chinese Academy of Sciences,Beijing,100094,China
3College of Control Science and Engineering,Zhejiang University,Hangzhou,310063,China
4College of Computer Science and Technology,Guizhou University,Guiyang,550025,China
ABSTRACT The globalization of hardware designs and supply chains,as well as the integration of third-party intellectual property (IP) cores,has led to an increased focus from malicious attackers on computing hardware.However,existing defense or detection approaches often require additional circuitry to perform security verification,and are thus constrained by time and resource limitations.Considering the scale of actual engineering tasks and tight project schedules,it is usually difficult to implement designs for all modules in field programmable gate array(FPGA)circuits.Some studies have pointed out that the failure of key modules tends to cause greater damage to the network.Therefore,under limited conditions,priority protection designs need to be made on key modules to improve protection efficiency.We have conducted research on FPGA designs including single FPGA systems and multi-FPGA systems,to identify key modules in FPGA systems.For the single FPGA designs,considering the topological structure,network characteristics,and directionality of FPGA designs,we propose a node importance evaluation method based on the technique for order preference by similarity to an ideal solution(TOPSIS)method.Then,for the multi-FPGA designs,considering the influence of nodes in intra-layer and inter-layers,they are constructed into the interdependent network,and we propose a method based on connection strength to identify the important modules.Finally,we conduct empirical research using actual FPGA designs as examples.The results indicate that compared to other traditional indexes,node importance indexes proposed for different designs can better characterize the importance of nodes.
KEYWORDS Hardware security;FPGA circuits;node importance;interdependent network
1 Introduction
As semiconductor technologies advance and design complexity increases,the field programmable gate array(FPGA)has gained popularity as a high capacity and highly flexible design platform for various systems[1].At the same time,the scale of integrated circuits is getting larger and the design and manufacturing are becoming more complex,leading to longer time to market and higher costs.To reduce costs,the design and manufacturing of integrated circuits are often distributed worldwide,and the use of third-party intellectual property(IP)is also common,which reduces the controllability of integrated circuits[2,3].Nowadays,hardware design involves international collaboration across all stages,from specification to assembly,which may increase hardware security risks while improving efficiency.Hardware security issues discovered in the real world have also demonstrated their serious threat.For example,backdoors were detected in military-grade FPGAs[4].Due to a malicious attack on the chip,Syria’s radar defense system failed to provide necessary warnings against guided missiles from Israel[5].Therefore,as costs decrease,new security risks are introduced,and it is urgent to study security defense and detection technology.Some common security verification methods in other fields[6–8]are not applicable to the hardware circuits.
In hardware circuits,existing security threats are often deeply integrated into the original circuits,making them more dispersed and difficult to detect and eliminate.For instance,some hardware trojans do not use direct attack methods but affect the transmission of signals in FPGA circuits to disrupt the entire circuit.To address these potential security threats,researchers have conducted extensive research on FPGA security.Existing research focuses on two aspects:resisting attacks from malicious FPGA devices[9,10]and conducting security detection[11,12].Measures taken to resist attacks often only solve known security threats and cannot comprehensively defend against all attacks.On the other hand,security detection can be classified into two types:pre-silicon testing[11]and post-silicon testing[12].These measures have achieved certain results in ensuring the security of FPGAs.However,the aforementioned methods often require additional logic to be implemented in the circuitry,incurring extra overheads.For example,Zhang et al.proposed an FPGA oriented MTD method(FOMTD)[13],which put forward three lines of defense to prevent the implantation of hardware trojans.The hit rates of hardware trojans by these three lines of defense were reduced by 40%,91%,and 88%,respectively.But at the same time,it has increased a certain amount of power consumption,such as the power consumption increase in the s13207 circuit exceeding 300 uW.
FPGA usually utilizes modular designs,which divide the entire circuit into multiple independent modules,each with inputs,outputs,and specific functions.Therefore,FPGA modules refer to a functional unit or subsystem implemented on an FPGA chip for completing specific tasks.They can work independently or interact and collaborate with other modules,and can be configured and customized through programming.Generally speaking,a large number of modules are connected through interfaces to form a programmable hardware platform that can achieve various complex applications.Although there are currently many protection and detection methods for FPGA,considering the scale of actual engineering projects and tight project schedules,it is difficult to implement protection and detection designs for all modules in FPGA circuits under resource-constrained conditions.
The key nodes in complex networks refer to those nodes whose failure would severely degrade overall network efficiency.The failure of key nodes causes network efficiency to deteriorate much faster than the failure of other nodes.Whether in system design reinforcement or operational maintenance,these nodes require prime attention.Considering practical situations,to apply limited protection resources to key modules and improve protection efficiency,it is crucial to develop an effective approach for evaluating FPGA designs and identifying key modules in the system.Due to the extensive information interaction in FPGA circuits,key modules refer to modules that are closely coupled with other modules in functionality.In other words,security threats occurring in these modules can spread rapidly and easily to other modules,greatly affecting the entire system.Strengthening the security design or threat detection for these identified key modules,especially in the case of limited resources,can effectively enhance the security of the entire system.
Meanwhile,with the continuous development of integrated circuits as well as increasing design scales,a single FPGA board becomes insufficient to meet the design needs.In this context,FPGA design suppliers have started researching solutions involving multiple FPGAs.The use of FPGA board networking has been widely applied in embedded design technologies,including assembling multiple FPGAs on a single PCB board to meet the requirements [14].Therefore,relying on a single FPGA for design is no longer enough,it is necessary to migrate the design towards an FPGA cluster [15].As a result,not only the information interaction within a single FPGA design should be considered,but also the information interaction between multi-FPGA designs has become increasingly important as FPGA designs gradually move towards networking.Therefore,identifying key modules in a single FPGA design alone cannot meet practical application needs.Hence,we propose a method to identify key modules in multi-FPGA designs and verify them.
We focus on studying the functional network of FPGA designs and provide the following main contributions:
• From the perspective of the functionality of FPGA circuits,considering the abundance of information interaction between modules,a weighted directed network model at the register transfer logic(RTL)level for single FPGA circuit design is established.Meanwhile,the design of multiple FPGA circuits is modeled as an interdependent network.
• For the single FPGA designs,considering the topology structure,network characteristics,and directionality of FPGA designs,we propose a method based on the technique for order preference by similarity to an ideal solution (TOPSIS).This method can better identify key modules in the single FPGA designs.
• For the multi-FPGA designs,taking into account the influence of nodes in intra-layers and inter-layers,we propose a method based on connection strength.This method can better identify key modules in the multi-FPGA designs.
The rest of this paper is organized as follows.Section 2 provides the related work.Section 3 introduces our modeling methods.In Section 4,we extracted some indicators to evaluate the importance of modules.In Section 5,we have provided a detailed introduction to the module importance evaluation method in the single FPGA designs based on the TOPSIS method and the module importance evaluation method in multi-FPGA designs based on connection strength.Section 6 introduces the verification methods,and Section 7 introduces our experiments.Finally,the conclusions are provided in Section 8.
2 Related Work
The field of complex networks based on graph theory has developed rapidly,and the application of these methods to large-scale complex systems has gained attention from researchers,such as computer internet [16],social networks [17],transportation networks [18],and biological networks[19].The structure of complex systems and the relationship between system structure and functionality are key issues of concern,with a significant amount of research focused on identifying key nodes.Oriol et al.proposed that accurately and effectively identifying key nodes is crucial for ensuring network security and reliable operation [20].Common methods involve analyzing network models to obtain a series of structural characteristics such as degree centrality,clustering coefficient,etc.,and utilizing these features to analyze key nodes or network vulnerability.
As research deepens,researchers have found that many real-world networks do not exist in isolation.For example,there may be interdependent relationships between networks.These networks can be more vulnerable to intentional attacks or random failures compared to isolated networks due to the interdependencies between them and other networks.Buldyrev et al.first proposed a twolayer cascading failure model,consisting of interdependent networks [21].This model also included the establishment of relevant theoretical analysis methods.However,the model they established was quite strict,requiring the two networks to have the same number of nodes,and all nodes needed to establish a one-to-one complete dependency relationship.Subsequently,many scholars began to study interdependent networks and extended them to multi-layer networks.For example,Gao et al.proposed that there are interdependent relationships between multiple networks,and established the“networks of networks” model [22].At the same time,the measurement methods of important nodes in interdependent networks have also attracted extensive attention.For example,Barabási et al.found that even adopting the protection strategy of high-degree nodes,the interdependent scale-free networks are still highly vulnerable[23].Du et al.pointed out that nodes with a large number of interdependent edges are important,and protecting these nodes can increase the robustness of the system [24].Therefore,Gong et al.proposed to view the two networks as a whole,and apply single-layer network node importance measures such as degree centrality to the two-layer interdependent networks,to identify the important nodes that need protection and improve the network robustness [25].Jiang et al.summarized some precaution and recovery strategies[26].
Regarding the complex network characteristics of integrated circuits,scholars have conducted relevant studies:Cancho et al.applied complex networks to electronic circuits,establishing the network topology relationship between electronic components,using parameters such as clustering coefficient and average shortest path to analyze the topological characteristics of the circuit,and demonstrating that the circuit network possesses small-world characteristics[27].Wang et al.simulated circuit failures using random node failures and discussed the impact of key node failures on the robustness and fragility of the electronic circuit network[28].It can be seen from these studies that applying the theory of complex networks in the field of integrated circuits has achieved certain results.
Furthermore,to apply the theory of complex networks to larger-scale circuit designs,scholars have modeled circuit systems.Fan et al.constructed the topology structure of circuit systems and proposed a load-capacity model for circuit systems based on complex network theory[29].They analyzed the fragility and robustness of the system,providing theoretical support for circuit design optimization.Liu has explored models to assess the failure of components over the power of electronics [30].For FPGA circuits,Nie et al.modeled the IP cores in FPGA circuits as networks and constructed the topology structure of FPGA IP core circuits based on complex network theory,providing effective information for the security design of IP cores [31].Gao et al.proposed a method for constructing circuit topology relationships based on XDL netlists and analyzed these relationships to obtain the correlation between circuit nodes [32].However,most existing complex network models for FPGA circuits are based on netlist layers and ignore the fact that FPGA circuits achieve functionality through signal interactions.Therefore,Wang et al.proposed the RTL-level modeling method for FPGA circuits,considering the signal interactions between modules[33].
Regarding the methods for identifying key nodes,existing researchers often use a single network centrality parameter for identification [34].However,relying on a single centrality parameter to identify key nodes may be one-sided.Thus,some scholars propose to comprehensively consider multiple centrality parameters and calculate a comprehensive factor to judge node importance [35],but this approach assumes equal contribution from each parameter,which does not reflect the actual situation.Additionally,some studies adopt the Delphi method to determine the weightings of various centrality parameters of nodes [36],but it is subject to significant subjective influence.Wang et al.proposed a method to research the robustness of air cargo networks,but it cannot be fully applicable to FPGA circuits[37].In addition,there is currently no relevant research on multi-FPGA designs.Therefore,it is necessary to study the important module identification method for FPGA designs.At the same time,since there are dependency relationships between modules of different FPGAs in multi-FPGA designs,we construct the multi-FPGA design as interdependent networks and study the node importance identification methods accordingly.
Therefore,based on existing research,we comprehensively consider the network topology,network characteristics,and directionality of FPGA circuits.We construct a network model for the single FPGA design and an interdependent network model for the multi-FPGA design.For the single FPGA designs,a node importance evaluation method based on the TOPSIS method is proposed,considering multiple network centrality parameters,to better identify key nodes in the network.For the multi-FPGA designs,a node importance evaluation method based on connection strength is proposed,considering the impact of nodes in intra-layers and inter-layers,to identify key nodes in multi-layer networks.
3 Modeling FPGA Circuits
3.1 FPGA Module Network
FPGA circuits are usually designed based on functional division,and specific function IP cores are widely used as building blocks of FPGA.Therefore,at the RTL level,the FPGA circuit consists of numerous modules with distinct functions,engaging in signal interactions to attain the complete FPGA design.Viewing each module as a node and the interaction between modules as the connection between nodes,that is,if there is signal transmission between two modules,they are connected by an edge,and the direction of the edge represents the signal transmission direction,and the frequency of signal interaction is the weight of the edge.Based on this,the design of the FPGA circuit can be constructed as a module network.The module network is represented as a directed weighted networkGm{Vm,Em},which is a graph composed of a vertex setVmand an edge setEm.For each edge e ∈Em,there is a pair of vertices (u,v) inVmthat corresponds to it,and |e| represents the weight of the edge.For example,consider a simple FPGA design that includes the following main functions:outputting initialization reset signals,controlling the AD chip to regularly collect data,controlling DA chip output,periodically outputting state signals,and regularly reading temperature data.This design includes 8 modules:reset management module,reset output module,AD collection control module,DA control output module,clock management module,circuit state output module,temperature collection control module,and data processing module.Each module is viewed as a node,and if there is signal transmission between two modules,they are connected by an edge.The frequency of signal interactions between edges is the weight of the edge.Finally,based on the input and output signals of each module,the direction and weight of each edge are obtained.Fig.1 shows the module network constructed based on this FPGA circuit design.
In this FPGA design,Vm(Gm)={S1,S2,S3,S4,S5,S6,S7,S8},Em(Gm)={(S1,S3),(S1,S4),(S1,S5),(S1,S6),(S1,S7),(S1,S8),(S2,S3),(S2,S4),(S2,S5),(S2,S6),(S2,S7),(S2,S8),(S3,S4),(S3,S5),(S3,S6),(S3,S7),(S4,S8),(S8,S4),(S5,S8),(S8,S5),(S6,S7),(S6,S8),(S7,S8)}.Among them,(S1,S3) represents the edges from S1 to S3,and since there is a signal transmission from S1 to S3,|e(S1,S3)|=1.
3.2 Multi-FPGA Interdependent Module Network
With the continuous enrichment of functions and usage scenarios,existing applications often cannot rely on a single FPGA for implementation.More and more designs depend on multi-FPGA working together,which is the migration of circuit design to FPGA clusters.Based on the module network proposed in 3.1,the construction ideas of the single FPGA module network are applied to multi-FPGA to establish the model of the multi-FPGA module network.Treating each functional module of an FPGA as a node,we first consider the interactions between functional modules within the same FPGA and construct them as interconnections between nodes,known as edges.In this manner,each FPGA circuit can be modeled as an FPGA module network.We then incorporate module interconnections between different FPGAs.Unlike typical network combinations,the functional module dependencies between multiple FPGAs are substantial.Each task entails the integration of distinct functional modules across multiple FPGAs.Once a module malfunctions,it impacts not only its network but directly disrupts dependent modules in other networks,thereby impairing the functionality of other networks.Moreover,cascading fault propagation will arise,wherein the failure of one module prompts failures in dependent modules of other networks,which in turn fail modules that rely on them,eventually leading to systemic breakdown.Therefore,in the scenario,the dependency relationships between layers cannot be ignored and play a significant role in fault propagation.To establish a network model of the entire FPGA cluster,considering the signal interaction between the different FPGAs,we construct it as an interdependent network.An interdependent network refers to a given network in which certain nodes have interdependent relationships with nodes in another network.Therefore,the multi-FPGA network can be regarded as a partially interdependent network,composed of multiple different sub-networks coupled together,with only some nodes having dependencies on other networks.Therefore,the interaction of the multi-FPGA module network is also constructed as edges,where each FPGA in the FPGA cluster is regarded as a module network.The signal interaction within the module network is considered as an intra-layer connection,while the interaction between module networks is constructed as an inter-layer connection.To distinguish intra-layer edges from inter-layer edges,we call the edges in the same sub-network as connected edges,and the edges between different sub-networks as dependent edges.Therefore,a multi-FPGA network model can be obtained.It is represented byGs{Cs,Vs,ECs,EDs},Csrepresents the set of FPGAs,Vsrepresents the set of nodes,ECsrepresents the set of connected edges,andEDsrepresents the set of dependent edges.Unlike the module network,Csindicates the belonging FPGA of each node,ECsreflects the interaction of connected edges,andEDsreflects the interconnection of dependent edges.For example,Fig.2 shows a simple multi-FPGA network model,based on a simple multi-FPGA system with 3 FPGA chips.That is,Cs={u,v,w}.Each FPGA chip implements different functions,and after constructing each FPGA chip into a module network,the interactions among the three FPGA chips are added to the network model,resulting in a multi-FPGA network model.
Figure 2:The example of single layer FPGA module network
As shown in Fig.2,the network is composed of three sub-networks u,v,and w,denoted as u-v-w.Each sub-network has a different topological structure,forming different module networks.The subnetworks form an interdependent network.Since this type of interdependent network is more prone to cause large-scale disturbance or even collapse when attacked by external sources,it is necessary to analyze the importance of nodes based on their influence in the interdependent network.Due to the dependence of the interdependent network,when evaluating the importance of nodes,it is not only based on the importance of nodes in a single-layer network,but also needs to consider the mutual influence between different network layers.
4 Node Importance Evaluation Indicators
After constructing the model for the FPGA module network,we used the network centrality parameters of the nodes as evaluation indicators to identify important modules within the FPGA module network.The parameters used include degree centrality,betweenness centrality,and clustering coefficient.Here are the specific calculation methods.
Degree centrality in the network signifies the count of edges connected to a specific node.Degree centrality is the most direct measure of node importance.Nodes with high connectivity typically have important positions in the network.Considering the directedness of the FPGA module network,the degree can be divided into two types: out-degree and in-degree.In-degree indicates the number of specific edges from other nodes;out-degree indicates the number of specific edges to other nodes.The in-degree centrality is defined as follows:
whererepresents the centrality value of the in-degree of nodei,N represents the number of nodes,andni,jis a variable of 0 or 1,and the rules are as follows:
The out-degree centrality is defined as follows:
whererepresents the centrality value of the out-degree of nodei,Nrepresents the number of nodes,andnj,iis a variable of 0 or 1,and the rules are as follows:
Meanwhile,considering the characteristics of the FPGA module network,namely reflecting the frequency of signal interaction through the weight of edges and consequently the importance of nodes,we need to calculate the weighted degree centrality.
The weighted in-degree centrality is defined as follows:
wheredin(i)represents the weighted in-degree centrality value of nodei,N represents the number of nodes.If there exists an edge fromjtoi,ki,jis the weight of that edge;if not,ki,jis 0.An edge’s weight between nodejandiis the number of signals that interact between nodesjandi.
The weighted out-degree centrality is defined as follows:
wheredout(i)represents the weighted out-degree centrality value of nodei,Nrepresents the number of nodes.If there exists an edge fromitoj,kj,iis the weight of that edge;if not,kj,iis 0.The weight of an edge between two nodes is determined by the number of signals that interact between them.
Intuitively,compared with the degree value,the weighted degree value adds the direction and weight of the edge.And the larger the weighted degree value,the more frequently the signal is used interactively,reflecting that the node has more connections with other nodes,and often indicates that the node is more important.
Betweenness centrality is a measure of the extent to which a node in the network facilitates information transfer between other nodes.Nodes with higher betweenness values play more important roles in the network,as they are critical in connecting different nodes through the shortest paths.The betweenness centrality of a node is determined by the ratio of the number of shortest paths passing through that node to the total number of shortest paths.Therefore,the betweenness centrality of a complex network has the following formula:
whereb(i)is the betweenness centrality of nodei,is the number of shortest paths that connect nodessandt,is the number of shortest paths that pass through nodei.The betweenness centrality can be used to measure the centralization of a node in a network and is often used to describe the importance of a node in a network.
The clustering coefficient refers to the clustering relationship between selected nodes in a complex network system.In other words,it measures how closely connected selected nodes are to each other.The clustering coefficient of nodeiis expressed as the percentage of actual edges that exist between the neighbors of nodei,divided by the possible number of edges that exist between the neighbors of nodei.It can be known that the possible number of edges that exist between the neighbors of a node is fixed.If the degree of nodeiin the network isk,then the possible number of edges is(k(k-1))/2.Therefore,the clustering coefficient value of nodeihas the following formula:
whereC(i)is the clustering coefficient of nodei,andEiis the number of actual edges that exist between the neighbors of nodeiin the network.The clustering coefficient can be used to measure the internal structural characteristics of a network node and to understand the correlation between network nodes,thereby reflecting the importance of a node.
5 Methodology
In this section,firstly,considering that a single indicator cannot comprehensively reflect the importance of nodes in the entire network,we propose a method that integrates various indicators to identify the important modules in the FPGA module network,which can be seen in Subsection 5.1.Furthermore,the method for identifying importance nodes in multi-FPGA interdependent networks is shown in Subsection 5.2.
5.1 Identification of Important Nodes in FPGA Module Network
5.1.1 Calculate the Importance of Each Node
The TOPSIS method is a commonly used multi-attribute decision-making method.It is used to evaluate and select candidate solutions.This method provides the optimal choice based on the similarity between candidate solutions and ideal and negative ideal solutions.In the network,by using the TOPSIS method,multiple metric values can be standardized and assigned appropriate weights to determine the relative importance of each node.The specific procedure is provided as follows.
Step 1:The indicators of the nodes are combined into a decision matrix,as shown in formula(9),and
wherexi1represents the weighted in-degree centrality value,xi2represents the weighted out-degree centrality value,xi3represents the betweenness centrality value,andxi4represents the clustering coefficient value.
Step 2:Each indicator is normalized to ensure they are on the same dimension.Since the indicators used in this study are all positive,we apply formula(10)to normalize the variablexij.
Step 3:The positive and negative ideal solutions,representing the best and worst points,respectively,reflecting the desired performance of nodes on each metric,are determined.Z+is the positive ideal solution.
Step 4:Based on the Euclidean distance,the closeness of each sample to the positive and negative ideal solutions is calculated,and the weightswjare introduced.The weight calculation method adopts the entropy weight method,as shown in Subsection 5.1.2.
Step 5:Calculate the score for each node according to formula(16).
whereCirepresents the importance of nodei.A smaller value ofindicates closer proximity to the positive ideal solution,resulting in a larger value ofCiand indicating higher node importance.Conversely,a smaller value ofsignifies a closer proximity to the negative ideal solution,resulting in a smaller value ofCiand indicating a lower node importance.
5.1.2 Calculate the Weight w
Due to the limitations of using a single index to identify important nodes,to accurately assess the node importance in the FPGA module network,we consider the network topology,features,and directionality,and use weighted in-degree centrality valuexi1,weighted out-degree centrality valuexi2,betweenness centrality valuexi3,and clustering coefficient xi4as indicators for evaluating node importance.The weighted method is a commonly used approach to comprehensively consider these indicators.However,since these indicators have different levels of impact on evaluating node importance,the average weighted method does not reflect the actual situation.Although the subjective weighting method may incorporate expert experience,the results may lack objectivity and accuracy due to the influence of individual subjectivity.The entropy weight method is a weight determination method based on the principle of information entropy.It is mainly used for multi-criteria decision analysis,which can objectively reflect the importance of each indicator and avoid interference from human factors.Therefore,we employ the entropy weighting method to determine the weights of the indicators.The specific calculation steps are provided accordingly.
Step 1: Calculate the information entropy.Based on the values of each indicator,calculate the information entropy of the indicator.At the same time,to avoid meaningless values in the entropy weighting calculation,introduce an adjustment parameterζ,and the specific formula is as follows:
whereHjis the entropy of the j-th indicator,n is the number of parameters,zijis the normalized parameter value,andζis set to 10-4[38].
Step 2:Calculate the weights of each indicator according to the formula(19).
5.2 Identification of Important Nodes in Multi-FPGA Module Network
As mentioned earlier,the multi-FPGA network can be seen as an interdependent network.Because the nodes in the interdependent network not only have neighboring nodes in the current sub-network but also have dependent nodes in another network,the functionality of the interdependent network depends not only on the structure of the sub-network layer but also on the dependency relationship.Therefore,we define a measure factor ST of dependency edge connection strength.
whereAandBare interdependent networks,AiandBiare a pair of interdependent nodes,F(Ai)represents the set of weighted neighboring nodes of node i in network A,andF′(Bi)refers to the set of weighted dependency nodes of node i in networkBthat are dependent on nodes in networkA.||represents the number of nodes in the collection.It should be noted that since the multi-FPGA network is directed,the interdependence is determined by the direction of information flow.It means that moduleiin networkAdepends on modulejin networkB,but modulejdoes not necessarily depend on modulei.The indicatorSTconsiders not only the topological relationship of nodes in the intra-layers but also the influence of inter-layer dependency edges on nodes.The larger theSTvalue,the higher the degree of importance of the node.
6 Verification Methods
6.1 The Verification Method of the FPGA Module Network
The Susceptible Infected (SI) model for single-layer complex networks is one of the propagation dynamics models of complex networks,mainly studying the propagation behavior of complex networks.It is widely present in many practical networks,such as disease transmission in social networks,virus transmission in communication networks,information transmission in social networks,cascading failures in power networks,crisis diffusion in economic networks,and so on.The important modules we propose refer to modules that are more tightly coupled with other modules in terms of functionality,meaning that if these modules fail,they can affect other modules or even the entire circuit design faster and more.The dynamics of nodes closely resemble SI propagation.In the SI model,after a node fails,it will also affect the surrounding nodes through connection relationships.The more important this node is in the network,the greater its influence,which means it can affect more nodes faster.
Therefore,we verify the performance of the FPGA module network importance node identification algorithm’s performance through the SI model’s propagation process in epidemic dynamics.By simulating the spreading process of the SI model,the impact of nodes on the network can be obtained.Once important modules fail,faults propagate faster in the network,meaning that under the same conditions,they will affect more nodes.In the SI model,each node can have two states: susceptible state and infected state.Initially,except for the original infected node,all nodes in the network are in the susceptible state.In each period,each infected node will infect the susceptible neighboring nodes with a probability ofα.When all nodes in the network are infected,the spreading process ends.By comparing the changes in the number of infected nodes in the network after the spread of different initial infected nodes,the spreading ability of the nodes can be measured.The stronger the spreading ability,the more important the node is in the network.
6.2 The Verification Method of the FPGA Module Network
There is cascading failure in an interdependent network.The failure of a node not only affects the sub-network it belongs to but also affects other networks through dependency edges.We assume that a node in one sub-networkAfails after being attacked externally.Then all edges connected to this node in sub-networkAwill fail,and then the nodes in sub-networkBthat rely on all failed nodes in subnetworkAwill be affected and fail.Furthermore,the failure of nodes in sub-networkBwill continue to cause the failure of nodes in sub-networkA.Therefore,the failure iterates between networksAandB.This iterative process continues until there are no nodes or edges in the network that need to be removed,and the entire failure process ends when there is no more possible failure.After this failure process ends,a stable Giant Mutually Connected Cluster(GMCC)is formed,composed of the nodes in sub-networksAandBwhich still maintain functionality.Here,we measure the quality of different network decomposition strategies using the ratio of the number of nodes in the largest connected component of the network after being attacked to the total number of nodes in the initial network,as well as the ratio of the number of edges in the largest connected component to the total number of edges in the initial network.This is defined as the formula(21).
where|GMCCnode|represents the number of nodes in the GMCC,represents the number of edges in the GMCC,Nnodeis the total number of nodes in the initial network,and Nedgeis the total number of edges in the initial network.If a node is removed and the remaining network has a smaller number of effective nodes,indicated by a smaller|GMCCnode|value,or a smaller number of effective edges,indicated by a smallervalue,then the removed node is more critical.In other words,the lower the G value,the greater the importance of the node.
7 Experiment
7.1 FPGA Module Network Experiment
To verify the proposed method of identifying important nodes in this paper,we conducted a simulation analysis using two different scale FPGA circuits as examples in practical engineering.Based on the modeling approach proposed in Section 3.1,we obtained network topology diagrams for the two different scale circuits as shown in Figs.3 and 4.The circuit designs we mentioned are based on Xilinx’s XC7K325T-2FFG900I.
The first network consists of 20 modules,while the second network consists of 92 modules,with signal interactions between the modules.
Firstly,all indicator data of the two networks were preprocessed to obtain two normalized indicator matrices.Secondly,the weights of indicators were obtained using the entropy weight method.Table 1 shows the calculation results for the two networks.
Table 1: The weights of the networks
Table 2: The order in FPGA module network 1
Table 3: The order in FPGA module network 2
Finally,the importance of nodes was calculated using the TOPSIS method,and the calculation results were ranked.The top five nodes identified by various methods are shown in Tables 2 and 3.Among them,the number represents the node number.
Figure 3:FPGA module network 1
Figure 4:FPGA module network 2
To objectively evaluate the effectiveness of the method,we verified it based on the aforementioned SI model.Failure modes including selective failure and random failure were applied in the networks.The specific failure strategies are as follows:
(1)Weighted in-degree centrality(WDC-in)values priority strategy:Nodes are sorted in descending order according to the weighted in-degree centrality values and then remove the nodes from the network accordingly.
(2) Weighted out-degree centrality (WDC-out) values priority strategy: Nodes are sorted in descending order according to the weighted out-degree centrality values and then remove the nodes from the network accordingly.
(3)Betweenness centrality(BC)priority strategy:Nodes are sorted in descending order according to the betweenness centrality values and then remove the nodes from the network accordingly.
(4)Clustering coefficient(CC)priority strategy:Nodes are sorted in descending order according to the clustering coefficient values and then remove the nodes from the network accordingly.
(5)Random failure strategy(Random):Nodes in the network are removed in random order.
(6)Multiple indicator fusion(MIF)value priority strategy:Nodes are sorted in descending order according to the calculated values using the algorithm in this paper and then remove the nodes from the network accordingly.
The simulation results of the FPGA module network 1 are shown in Figs.5–7.The simulation results of the FPGA module network 2 are shown in Figs.8–10.In the figures,αrepresents the proportion of initially infected nodes to total nodes,and p represents the infection probability.
From Figs.5–10,we conducted simulations on two different scale FPGA module networks,and all results are averages of 100 simulations.Figs.5 and 8 show the changes in infected nodes when the initial infection rate is fixed at 5% and the transmission probability varies.Figs.6 and 9 show the changes in infected nodes when the transmission probability is fixed at 20%and the initial infection rate varies.Figs.7 and 10 show the results of the variation of the number of infected nodes over time when the initial infection rate and transmission probability are fixed.From the figures,it can be observed that the strategy of prioritizing MIF leads to a higher number of infected nodes in most cases compared to other strategies.This means that these nodes can infect other nodes more,which reflects the importance of the nodes.
Figure 5:α=5%,p ranges from 5%to 30%
Figure 6:p=20%,α ranges from 5%to 30%
Figure 7:α=20%,p=20%
Figure 8:α=5%,p ranges from 5%to 30%
Figure 9:p=20%,α ranges from 5%to 30%
Figure 10:α=20%,p=20%
7.2 Multi-FPGA Module Network Experiment
To verify the important node identification method,we conducted a simulation analysis using a multi-FPGA design in an actual engineering application.Based on the modeling approach proposed in Section 5.2,the network topology is shown in Fig.11.This circuit is composed of two single-FPGA circuits,and there is a large amount of information interaction within each system and between the two systems to achieve the entire design.The circuit design we mentioned is based on Xilinx’s XC7K325T-2FFG900I.
Figure 11:Multi-FPGA module network
The FPGA system contains 37 modules and the other FPGA system contains 107 modules.The two systems have layered connections that form a dependency graph.Calculating the ST values of all nodes in the system.We verify the method by calculating the G value after node failure.Failure modes including selective failure and random failure were applied in the networks.The specific failure strategies are as follows:
(1) The T-degree centrality priority strategy [25]: Extend the concept of degree centrality from single-layer networks to two-layer networks,treating nodes in different layers equally.The method calculates the degree value of each node within its respective layer and then removes them in order from highest to lowest degree.
(2)The degree centrality priority strategy:Calculate the OD values for all nodes,
whereDC(Ai)represents the degree centrality of nodeiin networkAandDC(Bi)represents the degree centrality of nodes in networkBthat depend on nodei.Nodes are removed in decreasing the order of theirODvalues.
(3)Random failure strategy:Nodes in both networks are removed in random order.
(4)The relation strength priority strategy:Nodes are removed according to theSTvalues.
According to Fig.12,it can be observed that important nodes determined by the ST value result in the fastest decrease in maximum connectivity coefficient when they fail.This means that by using the relationship strength priority strategy to invalidate nodes,the number of nodes and edges that maintain functionality decreases more after the propagation of the failed nodes is completed,indicating that this strategy is more destructive to the network and that the nodes identified by this method are more important.Therefore,the proposed method will provide relevant references for the FPGA design study.In situations with limited resources,targeting the more important modules for defense and detection can effectively enhance the overall reliability of the design.
Figure 12:G changes with the ratio of node failures
8 Conclusion
We model the single FPGA designs and multi-FPGA designs.For the single FPGA designs,we propose a method based on TOPSIS to rank the importance of modules.The effectiveness of this method is analyzed using the SI model on two different-sized practical FPGA circuits,and simulation results show that this method identifies important modules that propagate faults faster.The effectiveness of this method is indirectly reflected.For the multi-FPGA designs,we propose a method based on connection strength,which considers the influence of nodes in intra-layers and inter-layers,identifies important nodes and analyzes the changes in the maximum interconnected components.The method is validated on practical FPGA circuits in an actual engineering scenario,and simulation results show that compared with traditional indicators,our proposed node importance indicators offer a better representation of module importance in FPGA designs,enabling quick identification of important modules in the design.Furthermore,based on the identified results,priority can be given to implementing defense and detection designs for these key modules,such as designing monitor circuits to surveil the working status of these modules in real-time during normal FPGA operation,rather than monitoring all modules across the entire circuitry,especially under resource-constrained conditions,to reduce overhead.
Acknowledgement:We would like to express our sincere gratitude to all those who have supported and contributed to the completion of this manuscript.
Funding Statement:This work was supported by the Natural Science Foundation of China under Grant Nos.62362008,61973163,61972345,U1911401.
Author Contributions:The authors confirm contribution to the paper as follows:study conception and design:J.Wang,S.Zhou;model:S.Zhang,J.Wang,Z.Zhang;methodology:S.Zhang,J.Wang,S.Zhou,J.Wang;analysis and interpretation of results: S.Zhang,J.Wang,Z.Zhang,R.Wang;draft manuscript preparation:S.Zhang,J.Wang,R.Wang.All authors reviewed the results and approved the final version of the manuscript.
Availability of Data and Materials:The data used to support the findings of this study are available and can be obtained by sending e-mail to the corresponding author.
Conflicts of Interest:The authors declare that they have no conflicts of interest to report regarding the present study.
杂志排行
Computers Materials&Continua的其它文章
- Fuzzing:Progress,Challenges,and Perspectives
- A Review of Lightweight Security and Privacy for Resource-Constrained IoT Devices
- Software Defect Prediction Method Based on Stable Learning
- Multi-Stream Temporally Enhanced Network for Video Salient Object Detection
- Facial Image-Based Autism Detection:A Comparative Study of Deep Neural Network Classifiers
- Deep Learning Approach for Hand Gesture Recognition:Applications in Deaf Communication and Healthcare