MathLib - Math functions Library for SystemVerilog
summary
MathLib implements a selection of MATLAB functions natively in SystemVerilog, published on GitHub as a reusable MathLib package that handles scalars, vectors and 2D matrices, includes self-checks and a type‑breaker test suite, and targets bit‑level parity with MATLAB (claims 100% compatibility for many functions). It sees customer verification use in AMS blocks such as LDOs, LPFs, bandgaps, VCOs and DACs, removes MATLAB license dependency, and is aimed at simulation/verification rather than synthesis today.
AI-written summary · about
chapters (8)
- 0:00MathLib introduction
- 1:08Math functions in chip design
- 2:35MathLib compatibility
- 4:26Data types and parameters
- 6:52Testing and validation
- 8:46AMS and UVM applications
- 9:52Cost savings and integration
- 10:47Q&A
related talks
42mpicolibc: a C library for small 32-bit systems
30mOSVVM: Methodology, Library, and Models
18mGiving Students A Byte of Open-Source: Advancing Hardware Education
13mEarly RISC-V Software Verification with SIM-V
14mLow-Cost SIMD Module for ML Acceleration
23mRunning an Open Source LLM on Open Source Hardware
43mLVGL: A versatile UI toolkit for MCU & CPU
13mOpen Source Formal Verification in VHDL
