# Novel Verification Method for Timing Optimization Based on DPSO

Authors: Chuandong Chen; Rongshan Wei; Shaohao Wang; Wei Hu
Journal: VLSI Design
 (2018)

---

## Abstract

Timing optimization for logic circuits is one of the key steps in logic synthesis. Extant research data are mainly proposed based on various intelligence algorithms. Hence, they are neither comparable with timing optimization data collected by the mainstream electronic design automation (EDA) tool nor able to verify the superiority of intelligence algorithms to the EDA tool in terms of optimization ability. To address these shortcomings, a novel verification method is proposed in this study. First, a discrete particle swarm optimization (DPSO) algorithm was applied to optimize the timing of the mixed polarity Reed-Muller (MPRM) logic circuit. Second, the Design Compiler (DC) algorithm was used to optimize the timing of the same MPRM logic circuit through special settings and constraints. Finally, the timing optimization results of the two algorithms were compared based on MCNC benchmark circuits. The timing optimization results obtained using DPSO are compared with those obtained from DC, and DPSO demonstrates an average reduction of 9.7% in the timing delays of critical paths for a number of MCNC benchmark circuits. The proposed verification method directly ascertains whether the intelligence algorithm has a better timing optimization ability than DC.


---

## Body

## 1. Introduction

Timing optimization for logic circuits is one of the most important requirements during logic synthesis [1–4]. The industry’s mainstream electronic design automation (EDA) tool for logic synthesis is Design Compiler (DC) produced by Synopsys®. Timing optimization algorithms for logic circuits have been integrated in DC and have been demonstrated to reduce critical path delays significantly [5, 6]. Figure 1 illustrates the positioning of logic circuits (represented by ellipses) between flip-flops FF1 and FF2 of a pipeline circuit [7, 8], where the logic circuits generally employ multiple inputs and outputs. As shown by the red line in the figure, a typical path, denoted as the critical path, for the process of timing optimization in DC begins from the clock pin of FF1, passes through logic circuits, and finally arrives at the D pin of FF2. Here, the clock pin of FF1 is the startpoint of the critical path, and the D pin of FF2 is the endpoint of the critical path.Figure 1
A typical path (red line) for the timing optimization process of a pipeline circuit in the Design Compiler (DC) tool beginning from the clock pin of flip-flop FF1, passing through logic circuits, and finally arriving at the D pin of flip-flop FF2.To facilitate timing optimization, logic circuits withn inputs and m outputs are transformed to equivalent mixed polarity Reed-Muller (MPRM) [9, 10] circuits, which have 3n mixed polarities. Abundant experimental data and conclusions are available regarding the timing optimization of an MPRM logic circuit based on intelligence algorithms. However, the experimental results of intelligence algorithms cannot be compared with those of mainstream EDA tools, thus making the verification of the superiority of intelligence algorithms over EDA tools impossible.To address these problems, this research proposed a new related verification method. The suggested verification method allows for contrast analysis between the experimental results of an intelligence algorithm and the optimization outcomes of an EDA tool, thereby evaluating the optimization ability of the intelligence algorithm.


## 2. State of the Art

