Obx - Oberon+ Compiler

ABSTRACT Obx is a compiler for an extended Oberon dialect. The implementation following a traditional, linear pipeline and includes a small standard library for performing OS level tasks. The source is parsed into an explicitly-typed AST, validated by a straightforward semantic pass, lowered to a simple three-address intermediate representation, and emitted by a minimal backend. The compiler provides a Command Line Interface and a web-based playground that allows users to check and (soon) run example programs and inspect outputs (diagnostics, control-flow graph, assembly, etc). ...

April 27, 2026 · 16 min · Me

FPGA hardware linear regression implementation using fixed-point arithmetic

ABSTRACT In this paper, a hardware design based on the field programmable gate array (FPGA) to implement a linear regression algorithm is presented. The arithmetic operations were optimized by applying a fixed-point number representation for all hardware based computations. A floating-point number training data point was initially created and stored in a personal computer (PC) which was then converted to fixed-point representation and transmitted to the FPGA via a serial communication link. With the proposed VHDL design description synthesized and implemented within the FPGA, the custom hardware architecture performs the linear regression algorithm based on matrix algebra considering a fixed size training data point set. To validate the hardware fixed-point arithmetic operations, the same algorithm was implemented in the Python language and the results of the two computation approaches were compared. The power consumption of the proposed embedded FPGA system was estimated to be 136.82 mW. ...

September 25, 2020 · 3 min · Me