Re: Valid Numeric Suffixes for Verilog-A/AMS

From: Ken Kundert <ken_at_.....>
Date: Wed Mar 08 2006 - 23:50:16 PST
Jonathan,
    The complete set can be found here:
http://physics.nist.gov/cuu/Units/prefixes.html

Personally, I'd like to see us add a function or a special %code that
converts numbers into strings with scale factors and perhaps units. I
find the way verilog prints out real numbers to be quite difficult to read.

-Ken

Jonathan David wrote:
> Friends, 
> I just notices that 'z' (Zeta = 1e-21) and 'y' (Yeta =
> 1e-24 ) are not accepted in numbers in my favorite 
> verilog-A simulator.. I suspect because its not in the
> spec.. 
> I find it painful to hand edit my noise tables to fix
> these.. 
> Can we add these to the Spec Please?
> Change the Definition of "Scale_factor" (in 2.5 and
> 2.53 and A.9 from
> 
> Largest Smallest
> T = 10^12 m = 10^-3
> G = 10^9 u = 10^-6
> M = 10^6 n = 10^-9
> K = 10^3; k = 10^3 p = 10^-12
> f = 10^-15
> a = 10^-18
> 
> To:
> Largest Smallest
> T = 10^12 m = 10^-3
> G = 10^9 u = 10^-6
> M = 10^6 n = 10^-9
> K = 10^3; k = 10^3 p = 10^-12
> f = 10^-15
> a = 10^-18
> z = 10^-21
> y = 10^-24
> 
> 
> thanks
> 
> 

Received on Wed Mar 8 23:50:21 2006

This archive was generated by hypermail 2.1.8 : Wed Mar 08 2006 - 23:50:37 PST