MPRM is a standard form of a logic circuit; the problem of timing-driven logic optimization for MPRM circuits is an nondeterministic polynomial (NP) time complete problem [11]. The discrete particle swarm optimization (DPSO) algorithm [12–15], genetic algorithm (GA) [16, 17], and simulated annealing (SA) [18–20] are commonly employed methods for solving the timing optimization of MPRM logic circuits.On the basis of research on discrete ternary particle swarm optimization, Yu et al. [21] proposed a ternary diversity particle swarm optimization (TDPSO). A mathematic mode for area and low power dissipation was built and mixed polarity conversion of XNOR/OR circuits was improved. The algorithm was tested using MCNC benchmark circuits. Experimental results showed that the algorithm significantly outperformed the reported method. However, the experimental results were not compared with the optimization outcomes of the EDA tool. Thus, determining whether this algorithm is better than the EDA tool in terms of timing optimization is impossible.To improve the efficiency of the polarity optimization of MPRM logic circuits, He et al. [22] proposed an efficient and fast polarity optimization approach (FPOA) considering the polarity conversion sequence. FPOA performed better for a complicated MPRM logic circuit. Nevertheless, experimental data on this algorithm were not compared with optimization outcomes of the EDA tool.Zhang et al. [23] proposed an innovative niche GA for area optimization of fixed-polarity RM circuits. Experimental results of the MCNC benchmark circuits showed that the proposed algorithm was superior to the traditional GA. However, this study compared niche GA and traditional GA but did not compare the optimization results of the niche GA with those of the EDA tool.Wang et al. [24] presented a power estimation model for MPRM logic circuits, which accurately and efficiently handled temporal signal correlations during the estimation of average power using lag-one Markov chains. An ordered binary decision diagram-based procedure was used to propagate the temporal correlations from the primary inputs throughout the network. Unfortunately, the experimental data of the model were impossible to compare with experimental data of the mainstream EDA tool.Bu and Jiang [11] proposed a hybrid multivalued DPSO for the minimization problem of the MPRM logic circuit. Compared with the simulated annealing genetic algorithm (SAGA), this hybrid multivalued DPSO increased the time efficiency of MPRM minimization while achieving comparable optimization results. However, the experimental data were compared only with the optimization results of SAGA and not with the optimization results of the mainstream EDA tool.Yang and Xu [25] suggested a whole annealing genetic algorithm (WAGA), which was used to search for MPRM functions for obtaining optimal circuit implementation. By combining the global searching ability of a GA and the local searching ability of SA, WAGA could achieve fast convergence. The algorithm was more effective than other GA methods in searching for the best MPRM functions. Nevertheless, experimental results were unable to prove the superiority of WAGA to the EDA tool.Many studies are available on the timing optimization of MPRM logic circuits based on different intelligence algorithms. Their experimental results were mainly proposed based on intelligence algorithms. No verification method exists for comparing the timing optimization results of an EDA tool and an intelligence algorithm to determine whether an intelligence algorithm is superior to the EDA tool for timing optimization.Accordingly, a novel verification method was designed in this study. We employ MCNC benchmark circuits in the Berkeley Logic Interchange Format (BLIF) and limit the logic gates that can be mapped in the technology library to two-input AND gates, two-input XOR gates, and inverters. First, the DPSO algorithm is applied for timing optimization of the MCNC benchmark circuits according to the BLIF netlist. Then, the benchmark circuits with BLIF format are transformed to the VHSIC Hardware Description Language (VHDL) format and then compiled in DC. The critical paths are then calculated according to the netlist saved in DC, and the timing optimization results are reported and compared with the results obtained from the DPSO algorithm.


## 3. The Proposed Method

In this section, a novel verification method is proposed. First, the MPRM circuit and its mathematical model are introduced. Second, the calculation equations for timing delay of a critical path with DPSO and with DC are proposed. Finally, the steps of the DPSO algorithm for timing optimization and the verification process are proposed.


### 3.1. MPRM Mathematic Model

The Boolean expression ofn-input combinational logic circuit is (1)fxn-1,xn-2,…,x0=∑i=02n-1aimi,where ∑ is the logical OR operation of a set of variables; ai is the minterm coefficient; i is the minterm ordinal, which can be expressed as (in-1,in-2,…,i0); mi is the minterm, which can be expressed as (xn-1xn-2⋯xj⋯x0). The relationship between xk and its negation x-k, collectively denoted as x˙k, and ik, is given as follows: (2)x˙=xk,ik=1x-k,ik=0,0≤k≤n-1.An MPRM circuit with n inputs has 3n expansions, which can be expressed as follows:(3)fpxn-1,xn-2,…,x0=⊕∑j=02n-1bjπj.Here, (xn-1,xn-2,…,x0) is the input of the MPRM circuit. p(0≤p≤3n-1) represents the polarity value of the MPRM and could be expressed as (pn-1pn-2⋯pi⋯p0), where pi∈0,1,2. It is a ternary system. ⊕∑ is XOR; bj=[b0,j,b1,j,…,bm-1,j]T is thejth coefficient vector of MPRM; and πj=(xn-1xn-2···xj···x0) is the jth product item of the MPRM. Values of xj in term “AND” are shown in Table 1.Table 1
Values of the MPRM expansion termxj.
j i 0 0 0 1 1 1 p i 0 1 2 0 1 2 x i 1 1 x - i x i x - i x i


