  Owing to the failure of Dennard's scaling the last decade has seen a steep
growth of prominent new paradigms leveraging opportunities in computer
architecture. Two technologies of interest are Posit and RISC-V. Posit was
introduced in mid-2017 as a viable alternative to IEEE 754-2008. Posit promises
more accuracy, higher dynamic range, and fewer unused states along with simpler
hardware designs as compared to IEEE 754-2008. RISC-V, on the other hand,
provides a commercial-grade open-source ISA. It is not only elegant and simple
but also highly extensible and customizable, thereby facilitating novel
micro-architectural research and exploration. In this paper, we bring these two
technologies together and propose the first Posit Enabled RISC-V core. The
paper provides insights on how the current 'F' extension and the custom op-code
space of RISC-V can be leveraged/modified to support Posit arithmetic. We also
present implementation details of a parameterized and feature-complete Posit
FPU which is integrated with the RISC-V compliant SHAKTI C-class core either as
an execution unit or as an accelerator. To fully leverage the potential of
Posit, we further enhance our Posit FPU, with minimal overheads, to support two
different exponent sizes (with posit-size being 32-bits). This allows
applications to switch from high-accuracy computation mode to a mode with
higher dynamic-range at run-time. In the absence of viable software tool-chain
to enable porting of applications in the Posit domain, we present a workaround
on how certain applications can be modified minimally to exploit the existing
RISC-V tool-chain. We also provide examples of applications which can perform
better with Posit as compared to IEEE 754-2008. The proposed Posit FPU consumes
3507 slice LUTs and 1294 slice registers on an Artix-7-100T Xilinx FPGA while
capable of operating at 100 MHz.
