The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> Defining vector variable in veriloga (hspice simulator)
https://designers-guide.org/forum/YaBB.pl?num=1256832123

Message started by neoflash on Oct 29th, 2009, 9:02am

Title: Defining vector variable in veriloga (hspice simulator)
Post by neoflash on Oct 29th, 2009, 9:02am

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

Title: Re: Defining vector variable in veriloga (hspice simulator)
Post by Geoffrey_Coram on Nov 2nd, 2009, 5:49am

Please see
http://www.designers-guide.org/Forum/YaBB.pl?num=1202431856/0#7

(Triple-posting your question! I'm guessing you forgot to do a search before posting this, and later found some old threads that were related (though didn't answer your question).)

Title: Re: Defining vector variable in veriloga (hspice simulator)
Post by neoflash on Nov 2nd, 2009, 6:05am


Geoffrey_Coram wrote on Nov 2nd, 2009, 5:49am:
Please see
http://www.designers-guide.org/Forum/YaBB.pl?num=1202431856/0#7

(Triple-posting your question! I'm guessing you forgot to do a search before posting this, and later found some old threads that were related (though didn't answer your question).)

Somehow like you guessed. But I do hope the replies notification can call people with related experience here.

Thanks for the reply.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.