### 3.2. Timing Model

The single logic path among all paths that has the longest timing delay from the startpoint to the endpoint is denoted as the critical path. The timing optimization developed in this paper for logic circuits regards the critical path as the basic optimization target. Here, the startpoint of a logic path is taken as the clock pin of the front flip-flop, the endpoint is the input pin of the next flip-flop, and the circuits between the startpoint and the endpoint consist of logic gates.Figure2 illustrates the combinational logic circuits with n inputs and m outputs employed in the present study, where the inputs are (xn,xn-1,…,x1) and Yk is one of the outputs. The logic circuit with endpoint Yk can be expressed by (3). This combinational logic circuit can be decomposed into a logical network comprising two-input AND gates, two-input XOR gates, and inverters. When the logic of the MPRM circuit has been optimized using the DPSO algorithm, which ignores the timing delay for interconnected wires between the pins of logic gates, the corresponding maximum timing delay Tmax can be expressed as(4)Tmax=max⁡Ti,where Ti represents the number of logic gates from any input to any output in the combinational logic circuits. For comparison, the same logic circuits are synthesized by DC, which also ignores the timing delay for interconnected wires between the pins of logic gates, and the logic gates that can be mapped to netlist in DC are limited to two-input AND gates, two-input XOR gates, and inverters. Finally, the logic circuit timing is constrained for optimization and mapped to the technology library in DC, and every logic gate in the critical path is defined as a timing delay unit. Thus, the maximum timing delay of the critical path obtained from DC can be defined as follows:(5)Tmax′=W,where W represents the total number of logic gates from the startpoint to the endpoint of the critical path, which can be calculated according to timing reports of the critical path generated by DC.Figure 2
Combinational logic circuit withn inputs and m outputs, where the inputs are (xn,xn-1,…,x1) and Yk is one of the outputs.


### 3.3. DPSO Algorithm

Particle swarm optimization (PSO) is a global optimal search algorithm based on swarm intelligence theory. Because of its simple process, few parameters, good convergence, and robustness, PSO has been commonly employed for addressing optimization problems. DPSO is an effective endmember extraction algorithm based on PSO with the advantage of more rapid convergence.In the DPSO algorithm, the position and velocity of each particle in a swarm are initialized randomly in the solution space. Assuming that the total number of particles ism in an n-dimensional search space, the position of the ith particle can be expressed as xi=(xi,0,xi,1,…,xi,j,…,xi,n-1), and its flying velocity can be depicted as vi=(vi,0,vi,1,…,vi,j,…,vi,n-1). In addition, the optimal position of particle i is expressed as pbesti=(pbesti,0,pbesti,1,…,pbesti,j,…,pbesti,n-1), and the optimal location of the swarm is expressed as gbesti=(gbest0,gbest1,…,gbestj,…,gbestn-1). In addition, the update equations for the velocity and position of particle i at the (t+1)th iteration can be expressed for the jth dimension as follows:(6)vi,jt+1=w·vi,jt+c1·r1pbesti,j-xi,jt+c2·r2·gbestj-xi,jt(7)xi,jt+1=roundM1+exp⁡-vi,jt+1+M-1·k·random,where w is the inertial weight at the tth iteration, c1 and c2 are the acceleration factors for adjustingpbest andgbest, r1 and r2 are random numbers in [0,1], round(·) is the integer operation function, the value of M is 3 [21], k is a constant, and random(·) is the standard normal distribution function. The steps of the DPSO algorithm are given as follows.Step 1.
Initialize the parameters of DPSO.Step 2.
Read the BLIF logical netlist and perform polarity conversion.Step 3.
Updatevi,j and xi,j according to (6) and (7), respectively, and let j=j+1.Step 4.
Ifj<n, go to Step  3; otherwise, let i=i+1 and go to Step  5.Step 5.
Ifi<Q, where Q is the size of the particle swarm, go to Step  3; otherwise, go to Step  6.Step 6.
Output the optimal MPRM circuit result.


