Next Article in Journal
Bessel Beam: Significance and Applications—A Progressive Review
Next Article in Special Issue
ParRouting: An Efficient Area Partition-Based Congestion-Aware Routing Algorithm for NoCs
Previous Article in Journal
Advanced Top-Down Fabrication for a Fused Silica Nanofluidic Device
Previous Article in Special Issue
Crosstalk Analysis and Performance Evaluation for Torus-Based Optical Networks-on-Chip Using WDM
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Algorithm for Routing Paths Selection in Mesh-Based Optical Networks-on-Chips

1
School of Electronic and Information Engineering, Southwest University, Chongqing 400715, China
2
School of Optoelectronic Information, University of Electronic Science and Technology of China, Chengdu 611731, China
*
Author to whom correspondence should be addressed.
Micromachines 2020, 11(11), 996; https://doi.org/10.3390/mi11110996
Submission received: 5 October 2020 / Revised: 27 October 2020 / Accepted: 3 November 2020 / Published: 9 November 2020

Abstract

:
Optical networks-on-chips (ONoCs) is an effective and extensible on-chip communication technology, which has the characteristics of high bandwidth, low consumption, and low delay. In the design process of ONoCs, power loss is an important factor for limiting the scalability of ONoCs. Additionally, the optical signal-to-noise ratio (OSNR) is an index to measure the quality of ONoCs. Nowadays, the routing algorithm commonly used in ONoCs is the dimension-order routing algorithm, but the routing paths selected by the algorithm have high power loss and crosstalk noise. In this paper, we propose a 5 × 5 all-pass optical router model for two-dimensional (2-D) mesh-based ONoCs. Based on the general optical router model and the calculation models of power loss and crosstalk noise, a novel algorithm is proposed in ordder to select the routing paths with the minimum power loss. At the same time, it can ensure that the routing paths have the approximately optimal OSNR. Finally, we employ the Cygnus optical router to verify the proposed routing algorithm. The results show that the algorithm can effectively reduce the power loss and improve the OSNR in the case of network sizes of 5 × 5 and 6 × 6 . With the increase of the optical network scale, the algorithm can perform better in reducing the power loss and raising the OSNR.

1. Introduction

Optical networks-on-chips (ONoCs) is a kind of interconnection mode among multiprocessors on a chip, which adopts optical connection instead of electrical connection [1,2,3]. Moreover, ONoCs has the characteristics of high bandwidth, low consumption, and low delay [4,5]. Accordingly, it is considered to have great application prospects in high-speed communication networks. Power loss and crosstalk noise are the key factors to measure the performance of ONoCs [6]. Hence, it is of great significance to study the power loss and crosstalk noise of ONoCs for information transmission. Nowadays, researchers mainly reduce the power loss and crosstalk noise in ONoCs by constructing new optical network topologies [7,8,9,10,11], designing optical routers [12,13,14,15,16], and using the routing algorithms [17,18,19,20].
By constructing a novel optical network topology, the routing paths can be shortened effectively, thus reducing the power consumption and crosstalk noise of ONoCs. In the design of the optical router structure, the transmission loss and crosstalk can be reduced by reducing the number of microring resonators and waveguide crossings inside the router. Although the performance of ONoCs can be improved by designing new optical network topologies and optical router structures, the reduction of power loss and crosstalk noise of ONoCs becomes decreasingly obvious with the continuous researches on these new structures in recent years. However, on the basis of the new network topologies and router structures, using the routing algorithm can further reduce the power loss and crosstalk noise. Therefore, some researchers begin to study the routing algorithms of the ONoCs in order to find the routing paths with less power loss under the premise of balancing various performances.
Nowadays, the routing algorithm usually used in ONoCs is the dimension-order routing algorithm [21,22,23], but the routing paths that were selected by the algorithm have high power loss and crosstalk noise. In addition, the optimization algorithms are used more in the electrical networks-on-chips (NoCs) [24,25,26,27], but less in the ONoCs. For the use of optimization algorithms in ONoCs, Jae Hoon Lee et al. proposed the insertion loss-aware routing algorithms for fat-tree-based ONoC, which considers the relationship between the insertion loss and routing paths [17]. Marcos A. C. Lima et al. proposed the routing and wavelength assignment method in wavelength division multiplexing (WDM) network based on the genetic algorithm (GA) [18]. In addition, a novel mapping algorithm that combines improved GA and simulated annealing algorithm (SAA) was proposed based on the hybrid optimization strategy [19], by utilizing the algorithm, the optical signal-to-noise ratio (OSNR) of ONoCs can be optimized. Although the use of the traditional GA, SAA, and other algorithms in ONoCs can reduce the power loss to a certain extent, these traditional search algorithms tend to converge earlier in the local sub-optimal solution, whihc leads to premature stagnation in the search. That means they are easy to fall into the local optimal solution, and it is impossible to ensure that the communication path found is the routing path with minimum power consumption.
In this paper, according to the names of optical router ports that we specified, the characteristics of the mesh topology and the routing rules of the optical signal transmission, we propose a novel algorithm for 5 × 5 all-pass optical routers and mesh networks in order to select the routing paths with minimum power loss. When compared with the dimension-order routing algorithm, the simulation results show that our algorithm can effectively reduce the power loss and improve the OSNR. Meanwhile, the eye diagrams of different routing paths of the mesh ONoCs are discussed.

2. Analysis of Power Loss and Crosstalk Noise

The basic optical elements consist of waveguides, microring resonators, waveguide bends, waveguide crossings (Figure 1), and so on. Additionally, the most commonly used basic optical switching elements include 1 × 2 parallel switching element (PSE) and 1 × 2 crossing switching element (CSE), as shown in Figure 1. Both basic optical switching elements have two states, which are ON state and OFF state, respectively.

2.1. Loss Model

