The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Modeling >> Passive Devices >> Resistor Modeling with look up table approach https://designers-guide.org/forum/YaBB.pl?num=1344693688 Message started by Ganesh70508 on Aug 11th, 2012, 7:01am |
Title: Resistor Modeling with look up table approach Post by Ganesh70508 on Aug 11th, 2012, 7:01am I want to design a simple resistor in verilog-A i used following verilog code //------------------------------------------------------------------------------------------------ `include "constants.vams" `include "disciplines.vams" module Table_NL_Resistor(a,b); inout a; inout b; electrical a,b; parameter real k = 0 from [0:inf); analog begin V(a,b) <+ k*$table_model(I(a,b),"sample.dat"); end endmodule //------------------------------------------------------------------------------------------------ i tried to simulate above model in cadence spectre it works fine when i connect current source in series with above resistor. Voltage and current Waveform appear properly after simulation but while simulating using Voltage source in series with above element no Waveform shows up at the output. how do i overcome above limitation ...? how can i model such elements in verilogA using look up table based approach ..? plz Suggest Thank You, Ganesh :) |
Title: Re: Resistor Modeling with look up table approach Post by boe on Aug 13th, 2012, 10:15am Ganesh70508 wrote on Aug 11th, 2012, 7:01am:
- B O E |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |