An Open-Source Evaluation Framework for RISC-V Co-Design-Based Decimal Arithmetic
Riaz-ul-haque Mian, Michiko InoueHardware–software co-design is a balanced strategy for computationally intensive algorithms such as decimal computing. It can provide several Pareto points for the development of embedded systems in terms of hardware cost and performance. In this study, we propose an efficient and accurate evaluation framework for decimal computing. The framework was designed and developed for hardware–software co-design decimal arithmetic using the RISC-V ecosystem. New binary and decimal-oriented instructions supported by an accelerator were developed. The framework can perform cycle-accurate analysis for performance and assess hardware overhead for co-design-based decimal arithmetic. Unlike previous studies that focused primarily on implementing and evaluating individual co-design methods, the proposed framework enables exhaustive hardware–software partition analysis at the building-block level, facilitating systematic exploration of the design space. We also evaluated the decimal floating-point multiplication Pareto points and identified a new Pareto point for hardware–software co-design-based decimal multiplication (Method-A) through an analysis with the proposed framework.