When an optical signal is transmitted from one port to another port of the optical router, it will generate power loss, which may include from:
( 1 ) The power loss caused by the waveguide crossings (Figure 1a). When the optical signal enters the waveguide crossing from the Input port, the output power of the Port2 can be calculated by formula (1), where L c r is the crossing loss and P i n is the input power.
( 2 ) The power loss caused by the waveguide bends (Figure 1d). When the optical signal passes through a waveguide bend, the corresponding output power can be calculated by formula (2), where L b is the bending loss.
( 3 ) The power loss caused by the basic optical switching elements. As for the 1 × 2 PSE (Figure 1b,e), it is composed of two optical waveguides and one microring resonator. When the microring resonator is in ON state, it means that the wavelength of the input optical signal is equal to the resonant wavelength of the microring resonator, and then the optical signal is coupled into the microring and transmitted to the Drop port. The output power at the Drop port can be calculated by (3). When the microring resonator is in OFF state, it indicates that the wavelength of the input optical signal is not equal to the resonant wavelength of the microring resonator. Instead of being coupled into the microring, the optical signal is directly transmitted to the Through port. Therefore, the output power of the Through port can be calculated by (4). When compared with PSE, CSE also has two states (Figure 1c,f), but its structure adds a waveguide crossing, so its power loss is different from PSE. When the microring resonator is in ON state, the output power of the Drop port can be calculated by (5), and when it is in OFF state, the output power of the Through port can be calculated by (6), where L p s e , o n and L p s e , o f f are the insertion loss of each PSE in the ON and OFF states, respectively, L c s e , o n and L c s e , o f f are the insertion loss of each CSE in the ON and OFF states, respectively.
P p o r t 2 = L c r P i n
P o u t = L b P i n
P D , p , o n = L p s e , o n P i n
P T , p , o f f = L p s e , o f f P i n
P D , c , o n = L c s e , o n P i n
P T , c , o f f = L c s e , o f f P i n
Figure 2a shows a general 5 × 5 all-pass optical router model. The optical router has five bidirectional ports, which are Injection/Ejection, North, East, South, and West. In addition, I n m ( m 0 , 1 , n 0 , 1 , 2 , 3 , 4 ) is used in order to describe the flow direction of the optical signal, and 0, 1, 2, 3, and 4 are used to represent the five ports. Besides, we utilize 0, 1 to indicate whether the optical signal flows into or out of the optical router. For example, I 1 1 indicates that an optical signal flows out of the optical router from the North port.
L i , j ( x , y ) = S i , 0 ( x , y ) L p W i , 0 ( x , y ) j = 0 S i , j ( x , y ) L p W i , j ( x , y ) L p D j 0 D S X × Y i , j 0 , 1 , 2 , 3 , 4 , x 1 , 2 , , X , y 1 , 2 , , Y
When the optical signal transfers from the ith port to the jth port of the optical router R ( x , y ) , the insertion loss that is represented by L i , j ( x , y ) can be calculated (7). There are two situations need to be considered: First, j = 0 , namely the output port is the Ejection port, and the corresponding insertion loss can be calculated by (7), in which S i , j ( x , y ) denotes the switching power loss that is introduced by the waveguide crossings, the switching elements, and the propagation loss inside the optical router. Second, j 0 , which is the output port is not the Ejection port, so the propagation loss of the optical waveguide between the current router and the next one also should be considered, as shown in (7). D is the hop length, which can be calculated by chip size S and network size X × Y .
When the optical signal is transmitted from the ith port to the jth port of the optical router, the optical signal power P o u t , j can be calculated by (8). P i n , i is the power, which injects into the ith port of the optical router, and the x and y represent the abscissa and ordinate of the optical router in an X×Y 2-D mesh-based ONoCs (Figure 2b), respectively.
P o u t , j = P i n , i L i , j ( x , y ) i , j 0 , 1 , 2 , 3 , 4 , x 1 , 2 , , X , y 1 , 2 , , Y
Some assumptions are made when we analyze the optical link loss. It is assumed that the power loss of optical signals is the same when they are transmitted from the ith port to the jth port for different routers in ONoCs, in other words, L i , j ( x 0 , y 0 ) = L i , j ( x 1 , y 1 ) = L i , j , x 0 , x 1 1 , 2 , , X , y 0 , y 1 1 , 2 , , Y . These calculation formulas of the power loss mentioned above correspond to the optical router level. At the network level, the power loss of the entire optical link can be calculated by the loss combination of all routers on the link. An X×Y 2-D mesh-based ONoC, as shown in Figure 2b. When the optical signal travels from the processor core (1, 1) to the processor core ( X , Y ) by using the dimension-order routing algorithm, it will generate power loss P l i n k ( ( 1 , 1 ) ( X , Y ) ) . The power loss of the entire optical link can be defined in (9). The traditional dimension-order routing algorithm, namely the X-Y routing algorithm, is a deterministic routing method. Assuming that all of the optical routers in the ONoCs are represented by a two-dimensional coordinate ( x , y ) , in the way of dimension-order routing algorithm, the optical signal is transmitted first in the X-axis direction, and then transmitted in the Y-axis direction.
P l i n k ( ( 1 , 1 ) ( X , Y ) ) = L 0 , 2 L 4 , 2 X 2 L 4 , 3 L 1 , 3 Y 2 L 1 , 0 P i n

2.2. Crosstalk Model