### 3.4. Verification Method

To compare the timing optimization of the MPRM combinational logic circuit with that of the DPSO and DC algorithms, a verification method was designed. The verification process is shown in Figure3. MCNC benchmark circuits were used as the MPRM circuit in the verification process. First, the DPSO algorithm was used for timing optimization of the MCNC benchmark circuit, and an equivalent timing was calculated according to (4). Second, the format of the MCNC benchmark circuit was modified. A DC logic synthesis tool was used to restrict conditions such that the available logic gate types were completely consistent with the MPRM. Timing constraint was executed strictly, and compiling was performed. The number of equivalent logic gates was calculated according to the timing optimization results of the DC logic synthesis and (5). Finally, the timing optimization results of the DC logic synthesis and the DPSO were compared.Figure 3
Verification process.The DPSO algorithm was implemented using the C++ language and compiled using the g++ compiler under Linux. The timing of the MCNC benchmark circuit was optimized through the DPSO algorithm. For DC recognition and timing optimization of the MCNC benchmark circuit, the said circuit was transformed into the VHDL format. Each optimization result was tested independently 20 times. The DC process is described in detail as follows.Step 1.
MCNC benchmark circuits in BLIF format are translated into logic circuits in VHDL format.Step 2.
In the DC environment, the logic circuits in VHDL format are constrained for timing optimization and are constrained to generate the logic netlist that contains only two-input AND gates, two-input XOR gates, and inverters.Step 3.
According to the timing optimization results, the startpoint and endpoint of the critical path are reported, the number of logical gates on the critical path is added up, and the value ofTmax′ is calculated with (5) while ignoring the timing delay of wires between logic gates.Step 4.
Repeat Steps1–3 above 20 times for each MCNC benchmark circuit.


## 3.1. MPRM Mathematic Model

The Boolean expression ofn-input combinational logic circuit is (1)fxn-1,xn-2,…,x0=∑i=02n-1aimi,where ∑ is the logical OR operation of a set of variables; ai is the minterm coefficient; i is the minterm ordinal, which can be expressed as (in-1,in-2,…,i0); mi is the minterm, which can be expressed as (xn-1xn-2⋯xj⋯x0). The relationship between xk and its negation x-k, collectively denoted as x˙k, and ik, is given as follows: (2)x˙=xk,ik=1x-k,ik=0,0≤k≤n-1.An MPRM circuit with n inputs has 3n expansions, which can be expressed as follows:(3)fpxn-1,xn-2,…,x0=⊕∑j=02n-1bjπj.Here, (xn-1,xn-2,…,x0) is the input of the MPRM circuit. p(0≤p≤3n-1) represents the polarity value of the MPRM and could be expressed as (pn-1pn-2⋯pi⋯p0), where pi∈0,1,2. It is a ternary system. ⊕∑ is XOR; bj=[b0,j,b1,j,…,bm-1,j]T is thejth coefficient vector of MPRM; and πj=(xn-1xn-2···xj···x0) is the jth product item of the MPRM. Values of xj in term “AND” are shown in Table 1.Table 1
Values of the MPRM expansion termxj.
j i 0 0 0 1 1 1 p i 0 1 2 0 1 2 x i 1 1 x - i x i x - i x i


## 3.2. Timing Model

