PPU: Design and Implementation of a Pipelined Full Posit Processing Unit

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Rossi, Federico, Urbani, Francesco, Cococcioni, Marco, Ruffaldi, Emanuele, Saponara, Sergio
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909162625040384
author Rossi, Federico
Urbani, Francesco
Cococcioni, Marco
Ruffaldi, Emanuele
Saponara, Sergio
author_facet Rossi, Federico
Urbani, Francesco
Cococcioni, Marco
Ruffaldi, Emanuele
Saponara, Sergio
contents By exploiting the modular RISC-V ISA this paper presents the customization of instruction set with posit\textsuperscript{\texttrademark} arithmetic instructions to provide improved numerical accuracy, well-defined behavior and increased range of representable numbers while keeping the flexibility and benefits of open-source ISA, like no licensing and royalty fee and community development. In this work we present the design, implementation and integration into the low-power Ibex RISC-V core of a full posit processing unit capable to directly implement in hardware the four arithmetic operations (add, sub, mul, div and fma), the inversion, the float-to-posit and posit-to-float conversions. We evaluate speed, power and area of this unit (that we have called Full Posit Processing Unit). The FPPU has been prototyped on Alveo and Kintex FPGAs, and its impact on the metrics of the full-RISC-V core have been evaluated, showing that we can provide real number processing capabilities to the mentioned core with an increase in area limited to $7\%$ for 8-bit posits and to $15\%$ for 16-bit posits. Finally we present tests one the use of posits for deep neural networks with different network models and datasets, showing minimal drop in accuracy when using 16-bit posits instead of 32-bit IEEE floats.
format Preprint
id arxiv_https___arxiv_org_abs_2308_03425
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle PPU: Design and Implementation of a Pipelined Full Posit Processing Unit
Rossi, Federico
Urbani, Francesco
Cococcioni, Marco
Ruffaldi, Emanuele
Saponara, Sergio
Hardware Architecture
Performance
By exploiting the modular RISC-V ISA this paper presents the customization of instruction set with posit\textsuperscript{\texttrademark} arithmetic instructions to provide improved numerical accuracy, well-defined behavior and increased range of representable numbers while keeping the flexibility and benefits of open-source ISA, like no licensing and royalty fee and community development. In this work we present the design, implementation and integration into the low-power Ibex RISC-V core of a full posit processing unit capable to directly implement in hardware the four arithmetic operations (add, sub, mul, div and fma), the inversion, the float-to-posit and posit-to-float conversions. We evaluate speed, power and area of this unit (that we have called Full Posit Processing Unit). The FPPU has been prototyped on Alveo and Kintex FPGAs, and its impact on the metrics of the full-RISC-V core have been evaluated, showing that we can provide real number processing capabilities to the mentioned core with an increase in area limited to $7\%$ for 8-bit posits and to $15\%$ for 16-bit posits. Finally we present tests one the use of posits for deep neural networks with different network models and datasets, showing minimal drop in accuracy when using 16-bit posits instead of 32-bit IEEE floats.
title PPU: Design and Implementation of a Pipelined Full Posit Processing Unit
topic Hardware Architecture
Performance
url https://arxiv.org/abs/2308.03425