When an optical signal travels from one port to another port of the optical router, there may be crosstalk noise inside the router. Similar to the insertion loss analysis, the sources of crosstalk noise can be analyzed from the following aspects:
( 1 ) Crosstalk noise will be produced when two optical signals pass through a waveguide crossing at the same time. When the optical signal enters the waveguide crossing from the Input port, the output power of Port1 and Port3 can be calculated by (10), where C c r is the crosstalk coefficient of the crossing.
( 2 ) The crosstalk noise caused by the basic optical switching elements. As for the 1 × 2 PSE, when the microring resonator is in ON state, the output power of the Through port can be calculated by (11), where C p s e , o n is the crosstalk coefficient of each PSE in the ON state. Because the crosstalk noise at the Add port is very small, the crosstalk of the Add port can be ignored. When the microring resonator is in OFF state, the output power of the Drop port can be calculated by Formula (12), where C p s e , o f f is the crosstalk coefficient of each PSE in the OFF state. For the 1 × 2 CSE, when the microring resonator is in ON state, the output power of the Through port and the Add port can be calculated by (13) and (14), respectively. When the microring resonator is in OFF state, the output power of the Drop port and the Add port can be calculated by (15) and (16), respectively.
P p o r t 1 = P p o r t 3 = C c r P i n
P T , p , o n = C p s e , o n P i n
P D , p , o f f = C p s e , o f f P i n
P T , c , o n = C p s e , o n L c r P i n
P A , c , o n = C p s e , o n C c r P i n
P D , c , o f f = ( C p s e , o f f + L p s e , o f f 2 C c r ) P i n
P A , c , o f f = L p s e , o f f C c r P i n
When the optical signal travels from the ith port to the jth port of the optical router R ( x , y ) , the total crosstalk noise C i , j ( x , y ) can be calculated by (17), where P k ( x , y ) represents the signal power, which injected into the optical router R ( x , y ) from the kth port, and K i , j , k ( x , y ) is the crosstalk noise coefficient of the optical signal that is introduced by P k ( x , y ) into the router R ( x , y ) . For the approximate worst-case crosstalk noise model proposed in this paper, we assume that all optical routers are the same, namely, it is assumed that the five ports of the edge routers exist and can be occupied.
C i , j ( x , y ) = k = 0 4 P k ( x , y ) K i , j , k ( x , y ) i , j , k 0 , 1 , 2 , 3 , 4 , x 1 , 2 , , X , y 1 , 2 , , Y
OSNR is the ratio of signal power to noise power, and it is a crucial parameter that used to measure the performance of ONoCs. Formula (18) can be used to calculate OSNR, where P ( x 0 , y 0 ) , ( x 1 , y 1 ) and P N ( x 0 , y 0 ) , ( x 1 , y 1 ) represent the optical signal power and optical noise power of the optical signal transmitted from the optical router R ( x 0 , y 0 ) to the optical router R ( x 1 , y 1 ) , respectively.
O S N R = 10 log 10 P ( x 0 , y 0 ) , ( x 1 , y 1 ) P N ( x 0 , y 0 ) , ( x 1 , y 1 ) x 0 , x 1 1 , 2 , , X , y 0 , y 1 1 , 2 , , Y

3. Minimum-Loss Routing Algorithm

Currently, the graph theory is mainly used in order to optimize the power consumption of ONoCs. In this paper, we put forward a new general method for obtaining the optical link with minimum power loss for the mesh-based ONoCs. When the optical signal travels from core ( x 0 , y 0 ) to core ( x 1 , y 1 ) , the optical link goes through fewer optical routers will have better performance in terms of crosstalk noise and time delay. Therefore, the algorithm that is proposed in this paper is based on the premise that the optical link passes through the minimum number of optical routers, which is, | x 0 x 1 | + | y 0 y 1 | + 1 optical routers.
We describe the pseudo-code of the algorithm when x 0 x 1 and y 0 y 1 , as shown in Algorithm 1. Firstly, we need to judge the relative position of the source node and the destination node. If the two nodes have the same vertical or horizontal coordinates, the optical signal transmission follows the dimension-order routing algorithm, as shown in lines 3–5, and the L i n k x y represents the optical link selected by using the dimension-order routing algorithm. According to the names of the ports of the optical router and the characteristics of the mesh topology, we can know that there is a relationship between optical links and the ports of the optical router. For example, when the optical signal outputs from the East port of one optical router to the next optical router, the input port must be the West port of the next router.
Algorithm 1 Routing algorithm for minimum power loss.
Input: 
The source processor core ( x 0 , y 0 ) ; The destination processor core ( x 1 , y 1 ) ;
Output: 
The optical routing path with the minimum power loss, L i n k ;
1: 
functionMinimumLossRouting( ( x 0 , y 0 ) , ( x 1 , y 1 ) )
2: 
    Judge the relative position of the core ( x 0 , y 0 ) and the core ( x 1 , y 1 ) ;
3: 
    if x 0 = x 1 or y 0 = y 1 then
4: 
        Adopt the dimension-order routing algorithm;
5: 
         L i n k = L i n k x y ;
6: 
    else
7: 
        Generate a sequence containing an Ejection, | x 0 x 1 | West, | y 0 y 1 | North;
8: 
        Initialize an unsorted optical link, L i n k : l i n k ( I n j e c t i o n , α ) , l i n k ( E a s t , β 1 ) , l i n k ( E a s t , β 2 ) ,…, l i n k ( E a s t , β | x 0 x 1 | ) , l i n k ( S o u t h , γ 1 ) , l i n k ( S o u t h , γ 2 ) , …, l i n k ( S o u t h , γ | y 0 y 1 | ) , α W e s t , N o r t h , β , γ E j e c t i o n , W e s t , N o r t h ;
9: 
        For the { E j e c t i o n , | x 0 x 1 | W e s t , | y 0 y 1 | N o r t h } sequence, full permutations with repeating elements are produced, these full permutations corresponding to α , β and γ in the L i n k ;
10: 
        Calculate and compare the power loss of these unsorted optical links;
11: 
        Select the L i n k with the minimum loss;
12: 
        Constraint: comply with the rules of optical signal transmission among the ports of the 5 × 5 optical routers;
