论文部分内容阅读
利用函数变换法,以Toffoli门族为基础,设计了一种可逆二-十进制优先编码器。提出了一种新的函数置换法综合算法,并引入4×4Toffoli门对电路进行优化。利用Quartus II软件对电路进行设计与仿真,并搭建了FPGA测试平台进行验证。验证结果表明,电路逻辑功能正确,优化后各项性能指标有所提高,与优化前相比,量子门总数减少约31%,垃圾输出减少约32%,量子代价减少约2%,常量输入减少约36%,为减小芯片面积奠定了基础。
Using the function transformation method, based on the Toffoli family, a reversible two - decimal priority encoder is designed. A new function replacement algorithm is proposed and a 4 × 4 Toffoli gate is introduced to optimize the circuit. Quartus II software was used to design and simulate the circuit and set up an FPGA test platform for verification. The verification results show that the logic of the circuit is correct and the performance indexes are improved after optimization. Compared with the pre-optimization, the total number of quantum gates is reduced by about 31%, the garbage output is reduced by about 32%, the quantum cost is reduced by about 2%, and the constant input is reduced About 36%, to reduce the chip area laid the foundation.