Research Article
Impact of Dual Placement and Routing on WDDL Netlist Security in FPGA
Algorithm 2
Determining the index of the equivalent node
.
| Let: n the node currently being routed | | pred(n) the predecessor node of node . | | count(n) an incremental value reserved to node | | index(src) = 0; | | count(src) = 0; | | index() = index (pred()) + 1; | | count() = count (pred()); | | if (Diff_sw_nb (i, n, j)) 0) { /*the current routing path is the shorter or | | equal to the dual routing path*/ | | if ( ! = ) { /*case a*/ | | index() = index(); | | count() | | } | | else { /*case b*/ | | index() = index(); | | } | | } | | else { /*the current routing path is longer than the dual routing path*/ | | equivalent_index = Total_sw_nb(, ) − Expected_sw_nb(, ); | | if (equivalent_index count() + 1) { /*case c*/ | | index() = count(); | | } | | else { /*case d*/ | | index() = equivalent_index; | | count() ; | | } | | } |
|