13: 
        Sort the L i n k and get multiple optical links L i n k k , k 0 , 1 , 2 ;
14: 
        if n u m b e r l i n k k = 1 then
15: 
            L i n k = L i n k k ;
16: 
        else
17: 
           Calculate the OSNR of multiple optical links;
18: 
           Select optical link with the optimal OSNR, L i n k o s n r , L i n k o s n r L i n k k ;
19: 
            L i n k = L i n k o s n r ;
20: 
        end if
21: 
    end if
22: 
    return L i n k
23: 
end function
In order to illustrate the algorithm, we take core ( x 0 , y 0 ) as the source node, core ( x 1 , y 1 ) as the destination node. When the optical signal is transmitted from the initial node to the target node, it passes through the same number of East and West ports, the same number of South and North ports, which are | x 0 x 1 | and | y 0 y 1 | , respectively. Besides, it also passes through an Injection port and an Ejection port. Therefore, we generate a sequence that contains an Ejection port, | x 0 x 1 | West ports, and | y 0 y 1 | North ports. This sequence contains all of the output ports of the optical routers from core ( x 0 , y 0 ) to core ( x 1 , y 1 ) . Subsequently, we initialize an unsorted optical link: L i n k , where l i n k ( I n j e c t i o n , α ) indicates that the optical signal travels from the Injection port to the α port of an optical router. Afterwards, we permute the sequence that has repeating elements to be full permutations, and these full permutations correspond to the α , β , γ ports of the unsorted links. After that, we calculate the power loss of the unsorted links, and select an unsorted link with the minimum power loss, as show in lines 7–11. Finally, in lines 12–20, according to the names of the ports of the optical router and the characteristics of the mesh topology, we sort the unsorted links. For example, when the optical signal travels from core (1, 1) to core (3, 3), the L i n k : l i n k ( I n j e c t i o n , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E j e c t i o n ) is the optical link after sorting. If there is only one optical link after sorting, then this optical link is the selected link with the minimum power loss. If there are multiple optical links, we use formula (18) to calculate their OSNR, and then select the optical link with optimal OSNR as the minimum power loss link. Therefore, the optical link that has the minimum noise power (the one with the approximately optimal OSNR) among the optical links with the equal and minimum loss is chosen to be the final output.
As we know, ( x 0 x 1 , y 0 y 1 ), ( x 0 x 1 , y 0 < y 1 ), ( x 0 < x 1 , y 0 y 1 ), ( x 0 < x 1 , and y 0 < y 1 ) are the four location relationships between the source node and the destination node. In Algorithm 1, we elaborate the pseudo-code of the algorithm when x 0 x 1 and y 0 y 1 . For the other three cases, the algorithm idea of their corresponding algorithms is the same as that of Algorithm 1, and the difference among them is that the ports contained in the sequence and the ports contained in the unsorted optical link are different.

4. Simulation Results and Discussions