The single logic path among all paths that has the longest timing delay from the startpoint to the endpoint is denoted as the critical path. The timing optimization developed in this paper for logic circuits regards the critical path as the basic optimization target. Here, the startpoint of a logic path is taken as the clock pin of the front flip-flop, the endpoint is the input pin of the next flip-flop, and the circuits between the startpoint and the endpoint consist of logic gates.Figure2 illustrates the combinational logic circuits with n inputs and m outputs employed in the present study, where the inputs are (xn,xn-1,…,x1) and Yk is one of the outputs. The logic circuit with endpoint Yk can be expressed by (3). This combinational logic circuit can be decomposed into a logical network comprising two-input AND gates, two-input XOR gates, and inverters. When the logic of the MPRM circuit has been optimized using the DPSO algorithm, which ignores the timing delay for interconnected wires between the pins of logic gates, the corresponding maximum timing delay Tmax can be expressed as(4)Tmax=max⁡Ti,where Ti represents the number of logic gates from any input to any output in the combinational logic circuits. For comparison, the same logic circuits are synthesized by DC, which also ignores the timing delay for interconnected wires between the pins of logic gates, and the logic gates that can be mapped to netlist in DC are limited to two-input AND gates, two-input XOR gates, and inverters. Finally, the logic circuit timing is constrained for optimization and mapped to the technology library in DC, and every logic gate in the critical path is defined as a timing delay unit. Thus, the maximum timing delay of the critical path obtained from DC can be defined as follows:(5)Tmax′=W,where W represents the total number of logic gates from the startpoint to the endpoint of the critical path, which can be calculated according to timing reports of the critical path generated by DC.Figure 2
Combinational logic circuit withn inputs and m outputs, where the inputs are (xn,xn-1,…,x1) and Yk is one of the outputs.


## 3.3. DPSO Algorithm

Particle swarm optimization (PSO) is a global optimal search algorithm based on swarm intelligence theory. Because of its simple process, few parameters, good convergence, and robustness, PSO has been commonly employed for addressing optimization problems. DPSO is an effective endmember extraction algorithm based on PSO with the advantage of more rapid convergence.In the DPSO algorithm, the position and velocity of each particle in a swarm are initialized randomly in the solution space. Assuming that the total number of particles ism in an n-dimensional search space, the position of the ith particle can be expressed as xi=(xi,0,xi,1,…,xi,j,…,xi,n-1), and its flying velocity can be depicted as vi=(vi,0,vi,1,…,vi,j,…,vi,n-1). In addition, the optimal position of particle i is expressed as pbesti=(pbesti,0,pbesti,1,…,pbesti,j,…,pbesti,n-1), and the optimal location of the swarm is expressed as gbesti=(gbest0,gbest1,…,gbestj,…,gbestn-1). In addition, the update equations for the velocity and position of particle i at the (t+1)th iteration can be expressed for the jth dimension as follows:(6)vi,jt+1=w·vi,jt+c1·r1pbesti,j-xi,jt+c2·r2·gbestj-xi,jt(7)xi,jt+1=roundM1+exp⁡-vi,jt+1+M-1·k·random,where w is the inertial weight at the tth iteration, c1 and c2 are the acceleration factors for adjustingpbest andgbest, r1 and r2 are random numbers in [0,1], round(·) is the integer operation function, the value of M is 3 [21], k is a constant, and random(·) is the standard normal distribution function. The steps of the DPSO algorithm are given as follows.Step 1.
Initialize the parameters of DPSO.Step 2.
Read the BLIF logical netlist and perform polarity conversion.Step 3.
Updatevi,j and xi,j according to (6) and (7), respectively, and let j=j+1.Step 4.
Ifj<n, go to Step  3; otherwise, let i=i+1 and go to Step  5.Step 5.
Ifi<Q, where Q is the size of the particle swarm, go to Step  3; otherwise, go to Step  6.Step 6.
Output the optimal MPRM circuit result.


## 3.4. Verification Method

To compare the timing optimization of the MPRM combinational logic circuit with that of the DPSO and DC algorithms, a verification method was designed. The verification process is shown in Figure3. MCNC benchmark circuits were used as the MPRM circuit in the verification process. First, the DPSO algorithm was used for timing optimization of the MCNC benchmark circuit, and an equivalent timing was calculated according to (4). Second, the format of the MCNC benchmark circuit was modified. A DC logic synthesis tool was used to restrict conditions such that the available logic gate types were completely consistent with the MPRM. Timing constraint was executed strictly, and compiling was performed. The number of equivalent logic gates was calculated according to the timing optimization results of the DC logic synthesis and (5). Finally, the timing optimization results of the DC logic synthesis and the DPSO were compared.Figure 3
Verification process.The DPSO algorithm was implemented using the C++ language and compiled using the g++ compiler under Linux. The timing of the MCNC benchmark circuit was optimized through the DPSO algorithm. For DC recognition and timing optimization of the MCNC benchmark circuit, the said circuit was transformed into the VHDL format. Each optimization result was tested independently 20 times. The DC process is described in detail as follows.Step 1.
MCNC benchmark circuits in BLIF format are translated into logic circuits in VHDL format.Step 2.
In the DC environment, the logic circuits in VHDL format are constrained for timing optimization and are constrained to generate the logic netlist that contains only two-input AND gates, two-input XOR gates, and inverters.Step 3.
According to the timing optimization results, the startpoint and endpoint of the critical path are reported, the number of logical gates on the critical path is added up, and the value ofTmax′ is calculated with (5) while ignoring the timing delay of wires between logic gates.Step 4.
Repeat Steps1–3 above 20 times for each MCNC benchmark circuit.


