neoflash
Community Fellow
![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif)
Offline
![](http://avatar.elektroda.net/gallery/00fun/download.php-1072.gif)
Mixed-Signal Designer
Posts: 397
|
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
|