Re: noise_table question

From: Geoffrey Coram <Geoffrey.Coram@analog.com>
Date: Wed Apr 04 2012 - 12:55:49 PDT

Was there ever a proposal of how to request log-log interpolation
for noise_table ?

Does any simulator support it?

The current syntax is:
    noise_table ( input [ , name ] )

where input can be a vector or a string (filename), and name is a string.

We could require the noise have a name to request interpolation:
    noise_table ( input [ , name [, interp ] ] )

Or we could let the type of the 2nd argument determine what it is:
    noise_table ( input [ , name ] )
    noise_table ( input [ , log_interp ] [, name ] )

where log_interp would be 0 or 1 (an integer).

-Geoffrey

Oskar Leuthold wrote:
> Geoffrey,
> you might also question the wisdom of linear interpolation here.
> Noise generally varies as the log of the frequency, see section 4.5.4.2,
> thus interpolation in the log-log domain would be more useful.
> Regards
> Oskar
>
> ----------------------------------------------------------------------
> Oskar Leuthold, Corporate Applications Engineer
> Silicon Engineering Group
> Synopsys, Inc. 700 E. Middlefield Rd.
> Mountain View, CA 94043
> 650 584 5887 oskar.leuthold@synopsys.com
>
>
>> -----Original Message-----
>> From: owner-verilog-ams@eda.org
>> [mailto:owner-verilog-ams@eda.org] On Behalf Of Geoffrey.Coram
>> Sent: Monday, March 20, 2006 9:18 AM
>> To: VerilogAMS Reflector
>> Subject: noise_table question
>>
>> Section 4.5.4.3 on noise_table specifies that linear
>> interpolation is used (presumably for frequencies inside the
>> range of frequencies specified in the vector).
>>
>> What happens outside the vector?
>> 1) value is zero
>> 2) if the first pair is (fmin,val1), then for frequencies < fmin,
>> the value is val1; similarly if (fmax,valn) is the last pair,
>> then the value is valn for frequencies > fmax.
>>
>> I propose (2).
>>
>>
>> Also, the LRM does not specify what a "vector" is.
>>
>> -Geoffrey
>>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Apr 4 12:56:47 2012

This archive was generated by hypermail 2.1.8 : Wed Apr 04 2012 - 12:56:57 PDT