Back to search

University of Cincinnati

An Arbitrary Precision Integer Arithmetic Library for FPGA s

Abstract

dc:description

In computer science, arbitrary precision integer arithmetic (also called multiple precision arithmetic, bignum arithmetic) indicates that calculations are performed on numbers in which digits of precision are limited only by the available memory of the host system. A common application is public-key cryptography whose algorithms commonly employ arithmetic with integers having hundreds of digits. The intent of this thesis work is to support application programmers using FPGAs with an arbitrary precision (integer) arithmetic logic so that a user can implement cryptographic algorithms like RSA, AES etc. An application programmer who uses an FPGA based embedded processor can use the underlying hardware modules which are developed for doing the arbitrary precision operations. This thesis covers the back end of the arbitrary precision library which includes the library wrapper and the underlying arithmetic and logic unit. Algorithms have been implemented for the four basic operations: addition, subtraction, multiplication and division for multiple precision numbers. The hardware description language used to implement the library is Verilog. Test benches have been developed to test the functionality of the library and all the corner cases for the inputs have been covered with respect to verification of the output values. The library communicates with memory modules at input and output. The memory modules are on chip RAM modules; the input RAM module is used to store the two multiple precision input operands and the output RAM module is used to store the output result. The basic data chunk size of the library is selected to be 32 bits. A comparative study has been done for three different library sizes of 32 bits, 64 bits, and 96 bits for the parameters area, power and time. Also a user manual for the arbitrary precision library has been developed. Since the hardware is implemented in Verilog, this design can be used for an FPGA or even a full custom ASIC that the library code can be synthesized onto.

Degree

thesis:*
Name thesis:degree_name
MS
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Engineering and Applied Science: Computer Engineering
Grantor dc:publisher
University of Cincinnati
Year dc:date
2013

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Kalathungal, Akhil, M.S.
Chair dc:contributor.committeechair
  • Purdy, Carla

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Kalathungal, Akhil, M.S.. An Arbitrary Precision Integer Arithmetic Library for FPGA s. masters thesis, University of Cincinnati, 2013. http://rave.ohiolink.edu/etdc/view?acc_num=ucin1383812278