In this section, we use Gurobi, Python, MATLAB, and Optisystem for the simulation. The Cygnus router is used to construct the 2-D mesh ONoCs [13]. In addition, we choose the traditional dimension-order routing algorithm as a contrast. By comparing the power loss and OSNR between the optical links that were selected by our method and the traditional routing paths, we can verify our algorithm. Besides, in the simulation, the input power is 0 dBm and the other parameters used are shown in Table 1. Figure 3 shows the structure of the Cygnus optical router. It has five bidirectional ports, which are Injection/Ejection, North, East, South, and West. Apart from that, the optical router has a non-blocking feature, so the optical signal can travel from one port to any other port.
In addition, we take processor core (1,1) as the source node. When the optical signals are transmitted from processor core (1,1) to other processor cores, the average loss of the optical links P ¯ l i n k can be calculated by Formula (19). P l i n k ( ( 1 , 1 ) ( x , y ) ) represents the power loss of the optical link when the optical signal travels from core (1, 1) to core ( x , y ) . Moreover, x and y can not be 1 at the same time.
P ¯ l i n k = x = 1 X y = 1 Y P l i n k ( ( 1 , 1 ) ( x , y ) ) X Y 1
Figure 4 shows an example for explaining the dimension-order routing algorithm. There is a pair of communication nodes: core (1, 1) → core (6, 3). Firstly, the optical signal is injected into the optical network through the Injection port of the optical router R ( 1 , 1 ) . Subsequently, the optical signal is horizontally transmitted to the optical router R ( 6 , 1 ) . The optical signal enters from the West port of the optical router R ( 6 , 1 ) , and outputs from its South port. After that, it transmits vertically to the optical router R ( 6 , 3 ) . Finally, the optical signal is output from the Ejection port of the optical router R ( 6 , 3 ) and the data are exchanged with the processing core (1,1). It can be seen that the signal power of the optical routing path is equal to L 0 , 2 L 4 , 2 4 L 4 , 3 L 1 , 3 L 1 , 0 P i n , as shown in Figure 4.
Figure 5 shows an example to explain our algorithm. There is a pair of communication nodes: core (1, 1) → core (6, 3). Firstly, we generate a sequence containing an E j e c t i o n port, | 1 6 | = 5 East ports, | 1 3 | = 2 South ports, then we initialize an unsorted link, L i n k : l i n k ( I n j e c t i o n , α ) , l i n k ( W e s t , β 1 ) , l i n k ( W e s t , β 2 ) , l i n k ( W e s t , β 3 ) , l i n k ( W e s t , β 4 ) , l i n k ( W e s t , β 5 ) , l i n k ( N o r t h , γ 1 ) , l i n k ( N o r t h , γ 2 ) . Secondly, according to our method, we select out the unsorted link, l i n k ( I n j e c t i o n , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( W e s t , S o u t h ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( N o r t h , E j e c t i o n ) , l i n k ( N o r t h , E a s t ) , which has the lowest power loss. Next, we sort the optical link and obtain four optical links with different routing paths but the same power loss. As shown in Figure 5, it can be seen that the signal power of the four optical links is equal to L 0 , 2 L 4 , 2 3 L 4 , 3 2 L 1 , 2 L 1 , 0 P i n . Finally, on the basis of formula (18), we select the optimal optical link, as shown in Figure 5d.
First of all, for a 5 × 5 mesh-based ONoC, when the optical signals travel from processor core (1, 1) to the other 24 processor cores, we analyze the power loss of the routing paths that were selected using the dimension-order routing algorithm. Subsequently, we utilize the novel algorithm, which was proposed by us, to select the optical routing paths with the minimum power loss. Figure 6 shows the optical signal power obtained by using the two algorithms. The transverse coordinates represent the destination routers, for example, ‘2, 1’ indicates that the optical signal travels from processor core (1, 1) to processor core (2, 1). According to Figure 6, it can be clearly observed that the simulation results are consistent with the results that we expected. When the source core and the destination core are located in the same X-axis or the same Y-axis, the routing paths chosen by the dimension-order routing algorithm are the same as those chosen by our algorithm.
For most other communication node pairs, the signal power of the optical links selected by our method is significantly better than that of the traditional routing paths, as can be seen from Figure 6. According to formula (19), we can know that our algorithm realizes an average of 16.82% reduction in power loss compared with the dimension-order routing algorithm. When the optical signal passes through the longest optical link, namely, the optical signal travels from the processor core (1, 1) to the processor core (5, 5), the signal power of the optical link selected by the dimension-order routing algorithm is −13.18 dBm, while the signal power of the optical link selected by our algorithm is −8.94 dBm.
After that, we use the crosstalk model and the OSNR model proposed above in order to calculate the approximate worst crosstalk noise and the OSNR of the optical links. And we use the same models to analyze the traditional routing paths, and the OSNR comparison between the two routing algorithms is shown in Figure 7. According to the simulation results, we can obviously find that our method can not only ensure that the optical links have the lowest power loss, but also improve the OSNR of the routing paths. Specifically, the OSNR of the longest optical link selected by the dimension-order routing algorithm is 35.42 dB, while the OSNR of the longest optical link selected by our algorithm is 44.40 dB.
To be general, the eye diagram can reflect the influence of crosstalk noise intuitively. When the optical signal is transmitted from the processor core (1, 1) to the processor core (5, 5), the traditional algorithm and our algorithm are used to select the routing path, and the eye diagrams of the signals are shown in Figure 8a,b, respectively. It can be seen from the graph that the signal passes through the routing path that was selected by our algorithm has a higher eye height and a clearer eye diagram. Moreover, the Q factor can be a good measure of system performance. For the different optical links (from core (1, 1) to core (5, 5)) selected by the traditional algorithm and our algorithm, the maximum Q factor of the signal is 17.74 and 42.42, respectively.
Subsequently, we expand the optical network size. For the 6 × 6 mesh-based ONoC, when the optical signals travel from the core (1, 1) to the other 35 cores, the optical signal power obtained by using the two algorithms are shown in Figure 9. We can find that the signal power of the optical links selected by our method is significantly better than that of the traditional routing paths for most communication node pairs. According to formula (19), our algorithm realizes an average of 21.19% reduction in power loss compared with the dimension-order routing algorithm. In addition, when the optical signal travels from the core (1, 1) to the core (6, 6), the signal power of the optical link selected by the dimension-order routing algorithm is −16.62 dBm, while the signal power of the optical link selected by our algorithm is −10.96 dBm. For the longest optical links selected by the traditional algorithm and our algorithm, the eye diagrams of the two signals are shown in Figure 8c,d, respectively, and the maximum Q factor of the signals is 11.55 and 33.13, respectively.
Afterwards, we calculate the approximate worst crosstalk noise and the OSNR of the optical links. Based on the same models, we analyze the traditional routing paths, and the OSNR comparison between the two routing algorithms is shown in Figure 10. For a 6 × 6 mesh-based ONoC, we take core (1, 1) as the source node and other nodes as the destination nodes. When compared with the optical links selected by the dimension-order routing algorithm, the OSNR of the optical links selected by our algorithm in this paper is higher for most communication node pairs. The OSNR of the longest optical link selected by the dimension-order routing algorithm is 31.83 dB, while the OSNR of the longest optical link selected by our algorithm is 42.25 dB.
When the optical signal is transmitted from the processor core (1, 1) to the processor core ( M , M ) M { 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 } , the traditional algorithm and our algorithm are used in order to select the routing paths, and the optical signal power obtained by using the two algorithms is shown in Figure 11. From the simulation results, we can see that the signal power of the routing paths selected by our method is obviously better than that of the dimension-order routing paths. Additionally, we can find that the power loss of the optical links selected by our algorithm will be greatly optimized with the gradual increase of the scale of the optical network.
Subsequently, we use the calculation model proposed in Section 2 to calculate the crosstalk noise and the OSNR of the longest optical links obtained by the two routing algorithms. The OSNR comparison between the two algorithms is shown in Figure 12. We can find that the longest optical links selected by using our algorithm is significantly better than the longest optical links selected by using the dimension-order routing algorithm in terms of OSNR. Similar to the results of the power loss of the longest optical links, with the increase of the network scale, our algorithm will perform better in improving OSNR.

5. Conclusions

Power loss and OSNR are the key factors for measuring the performance of ONoCs. In this paper, we put forward a 5 × 5 all-pass optical router model for 2-D mesh-based ONoCs. Afterwards, a novel routing algorithm is proposed in order to select the routing paths with the minimum power loss based on the power loss model, the approximate worst crosstalk model, and the all-pass optical router model. We use the dimension-order routing algorithm as a comparison and take core (1, 1) as the source node and other cores as the destination nodes. The simulation results indicate that, when the size of ONoC is 5 × 5 , using our algorithm can reduce the power loss by 16.82% on average, and the OSNR can also be improved. Furthermore, when the size of ONoC is 6 × 6 , the power loss will be reduced by 21.19% on average, and the improvement of OSNR will be more obvious. In addition, when compared with the traditional algorithm, the optical paths selected by our algorithm have a higher Q factor and clearer eye diagrams. Furthermore, our algorithm will perform better in reducing the power loss and raising the OSNR with the gradual increase of the optical network scale.

Author Contributions

Conceptualization, X.-P.Y., Y.-Y.X., and T.-T.S.; methodology, Y.-Y.X., Y.L., and B.-C.L.; software, X.-P.Y., H.Y., and Y.-L.Z.; validation, X.-P.Y., H.Y., and Y.-C.Y.; formal analysis, X.-P.Y.; investigation, X.-P.Y., and T.-T.S.; resources, Y.-Y.X.; data curation, X.-P.Y.; writing—original draft preparation, X.-P.Y., H.Y., and Y.-Y.X.; writing—review and editing, X.-P.Y., H.Y., Y.-Y.X., and Y.-C.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Natural Science Foundation of Chongqing City under Grant cstc2016jcyjA0581, by the Postdoctoral Science Foundation of China under Grant 2016M590875, and by the Fundamental Research Funds for the Central Universities under Grants XDJK2018B012.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mikhail, H.; Chen, G.Q.; Chen, H.; Zhang, J.D.; Nelson, N.A.; David, H.A.; Eby, G.F.; Philippe, M.F. On-chip optical interconnect roadmap: Challenges and critical directions. IEEE J. Sel. Topics Quantum Electron. 2006, 12, 1699–1705. [Google Scholar]
  2. Assaf, S.; Keren, B.; Luca, P.C. Photonic network-on-chip for future generations of chip multi-processors. IEEE Trans. Comput. 2008, 57, 1246–1260. [Google Scholar]
  3. Chen, Z.; Gu, H.X.; Yang, Y.T.; Chen, K. Low latency and energy efficient optical network-on-chip using wavelength assignment. IEEE Photonics Technol. Lett. 2012, 24, 2296–2299. [Google Scholar] [CrossRef]
  4. Dong, P.; Chen, Y.K.; Gu, T.; Lawrence, L.B.; David, T.N.; Jeffrey, H.S. Reconfigurable 100 Gb/s silicon photonic network-on-chip. IEEE/OSA J. Opt. Commun. Netw. 2015, 7, A37–A43. [Google Scholar] [CrossRef]
  5. Wang, X.L.; Gu, H.X.; Yang, Y.T.; Wang, K.; Hao, Q.F. RPNoC: A ring-based packet-switched optical network-on-chip. IEEE Photonics Technol. Lett. 2015, 27, 423–426. [Google Scholar] [CrossRef]
  6. Mahdi, N.; Xu, J.; Luan, H.K.D.; Wu, X.W.; Wang, X.; Wang, Z.H.; Wang, Z.; Yang, P.; Ye, Y.Y.; Hao, Q.F. Crosstalk noise in WDM-based optical networks-on-chip: A formal study and comparison. IEEE Trans. Very Large Scale Integr. VLSI Syst. 2015, 23, 2552–2565. [Google Scholar]
  7. Li, W.Z.; Guo, B.L.; Li, X.; Zhou, Y.; Huang, S.G.; George, N.R. A large-scale nesting ring multi-chip architecture for manycore processor systems. Opt. Switch. Netw. 2019, 31, 183–192. [Google Scholar] [CrossRef]
  8. Yang, Y.T.; Chen, K.; Gu, H.X.; Zhang, B.W.; Zhu, L.J. Taonoc: A regular passive optical network-on-chip architecture based on comb switches. IEEE Trans. Very Large Scale Integr. VLSI Syst. 2019, 27, 954–963. [Google Scholar] [CrossRef]
  9. Deng, J.Y.; Wu, H.Y.; Shan, R.; Fu, Y.W.; Liu, X.C.; Wang, P. NPFONoC: A low-loss, non-blocking, scalable passive optical interconnect network-on-chip architecture. In Proceedings of the 2019 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC), Lanzhou, China, 18–21 November 2019; pp. 1443–1448. [Google Scholar]
  10. Guo, P.X.; Hou, W.G.; Guo, L.; Zhang, X.; Ning, Z.L.; Mohammad, S.O. Design for architecture and router of 3D free-space optical network-on-chip. In Proceedings of the 2018 IEEE International Conference on Communications (ICC), Kansas City, MO, USA, 20–24 May 2018; pp. 1–6. [Google Scholar]
  11. Melika, T.; Somayyeh, K.; Shaahin, H. Low-overhead thermally resilient optical network-on-chip architecture. Nano Commun. Netw. 2019, 20, 31–47. [Google Scholar]
  12. Xie, Y.Y.; Mahdi, N.; Xu, J.; Wu, X.W.; Zhang, W.; Ye, Y.Y.; Wang, X.; Wang, Z.H.; Liu, W.C. Formal worst-case analysis of crosstalk noise in mesh-based optical networks-on-chip. IEEE Trans. Very Large Scale Integr. VLSI Syst. 2013, 21, 1823–1836. [Google Scholar] [CrossRef]
  13. Gu, H.X.; Kwai, H.M.; Xu, J.; Zhang, W. A low-power low-cost optical router for optical networks-on-chip in multiprocessor systems-on chip. In Proceedings of the 2009 IEEE Computer Society Annual Symposium on VLSI, Tampa, FL, USA, 13–15 May 2009; pp. 19–24. [Google Scholar]
  14. Muhammad, R.Y.; Wu, N.; Yan, G.Z.; Ge, F.; Tanveer, A. RoR: A low insertion loss design of rearrangeable hybrid photonic-plasmonic 6 × 6 non-blocking router for ONoCs. IEICE Electron. Express 2019, 16, 1–6. [Google Scholar]
  15. Guo, P.X.; Hou, W.G.; Guo, L.; Yang, Q.; Ge, Y.F.; Liang, H. Low insertion loss and non-blocking microring-based optical router for 3D optical network-on-chip. IEEE Photonics J. 2018, 10, 1–10. [Google Scholar] [CrossRef]
  16. Bharat, S.C.; Patil, S.S. Optimized designs of low loss non-blocking optical router for ONoC applications. Int. J. Inf. Technol. 2020, 12, 91–96. [Google Scholar]
  17. Jae, H.L.; Min, S.K.; Tae, H.H. Insertion loss-aware routing analysis and optimization for a fat-tree-based optical network-on-chip. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst. 2018, 37, 559–572. [Google Scholar]
  18. Lima, M.A.C.; Cesar, A.C.; Araujo, A.F.R. Optical network optimization with transmission impairments based on genetic algorithm. In Proceedings of the 2003 SBMO/IEEE MTT-S International Microwave and Optoelectronics Conference—IMOC 2003. (Cat. No.03TH8678), Foz do Iguacu, Brazil, 20–23 September 2003; pp. 361–365. [Google Scholar]
  19. Guo, L.; Ge, Y.F.; Hou, W.G.; Guo, P.X.; Cai, Q.; Wu, J.J. A novel IP-core mapping algorithm in reliable 3D optical network-on-chips. Opt. Switch. Netw. 2018, 27, 50–57. [Google Scholar] [CrossRef]
  20. Bahareh, A.; Midia, R.; Ahmad, K. A routing algorithm for reducing optical loss in photonic Networks-on-Chip. Photonic Netw. Commun. 2017, 34, 52–62. [Google Scholar]
  21. Xie, Y.Y.; Song, T.T.; Zhang, Z.D.; He, C.; Li, J.C.; Xu, C.J. Formal analysis of crosstalk noise in mesh-based optical networks-on-chip with WDM. J. Lightwave Technol. 2016, 34, 3550–3562. [Google Scholar] [CrossRef]
  22. Ye, Y.Y.; Xu, J.; Huang, B.H.; Wu, X.W.; Zhang, W.; Wang, X.; Mahdi, N.; Wang, Z.H.; Liu, W.C.; Wang, Z. 3-D mesh-based optical network-on-chip for multiprocessor system-on-chip. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst. 2013, 32, 584–596. [Google Scholar] [CrossRef]
  23. Ji, R.Q.; Xu, J.; Yang, L. Five-port optical router based on microring switches for photonic networks-on-chip. IEEE Photonics Technol. Lett. 2013, 25, 492–495. [Google Scholar] [CrossRef]
  24. Vinitha, A.P.; Jude, A.A.; Arcot, S. Improving ga-based noc mapping algorithms using a formal model. In Proceedings of the 2014 IEEE Computer Society Annual Symposium on VLSI, Tampa, FL, USA, 9–11 July 2014; pp. 344–349. [Google Scholar]
  25. Habib, C.T.; Fateh, B. Reliable routing schemes in 3D network on chip. Int. J. Embed. Syst. 2020, 12, 39–61. [Google Scholar]
  26. Thilagavathi, M.; Sadiq, J.S. High performance energy efficient grid based routing algorithm for multi network on chip. In Proceedings of the 2019 IEEE International Conference on Intelligent Techniques in Control, Optimization and Signal Processing (INCOS), Tamilnadu, India, 11–13 April 2019; pp. 1–3. [Google Scholar]
  27. Mehdi, D.; Amir, R.R.; Omid, K.S. Tasks mapping in the network on a chip using an improved optimization algorithm. Int. J. Pervasive Comput. Commun. 2020, 16, 165–182. [Google Scholar]
  28. Xia, F.N.; Lidija, S.; Yurii, V. Ultracompact optical buffers on a silicon chip. Nat. Photonics 2007, 1, 65–71. [Google Scholar] [CrossRef]
  29. Ding, W.Q.; Tang, D.H.; Liu, Y.; Chen, L.X.; Sun, X.D. Compact and low crosstalk waveguide crossing using impedance matched metamaterial. Appl. Phys. Lett. 2010, 96, 111114–111116. [Google Scholar] [CrossRef]
  30. Johnnie, C.; Gilbert, H.; Keren, B.; Luca, P.C. Physical-layer modeling and system-level design of chip-scale photonic interconnection networks. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst. 2011, 30, 1507–1520. [Google Scholar]
Figure 1. (a) Waveguide crossing; (b) Parallel switching element (PSE) in OFF state; (c) Crossing switching element (CSE) in OFF state; (d) Waveguide bend; (e) PSE in ON state; (f) CSE in ON state.
Figure 1. (a) Waveguide crossing; (b) Parallel switching element (PSE) in OFF state; (c) Crossing switching element (CSE) in OFF state; (d) Waveguide bend; (e) PSE in ON state; (f) CSE in ON state.
Micromachines 11 00996 g001
Figure 2. (a) General 5 × 5 optical router model; (b) The X×Y 2-D mesh-based ONoC.
Figure 2. (a) General 5 × 5 optical router model; (b) The X×Y 2-D mesh-based ONoC.
Micromachines 11 00996 g002
Figure 3. Cygnus optical router.
Figure 3. Cygnus optical router.
Micromachines 11 00996 g003
Figure 4. Example: The dimension-order routing path when the optical signal travels from processor core (1, 1) to processor core (6, 3).
Figure 4. Example: The dimension-order routing path when the optical signal travels from processor core (1, 1) to processor core (6, 3).
Micromachines 11 00996 g004
Figure 5. Example: Four routing paths with the minimum power loss when optical signals travel from processor core (1, 1) to processor core (6, 3). (a) L i n k : l i n k ( I n j e c t i o n , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E j e c t i o n ) ; (b) L i n k : l i n k ( I n j e c t i o n , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E j e c t i o n ) ; (c) L i n k : l i n k ( I n j e c t i o n , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E j e c t i o n ) ; (d) L i n k : l i n k ( I n j e c t i o n , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E j e c t i o n ) .
Figure 5. Example: Four routing paths with the minimum power loss when optical signals travel from processor core (1, 1) to processor core (6, 3). (a) L i n k : l i n k ( I n j e c t i o n , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E j e c t i o n ) ; (b) L i n k : l i n k ( I n j e c t i o n , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E j e c t i o n ) ; (c) L i n k : l i n k ( I n j e c t i o n , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E j e c t i o n ) ; (d) L i n k : l i n k ( I n j e c t i o n , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E a s t ) , l i n k ( W e s t , S o u t h ) , l i n k ( N o r t h , E j e c t i o n ) .
Micromachines 11 00996 g005
Figure 6. Signal power comparison between traditional routing algorithm and our optimization algorithm in a 5 × 5 mesh-based ONoC.
Figure 6. Signal power comparison between traditional routing algorithm and our optimization algorithm in a 5 × 5 mesh-based ONoC.
Micromachines 11 00996 g006
Figure 7. OSNR comparison between traditional routing algorithm and our optimization algorithm in a 5 × 5 mesh-based ONoC.
Figure 7. OSNR comparison between traditional routing algorithm and our optimization algorithm in a 5 × 5 mesh-based ONoC.
Micromachines 11 00996 g007
Figure 8. Four eye diagrams of different routing paths in mesh-based ONoC. (a) Processor core (1, 1) to processor core (5, 5): the eye diagram of the signal transmitted through the routing path selected by the traditional algorithm; (b) Processor core (1, 1) to processor core (5, 5): the eye diagram of the signal transmitted through the routing path selected by our optimization algorithm; (c) Processor core (1, 1) to processor core (6, 6): the eye diagram of the signal transmitted through the routing path selected by the traditional algorithm; (d) Processor core (1, 1) to processor core (6, 6): the eye diagram of the signal transmitted through the routing path selected by our optimization algorithm.
Figure 8. Four eye diagrams of different routing paths in mesh-based ONoC. (a) Processor core (1, 1) to processor core (5, 5): the eye diagram of the signal transmitted through the routing path selected by the traditional algorithm; (b) Processor core (1, 1) to processor core (5, 5): the eye diagram of the signal transmitted through the routing path selected by our optimization algorithm; (c) Processor core (1, 1) to processor core (6, 6): the eye diagram of the signal transmitted through the routing path selected by the traditional algorithm; (d) Processor core (1, 1) to processor core (6, 6): the eye diagram of the signal transmitted through the routing path selected by our optimization algorithm.
Micromachines 11 00996 g008
Figure 9. Signal power comparison between traditional routing algorithm and our optimization algorithm in a 6 × 6 mesh-based ONoC.
Figure 9. Signal power comparison between traditional routing algorithm and our optimization algorithm in a 6 × 6 mesh-based ONoC.
Micromachines 11 00996 g009
Figure 10. OSNR comparison between traditional routing algorithm and our optimization algorithm in a 6 × 6 mesh-based ONoC.
Figure 10. OSNR comparison between traditional routing algorithm and our optimization algorithm in a 6 × 6 mesh-based ONoC.
Micromachines 11 00996 g010
Figure 11. Signal power comparison of the longest optical links in different optical network sizes.
Figure 11. Signal power comparison of the longest optical links in different optical network sizes.
Micromachines 11 00996 g011
Figure 12. OSNR comparison of the longest optical links in different optical network sizes.
Figure 12. OSNR comparison of the longest optical links in different optical network sizes.
Micromachines 11 00996 g012
Table 1. The loss values and crosstalk coefficients.
Table 1. The loss values and crosstalk coefficients.
ParameterValueReference
L b 0.005 dB/90 [28]
L c r 0.04 dB[29]
L p s e , o n 0.5 dB[30]
L p s e , o f f 0.005 dB[30]
L c s e , o n 0.5 dB[12]
L c s e , o f f 0.04 dB[12]
L p 0.274 dB/cm[12]
C c r 40 dB[29]
C p s e , o n 25 dB[30]
C p s e , o f f 20 dB[30]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Yang, X.-P.; Song, T.-T.; Ye, Y.-C.; Liu, B.-C.; Yan, H.; Zhu, Y.-C.; Zheng, Y.-L.; Liu, Y.; Xie, Y.-Y. A Novel Algorithm for Routing Paths Selection in Mesh-Based Optical Networks-on-Chips. Micromachines 2020, 11, 996. https://doi.org/10.3390/mi11110996

AMA Style

Yang X-P, Song T-T, Ye Y-C, Liu B-C, Yan H, Zhu Y-C, Zheng Y-L, Liu Y, Xie Y-Y. A Novel Algorithm for Routing Paths Selection in Mesh-Based Optical Networks-on-Chips. Micromachines. 2020; 11(11):996. https://doi.org/10.3390/mi11110996

Chicago/Turabian Style

Yang, Xiao-Ping, Ting-Ting Song, Yi-Chen Ye, Bo-Cheng Liu, Hua Yan, Yun-Chao Zhu, Yan-Li Zheng, Yong Liu, and Yi-Yuan Xie. 2020. "A Novel Algorithm for Routing Paths Selection in Mesh-Based Optical Networks-on-Chips" Micromachines 11, no. 11: 996. https://doi.org/10.3390/mi11110996

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop