elemapprox is an ANSI C code, Verilog HDL and VHDL collection of modules (V erilog HDL) and packages (VHDL) that provide the capability of evaluating a nd plotting transcendental functions by evaluating them in single precision . The original work supports ASCII plotting of a subset of the functions; t his version provides a more complete list of functions in addition to bitma p plotting for the transcendental functions as PBM (monochrome) image files .
elemapprox has been conceived as an extension to Prof. Mark G. Arnold's wor k as puhlished in HDLCON 2001. Most functions have been prefixed with the l etter k in order to avoid function name clashes in both ANSI C and Verilog HDL implementations. Currently, the VHDL version uses unprefixed names (e.g . acos instead of kacos).
All code is licensed under the Modified BSD license and can be found here: