From: Icarus V. a. <ive...@li...> - 2008-04-01 21:45:21
|
After almost two months, 85 downloads and no reported problems it is time for the official release of the Verilog-A math library for Icarus Verilog. It can be found in the Icarus SourceForge download area located here (http://sourceforge.net/project/showfiles.php?group_id=149850). The only notable difference between this release and the previous RC2 release is the addition of an example file. This file demonstrates the enhancements to the real type contained in the development version (V0.9) of Icarus Verilog. When appropriately configured this release should work with either version 0.8 or 0.9 of Icarus. The MinGW crash previously reported has been fixed in the latest git for Icarus Verilog. It produces different (possibly incorrect) results for some of the corner cases (-0, Inf and NaN). This appears to be a MinGW issue. Using a newer version of MinGW may resolve some of these. We plan to eventually integrate this library into the 0.9 release. This standalone version will be kept to support older releases. The following functions and constants are added by this library: $ln(x) -- Natural logarithm $log(x) -- Decimal logarithm $exp(x) -- Exponential $sqrt(x) -- Square root $min(x,y) -- Minimum $max(x,y) -- Maximum $abs(x) -- Absolute value $floor(x) -- Floor $ceil(x) -- Ceiling $pow(x,y) -- Power (x**y) $sin(x) -- Sine $cos(x) -- Cosine $tan(x) -- Tangent $asin(x) -- Arc-sine $acos(x) -- Arc-cosine $atan(x) -- Arc-tangent $atan2(y,x) -- Arc-tangent of y/x $hypot(x,y) -- Hypotenuse (sqrt(x**2 + y**2)) $sinh(x) -- Hyperbolic sine $cosh(x) -- Hyperbolic cosine $tanh(x) -- Hyperbolic tangent $asinh(x) -- Arc-hyperbolic sine $acosh(x) -- Arc-hyperbolic cosine $atanh(x) -- Arc-hyperbolic tangent `M_PI -- Pi `M_TWO_PI -- 2*Pi `M_PI_2 -- Pi/2 `M_PI_4 -- Pi/4 `M_1_PI -- 1/Pi `M_2_PI -- 2/Pi `M_2_SQRTPI -- 2/sqrt(Pi) `M_E -- e `M_LOG2E -- log base 2 of e `M_LOG10E -- log base 10 of e `M_LN2 -- log base e of 2 `M_LN10 -- log base e of 10 `M_SQRT2 -- sqrt(2) `M_SQRT1_2 -- 1/sqrt(2) For now, please report any problems directly to the author. Enjoy! ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com |