## 4. Result Analysis and Discussion

The DPSO algorithm was used for the timing optimization of 17 MPRM logic circuits. The same combinational logic circuit was operated independently 20 times, and the timing of the optimized combinational logic circuit was calculated according to (4). Then, the DC algorithm was used for timing constraint and for setting the same MCNC benchmark circuits to ensure that the logic gates covered in the netlist after logic synthesis are completely consistent with the logic gates in the MPRM circuits. Timing constraint and optimization were performed using the DC algorithm. The timing of the combinational logic circuits was calculated according to (5). Finally, the optimized timing of the combinational logic circuits obtained by the two algorithms was compared to verify the validity of the DPSO algorithm.As one of the MCNC benchmark circuits, “alu2” has 10 input ports and six output ports. In accordance with the features of MPRM logic circuits, the available logic gates were restricted and timing optimization was performed using the DC algorithm. The timing report of the critical path is shown in Figure4. Dotted lines reflect the type of the used logic gates and the available logic gates that were restricted into the AND gate, phase inverter, and the XOR gate. According to (4), the equivalent timing delay of “alu2” is 45 seconds.Figure 4
Timing optimization after restriction of available logic gates.The circuit after normal timing optimization by DC without restriction on the available logic gates in alu2 is shown in Figure5. Dotted lines show the types of the used logic gates. Any logic gate in the standard cell library can be used. According to the netlist after the logic synthesis of alu2 and (5), the equivalent timing delay of alu2 is 170 seconds. A comparison of the results in Figures 4 and 5 revealed that the equivalent timing delay in alu2 increased sharply after the available logic gates were restricted. This trend occurred because, during the timing optimization in DC after the restriction, the logic gates that can be used were restricted into the two-input AND gate, phase inverter, and two-input XOR gate according to the MPRM circuit. Therefore, more logic gates were needed to form the logic gate. Without a restriction on the logic gates, DC will use any logic gate to optimize the circuit according to the needs of the logic circuit, thus generating a logic circuit with a small number of equivalent timing delays.Figure 5
Timing optimization without restriction on logic gates.Comparisons between the timing optimization results obtained using the TDPSO algorithm [21], SADPSO algorithm [11], WAGA algorithm [25], and DPSO algorithm are listed in Table 2.Table 2
The average (Avg) timing delays obtained for MCNC benchmark circuits using three intelligent algorithms.
Circuits I / O ∗ TDPSO SADPSO WAGA DPSO Avg/s Avg/s Avg/s Avg/s alu2 10/8 44 42 45 44 alu4 14/8 44 43 47 45 b9 41/21 9 9 9 9 cm85a 11/3 12 12 12 12 comp 32/3 23 22 23 23 count 36/16 22 21 22 22 dalu 75/16 25 25 26 26 k2 45/45 23 22 23 23 my_adder 33/17 51 49 53 51 pcler8 27/17 13 13 13 13 pcle 19/9 10 10 10 10 pm1 16/13 7 7 7 7 t481 16/1 20 20 20 20 terml 34/10 15 15 15 15 too_large 39/3 28 27 29 29 ttt2 25/21 12 12 12 12 vda 17/40 17 17 17 17 The   ∗ total number of inputs and outputs.Here, the value of “I/O” represents the total number of inputs and outputs of the logic circuits, “Circuits” represents the names of MCNC benchmark circuits, and “Avg” represents the average value of equipment timing delay. The same combinational logic circuit was operated independently 20 times, the average timing delays obtained for MCNC benchmark circuits using four intelligent algorithms are listed in Table2, and the average equivalent timing delay generated by the four algorithms is generally close.Comparisons between the timing optimization results obtained using the DPSO algorithm and DC are listed in Table3.Table 3
Experimental results indicative of the input port (startpoint) and the output port (endpoint) of the critical path and the minimum (Min) and average (Avg) timing delays obtained for MCNC benchmark circuits using the DPSO algorithm and DC.
Circuits I / O ∗ Critical path DPSO DC Startpoint Endpoint Min/s Avg/s Min/s Avg/s alu2 10/8 h o 42 44 46 46 alu4 14/8 i r 43 45 47 47 b9 41/21 b0 z0 9 9 10 10 cm85a 11/3 d l 11 12 13 13 comp 32/3 a0 g0 21 23 25 25 count 36/16 r z0 20 22 24 24 dalu 75/16 muse12 o14 21 26 26 26 k2 45/45 d0 e2 21 23 24 24 my_adder 33/17 f0 x0 47 51 55 55 pcler8 27/17 t r0 12 13 14 14 pcle 19/9 l b0 9 10 11 11 pm1 16/13 c c1 7 7 8 8 t481 16/1 v4 v16_0 20 20 21 21 terml 34/10 d0 s0 14 15 17 17 too_large 39/3 y p0 28 29 30 30 ttt2 25/21 m q0 12 12 14 14 vda 17/40 l f0 15 17 17 17 The   ∗ total number of inputs and outputs.Here, the value of “I/O” represents the total number of inputs and outputs of the logic circuits, “Circuits” represents the names of MCNC benchmark circuits, “startpoint” is the input port name of the critical path, “endpoint” is the output port name of the critical path, “Min” represents the minimum value of equipment timing delay, and “Avg” represents the average value of equipment timing delay. We note from Table3 that the startpoints and endpoints of all critical paths obtained by DC are equivalent to those obtained by the DPSO algorithm, which demonstrates that the proposed algorithm has the same effect as DC for identifying critical paths.The consistency of the timing optimization provided by the DC tool is demonstrated by the identical “Min” and “Avg” values obtained for the timing delays of each circuit, indicating that DC obtained equivalent values ofTmax′ for all 20 trials of each logic circuit. However, we note that the DPSO algorithm generally provides slightly different “Min” and “Avg” values of Tmax. This finding indicates that both DPSO and DC algorithms have unstable factors for the timing optimization of the MPRM combinational logic circuit.There are certain differences existing between the two algorithms in “Min” and “Avg” after timing optimization of the MPRM logic circuits. As shown in Figure6, the average timing delay of the critical path obtained by the DPSO algorithm is less than those obtained by DC for all MCNC benchmark circuits considered. DPSO provides an overall average reduction of 9.7% in the timing delays of critical paths, which sufficiently verifies that the DPSO algorithm has a good timing optimization effect for logic circuits between adjacent flip-flops. This outcome suggests that the intelligence algorithm is better than the DC algorithm in terms of timing optimization of MPRM combinational logic circuits.Figure 6
The average timing delay obtained by the DPSO algorithm and DC.


## 5. Conclusion

To verify that an intelligence algorithm is better than the DC algorithm in the timing optimization of MPRM logic circuits, a novel verification method was proposed in this study. First, the DPSO algorithm was used to optimize the timing of the MPRM logic circuits. The equivalent timing delay after timing optimization was calculated. Second, timing constraints and optimization of the MPRM logic circuit were performed using the DC algorithm, and the equivalent timing delay was calculated according to optimization results. Finally, the optimization results of the MCNC benchmark circuits using the two algorithms were analyzed and compared. The proposed verification method is feasible and effective. In this study, MCNC benchmark circuits were used in the verification experiment. The timing optimization results of the two algorithms were converted into the equivalent timing delay. The suggested verification method can determine which algorithm has a better timing optimization ability directly by comparing the experimental data of the two algorithms.



---

*Source: 8258397-2018-03-21.xml*