The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 19th, 2024, 8:57pm
Pages: 1
Send Topic Print
Resistor Modeling with look up table approach (Read 5965 times)
Ganesh70508
New Member
*
Offline



Posts: 1
Mumbai
Resistor Modeling with look up table approach
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

Smiley
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: Resistor Modeling with look up table approach
Reply #1 - Aug 13th, 2012, 10:15am
 
Ganesh70508 wrote on Aug 11th, 2012, 7:01am:
... but while simulating using Voltage source in series with above element no Waveform shows up at the output.
...

plz Suggest
See http://www.designers-guide.org/Forum/guidelines.html
- B O E
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.