Abstract
This chapter studies the comparison of two binary numbers in order to rank them. In a generic-purpose processor, such a comparison is usually performed by subtraction, using an existing integer adder. Assuming that the synthesis tools will remove all the hardware that computes the sum bits, this approach is valid in an application-specific architecture. However, devising integer comparison from first principles allows for specific optimizations in some contexts.
All animals are equal, but some animals are more equal than others.G. Orwell, Animal Farm
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Stefania Perri, Paolo Zicari, and Pasquale Corsonello. “Efficient Absolute Difference Circuits in Virtex-5 FPGAs”. In: 5th IEEE Mediterranean Electrotechnical Conference (Melecon). IEEE. 2010, pp. 309–313.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2024 Springer Nature Switzerland AG
About this chapter
Cite this chapter
de Dinechin, F., Kumm, M. (2024). Fixed-Point Comparison. In: Application-Specific Arithmetic. Springer, Cham. https://doi.org/10.1007/978-3-031-42808-1_6
Download citation
DOI: https://doi.org/10.1007/978-3-031-42808-1_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-42807-4
Online ISBN: 978-3-031-42808-1
eBook Packages: EngineeringEngineering (R0)