arXiv Science⌕ Search

arXiv subjects

David Mallasén

Publications and source records attributed to David Mallasén.

6 recordsLinked to original sources

Rogue: A Streaming CGRA With Versatile ISA for Integer Approximation of Activation Functions

The growing deployment of Transformer models on edge platforms has exposed non-linear activation functions as a critical performance and energy bottleneck. Although integer approximation strategies have emerged to reduce reliance on floating-point computation, existing accelerators target fixed activations or single approximation families, sacrificing the flexibility these evolving strategies demand. We propose Rogue, a streaming DMA-coupled CGRA implementing a dedicated ISA that captures recurring computational patterns across integer approximation families. Tight integration with the system DMA enables efficient streaming computation without additional pressure on the system bus, and the generality of the ISA extends naturally to linear kernels, letting Rogue serve both workload classes on a unified fabric. Several implementations spanning different area-performance trade-offs are evaluated on kernels covering polynomial, base-substitution and piecewise strategies. Integrated in an open-source microcontroller, Rogue delivers up to 137x speedup and 52x energy savings over a throughput-optimized RISC-V CPU baseline, and, at iso-technology, is over 2x smaller and up to 5x more area efficient than the closest state-of-the-art CGRA while covering a broader range of approximation families.

cs.AR↗

A Programmable SoC for Heterogeneous Neural Acquisition

Neural interfaces are used across a wide range of applications, each with different requirements for signal bandwidth, information content, processing, and communication. However, implantable electronics are severely constrained in power and area, making a one-size-fits-all acquisition approach inefficient when only reduced-bandwidth signals, features, or sparse events are needed. This work explores heterogeneous acquisition with a shared programmable infrastructure. HEEPokranios, a 65-nm system-on-chip (SoC), integrates delta-sigma, voltage-controlled oscillator, and level-crossing acquisition paths with analog band-power extraction and a common 32-bit RISC-V back-end. Dedicated processing, event handling, DMA-based data movement, buffering, and wired or wireless communication support different neural-data representations. The shared acquisition funnel occupies 2,282 $μ$m$^2$ (0.08% of the active core) and consumes 0.18 $μ$W at 1 MHz. Representative end-to-end paths are simulated using artifact-laden non-human primate microwire neural recordings. Example configurations include a 5-channel wired mode producing 641 kbps at 29 $μ$W/ch, a 5-channel wireless mode producing 33.8 kbps at 27 $μ$W/ch, and a 2-channel local-processing mode operating at 73 $μ$W/ch without continuous off-chip transmission. Simulation results illustrate the value of integrating heterogeneous acquisition strategies within a shared programmable system to address diverse neural-interface requirements.

cs.AR↗

Increasing the Energy-Efficiency of Wearables Using Low-Precision Posit Arithmetic with PHEE

Wearable edge AI biomedical devices are increasingly being used for continuous patient health monitoring, enabling real-time insights and extended data collection without the need for prolonged hospital stays. These devices must be energy efficient to minimize battery size, improve comfort, and reduce recharging intervals. This paper investigates the use of specialized low-precision arithmetic formats to enhance the energy efficiency of edge AI biomedical wearables. Specifically, we explore posit arithmetic, a floating-point-like representation, in two biomedical applications that leverage supervised and unsupervised learning algorithms: cough detection for chronic cough monitoring and R peak detection in ECG analysis. Our results reveal that 16-bit posits can replace 32-bit IEEE 754 floating point numbers with minimal accuracy loss in cough detection. For R peak detection, posit arithmetic achieves satisfactory accuracy with as few as 10 or 8 bits, compared to the 16-bit requirement for floating-point formats. To validate these findings beyond algorithm-level simulations, we introduce PHEE, a modular and extensible architecture that integrates the Coprosit posit coprocessor within a RISC-V-based system. Using the X-HEEP framework, PHEE serves as a proof-of-concept platform to quantify the practical energy benefits of low-precision posits in edge AI systems. Post-synthesis results targeting 16 nm TSMC technology show that the posit hardware targeting these ML-based biomedical applications can be 38% smaller and consume up to 42.3% less power at the functional unit level, with no performance compromise. These findings establish the potential of low-precision posit arithmetic to significantly improve the energy efficiency of edge AI biomedical devices.

cs.AR↗

HEEPidermis: a versatile SoC for BioZ recording

Biological impedance (BioZ) is an information-packed modality that allows for non-invasive monitoring of health and emotional state. Currently, most research involving tissue impedance is based on bulky or fixed-purpose hardware, which limits the scope of research and the possibilities of experiments. In this work, we present HEEPidermis: a System-on-Chip (SoC) which integrates all the blocks needed for tissue impedance measurement, including two 8-bit, arbitrary-signal current DACs, two VCO-based ADCs, and a RISC-V CPU to enable on-chip feature extraction for closed-loop operation. An event-based sub-sampler improves storage and energy efficiency for long-term recording. In addition to the versatile SoC, the digital back-end and behavioral models of the analog front-end are open-source, allowing fast system-level simulations or repurposing. The SoC was taped out on TSMC 65 nm LP process.

physics.ins-det↗

Big-PERCIVAL: Exploring the Native Use of 64-Bit Posit Arithmetic in Scientific Computing

The accuracy requirements in many scientific computing workloads result in the use of double-precision floating-point arithmetic in the execution kernels. Nevertheless, emerging real-number representations, such as posit arithmetic, show promise in delivering even higher accuracy in such computations. In this work, we explore the native use of 64-bit posits in a series of numerical benchmarks and compare their timing performance, accuracy and hardware cost to IEEE 754 doubles. In addition, we also study the conjugate gradient method for numerically solving systems of linear equations in real-world applications. For this, we extend the PERCIVAL RISC-V core and the Xposit custom RISC-V extension with posit64 and quire operations. Results show that posit64 can obtain up to 4 orders of magnitude lower mean square error than doubles. This leads to a reduction in the number of iterations required for convergence in some iterative solvers. However, leveraging the quire accumulator register can limit the order of some operations such as matrix multiplications. Furthermore, detailed FPGA and ASIC synthesis results highlight the significant hardware cost of 64-bit posit arithmetic and quire. Despite this, the large accuracy improvements achieved with the same memory bandwidth suggest that posit arithmetic may provide a potential alternative representation for scientific computing.

cs.AR↗

PERCIVAL: Open-Source Posit RISC-V Core with Quire Capability

The posit representation for real numbers is an alternative to the ubiquitous IEEE 754 floating-point standard. In this work, we present PERCIVAL, an application-level posit capable RISC-V core based on CVA6 that can execute all posit instructions, including the quire fused operations. This solves the obstacle encountered by previous works, which only included partial posit support or which had to emulate posits in software, thus limiting the scope or the scalability of their applications. In addition, Xposit, a RISC-V extension for posit instructions is incorporated into LLVM. Therefore, PERCIVAL is the first work that integrates the complete posit instruction set in hardware. These elements allow for the native execution of posit instructions as well as the standard floating-point ones, further permitting the comparison of these representations. FPGA and ASIC synthesis show the hardware cost of implementing 32-bit posits and highlight the significant overhead of including a quire accumulator. However, results comparing posits and IEEE floats show that the quire enables a more accurate execution of dot products. In general matrix multiplications, the accuracy error is reduced up to 4 orders of magnitude when compared with single-precision floats. Furthermore, performance comparisons show that these accuracy improvements do not hinder their execution, as posits run as fast as single-precision floats and exhibit better timing than double-precision floats, thus potentially providing an alternative representation.

cs.AR↗