The invention discloses a best polarity search method for
power consumption of a three-value FPRM circuit. The best polarity search method comprises the following steps: at first, expressing a three-value FPRM circuit by use of the three-value FPRM logic function under p polarity, decomposing multi-input operation contained in the three-value FPRM logic function to obtain multiple two-input module 3 addition
doors and multiple two-input module 3 multiplication
doors under the p polarity, using
power consumption generated by the two-input module 3 addition
doors and the two-input module 3 multiplication doors as the
power consumption of the three-value FPRM circuit under the p polarity, establishing a power consumption
estimation model of the three-value FPRM circuit, and finally, using a genetic
simulated annealing algorithm to carry out best polarity search on the power consumption of the three-value FPRM circuit to optimize the power consumption of the three-value FPRM circuit. The best polarity search method has the advantages of achieving the best polarity search of the power consumption of the three-value FPRM circuit to optimize the power consumption of the three-value FPRM circuit; 13 MCNC Benchmark circuits are randomly adopted to carry out
simulation verification, compared with 0 polarity, in the best polarity of the power consumption searched by the best polarity search method disclosed by the invention, the number of the module 3 addition doors is saved for 57.6% on average, the number of the two-input module 3 multiplication doors is saved for 46.25% on average, and the power consumption is saved for 73.98%.