New algorithms for hardware-efficient implementation of sign detection and magnitude comparison in residue number systems
Residue Number System (RNS), being a non-positional number system, is emerging as a promising data representation to substitute the accustomed two’s complement number system for low-power and high-speed digital signal processing. Due to its carry free property at sub-word level, arithmetic operation...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Theses and Dissertations |
Language: | English |
Published: |
2017
|
Subjects: | |
Online Access: | http://hdl.handle.net/10356/70712 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
id |
sg-ntu-dr.10356-70712 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-707122023-07-04T17:13:46Z New algorithms for hardware-efficient implementation of sign detection and magnitude comparison in residue number systems Sachin Kumar Chang Chip Hong School of Electrical and Electronic Engineering DRNTU::Engineering::Electrical and electronic engineering::Integrated circuits Residue Number System (RNS), being a non-positional number system, is emerging as a promising data representation to substitute the accustomed two’s complement number system for low-power and high-speed digital signal processing. Due to its carry free property at sub-word level, arithmetic operations such as addition, subtraction and multiplication can be performed at higher speed than any weighted number system. Nonetheless, the arithmetic operations such as sign detection, signed integer magnitude comparison are found to be more difficult to implement in RNS. This thesis aims to develop new algorithms for hardware-efficient implementation of these difficult operations in RNS. Specifically, the following new findings and results are reported in this thesis. First and foremost, a new fast and area-efficient adder-based sign detector for RNS {2n−1, 2n, 2n+1} has been proposed. The circuit is greatly simplified by shrinking the dynamic range to eliminate large modulo operations with the help of the new Chinese remainder theorem (CRT)-I. Synthesis results based on 65nm CMOS standard cell library show that the proposed design outperforms all existing adder-based sign detectors reported for this moduli set in area and speed for n ranges from 5 to 25 in step of 5. Following which, a radically different quantization approach for comparing signed integers in the four-moduli supersets, S1 ≡ {2n+k, 2n−1, 2n+1, 2n+1−1} and S2 ≡ {2n+k, 2n−1, 2n+1, 2n−1−1}, is proposed. The dynamic range of the target moduli set is quantized into equal divisions, and the ranks of the divisions resided by the residue representations of the integers in comparison are identified and compared. This approach allows the sign of a residue representation to be directly extracted from the most significant bit of its rank, or with some simple additional logic function if it resides in the middle rank. Comparing with the best existing signed magnitude comparator applicable to these two moduli sets, the synthesis results based on 65 nm CMOS technology show that the proposed design is at least 22.48% smaller, 19.08% faster and 27.66% more energy-efficient for S1 and 18.75% smaller, 16.41% faster and 23.30% more energy-efficient for S2. Last but not least, a scaling-assisted sign integer comparator for the balanced five-moduli set {2n−1, 2n, 2n+1, 2n+1−1, 2n−1−1} has been proposed. The signs of the operands in comparison, as well as their difference are detected after scaling them by a factor of (22n −1) (2n−1−1). The resulting finite series in the composite modulus channel is further factored into parallel carry-saved additions in the existing mod 2n and mod 2n+1−1 modulus channels to reduce the sizes of modulo adders from 5n bits to n and n+1 bits. Upon detecting the signs of the operands and their difference, the relation is inferred with a small fraction of logic gates. Synthesis results in 65 nm CMOS technology show that the proposed design is 36.9% smaller, 7.6% faster and 45.5% more energy-efficient than the best CRT-II based magnitude comparator and at least 12.9% smaller, 7.3% faster and 20.8% more energy-efficient than the best reverse-conversion based implementation of signed integer comparator for the same five-moduli set. Doctor of Philosophy (EEE) 2017-05-09T07:25:53Z 2017-05-09T07:25:53Z 2017 Thesis Sachin Kumar. (2017). New algorithms for hardware-efficient implementation of sign detection and magnitude comparison in residue number systems. Doctoral thesis, Nanyang Technological University, Singapore. http://hdl.handle.net/10356/70712 10.32657/10356/70712 en 141 p. application/pdf |
institution |
Nanyang Technological University |
building |
NTU Library |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
NTU Library |
collection |
DR-NTU |
language |
English |
topic |
DRNTU::Engineering::Electrical and electronic engineering::Integrated circuits |
spellingShingle |
DRNTU::Engineering::Electrical and electronic engineering::Integrated circuits Sachin Kumar New algorithms for hardware-efficient implementation of sign detection and magnitude comparison in residue number systems |
description |
Residue Number System (RNS), being a non-positional number system, is emerging as a promising data representation to substitute the accustomed two’s complement number system for low-power and high-speed digital signal processing. Due to its carry free property at sub-word level, arithmetic operations such as addition, subtraction and multiplication can be performed at higher speed than any weighted number system. Nonetheless, the arithmetic operations such as sign detection, signed integer magnitude comparison are found to be more difficult to implement in RNS. This thesis aims to develop new algorithms for hardware-efficient implementation of these difficult operations in RNS. Specifically, the following new findings and results are reported in this thesis.
First and foremost, a new fast and area-efficient adder-based sign detector for RNS {2n−1, 2n, 2n+1} has been proposed. The circuit is greatly simplified by shrinking the dynamic range to eliminate large modulo operations with the help of the new Chinese remainder theorem (CRT)-I. Synthesis results based on 65nm CMOS standard cell library show that the proposed design outperforms all existing adder-based sign detectors reported for this moduli set in area and speed for n ranges from 5 to 25 in step of 5. Following which, a radically different quantization approach for comparing signed integers in the four-moduli supersets, S1 ≡ {2n+k, 2n−1, 2n+1, 2n+1−1} and S2 ≡ {2n+k, 2n−1, 2n+1, 2n−1−1}, is proposed. The dynamic range of the target moduli set is quantized into equal divisions, and the ranks of the divisions resided by the residue representations of the integers in comparison are identified and compared. This approach allows the sign of a residue representation to be directly extracted from the most significant bit of its rank, or with some simple additional logic function if it resides in the middle rank. Comparing with the best existing signed magnitude comparator applicable to these two moduli sets, the synthesis results based on 65 nm CMOS technology show that the proposed design is at least 22.48% smaller, 19.08% faster and 27.66% more energy-efficient for S1 and 18.75% smaller, 16.41% faster and 23.30% more energy-efficient for S2. Last but not least, a scaling-assisted sign integer comparator for the balanced five-moduli set {2n−1, 2n, 2n+1, 2n+1−1, 2n−1−1} has been proposed. The signs of the operands in comparison, as well as their difference are detected after scaling them by a factor of (22n −1) (2n−1−1). The resulting finite series in the composite modulus channel is further factored into parallel carry-saved additions in the existing mod 2n and mod 2n+1−1 modulus channels to reduce the sizes of modulo adders from 5n bits to n and n+1 bits. Upon detecting the signs of the operands and their difference, the relation is inferred with a small fraction of logic gates. Synthesis results in 65 nm CMOS technology show that the proposed design is 36.9% smaller, 7.6% faster and 45.5% more energy-efficient than the best CRT-II based magnitude comparator and at least 12.9% smaller, 7.3% faster and 20.8% more energy-efficient than the best reverse-conversion based implementation of signed integer comparator for the same five-moduli set. |
author2 |
Chang Chip Hong |
author_facet |
Chang Chip Hong Sachin Kumar |
format |
Theses and Dissertations |
author |
Sachin Kumar |
author_sort |
Sachin Kumar |
title |
New algorithms for hardware-efficient implementation of sign detection and magnitude comparison in residue number systems |
title_short |
New algorithms for hardware-efficient implementation of sign detection and magnitude comparison in residue number systems |
title_full |
New algorithms for hardware-efficient implementation of sign detection and magnitude comparison in residue number systems |
title_fullStr |
New algorithms for hardware-efficient implementation of sign detection and magnitude comparison in residue number systems |
title_full_unstemmed |
New algorithms for hardware-efficient implementation of sign detection and magnitude comparison in residue number systems |
title_sort |
new algorithms for hardware-efficient implementation of sign detection and magnitude comparison in residue number systems |
publishDate |
2017 |
url |
http://hdl.handle.net/10356/70712 |
_version_ |
1772828718959427584 |