| Author |
Message |
neoflash
Joined: 02 Jul 2005 Posts: 409 Helped: 8
|
30 Oct 2009 3:53 Question on noise_table function in verilogA? |
|
|
|
|
Hello:
Some verilogA functions, such as noise_table, require a vector for content of the function.
For example, function noise_table(vector, noise_name).
The variable vector is required to be a two column vector, one is for frequency, the other is for noise power. Currently, I can only manually input the data points inside the noise_table function in below way:
noise_table({1,2,3,4},"name");
My question is that how I define this vector in a text file and load it into the verilogA model (inside hspice test bench).
Thanks,
Neo
|
|
| Back to top |
|
 |
Google AdSense

|
30 Oct 2009 3:53 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
mengcy
Joined: 21 Aug 2006 Posts: 86 Helped: 6 Location: shanghai
|
30 Oct 2009 8:35 Question on noise_table function in verilogA? |
|
|
|
|
The syntax of noise table you could refer to this article.
http://www.designers-guide.org/Analysis/PLLnoise.pdf
There is an example at page 22
Good Luck!
|
|
| Back to top |
|
 |
neoflash
Joined: 02 Jul 2005 Posts: 409 Helped: 8
|
30 Oct 2009 14:07 Question on noise_table function in verilogA? |
|
|
|
|
Thanks for the suggestion.
I understand the syntax of noise table. But I would like to define the data in a independent text file, and load it in verilogA model.
Can't find the doc on the related syntax.
|
|
| Back to top |
|
 |
mengcy
Joined: 21 Aug 2006 Posts: 86 Helped: 6 Location: shanghai
|
02 Nov 2009 3:56 Question on noise_table function in verilogA? |
|
|
|
|
To do that First you create a cellview with veriloga-editor in the spectre,for example named "vco",and then "vco" will appear in the cell and "veriloga" will appear in the "view" box.
It's a text file you can edit with noise table function. When you exit the file the system will compile it . If no syntax error is reported then the system will ask if you want to create a symbol for the cellview.
Choose "Yes" you can edit the symbol.
Now you "load" the file to veriloga model!
Good luck!
|
|
| Back to top |
|
 |