The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> Verilog-A table model
https://designers-guide.org/forum/YaBB.pl?num=1337598468

Message started by diegochi on May 21st, 2012, 4:07am

Title: Verilog-A table model
Post by diegochi on May 21st, 2012, 4:07am

Hi to everybody!

I want to model a Mos transistor using a table model. I've saved my data in an external file "dati_mos.txt".
Then I recall it with the instructions:


Code:
parameter string model_file = ".\dati_mos.txt";
I(D,S) <+ $table_model(V(G,S), V(D,S), model_file, "3L,3L");


When I compile it, an error occour:

In file /home/xxx/xxx/xxx/table_model.vams line     27:
I(D,S) <+ $table_model(V(G,S), V(D,S), model_file, "3L,3L");
          ^
[Error] Unknown system function $table_model
Error: (valog) Compilation: Analysis failed.


How can I resolve it?
Many thanks!



Title: Re: Verilog-A table model
Post by Geoffrey_Coram on May 21st, 2012, 1:48pm

It looks to me that your simulator doesn't support $table_model.

You can check with your support representative, or try a different simulator.

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