Title :
Parametrized hardware architectures for the Lucas primality test
Author :
Le Masle, Adrien ; Luk, Wayne ; Moritz, Csaba Andras
Author_Institution :
Dept. of Comput., Imperial Coll. London, London, UK
Abstract :
We present our parametric hardware architecture of the NIST approved Lucas probabilistic primality test. To our knowledge, our work is the first hardware architecture for the Lucas test. Our main contributions are a hardware architecture for calculating the Jacobi symbol based on the binary Jacobi algorithm, a pipelined modular add-shift module for calculating the Lucas sequences, methods for dependence analysis and for scheduling of the Lucas sequences computation. Our architecture implemented on a Virtex-5 FPGA is 30% slower but 3 times more energy efficient than the software version running on a Intel Xeon W3505. Our fastest 45 nm ASIC implementation is 3.6 times faster and 400 times more energy efficient than the optimised software implementation in comparable technology. The performance scaling of our architecture is much better than linear in area. Different speed/area/energy trade-offs are available through parametrization. The cell count and the power consumption of our ASIC implementations make them suitable for integration into an embedded system whereas our FPGA implementation would more likely benefit server applications.
Keywords :
application specific integrated circuits; embedded systems; field programmable gate arrays; integrated circuit testing; ASIC implementation; American National Institute of Standards and Technology; Intel Xeon W3505; Jacobi symbol; Lucas probabilistic primality test; Lucas sequences computation; Virtex-5 FPGA; binary Jacobi algorithm; cell count; dependence analysis; embedded system; parametric hardware architecture; pipelined modular add-shift module; power consumption; server applications; size 45 nm; software version running; speed-area-energy trade-offs; Adders; Calculators; Computer architecture; Field programmable gate arrays; Hardware; Jacobian matrices; Pipelines;
Conference_Titel :
Embedded Computer Systems (SAMOS), 2011 International Conference on
Conference_Location :
Samos
Print_ISBN :
978-1-4577-0802-2
Electronic_ISBN :
978-1-4577-0801-5
DOI :
10.1109/SAMOS.2011.6045453